[RFC PATCH 07/12] iommufd: Add RISC-V IOMMU hardware info type

Gong Shuai gong.shuai at sanechips.com.cn
Fri Oct 16 00:43:27 PDT 2026


Hi Jason,

> > +/**
> > + * struct iommu_hw_info_riscv - RISC-V IOMMU device info
> > + * @capabilities: Value of RISC-V IOMMU Capabilities register
> > + */
> > +struct iommu_hw_info_riscv {
> > +	__u64 capabilities;
> > +};
> > +
>
> Same here, spec reference.
>
> Also be careful to always use __aligned_u64, check all the patches.

Will add the spec reference ("IOMMU capabilities (capabilities)") and
switch to __aligned_u64. I checked the uAPI structures touched by this
series, and this is the only place that used __u64.

Thanks,
Shuai

>
> JAson



More information about the linux-riscv mailing list