hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/powerpc/include/asm/prom.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 #ifndef _POWERPC_PROM_H
23 #define _POWERPC_PROM_H
34 #ifdef __KERNEL__
....@@ -9,11 +10,6 @@
910 * Copyright (C) 1996-2005 Paul Mackerras.
1011 *
1112 * 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.
1713 */
1814 #include <linux/types.h>
1915 #include <asm/irq.h>
....@@ -121,6 +117,7 @@
121117 #define OV1_PPC_2_07 0x01 /* set if we support PowerPC 2.07 */
122118
123119 #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 */
124121
125122 /* Option vector 2: Open Firmware options supported */
126123 #define OV2_REAL_MODE 0x20 /* set if we want OF in real mode */
....@@ -150,8 +147,9 @@
150147 #define OV5_MSI 0x0201 /* PCIe/MSI support */
151148 #define OV5_CMO 0x0480 /* Cooperative Memory Overcommitment */
152149 #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 */
154151 #define OV5_PRRN 0x0540 /* Platform Resource Reassignment */
152
+#define OV5_FORM2_AFFINITY 0x0520 /* Form2 NUMA affinity */
155153 #define OV5_HP_EVT 0x0604 /* Hot Plug Event support */
156154 #define OV5_RESIZE_HPT 0x0601 /* Hash Page Table resizing */
157155 #define OV5_PFO_HW_RNG 0x1180 /* PFO Random Number Generator */