[PATCH v8 3/7] iommu: Add verisilicon IOMMU driver
Will Deacon
will at kernel.org
Tue Sep 9 06:12:03 PDT 2025
On Wed, Aug 27, 2025 at 11:07:59AM +0200, Benjamin Gaignard wrote:
> The Verisilicon IOMMU hardware block can be found in combination
> with Verisilicon hardware video codecs (encoders or decoders) on
> different SoCs.
> Enable it will allow us to use non contiguous memory allocators
> for Verisilicon video codecs.
>
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard at collabora.com>
> ---
> changes in version 8:
> - Add API to restore VSI iommu context from decoder driver
> - Fix reported checkpatch issues: add comment in pinlock_t declaration
> and remove blank line.
>
> drivers/iommu/Kconfig | 11 +
> drivers/iommu/Makefile | 1 +
> drivers/iommu/vsi-iommu.c | 810 ++++++++++++++++++++++++++++++++++++++
> include/linux/vsi-iommu.h | 21 +
> 4 files changed, 843 insertions(+)
> create mode 100644 drivers/iommu/vsi-iommu.c
> create mode 100644 include/linux/vsi-iommu.h
I still object to the duplication with the rockchip driver:
https://lore.kernel.org/all/aH5yR9CkYSJ4PaZV@willie-the-truck/
at least drop me from cc if you're going to ignore my comments, please.
Will
More information about the linux-arm-kernel
mailing list