Re: [PATCH v10 5/5] iommu/arm-smmu: Add global/context fault implementation hooks

From: Will Deacon
Date: Mon Jul 13 2020 - 09:44:59 EST


On Tue, Jul 07, 2020 at 10:00:17PM -0700, Krishna Reddy wrote:
> Add global/context fault hooks to allow vendor specific implementations
> override default fault interrupt handlers.
>
> Update NVIDIA implementation to override the default global/context fault
> interrupt handlers and handle interrupts across the two ARM MMU-500s that
> are programmed identically.
>
> Signed-off-by: Krishna Reddy <vdumpa@xxxxxxxxxx>
> ---
> drivers/iommu/arm-smmu-nvidia.c | 99 +++++++++++++++++++++++++++++++++
> drivers/iommu/arm-smmu.c | 17 +++++-
> drivers/iommu/arm-smmu.h | 3 +
> 3 files changed, 117 insertions(+), 2 deletions(-)

Given that faults shouldn't occur during normal operation, is this patch
actually necessary?

Will