forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/powerpc/platforms/pseries/Kconfig
....@@ -5,7 +5,7 @@
55 select HAVE_PCSPKR_PLATFORM
66 select MPIC
77 select OF_DYNAMIC
8
- select PCI
8
+ select FORCE_PCI
99 select PCI_MSI
1010 select PPC_XICS
1111 select PPC_XIVE_SPAPR
....@@ -21,19 +21,25 @@
2121 select PPC_DOORBELL
2222 select HOTPLUG_CPU
2323 select ARCH_RANDOM
24
- select PPC_DOORBELL
2524 select FORCE_SMP
25
+ select SWIOTLB
2626 default y
2727
28
+config PARAVIRT_SPINLOCKS
29
+ bool
30
+
2831 config PPC_SPLPAR
29
- depends on PPC_PSERIES
3032 bool "Support for shared-processor logical partitions"
31
- default n
33
+ depends on PPC_PSERIES
34
+ select PARAVIRT_SPINLOCKS if PPC_QUEUED_SPINLOCKS
35
+ default y
3236 help
3337 Enabling this option will make the kernel run more efficiently
3438 on logically-partitioned pSeries systems which use shared
3539 processors, that is, which share physical processors between
3640 two or more partitions.
41
+
42
+ Say Y if you are unsure.
3743
3844 config DTL
3945 bool "Dispatch Trace Log"
....@@ -81,25 +87,24 @@
8187 bool "LPAR Configuration Data"
8288 depends on PPC_PSERIES
8389 help
84
- Provide system capacity information via human readable
85
- <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
90
+ Provide system capacity information via human readable
91
+ <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
8692
8793 config PPC_PSERIES_DEBUG
8894 depends on PPC_PSERIES && PPC_EARLY_DEBUG
8995 bool "Enable extra debug logging in platforms/pseries"
90
- help
96
+ default y
97
+ help
9198 Say Y here if you want the pseries core to produce a bunch of
9299 debug messages to the system log. Select this if you are having a
93100 problem with the pseries core and want to see more of what is
94101 going on. This does not enable debugging in lpar.c, which must
95102 be manually done due to its verbosity.
96
- default y
97103
98104 config PPC_SMLPAR
99105 bool "Support for shared-memory logical partitions"
100106 depends on PPC_PSERIES
101107 select LPARCFG
102
- default n
103108 help
104109 Select this option to enable shared memory partition support.
105110 With this option a system running in an LPAR can be given more
....@@ -109,6 +114,7 @@
109114 config CMM
110115 tristate "Collaborative memory management"
111116 depends on PPC_SMLPAR
117
+ select MEMORY_BALLOON
112118 default y
113119 help
114120 Select this option, if you want to enable the kernel interface
....@@ -119,16 +125,16 @@
119125 balance memory across many LPARs.
120126
121127 config HV_PERF_CTRS
122
- bool "Hypervisor supplied PMU events (24x7 & GPCI)"
123
- default y
124
- depends on PERF_EVENTS && PPC_PSERIES
125
- help
128
+ bool "Hypervisor supplied PMU events (24x7 & GPCI)"
129
+ default y
130
+ depends on PERF_EVENTS && PPC_PSERIES
131
+ help
126132 Enable access to hypervisor supplied counters in perf. Currently,
127133 this enables code that uses the hcall GetPerfCounterInfo and 24x7
128134 interfaces to retrieve counters. GPCI exists on Power 6 and later
129135 systems. 24x7 is available on Power 8 and later systems.
130136
131
- If unsure, select Y.
137
+ If unsure, select Y.
132138
133139 config IBMVIO
134140 depends on PPC_PSERIES
....@@ -140,3 +146,23 @@
140146 bool "Support for GX bus based adapters"
141147 help
142148 Bus device driver for GX bus based adapters.
149
+
150
+config PAPR_SCM
151
+ depends on PPC_PSERIES && MEMORY_HOTPLUG && LIBNVDIMM
152
+ tristate "Support for the PAPR Storage Class Memory interface"
153
+ help
154
+ Enable access to hypervisor provided storage class memory.
155
+
156
+config PPC_SVM
157
+ bool "Secure virtual machine (SVM) support for POWER"
158
+ depends on PPC_PSERIES
159
+ select SWIOTLB
160
+ select ARCH_HAS_MEM_ENCRYPT
161
+ select ARCH_HAS_FORCE_DMA_UNENCRYPTED
162
+ help
163
+ There are certain POWER platforms which support secure guests using
164
+ the Protected Execution Facility, with the help of an Ultravisor
165
+ executing below the hypervisor layer. This enables support for
166
+ those guests.
167
+
168
+ If unsure, say "N".