mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 17:16:41 +07:00
d41418c0c0
Add the required code to properly handle race free platform coherency exit to the DCSCB power down method. The power_up_setup callback is used to enable the CCI interface for the cluster being brought up. This must be done in assembly before the kernel environment is entered. Thanks to Achin Gupta and Nicolas Pitre for their help and contributions. Signed-off-by: Dave Martin <dave.martin@linaro.org> Signed-off-by: Nicolas Pitre <nico@linaro.org> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Pawel Moll <pawel.moll@arm.com>
70 lines
2.1 KiB
Plaintext
70 lines
2.1 KiB
Plaintext
config ARCH_VEXPRESS
|
|
bool "ARM Ltd. Versatile Express family" if ARCH_MULTI_V7
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select ARM_AMBA
|
|
select ARM_GIC
|
|
select ARM_TIMER_SP804
|
|
select CLKDEV_LOOKUP
|
|
select COMMON_CLK
|
|
select COMMON_CLK_VERSATILE
|
|
select CPU_V7
|
|
select GENERIC_CLOCKEVENTS
|
|
select HAVE_ARM_SCU if SMP
|
|
select HAVE_ARM_TWD if LOCAL_TIMERS
|
|
select HAVE_CLK
|
|
select HAVE_PATA_PLATFORM
|
|
select HAVE_SMP
|
|
select ICST
|
|
select MIGHT_HAVE_CACHE_L2X0
|
|
select NO_IOPORT
|
|
select PLAT_VERSATILE
|
|
select PLAT_VERSATILE_CLCD
|
|
select POWER_RESET
|
|
select POWER_RESET_VEXPRESS
|
|
select POWER_SUPPLY
|
|
select REGULATOR_FIXED_VOLTAGE if REGULATOR
|
|
select VEXPRESS_CONFIG
|
|
help
|
|
This option enables support for systems using Cortex processor based
|
|
ARM core and logic (FPGA) tiles on the Versatile Express motherboard,
|
|
for example:
|
|
|
|
- CoreTile Express A5x2 (V2P-CA5s)
|
|
- CoreTile Express A9x4 (V2P-CA9)
|
|
- CoreTile Express A15x2 (V2P-CA15)
|
|
- LogicTile Express 13MG (V2F-2XV6) with A5, A7, A9 or A15 SMMs
|
|
(Soft Macrocell Models)
|
|
- Versatile Express RTSMs (Models)
|
|
|
|
You must boot using a Flattened Device Tree in order to use these
|
|
platforms. The traditional (ATAGs) boot method is not usable on
|
|
these boards with this option.
|
|
|
|
menu "Versatile Express platform type"
|
|
depends on ARCH_VEXPRESS
|
|
|
|
config ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA
|
|
bool "Enable A5 and A9 only errata work-arounds"
|
|
default y
|
|
select ARM_ERRATA_720789
|
|
select PL310_ERRATA_753970 if CACHE_PL310
|
|
help
|
|
Provides common dependencies for Versatile Express platforms
|
|
based on Cortex-A5 and Cortex-A9 processors. In order to
|
|
build a working kernel, you must also enable relevant core
|
|
tile support or Flattened Device Tree based support options.
|
|
|
|
config ARCH_VEXPRESS_CA9X4
|
|
bool "Versatile Express Cortex-A9x4 tile"
|
|
|
|
config ARCH_VEXPRESS_DCSCB
|
|
bool "Dual Cluster System Control Block (DCSCB) support"
|
|
depends on MCPM
|
|
select ARM_CCI
|
|
help
|
|
Support for the Dual Cluster System Configuration Block (DCSCB).
|
|
This is needed to provide CPU and cluster power management
|
|
on RTSM implementing big.LITTLE.
|
|
|
|
endmenu
|