iommu/arm-smmu-qcom: Use a custom context fault handler for sdm845
authorGeorgi Djakov <quic_c_gdjako@quicinc.com>
Wed, 17 Apr 2024 13:37:28 +0000 (06:37 -0700)
committerWill Deacon <will@kernel.org>
Thu, 18 Apr 2024 14:48:01 +0000 (15:48 +0100)
commitd374555ef993433f4d2e08b700dbd27788427d61
treefe8cd678abbe080023ea66db69cb38cb2afddd50
parent960be6e10d4fcb18cfe863e0ceb3213a75eecb81
iommu/arm-smmu-qcom: Use a custom context fault handler for sdm845

The sdm845 platform now supports TBUs, so let's get additional debug
info from the TBUs when a context fault occurs. Implement a custom
context fault handler that does both software + hardware page table
walks and TLB Invalidate All.

Signed-off-by: Georgi Djakov <quic_c_gdjako@quicinc.com>
Link: https://lore.kernel.org/r/20240417133731.2055383-5-quic_c_gdjako@quicinc.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c