]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/powerpc/platforms/cell/Kconfig
powerpc/cell: Select PCI for IBM_CELL_BLADE AND CELLEB
[mirror_ubuntu-artful-kernel.git] / arch / powerpc / platforms / cell / Kconfig
CommitLineData
72e77a1b
KG
1config PPC_CELL
2 bool
3 default n
4
def434c2 5config PPC_CELL_COMMON
72e77a1b
KG
6 bool
7 select PPC_CELL
8 select PPC_DCR_MMIO
72e77a1b
KG
9 select PPC_INDIRECT_IO
10 select PPC_NATIVE
def434c2
BK
11 select PPC_RTAS
12
13config PPC_CELL_NATIVE
14 bool
15 select PPC_CELL_COMMON
72e77a1b 16 select MPIC
1d3bb996
DG
17 select IBM_NEW_EMAC_EMAC4
18 select IBM_NEW_EMAC_RGMII
19 select IBM_NEW_EMAC_ZMII #test only
20 select IBM_NEW_EMAC_TAH #test only
72e77a1b
KG
21 default n
22
23config PPC_IBM_CELL_BLADE
24 bool "IBM Cell Blade"
28794d34 25 depends on PPC64 && PPC_BOOK3S
72e77a1b 26 select PPC_CELL_NATIVE
ff61e5cc
ME
27 select PPC_OF_PLATFORM_PCI
28 select PCI
72e77a1b
KG
29 select MMIO_NVRAM
30 select PPC_UDBG_16550
31 select UDBG_RTAS_CONSOLE
32
116bdc42
IK
33config PPC_CELLEB
34 bool "Toshiba's Cell Reference Set 'Celleb' Architecture"
28794d34 35 depends on PPC64 && PPC_BOOK3S
116bdc42 36 select PPC_CELL_NATIVE
ff61e5cc
ME
37 select PPC_OF_PLATFORM_PCI
38 select PCI
116bdc42
IK
39 select HAS_TXX9_SERIAL
40 select PPC_UDBG_BEAT
41 select USB_OHCI_BIG_ENDIAN_MMIO
42 select USB_EHCI_BIG_ENDIAN_MMIO
43
def434c2
BK
44config PPC_CELL_QPACE
45 bool "IBM Cell - QPACE"
28794d34 46 depends on PPC64 && PPC_BOOK3S
def434c2
BK
47 select PPC_CELL_COMMON
48
47c3c6ef
ME
49config AXON_MSI
50 bool
51 depends on PPC_IBM_CELL_BLADE && PCI_MSI
52 default y
53
67207b96
AB
54menu "Cell Broadband Engine options"
55 depends on PPC_CELL
56
57config SPU_FS
58 tristate "SPU file system"
59 default m
60 depends on PPC_CELL
c01ea72a 61 select SPU_BASE
4da30d15 62 select MEMORY_HOTPLUG
67207b96
AB
63 help
64 The SPU file system is used to access Synergistic Processing
65 Units on machines implementing the Broadband Processor
66 Architecture.
67
f1fa74f4
BH
68config SPU_FS_64K_LS
69 bool "Use 64K pages to map SPE local store"
70 # we depend on PPC_MM_SLICES for now rather than selecting
71 # it because we depend on hugetlbfs hooks being present. We
72 # will fix that when the generic code has been improved to
73 # not require hijacking hugetlbfs hooks.
74 depends on SPU_FS && PPC_MM_SLICES && !PPC_64K_PAGES
75 default y
76 select PPC_HAS_HASH_64K
77 help
78 This option causes SPE local stores to be mapped in process
79 address spaces using 64K pages while the rest of the kernel
80 uses 4K pages. This can improve performances of applications
81 using multiple SPEs by lowering the TLB pressure on them.
82
038200cf
CH
83config SPU_TRACE
84 tristate "SPU event tracing support"
85 depends on SPU_FS && MARKERS
86 help
87 This option allows reading a trace of spu-related events through
88 the sputrace file in procfs.
89
c01ea72a
GL
90config SPU_BASE
91 bool
92 default n
93
acf7d768
BH
94config CBE_RAS
95 bool "RAS features for bare metal Cell BE"
28066ae9 96 depends on PPC_CELL_NATIVE
acf7d768
BH
97 default y
98
70694a8b
CK
99config PPC_IBM_CELL_RESETBUTTON
100 bool "IBM Cell Blade Pinhole reset button"
101 depends on CBE_RAS && PPC_IBM_CELL_BLADE
102 default y
103 help
104 Support Pinhole Resetbutton on IBM Cell blades.
105 This adds a method to trigger system reset via front panel pinhole button.
106
4795b780
CK
107config PPC_IBM_CELL_POWERBUTTON
108 tristate "IBM Cell Blade power button"
6ed8d128 109 depends on PPC_IBM_CELL_BLADE && INPUT_EVDEV
4795b780
CK
110 default y
111 help
112 Support Powerbutton on IBM Cell blades.
113 This will enable the powerbutton as an input device.
114
b3d7dc19
CK
115config CBE_THERM
116 tristate "CBE thermal support"
117 default m
e68558dd 118 depends on CBE_RAS && SPU_BASE
b3d7dc19 119
36ca4ba4
CK
120config CBE_CPUFREQ
121 tristate "CBE frequency scaling"
122 depends on CBE_RAS && CPU_FREQ
123 default m
124 help
125 This adds the cpufreq driver for Cell BE processors.
126 For details, take a look at <file:Documentation/cpu-freq/>.
127 If you don't have such processor, say N
128
6ed8d128
AB
129config CBE_CPUFREQ_PMI_ENABLE
130 bool "CBE frequency scaling using PMI interface"
131 depends on CBE_CPUFREQ && EXPERIMENTAL
74889e41
CK
132 default n
133 help
134 Select this, if you want to use the PMI interface
135 to switch frequencies. Using PMI, the
136 processor will not only be able to run at lower speed,
137 but also at lower core voltage.
138
6ed8d128
AB
139config CBE_CPUFREQ_PMI
140 tristate
141 depends on CBE_CPUFREQ_PMI_ENABLE
142 default CBE_CPUFREQ
143
144config PPC_PMI
145 tristate
146 default y
147 depends on CBE_CPUFREQ_PMI || PPC_IBM_CELL_POWERBUTTON
148 help
149 PMI (Platform Management Interrupt) is a way to
150 communicate with the BMC (Baseboard Management Controller).
151 It is used in some IBM Cell blades.
152
880e7105
CK
153config CBE_CPUFREQ_SPU_GOVERNOR
154 tristate "CBE frequency scaling based on SPU usage"
155 depends on SPU_FS && CPU_FREQ
156 default m
157 help
158 This governor checks for spu usage to adjust the cpu frequency.
159 If no spu is running on a given cpu, that cpu will be throttled to
160 the minimal possible frequency.
161
67207b96 162endmenu
aed3a8c9
BN
163
164config OPROFILE_CELL
165 def_bool y
e68558dd 166 depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
aed3a8c9 167