mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
Revert "ANDROID: KVM: arm64: s2mpu: Allow L1ENTRY_* r/o access"
This reverts commit fdfed49bf7.
Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: I8558f5d4c197f1f52104e44b8b78f316a61db137
This commit is contained in:
@@ -402,11 +402,6 @@ static u32 host_mmio_reg_access_mask(size_t off, bool is_write)
|
||||
return read_only & ALL_VIDS_BITMAP;
|
||||
}
|
||||
|
||||
/* Allow reading L1ENTRY registers for debugging. */
|
||||
if (off >= REG_NS_L1ENTRY_L2TABLE_ADDR(0, 0) &&
|
||||
off < REG_NS_L1ENTRY_ATTR(NR_VIDS, 0))
|
||||
return read_only;
|
||||
|
||||
/* Allow EL1 IRQ handler to read fault information. */
|
||||
masked_off = off & ~REG_NS_FAULT_VID_MASK;
|
||||
if ((masked_off == REG_NS_FAULT_PA_LOW(0)) ||
|
||||
|
||||
Reference in New Issue
Block a user