Thread (14 messages) 14 messages, 3 authors, 2021-05-21

Re: [PATCH v5 3/4] iommu: rockchip: Add internal ops to handle variants

From: Heiko Stübner <heiko@sntech.de>
Date: 2021-05-21 09:16:43
Also in: linux-devicetree, linux-iommu, linux-rockchip, lkml

Am Freitag, 21. Mai 2021, 10:36:36 CEST schrieb Benjamin Gaignard:
Add internal ops to be able to handle incoming variant v2.
The goal is to keep the overall structure of the framework but
to allow to add the evolution of this hardware block.

The ops are global for a SoC because iommu domains are not
attached to a specific devices if they are for a virtuel device like
drm. Use a global variable shouldn't be since SoC usually doesn't
embedded different versions of the iommu hardware block.
If that happen one day a WARN_ON will be displayed at probe time.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>




_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help