[PATCHv3 00/12] arm/arm64: Unify PSCI client support

Hanjun Guo hanjun.guo at linaro.org
Wed May 27 01:08:59 PDT 2015


On 2015年05月26日 21:52, Mark Rutland wrote:
> This series unifies the 32-bit and 64-bit PSCI client code, moving the bulk of
> the FW invocation and probing out to a common location in drivers/firmware.
> As part of this, the remaining edge cases for PSCI 0.2 (Trusted OSs rejecting
> CPU_OFF) are accounted for, making both 32-bit adn 64-bit clients more robust.
>
> This results in a reasonable saving in terms of lines of code, and will allow
> for PSCI 1.0 support to be unified form the beginning, avoiding further
> duplication.
>
> The series is based on the arm64 for-next/cpu-init branch [3] due to conflicts
> with that series.
>
> Since v1 [1]:
> * Fix build when PSCI isn't selected
> * Don't indirect migrate_info_up_cpu
> * Fix ver to u32 in psci_get_version
>
> Since v2: [2]:
> * Rebase atop of Lorenzo's cpu init cleanup series [3]
> * Use the correct native function IDs
> * Fix cpu_disable return values
> * Report invalid MIGRATE_INFO_UP_CPU return values
>
> Many thanks to those who have reviewed and tested so far! Unfortunately, due to
> the volume of changes in the rebase I've dropped all Tested-by tags. I've
> locally tested 32-bit and 64-bit kernels with DT.

I tested this patch set on ARM64 kernel with ACPI as I did in previous
version, compile this patch set ok with CONFIG_ACPI=y/n, and CPU
hotplug works with PSCI (CPU_ON/OFF),

Tested-by: Hanjun Guo <hanjun.guo at linaro.org>

Thanks
Hanjun



More information about the linux-arm-kernel mailing list