[PATCH v1 1/3] iommu/riscv: Add iommu perf driver
Will Deacon
will at kernel.org
Wed Sep 17 05:10:47 PDT 2025
[nit: your email client has made a big mess of the thread here]
On Tue, Sep 16, 2025 at 06:27:23PM +0800, guoyaxing at bosc.ac.cn wrote:
> > PMU drivers are better placed under drivers/perf/
>
> I did a quick reading of SMMU pmu driver in drivers/perf/. However, If
> the RISC-V IOMMU PMU driver is placed under drivers/perf/ as the SMMU did,
> it would cause an overlap in the iomem resource region between the two
> devices(iommu & iommu pmu), because it needs to share interrupt-related
> registers (such as the IPSR register) with the main IOMMU driver.
Is that not something you can resolve with IRQF_SHARED?
Will
More information about the linux-riscv
mailing list