Merge tag 'gcc-plugins-v4.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.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
8         select PCI_MSI
9         select PPC_XICS
10         select PPC_ICP_NATIVE
11         select PPC_ICP_HV
12         select PPC_ICS_RTAS
13         select PPC_I8259
14         select PPC_RTAS
15         select PPC_RTAS_DAEMON
16         select RTAS_ERROR_LOGGING
17         select PPC_UDBG_16550
18         select PPC_NATIVE
19         select PPC_DOORBELL
20         select HAVE_CONTEXT_TRACKING
21         select HOTPLUG_CPU if SMP
22         select ARCH_RANDOM
23         select PPC_DOORBELL
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 DTL
37         bool "Dispatch Trace Log"
38         depends on PPC_SPLPAR && DEBUG_FS
39         help
40           SPLPAR machines can log hypervisor preempt & dispatch events to a
41           kernel buffer. Saying Y here will enable logging these events,
42           which are accessible through a debugfs file.
43
44           Say N if you are unsure.
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 HV_PERF_CTRS
120        bool "Hypervisor supplied PMU events (24x7 & GPCI)"
121        default y
122        depends on PERF_EVENTS && PPC_PSERIES
123        help
124           Enable access to hypervisor supplied counters in perf. Currently,
125           this enables code that uses the hcall GetPerfCounterInfo and 24x7
126           interfaces to retrieve counters. GPCI exists on Power 6 and later
127           systems. 24x7 is available on Power 8 systems.
128
129           If unsure, select Y.