blob: 50f17bdd3c163c39187e07fd756f4bfc113e5e2c [file] [log] [blame]
Kumar Gala72e77a1b2007-03-16 08:13:18 -05001config PPC_CELL
2 bool
3 default n
4
Benjamin Krilldef434c2008-11-27 16:15:44 +01005config PPC_CELL_COMMON
Kumar Gala72e77a1b2007-03-16 08:13:18 -05006 bool
7 select PPC_CELL
8 select PPC_DCR_MMIO
Kumar Gala72e77a1b2007-03-16 08:13:18 -05009 select PPC_INDIRECT_IO
10 select PPC_NATIVE
Benjamin Krilldef434c2008-11-27 16:15:44 +010011 select PPC_RTAS
12
13config PPC_CELL_NATIVE
14 bool
15 select PPC_CELL_COMMON
Kumar Gala72e77a1b2007-03-16 08:13:18 -050016 select MPIC
David Gibson1d3bb992007-08-23 13:56:01 +100017 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
Kumar Gala72e77a1b2007-03-16 08:13:18 -050021 default n
22
23config PPC_IBM_CELL_BLADE
24 bool "IBM Cell Blade"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000025 depends on PPC64 && PPC_BOOK3S
Kumar Gala72e77a1b2007-03-16 08:13:18 -050026 select PPC_CELL_NATIVE
Michael Ellermanff61e5c2009-04-22 22:43:03 +000027 select PPC_OF_PLATFORM_PCI
28 select PCI
Kumar Gala72e77a1b2007-03-16 08:13:18 -050029 select MMIO_NVRAM
30 select PPC_UDBG_16550
31 select UDBG_RTAS_CONSOLE
32
Ishizaki Kou116bdc42008-04-24 19:25:16 +100033config PPC_CELLEB
34 bool "Toshiba's Cell Reference Set 'Celleb' Architecture"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000035 depends on PPC64 && PPC_BOOK3S
Ishizaki Kou116bdc42008-04-24 19:25:16 +100036 select PPC_CELL_NATIVE
Michael Ellermanff61e5c2009-04-22 22:43:03 +000037 select PPC_OF_PLATFORM_PCI
38 select PCI
Ishizaki Kou116bdc42008-04-24 19:25:16 +100039 select HAS_TXX9_SERIAL
40 select PPC_UDBG_BEAT
41 select USB_OHCI_BIG_ENDIAN_MMIO
42 select USB_EHCI_BIG_ENDIAN_MMIO
43
Benjamin Krilldef434c2008-11-27 16:15:44 +010044config PPC_CELL_QPACE
45 bool "IBM Cell - QPACE"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000046 depends on PPC64 && PPC_BOOK3S
Benjamin Krilldef434c2008-11-27 16:15:44 +010047 select PPC_CELL_COMMON
48
Michael Ellerman47c3c6e2009-03-05 17:37:11 +000049config AXON_MSI
50 bool
51 depends on PPC_IBM_CELL_BLADE && PCI_MSI
52 default y
53
Arnd Bergmann67207b92005-11-15 15:53:48 -050054menu "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
Geoff Levandc01ea722006-06-19 20:33:28 +020061 select SPU_BASE
Geoff Levand4da30d12006-06-23 20:57:49 +020062 select MEMORY_HOTPLUG
Arnd Bergmann67207b92005-11-15 15:53:48 -050063 help
64 The SPU file system is used to access Synergistic Processing
65 Units on machines implementing the Broadband Processor
66 Architecture.
67
Benjamin Herrenschmidtf1fa74f2007-05-08 16:27:29 +100068config 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
Christoph Hellwig038200c2008-01-11 15:03:26 +110083config 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
Geoff Levandc01ea722006-06-19 20:33:28 +020090config SPU_BASE
91 bool
92 default n
93
Benjamin Herrenschmidtacf7d762006-06-19 20:33:16 +020094config CBE_RAS
95 bool "RAS features for bare metal Cell BE"
Geert Uytterhoeven28066ae2007-03-23 14:06:43 +010096 depends on PPC_CELL_NATIVE
Benjamin Herrenschmidtacf7d762006-06-19 20:33:16 +020097 default y
98
Christian Krafft70694a82008-07-16 05:51:44 +100099config 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
Christian Krafft4795b782008-07-16 05:51:45 +1000107config PPC_IBM_CELL_POWERBUTTON
108 tristate "IBM Cell Blade power button"
Arnd Bergmann6ed8d122009-02-10 05:55:16 +0000109 depends on PPC_IBM_CELL_BLADE && INPUT_EVDEV
Christian Krafft4795b782008-07-16 05:51:45 +1000110 default y
111 help
112 Support Powerbutton on IBM Cell blades.
113 This will enable the powerbutton as an input device.
114
Christian Krafftb3d7dc12006-10-24 18:31:25 +0200115config CBE_THERM
116 tristate "CBE thermal support"
117 default m
Arnd Bergmanne68558d2008-12-22 22:08:26 +0100118 depends on CBE_RAS && SPU_BASE
Christian Krafftb3d7dc12006-10-24 18:31:25 +0200119
Christian Krafft36ca4ba2006-10-24 18:39:45 +0200120config 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
Arnd Bergmann6ed8d122009-02-10 05:55:16 +0000129config CBE_CPUFREQ_PMI_ENABLE
130 bool "CBE frequency scaling using PMI interface"
131 depends on CBE_CPUFREQ && EXPERIMENTAL
Christian Krafft74889e42007-07-20 21:39:22 +0200132 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
Arnd Bergmann6ed8d122009-02-10 05:55:16 +0000139config 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
Christian Krafft880e7102008-07-16 05:51:43 +1000153config 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
Arnd Bergmann67207b92005-11-15 15:53:48 -0500162endmenu
Bob Nelsonaed3a8c2007-12-15 01:27:30 +1100163
164config OPROFILE_CELL
165 def_bool y
Arnd Bergmanne68558d2008-12-22 22:08:26 +0100166 depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
Bob Nelsonaed3a8c2007-12-15 01:27:30 +1100167