[PATCH 8/8] iommu/qcom: Document why sec_ptbl allocated flag needs no locking
Konrad Dybcio
konrad.dybcio at oss.qualcomm.com
Tue Jun 23 09:41:38 PDT 2026
On 6/23/26 2:20 PM, Mukesh Ojha wrote:
> qcom_iommu_sec_ptbl_init() uses a function-static bool to track whether
> the secure page table has been initialized, with no locking around it.
>
> Only one IOMMU device per SoC has secure context banks (the others have
> only non-secure context banks), and platform devices probe serially since
> the driver does not set PROBE_PREFER_ASYNCHRONOUS. Concurrent calls to
This may be influenced by cmdline, so I'd rather not take it for granted
although I'm not sure how this plays out with the context bank device
always being a child of the IOMMU
Konrad
More information about the linux-arm-kernel
mailing list