Re: [RFC PATCH 02/11] iommu/riscv: report iommu capabilities
From: Jason Gunthorpe
Date: Tue Apr 28 2026 - 09:44:44 EST
On Tue, Apr 28, 2026 at 09:13:50PM +0800, fangyu.yu@xxxxxxxxxxxxxxxxx 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