Skip to content
Commit 3b001c1f authored by Leo Yan's avatar Leo Yan
Browse files

iommu/arm-smmu-v3-kvm: Respect the 'disabled' status in device node



If the SMMU device node is in a 'disabled' status, the current code does
not ignore the SMMU device, and consequently, it will lead to a pKVM
hypervisor initialization failure.

This patch checks the device node status and filters out any disabled
SMMU devices. Finally, the 'disabled' SMMU device will not be accounted
and avoid the initialization failure.

Signed-off-by: Leo Yan's avatarLeo Yan <leo.yan@arm.com>
parent 3ae81165
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment