Commit fe3157f3 authored by Will Deacon's avatar Will Deacon Committed by Quentin Perret
Browse files

ANDROID: KVM: arm64: Use 32-bit function ID for PSCI MEM_PROTECT call



The PSCI specification defines only a 32-bit function ID for the
MEM_PROTECT call used to protect against cold reboot attacks.

Fix the pKVM hypervisor invocation of MEM_PROTECT to use the 32-bit
function ID instead of the unallocated 64-bit flavour.

[ qperret: dropped the change to include/uapi/linux/psci.h as the 32 bit
  variant of the call have been introduced upstream by 3137f2e6
  ("firmware/psci: Add debugfs support to ease debugging") ]

Bug: 260316363
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Change-Id: I675a57419064f7f006960ca5370e9dc2d5279a90
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
parent 8260bd35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment