Commit 396901e4 authored by Mostafa Saleh's avatar Mostafa Saleh Committed by Will Deacon
Browse files

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: default avatarMostafa Saleh <smostafa@google.com>
parent b7d3ae5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment