.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | #ifndef _POWERPC_PROM_H |
---|
2 | 3 | #define _POWERPC_PROM_H |
---|
3 | 4 | #ifdef __KERNEL__ |
---|
.. | .. |
---|
9 | 10 | * Copyright (C) 1996-2005 Paul Mackerras. |
---|
10 | 11 | * |
---|
11 | 12 | * Updates for PPC64 by Peter Bergner & David Engebretsen, IBM Corp. |
---|
12 | | - * |
---|
13 | | - * This program is free software; you can redistribute it and/or |
---|
14 | | - * modify it under the terms of the GNU General Public License |
---|
15 | | - * as published by the Free Software Foundation; either version |
---|
16 | | - * 2 of the License, or (at your option) any later version. |
---|
17 | 13 | */ |
---|
18 | 14 | #include <linux/types.h> |
---|
19 | 15 | #include <asm/irq.h> |
---|
.. | .. |
---|
121 | 117 | #define OV1_PPC_2_07 0x01 /* set if we support PowerPC 2.07 */ |
---|
122 | 118 | |
---|
123 | 119 | #define OV1_PPC_3_00 0x80 /* set if we support PowerPC 3.00 */ |
---|
| 120 | +#define OV1_PPC_3_1 0x40 /* set if we support PowerPC 3.1 */ |
---|
124 | 121 | |
---|
125 | 122 | /* Option vector 2: Open Firmware options supported */ |
---|
126 | 123 | #define OV2_REAL_MODE 0x20 /* set if we want OF in real mode */ |
---|
.. | .. |
---|
150 | 147 | #define OV5_MSI 0x0201 /* PCIe/MSI support */ |
---|
151 | 148 | #define OV5_CMO 0x0480 /* Cooperative Memory Overcommitment */ |
---|
152 | 149 | #define OV5_XCMO 0x0440 /* Page Coalescing */ |
---|
153 | | -#define OV5_TYPE1_AFFINITY 0x0580 /* Type 1 NUMA affinity */ |
---|
| 150 | +#define OV5_FORM1_AFFINITY 0x0580 /* FORM1 NUMA affinity */ |
---|
154 | 151 | #define OV5_PRRN 0x0540 /* Platform Resource Reassignment */ |
---|
| 152 | +#define OV5_FORM2_AFFINITY 0x0520 /* Form2 NUMA affinity */ |
---|
155 | 153 | #define OV5_HP_EVT 0x0604 /* Hot Plug Event support */ |
---|
156 | 154 | #define OV5_RESIZE_HPT 0x0601 /* Hash Page Table resizing */ |
---|
157 | 155 | #define OV5_PFO_HW_RNG 0x1180 /* PFO Random Number Generator */ |
---|