Commit 6380be05 authored by Prem Mallappa's avatar Prem Mallappa Committed by Will Deacon
Browse files

iommu/arm-smmu: Use STE.S1STALLD only when supported



It is ILLEGAL to set STE.S1STALLD to 1 if stage 1 is enabled and
either the stall or terminate models are not supported.

This patch fixes the STALLD check and ensures that we don't set STALLD
in the STE when it is not supported.

Signed-off-by: default avatarPrem Mallappa <pmallapp@broadcom.com>
[will: consistently use IDR0_STALL_MODEL_* prefix]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 324ba108
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment