summaryrefslogtreecommitdiff
path: root/drivers/iommu/virtio-iommu.c
diff options
context:
space:
mode:
authorWei Huang <wei.huang2@amd.com>2024-04-18 13:33:56 +0300
committerJoerg Roedel <jroedel@suse.de>2024-04-26 13:16:03 +0300
commit978d626b8f1a239acc635323d731c77eae54eb61 (patch)
tree77b3236a0d98b2ff5a49535609a1deeffe5944ce /drivers/iommu/virtio-iommu.c
parent405e2f122b83363f6793c5cb086cede536495b4f (diff)
downloadlinux-978d626b8f1a239acc635323d731c77eae54eb61.tar.xz
iommu/amd: Add IO page fault notifier handler
Whenever there is a page fault IOMMU logs entry to ppr log and sends interrupt to host. We have to handle the page fault and respond to IOMMU. Add support to validate page fault request and hook it to core iommu page fault handler. Signed-off-by: Wei Huang <wei.huang2@amd.com> Co-developed-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Co-developed-by: Vasant Hegde <vasant.hegde@amd.com> Signed-off-by: Vasant Hegde <vasant.hegde@amd.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20240418103400.6229-12-vasant.hegde@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/virtio-iommu.c')
0 files changed, 0 insertions, 0 deletions