ANDROID: drivers/arm-smmu-v3-kvm: Ensure domain_id is in range
domain_id is re-used by the SMMU driver as the ASID/VMID for the
current domain as it is guaranteed to be unique and is 16 bits.
However, some SMMUs have 8-bits ASID/VMID, so ensure at domain
id allocation that it is valid and fail eagerly if not.
Bug: 277989609
Bug: 278749606
Change-Id: I33bbaefdaef59957cd1d309b8fbca7f4f868e364
Signed-off-by:
Mostafa Saleh <smostafa@google.com>
Loading
Please sign in to comment