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:Sudarshan Rajagopalan <sudaraja@codeaurora.org> Signed-off-by:
Prakash Gupta <guptap@codeaurora.org>
Loading
Please register or sign in to comment