All of lore.kernel.org
 help / color / mirror / Atom feed
* [jfern:nova/mm 19/27] Diff in drivers/gpu/nova-core/mm/vmm.rs:94:
@ 2026-03-08 19:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-03-08 19:59 UTC (permalink / raw)
  To: Joel Fernandes; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git nova/mm
head:   f93bd1f081990c55183e8e7d0bcf33b6c895720d
commit: 221e304650dc9024261cc95f8e4e39c478ac7069 [19/27] gpu: nova-core: mm: Add virtual address range tracking to VMM
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260308/202603082002.IiRIOLzw-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260308/202603082002.IiRIOLzw-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603082002.IiRIOLzw-lkp@intel.com/

All errors (new ones prefixed by >>):

   PATH=/opt/cross/clang-20/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
   INFO PATH=/opt/cross/rustc-1.88.0-bindgen-0.72.1/cargo/bin:/opt/cross/clang-20/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
   /usr/bin/timeout -k 100 12h /usr/bin/make KCFLAGS=\ -fno-crash-diagnostics\ -Wno-error=return-type\ -Wreturn-type\ -funsigned-char\ -Wundef\ -falign-functions=64 W=1 --keep-going LLVM=1 -j32 -C source O=/kbuild/obj/consumer/x86_64-rhel-9.4-rust ARCH=x86_64 SHELL=/bin/bash rustfmtcheck 
   make: Entering directory '/kbuild/src/consumer'
   make[1]: Entering directory '/kbuild/obj/consumer/x86_64-rhel-9.4-rust'
>> Diff in drivers/gpu/nova-core/mm/vmm.rs:94:
            num_pages: usize,
            va_range: Option<Range<u64>>,
        ) -> Result<(Vfn, Pin<KBox<AllocatedBlocks>>)> {
   -        let size = num_pages
   -            .checked_mul(PAGE_SIZE)
   -            .ok_or(EOVERFLOW)?;
   +        let size = num_pages.checked_mul(PAGE_SIZE).ok_or(EOVERFLOW)?;
    
            let mode = match va_range {
                Some(r) => {
   Diff in drivers/gpu/nova-core/mm/pagetable.rs:132:
                Self::V2 => match level {
                    // TODO: Calculate these values from the bitfield dynamically
                    // instead of hardcoding them.
   -                PageTableLevel::Pdb => 4,   // PD3 root: bits [48:47] = 2 bits
   -                PageTableLevel::L3 => 256,  // PD0 dual: bits [28:21] = 8 bits
   -                _ => 512,                   // PD2, PD1, PT: 9 bits each
   +                PageTableLevel::Pdb => 4, // PD3 root: bits [48:47] = 2 bits
   +                PageTableLevel::L3 => 256, // PD0 dual: bits [28:21] = 8 bits
   +                _ => 512,                 // PD2, PD1, PT: 9 bits each
                },
                Self::V3 => PAGE_SIZE / self.entry_size(level),
            }
   Diff in drivers/gpu/nova-core/mm/pagetable.rs:132:
                Self::V2 => match level {
                    // TODO: Calculate these values from the bitfield dynamically
                    // instead of hardcoding them.
   -                PageTableLevel::Pdb => 4,   // PD3 root: bits [48:47] = 2 bits
   -                PageTableLevel::L3 => 256,  // PD0 dual: bits [28:21] = 8 bits
   -                _ => 512,                   // PD2, PD1, PT: 9 bits each
   +                PageTableLevel::Pdb => 4, // PD3 root: bits [48:47] = 2 bits
   +                PageTableLevel::L3 => 256, // PD0 dual: bits [28:21] = 8 bits
   +                _ => 512,                 // PD2, PD1, PT: 9 bits each
                },
                Self::V3 => PAGE_SIZE / self.entry_size(level),
            }
>> Diff in drivers/gpu/nova-core/mm/vmm.rs:94:
            num_pages: usize,
            va_range: Option<Range<u64>>,
        ) -> Result<(Vfn, Pin<KBox<AllocatedBlocks>>)> {
   -        let size = num_pages
   -            .checked_mul(PAGE_SIZE)
   -            .ok_or(EOVERFLOW)?;
   +        let size = num_pages.checked_mul(PAGE_SIZE).ok_or(EOVERFLOW)?;
    
            let mode = match va_range {
                Some(r) => {
   Diff in drivers/gpu/nova-core/mm/pagetable.rs:132:
                Self::V2 => match level {
                    // TODO: Calculate these values from the bitfield dynamically
                    // instead of hardcoding them.
   -                PageTableLevel::Pdb => 4,   // PD3 root: bits [48:47] = 2 bits
   -                PageTableLevel::L3 => 256,  // PD0 dual: bits [28:21] = 8 bits
   -                _ => 512,                   // PD2, PD1, PT: 9 bits each
   +                PageTableLevel::Pdb => 4, // PD3 root: bits [48:47] = 2 bits
   +                PageTableLevel::L3 => 256, // PD0 dual: bits [28:21] = 8 bits
   +                _ => 512,                 // PD2, PD1, PT: 9 bits each
                },
                Self::V3 => PAGE_SIZE / self.entry_size(level),
            }
>> Diff in drivers/gpu/nova-core/mm/vmm.rs:94:
            num_pages: usize,
            va_range: Option<Range<u64>>,
        ) -> Result<(Vfn, Pin<KBox<AllocatedBlocks>>)> {
   -        let size = num_pages
   -            .checked_mul(PAGE_SIZE)
   -            .ok_or(EOVERFLOW)?;
   +        let size = num_pages.checked_mul(PAGE_SIZE).ok_or(EOVERFLOW)?;
    
            let mode = match va_range {
                Some(r) => {
   make[2]: *** [Makefile:1912: rustfmt] Error 123
   make[2]: Target 'rustfmtcheck' not remade because of errors.
   make[1]: Leaving directory '/kbuild/obj/consumer/x86_64-rhel-9.4-rust'
   make[1]: *** [Makefile:248: __sub-make] Error 2
   make[1]: Target 'rustfmtcheck' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2
   make: Target 'rustfmtcheck' not remade because of errors.
   make: Leaving directory '/kbuild/src/consumer'

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-08 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-08 19:59 [jfern:nova/mm 19/27] Diff in drivers/gpu/nova-core/mm/vmm.rs:94: kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.