All of lore.kernel.org
 help / color / mirror / Atom feed
* [jfern:nova/mm 26/31] Diff in drivers/gpu/nova-core/gpu.rs:330:
@ 2026-02-18 22:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-18 22:58 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:   26f0eeaf8779ffc8b97f03f9aa9d84df9db3bcb4
commit: 8eb9a63f7a618fcf41eaf783f0d452460886bed1 [26/31] nova-core: mm: Add BAR1 memory management self-tests
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260218/202602182333.khjupdIX-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/20260218/202602182333.khjupdIX-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/202602182333.khjupdIX-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/pagetable/mod.rs:299:
        }
    
        /// Write this `PTE` to VRAM.
   -    pub(crate) fn write(
   -        &self,
   -        window: &mut pramin::PraminWindow<'_>,
   -        addr: VramAddress,
   -    ) -> Result {
   +    pub(crate) fn write(&self, window: &mut pramin::PraminWindow<'_>, addr: VramAddress) -> Result {
            window.try_write64(addr.raw(), self.raw_u64())
        }
    }
   Diff in drivers/gpu/nova-core/mm/pagetable/mod.rs:383:
        }
    
        /// Write this `PDE` to VRAM.
   -    pub(crate) fn write(
   -        &self,
   -        window: &mut pramin::PraminWindow<'_>,
   -        addr: VramAddress,
   -    ) -> Result {
   +    pub(crate) fn write(&self, window: &mut pramin::PraminWindow<'_>, addr: VramAddress) -> Result {
            window.try_write64(addr.raw(), self.raw_u64())
        }
    }
   Diff in drivers/gpu/nova-core/mm/pagetable/mod.rs:468:
        }
    
        /// Write this dual PDE (128-bit) to VRAM.
   -    pub(crate) fn write(
   -        &self,
   -        window: &mut pramin::PraminWindow<'_>,
   -        addr: VramAddress,
   -    ) -> Result {
   +    pub(crate) fn write(&self, window: &mut pramin::PraminWindow<'_>, addr: VramAddress) -> Result {
            window.try_write64(addr.raw(), self.big_raw_u64())?;
            window.try_write64(addr.raw() + 8, self.small_raw_u64())
        }
   Diff in drivers/gpu/nova-core/mm/pagetable/mod.rs:299:
        }
    
        /// Write this `PTE` to VRAM.
   -    pub(crate) fn write(
   -        &self,
   -        window: &mut pramin::PraminWindow<'_>,
   -        addr: VramAddress,
   -    ) -> Result {
   +    pub(crate) fn write(&self, window: &mut pramin::PraminWindow<'_>, addr: VramAddress) -> Result {
            window.try_write64(addr.raw(), self.raw_u64())
        }
    }
   Diff in drivers/gpu/nova-core/mm/pagetable/mod.rs:383:
        }
    
        /// Write this `PDE` to VRAM.
   -    pub(crate) fn write(
   -        &self,
   -        window: &mut pramin::PraminWindow<'_>,
   -        addr: VramAddress,
   -    ) -> Result {
   +    pub(crate) fn write(&self, window: &mut pramin::PraminWindow<'_>, addr: VramAddress) -> Result {
            window.try_write64(addr.raw(), self.raw_u64())
        }
    }
   Diff in drivers/gpu/nova-core/mm/pagetable/mod.rs:468:
        }
    
        /// Write this dual PDE (128-bit) to VRAM.
   -    pub(crate) fn write(
   -        &self,
   -        window: &mut pramin::PraminWindow<'_>,
   -        addr: VramAddress,
   -    ) -> Result {
   +    pub(crate) fn write(&self, window: &mut pramin::PraminWindow<'_>, addr: VramAddress) -> Result {
            window.try_write64(addr.raw(), self.big_raw_u64())?;
            window.try_write64(addr.raw() + 8, self.small_raw_u64())
        }
>> Diff in drivers/gpu/nova-core/gpu.rs:330:
        }
    
        #[cfg(CONFIG_NOVA_MM_SELFTESTS)]
   -    fn run_mm_selftests(
   -        mut self: Pin<&mut Self>,
   -        pdev: &pci::Device<device::Bound>,
   -    ) -> Result {
   +    fn run_mm_selftests(mut self: Pin<&mut Self>, pdev: &pci::Device<device::Bound>) -> Result {
            use crate::driver::BAR1_SIZE;
    
            let mmu_version = MmuVersion::from(self.spec.chipset.arch());
   Diff in drivers/gpu/nova-core/gpu.rs:361:
        }
    
        #[cfg(not(CONFIG_NOVA_MM_SELFTESTS))]
   -    fn run_mm_selftests(
   -        self: Pin<&mut Self>,
   -        _pdev: &pci::Device<device::Bound>,
   -    ) -> Result {
   +    fn run_mm_selftests(self: Pin<&mut Self>, _pdev: &pci::Device<device::Bound>) -> Result {
            Ok(())
        }
    }
   Diff in drivers/gpu/nova-core/mm/pagetable/mod.rs:299:
        }
    
        /// Write this `PTE` to VRAM.
   -    pub(crate) fn write(
   -        &self,
   -        window: &mut pramin::PraminWindow<'_>,
   -        addr: VramAddress,
   -    ) -> Result {
   +    pub(crate) fn write(&self, window: &mut pramin::PraminWindow<'_>, addr: VramAddress) -> Result {
            window.try_write64(addr.raw(), self.raw_u64())
        }
    }
   Diff in drivers/gpu/nova-core/mm/pagetable/mod.rs:383:
        }
    
        /// Write this `PDE` to VRAM.
   -    pub(crate) fn write(
   -        &self,
   -        window: &mut pramin::PraminWindow<'_>,
   -        addr: VramAddress,
   -    ) -> Result {
   +    pub(crate) fn write(&self, window: &mut pramin::PraminWindow<'_>, addr: VramAddress) -> Result {
            window.try_write64(addr.raw(), self.raw_u64())
        }
    }
   Diff in drivers/gpu/nova-core/mm/pagetable/mod.rs:468:
        }
    
        /// Write this dual PDE (128-bit) to VRAM.
   -    pub(crate) fn write(
   -        &self,
   -        window: &mut pramin::PraminWindow<'_>,
   -        addr: VramAddress,
   -    ) -> Result {
   +    pub(crate) fn write(&self, window: &mut pramin::PraminWindow<'_>, addr: VramAddress) -> Result {
            window.try_write64(addr.raw(), self.big_raw_u64())?;
            window.try_write64(addr.raw() + 8, self.small_raw_u64())
        }
>> Diff in drivers/gpu/nova-core/gpu.rs:330:
        }
    
        #[cfg(CONFIG_NOVA_MM_SELFTESTS)]
   -    fn run_mm_selftests(
   -        mut self: Pin<&mut Self>,
   -        pdev: &pci::Device<device::Bound>,
   -    ) -> Result {
   +    fn run_mm_selftests(mut self: Pin<&mut Self>, pdev: &pci::Device<device::Bound>) -> Result {
            use crate::driver::BAR1_SIZE;
    
            let mmu_version = MmuVersion::from(self.spec.chipset.arch());
   Diff in drivers/gpu/nova-core/gpu.rs:361:
        }
    
        #[cfg(not(CONFIG_NOVA_MM_SELFTESTS))]
   -    fn run_mm_selftests(
   -        self: Pin<&mut Self>,
   -        _pdev: &pci::Device<device::Bound>,
   -    ) -> Result {
   +    fn run_mm_selftests(self: Pin<&mut Self>, _pdev: &pci::Device<device::Bound>) -> Result {
            Ok(())
        }
    }
   Diff in rust/kernel/ffi/clist.rs:98:
    use pin_init::{
        pin_data,
        pin_init,
   -    PinInit //
   +    PinInit, //
    };
    
    /// FFI wrapper for a C `list_head` object used in intrusive linked lists.
   Diff in rust/kernel/ffi/clist.rs:98:
    use pin_init::{
        pin_data,
        pin_init,
   -    PinInit //
   +    PinInit, //
    };
    
    /// FFI wrapper for a C `list_head` object used in intrusive linked lists.
   Diff in rust/kernel/gpu/buddy.rs:132:
    //! ```
    
    use crate::{
   -    bindings,
   -    clist_create,
   +    bindings, clist_create,
        error::to_result,
        ffi::clist::CListHead,
        new_mutex,
   Diff in rust/kernel/gpu/buddy.rs:132:
    //! ```
    
    use crate::{
   -    bindings,
   -    clist_create,
   +    bindings, clist_create,
        error::to_result,
        ffi::clist::CListHead,
        new_mutex,
   Diff in rust/kernel/ffi/clist.rs:98:
    use pin_init::{
        pin_data,
        pin_init,
   -    PinInit //
   +    PinInit, //
    };
    
    /// FFI wrapper for a C `list_head` object used in intrusive linked lists.
   Diff in rust/kernel/gpu/buddy.rs:132:
    //! ```
    
    use crate::{
   -    bindings,
   -    clist_create,
   +    bindings, clist_create,
        error::to_result,
        ffi::clist::CListHead,
        new_mutex,
   make[2]: *** [Makefile:1903: rustfmt] Error 123
   make[1]: Leaving directory '/kbuild/obj/consumer/x86_64-rhel-9.4-rust'
   make[1]: *** [Makefile:248: __sub-make] Error 2
   make[2]: Target 'rustfmtcheck' not remade because of errors.
   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-02-18 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-18 22:58 [jfern:nova/mm 26/31] Diff in drivers/gpu/nova-core/gpu.rs:330: 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.