Kconfig 2.5 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2 3 4
config PPC_CELL
	bool

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

config PPC_CELL_NATIVE
	bool
	select PPC_CELL_COMMON
18
	select MPIC
19
	select PPC_IO_WORKAROUNDS
20 21 22 23
	select IBM_EMAC_EMAC4 if IBM_EMAC
	select IBM_EMAC_RGMII if IBM_EMAC
	select IBM_EMAC_ZMII if IBM_EMAC #test only
	select IBM_EMAC_TAH if IBM_EMAC  #test only
24 25 26

config PPC_IBM_CELL_BLADE
	bool "IBM Cell Blade"
27
	depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
28
	select PPC_CELL_NATIVE
29 30
	select PPC_OF_PLATFORM_PCI
	select PCI
31 32 33 34
	select MMIO_NVRAM
	select PPC_UDBG_16550
	select UDBG_RTAS_CONSOLE

35 36 37 38 39
config AXON_MSI
	bool
	depends on PPC_IBM_CELL_BLADE && PCI_MSI
	default y

40 41 42 43 44 45 46
menu "Cell Broadband Engine options"
	depends on PPC_CELL

config SPU_FS
	tristate "SPU file system"
	default m
	depends on PPC_CELL
47
	select SPU_BASE
48 49 50 51 52
	help
	  The SPU file system is used to access Synergistic Processing
	  Units on machines implementing the Broadband Processor
	  Architecture.

53 54
config SPU_BASE
	bool
55
	select PPC_COPRO_BASE
56

57 58
config CBE_RAS
	bool "RAS features for bare metal Cell BE"
59
	depends on PPC_CELL_NATIVE
60 61
	default y

62 63 64 65 66 67 68 69
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.

70 71
config PPC_IBM_CELL_POWERBUTTON
	tristate "IBM Cell Blade power button"
72
	depends on PPC_IBM_CELL_BLADE && INPUT_EVDEV
73 74 75 76 77
	default y
	help
	  Support Powerbutton on IBM Cell blades.
	  This will enable the powerbutton as an input device.

78 79 80
config CBE_THERM
	tristate "CBE thermal support"
	default m
81
	depends on CBE_RAS && SPU_BASE
82

83 84 85
config PPC_PMI
	tristate
	default y
86
	depends on CPU_FREQ_CBE_PMI || PPC_IBM_CELL_POWERBUTTON
87 88 89 90 91
	help
	  PMI (Platform Management Interrupt) is a way to
	  communicate with the BMC (Baseboard Management Controller).
	  It is used in some IBM Cell blades.

92 93 94 95 96 97 98 99 100
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.

101
endmenu
102 103 104

config OPROFILE_CELL
	def_bool y
105
	depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
106