disable some mediatekl custom warnings
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / powerpc / platforms / pseries / Kconfig
1 config PPC_PSERIES
2 depends on PPC64 && PPC_BOOK3S
3 bool "IBM pSeries & new (POWER5-based) iSeries"
4 select HAVE_PCSPKR_PLATFORM
5 select MPIC
6 select OF_DYNAMIC
7 select PCI_MSI
8 select PPC_XICS
9 select PPC_ICP_NATIVE
10 select PPC_ICP_HV
11 select PPC_ICS_RTAS
12 select PPC_I8259
13 select PPC_RTAS
14 select PPC_RTAS_DAEMON
15 select RTAS_ERROR_LOGGING
16 select PPC_UDBG_16550
17 select PPC_NATIVE
18 select PPC_PCI_CHOICE if EXPERT
19 select ZLIB_DEFLATE
20 select PPC_DOORBELL
21 select HAVE_CONTEXT_TRACKING
22 select HOTPLUG if SMP
23 select HOTPLUG_CPU if SMP
24 default y
25
26 config PPC_SPLPAR
27 depends on PPC_PSERIES
28 bool "Support for shared-processor logical partitions"
29 default n
30 help
31 Enabling this option will make the kernel run more efficiently
32 on logically-partitioned pSeries systems which use shared
33 processors, that is, which share physical processors between
34 two or more partitions.
35
36 config EEH
37 bool
38 depends on PPC_PSERIES && PCI
39 default y
40
41 config PSERIES_MSI
42 bool
43 depends on PCI_MSI && EEH
44 default y
45
46 config PSERIES_ENERGY
47 tristate "pSeries energy management capabilities driver"
48 depends on PPC_PSERIES
49 default y
50 help
51 Provides interface to platform energy management capabilities
52 on supported PSERIES platforms.
53 Provides: /sys/devices/system/cpu/pseries_(de)activation_hint_list
54 and /sys/devices/system/cpu/cpuN/pseries_(de)activation_hint
55
56 config SCANLOG
57 tristate "Scanlog dump interface"
58 depends on RTAS_PROC && PPC_PSERIES
59
60 config IO_EVENT_IRQ
61 bool "IO Event Interrupt support"
62 depends on PPC_PSERIES
63 default y
64 help
65 Select this option, if you want to enable support for IO Event
66 interrupts. IO event interrupt is a mechanism provided by RTAS
67 to return information about hardware error and non-error events
68 which may need OS attention. RTAS returns events for multiple
69 event types and scopes. Device drivers can register their handlers
70 to receive events.
71
72 This option will only enable the IO event platform code. You
73 will still need to enable or compile the actual drivers
74 that use this infrastructure to handle IO event interrupts.
75
76 Say Y if you are unsure.
77
78 config LPARCFG
79 bool "LPAR Configuration Data"
80 depends on PPC_PSERIES
81 help
82 Provide system capacity information via human readable
83 <key word>=<value> pairs through a /proc/ppc64/lparcfg interface.
84
85 config PPC_PSERIES_DEBUG
86 depends on PPC_PSERIES && PPC_EARLY_DEBUG
87 bool "Enable extra debug logging in platforms/pseries"
88 help
89 Say Y here if you want the pseries core to produce a bunch of
90 debug messages to the system log. Select this if you are having a
91 problem with the pseries core and want to see more of what is
92 going on. This does not enable debugging in lpar.c, which must
93 be manually done due to its verbosity.
94 default y
95
96 config PPC_SMLPAR
97 bool "Support for shared-memory logical partitions"
98 depends on PPC_PSERIES
99 select LPARCFG
100 default n
101 help
102 Select this option to enable shared memory partition support.
103 With this option a system running in an LPAR can be given more
104 memory than physically available and will allow firmware to
105 balance memory across many LPARs.
106
107 config CMM
108 tristate "Collaborative memory management"
109 depends on PPC_SMLPAR
110 default y
111 help
112 Select this option, if you want to enable the kernel interface
113 to reduce the memory size of the system. This is accomplished
114 by allocating pages of memory and put them "on hold". This only
115 makes sense for a system running in an LPAR where the unused pages
116 will be reused for other LPARs. The interface allows firmware to
117 balance memory across many LPARs.
118
119 config DTL
120 bool "Dispatch Trace Log"
121 depends on PPC_SPLPAR && DEBUG_FS
122 help
123 SPLPAR machines can log hypervisor preempt & dispatch events to a
124 kernel buffer. Saying Y here will enable logging these events,
125 which are accessible through a debugfs file.
126
127 Say N if you are unsure.
128
129 config PSERIES_IDLE
130 bool "Cpuidle driver for pSeries platforms"
131 depends on CPU_IDLE
132 depends on PPC_PSERIES
133 default y
134 help
135 Select this option to enable processor idle state management
136 through cpuidle subsystem.