Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e49e9c98 authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan Committed by Prakash Gupta
Browse files

iommu: arm-smmu: Fail device attach when SMR write fails



On systems with Hypervisor support, writes to SMR registers
are trapped by Hypervisor where the value is vetted and gets
written to the SMR register only if valid. If such SMR writes
fails, the SID value doesn't get populated to the stream mapping
table, and any device transaction would lead to USF which would
crash the system. Hence, to avoid any USF fault, fail the device
attach sequence.

Change-Id: I1435c7aa8290d7c2916cc86cc30cfa1cefae3910
Signed-off-by: default avatarSudarshan Rajagopalan <sudaraja@codeaurora.org>
Signed-off-by: default avatarPrakash Gupta <guptap@codeaurora.org>
parent 4cf5de75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment