aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-mpc5200.c
diff options
context:
space:
mode:
authorJack Thomson <[email protected]>2025-07-21 13:05:58 +0000
committerWill Deacon <[email protected]>2025-07-21 17:18:51 +0000
commitab16122115327b2a602595f539cae7e39a331d0e (patch)
tree691da09d92a35ba496d883f8e6b67263c8a81c08 /drivers/gpio/gpio-mpc5200.c
parentarm64/mm: Drop wrong writes into TCR2_EL1 (diff)
downloadkernel-ab16122115327b2a602595f539cae7e39a331d0e.tar.gz
kernel-ab16122115327b2a602595f539cae7e39a331d0e.zip
arm64: kvm, smccc: Fix vendor uuid
Commit 13423063c7cb ("arm64: kvm, smccc: Introduce and use API for getting hypervisor UUID") replaced the explicit register constants with the UUID_INIT macro. However, there is an endian issue, meaning the UUID generated and used in the handshake didn't match UUID prior to the commit. The change in UUID causes the SMCCC vendor handshake to fail with older guest kernels, meaning devices such as PTP were not available in the guest. This patch updates the parameters to the macro to generate a UUID which matches the previous value, and re-establish backwards compatibility with older guest kernels. Fixes: 13423063c7cb ("arm64: kvm, smccc: Introduce and use API for getting hypervisor UUID") Signed-off-by: Jack Thomson <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Tested-by: Marc Zyngier <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-mpc5200.c')
0 files changed, 0 insertions, 0 deletions