Thread (9 messages) 9 messages, 2 authors, 2025-09-09

Re: [PATCH v8 3/7] iommu: Add verisilicon IOMMU driver

From: Will Deacon <will@kernel.org>
Date: 2025-09-09 13:12:10
Also in: linux-devicetree, linux-iommu, linux-media, linux-rockchip, lkml

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@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/ (local)

at least drop me from cc if you're going to ignore my comments, please.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help