[RFC PATCH 02/11] iommu/riscv: report iommu capabilities

Jason Gunthorpe jgg at ziepe.ca
Tue Apr 28 06:33:24 PDT 2026


On Tue, Apr 28, 2026 at 09:13:50PM +0800, fangyu.yu at linux.alibaba.com wrote:

> +static bool riscv_iommu_capable(struct device *dev, enum iommu_cap cap)
> +{
> +	switch (cap) {
> +	case IOMMU_CAP_CACHE_COHERENCY:
> +	case IOMMU_CAP_DEFERRED_FLUSH:

IOMMU_CAP_DEFERRED_FLUSH is not needed in v7.1

Jason



More information about the linux-riscv mailing list