
On 11/28/2016 06:06 PM, Hongbo Zhang wrote:
Hi York, This generic PSCI is controlled by CONFIG_ARMV8_PSCI, if enabled, any platform can implement their own PSCI functions under this framework, this is all similar with ARMv7's.
While PPA is controlled by CONFIG_FSL_LS_PPA, and the private PSCI inside the PPA is controlled by FSL_PPA_ARMV8_PSCI, this macro depends on and selected by CONFIG_FSL_LS_PPA.
That is to say, they are using separate configs, and only one of them can be enabled at one time.
That's what I am looking for. So these two options are mutually exclusive. But you don't have that in Kconfig. I can run menuconfig and get this result in .config file
# # Layerscape PPA # CONFIG_FSL_LS_PPA=y CONFIG_FSL_PPA_ARMV8_PSCI=y CONFIG_SYS_FSL_ERRATUM_A010539=y CONFIG_ARMV8_MULTIENTRY=y # CONFIG_ARMV8_SPIN_TABLE is not set CONFIG_ARMV8_PSCI=y CONFIG_ARMV8_PSCI_NR_CPUS=4 CONFIG_ARMV8_PSCI_CPUS_PER_CLUSTER=0 CONFIG_IDENT_STRING="" # CONFIG_PRE_CONSOLE_BUFFER is not set # CONFIG_VIDEO is not set
You can see both options can be enabled from menuconfig. Please see comments in other patches as well.
York