All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Joel Fernandes <joelagnelf@nvidia.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jfern:nova/mm 26/31] Diff in drivers/gpu/nova-core/gpu.rs:330:
Date: Wed, 18 Feb 2026 23:58:59 +0100	[thread overview]
Message-ID: <202602182333.khjupdIX-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-02-18 22:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202602182333.khjupdIX-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=joelagnelf@nvidia.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.