GNU Linux-libre 4.9.337-gnu1
[releases.git] / arch / powerpc / platforms / cell / Kconfig
1 config PPC_CELL
2         bool
3         default n
4
5 config PPC_CELL_COMMON
6         bool
7         select PPC_CELL
8         select PPC_DCR_MMIO
9         select PPC_INDIRECT_PIO
10         select PPC_INDIRECT_MMIO
11         select PPC_NATIVE
12         select PPC_RTAS
13         select IRQ_EDGE_EOI_HANDLER
14
15 config PPC_CELL_NATIVE
16         bool
17         select PPC_CELL_COMMON
18         select MPIC
19         select PPC_IO_WORKAROUNDS
20         select IBM_EMAC_EMAC4
21         select IBM_EMAC_RGMII
22         select IBM_EMAC_ZMII #test only
23         select IBM_EMAC_TAH  #test only
24         default n
25
26 config PPC_IBM_CELL_BLADE
27         bool "IBM Cell Blade"
28         depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
29         select PPC_CELL_NATIVE
30         select PPC_OF_PLATFORM_PCI
31         select PCI
32         select MMIO_NVRAM
33         select PPC_UDBG_16550
34         select UDBG_RTAS_CONSOLE
35
36 config AXON_MSI
37         bool
38         depends on PPC_IBM_CELL_BLADE && PCI_MSI
39         default y
40
41 menu "Cell Broadband Engine options"
42         depends on PPC_CELL
43
44 config SPU_FS
45         tristate "SPU file system"
46         default m
47         depends on PPC_CELL
48         depends on COREDUMP
49         select SPU_BASE
50         select MEMORY_HOTPLUG
51         help
52           The SPU file system is used to access Synergistic Processing
53           Units on machines implementing the Broadband Processor
54           Architecture.
55
56 config SPU_BASE
57         bool
58         default n
59         select PPC_COPRO_BASE
60
61 config CBE_RAS
62         bool "RAS features for bare metal Cell BE"
63         depends on PPC_CELL_NATIVE
64         default y
65
66 config PPC_IBM_CELL_RESETBUTTON
67         bool "IBM Cell Blade Pinhole reset button"
68         depends on CBE_RAS && PPC_IBM_CELL_BLADE
69         default y
70         help
71           Support Pinhole Resetbutton on IBM Cell blades.
72           This adds a method to trigger system reset via front panel pinhole button.
73
74 config PPC_IBM_CELL_POWERBUTTON
75         tristate "IBM Cell Blade power button"
76         depends on PPC_IBM_CELL_BLADE && INPUT_EVDEV
77         default y
78         help
79           Support Powerbutton on IBM Cell blades.
80           This will enable the powerbutton as an input device.
81
82 config CBE_THERM
83         tristate "CBE thermal support"
84         default m
85         depends on CBE_RAS && SPU_BASE
86
87 config PPC_PMI
88         tristate
89         default y
90         depends on CPU_FREQ_CBE_PMI || PPC_IBM_CELL_POWERBUTTON
91         help
92           PMI (Platform Management Interrupt) is a way to
93           communicate with the BMC (Baseboard Management Controller).
94           It is used in some IBM Cell blades.
95
96 config CBE_CPUFREQ_SPU_GOVERNOR
97         tristate "CBE frequency scaling based on SPU usage"
98         depends on SPU_FS && CPU_FREQ
99         default m
100         help
101           This governor checks for spu usage to adjust the cpu frequency.
102           If no spu is running on a given cpu, that cpu will be throttled to
103           the minimal possible frequency.
104
105 endmenu
106
107 config OPROFILE_CELL
108         def_bool y
109         depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
110