Kconfig 4.1 KB
Newer Older
1 2 3 4
config PPC_CELL
	bool
	default n

5
config PPC_CELL_COMMON
6 7 8 9 10
	bool
	select PPC_CELL
	select PPC_DCR_MMIO
	select PPC_INDIRECT_IO
	select PPC_NATIVE
11 12 13 14 15 16
	select PPC_RTAS

config PPC_CELL_NATIVE
	bool
	select PPC_CELL_COMMON
	select PPC_OF_PLATFORM_PCI
17
	select MPIC
D
David Gibson 已提交
18 19 20 21
	select IBM_NEW_EMAC_EMAC4
	select IBM_NEW_EMAC_RGMII
	select IBM_NEW_EMAC_ZMII #test only
	select IBM_NEW_EMAC_TAH  #test only
22 23 24 25
	default n

config PPC_IBM_CELL_BLADE
	bool "IBM Cell Blade"
26
	depends on PPC64 && PPC_BOOK3S
27 28 29 30 31
	select PPC_CELL_NATIVE
	select MMIO_NVRAM
	select PPC_UDBG_16550
	select UDBG_RTAS_CONSOLE

32 33
config PPC_CELLEB
	bool "Toshiba's Cell Reference Set 'Celleb' Architecture"
34
	depends on PPC64 && PPC_BOOK3S
35 36 37 38 39 40
	select PPC_CELL_NATIVE
	select HAS_TXX9_SERIAL
	select PPC_UDBG_BEAT
	select USB_OHCI_BIG_ENDIAN_MMIO
	select USB_EHCI_BIG_ENDIAN_MMIO

41 42
config PPC_CELL_QPACE
	bool "IBM Cell - QPACE"
43
	depends on PPC64 && PPC_BOOK3S
44 45
	select PPC_CELL_COMMON

46 47 48 49 50
config AXON_MSI
	bool
	depends on PPC_IBM_CELL_BLADE && PCI_MSI
	default y

51 52 53 54 55 56 57
menu "Cell Broadband Engine options"
	depends on PPC_CELL

config SPU_FS
	tristate "SPU file system"
	default m
	depends on PPC_CELL
58
	select SPU_BASE
59
	select MEMORY_HOTPLUG
60 61 62 63 64
	help
	  The SPU file system is used to access Synergistic Processing
	  Units on machines implementing the Broadband Processor
	  Architecture.

65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
config SPU_FS_64K_LS
	bool "Use 64K pages to map SPE local  store"
	# we depend on PPC_MM_SLICES for now rather than selecting
	# it because we depend on hugetlbfs hooks being present. We
	# will fix that when the generic code has been improved to
	# not require hijacking hugetlbfs hooks.
	depends on SPU_FS && PPC_MM_SLICES && !PPC_64K_PAGES
	default y
	select PPC_HAS_HASH_64K
	help
	  This option causes SPE local stores to be mapped in process
	  address spaces using 64K pages while the rest of the kernel
	  uses 4K pages. This can improve performances of applications
	  using multiple SPEs by lowering the TLB pressure on them.

80 81 82 83 84 85 86
config SPU_TRACE
	tristate "SPU event tracing support"
	depends on SPU_FS && MARKERS
	help
	  This option allows reading a trace of spu-related events through
	  the sputrace file in procfs.

87 88 89 90
config SPU_BASE
	bool
	default n

91 92
config CBE_RAS
	bool "RAS features for bare metal Cell BE"
93
	depends on PPC_CELL_NATIVE
94 95
	default y

96 97 98 99 100 101 102 103
config PPC_IBM_CELL_RESETBUTTON
	bool "IBM Cell Blade Pinhole reset button"
	depends on CBE_RAS && PPC_IBM_CELL_BLADE
	default y
	help
	  Support Pinhole Resetbutton on IBM Cell blades.
	  This adds a method to trigger system reset via front panel pinhole button.

104 105
config PPC_IBM_CELL_POWERBUTTON
	tristate "IBM Cell Blade power button"
106
	depends on PPC_IBM_CELL_BLADE && INPUT_EVDEV
107 108 109 110 111
	default y
	help
	  Support Powerbutton on IBM Cell blades.
	  This will enable the powerbutton as an input device.

112 113 114
config CBE_THERM
	tristate "CBE thermal support"
	default m
115
	depends on CBE_RAS && SPU_BASE
116

117 118 119 120 121 122 123 124 125
config CBE_CPUFREQ
	tristate "CBE frequency scaling"
	depends on CBE_RAS && CPU_FREQ
	default m
	help
	  This adds the cpufreq driver for Cell BE processors.
	  For details, take a look at <file:Documentation/cpu-freq/>.
	  If you don't have such processor, say N

126 127 128
config CBE_CPUFREQ_PMI_ENABLE
	bool "CBE frequency scaling using PMI interface"
	depends on CBE_CPUFREQ && EXPERIMENTAL
129 130 131 132 133 134 135
	default n
	help
	  Select this, if you want to use the PMI interface
	  to switch frequencies. Using PMI, the
	  processor will not only be able to run at lower speed,
	  but also at lower core voltage.

136 137 138 139 140 141 142 143 144 145 146 147 148 149
config CBE_CPUFREQ_PMI
	tristate
	depends on CBE_CPUFREQ_PMI_ENABLE
	default CBE_CPUFREQ

config PPC_PMI
	tristate
	default y
	depends on CBE_CPUFREQ_PMI || PPC_IBM_CELL_POWERBUTTON
	help
	  PMI (Platform Management Interrupt) is a way to
	  communicate with the BMC (Baseboard Management Controller).
	  It is used in some IBM Cell blades.

150 151 152 153 154 155 156 157 158
config CBE_CPUFREQ_SPU_GOVERNOR
	tristate "CBE frequency scaling based on SPU usage"
	depends on SPU_FS && CPU_FREQ
	default m
	help
	  This governor checks for spu usage to adjust the cpu frequency.
	  If no spu is running on a given cpu, that cpu will be throttled to
	  the minimal possible frequency.

159
endmenu
160 161 162

config OPROFILE_CELL
	def_bool y
163
	depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
164