mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
Revert "ANDROID: KVM: arm64: iommu: Fix upper bound of PT walk"
This reverts commit 58f8121600.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: Ib31b14b0c49a427c78a0f316b86eab46771d31d2
This commit is contained in:
@@ -174,13 +174,12 @@ static bool is_mmio_range(phys_addr_t base, size_t size)
|
||||
return true;
|
||||
}
|
||||
|
||||
static int __snapshot_host_stage2(u64 start, u64 pa_max, u32 level,
|
||||
static int __snapshot_host_stage2(u64 start, u64 end, u32 level,
|
||||
kvm_pte_t *ptep,
|
||||
enum kvm_pgtable_walk_flags flags,
|
||||
void * const arg)
|
||||
{
|
||||
struct pkvm_iommu_driver * const drv = arg;
|
||||
u64 end = start + kvm_granule_size(level);
|
||||
enum kvm_pgtable_prot prot;
|
||||
kvm_pte_t pte = *ptep;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user