Re: [RFC PATCH 07/12] iommufd: Add RISC-V IOMMU hardware info type
From: Gong Shuai
Date: Fri Oct 16 2026 - 03:45:16 EST
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