Commit 1e40c2fa authored by Vincent Donnefort's avatar Vincent Donnefort Committed by Lee Jones
Browse files

ANDROID: iommu/arm-smmu-v3-kvm: Fix missing atomic_mc init



init_hyp_memcache() ensures kvm_hyp_memcache::mapping will stay
unallocated. This member is only useful for CPU stage-2 page-table
pages.

In the case where atomic_pages is 0, an uninitialized atomic_mc will
lead to HVC with broken arguments.

Bug: 357781595
Bug: 348382247
Change-Id: Icb9399a3db86a5412189acb78d91a1b64b988ae8
Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
parent 77c7b4b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment