Kumar Gala | 72e77a1b | 2007-03-16 08:13:18 -0500 | [diff] [blame] | 1 | config PPC_CELL |
| 2 | bool |
| 3 | default n |
| 4 | |
| 5 | config PPC_CELL_NATIVE |
| 6 | bool |
| 7 | select PPC_CELL |
| 8 | select PPC_DCR_MMIO |
| 9 | select PPC_OF_PLATFORM_PCI |
| 10 | select PPC_INDIRECT_IO |
| 11 | select PPC_NATIVE |
| 12 | select MPIC |
David Gibson | 1d3bb99 | 2007-08-23 13:56:01 +1000 | [diff] [blame] | 13 | select IBM_NEW_EMAC_EMAC4 |
| 14 | select IBM_NEW_EMAC_RGMII |
| 15 | select IBM_NEW_EMAC_ZMII #test only |
| 16 | select IBM_NEW_EMAC_TAH #test only |
Kumar Gala | 72e77a1b | 2007-03-16 08:13:18 -0500 | [diff] [blame] | 17 | default n |
| 18 | |
| 19 | config PPC_IBM_CELL_BLADE |
| 20 | bool "IBM Cell Blade" |
| 21 | depends on PPC_MULTIPLATFORM && PPC64 |
| 22 | select PPC_CELL_NATIVE |
| 23 | select PPC_RTAS |
| 24 | select MMIO_NVRAM |
| 25 | select PPC_UDBG_16550 |
| 26 | select UDBG_RTAS_CONSOLE |
| 27 | |
Ishizaki Kou | 116bdc4 | 2008-04-24 19:25:16 +1000 | [diff] [blame] | 28 | config PPC_CELLEB |
| 29 | bool "Toshiba's Cell Reference Set 'Celleb' Architecture" |
| 30 | depends on PPC_MULTIPLATFORM && PPC64 |
| 31 | select PPC_CELL |
| 32 | select PPC_CELL_NATIVE |
| 33 | select PPC_RTAS |
| 34 | select PPC_INDIRECT_IO |
| 35 | select PPC_OF_PLATFORM_PCI |
| 36 | select HAS_TXX9_SERIAL |
| 37 | select PPC_UDBG_BEAT |
| 38 | select USB_OHCI_BIG_ENDIAN_MMIO |
| 39 | select USB_EHCI_BIG_ENDIAN_MMIO |
| 40 | |
Arnd Bergmann | 67207b9 | 2005-11-15 15:53:48 -0500 | [diff] [blame] | 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 |
Geoff Levand | c01ea72 | 2006-06-19 20:33:28 +0200 | [diff] [blame] | 48 | select SPU_BASE |
Geoff Levand | 4da30d1 | 2006-06-23 20:57:49 +0200 | [diff] [blame] | 49 | select MEMORY_HOTPLUG |
Arnd Bergmann | 67207b9 | 2005-11-15 15:53:48 -0500 | [diff] [blame] | 50 | help |
| 51 | The SPU file system is used to access Synergistic Processing |
| 52 | Units on machines implementing the Broadband Processor |
| 53 | Architecture. |
| 54 | |
Benjamin Herrenschmidt | f1fa74f | 2007-05-08 16:27:29 +1000 | [diff] [blame] | 55 | config SPU_FS_64K_LS |
| 56 | bool "Use 64K pages to map SPE local store" |
| 57 | # we depend on PPC_MM_SLICES for now rather than selecting |
| 58 | # it because we depend on hugetlbfs hooks being present. We |
| 59 | # will fix that when the generic code has been improved to |
| 60 | # not require hijacking hugetlbfs hooks. |
| 61 | depends on SPU_FS && PPC_MM_SLICES && !PPC_64K_PAGES |
| 62 | default y |
| 63 | select PPC_HAS_HASH_64K |
| 64 | help |
| 65 | This option causes SPE local stores to be mapped in process |
| 66 | address spaces using 64K pages while the rest of the kernel |
| 67 | uses 4K pages. This can improve performances of applications |
| 68 | using multiple SPEs by lowering the TLB pressure on them. |
| 69 | |
Christoph Hellwig | 038200c | 2008-01-11 15:03:26 +1100 | [diff] [blame] | 70 | config SPU_TRACE |
| 71 | tristate "SPU event tracing support" |
| 72 | depends on SPU_FS && MARKERS |
| 73 | help |
| 74 | This option allows reading a trace of spu-related events through |
| 75 | the sputrace file in procfs. |
| 76 | |
Geoff Levand | c01ea72 | 2006-06-19 20:33:28 +0200 | [diff] [blame] | 77 | config SPU_BASE |
| 78 | bool |
| 79 | default n |
| 80 | |
Benjamin Herrenschmidt | acf7d76 | 2006-06-19 20:33:16 +0200 | [diff] [blame] | 81 | config CBE_RAS |
| 82 | bool "RAS features for bare metal Cell BE" |
Geert Uytterhoeven | 28066ae | 2007-03-23 14:06:43 +0100 | [diff] [blame] | 83 | depends on PPC_CELL_NATIVE |
Benjamin Herrenschmidt | acf7d76 | 2006-06-19 20:33:16 +0200 | [diff] [blame] | 84 | default y |
| 85 | |
Christian Krafft | 70694a8 | 2008-07-16 05:51:44 +1000 | [diff] [blame] | 86 | config PPC_IBM_CELL_RESETBUTTON |
| 87 | bool "IBM Cell Blade Pinhole reset button" |
| 88 | depends on CBE_RAS && PPC_IBM_CELL_BLADE |
| 89 | default y |
| 90 | help |
| 91 | Support Pinhole Resetbutton on IBM Cell blades. |
| 92 | This adds a method to trigger system reset via front panel pinhole button. |
| 93 | |
Christian Krafft | 4795b78 | 2008-07-16 05:51:45 +1000 | [diff] [blame] | 94 | config PPC_IBM_CELL_POWERBUTTON |
| 95 | tristate "IBM Cell Blade power button" |
| 96 | depends on PPC_IBM_CELL_BLADE && PPC_PMI && INPUT_EVDEV |
| 97 | default y |
| 98 | help |
| 99 | Support Powerbutton on IBM Cell blades. |
| 100 | This will enable the powerbutton as an input device. |
| 101 | |
Christian Krafft | b3d7dc1 | 2006-10-24 18:31:25 +0200 | [diff] [blame] | 102 | config CBE_THERM |
| 103 | tristate "CBE thermal support" |
| 104 | default m |
Arnd Bergmann | e68558d | 2008-12-22 22:08:26 +0100 | [diff] [blame^] | 105 | depends on CBE_RAS && SPU_BASE |
Christian Krafft | b3d7dc1 | 2006-10-24 18:31:25 +0200 | [diff] [blame] | 106 | |
Christian Krafft | 36ca4ba | 2006-10-24 18:39:45 +0200 | [diff] [blame] | 107 | config CBE_CPUFREQ |
| 108 | tristate "CBE frequency scaling" |
| 109 | depends on CBE_RAS && CPU_FREQ |
| 110 | default m |
| 111 | help |
| 112 | This adds the cpufreq driver for Cell BE processors. |
| 113 | For details, take a look at <file:Documentation/cpu-freq/>. |
| 114 | If you don't have such processor, say N |
| 115 | |
Christian Krafft | 74889e4 | 2007-07-20 21:39:22 +0200 | [diff] [blame] | 116 | config CBE_CPUFREQ_PMI |
| 117 | tristate "CBE frequency scaling using PMI interface" |
| 118 | depends on CBE_CPUFREQ && PPC_PMI && EXPERIMENTAL |
| 119 | default n |
| 120 | help |
| 121 | Select this, if you want to use the PMI interface |
| 122 | to switch frequencies. Using PMI, the |
| 123 | processor will not only be able to run at lower speed, |
| 124 | but also at lower core voltage. |
| 125 | |
Christian Krafft | 880e710 | 2008-07-16 05:51:43 +1000 | [diff] [blame] | 126 | config CBE_CPUFREQ_SPU_GOVERNOR |
| 127 | tristate "CBE frequency scaling based on SPU usage" |
| 128 | depends on SPU_FS && CPU_FREQ |
| 129 | default m |
| 130 | help |
| 131 | This governor checks for spu usage to adjust the cpu frequency. |
| 132 | If no spu is running on a given cpu, that cpu will be throttled to |
| 133 | the minimal possible frequency. |
| 134 | |
Arnd Bergmann | 67207b9 | 2005-11-15 15:53:48 -0500 | [diff] [blame] | 135 | endmenu |
Bob Nelson | aed3a8c | 2007-12-15 01:27:30 +1100 | [diff] [blame] | 136 | |
| 137 | config OPROFILE_CELL |
| 138 | def_bool y |
Arnd Bergmann | e68558d | 2008-12-22 22:08:26 +0100 | [diff] [blame^] | 139 | depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE |
Bob Nelson | aed3a8c | 2007-12-15 01:27:30 +1100 | [diff] [blame] | 140 | |