Commit 4af7989b authored by Vincent Donnefort's avatar Vincent Donnefort
Browse files

ANDROID: KVM: arm64: Fix pKVM psci_mem_protect account



When bringing pkvm_checked_mem_transition, the number of pages were
foolishly multiplied by the PAGE_SIZE. This lead to an incorrect number
of pages and by extension leaving the PSCI memory protection against
warm reset on.

Bug: 278749606
Bug: 243642516
Reported-by: default avatarWill Deacon <willdeacon@google.com>
Change-Id: Id351d0e9d7818b2c6431e5e1b4464f6dc201cc7f
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
(cherry picked from commit 48283097)
parent 1bc76ef7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment