e77f71c634
[ Upstream commit b648a5132ca3237a0f1ce5d871fff342b0efcf8a ] The kernel test robot pointed out a slightly different error message after recent commit 5456ffdee666 ("powerpc/spufs: simplify spufs core dumping") to spufs for a configuration that never worked: powerpc64-linux-ld: arch/powerpc/platforms/cell/spufs/file.o: in function `.spufs_proxydma_info_dump': >> file.c:(.text+0x4c68): undefined reference to `.dump_emit' powerpc64-linux-ld: arch/powerpc/platforms/cell/spufs/file.o: in function `.spufs_dma_info_dump': file.c:(.text+0x4d70): undefined reference to `.dump_emit' powerpc64-linux-ld: arch/powerpc/platforms/cell/spufs/file.o: in function `.spufs_wbox_info_dump': file.c:(.text+0x4df4): undefined reference to `.dump_emit' Add a Kconfig dependency to prevent this from happening again. Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200706132302.3885935-1-arnd@arndb.de Signed-off-by: Sasha Levin <sashal@kernel.org>
108 lines
2.5 KiB
Plaintext
108 lines
2.5 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
config PPC_CELL
|
|
bool
|
|
|
|
config PPC_CELL_COMMON
|
|
bool
|
|
select PPC_CELL
|
|
select PPC_DCR_MMIO
|
|
select PPC_INDIRECT_PIO
|
|
select PPC_INDIRECT_MMIO
|
|
select PPC_NATIVE
|
|
select PPC_RTAS
|
|
select IRQ_EDGE_EOI_HANDLER
|
|
|
|
config PPC_CELL_NATIVE
|
|
bool
|
|
select PPC_CELL_COMMON
|
|
select MPIC
|
|
select PPC_IO_WORKAROUNDS
|
|
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
|
|
|
|
config PPC_IBM_CELL_BLADE
|
|
bool "IBM Cell Blade"
|
|
depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN
|
|
select PPC_CELL_NATIVE
|
|
select PPC_OF_PLATFORM_PCI
|
|
select FORCE_PCI
|
|
select MMIO_NVRAM
|
|
select PPC_UDBG_16550
|
|
select UDBG_RTAS_CONSOLE
|
|
|
|
config AXON_MSI
|
|
bool
|
|
depends on PPC_IBM_CELL_BLADE && PCI_MSI
|
|
default y
|
|
|
|
menu "Cell Broadband Engine options"
|
|
depends on PPC_CELL
|
|
|
|
config SPU_FS
|
|
tristate "SPU file system"
|
|
default m
|
|
depends on PPC_CELL
|
|
depends on COREDUMP
|
|
select SPU_BASE
|
|
help
|
|
The SPU file system is used to access Synergistic Processing
|
|
Units on machines implementing the Broadband Processor
|
|
Architecture.
|
|
|
|
config SPU_BASE
|
|
bool
|
|
select PPC_COPRO_BASE
|
|
|
|
config CBE_RAS
|
|
bool "RAS features for bare metal Cell BE"
|
|
depends on PPC_CELL_NATIVE
|
|
default y
|
|
|
|
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.
|
|
|
|
config PPC_IBM_CELL_POWERBUTTON
|
|
tristate "IBM Cell Blade power button"
|
|
depends on PPC_IBM_CELL_BLADE && INPUT_EVDEV
|
|
default y
|
|
help
|
|
Support Powerbutton on IBM Cell blades.
|
|
This will enable the powerbutton as an input device.
|
|
|
|
config CBE_THERM
|
|
tristate "CBE thermal support"
|
|
default m
|
|
depends on CBE_RAS && SPU_BASE
|
|
|
|
config PPC_PMI
|
|
tristate
|
|
default y
|
|
depends on CPU_FREQ_CBE_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.
|
|
|
|
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.
|
|
|
|
endmenu
|
|
|
|
config OPROFILE_CELL
|
|
def_bool y
|
|
depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
|
|
|