blob: 9978f594cac013a5f94095846a4e98816784f2a7 [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
Michael Ellerman21176fe2011-04-11 21:25:01 +00009 select PPC_INDIRECT_PIO
10 select PPC_INDIRECT_MMIO
Kumar Gala72e77a1b2007-03-16 08:13:18 -050011 select PPC_NATIVE
Benjamin Krilldef434c2008-11-27 16:15:44 +010012 select PPC_RTAS
Thomas Gleixnerf9ba4472011-03-28 16:23:12 +020013 select IRQ_EDGE_EOI_HANDLER
Benjamin Krilldef434c2008-11-27 16:15:44 +010014
15config PPC_CELL_NATIVE
16 bool
17 select PPC_CELL_COMMON
Kumar Gala72e77a1b2007-03-16 08:13:18 -050018 select MPIC
Michael Ellerman3cc30d02011-04-11 21:25:01 +000019 select PPC_IO_WORKAROUNDS
Tony Breeds3b3bceef2011-08-18 21:33:49 -070020 select IBM_EMAC_EMAC4
21 select IBM_EMAC_RGMII
22 select IBM_EMAC_ZMII #test only
23 select IBM_EMAC_TAH #test only
Kumar Gala72e77a1b2007-03-16 08:13:18 -050024 default n
25
26config PPC_IBM_CELL_BLADE
27 bool "IBM Cell Blade"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000028 depends on PPC64 && PPC_BOOK3S
Kumar Gala72e77a1b2007-03-16 08:13:18 -050029 select PPC_CELL_NATIVE
Michael Ellermanff61e5c2009-04-22 22:43:03 +000030 select PPC_OF_PLATFORM_PCI
31 select PCI
Kumar Gala72e77a1b2007-03-16 08:13:18 -050032 select MMIO_NVRAM
33 select PPC_UDBG_16550
34 select UDBG_RTAS_CONSOLE
35
Ishizaki Kou116bdc42008-04-24 19:25:16 +100036config PPC_CELLEB
37 bool "Toshiba's Cell Reference Set 'Celleb' Architecture"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000038 depends on PPC64 && PPC_BOOK3S
Ishizaki Kou116bdc42008-04-24 19:25:16 +100039 select PPC_CELL_NATIVE
Michael Ellermanff61e5c2009-04-22 22:43:03 +000040 select PPC_OF_PLATFORM_PCI
41 select PCI
Ishizaki Kou116bdc42008-04-24 19:25:16 +100042 select HAS_TXX9_SERIAL
43 select PPC_UDBG_BEAT
44 select USB_OHCI_BIG_ENDIAN_MMIO
45 select USB_EHCI_BIG_ENDIAN_MMIO
46
Benjamin Krilldef434c2008-11-27 16:15:44 +010047config PPC_CELL_QPACE
48 bool "IBM Cell - QPACE"
Benjamin Herrenschmidt28794d32009-03-10 17:53:27 +000049 depends on PPC64 && PPC_BOOK3S
Benjamin Krilldef434c2008-11-27 16:15:44 +010050 select PPC_CELL_COMMON
51
Michael Ellerman47c3c6e2009-03-05 17:37:11 +000052config AXON_MSI
53 bool
54 depends on PPC_IBM_CELL_BLADE && PCI_MSI
55 default y
56
Arnd Bergmann67207b92005-11-15 15:53:48 -050057menu "Cell Broadband Engine options"
58 depends on PPC_CELL
59
60config SPU_FS
61 tristate "SPU file system"
62 default m
63 depends on PPC_CELL
Geoff Levandc01ea722006-06-19 20:33:28 +020064 select SPU_BASE
Geoff Levand4da30d12006-06-23 20:57:49 +020065 select MEMORY_HOTPLUG
Arnd Bergmann67207b92005-11-15 15:53:48 -050066 help
67 The SPU file system is used to access Synergistic Processing
68 Units on machines implementing the Broadband Processor
69 Architecture.
70
Benjamin Herrenschmidtf1fa74f2007-05-08 16:27:29 +100071config SPU_FS_64K_LS
72 bool "Use 64K pages to map SPE local store"
73 # we depend on PPC_MM_SLICES for now rather than selecting
74 # it because we depend on hugetlbfs hooks being present. We
75 # will fix that when the generic code has been improved to
76 # not require hijacking hugetlbfs hooks.
77 depends on SPU_FS && PPC_MM_SLICES && !PPC_64K_PAGES
78 default y
79 select PPC_HAS_HASH_64K
80 help
81 This option causes SPE local stores to be mapped in process
82 address spaces using 64K pages while the rest of the kernel
83 uses 4K pages. This can improve performances of applications
84 using multiple SPEs by lowering the TLB pressure on them.
85
Geoff Levandc01ea722006-06-19 20:33:28 +020086config SPU_BASE
87 bool
88 default n
89
Benjamin Herrenschmidtacf7d762006-06-19 20:33:16 +020090config CBE_RAS
91 bool "RAS features for bare metal Cell BE"
Geert Uytterhoeven28066ae2007-03-23 14:06:43 +010092 depends on PPC_CELL_NATIVE
Benjamin Herrenschmidtacf7d762006-06-19 20:33:16 +020093 default y
94
Christian Krafft70694a82008-07-16 05:51:44 +100095config PPC_IBM_CELL_RESETBUTTON
96 bool "IBM Cell Blade Pinhole reset button"
97 depends on CBE_RAS && PPC_IBM_CELL_BLADE
98 default y
99 help
100 Support Pinhole Resetbutton on IBM Cell blades.
101 This adds a method to trigger system reset via front panel pinhole button.
102
Christian Krafft4795b782008-07-16 05:51:45 +1000103config PPC_IBM_CELL_POWERBUTTON
104 tristate "IBM Cell Blade power button"
Arnd Bergmann6ed8d122009-02-10 05:55:16 +0000105 depends on PPC_IBM_CELL_BLADE && INPUT_EVDEV
Christian Krafft4795b782008-07-16 05:51:45 +1000106 default y
107 help
108 Support Powerbutton on IBM Cell blades.
109 This will enable the powerbutton as an input device.
110
Christian Krafftb3d7dc12006-10-24 18:31:25 +0200111config CBE_THERM
112 tristate "CBE thermal support"
113 default m
Arnd Bergmanne68558d2008-12-22 22:08:26 +0100114 depends on CBE_RAS && SPU_BASE
Christian Krafftb3d7dc12006-10-24 18:31:25 +0200115
Arnd Bergmann6ed8d122009-02-10 05:55:16 +0000116config PPC_PMI
117 tristate
118 default y
Viresh Kumar6eb1c372013-03-25 11:20:23 +0530119 depends on CPU_FREQ_CBE_PMI || PPC_IBM_CELL_POWERBUTTON
Arnd Bergmann6ed8d122009-02-10 05:55:16 +0000120 help
121 PMI (Platform Management Interrupt) is a way to
122 communicate with the BMC (Baseboard Management Controller).
123 It is used in some IBM Cell blades.
124
Christian Krafft880e7102008-07-16 05:51:43 +1000125config CBE_CPUFREQ_SPU_GOVERNOR
126 tristate "CBE frequency scaling based on SPU usage"
127 depends on SPU_FS && CPU_FREQ
128 default m
129 help
130 This governor checks for spu usage to adjust the cpu frequency.
131 If no spu is running on a given cpu, that cpu will be throttled to
132 the minimal possible frequency.
133
Arnd Bergmann67207b92005-11-15 15:53:48 -0500134endmenu
Bob Nelsonaed3a8c2007-12-15 01:27:30 +1100135
136config OPROFILE_CELL
137 def_bool y
Arnd Bergmanne68558d2008-12-22 22:08:26 +0100138 depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
Bob Nelsonaed3a8c2007-12-15 01:27:30 +1100139