Commit 71516273 authored by Mostafa Saleh's avatar Mostafa Saleh
Browse files

ANDROID: arm64: KVM: iommu: Fix range check for MMIO



Currently, we check the state of MMIO as a range; if tainted, it's
allowed, and udpdate is skipped. Otherwise, it's updated to be
tainted.
However, there is no requirement that a group pages might not be a
mix of both, so this check/update must be done on per page basis.

Bug: 357781595
Bug: 384432312
Reported-by: default avatarDaniel Mentz <danielmentz@google.com>
Change-Id: I079ffbf6734b20e97a0ea4c41f785aa9ad317c3e
Signed-off-by: default avatarMostafa Saleh <smostafa@google.com>
parent 413ed6ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment