[PATCH] iommupt: Fixup build warning by using BIT_ULL() for RISCVPT_NC/IO
Jason Gunthorpe
jgg at ziepe.ca
Tue May 12 08:12:17 PDT 2026
On Tue, May 12, 2026 at 10:43:30PM +0800, fangyu.yu at linux.alibaba.com wrote:
> From: Fangyu Yu <fangyu.yu at linux.alibaba.com>
>
> Fix build warning on 32-bit configurations by using BIT_ULL() for
> RISCVPT_NC and RISCVPT_IO.
>
> Fixes: 6c21eb174c6c ("iommupt: Encode IOMMU_MMIO/IOMMU_CACHE via RISC-V Svpbmt bits")
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202605121350.wZxB51k0-lkp@intel.com/
> Signed-off-by: Fangyu Yu <fangyu.yu at linux.alibaba.com>
> ---
> drivers/iommu/generic_pt/fmt/riscv.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the linux-riscv
mailing list