[PATCH v3 03/19] KVM: arm64: Reject invalid addresses for CPU_ON PSCI call

Reiji Watanabe reijiw at google.com
Wed Feb 23 22:55:12 PST 2022


On Tue, Feb 22, 2022 at 8:19 PM Oliver Upton <oupton at google.com> wrote:
>
> DEN0022D.b 5.6.2 "Caller responsibilities" states that a PSCI
> implementation may return INVALID_ADDRESS for the CPU_ON call if the
> provided entry address is known to be invalid. There is an additional
> caveat to this rule. Prior to PSCI v1.0, the INVALID_PARAMETERS error
> is returned instead. Check the guest's PSCI version and return the
> appropriate error if the IPA is invalid.
>
> Reported-by: Reiji Watanabe <reijiw at google.com>
> Signed-off-by: Oliver Upton <oupton at google.com>

Reviewed-by: Reiji Watanabe <reijiw at google.com>



More information about the kvm-riscv mailing list