mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
iommupt: Fixup build warning by using BIT_ULL() for RISCVPT_NC/IO
Fix build warning on 32-bit configurations by using BIT_ULL() for
RISCVPT_NC and RISCVPT_IO.
Fixes: 6c21eb174c ("iommupt: Encode IOMMU_MMIO/IOMMU_CACHE via RISC-V Svpbmt bits")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605121350.wZxB51k0-lkp@intel.com/
Signed-off-by: Fangyu Yu <fangyu.yu@linux.alibaba.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
This commit is contained in:
parent
6c21eb174c
commit
e861aaea2f
|
|
@ -64,8 +64,8 @@ enum {
|
|||
RISCVPT_PPN64 = GENMASK_ULL(53, 10),
|
||||
RISCVPT_PPN64_64K = GENMASK_ULL(53, 14),
|
||||
RISCVPT_PBMT = GENMASK_ULL(62, 61),
|
||||
RISCVPT_NC = BIT(61),
|
||||
RISCVPT_IO = BIT(62),
|
||||
RISCVPT_NC = BIT_ULL(61),
|
||||
RISCVPT_IO = BIT_ULL(62),
|
||||
RISCVPT_N = BIT_ULL(63),
|
||||
|
||||
/* Svnapot encodings for ppn[0] */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user