rust: interop: Add list module for C linked list interface
Subsystems (4)
Joel Fernandes
maintainerv13 cover rust: interop: Add list module for C linked list interface
The interop/list module provides Rust abstractions for iterating over C list_head-based linked lists. The primary use-case right now is iterating over GPU buddy allocator blocks.
This series provides the interop/list module required for GPU buddy bindings, which is inturn required for nova-core memory memory management. This patch is being sent separately from the rest of the patches (DRM buddy movement, GPU buddy bindings, etc.) as it can go in independently.
The git tree with the patch can be found at:git://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git (tag: interop-v13-20260317)
Change log:
Changes from v12 to v13:
- Changed interop/mod.rs to interop.rs file name (Alex).
- Various lint and style corrections, corrected Miguel's Ack email address. (Miguel Ojeda).
Changes from v11 to v12:
- Renamed module from ffi/clist to interop/list, reflecting community feedback that 'interop' better describes the purpose than 'ffi' (credit to Boqun for starting this idea.)
- Updated MAINTAINERS entry from "RUST [FFI HELPER]" to "RUST [INTEROP]" and updated git tree reference.
- Added Acked-by from Miguel.
Changes from v10 to v11:
- Sending only the ffi/clist patches separately from the rest of the preparatory series, as these can go in independently.
- MAINTAINERS entry: Renamed from "RUST TO C LIST INTERFACES" to "RUST [FFI HELPER]" with (CLIST) scope annotations for maintainers, following Danilo's suggestion. Note: There is still an ongoing discussion about the MAINTAINER file entry naming between Miguel and
Danilo: https://lore.kernel.org/all/[email protected]/
- Updated clist.rs module documentation per Danilo's review: generalized the FFI usage description and added explicit note directing Rust-only users to kernel::list::List instead.
- Implemented suggestions from Alice related to safety of CList wrt concurrent modifications.
- Removed unnecessary trailing comment markers from example imports.
- Added feature guard for offset_of_nested (Eliot).
Changes from v9 to v10:
- Combined clist/ffi patches into the larger "Preparatory patches for nova-core memory management" series (8 patches total).
- Added new ffi module patch: Convert pub use to pub mod and create rust/kernel/ffi/mod.rs to host clist as a sub-module.
- Moved clist from rust/kernel/clist.rs to rust/kernel/ffi/clist.rs.
- Added Reviewed-by and Acked-by tags from Gary and Daniel.
Changes from v8 to v9:
- Added nova-core Kconfig change to select GPU_BUDDY.
- Minor fixups.
Changes from v7 to v8:
- Various changes suggested by Danilo, Gary, Daniel. Added tags.
Changes from v6 to v7:
- Extracted clist and GPU buddy patches from the larger RFC v6 nova-core memory management series into a standalone series.
- Changes based on suggestions by Gary and Dave.
Changes from v5 to v6:
- Part of the larger RFC v6 nova-core memory management series (26 patches).
Changes from v4 to v5:
- Part of the larger RFC v5 nova-core memory management series (6 patches).
Changes from v3 to v4:
- Combined the clist and DRM buddy series back together.
- Added Rust bindings for the GPU buddy allocator.
- Moved DRM buddy allocator one level up to drivers/gpu/ so it can be used by GPU drivers (e.g. nova-core) that have non-DRM usecases.
Changes from v2 to v3:
- Consolidated 3 patches into a single patch.
Changes from v1 to v2:
- Dropped the DRM buddy allocator patches. Series now focuses solely on the clist module.
- Dropped samples and added doctests.
- Added proper lifetime management similar to scatterlist.
Link to v12: https://lore.kernel.org/all/[email protected]/
Link to v11: https://lore.kernel.org/all/[email protected]/
Link to v10: https://lore.kernel.org/all/[email protected]/
Link to v9: https://lore.kernel.org/all/[email protected]/
Link to v8: https://lore.kernel.org/all/[email protected]/
Link to v7: https://lore.kernel.org/all/[email protected]/
Joel Fernandes (1):
rust: interop: Add list module for C linked list interface
MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rs
Signature · 1 line
2.34.1
Joel Fernandes
maintainerPATCH v13 1/1 rust: interop: Add list module for C linked list interface
Add a new module kernel::interop::list for working with C's doubly circular linked lists. Provide low-level iteration over list nodes.
Typed iteration over actual items is provided with a clist_create macro to assist in creation of the CList type.
--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rs
MAINTAINERS +8 -0
@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/ +RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/ + RUST [NUM] M: Alexandre Courbot <[email protected]> R: Yury Norov <[email protected]>
rust/helpers/helpers.c +1 -0
@@ -35,6 +35,7 @@#include "io.c" #include "jump_label.c" #include "kunit.c" +#include "list.c" #include "maple_tree.c" #include "mm.c" #include "mutex.c"
rust/helpers/list.c new file +17 -0
@@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* +* Helpers for C circular doubly linked list implementation. +*/ + +#include <linux/list.h> + +__rust_helper void rust_helper_INIT_LIST_HEAD(struct list_head *list) +{ +INIT_LIST_HEAD (list); +} + +__rust_helper void rust_helper_list_add_tail(struct list_head *new, struct list_head *head) +{ +list_add_tail (new, head); +}
rust/kernel/interop.rs new file +9 -0
@@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Infrastructure for interfacing Rust code with C kernel subsystems. +//! +//! This module is intended for low-level, unsafe Rust infrastructure code +//! that interoperates between Rust and C. It is NOT for use directly in +//! Rust drivers. + +pub mod list;
rust/kernel/interop/list.rs new file +342 -0
342 lines not on this page · raw message
rust/kernel/lib.rs +2 -0
@@ -29,6 +29,7 @@#![feature(lint_reasons)] // // Stable since Rust 1.82.0. +#![feature(offset_of_nested)] #![feature(raw_ref_op)] // // Stable since Rust 1.83.0.
@@ -107,6 +108,7 @@#[doc(hidden)] pub mod impl_flags;pub mod init; +pub mod interop;pub mod io;pub mod ioctl;pub mod iommu;
Signature · 1 line
2.34.1
Joel Fernandes
maintainerQuoted 30 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsMAINTAINERS +0
-0
MAINTAINERS T: git https://github.com/Rust-for-Linux/linux.git alloc-next · line 23260
Quoted 10 lines
MAINTAINERS +7
-0@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/ +RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/
Sorry, I forgot to add an additional F: for the rust/kernel/interop.rs file. Danilo/Miguel, do you mind adding this when applying?
thanks,
--
Joel Fernandes
Quoted 422 lines
MAINTAINERS +1
-0+ RUST [NUM] M: Alexandre Courbot <[email protected]> R: Yury Norov <[email protected]>rust/helpers/helpers.c +1
-0@@ -35,6 +35,7 @@#include "io.c" #include "jump_label.c" #include "kunit.c" +#include "list.c" #include "maple_tree.c" #include "mm.c" #include "mutex.c" rust/helpers/list.c new file +17
-0@@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* +* Helpers for C circular doubly linked list implementation. +*/ + +#include <linux/list.h> + +__rust_helper void rust_helper_INIT_LIST_HEAD(struct list_head *list) +{ +INIT_LIST_HEAD (list); +} + +__rust_helper void rust_helper_list_add_tail(struct list_head *new, struct list_head *head) +{ +list_add_tail (new, head); +}rust/kernel/interop.rs new file +9
-0@@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Infrastructure for interfacing Rust code with C kernel subsystems. +//! +//! This module is intended for low-level, unsafe Rust infrastructure code +//! that interoperates between Rust and C. It is NOT for use directly in +//! Rust drivers. + +pub mod list;rust/kernel/interop/list.rs new file +342
-0@@ -0,0 +1,342 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Rust interface for C doubly circular intrusive linked lists. +//! +//! This module provides Rust abstractions for iterating over C `list_head`-based +//! linked lists. It should only be used for cases where C and Rust code share +//! direct access to the same linked list through a C interop interface. +//! +//! Note: This *must not* be used by Rust components that just need a linked list +//! primitive. Use [`kernel::list::List`] instead. +//! +//! # Examples +//! +//! ``` +//! use kernel::{ +//! bindings, +//! clist_create, +//! types::Opaque, +//! }; +//! # // Create test list with values (0, 10, 20) - normally done by C code but it is +//! # // emulated here for doctests using the C bindings. +//! # use core::mem::MaybeUninit; +//! # +//! # /// C struct with embedded `list_head` (typically will be allocated by C code). +//! # #[repr(C)] +//! # pub struct SampleItemC { +//! # pub value: i32, +//! # pub link: bindings::list_head, +//! # } +//! # +//! # let mut head = MaybeUninit::<bindings::list_head>::uninit(); +//! # +//! # let head = head.as_mut_ptr(); +//! # // SAFETY: `head` and all the items are test objects allocated in this scope. +//! # unsafe { bindings::INIT_LIST_HEAD(head) }; +//! # +//! # let mut items = [ +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # ]; +//! # +//! # for (i, item) in items.iter_mut().enumerate() { +//! # let ptr = item.as_mut_ptr(); +//! # // SAFETY: `ptr` points to a valid `MaybeUninit<SampleItemC>`. +//! # unsafe { (*ptr).value = i as i32 * 10 }; +//! # // SAFETY: `&raw mut` creates a pointer valid for `INIT_LIST_HEAD`. +//! # unsafe { bindings::INIT_LIST_HEAD(&raw mut (*ptr).link) }; +//! # // SAFETY: `link` was just initialized and `head` is a valid list head. +//! # unsafe { bindings::list_add_tail(&mut (*ptr).link, head) }; +//! # } +//! +//! // +//! /// Rust wrapper for the C struct. +//! /// +//! /// The list item struct in this example is defined in C code as: +//! /// +//! /// ```c +//! /// struct SampleItemC { +//! /// int value; +//! /// struct list_head link; +//! /// }; +//! /// ``` +//! #[repr(transparent)] +//! pub struct Item(Opaque<SampleItemC>); +//! +//! impl Item { +//! pub fn value(&self) -> i32 { +//! // SAFETY: `Item` has same layout as `SampleItemC`. +//! unsafe { (*self.0.get()).value } +//! } +//! } +//! +//! +//! // Create typed [`CList`] from sentinel head. +//! // SAFETY: `head` is valid and initialized, items are `SampleItemC` with +//! // embedded `link` field, and `Item` is `#[repr(transparent)]` over `SampleItemC`. +//! let list = clist_create!(unsafe { head, Item, SampleItemC, link }); +//! +//! // Iterate directly over typed items. +//! let mut found_0 = false; +//! let mut found_10 = false; +//! let mut found_20 = false; +//! +//! for item in list.iter() { +//! let val = item.value(); +//! if val == 0 { found_0 = true; } +//! if val == 10 { found_10 = true; } +//! if val == 20 { found_20 = true; } +//! } +//! +//! assert!(found_0 && found_10 && found_20); +//! ``` + +use core::{ + iter::FusedIterator , + marker::PhantomData ,// +}; + +use crate ::{ + bindings, + types::Opaque ,// +}; + +use pin_init::{ + pin_data, + pin_init, +PinInit ,// +}; + +/// FFI wrapper for a C `list_head` object used in intrusive linked lists. +/// +/// # Invariants +/// +/// - The underlying `list_head` is initialized with valid non-`NULL` `next`/`prev` pointers. +#[pin_data] +#[repr(transparent)] +pub struct CListHead { +#[pin] + inner:Opaque <bindings::list_head >, +} + +impl CListHead { +/// Create a `&CListHead` reference from a raw `list_head` pointer. +/// +/// # Safety +/// +/// - `ptr` must be a valid pointer to an initialized `list_head` (e.g. via +/// `INIT_LIST_HEAD()`), with valid non-`NULL` `next`/`prev` pointers. +/// - `ptr` must remain valid for the lifetime `'a`. +/// - The list and all linked `list_head` nodes must not be modified from +/// anywhere for the lifetime `'a`, unless done so via any [`CListHead`] APIs. +#[inline] +pub unsafe fn from_raw <'a>(ptr: *mut bindings::list_head ) -> &'aSelf { +// SAFETY: +// - `CListHead` has same layout as `list_head`. +// - `ptr` is valid and unmodified for `'a` per caller guarantees. +unsafe { &*ptr.cast () } + } + +/// Get the raw `list_head` pointer. +#[inline] +pub fn as_raw (&self) -> *mut bindings::list_head { + self.inner.get () + } + +/// Get the next [`CListHead`] in the list. +#[inline] +pub fn next (&self) -> &Self { +let raw = self.as_raw (); +// SAFETY: +// - `self.as_raw()` is valid and initialized per type invariants. +// - The `next` pointer is valid and non-`NULL` per type invariants +// (initialized via `INIT_LIST_HEAD()` or equivalent). +unsafe {Self ::from_raw ((*raw).next) } + } + +/// Check if this node is linked in a list (not isolated). +#[inline] +pub fn is_linked (&self) ->bool { +let raw = self.as_raw (); +// SAFETY: `self.as_raw()` is valid per type invariants. +unsafe { (*raw).next != raw && (*raw).prev != raw } + } + +/// Pin-initializer that initializes the list head. +pub fn new () ->impl PinInit <Self > { +pin_init! (Self { +// SAFETY: `INIT_LIST_HEAD` initializes `slot` to a valid empty list. + inner <-Opaque ::ffi_init (|slot|unsafe { bindings::INIT_LIST_HEAD (slot) }), + }) + } +} + +// SAFETY: `list_head` contains no thread-bound state; it only holds +// `next`/`prev` pointers. +unsafe impl Send for CListHead {} + +// SAFETY: `CListHead` can be shared among threads as modifications are +// not allowed at the moment. +unsafe impl Sync for CListHead {} + +impl PartialEq for CListHead { +#[inline] +fn eq (&self, other: &Self ) ->bool { + core::ptr::eq (self, other) + } +} + +impl Eq for CListHead {} + +/// Low-level iterator over `list_head` nodes. +/// +/// An iterator used to iterate over a C intrusive linked list (`list_head`). Caller has to +/// perform conversion of returned [`CListHead`] to an item (using [`container_of`] or similar). +/// +/// # Invariants +/// +/// `current` and `sentinel` are valid references into an initialized linked list. +struct CListHeadIter <'a> { +/// Current position in the list. + current: &'aCListHead , +/// The sentinel head (used to detect end of iteration). + sentinel: &'aCListHead , +} + +impl <'a>Iterator for CListHeadIter <'a> { +type Item = &'aCListHead ; + +#[inline] +fn next (&mut self) ->Option <Self ::Item > { +// Check if we've reached the sentinel (end of list). +if self.current == self.sentinel { +return None ; + } + +let item = self.current; + self.current = item.next (); +Some (item) + } +} + +impl <'a>FusedIterator for CListHeadIter <'a> {} + +/// A typed C linked list with a sentinel head intended for FFI use-cases where +/// C subsystem manages a linked list that Rust code needs to read. Generally +/// required only for special cases. +/// +/// A sentinel head [`CListHead`] represents the entire linked list and can be used +/// for iteration over items of type `T`, it is not associated with a specific item. +/// +/// The const generic `OFFSET` specifies the byte offset of the `list_head` field within +/// the struct that `T` wraps. +/// +/// # Invariants +/// +/// - The sentinel [`CListHead`] has valid non-`NULL` `next`/`prev` pointers. +/// - `OFFSET` is the byte offset of the `list_head` field within the struct that `T` wraps. +/// - All the list's `list_head` nodes have valid non-`NULL` `next`/`prev` pointers. +#[repr(transparent)] +pub struct CList <T ,const OFFSET :usize >(CListHead ,PhantomData <T >); + +impl <T ,const OFFSET :usize >CList <T ,OFFSET > { +/// Create a typed [`CList`] reference from a raw sentinel `list_head` pointer. +/// +/// # Safety +/// +/// - `ptr` must be a valid pointer to an initialized sentinel `list_head` (e.g. via +/// `INIT_LIST_HEAD()`), with valid non-`NULL` `next`/`prev` pointers. +/// - `ptr` must remain valid for the lifetime `'a`. +/// - The list and all linked nodes must not be concurrently modified for the lifetime `'a`. +/// - The list must contain items where the `list_head` field is at byte offset `OFFSET`. +/// - `T` must be `#[repr(transparent)]` over the C struct. +#[inline] +pub unsafe fn from_raw <'a>(ptr: *mut bindings::list_head ) -> &'aSelf { +// SAFETY: +// - `CList` has same layout as `CListHead` due to `#[repr(transparent)]`. +// - Caller guarantees `ptr` is a valid, sentinel `list_head` object. +unsafe { &*ptr.cast () } + } + +/// Check if the list is empty. +#[inline] +pub fn is_empty (&self) ->bool { + !self.0 .is_linked () + } + +/// Create an iterator over typed items. +#[inline] +pub fn iter (&self) ->CListIter <'_,T ,OFFSET > { +let head = &self.0 ; +CListIter { + head_iter:CListHeadIter { + current: head.next (), + sentinel: head, + }, + _phantom:PhantomData , + } + } +} + +/// High-level iterator over typed list items. +pub struct CListIter <'a,T ,const OFFSET :usize > { + head_iter:CListHeadIter <'a>, + _phantom:PhantomData <&'aT >, +} + +impl <'a,T ,const OFFSET :usize >Iterator for CListIter <'a,T ,OFFSET > { +type Item = &'aT ; + +#[inline] +fn next (&mut self) ->Option <Self ::Item > { +let head = self.head_iter.next ()?; + +// Convert to item using `OFFSET`. +// +// SAFETY: The pointer calculation is valid because `OFFSET` is derived +// from `offset_of!` per type invariants. +Some (unsafe { &*head.as_raw ().byte_sub (OFFSET ).cast ::<T >() }) + } +} + +impl <'a,T ,const OFFSET :usize >FusedIterator for CListIter <'a,T ,OFFSET > {} + +/// Create a C doubly-circular linked list interface [`CList`] from a raw `list_head` pointer. +/// +/// This macro creates a `CList<T, OFFSET>` that can iterate over items of type `$rust_type` +/// linked via the `$field` field in the underlying C struct `$c_type`. +/// +/// # Arguments +/// +/// - `$head`: Raw pointer to the sentinel `list_head` object (`*mut bindings::list_head`). +/// - `$rust_type`: Each item's rust wrapper type. +/// - `$c_type`: Each item's C struct type that contains the embedded `list_head`. +/// - `$field`: The name of the `list_head` field within the C struct. +/// +/// # Safety +/// +/// The caller must ensure: +/// +/// - `$head` is a valid, initialized sentinel `list_head` (e.g. via `INIT_LIST_HEAD()`) +/// pointing to a list that is not concurrently modified for the lifetime of the [`CList`]. +/// - The list contains items of type `$c_type` linked via an embedded `$field`. +/// - `$rust_type` is `#[repr(transparent)]` over `$c_type` or has compatible layout. +/// +/// # Examples +/// +/// Refer to the examples in the [`crate::interop::list`] module documentation. +#[macro_export] +macro_rules! clist_create { + (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{ +// Compile-time check that field path is a `list_head`. +// SAFETY: `p` is a valid pointer to `$c_type`. +let _:fn (*const $c_type) -> *const $crate::bindings::list_head = + |p|unsafe { &raw const (*p).$($field).+ }; + +// Calculate offset and create `CList`. +const OFFSET :usize = ::core::mem::offset_of!($c_type, $($field).+); +// SAFETY: The caller of this macro is responsible for ensuring safety. +unsafe { $crate::interop::list::CList ::<$rust_type,OFFSET >::from_raw ($head) } + }}; +}rust/kernel/lib.rs +2
-0@@ -29,6 +29,7 @@#![feature(lint_reasons)] // // Stable since Rust 1.82.0. +#![feature(offset_of_nested)] #![feature(raw_ref_op)] // // Stable since Rust 1.83.0. @@ -107,6 +108,7 @@#[doc(hidden)] pub mod impl_flags;pub mod init; +pub mod interop;pub mod io;pub mod ioctl;pub mod iommu;
Signature · 1 line
Joel Fernandes
Danilo Krummrich
reviewerQuoted 2 lines · Joel Fernandes
Sorry, I forgot to add an additional F: for the
rust/kernel/interop.rsfile. Danilo/Miguel, do you mind adding this when applying?
I can add it, all good.
Joel Fernandes
maintainerQuoted 5 lines · Danilo Krummrich
Quoted 2 lines · Joel Fernandes
Sorry, I forgot to add an additional F: for the
rust/kernel/interop.rsfile. Danilo/Miguel, do you mind adding this when applying?I can add it, all good.
Thanks, Danilo!
Signature · 1 line
Joel Fernandes
Alice Ryhl
reviewerQuoted 36 lines · Joel Fernandes
Quoted 33 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsMAINTAINERS +0
-0@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/
Quoted 10 lines
MAINTAINERS T: git https://github.com/Rust-for-Linux/linux.git alloc-next · line 23260
Quoted 7 lines
MAINTAINERS +7
-0+RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/Sorry, I forgot to add an additional F: for the
rust/kernel/interop.rsfile. Danilo/Miguel, do you mind adding this when applying?
I think you should consider a mod.rs file to avoid this. It's tiny, and just re-exports submodules, so I don't think the "mod.rs name in file view" concern is that big, and IMO having files related to interop/ inside the directory is much better than having them outside.
Alice
Alexandre Courbot
maintainerQuoted 48 lines · Alice Ryhl
Quoted 36 lines · Joel Fernandes
Quoted 33 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsMAINTAINERS +0
-0@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/Quoted 10 lines
MAINTAINERS T: git https://github.com/Rust-for-Linux/linux.git alloc-next · line 23260
Quoted 7 lines
MAINTAINERS +7
-0+RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/Sorry, I forgot to add an additional F: for the
rust/kernel/interop.rsfile. Danilo/Miguel, do you mind adding this when applying?
Quoted 4 lines
I think you should consider a
mod.rsfile to avoid this. It's tiny, and just re-exports submodules, so I don't think the "mod.rsname in file view" concern is that big, and IMO having files related to interop/ inside the directory is much better than having them outside.
Ah, so there is a rationale for using a mod.rs file after all. What are the project-wide guidelines re: foo.rs vs foo/mod.rs?
Alice Ryhl
reviewerQuoted 50 lines · Alexandre Courbot
Quoted 48 lines · Alice Ryhl
Quoted 46 lines · Joel Fernandes
Quoted 30 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsMAINTAINERS +0
-0MAINTAINERS T: git https://github.com/Rust-for-Linux/linux.git alloc-next · line 23260
Quoted 10 lines
MAINTAINERS +7
-0@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/ +RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/Sorry, I forgot to add an additional F: for the
rust/kernel/interop.rsfile. Danilo/Miguel, do you mind adding this when applying?
Quoted 7 lines
Quoted 4 lines
I think you should consider a
mod.rsfile to avoid this. It's tiny, and just re-exports submodules, so I don't think the "mod.rsname in file view" concern is that big, and IMO having files related to interop/ inside the directory is much better than having them outside.Ah, so there is a rationale for using a
mod.rsfile after all. What are the project-wide guidelines re:foo.rsvsfoo/mod.rs?
I'm not sure we have discussed it in detail yet. Both are used in-tree.
Alice
Quoted 2 lines · Alice Ryhl
I'm not sure we have discussed it in detail yet. Both are used in-tree.
Yeah, we have discussed this several times in the list and in meetings -- please see by other reply.
The handful existing ones I think were all created by Lina (so perhaps some were kept as-is to avoid extra modifications of the patch -- not sure) or by you (so those don't count ;)
Cheers,
Miguel
Quoted 3 lines · Alexandre Courbot
Ah, so there is a rationale for using a
mod.rsfile after all. What are the project-wide guidelines re:foo.rsvsfoo/mod.rs?
Quoting myself from a few years ago:
I don't have a strong opinion either way -- this was originally done to improve fuzzy searching, see commit 829c2df153d7 ("rust: move net and sync modules to uniquely-named files") upstream:
This is so that each file in the module has a unique name instead of the generic mod.rs name. It makes it easier to open files when using fuzzy finders like fzf once names are unique.
Another reason was that it is what upstream Rust recommends:
"Prior to rustc 1.30, using mod.rs files was the way to load a
module with nested children. It is encouraged to use the new naming convention as it is more consistent, and avoids having many files named mod.rs within a project."
https://doc.rust-lang.org/reference/items/modules.html#r-items.mod.outlined.search-mod
https://doc.rust-lang.org/edition-guide/rust-2018/path-changes.html#no-more-modrs
Now, several other people have argued for the other way over the years.
For instance, one reason is that tab completion can be smoother with mod.rs, e.g. every time you complete something like rust/kernel/sync, you have to decide whether you want sync.rs or sync/, and then if you wanted the folder, you have to tab-complete again.
So I guess it depends if you use more the shell TAB (like Linus really values on the C folders) or the fuzzy finder (like Wedson argued for in the commit referenced above).
I personally don't want to bias it one way or the other [*], but please let's avoid having both mixed if possible (unless there is a reason not to). I can put the result in the new guidelines rules list file.
I hope that gives some context!
[*] I would have preferred a middle ground like modules being inside but repeating the folder name, e.g. .../pci/pci.rs, but I doubt that will ever be supported upstream since one probably wants to support the other ways at the same time.
Cheers,
Miguel
Alice Ryhl
reviewerQuoted 4 lines · Miguel Ojeda
[*] I would have preferred a middle ground like modules being inside but repeating the folder name, e.g.
.../pci/pci.rs, but I doubt that will ever be supported upstream since one probably wants to support the other ways at the same time.
In principle this is possible using
#[path = "pci/pci.rs"]
pub mod pci;
Alice
Quoted 5 lines · Alice Ryhl
In principle this is possible using
#[path = "
pci/pci.rs"]
pub mod pci;
No, I meant supported natively, i.e. without having to write an extra file everywhere (which could perhaps be simpler as just a symlink instead).
We could also generate the mod.rs on the fly, but that means a clean tree isn't great for tooling etc.
Cheers,
Miguel
Danilo Krummrich
reviewerQuoted 10 lines · Miguel Ojeda
Quoted 5 lines · Alice Ryhl
In principle this is possible using
#[path = "
pci/pci.rs"]
pub mod pci;No, I meant supported natively, i.e. without having to write an extra file everywhere (which could perhaps be simpler as just a symlink instead).
What do you mean with extra file?
renamed: rust/kernel/pci.rs -> rust/kernel/pci/pci.rs
rust/kernel/lib.rs +1 -0
@@ -131,6 +131,7 @@pub mod opp;pub mod page;#[cfg( CONFIG_PCI )] +#[path = "pci/pci.rs" ] pub mod pci;pub mod pid_namespace;pub mod platform;
Quoted 2 lines · Danilo Krummrich
What do you mean with extra file?
Right, sorry -- I was probably overfocused on the mod.rs symlink for some reason. We may have talked about generating them on the fly in the past too, I don't recall anymore.
Let's assume "s/an extra file/extra lines" on my message... If folks are OK writing manually them, or that we generate them on the fly, then I am happy I can get the option I always liked! :P
We can chat about it in one of the calls.
Cheers,
Miguel
Danilo Krummrich
reviewerQuoted 6 lines · Alice Ryhl
Quoted 4 lines · Miguel Ojeda
[*] I would have preferred a middle ground like modules being inside but repeating the folder name, e.g.
.../pci/pci.rs, but I doubt that will ever be supported upstream since one probably wants to support the other ways at the same time.
I very much like this, because, as you said, the pci/ vs. pci.rs completion issue is indeed annoying me a bit. :)
Quoted 4 lines
In principle this is possible using
#[path = "
pci/pci.rs"]
pub mod pci;
Not exactly pretty, but if it works I think it's worth.
Gary Guo
reviewerQuoted 48 lines · Alice Ryhl
Quoted 36 lines · Joel Fernandes
Quoted 33 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsMAINTAINERS +0
-0@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/Quoted 10 lines
MAINTAINERS T: git https://github.com/Rust-for-Linux/linux.git alloc-next · line 23260
Quoted 7 lines
MAINTAINERS +7
-0+RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/Sorry, I forgot to add an additional F: for the
rust/kernel/interop.rsfile. Danilo/Miguel, do you mind adding this when applying?
Quoted 6 lines
I think you should consider a
mod.rsfile to avoid this. It's tiny, and just re-exports submodules, so I don't think the "mod.rsname in file view" concern is that big, and IMO having files related to interop/ inside the directory is much better than having them outside.Alice
I wanted this for all modules in general. For modules that grow into multiple files we should really use mod.rs and avoid both module_name.rs and the module_name directory.
Best,
Gary
Joel Fernandes
maintainerQuoted 54 lines · Gary Guo
Quoted 53 lines · Alice Ryhl
Quoted 36 lines · Joel Fernandes
Quoted 33 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsMAINTAINERS +0
-0@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/Quoted 10 lines
MAINTAINERS T: git https://github.com/Rust-for-Linux/linux.git alloc-next · line 23260
Quoted 7 lines
MAINTAINERS +7
-0+RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/Sorry, I forgot to add an additional F: for the
rust/kernel/interop.rsfile. Danilo/Miguel, do you mind adding this when applying?I think you should consider a
mod.rsfile to avoid this. It's tiny, and just re-exports submodules, so I don't think the "mod.rsname in file view" concern is that big, and IMO having files related to interop/ inside the directory is much better than having them outside.
Quoted 6 lines
Quoted 1 line
Alice
I wanted this for all modules in general. For modules that grow into multiple files we should really use
mod.rsand avoid bothmodule_name.rsand themodule_namedirectory.
This is how it was, and I changed it based on Alex's feedback:
https://lore.kernel.org/all/[email protected]/
I am Ok with both approaches. I would request Danilo if he's applying it, that if he could do so without my additional re-send.
thanks,
--
Joel Fernandes
Quoted 6 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.
Quoted 7 lines
Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>
I have a few nits below. But overall I think this looks ok:
Please do consider my mod.rs suggestion too, though.
rust/kernel/interop/list.rs line 17
Quoted 4 lines
rust/kernel/interop/list.rs new file +4
-0+//! ``` +//! use kernel::{ +//! bindings, +//! clist_create,
IMO the automatic re-exports of macros at the root shouldn't be used. Import it from kernel::interop::list::clist_create instead.
Note that you need to put a re-export below macro definition to do this.
macro_rules! clist_create {
(unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{
// Compile-time check that field path is a `list_head`.
// SAFETY: `p` is a valid pointer to `$c_type`.
let _: fn(*const $c_type) -> *const $crate::bindings::list_head =
|p| unsafe { &raw const (*p).$($field).+ };
// Calculate offset and create `CList`.
const OFFSET: usize = ::core::mem::offset_of!($c_type, $($field).+);
// SAFETY: The caller of this macro is responsible for ensuring safety.
unsafe { $crate::interop::list::CList::<$rust_type, OFFSET>::from_raw($head) }
}};
}
pub use clist_create; // <-- you need thisSee tracepoint.rs or any of the other macros for an example.
rust/kernel/interop/list.rs line 78
Quoted 4 lines
rust/kernel/interop/list.rs new file +4
-0+//! // Create typed [`CList`] from sentinel head. +//! // SAFETY: `head` is valid and initialized, items are `SampleItemC` with +//! // embedded `link` field, and `Item` is `#[repr(transparent)]` over `SampleItemC`. +//! let list = clist_create!(unsafe { head, Item, SampleItemC, link });
Did you try using this in your real use-case? You require head to be an :ident, but I think for any 'struct list_head' not stored on the stack, accepting an :expr would be easier to use so that you can just pass &raw mut my_c_struct.the_list_head directly to the macro. Right now you have to put the raw pointer in a local variable first.
Alice
Joel Fernandes
maintainerQuoted 15 lines · Alice Ryhl
Quoted 6 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Quoted 7 lines
Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>
Quoted 5 lines
I have a few nits below. But overall I think this looks ok:
Reviewed-by Alice Ryhl <[email protected]>Please do consider my
mod.rssuggestion too, though.
sure.
Quoted 26 lines
rust/kernel/interop/list.rs line 17
Quoted 5 lines
rust/kernel/interop/list.rs new file +4
-0+//! ``` +//! use kernel::{ +//! bindings, +//! clist_create, IMO the automatic re-exports of macros at the root shouldn't be used. Import it from
kernel::interop::list::clist_createinstead.Note that you need to put a re-export below macro definition to do this.
macro_rules! clist_create { (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{ // Compile-time check that field path is a `list_head`. // SAFETY: `p` is a valid pointer to `$c_type`. let _: fn(*const $c_type) -> *const $crate::bindings::list_head = |p| unsafe { &raw const (*p).$($field).+ }; // Calculate offset and create `CList`. const OFFSET: usize = ::core::mem::offset_of!($c_type, $($field).+); // SAFETY: The caller of this macro is responsible for ensuring safety. unsafe { $crate::interop::list::CList::<$rust_type, OFFSET>::from_raw($head) } }}; } pub use clist_create; // <-- you need this
Quoted 1 line
See
tracepoint.rsor any of the other macros for an example.
Ok.
Quoted 11 lines
rust/kernel/interop/list.rs line 78
Quoted 5 lines
rust/kernel/interop/list.rs new file +4
-0+//! // Create typed [`CList`] from sentinel head. +//! // SAFETY: `head` is valid and initialized, items are `SampleItemC` with +//! // embedded `link` field, and `Item` is `#[repr(transparent)]` over `SampleItemC`. +//! let list = clist_create!(unsafe { head, Item, SampleItemC, link }); Did you try using this in your real use-case? You require
headto be an :ident, but I think for any 'structlist_head' not stored on the stack, accepting an :expr would be easier to use so that you can just pass&raw mut my_c_struct.the_list_headdirectly to the macro. Right now you have to put the raw pointer in a local variable first.
For buddy.rs usecase, currently we do put it in a local variable so it works fine. Not doing :ident was causing clippy errors.
warning: this macro expands metavariables in an unsafe block
--> rust/kernel/interop/list.rs:341:9
|
341 | unsafe { $crate::interop::list::CList::<$rust_type,
OFFSET>::from_raw($head) }
|^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this allows the user of the macro to write unsafe code outside
of an unsafe block
= help: consider expanding any metavariables outside of this block,
e.g. by storing them in a variable
= help: ... or also expand referenced metavariables in a safe context
to require an unsafe block at callsite
= help: for further information visit
https://rust-lang.github.io/rust-clippy/master/index.html#macro_metavars_in_unsafe
= note: -W clippy::macro-metavars-in-unsafe implied by -W clippy::all = help: to override -W clippy::all add#[allow(clippy::macro_metavars_in_unsafe)]
thanks,
--
Joel Fernandes
Alice Ryhl
reviewerQuoted 168 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsMAINTAINERS +8
-0@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/ +RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/ + RUST [NUM] M: Alexandre Courbot <[email protected]> R: Yury Norov <[email protected]>rust/helpers/helpers.c +1
-0@@ -35,6 +35,7 @@#include "io.c" #include "jump_label.c" #include "kunit.c" +#include "list.c" #include "maple_tree.c" #include "mm.c" #include "mutex.c" rust/helpers/list.c new file +17
-0@@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* +* Helpers for C circular doubly linked list implementation. +*/ + +#include <linux/list.h> + +__rust_helper void rust_helper_INIT_LIST_HEAD(struct list_head *list) +{ +INIT_LIST_HEAD (list); +} + +__rust_helper void rust_helper_list_add_tail(struct list_head *new, struct list_head *head) +{ +list_add_tail (new, head); +}rust/kernel/interop.rs new file +9
-0@@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Infrastructure for interfacing Rust code with C kernel subsystems. +//! +//! This module is intended for low-level, unsafe Rust infrastructure code +//! that interoperates between Rust and C. It is NOT for use directly in +//! Rust drivers. + +pub mod list;rust/kernel/interop/list.rs new file +68
-0@@ -0,0 +1,342 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Rust interface for C doubly circular intrusive linked lists. +//! +//! This module provides Rust abstractions for iterating over C `list_head`-based +//! linked lists. It should only be used for cases where C and Rust code share +//! direct access to the same linked list through a C interop interface. +//! +//! Note: This *must not* be used by Rust components that just need a linked list +//! primitive. Use [`kernel::list::List`] instead. +//! +//! # Examples +//! +//! ``` +//! use kernel::{ +//! bindings, +//! clist_create, +//! types::Opaque, +//! }; +//! # // Create test list with values (0, 10, 20) - normally done by C code but it is +//! # // emulated here for doctests using the C bindings. +//! # use core::mem::MaybeUninit; +//! # +//! # /// C struct with embedded `list_head` (typically will be allocated by C code). +//! # #[repr(C)] +//! # pub struct SampleItemC { +//! # pub value: i32, +//! # pub link: bindings::list_head, +//! # } +//! # +//! # let mut head = MaybeUninit::<bindings::list_head>::uninit(); +//! # +//! # let head = head.as_mut_ptr(); +//! # // SAFETY: `head` and all the items are test objects allocated in this scope. +//! # unsafe { bindings::INIT_LIST_HEAD(head) }; +//! # +//! # let mut items = [ +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # ]; +//! # +//! # for (i, item) in items.iter_mut().enumerate() { +//! # let ptr = item.as_mut_ptr(); +//! # // SAFETY: `ptr` points to a valid `MaybeUninit<SampleItemC>`. +//! # unsafe { (*ptr).value = i as i32 * 10 }; +//! # // SAFETY: `&raw mut` creates a pointer valid for `INIT_LIST_HEAD`. +//! # unsafe { bindings::INIT_LIST_HEAD(&raw mut (*ptr).link) }; +//! # // SAFETY: `link` was just initialized and `head` is a valid list head. +//! # unsafe { bindings::list_add_tail(&mut (*ptr).link, head) }; +//! # } +//! +//! // +//! /// Rust wrapper for the C struct. +//! /// +//! /// The list item struct in this example is defined in C code as: +//! /// +//! /// ```c +//! /// struct SampleItemC { +//! /// int value; +//! /// struct list_head link; +//! /// }; +//! /// ``` +//! #[repr(transparent)] +//! pub struct Item(Opaque<SampleItemC>); +//! +//! impl Item { +//! pub fn value(&self) -> i32 {
rust/kernel/interop/list.rs line 78
Quoted 10 lines
rust/kernel/interop/list.rs new file +10
-0+//! // SAFETY: `Item` has same layout as `SampleItemC`. +//! unsafe { (*self.0.get()).value } +//! } +//! } +//! +//! +//! // Create typed [`CList`] from sentinel head. +//! // SAFETY: `head` is valid and initialized, items are `SampleItemC` with +//! // embedded `link` field, and `Item` is `#[repr(transparent)]` over `SampleItemC`. +//! let list = clist_create!(unsafe { head, Item, SampleItemC, link });
Bad news.
My build triggers this warning:
error: statement has unnecessary safety comment
--> rust/doctests_kernel_generated.rs:7103:1
|
7103 | let list = clist_create!(unsafe { head, Item, SampleItemC, link });
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: consider removing the safety comment
--> rust/doctests_kernel_generated.rs:7101:4
|7101 | // SAFETY: head is valid and initialized, items are SampleItemC with
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#unnecessary_safety_comment
= note: -D clippy::unnecessary-safety-comment implied by -D warnings
= help: to override -D warnings add #[allow(clippy::unnecessary_safety_comment)]
This probably needs to be:
unsafe { clist_create!(head, Item, SampleItemC, link) }Alice
Quoted 2 lines · Alice Ryhl
My build triggers this warning:
I reported that in the previous version -- Joel, you said you used the workaround I mentioned, but I don't see it here.
Did you decide otherwise and retested and you couldn't reproduce it?
It is fine either way -- I am asking because if we decide to keep and use that "fake unsafe block" pattern, then I should create the issue to ask Clippy to support it.
Thanks!
Cheers,
Miguel
Joel Fernandes
maintainerQuoted 199 lines · Alice Ryhl
Quoted 168 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsMAINTAINERS +8
-0@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/ +RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/ + RUST [NUM] M: Alexandre Courbot <[email protected]> R: Yury Norov <[email protected]>rust/helpers/helpers.c +1
-0@@ -35,6 +35,7 @@#include "io.c" #include "jump_label.c" #include "kunit.c" +#include "list.c" #include "maple_tree.c" #include "mm.c" #include "mutex.c" rust/helpers/list.c new file +17
-0@@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* +* Helpers for C circular doubly linked list implementation. +*/ + +#include <linux/list.h> + +__rust_helper void rust_helper_INIT_LIST_HEAD(struct list_head *list) +{ +INIT_LIST_HEAD (list); +} + +__rust_helper void rust_helper_list_add_tail(struct list_head *new, struct list_head *head) +{ +list_add_tail (new, head); +}rust/kernel/interop.rs new file +9
-0@@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Infrastructure for interfacing Rust code with C kernel subsystems. +//! +//! This module is intended for low-level, unsafe Rust infrastructure code +//! that interoperates between Rust and C. It is NOT for use directly in +//! Rust drivers. + +pub mod list;rust/kernel/interop/list.rs new file +68
-0@@ -0,0 +1,342 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Rust interface for C doubly circular intrusive linked lists. +//! +//! This module provides Rust abstractions for iterating over C `list_head`-based +//! linked lists. It should only be used for cases where C and Rust code share +//! direct access to the same linked list through a C interop interface. +//! +//! Note: This *must not* be used by Rust components that just need a linked list +//! primitive. Use [`kernel::list::List`] instead. +//! +//! # Examples +//! +//! ``` +//! use kernel::{ +//! bindings, +//! clist_create, +//! types::Opaque, +//! }; +//! # // Create test list with values (0, 10, 20) - normally done by C code but it is +//! # // emulated here for doctests using the C bindings. +//! # use core::mem::MaybeUninit; +//! # +//! # /// C struct with embedded `list_head` (typically will be allocated by C code). +//! # #[repr(C)] +//! # pub struct SampleItemC { +//! # pub value: i32, +//! # pub link: bindings::list_head, +//! # } +//! # +//! # let mut head = MaybeUninit::<bindings::list_head>::uninit(); +//! # +//! # let head = head.as_mut_ptr(); +//! # // SAFETY: `head` and all the items are test objects allocated in this scope. +//! # unsafe { bindings::INIT_LIST_HEAD(head) }; +//! # +//! # let mut items = [ +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # ]; +//! # +//! # for (i, item) in items.iter_mut().enumerate() { +//! # let ptr = item.as_mut_ptr(); +//! # // SAFETY: `ptr` points to a valid `MaybeUninit<SampleItemC>`. +//! # unsafe { (*ptr).value = i as i32 * 10 }; +//! # // SAFETY: `&raw mut` creates a pointer valid for `INIT_LIST_HEAD`. +//! # unsafe { bindings::INIT_LIST_HEAD(&raw mut (*ptr).link) }; +//! # // SAFETY: `link` was just initialized and `head` is a valid list head. +//! # unsafe { bindings::list_add_tail(&mut (*ptr).link, head) }; +//! # } +//! +//! // +//! /// Rust wrapper for the C struct. +//! /// +//! /// The list item struct in this example is defined in C code as: +//! /// +//! /// ```c +//! /// struct SampleItemC { +//! /// int value; +//! /// struct list_head link; +//! /// }; +//! /// ``` +//! #[repr(transparent)] +//! pub struct Item(Opaque<SampleItemC>); +//! +//! impl Item { +//! pub fn value(&self) -> i32 { rust/kernel/interop/list.rs line 78
Quoted 10 lines
rust/kernel/interop/list.rs new file +10
-0+//! // SAFETY: `Item` has same layout as `SampleItemC`. +//! unsafe { (*self.0.get()).value } +//! } +//! } +//! +//! +//! // Create typed [`CList`] from sentinel head. +//! // SAFETY: `head` is valid and initialized, items are `SampleItemC` with +//! // embedded `link` field, and `Item` is `#[repr(transparent)]` over `SampleItemC`. +//! let list = clist_create!(unsafe { head, Item, SampleItemC, link }); Bad news.
My build triggers this warning:
error: statement has unnecessary safety comment
--> rust/doctests_kernel_generated.rs:7103:1 | 7103 | let list = clist_create!(unsafe { head, Item, SampleItemC, link }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: consider removing the safety comment --> rust/doctests_kernel_generated.rs:7101:4 |7101 | // SAFETY:
headis valid and initialized, items areSampleItemCwith
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#unnecessary_safety_comment
= note:-D clippy::unnecessary-safety-commentimplied by-D warnings
= help: to override-D warningsadd#[allow(clippy::unnecessary_safety_comment)]
Quoted 3 lines
This probably needs to be:
unsafe { clist_create!(head, Item, SampleItemC, link) }
Oops, I sometimes run clippy wrong. I did: "CLIPPY=1 make" instead of "make CLIPPY=1", the reason is habit. I have been doing "LLVM=1 make" for llvm builds since many years.
Anyway, the fix is simple, just need to do // SAFETY*: as Miguel suggests here, instead of // SAFETY:
https://lore.kernel.org/all/CANiq72kEnDyUpnWMZmheJytjioeiJUK_C-yQJk77dPid89LExw@mail.gmail.com/
Should be easy to do on apply if Danilo doesn't mind. :) I verified on my setup that it fixes it.
thanks,
--
Joel Fernandes
Joel Fernandes
maintainerQuoted 210 lines · Joel Fernandes
Quoted 199 lines · Alice Ryhl
Quoted 168 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsMAINTAINERS +8
-0@@ -23251,6 +23251,14 @@ T: git https://github.com/Rust-for-Linux/linux.git alloc-next F: rust/kernel/alloc.rs F: rust/kernel/alloc/ +RUST [INTEROP] +M: Joel Fernandes <[email protected]> +M: Alexandre Courbot <[email protected]> +L: [email protected] +S: Maintained +T: git https://github.com/Rust-for-Linux/linux.git interop-next +F: rust/kernel/interop/ + RUST [NUM] M: Alexandre Courbot <[email protected]> R: Yury Norov <[email protected]>rust/helpers/helpers.c +1
-0@@ -35,6 +35,7 @@#include "io.c" #include "jump_label.c" #include "kunit.c" +#include "list.c" #include "maple_tree.c" #include "mm.c" #include "mutex.c" rust/helpers/list.c new file +17
-0@@ -0,0 +1,17 @@ +// SPDX-License-Identifier: GPL-2.0 + +/* +* Helpers for C circular doubly linked list implementation. +*/ + +#include <linux/list.h> + +__rust_helper void rust_helper_INIT_LIST_HEAD(struct list_head *list) +{ +INIT_LIST_HEAD (list); +} + +__rust_helper void rust_helper_list_add_tail(struct list_head *new, struct list_head *head) +{ +list_add_tail (new, head); +}rust/kernel/interop.rs new file +9
-0@@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Infrastructure for interfacing Rust code with C kernel subsystems. +//! +//! This module is intended for low-level, unsafe Rust infrastructure code +//! that interoperates between Rust and C. It is NOT for use directly in +//! Rust drivers. + +pub mod list;rust/kernel/interop/list.rs new file +68
-0@@ -0,0 +1,342 @@ +// SPDX-License-Identifier: GPL-2.0 + +//! Rust interface for C doubly circular intrusive linked lists. +//! +//! This module provides Rust abstractions for iterating over C `list_head`-based +//! linked lists. It should only be used for cases where C and Rust code share +//! direct access to the same linked list through a C interop interface. +//! +//! Note: This *must not* be used by Rust components that just need a linked list +//! primitive. Use [`kernel::list::List`] instead. +//! +//! # Examples +//! +//! ``` +//! use kernel::{ +//! bindings, +//! clist_create, +//! types::Opaque, +//! }; +//! # // Create test list with values (0, 10, 20) - normally done by C code but it is +//! # // emulated here for doctests using the C bindings. +//! # use core::mem::MaybeUninit; +//! # +//! # /// C struct with embedded `list_head` (typically will be allocated by C code). +//! # #[repr(C)] +//! # pub struct SampleItemC { +//! # pub value: i32, +//! # pub link: bindings::list_head, +//! # } +//! # +//! # let mut head = MaybeUninit::<bindings::list_head>::uninit(); +//! # +//! # let head = head.as_mut_ptr(); +//! # // SAFETY: `head` and all the items are test objects allocated in this scope. +//! # unsafe { bindings::INIT_LIST_HEAD(head) }; +//! # +//! # let mut items = [ +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # MaybeUninit::<SampleItemC>::uninit(), +//! # ]; +//! # +//! # for (i, item) in items.iter_mut().enumerate() { +//! # let ptr = item.as_mut_ptr(); +//! # // SAFETY: `ptr` points to a valid `MaybeUninit<SampleItemC>`. +//! # unsafe { (*ptr).value = i as i32 * 10 }; +//! # // SAFETY: `&raw mut` creates a pointer valid for `INIT_LIST_HEAD`. +//! # unsafe { bindings::INIT_LIST_HEAD(&raw mut (*ptr).link) }; +//! # // SAFETY: `link` was just initialized and `head` is a valid list head. +//! # unsafe { bindings::list_add_tail(&mut (*ptr).link, head) }; +//! # } +//! +//! // +//! /// Rust wrapper for the C struct. +//! /// +//! /// The list item struct in this example is defined in C code as: +//! /// +//! /// ```c +//! /// struct SampleItemC { +//! /// int value; +//! /// struct list_head link; +//! /// }; +//! /// ``` +//! #[repr(transparent)] +//! pub struct Item(Opaque<SampleItemC>); +//! +//! impl Item { +//! pub fn value(&self) -> i32 { rust/kernel/interop/list.rs line 78
Quoted 10 lines
rust/kernel/interop/list.rs new file +10
-0+//! // SAFETY: `Item` has same layout as `SampleItemC`. +//! unsafe { (*self.0.get()).value } +//! } +//! } +//! +//! +//! // Create typed [`CList`] from sentinel head. +//! // SAFETY: `head` is valid and initialized, items are `SampleItemC` with +//! // embedded `link` field, and `Item` is `#[repr(transparent)]` over `SampleItemC`. +//! let list = clist_create!(unsafe { head, Item, SampleItemC, link }); Bad news.
My build triggers this warning:
error: statement has unnecessary safety comment
--> rust/doctests_kernel_generated.rs:7103:1 | 7103 | let list = clist_create!(unsafe { head, Item, SampleItemC, link }); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: consider removing the safety comment --> rust/doctests_kernel_generated.rs:7101:4 |7101 | // SAFETY:
headis valid and initialized, items areSampleItemCwith
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#unnecessary_safety_comment
= note:-D clippy::unnecessary-safety-commentimplied by-D warnings
= help: to override-D warningsadd#[allow(clippy::unnecessary_safety_comment)]Quoted 3 lines
This probably needs to be:
unsafe { clist_create!(head, Item, SampleItemC, link) }Oops, I sometimes run clippy wrong. I did: "CLIPPY=1 make" instead of "make CLIPPY=1", the reason is habit. I have been doing "LLVM=1 make" for llvm builds since many years.
Quoted 6 lines
Anyway, the fix is simple, just need to do // SAFETY*: as Miguel suggests here, instead of // SAFETY:
https://lore.kernel.org/all/CANiq72kEnDyUpnWMZmheJytjioeiJUK_C-yQJk77dPid89LExw@mail.gmail.com/Should be easy to do on apply if Danilo doesn't mind. :) I verified on my setup that it fixes it.
Here is the clist fixup fixing both the clippy errors in list.rs:
Thanks.
Quoted 4 lines · Joel Fernandes
Anyway, the fix is simple, just need to do // SAFETY*: as Miguel suggests here, instead of // SAFETY:
https://lore.kernel.org/all/CANiq72kEnDyUpnWMZmheJytjioeiJUK_C-yQJk77dPid89LExw@mail.gmail.com/
So, to clarify, I suggested it as a temporary thing we could do if we want to use that "fake unsafe block in macro matcher" pattern more and more.
i.e. if we plan to use the pattern more, then I am happy to ask upstream if it would make sense for Clippy to recognize it (or perhaps it is just a false negative instead of a false positive, given impl_device_context_deref), so that we don't need a hacked safety tag (Cc'ing Alejandra).
But if we could put it outside, then we wouldn't need any of that. Unsafe macros support could help perhaps here, which I have had it in our wishlist too (https://github.com/Rust-for-Linux/linux/issues/354),
but I guess the fake block could still be useful to make only certain macro arms unsafe? (Perhaps Rust could allow unsafe just at the start of each arm for that...).
Cheers,
Miguel
Joel Fernandes
maintainerQuoted 16 lines · Miguel Ojeda
Quoted 4 lines · Joel Fernandes
Anyway, the fix is simple, just need to do // SAFETY*: as Miguel suggests here, instead of // SAFETY:
https://lore.kernel.org/all/CANiq72kEnDyUpnWMZmheJytjioeiJUK_C-yQJk77dPid89LExw@mail.gmail.com/So, to clarify, I suggested it as a temporary thing we could do if we want to use that "fake
unsafeblock in macro matcher" pattern more and more.i.e. if we plan to use the pattern more, then I am happy to ask upstream if it would make sense for Clippy to recognize it (or perhaps it is just a false negative instead of a false positive, given
impl_device_context_deref), so that we don't need a hacked safety tag (Cc'ing Alejandra).
Quoted 6 lines
But if we could put it outside, then we wouldn't need any of that. Unsafe macros support could help perhaps here, which I have had it in our wishlist too (https://github.com/Rust-for-Linux/linux/issues/354),
but I guess the fake block could still be useful to make only certain macro arms unsafe? (Perhaps Rust could allowunsafejust at the start of each arm for that...).
Even if I reworked the macro to be outisde, it doesn't work as below, still need the 'disabled' comment on the macro's generate unsafe { } block below.
If we don't want the SAFETY*: hack, we could do the following.
Perhaps, we can file the github bug and also do the below. Once the github bug is fixed, we could remove the 'disable lint' below.
Thoughts?
---8<-----------------------
rust/kernel/interop/list.rs +7 -5
@@ -73,7 +73,7 @@//! //! //! // Create typed [`CList`] from sentinel head. -//! // SAFETY*: `head` is valid and initialized, items are `SampleItemC` with +//! // SAFETY: `head` is valid and initialized, items are `SampleItemC` with //! // embedded `link` field, and `Item` is `#[repr(transparent)]` over `SampleItemC`. //! let list = clist_create!(unsafe { head, Item, SampleItemC, link }); //!
@@ -328,17 +328,19 @@ impl<'a, T, const OFFSET: usize> FusedIterator for CListIter<'a, T, OFFSET> {}/// Refer to the examples in the [`crate::interop::list`] module documentation. #[macro_export] macro_rules! clist_create { - (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{ + (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => ( +// SAFETY: disable lint. +unsafe { {{// Compile-time check that field path is a `list_head`. let _:fn (*const $c_type) -> *const $crate::bindings::list_head = |p| {// SAFETY: `p` is a valid pointer to `$c_type`. -unsafe { &raw const (*p).$($field).+ } + &raw const (*p).$($field).+ };// Calculate offset and create `CList`. const OFFSET :usize = ::core::mem::offset_of!($c_type, $($field).+);// SAFETY: The caller of this macro is responsible for ensuring safety. -unsafe { $crate::interop::list::CList ::<$rust_type,OFFSET >::from_raw ($head) } - }}; + $crate::interop::list::CList ::<$rust_type,OFFSET >::from_raw ($head) + } }}); }pub use clist_create;
Signature · 1 line
2.34.1
Alexandre Courbot
maintainerQuoted 63 lines · Joel Fernandes
Quoted 16 lines · Miguel Ojeda
Quoted 4 lines · Joel Fernandes
Anyway, the fix is simple, just need to do // SAFETY*: as Miguel suggests here, instead of // SAFETY:
https://lore.kernel.org/all/CANiq72kEnDyUpnWMZmheJytjioeiJUK_C-yQJk77dPid89LExw@mail.gmail.com/So, to clarify, I suggested it as a temporary thing we could do if we want to use that "fake
unsafeblock in macro matcher" pattern more and more.i.e. if we plan to use the pattern more, then I am happy to ask upstream if it would make sense for Clippy to recognize it (or perhaps it is just a false negative instead of a false positive, given
impl_device_context_deref), so that we don't need a hacked safety tag (Cc'ing Alejandra).Quoted 6 lines
But if we could put it outside, then we wouldn't need any of that. Unsafe macros support could help perhaps here, which I have had it in our wishlist too (https://github.com/Rust-for-Linux/linux/issues/354),
but I guess the fake block could still be useful to make only certain macro arms unsafe? (Perhaps Rust could allowunsafejust at the start of each arm for that...).Even if I reworked the macro to be outisde, it doesn't work as below, still need the 'disabled' comment on the macro's generate unsafe { } block below.
If we don't want the SAFETY*: hack, we could do the following.
Perhaps, we can file the github bug and also do the below. Once the github bug is fixed, we could remove the 'disable lint' below.
Thoughts?
---8<-----------------------
rust/kernel/interop/list.rs +5
-3@@ -73,7 +73,7 @@//! //! //! // Create typed [`CList`] from sentinel head. -//! // SAFETY*: `head` is valid and initialized, items are `SampleItemC` with +//! // SAFETY: `head` is valid and initialized, items are `SampleItemC` with //! // embedded `link` field, and `Item` is `#[repr(transparent)]` over `SampleItemC`. //! let list = clist_create!(unsafe { head, Item, SampleItemC, link }); //! @@ -328,17 +328,19 @@ impl<'a, T, const OFFSET: usize> FusedIterator for CListIter<'a, T, OFFSET> {}/// Refer to the examples in the [`crate::interop::list`] module documentation. #[macro_export] macro_rules! clist_create { - (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{ + (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => ( +// SAFETY: disable lint. +unsafe { {{// Compile-time check that field path is a `list_head`. let _:fn (*const $c_type) -> *const $crate::bindings::list_head = |p| {// SAFETY: `p` is a valid pointer to `$c_type`. -unsafe { &raw const (*p).$($field).+ } + &raw const (*p).$($field).+ };
rust/kernel/interop/list.rs impl<'a, T, const OFFSET: usize> FusedIterator for CListIter<'a, T, OFFSET> {} · line 346
Quoted 10 lines
rust/kernel/interop/list.rs +2
-2// Calculate offset and create `CList`. const OFFSET :usize = ::core::mem::offset_of!($c_type, $($field).+);// SAFETY: The caller of this macro is responsible for ensuring safety. -unsafe { $crate::interop::list::CList ::<$rust_type,OFFSET >::from_raw ($head) } - }}; + $crate::interop::list::CList ::<$rust_type,OFFSET >::from_raw ($head) + } }}); }pub use clist_create;
I think I like this, it preserves the expected use of SAFETY: without that confusing *. The unsafe blocks is a bit larger that it should, be we are in a controlled environment.
Even after using the SAFETY*: I was still getting errors because the in-macro SAFETY comment wasn't at the right place:
warning: unsafe block missing a safety comment
--> ../rust/kernel/interop/list.rs:335:17
|
335 | |p| unsafe { &raw const (*p).$($field).+ };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: ../rust/kernel/gpu/buddy.rs:527:21
|
527 | let clist = clist_create!(unsafe {
| _____________________-
528 | | head,
529 | | Block,
530 | | bindings::gpu_buddy_block,
531 | | __bindgen_anon_1.link
532 | | });
| |__________- in this macro invocationThe diff below fixes that, but I believe your proposal should as well on top of letting callers use the expected SAFETY statement.
rust/kernel/interop/list.rs +1 -1
@@ -330,8 +330,8 @@ impl<'a, T, const OFFSET: usize> FusedIterator for CListIter<'a, T, OFFSET> {}macro_rules! clist_create { (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{// Compile-time check that field path is a `list_head`. -// SAFETY: `p` is a valid pointer to `$c_type`. let _:fn (*const $c_type) -> *const $crate::bindings::list_head = +// SAFETY: `p` is a valid pointer to `$c_type`. |p|unsafe { &raw const (*p).$($field).+ };// Calculate offset and create `CList`.
Quoted 11 lines · Miguel Ojeda
Quoted 4 lines · Joel Fernandes
Anyway, the fix is simple, just need to do // SAFETY*: as Miguel suggests here, instead of // SAFETY:
https://lore.kernel.org/all/CANiq72kEnDyUpnWMZmheJytjioeiJUK_C-yQJk77dPid89LExw@mail.gmail.com/So, to clarify, I suggested it as a temporary thing we could do if we want to use that "fake
unsafeblock in macro matcher" pattern more and more.
Quoted 5 lines
i.e. if we plan to use the pattern more, then I am happy to ask upstream if it would make sense for Clippy to recognize it (or perhaps it is just a false negative instead of a false positive, given
impl_device_context_deref), so that we don't need a hacked safety tag (Cc'ing Alejandra).
The team is a bit hesitant on adding comment-specific syntax apart from the widely used (and already on clippy) // SAFETY comments.
I'm pushing for some more comments specific to the Rust4Linux project, because we already tailor some lints for specific projects (such as the Safety Critical Rust Consortium), but adding more than new types of comments is a bit much.
On this specific lint emission, I'll see if I can get it fixed, because it's a false
positive.
Cheers,
Alejandra.
Gary Guo
reviewerQuoted 46 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsrust/kernel/interop/list.rs new file +21
-0+/// Create a C doubly-circular linked list interface [`CList`] from a raw `list_head` pointer. +/// +/// This macro creates a `CList<T, OFFSET>` that can iterate over items of type `$rust_type` +/// linked via the `$field` field in the underlying C struct `$c_type`. +/// +/// # Arguments +/// +/// - `$head`: Raw pointer to the sentinel `list_head` object (`*mut bindings::list_head`). +/// - `$rust_type`: Each item's rust wrapper type. +/// - `$c_type`: Each item's C struct type that contains the embedded `list_head`. +/// - `$field`: The name of the `list_head` field within the C struct. +/// +/// # Safety +/// +/// The caller must ensure: +/// +/// - `$head` is a valid, initialized sentinel `list_head` (e.g. via `INIT_LIST_HEAD()`) +/// pointing to a list that is not concurrently modified for the lifetime of the [`CList`]. +/// - The list contains items of type `$c_type` linked via an embedded `$field`. +/// - `$rust_type` is `#[repr(transparent)]` over `$c_type` or has compatible layout. +///
rust/kernel/interop/list.rs line 335
Quoted 10 lines
rust/kernel/interop/list.rs new file +10
-0+/// # Examples +/// +/// Refer to the examples in the [`crate::interop::list`] module documentation. +#[macro_export] +macro_rules! clist_create { + (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{ +// Compile-time check that field path is a `list_head`. +// SAFETY: `p` is a valid pointer to `$c_type`. +let _:fn (*const $c_type) -> *const $crate::bindings::list_head = + |p|unsafe { &raw const (*p).$($field).+ };
Actually, this check is insufficient, you should create a reference instead (just in case people put this inside repr(packed).
This could be something like
let _ = |p: &$c_type| { _ = &p.$($field).+ }?
rust/kernel/interop/list.rs line 340
Quoted 5 lines
rust/kernel/interop/list.rs new file +5
-0+ +// Calculate offset and create `CList`. +const OFFSET :usize = ::core::mem::offset_of!($c_type, $($field).+); +// SAFETY: The caller of this macro is responsible for ensuring safety. +unsafe { $crate::interop::list::CList ::<$rust_type,OFFSET >::from_raw ($head) }
Given that this is unsafe, I am not sure why the macro should have unsafe keyword in it, rather than just being clist_create(a, b, c, d) and just have user write unsafe.
The offset could probably benefit from similar strategies we used for other embedded data structure like Rust list and work items. Boqun has a series unifying these and clist could probably use it, too. (As a follow-up)
Best,
Gary
Quoted 15 lines
rust/kernel/interop/list.rs new file +2
-0+ }}; +}rust/kernel/lib.rs +1
-0@@ -29,6 +29,7 @@#![feature(lint_reasons)] // // Stable since Rust 1.82.0. +#![feature(offset_of_nested)] #![feature(raw_ref_op)] // // Stable since Rust 1.83.0.
rust/kernel/lib.rs line 114
Quoted 7 lines
rust/kernel/lib.rs +1
-0@@ -107,6 +108,7 @@#[doc(hidden)] pub mod impl_flags;pub mod init; +pub mod interop;pub mod io;pub mod ioctl;pub mod iommu;
G
Danilo Krummrich
reviewerQuoted 73 lines · Gary Guo
Quoted 46 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsrust/kernel/interop/list.rs new file +21
-0+/// Create a C doubly-circular linked list interface [`CList`] from a raw `list_head` pointer. +/// +/// This macro creates a `CList<T, OFFSET>` that can iterate over items of type `$rust_type` +/// linked via the `$field` field in the underlying C struct `$c_type`. +/// +/// # Arguments +/// +/// - `$head`: Raw pointer to the sentinel `list_head` object (`*mut bindings::list_head`). +/// - `$rust_type`: Each item's rust wrapper type. +/// - `$c_type`: Each item's C struct type that contains the embedded `list_head`. +/// - `$field`: The name of the `list_head` field within the C struct. +/// +/// # Safety +/// +/// The caller must ensure: +/// +/// - `$head` is a valid, initialized sentinel `list_head` (e.g. via `INIT_LIST_HEAD()`) +/// pointing to a list that is not concurrently modified for the lifetime of the [`CList`]. +/// - The list contains items of type `$c_type` linked via an embedded `$field`. +/// - `$rust_type` is `#[repr(transparent)]` over `$c_type` or has compatible layout. +/// rust/kernel/interop/list.rs line 335
Quoted 10 lines
rust/kernel/interop/list.rs new file +10
-0+/// # Examples +/// +/// Refer to the examples in the [`crate::interop::list`] module documentation. +#[macro_export] +macro_rules! clist_create { + (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{ +// Compile-time check that field path is a `list_head`. +// SAFETY: `p` is a valid pointer to `$c_type`. +let _:fn (*const $c_type) -> *const $crate::bindings::list_head = + |p|unsafe { &raw const (*p).$($field).+ };Actually, this check is insufficient, you should create a reference instead (just in case people put this inside
repr(packed).This could be something like
let _ = |p: &$c_type| { _ = &p.$($field).+ }?
rust/kernel/interop/list.rs line 340
Quoted 5 lines
rust/kernel/interop/list.rs new file +5
-0+ +// Calculate offset and create `CList`. +const OFFSET :usize = ::core::mem::offset_of!($c_type, $($field).+); +// SAFETY: The caller of this macro is responsible for ensuring safety. +unsafe { $crate::interop::list::CList ::<$rust_type,OFFSET >::from_raw ($head) }
Quoted 3 lines
Given that this is unsafe, I am not sure why the macro should have unsafe keyword in it, rather than just being
clist_create(a, b, c, d)and just have user write unsafe.
Either you are proposing to not wrap unsafe code within unsafe {} within the macro, such that the user is forced to write an unsafe {} around the macro, but then they calls within the macro are not justified individually, or you propose to let the user write an unsafe {} around the macro regardless of the inner unsafe {} blocks, but then then the compiler warns about an unnecessary unsafe and nothing forces the user to actually wrap it in unsafe {}.
Is there a third option I'm not aware of? I.e. for the above reason impl_device_context_deref!() was designed the same way.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/rust/kernel/device.rs#n650
Gary Guo
reviewerQuoted 78 lines · Danilo Krummrich
Quoted 73 lines · Gary Guo
Quoted 46 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsrust/kernel/interop/list.rs new file +21
-0+/// Create a C doubly-circular linked list interface [`CList`] from a raw `list_head` pointer. +/// +/// This macro creates a `CList<T, OFFSET>` that can iterate over items of type `$rust_type` +/// linked via the `$field` field in the underlying C struct `$c_type`. +/// +/// # Arguments +/// +/// - `$head`: Raw pointer to the sentinel `list_head` object (`*mut bindings::list_head`). +/// - `$rust_type`: Each item's rust wrapper type. +/// - `$c_type`: Each item's C struct type that contains the embedded `list_head`. +/// - `$field`: The name of the `list_head` field within the C struct. +/// +/// # Safety +/// +/// The caller must ensure: +/// +/// - `$head` is a valid, initialized sentinel `list_head` (e.g. via `INIT_LIST_HEAD()`) +/// pointing to a list that is not concurrently modified for the lifetime of the [`CList`]. +/// - The list contains items of type `$c_type` linked via an embedded `$field`. +/// - `$rust_type` is `#[repr(transparent)]` over `$c_type` or has compatible layout. +/// rust/kernel/interop/list.rs line 335
Quoted 10 lines
rust/kernel/interop/list.rs new file +10
-0+/// # Examples +/// +/// Refer to the examples in the [`crate::interop::list`] module documentation. +#[macro_export] +macro_rules! clist_create { + (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{ +// Compile-time check that field path is a `list_head`. +// SAFETY: `p` is a valid pointer to `$c_type`. +let _:fn (*const $c_type) -> *const $crate::bindings::list_head = + |p|unsafe { &raw const (*p).$($field).+ };Actually, this check is insufficient, you should create a reference instead (just in case people put this inside
repr(packed).This could be something like
let _ = |p: &$c_type| { _ = &p.$($field).+ }?
rust/kernel/interop/list.rs line 340
Quoted 5 lines
rust/kernel/interop/list.rs new file +5
-0+ +// Calculate offset and create `CList`. +const OFFSET :usize = ::core::mem::offset_of!($c_type, $($field).+); +// SAFETY: The caller of this macro is responsible for ensuring safety. +unsafe { $crate::interop::list::CList ::<$rust_type,OFFSET >::from_raw ($head) }Quoted 3 lines
Given that this is unsafe, I am not sure why the macro should have unsafe keyword in it, rather than just being
clist_create(a, b, c, d)and just have user write unsafe.
Quoted 6 lines
Either you are proposing to not wrap unsafe code within unsafe {} within the macro, such that the user is forced to write an unsafe {} around the macro, but then they calls within the macro are not justified individually, or you propose to let the user write an unsafe {} around the macro regardless of the inner unsafe {} blocks, but then then the compiler warns about an unnecessary unsafe and nothing forces the user to actually wrap it in unsafe {}.
The former.
"The caller of this macro is responsible for ensuring safety" justification is not really useful here IMO.
If there're cases where we do want to justify unsafe code that's not immediately deferring to the user inside the macro, we could use the SAFETY* trick proposed in the thread, without writing an actual unsafe {} block.
Quoted 3 lines
Is there a third option I'm not aware of? I.e. for the above reason impl_device_context_deref!() was designed the same way.
impl_device_context_deref!() expands to an item, so the user couldn't put an unsafe {} on the outside. This macro expands to an expression, so users can add unsafe themselves.
Best,
Gary
Danilo Krummrich
reviewerQuoted 3 lines · Gary Guo
If there're cases where we do want to justify unsafe code that's not immediately deferring to the user inside the macro, we could use the SAFETY* trick proposed in the thread, without writing an actual
unsafe {}block.
Works for me -- if this is what we want to do in such cases, we should probably document it somewhere in the coding guidelines.
Joel Fernandes
maintainerQuoted 96 lines · Gary Guo
Quoted 78 lines · Danilo Krummrich
Quoted 73 lines · Gary Guo
Quoted 46 lines · Joel Fernandes
Add a new module
kernel::interop::listfor working with C's doubly circular linked lists. Provide low-level iteration over list nodes.Typed iteration over actual items is provided with a
clist_createmacro to assist in creation of theCListtype.Cc Nikola Djukic <[email protected]>Reviewed-by Daniel Almeida <[email protected]>Reviewed-by Alexandre Courbot <[email protected]>Acked-by Gary Guo <[email protected]>Acked-by Miguel Ojeda <[email protected]>Signed-off-by Joel Fernandes <[email protected]>--- MAINTAINERS | 8 + rust/helpers/helpers.c | 1 + rust/helpers/list.c | 17 ++ rust/kernel/interop.rs | 9 + rust/kernel/interop/list.rs | 342 ++++++++++++++++++++++++++++++++++++ rust/kernel/lib.rs | 2 + 6 files changed, 379 insertions(+) create mode 100644 rust/helpers/list.c create mode 100644 rust/kernel/interop.rs create mode 100644 rust/kernel/interop/list.rsrust/kernel/interop/list.rs new file +21
-0+/// Create a C doubly-circular linked list interface [`CList`] from a raw `list_head` pointer. +/// +/// This macro creates a `CList<T, OFFSET>` that can iterate over items of type `$rust_type` +/// linked via the `$field` field in the underlying C struct `$c_type`. +/// +/// # Arguments +/// +/// - `$head`: Raw pointer to the sentinel `list_head` object (`*mut bindings::list_head`). +/// - `$rust_type`: Each item's rust wrapper type. +/// - `$c_type`: Each item's C struct type that contains the embedded `list_head`. +/// - `$field`: The name of the `list_head` field within the C struct. +/// +/// # Safety +/// +/// The caller must ensure: +/// +/// - `$head` is a valid, initialized sentinel `list_head` (e.g. via `INIT_LIST_HEAD()`) +/// pointing to a list that is not concurrently modified for the lifetime of the [`CList`]. +/// - The list contains items of type `$c_type` linked via an embedded `$field`. +/// - `$rust_type` is `#[repr(transparent)]` over `$c_type` or has compatible layout. +/// rust/kernel/interop/list.rs line 335
Quoted 10 lines
rust/kernel/interop/list.rs new file +10
-0+/// # Examples +/// +/// Refer to the examples in the [`crate::interop::list`] module documentation. +#[macro_export] +macro_rules! clist_create { + (unsafe { $head:ident, $rust_type:ty, $c_type:ty, $($field:tt).+ }) => {{ +// Compile-time check that field path is a `list_head`. +// SAFETY: `p` is a valid pointer to `$c_type`. +let _:fn (*const $c_type) -> *const $crate::bindings::list_head = + |p|unsafe { &raw const (*p).$($field).+ };Actually, this check is insufficient, you should create a reference instead (just in case people put this inside
repr(packed).This could be something like
let _ = |p: &$c_type| { _ = &p.$($field).+ }?
rust/kernel/interop/list.rs line 340
Quoted 5 lines
rust/kernel/interop/list.rs new file +5
-0+ +// Calculate offset and create `CList`. +const OFFSET :usize = ::core::mem::offset_of!($c_type, $($field).+); +// SAFETY: The caller of this macro is responsible for ensuring safety. +unsafe { $crate::interop::list::CList ::<$rust_type,OFFSET >::from_raw ($head) }Quoted 3 lines
Given that this is unsafe, I am not sure why the macro should have unsafe keyword in it, rather than just being
clist_create(a, b, c, d)and just have user write unsafe.Quoted 6 lines
Either you are proposing to not wrap unsafe code within unsafe {} within the macro, such that the user is forced to write an unsafe {} around the macro, but then they calls within the macro are not justified individually, or you propose to let the user write an unsafe {} around the macro regardless of the inner unsafe {} blocks, but then then the compiler warns about an unnecessary unsafe and nothing forces the user to actually wrap it in unsafe {}.
The former.
"The caller of this macro is responsible for ensuring safety" justification is not really useful here IMO.
If there're cases where we do want to justify unsafe code that's not immediately deferring to the user inside the macro, we could use the SAFETY* trick proposed in the thread, without writing an actual
unsafe {}block.Quoted 1 line
Quoted 7 lines
Quoted 2 lines
Is there a third option I'm not aware of? I.e. for the above reason impl_device_context_deref!() was designed the same way.
impl_device_context_deref!() expands to an item, so the user couldn't put an
unsafe {}on the outside. This macro expands to an expression, so users can addunsafethemselves.
I like Gary's idea. I will drop the unsafe { } blocks within the macro and we can force the caller to clear the lint. That's the cleanest and most reasonable IMO, instead of working around the linter.
Unless someone yells, this is what I'll do for the next iteration.
--
Joel Fernandes
Patchwork
CI Reviewed-by Daniel Almeida Reviewed-by Alexandre Courbot Acked-by Alexandre Courbot Acked-by Gary Guo Acked-by Miguel Ojeda on the v13 series✗ CI.checkpatch: warning for rust: interop: Add list module for C linked list interface (rev2)
In reply to Joel Fernandes== Series Details ==
== Series Details ==
Series: rust: interop: Add list module for C linked list interface (rev2)
URL : https://patchwork.freedesktop.org/series/162794/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 1f57ba1afceae32108bd24770069f764d940a0e4
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 23ffbec49a457703917d31c1a007d9da63464ce9
Author: Joel Fernandes <[email protected]> Date: Tue Mar 17 16:17:10 2026 -0400
rust: interop: Add list module for C linked list interface
Add a new module kernel::interop::list for working with C's doubly circular linked lists. Provide low-level iteration over list nodes.
Typed iteration over actual items is provided with a clist_create macro to assist in creation of the CList type.
+ /mt/dim checkpatch 90a49598c224945b556bee26d693fade1b8bdb3a drm-intel 23ffbec49a45 rust: interop: Add list module for C linked list interface
-:52: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #52:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 403 lines checked
Patchwork
CI✓ CI.KUnit: success for rust: interop: Add list module for C linked list interface (rev2)
In reply to Joel Fernandes== Series Details ==
== Series Details ==
Series: rust: interop: Add list module for C linked list interface (rev2)
URL : https://patchwork.freedesktop.org/series/162794/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [21:01:54] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [21:01:58] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [21:02:28] Starting KUnit Kernel (1/1)... [21:02:28] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [21:02:29] ================== guc_buf (11 subtests) =================== [21:02:29] [PASSED] test_smallest [21:02:29] [PASSED] test_largest [21:02:29] [PASSED] test_granular [21:02:29] [PASSED] test_unique [21:02:29] [PASSED] test_overlap [21:02:29] [PASSED] test_reusable [21:02:29] [PASSED] test_too_big [21:02:29] [PASSED] test_flush [21:02:29] [PASSED] test_lookup [21:02:29] [PASSED] test_data [21:02:29] [PASSED] test_class [21:02:29] ===================== [PASSED] guc_buf ===================== [21:02:29] =================== guc_dbm (7 subtests) =================== [21:02:29] [PASSED] test_empty [21:02:29] [PASSED] test_default [21:02:29] ======================== test_size ======================== [21:02:29] [PASSED] 4 [21:02:29] [PASSED] 8 [21:02:29] [PASSED] 32 [21:02:29] [PASSED] 256 [21:02:29] ==================== [PASSED] test_size ==================== [21:02:29] ======================= test_reuse ======================== [21:02:29] [PASSED] 4 [21:02:29] [PASSED] 8 [21:02:29] [PASSED] 32 [21:02:29] [PASSED] 256 [21:02:29] =================== [PASSED] test_reuse ==================== [21:02:29] =================== test_range_overlap ==================== [21:02:29] [PASSED] 4 [21:02:29] [PASSED] 8 [21:02:29] [PASSED] 32 [21:02:29] [PASSED] 256 [21:02:29] =============== [PASSED] test_range_overlap ================ [21:02:29] =================== test_range_compact ==================== [21:02:29] [PASSED] 4 [21:02:29] [PASSED] 8 [21:02:29] [PASSED] 32 [21:02:29] [PASSED] 256 [21:02:29] =============== [PASSED] test_range_compact ================ [21:02:29] ==================== test_range_spare ===================== [21:02:29] [PASSED] 4 [21:02:29] [PASSED] 8 [21:02:29] [PASSED] 32 [21:02:29] [PASSED] 256 [21:02:29] ================ [PASSED] test_range_spare ================= [21:02:29] ===================== [PASSED] guc_dbm ===================== [21:02:29] =================== guc_idm (6 subtests) =================== [21:02:29] [PASSED] bad_init [21:02:29] [PASSED] no_init [21:02:29] [PASSED] init_fini [21:02:29] [PASSED] check_used [21:02:29] [PASSED] check_quota [21:02:29] [PASSED] check_all [21:02:29] ===================== [PASSED] guc_idm ===================== [21:02:29] ================== no_relay (3 subtests) =================== [21:02:29] [PASSED] xe_drops_guc2pf_if_not_ready [21:02:29] [PASSED] xe_drops_guc2vf_if_not_ready [21:02:29] [PASSED] xe_rejects_send_if_not_ready [21:02:29] ==================== [PASSED] no_relay ===================== [21:02:29] ================== pf_relay (14 subtests) ================== [21:02:29] [PASSED] pf_rejects_guc2pf_too_short [21:02:29] [PASSED] pf_rejects_guc2pf_too_long [21:02:29] [PASSED] pf_rejects_guc2pf_no_payload [21:02:29] [PASSED] pf_fails_no_payload [21:02:29] [PASSED] pf_fails_bad_origin [21:02:29] [PASSED] pf_fails_bad_type [21:02:29] [PASSED] pf_txn_reports_error [21:02:29] [PASSED] pf_txn_sends_pf2guc [21:02:29] [PASSED] pf_sends_pf2guc [21:02:29] [SKIPPED] pf_loopback_nop [21:02:29] [SKIPPED] pf_loopback_echo [21:02:29] [SKIPPED] pf_loopback_fail [21:02:29] [SKIPPED] pf_loopback_busy [21:02:29] [SKIPPED] pf_loopback_retry [21:02:29] ==================== [PASSED] pf_relay ===================== [21:02:29] ================== vf_relay (3 subtests) =================== [21:02:29] [PASSED] vf_rejects_guc2vf_too_short [21:02:29] [PASSED] vf_rejects_guc2vf_too_long [21:02:29] [PASSED] vf_rejects_guc2vf_no_payload [21:02:29] ==================== [PASSED] vf_relay ===================== [21:02:29] ================ pf_gt_config (9 subtests) ================= [21:02:29] [PASSED] fair_contexts_1vf [21:02:29] [PASSED] fair_doorbells_1vf [21:02:29] [PASSED] fair_ggtt_1vf [21:02:29] ====================== fair_vram_1vf ====================== [21:02:29] [PASSED] 3.50 GiB [21:02:29] [PASSED] 11.5 GiB [21:02:29] [PASSED] 15.5 GiB [21:02:29] [PASSED] 31.5 GiB [21:02:29] [PASSED] 63.5 GiB [21:02:29] [PASSED] 1.91 GiB [21:02:29] ================== [PASSED] fair_vram_1vf ================== [21:02:29] ================ fair_vram_1vf_admin_only ================= [21:02:29] [PASSED] 3.50 GiB [21:02:29] [PASSED] 11.5 GiB [21:02:29] [PASSED] 15.5 GiB [21:02:29] [PASSED] 31.5 GiB [21:02:29] [PASSED] 63.5 GiB [21:02:29] [PASSED] 1.91 GiB [21:02:29] ============ [PASSED] fair_vram_1vf_admin_only ============= [21:02:29] ====================== fair_contexts ====================== [21:02:29] [PASSED] 1 VF [21:02:29] [PASSED] 2 VFs [21:02:29] [PASSED] 3 VFs [21:02:29] [PASSED] 4 VFs [21:02:29] [PASSED] 5 VFs [21:02:29] [PASSED] 6 VFs [21:02:29] [PASSED] 7 VFs [21:02:29] [PASSED] 8 VFs [21:02:29] [PASSED] 9 VFs [21:02:29] [PASSED] 10 VFs [21:02:29] [PASSED] 11 VFs [21:02:29] [PASSED] 12 VFs [21:02:29] [PASSED] 13 VFs [21:02:29] [PASSED] 14 VFs [21:02:29] [PASSED] 15 VFs [21:02:29] [PASSED] 16 VFs [21:02:29] [PASSED] 17 VFs [21:02:29] [PASSED] 18 VFs [21:02:29] [PASSED] 19 VFs [21:02:29] [PASSED] 20 VFs [21:02:29] [PASSED] 21 VFs [21:02:29] [PASSED] 22 VFs [21:02:29] [PASSED] 23 VFs [21:02:29] [PASSED] 24 VFs [21:02:29] [PASSED] 25 VFs [21:02:29] [PASSED] 26 VFs [21:02:29] [PASSED] 27 VFs [21:02:29] [PASSED] 28 VFs [21:02:29] [PASSED] 29 VFs [21:02:29] [PASSED] 30 VFs [21:02:29] [PASSED] 31 VFs [21:02:29] [PASSED] 32 VFs [21:02:29] [PASSED] 33 VFs [21:02:29] [PASSED] 34 VFs [21:02:29] [PASSED] 35 VFs [21:02:29] [PASSED] 36 VFs [21:02:29] [PASSED] 37 VFs [21:02:29] [PASSED] 38 VFs [21:02:29] [PASSED] 39 VFs [21:02:29] [PASSED] 40 VFs [21:02:29] [PASSED] 41 VFs [21:02:29] [PASSED] 42 VFs [21:02:29] [PASSED] 43 VFs [21:02:29] [PASSED] 44 VFs [21:02:29] [PASSED] 45 VFs [21:02:29] [PASSED] 46 VFs [21:02:29] [PASSED] 47 VFs [21:02:29] [PASSED] 48 VFs [21:02:29] [PASSED] 49 VFs [21:02:29] [PASSED] 50 VFs [21:02:29] [PASSED] 51 VFs [21:02:29] [PASSED] 52 VFs [21:02:29] [PASSED] 53 VFs [21:02:29] [PASSED] 54 VFs [21:02:29] [PASSED] 55 VFs [21:02:29] [PASSED] 56 VFs [21:02:29] [PASSED] 57 VFs [21:02:29] [PASSED] 58 VFs [21:02:29] [PASSED] 59 VFs [21:02:29] [PASSED] 60 VFs [21:02:29] [PASSED] 61 VFs [21:02:29] [PASSED] 62 VFs [21:02:29] [PASSED] 63 VFs [21:02:29] ================== [PASSED] fair_contexts ================== [21:02:29] ===================== fair_doorbells ====================== [21:02:29] [PASSED] 1 VF [21:02:29] [PASSED] 2 VFs [21:02:29] [PASSED] 3 VFs [21:02:29] [PASSED] 4 VFs [21:02:29] [PASSED] 5 VFs [21:02:29] [PASSED] 6 VFs [21:02:29] [PASSED] 7 VFs [21:02:29] [PASSED] 8 VFs [21:02:29] [PASSED] 9 VFs [21:02:29] [PASSED] 10 VFs [21:02:29] [PASSED] 11 VFs [21:02:29] [PASSED] 12 VFs [21:02:29] [PASSED] 13 VFs [21:02:29] [PASSED] 14 VFs [21:02:29] [PASSED] 15 VFs [21:02:29] [PASSED] 16 VFs [21:02:29] [PASSED] 17 VFs [21:02:29] [PASSED] 18 VFs [21:02:29] [PASSED] 19 VFs [21:02:29] [PASSED] 20 VFs [21:02:29] [PASSED] 21 VFs [21:02:29] [PASSED] 22 VFs [21:02:29] [PASSED] 23 VFs [21:02:29] [PASSED] 24 VFs [21:02:29] [PASSED] 25 VFs [21:02:29] [PASSED] 26 VFs [21:02:29] [PASSED] 27 VFs [21:02:29] [PASSED] 28 VFs [21:02:29] [PASSED] 29 VFs [21:02:29] [PASSED] 30 VFs [21:02:29] [PASSED] 31 VFs [21:02:29] [PASSED] 32 VFs [21:02:29] [PASSED] 33 VFs [21:02:29] [PASSED] 34 VFs [21:02:29] [PASSED] 35 VFs [21:02:29] [PASSED] 36 VFs [21:02:29] [PASSED] 37 VFs [21:02:29] [PASSED] 38 VFs [21:02:29] [PASSED] 39 VFs [21:02:29] [PASSED] 40 VFs [21:02:29] [PASSED] 41 VFs [21:02:29] [PASSED] 42 VFs [21:02:29] [PASSED] 43 VFs [21:02:29] [PASSED] 44 VFs [21:02:29] [PASSED] 45 VFs [21:02:29] [PASSED] 46 VFs [21:02:29] [PASSED] 47 VFs [21:02:29] [PASSED] 48 VFs [21:02:29] [PASSED] 49 VFs [21:02:29] [PASSED] 50 VFs [21:02:29] [PASSED] 51 VFs [21:02:29] [PASSED] 52 VFs [21:02:29] [PASSED] 53 VFs [21:02:29] [PASSED] 54 VFs [21:02:29] [PASSED] 55 VFs [21:02:29] [PASSED] 56 VFs [21:02:29] [PASSED] 57 VFs [21:02:29] [PASSED] 58 VFs [21:02:29] [PASSED] 59 VFs [21:02:29] [PASSED] 60 VFs [21:02:29] [PASSED] 61 VFs [21:02:29] [PASSED] 62 VFs [21:02:29] [PASSED] 63 VFs [21:02:29] ================= [PASSED] fair_doorbells ================== [21:02:29] ======================== fair_ggtt ======================== [21:02:29] [PASSED] 1 VF [21:02:29] [PASSED] 2 VFs [21:02:29] [PASSED] 3 VFs [21:02:29] [PASSED] 4 VFs [21:02:29] [PASSED] 5 VFs [21:02:29] [PASSED] 6 VFs [21:02:29] [PASSED] 7 VFs [21:02:29] [PASSED] 8 VFs [21:02:29] [PASSED] 9 VFs [21:02:29] [PASSED] 10 VFs [21:02:29] [PASSED] 11 VFs [21:02:29] [PASSED] 12 VFs [21:02:29] [PASSED] 13 VFs [21:02:29] [PASSED] 14 VFs [21:02:29] [PASSED] 15 VFs [21:02:29] [PASSED] 16 VFs [21:02:29] [PASSED] 17 VFs [21:02:29] [PASSED] 18 VFs [21:02:29] [PASSED] 19 VFs [21:02:29] [PASSED] 20 VFs [21:02:29] [PASSED] 21 VFs [21:02:29] [PASSED] 22 VFs [21:02:29] [PASSED] 23 VFs [21:02:29] [PASSED] 24 VFs [21:02:29] [PASSED] 25 VFs [21:02:29] [PASSED] 26 VFs [21:02:29] [PASSED] 27 VFs [21:02:29] [PASSED] 28 VFs [21:02:29] [PASSED] 29 VFs [21:02:29] [PASSED] 30 VFs [21:02:29] [PASSED] 31 VFs [21:02:29] [PASSED] 32 VFs [21:02:29] [PASSED] 33 VFs [21:02:29] [PASSED] 34 VFs [21:02:29] [PASSED] 35 VFs [21:02:29] [PASSED] 36 VFs [21:02:29] [PASSED] 37 VFs [21:02:29] [PASSED] 38 VFs [21:02:29] [PASSED] 39 VFs [21:02:29] [PASSED] 40 VFs [21:02:29] [PASSED] 41 VFs [21:02:29] [PASSED] 42 VFs [21:02:29] [PASSED] 43 VFs [21:02:29] [PASSED] 44 VFs [21:02:29] [PASSED] 45 VFs [21:02:29] [PASSED] 46 VFs [21:02:29] [PASSED] 47 VFs [21:02:29] [PASSED] 48 VFs [21:02:29] [PASSED] 49 VFs [21:02:29] [PASSED] 50 VFs [21:02:29] [PASSED] 51 VFs [21:02:29] [PASSED] 52 VFs [21:02:29] [PASSED] 53 VFs [21:02:29] [PASSED] 54 VFs [21:02:29] [PASSED] 55 VFs [21:02:29] [PASSED] 56 VFs [21:02:29] [PASSED] 57 VFs [21:02:29] [PASSED] 58 VFs [21:02:29] [PASSED] 59 VFs [21:02:29] [PASSED] 60 VFs [21:02:29] [PASSED] 61 VFs [21:02:29] [PASSED] 62 VFs [21:02:29] [PASSED] 63 VFs [21:02:29] ==================== [PASSED] fair_ggtt ==================== [21:02:29] ======================== fair_vram ======================== [21:02:29] [PASSED] 1 VF [21:02:29] [PASSED] 2 VFs [21:02:29] [PASSED] 3 VFs [21:02:29] [PASSED] 4 VFs [21:02:29] [PASSED] 5 VFs [21:02:29] [PASSED] 6 VFs [21:02:29] [PASSED] 7 VFs [21:02:29] [PASSED] 8 VFs [21:02:29] [PASSED] 9 VFs [21:02:29] [PASSED] 10 VFs [21:02:29] [PASSED] 11 VFs [21:02:29] [PASSED] 12 VFs [21:02:29] [PASSED] 13 VFs [21:02:29] [PASSED] 14 VFs [21:02:29] [PASSED] 15 VFs [21:02:29] [PASSED] 16 VFs [21:02:29] [PASSED] 17 VFs [21:02:29] [PASSED] 18 VFs [21:02:29] [PASSED] 19 VFs [21:02:29] [PASSED] 20 VFs [21:02:29] [PASSED] 21 VFs [21:02:29] [PASSED] 22 VFs [21:02:29] [PASSED] 23 VFs [21:02:29] [PASSED] 24 VFs [21:02:29] [PASSED] 25 VFs [21:02:29] [PASSED] 26 VFs [21:02:29] [PASSED] 27 VFs [21:02:29] [PASSED] 28 VFs [21:02:29] [PASSED] 29 VFs [21:02:29] [PASSED] 30 VFs [21:02:29] [PASSED] 31 VFs [21:02:29] [PASSED] 32 VFs [21:02:29] [PASSED] 33 VFs [21:02:29] [PASSED] 34 VFs [21:02:29] [PASSED] 35 VFs [21:02:29] [PASSED] 36 VFs [21:02:29] [PASSED] 37 VFs [21:02:29] [PASSED] 38 VFs [21:02:29] [PASSED] 39 VFs [21:02:29] [PASSED] 40 VFs [21:02:29] [PASSED] 41 VFs [21:02:29] [PASSED] 42 VFs [21:02:29] [PASSED] 43 VFs [21:02:29] [PASSED] 44 VFs [21:02:29] [PASSED] 45 VFs [21:02:29] [PASSED] 46 VFs [21:02:29] [PASSED] 47 VFs [21:02:29] [PASSED] 48 VFs [21:02:29] [PASSED] 49 VFs [21:02:29] [PASSED] 50 VFs [21:02:29] [PASSED] 51 VFs [21:02:29] [PASSED] 52 VFs [21:02:29] [PASSED] 53 VFs [21:02:29] [PASSED] 54 VFs [21:02:29] [PASSED] 55 VFs [21:02:29] [PASSED] 56 VFs [21:02:29] [PASSED] 57 VFs [21:02:29] [PASSED] 58 VFs [21:02:29] [PASSED] 59 VFs [21:02:29] [PASSED] 60 VFs [21:02:29] [PASSED] 61 VFs [21:02:29] [PASSED] 62 VFs [21:02:29] [PASSED] 63 VFs [21:02:29] ==================== [PASSED] fair_vram ==================== [21:02:29] ================== [PASSED] pf_gt_config =================== [21:02:29] ===================== lmtt (1 subtest) ===================== [21:02:29] ======================== test_ops ========================= [21:02:29] [PASSED] 2-level [21:02:29] [PASSED] multi-level [21:02:29] ==================== [PASSED] test_ops ===================== [21:02:29] ====================== [PASSED] lmtt ======================= [21:02:29] ================= pf_service (11 subtests) ================= [21:02:29] [PASSED] pf_negotiate_any [21:02:29] [PASSED] pf_negotiate_base_match [21:02:29] [PASSED] pf_negotiate_base_newer [21:02:29] [PASSED] pf_negotiate_base_next [21:02:29] [SKIPPED] pf_negotiate_base_older [21:02:29] [PASSED] pf_negotiate_base_prev [21:02:29] [PASSED] pf_negotiate_latest_match [21:02:29] [PASSED] pf_negotiate_latest_newer [21:02:29] [PASSED] pf_negotiate_latest_next [21:02:29] [SKIPPED] pf_negotiate_latest_older [21:02:29] [SKIPPED] pf_negotiate_latest_prev [21:02:29] =================== [PASSED] pf_service ==================== [21:02:29] ================= xe_guc_g2g (2 subtests) ================== [21:02:29] ============== xe_live_guc_g2g_kunit_default ============== [21:02:29] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [21:02:29] ============== xe_live_guc_g2g_kunit_allmem =============== [21:02:29] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [21:02:29] =================== [SKIPPED] xe_guc_g2g =================== [21:02:29] =================== xe_mocs (2 subtests) =================== [21:02:29] ================ xe_live_mocs_kernel_kunit ================ [21:02:29] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [21:02:29] ================ xe_live_mocs_reset_kunit ================= [21:02:29] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [21:02:29] ==================== [SKIPPED] xe_mocs ===================== [21:02:29] ================= xe_migrate (2 subtests) ================== [21:02:29] ================= xe_migrate_sanity_kunit ================= [21:02:29] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [21:02:29] ================== xe_validate_ccs_kunit ================== [21:02:29] ============= [SKIPPED] xe_validate_ccs_kunit ============== [21:02:29] =================== [SKIPPED] xe_migrate =================== [21:02:29] ================== xe_dma_buf (1 subtest) ================== [21:02:29] ==================== xe_dma_buf_kunit ===================== [21:02:29] ================ [SKIPPED] xe_dma_buf_kunit ================ [21:02:29] =================== [SKIPPED] xe_dma_buf =================== [21:02:29] ================= xe_bo_shrink (1 subtest) ================= [21:02:29] =================== xe_bo_shrink_kunit ==================== [21:02:29] =============== [SKIPPED] xe_bo_shrink_kunit =============== [21:02:29] ================== [SKIPPED] xe_bo_shrink ================== [21:02:29] ==================== xe_bo (2 subtests) ==================== [21:02:29] ================== xe_ccs_migrate_kunit =================== [21:02:29] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [21:02:29] ==================== xe_bo_evict_kunit ==================== [21:02:29] =============== [SKIPPED] xe_bo_evict_kunit ================ [21:02:29] ===================== [SKIPPED] xe_bo ====================== [21:02:29] ==================== args (13 subtests) ==================== [21:02:29] [PASSED] count_args_test [21:02:29] [PASSED] call_args_example [21:02:29] [PASSED] call_args_test [21:02:29] [PASSED] drop_first_arg_example [21:02:29] [PASSED] drop_first_arg_test [21:02:29] [PASSED] first_arg_example [21:02:29] [PASSED] first_arg_test [21:02:29] [PASSED] last_arg_example [21:02:29] [PASSED] last_arg_test [21:02:29] [PASSED] pick_arg_example [21:02:29] [PASSED] if_args_example [21:02:29] [PASSED] if_args_test [21:02:29] [PASSED] sep_comma_example [21:02:29] ====================== [PASSED] args ======================= [21:02:29] =================== xe_pci (3 subtests) ==================== [21:02:29] ==================== check_graphics_ip ==================== [21:02:29] [PASSED] 12.00 Xe_LP [21:02:29] [PASSED] 12.10 Xe_LP+ [21:02:29] [PASSED] 12.55 Xe_HPG [21:02:29] [PASSED] 12.60 Xe_HPC [21:02:29] [PASSED] 12.70 Xe_LPG [21:02:29] [PASSED] 12.71 Xe_LPG [21:02:29] [PASSED] 12.74 Xe_LPG+ [21:02:29] [PASSED] 20.01 Xe2_HPG [21:02:29] [PASSED] 20.02 Xe2_HPG [21:02:29] [PASSED] 20.04 Xe2_LPG [21:02:29] [PASSED] 30.00 Xe3_LPG [21:02:29] [PASSED] 30.01 Xe3_LPG [21:02:29] [PASSED] 30.03 Xe3_LPG [21:02:29] [PASSED] 30.04 Xe3_LPG [21:02:29] [PASSED] 30.05 Xe3_LPG [21:02:29] [PASSED] 35.10 Xe3p_LPG [21:02:29] [PASSED] 35.11 Xe3p_XPC [21:02:29] ================ [PASSED] check_graphics_ip ================ [21:02:29] ===================== check_media_ip ====================== [21:02:29] [PASSED] 12.00 Xe_M [21:02:29] [PASSED] 12.55 Xe_HPM [21:02:29] [PASSED] 13.00 Xe_LPM+ [21:02:29] [PASSED] 13.01 Xe2_HPM [21:02:29] [PASSED] 20.00 Xe2_LPM [21:02:29] [PASSED] 30.00 Xe3_LPM [21:02:29] [PASSED] 30.02 Xe3_LPM [21:02:29] [PASSED] 35.00 Xe3p_LPM [21:02:29] [PASSED] 35.03 Xe3p_HPM [21:02:29] ================= [PASSED] check_media_ip ================== [21:02:29] =================== check_platform_desc =================== [21:02:29] [PASSED] 0x9A60 (TIGERLAKE) [21:02:29] [PASSED] 0x9A68 (TIGERLAKE) [21:02:29] [PASSED] 0x9A70 (TIGERLAKE) [21:02:29] [PASSED] 0x9A40 (TIGERLAKE) [21:02:29] [PASSED] 0x9A49 (TIGERLAKE) [21:02:29] [PASSED] 0x9A59 (TIGERLAKE) [21:02:29] [PASSED] 0x9A78 (TIGERLAKE) [21:02:29] [PASSED] 0x9AC0 (TIGERLAKE) [21:02:29] [PASSED] 0x9AC9 (TIGERLAKE) [21:02:29] [PASSED] 0x9AD9 (TIGERLAKE) [21:02:29] [PASSED] 0x9AF8 (TIGERLAKE) [21:02:29] [PASSED] 0x4C80 (ROCKETLAKE) [21:02:29] [PASSED] 0x4C8A (ROCKETLAKE) [21:02:29] [PASSED] 0x4C8B (ROCKETLAKE) [21:02:29] [PASSED] 0x4C8C (ROCKETLAKE) [21:02:29] [PASSED] 0x4C90 (ROCKETLAKE) [21:02:29] [PASSED] 0x4C9A (ROCKETLAKE) [21:02:29] [PASSED] 0x4680 (ALDERLAKE_S) [21:02:29] [PASSED] 0x4682 (ALDERLAKE_S) [21:02:29] [PASSED] 0x4688 (ALDERLAKE_S) [21:02:29] [PASSED] 0x468A (ALDERLAKE_S) [21:02:29] [PASSED] 0x468B (ALDERLAKE_S) [21:02:29] [PASSED] 0x4690 (ALDERLAKE_S) [21:02:29] [PASSED] 0x4692 (ALDERLAKE_S) [21:02:29] [PASSED] 0x4693 (ALDERLAKE_S) [21:02:29] [PASSED] 0x46A0 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46A1 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46A2 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46A3 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46A6 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46A8 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46AA (ALDERLAKE_P) [21:02:29] [PASSED] 0x462A (ALDERLAKE_P) [21:02:29] [PASSED] 0x4626 (ALDERLAKE_P) [21:02:29] [PASSED] 0x4628 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46B0 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46B1 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46B2 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46B3 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46C0 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46C1 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46C2 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46C3 (ALDERLAKE_P) [21:02:29] [PASSED] 0x46D0 (ALDERLAKE_N) [21:02:29] [PASSED] 0x46D1 (ALDERLAKE_N) [21:02:29] [PASSED] 0x46D2 (ALDERLAKE_N) [21:02:29] [PASSED] 0x46D3 (ALDERLAKE_N) [21:02:29] [PASSED] 0x46D4 (ALDERLAKE_N) [21:02:29] [PASSED] 0xA721 (ALDERLAKE_P) [21:02:29] [PASSED] 0xA7A1 (ALDERLAKE_P) [21:02:29] [PASSED] 0xA7A9 (ALDERLAKE_P) [21:02:29] [PASSED] 0xA7AC (ALDERLAKE_P) [21:02:29] [PASSED] 0xA7AD (ALDERLAKE_P) [21:02:29] [PASSED] 0xA720 (ALDERLAKE_P) [21:02:29] [PASSED] 0xA7A0 (ALDERLAKE_P) [21:02:29] [PASSED] 0xA7A8 (ALDERLAKE_P) [21:02:29] [PASSED] 0xA7AA (ALDERLAKE_P) [21:02:29] [PASSED] 0xA7AB (ALDERLAKE_P) [21:02:29] [PASSED] 0xA780 (ALDERLAKE_S) [21:02:29] [PASSED] 0xA781 (ALDERLAKE_S) [21:02:29] [PASSED] 0xA782 (ALDERLAKE_S) [21:02:29] [PASSED] 0xA783 (ALDERLAKE_S) [21:02:29] [PASSED] 0xA788 (ALDERLAKE_S) [21:02:29] [PASSED] 0xA789 (ALDERLAKE_S) [21:02:29] [PASSED] 0xA78A (ALDERLAKE_S) [21:02:29] [PASSED] 0xA78B (ALDERLAKE_S) [21:02:29] [PASSED] 0x4905 (DG1) [21:02:29] [PASSED] 0x4906 (DG1) [21:02:29] [PASSED] 0x4907 (DG1) [21:02:29] [PASSED] 0x4908 (DG1) [21:02:29] [PASSED] 0x4909 (DG1) [21:02:29] [PASSED] 0x56C0 (DG2) [21:02:29] [PASSED] 0x56C2 (DG2) [21:02:29] [PASSED] 0x56C1 (DG2) [21:02:29] [PASSED] 0x7D51 (METEORLAKE) [21:02:29] [PASSED] 0x7DD1 (METEORLAKE) [21:02:29] [PASSED] 0x7D41 (METEORLAKE) [21:02:29] [PASSED] 0x7D67 (METEORLAKE) [21:02:29] [PASSED] 0xB640 (METEORLAKE) [21:02:29] [PASSED] 0x56A0 (DG2) [21:02:29] [PASSED] 0x56A1 (DG2) [21:02:29] [PASSED] 0x56A2 (DG2) [21:02:29] [PASSED] 0x56BE (DG2) [21:02:29] [PASSED] 0x56BF (DG2) [21:02:29] [PASSED] 0x5690 (DG2) [21:02:29] [PASSED] 0x5691 (DG2) [21:02:29] [PASSED] 0x5692 (DG2) [21:02:29] [PASSED] 0x56A5 (DG2) [21:02:29] [PASSED] 0x56A6 (DG2) [21:02:29] [PASSED] 0x56B0 (DG2) [21:02:29] [PASSED] 0x56B1 (DG2) [21:02:29] [PASSED] 0x56BA (DG2) [21:02:29] [PASSED] 0x56BB (DG2) [21:02:29] [PASSED] 0x56BC (DG2) [21:02:29] [PASSED] 0x56BD (DG2) [21:02:29] [PASSED] 0x5693 (DG2) [21:02:29] [PASSED] 0x5694 (DG2) [21:02:29] [PASSED] 0x5695 (DG2) [21:02:29] [PASSED] 0x56A3 (DG2) [21:02:29] [PASSED] 0x56A4 (DG2) [21:02:29] [PASSED] 0x56B2 (DG2) [21:02:29] [PASSED] 0x56B3 (DG2) [21:02:29] [PASSED] 0x5696 (DG2) [21:02:29] [PASSED] 0x5697 (DG2) [21:02:29] [PASSED] 0xB69 (PVC) [21:02:29] [PASSED] 0xB6E (PVC) [21:02:29] [PASSED] 0xBD4 (PVC) [21:02:29] [PASSED] 0xBD5 (PVC) [21:02:29] [PASSED] 0xBD6 (PVC) [21:02:29] [PASSED] 0xBD7 (PVC) [21:02:29] [PASSED] 0xBD8 (PVC) [21:02:29] [PASSED] 0xBD9 (PVC) [21:02:29] [PASSED] 0xBDA (PVC) [21:02:29] [PASSED] 0xBDB (PVC) [21:02:29] [PASSED] 0xBE0 (PVC) [21:02:29] [PASSED] 0xBE1 (PVC) [21:02:29] [PASSED] 0xBE5 (PVC) [21:02:29] [PASSED] 0x7D40 (METEORLAKE) [21:02:29] [PASSED] 0x7D45 (METEORLAKE) [21:02:29] [PASSED] 0x7D55 (METEORLAKE) [21:02:29] [PASSED] 0x7D60 (METEORLAKE) [21:02:29] [PASSED] 0x7DD5 (METEORLAKE) [21:02:29] [PASSED] 0x6420 (LUNARLAKE) [21:02:29] [PASSED] 0x64A0 (LUNARLAKE) [21:02:29] [PASSED] 0x64B0 (LUNARLAKE) [21:02:29] [PASSED] 0xE202 (BATTLEMAGE) [21:02:29] [PASSED] 0xE209 (BATTLEMAGE) [21:02:29] [PASSED] 0xE20B (BATTLEMAGE) [21:02:29] [PASSED] 0xE20C (BATTLEMAGE) [21:02:29] [PASSED] 0xE20D (BATTLEMAGE) [21:02:29] [PASSED] 0xE210 (BATTLEMAGE) [21:02:29] [PASSED] 0xE211 (BATTLEMAGE) [21:02:29] [PASSED] 0xE212 (BATTLEMAGE) [21:02:29] [PASSED] 0xE216 (BATTLEMAGE) [21:02:29] [PASSED] 0xE220 (BATTLEMAGE) [21:02:29] [PASSED] 0xE221 (BATTLEMAGE) [21:02:29] [PASSED] 0xE222 (BATTLEMAGE) [21:02:29] [PASSED] 0xE223 (BATTLEMAGE) [21:02:29] [PASSED] 0xB080 (PANTHERLAKE) [21:02:29] [PASSED] 0xB081 (PANTHERLAKE) [21:02:29] [PASSED] 0xB082 (PANTHERLAKE) [21:02:29] [PASSED] 0xB083 (PANTHERLAKE) [21:02:29] [PASSED] 0xB084 (PANTHERLAKE) [21:02:29] [PASSED] 0xB085 (PANTHERLAKE) [21:02:29] [PASSED] 0xB086 (PANTHERLAKE) [21:02:29] [PASSED] 0xB087 (PANTHERLAKE) [21:02:29] [PASSED] 0xB08F (PANTHERLAKE) [21:02:29] [PASSED] 0xB090 (PANTHERLAKE) [21:02:29] [PASSED] 0xB0A0 (PANTHERLAKE) [21:02:29] [PASSED] 0xB0B0 (PANTHERLAKE) [21:02:29] [PASSED] 0xFD80 (PANTHERLAKE) [21:02:29] [PASSED] 0xFD81 (PANTHERLAKE) [21:02:29] [PASSED] 0xD740 (NOVALAKE_S) [21:02:29] [PASSED] 0xD741 (NOVALAKE_S) [21:02:29] [PASSED] 0xD742 (NOVALAKE_S) [21:02:29] [PASSED] 0xD743 (NOVALAKE_S) [21:02:29] [PASSED] 0xD744 (NOVALAKE_S) [21:02:29] [PASSED] 0xD745 (NOVALAKE_S) [21:02:29] [PASSED] 0x674C (CRESCENTISLAND) [21:02:29] [PASSED] 0xD750 (NOVALAKE_P) [21:02:29] [PASSED] 0xD751 (NOVALAKE_P) [21:02:29] [PASSED] 0xD752 (NOVALAKE_P) [21:02:29] [PASSED] 0xD753 (NOVALAKE_P) [21:02:29] [PASSED] 0xD754 (NOVALAKE_P) [21:02:29] [PASSED] 0xD755 (NOVALAKE_P) [21:02:29] [PASSED] 0xD756 (NOVALAKE_P) [21:02:29] [PASSED] 0xD757 (NOVALAKE_P) [21:02:29] [PASSED] 0xD75F (NOVALAKE_P) [21:02:29] =============== [PASSED] check_platform_desc =============== [21:02:29] ===================== [PASSED] xe_pci ====================== [21:02:29] =================== xe_rtp (2 subtests) ==================== [21:02:29] =============== xe_rtp_process_to_sr_tests ================ [21:02:29] [PASSED] coalesce-same-reg [21:02:29] [PASSED] no-match-no-add [21:02:29] [PASSED] match-or [21:02:29] [PASSED] match-or-xfail [21:02:29] [PASSED] no-match-no-add-multiple-rules [21:02:29] [PASSED] two-regs-two-entries [21:02:29] [PASSED] clr-one-set-other [21:02:29] [PASSED] set-field [21:02:29] [PASSED] conflict-duplicate stty: 'standard input': Inappropriate ioctl for device [21:02:29] [PASSED] conflict-not-disjoint [21:02:29] [PASSED] conflict-reg-type [21:02:29] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [21:02:29] ================== xe_rtp_process_tests =================== [21:02:29] [PASSED] active1 [21:02:29] [PASSED] active2 [21:02:29] [PASSED] active-inactive [21:02:29] [PASSED] inactive-active [21:02:29] [PASSED] inactive-1st_or_active-inactive [21:02:29] [PASSED] inactive-2nd_or_active-inactive [21:02:29] [PASSED] inactive-last_or_active-inactive [21:02:29] [PASSED] inactive-no_or_active-inactive [21:02:29] ============== [PASSED] xe_rtp_process_tests =============== [21:02:29] ===================== [PASSED] xe_rtp ====================== [21:02:29] ==================== xe_wa (1 subtest) ===================== [21:02:29] ======================== xe_wa_gt ========================= [21:02:29] [PASSED] TIGERLAKE B0 [21:02:29] [PASSED] DG1 A0 [21:02:29] [PASSED] DG1 B0 [21:02:29] [PASSED] ALDERLAKE_S A0 [21:02:29] [PASSED] ALDERLAKE_S B0 [21:02:29] [PASSED] ALDERLAKE_S C0 [21:02:29] [PASSED] ALDERLAKE_S D0 [21:02:29] [PASSED] ALDERLAKE_P A0 [21:02:29] [PASSED] ALDERLAKE_P B0 [21:02:29] [PASSED] ALDERLAKE_P C0 [21:02:29] [PASSED] ALDERLAKE_S RPLS D0 [21:02:29] [PASSED] ALDERLAKE_P RPLU E0 [21:02:29] [PASSED] DG2 G10 C0 [21:02:29] [PASSED] DG2 G11 B1 [21:02:29] [PASSED] DG2 G12 A1 [21:02:29] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [21:02:29] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [21:02:29] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [21:02:29] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [21:02:29] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [21:02:29] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [21:02:29] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [21:02:29] ==================== [PASSED] xe_wa_gt ===================== [21:02:29] ====================== [PASSED] xe_wa ====================== [21:02:29] ============================================================ [21:02:29] Testing complete. Ran 597 tests: passed: 579, skipped: 18 [21:02:29] Elapsed time: 35.530s total, 4.255s configuring, 30.659s building, 0.607s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [21:02:29] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [21:02:31] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [21:02:55] Starting KUnit Kernel (1/1)... [21:02:55] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [21:02:55] ============ drm_test_pick_cmdline (2 subtests) ============ [21:02:55] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [21:02:55] =============== drm_test_pick_cmdline_named =============== [21:02:55] [PASSED] NTSC [21:02:55] [PASSED] NTSC-J [21:02:55] [PASSED] PAL [21:02:55] [PASSED] PAL-M [21:02:55] =========== [PASSED] drm_test_pick_cmdline_named =========== [21:02:55] ============== [PASSED] drm_test_pick_cmdline ============== [21:02:55] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [21:02:55] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [21:02:55] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [21:02:55] =========== drm_validate_clone_mode (2 subtests) =========== [21:02:55] ============== drm_test_check_in_clone_mode =============== [21:02:55] [PASSED] in_clone_mode [21:02:55] [PASSED] not_in_clone_mode [21:02:55] ========== [PASSED] drm_test_check_in_clone_mode =========== [21:02:55] =============== drm_test_check_valid_clones =============== [21:02:55] [PASSED] not_in_clone_mode [21:02:55] [PASSED] valid_clone [21:02:55] [PASSED] invalid_clone [21:02:55] =========== [PASSED] drm_test_check_valid_clones =========== [21:02:55] ============= [PASSED] drm_validate_clone_mode ============= [21:02:55] ============= drm_validate_modeset (1 subtest) ============= [21:02:55] [PASSED] drm_test_check_connector_changed_modeset [21:02:55] ============== [PASSED] drm_validate_modeset =============== [21:02:55] ====== drm_test_bridge_get_current_state (2 subtests) ====== [21:02:55] [PASSED] drm_test_drm_bridge_get_current_state_atomic [21:02:55] [PASSED] drm_test_drm_bridge_get_current_state_legacy [21:02:55] ======== [PASSED] drm_test_bridge_get_current_state ======== [21:02:55] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [21:02:55] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [21:02:55] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [21:02:55] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [21:02:55] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [21:02:55] ============== drm_bridge_alloc (2 subtests) =============== [21:02:55] [PASSED] drm_test_drm_bridge_alloc_basic [21:02:55] [PASSED] drm_test_drm_bridge_alloc_get_put [21:02:55] ================ [PASSED] drm_bridge_alloc ================= [21:02:55] ============= drm_cmdline_parser (40 subtests) ============= [21:02:55] [PASSED] drm_test_cmdline_force_d_only [21:02:55] [PASSED] drm_test_cmdline_force_D_only_dvi [21:02:55] [PASSED] drm_test_cmdline_force_D_only_hdmi [21:02:55] [PASSED] drm_test_cmdline_force_D_only_not_digital [21:02:55] [PASSED] drm_test_cmdline_force_e_only [21:02:55] [PASSED] drm_test_cmdline_res [21:02:55] [PASSED] drm_test_cmdline_res_vesa [21:02:55] [PASSED] drm_test_cmdline_res_vesa_rblank [21:02:55] [PASSED] drm_test_cmdline_res_rblank [21:02:55] [PASSED] drm_test_cmdline_res_bpp [21:02:55] [PASSED] drm_test_cmdline_res_refresh [21:02:55] [PASSED] drm_test_cmdline_res_bpp_refresh [21:02:55] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [21:02:55] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [21:02:55] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [21:02:55] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [21:02:55] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [21:02:55] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [21:02:55] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [21:02:55] [PASSED] drm_test_cmdline_res_margins_force_on [21:02:55] [PASSED] drm_test_cmdline_res_vesa_margins [21:02:55] [PASSED] drm_test_cmdline_name [21:02:55] [PASSED] drm_test_cmdline_name_bpp [21:02:55] [PASSED] drm_test_cmdline_name_option [21:02:55] [PASSED] drm_test_cmdline_name_bpp_option [21:02:55] [PASSED] drm_test_cmdline_rotate_0 [21:02:55] [PASSED] drm_test_cmdline_rotate_90 [21:02:55] [PASSED] drm_test_cmdline_rotate_180 [21:02:55] [PASSED] drm_test_cmdline_rotate_270 [21:02:55] [PASSED] drm_test_cmdline_hmirror [21:02:55] [PASSED] drm_test_cmdline_vmirror [21:02:55] [PASSED] drm_test_cmdline_margin_options [21:02:55] [PASSED] drm_test_cmdline_multiple_options [21:02:55] [PASSED] drm_test_cmdline_bpp_extra_and_option [21:02:55] [PASSED] drm_test_cmdline_extra_and_option [21:02:55] [PASSED] drm_test_cmdline_freestanding_options [21:02:55] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [21:02:55] [PASSED] drm_test_cmdline_panel_orientation [21:02:55] ================ drm_test_cmdline_invalid ================= [21:02:55] [PASSED] margin_only [21:02:55] [PASSED] interlace_only [21:02:55] [PASSED] res_missing_x [21:02:55] [PASSED] res_missing_y [21:02:55] [PASSED] res_bad_y [21:02:55] [PASSED] res_missing_y_bpp [21:02:55] [PASSED] res_bad_bpp [21:02:55] [PASSED] res_bad_refresh [21:02:55] [PASSED] res_bpp_refresh_force_on_off [21:02:55] [PASSED] res_invalid_mode [21:02:55] [PASSED] res_bpp_wrong_place_mode [21:02:55] [PASSED] name_bpp_refresh [21:02:55] [PASSED] name_refresh [21:02:55] [PASSED] name_refresh_wrong_mode [21:02:55] [PASSED] name_refresh_invalid_mode [21:02:55] [PASSED] rotate_multiple [21:02:55] [PASSED] rotate_invalid_val [21:02:55] [PASSED] rotate_truncated [21:02:55] [PASSED] invalid_option [21:02:55] [PASSED] invalid_tv_option [21:02:55] [PASSED] truncated_tv_option [21:02:55] ============ [PASSED] drm_test_cmdline_invalid ============= [21:02:55] =============== drm_test_cmdline_tv_options =============== [21:02:55] [PASSED] NTSC [21:02:55] [PASSED] NTSC_443 [21:02:55] [PASSED] NTSC_J [21:02:55] [PASSED] PAL [21:02:55] [PASSED] PAL_M [21:02:55] [PASSED] PAL_N [21:02:55] [PASSED] SECAM [21:02:55] [PASSED] MONO_525 [21:02:55] [PASSED] MONO_625 [21:02:55] =========== [PASSED] drm_test_cmdline_tv_options =========== [21:02:55] =============== [PASSED] drm_cmdline_parser ================ [21:02:55] ========== drmm_connector_hdmi_init (20 subtests) ========== [21:02:55] [PASSED] drm_test_connector_hdmi_init_valid [21:02:55] [PASSED] drm_test_connector_hdmi_init_bpc_8 [21:02:55] [PASSED] drm_test_connector_hdmi_init_bpc_10 [21:02:55] [PASSED] drm_test_connector_hdmi_init_bpc_12 [21:02:55] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [21:02:55] [PASSED] drm_test_connector_hdmi_init_bpc_null [21:02:55] [PASSED] drm_test_connector_hdmi_init_formats_empty [21:02:55] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [21:02:55] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [21:02:55] [PASSED] supported_formats=0x9 yuv420_allowed=1 [21:02:55] [PASSED] supported_formats=0x9 yuv420_allowed=0 [21:02:55] [PASSED] supported_formats=0x3 yuv420_allowed=1 [21:02:55] [PASSED] supported_formats=0x3 yuv420_allowed=0 [21:02:55] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [21:02:55] [PASSED] drm_test_connector_hdmi_init_null_ddc [21:02:55] [PASSED] drm_test_connector_hdmi_init_null_product [21:02:55] [PASSED] drm_test_connector_hdmi_init_null_vendor [21:02:55] [PASSED] drm_test_connector_hdmi_init_product_length_exact [21:02:55] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [21:02:55] [PASSED] drm_test_connector_hdmi_init_product_valid [21:02:55] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [21:02:55] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [21:02:55] [PASSED] drm_test_connector_hdmi_init_vendor_valid [21:02:55] ========= drm_test_connector_hdmi_init_type_valid ========= [21:02:55] [PASSED] HDMI-A [21:02:55] [PASSED] HDMI-B [21:02:55] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [21:02:55] ======== drm_test_connector_hdmi_init_type_invalid ======== [21:02:55] [PASSED] Unknown [21:02:55] [PASSED] VGA [21:02:55] [PASSED] DVI-I [21:02:55] [PASSED] DVI-D [21:02:55] [PASSED] DVI-A [21:02:55] [PASSED] Composite [21:02:55] [PASSED] SVIDEO [21:02:55] [PASSED] LVDS [21:02:55] [PASSED] Component [21:02:55] [PASSED] DIN [21:02:55] [PASSED] DP [21:02:55] [PASSED] TV [21:02:55] [PASSED] eDP [21:02:55] [PASSED] Virtual [21:02:55] [PASSED] DSI [21:02:55] [PASSED] DPI [21:02:55] [PASSED] Writeback [21:02:55] [PASSED] SPI [21:02:55] [PASSED] USB [21:02:55] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [21:02:55] ============ [PASSED] drmm_connector_hdmi_init ============= [21:02:55] ============= drmm_connector_init (3 subtests) ============= [21:02:55] [PASSED] drm_test_drmm_connector_init [21:02:55] [PASSED] drm_test_drmm_connector_init_null_ddc [21:02:55] ========= drm_test_drmm_connector_init_type_valid ========= [21:02:55] [PASSED] Unknown [21:02:55] [PASSED] VGA [21:02:55] [PASSED] DVI-I [21:02:55] [PASSED] DVI-D [21:02:55] [PASSED] DVI-A [21:02:55] [PASSED] Composite [21:02:55] [PASSED] SVIDEO [21:02:55] [PASSED] LVDS [21:02:55] [PASSED] Component [21:02:55] [PASSED] DIN [21:02:55] [PASSED] DP [21:02:55] [PASSED] HDMI-A [21:02:55] [PASSED] HDMI-B [21:02:55] [PASSED] TV [21:02:55] [PASSED] eDP [21:02:55] [PASSED] Virtual [21:02:55] [PASSED] DSI [21:02:55] [PASSED] DPI [21:02:55] [PASSED] Writeback [21:02:55] [PASSED] SPI [21:02:55] [PASSED] USB [21:02:55] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [21:02:55] =============== [PASSED] drmm_connector_init =============== [21:02:55] ========= drm_connector_dynamic_init (6 subtests) ========== [21:02:55] [PASSED] drm_test_drm_connector_dynamic_init [21:02:55] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [21:02:55] [PASSED] drm_test_drm_connector_dynamic_init_not_added [21:02:55] [PASSED] drm_test_drm_connector_dynamic_init_properties [21:02:55] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [21:02:55] [PASSED] Unknown [21:02:55] [PASSED] VGA [21:02:55] [PASSED] DVI-I [21:02:55] [PASSED] DVI-D [21:02:55] [PASSED] DVI-A [21:02:55] [PASSED] Composite [21:02:55] [PASSED] SVIDEO [21:02:55] [PASSED] LVDS [21:02:55] [PASSED] Component [21:02:55] [PASSED] DIN [21:02:55] [PASSED] DP [21:02:55] [PASSED] HDMI-A [21:02:55] [PASSED] HDMI-B [21:02:55] [PASSED] TV [21:02:55] [PASSED] eDP [21:02:55] [PASSED] Virtual [21:02:55] [PASSED] DSI [21:02:55] [PASSED] DPI [21:02:55] [PASSED] Writeback [21:02:55] [PASSED] SPI [21:02:55] [PASSED] USB [21:02:55] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [21:02:55] ======== drm_test_drm_connector_dynamic_init_name ========= [21:02:55] [PASSED] Unknown [21:02:55] [PASSED] VGA [21:02:55] [PASSED] DVI-I [21:02:55] [PASSED] DVI-D [21:02:55] [PASSED] DVI-A [21:02:55] [PASSED] Composite [21:02:55] [PASSED] SVIDEO [21:02:55] [PASSED] LVDS [21:02:55] [PASSED] Component [21:02:55] [PASSED] DIN [21:02:55] [PASSED] DP [21:02:55] [PASSED] HDMI-A [21:02:55] [PASSED] HDMI-B [21:02:55] [PASSED] TV [21:02:55] [PASSED] eDP [21:02:55] [PASSED] Virtual [21:02:55] [PASSED] DSI [21:02:55] [PASSED] DPI [21:02:55] [PASSED] Writeback [21:02:55] [PASSED] SPI [21:02:55] [PASSED] USB [21:02:55] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [21:02:55] =========== [PASSED] drm_connector_dynamic_init ============ [21:02:55] ==== drm_connector_dynamic_register_early (4 subtests) ===== [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [21:02:55] ====== [PASSED] drm_connector_dynamic_register_early ======= [21:02:55] ======= drm_connector_dynamic_register (7 subtests) ======== [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_on_list [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_no_init [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [21:02:55] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [21:02:55] ========= [PASSED] drm_connector_dynamic_register ========== [21:02:55] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [21:02:55] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [21:02:55] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [21:02:55] === [PASSED] drm_connector_attach_broadcast_rgb_property === [21:02:55] ========== drm_get_tv_mode_from_name (2 subtests) ========== [21:02:55] ========== drm_test_get_tv_mode_from_name_valid =========== [21:02:55] [PASSED] NTSC [21:02:55] [PASSED] NTSC-443 [21:02:55] [PASSED] NTSC-J [21:02:55] [PASSED] PAL [21:02:55] [PASSED] PAL-M [21:02:55] [PASSED] PAL-N [21:02:55] [PASSED] SECAM [21:02:55] [PASSED] Mono [21:02:55] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [21:02:55] [PASSED] drm_test_get_tv_mode_from_name_truncated [21:02:55] ============ [PASSED] drm_get_tv_mode_from_name ============ [21:02:55] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [21:02:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [21:02:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [21:02:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [21:02:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [21:02:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [21:02:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [21:02:55] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [21:02:55] [PASSED] VIC 96 [21:02:55] [PASSED] VIC 97 [21:02:55] [PASSED] VIC 101 [21:02:55] [PASSED] VIC 102 [21:02:55] [PASSED] VIC 106 [21:02:55] [PASSED] VIC 107 [21:02:55] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [21:02:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [21:02:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [21:02:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [21:02:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [21:02:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [21:02:55] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [21:02:55] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [21:02:55] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [21:02:55] [PASSED] Automatic [21:02:55] [PASSED] Full [21:02:55] [PASSED] Limited 16:235 [21:02:55] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [21:02:55] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [21:02:55] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [21:02:55] == drm_hdmi_connector_get_output_format_name (2 subtests) == [21:02:55] === drm_test_drm_hdmi_connector_get_output_format_name ==== [21:02:55] [PASSED] RGB [21:02:55] [PASSED] YUV 4:2:0 [21:02:55] [PASSED] YUV 4:2:2 [21:02:55] [PASSED] YUV 4:4:4 [21:02:55] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [21:02:55] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [21:02:55] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [21:02:55] ============= drm_damage_helper (21 subtests) ============== [21:02:55] [PASSED] drm_test_damage_iter_no_damage [21:02:55] [PASSED] drm_test_damage_iter_no_damage_fractional_src [21:02:55] [PASSED] drm_test_damage_iter_no_damage_src_moved [21:02:55] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [21:02:55] [PASSED] drm_test_damage_iter_no_damage_not_visible [21:02:55] [PASSED] drm_test_damage_iter_no_damage_no_crtc [21:02:55] [PASSED] drm_test_damage_iter_no_damage_no_fb [21:02:55] [PASSED] drm_test_damage_iter_simple_damage [21:02:55] [PASSED] drm_test_damage_iter_single_damage [21:02:55] [PASSED] drm_test_damage_iter_single_damage_intersect_src [21:02:55] [PASSED] drm_test_damage_iter_single_damage_outside_src [21:02:55] [PASSED] drm_test_damage_iter_single_damage_fractional_src [21:02:55] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [21:02:55] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [21:02:55] [PASSED] drm_test_damage_iter_single_damage_src_moved [21:02:55] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [21:02:55] [PASSED] drm_test_damage_iter_damage [21:02:55] [PASSED] drm_test_damage_iter_damage_one_intersect [21:02:55] [PASSED] drm_test_damage_iter_damage_one_outside [21:02:55] [PASSED] drm_test_damage_iter_damage_src_moved [21:02:55] [PASSED] drm_test_damage_iter_damage_not_visible [21:02:55] ================ [PASSED] drm_damage_helper ================ [21:02:55] ============== drm_dp_mst_helper (3 subtests) ============== [21:02:55] ============== drm_test_dp_mst_calc_pbn_mode ============== [21:02:55] [PASSED] Clock 154000 BPP 30 DSC disabled [21:02:55] [PASSED] Clock 234000 BPP 30 DSC disabled [21:02:55] [PASSED] Clock 297000 BPP 24 DSC disabled [21:02:55] [PASSED] Clock 332880 BPP 24 DSC enabled [21:02:55] [PASSED] Clock 324540 BPP 24 DSC enabled [21:02:55] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [21:02:55] ============== drm_test_dp_mst_calc_pbn_div =============== [21:02:55] [PASSED] Link rate 2000000 lane count 4 [21:02:55] [PASSED] Link rate 2000000 lane count 2 [21:02:55] [PASSED] Link rate 2000000 lane count 1 [21:02:55] [PASSED] Link rate 1350000 lane count 4 [21:02:55] [PASSED] Link rate 1350000 lane count 2 [21:02:55] [PASSED] Link rate 1350000 lane count 1 [21:02:55] [PASSED] Link rate 1000000 lane count 4 [21:02:55] [PASSED] Link rate 1000000 lane count 2 [21:02:55] [PASSED] Link rate 1000000 lane count 1 [21:02:55] [PASSED] Link rate 810000 lane count 4 [21:02:55] [PASSED] Link rate 810000 lane count 2 [21:02:55] [PASSED] Link rate 810000 lane count 1 [21:02:55] [PASSED] Link rate 540000 lane count 4 [21:02:55] [PASSED] Link rate 540000 lane count 2 [21:02:55] [PASSED] Link rate 540000 lane count 1 [21:02:55] [PASSED] Link rate 270000 lane count 4 [21:02:55] [PASSED] Link rate 270000 lane count 2 [21:02:55] [PASSED] Link rate 270000 lane count 1 [21:02:55] [PASSED] Link rate 162000 lane count 4 [21:02:55] [PASSED] Link rate 162000 lane count 2 [21:02:55] [PASSED] Link rate 162000 lane count 1 [21:02:55] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [21:02:55] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [21:02:55] [PASSED] DP_ENUM_PATH_RESOURCES with port number [21:02:55] [PASSED] DP_POWER_UP_PHY with port number [21:02:55] [PASSED] DP_POWER_DOWN_PHY with port number [21:02:55] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [21:02:55] [PASSED] DP_ALLOCATE_PAYLOAD with port number [21:02:55] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [21:02:55] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [21:02:55] [PASSED] DP_QUERY_PAYLOAD with port number [21:02:55] [PASSED] DP_QUERY_PAYLOAD with VCPI [21:02:55] [PASSED] DP_REMOTE_DPCD_READ with port number [21:02:55] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [21:02:55] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [21:02:55] [PASSED] DP_REMOTE_DPCD_WRITE with port number [21:02:55] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [21:02:55] [PASSED] DP_REMOTE_DPCD_WRITE with data array [21:02:55] [PASSED] DP_REMOTE_I2C_READ with port number [21:02:55] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [21:02:55] [PASSED] DP_REMOTE_I2C_READ with transactions array [21:02:55] [PASSED] DP_REMOTE_I2C_WRITE with port number [21:02:55] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [21:02:55] [PASSED] DP_REMOTE_I2C_WRITE with data array [21:02:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [21:02:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [21:02:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [21:02:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [21:02:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [21:02:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [21:02:55] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [21:02:55] ================ [PASSED] drm_dp_mst_helper ================ [21:02:55] ================== drm_exec (7 subtests) =================== [21:02:55] [PASSED] sanitycheck [21:02:55] [PASSED] test_lock [21:02:55] [PASSED] test_lock_unlock [21:02:55] [PASSED] test_duplicates [21:02:55] [PASSED] test_prepare [21:02:55] [PASSED] test_prepare_array [21:02:55] [PASSED] test_multiple_loops [21:02:55] ==================== [PASSED] drm_exec ===================== [21:02:55] =========== drm_format_helper_test (17 subtests) =========== [21:02:55] ============== drm_test_fb_xrgb8888_to_gray8 ============== [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [21:02:55] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [21:02:55] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [21:02:55] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [21:02:55] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [21:02:55] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [21:02:55] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [21:02:55] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [21:02:55] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [21:02:55] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [21:02:55] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [21:02:55] ============== drm_test_fb_xrgb8888_to_mono =============== [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [21:02:55] ==================== drm_test_fb_swab ===================== [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ================ [PASSED] drm_test_fb_swab ================= [21:02:55] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [21:02:55] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [21:02:55] [PASSED] single_pixel_source_buffer [21:02:55] [PASSED] single_pixel_clip_rectangle [21:02:55] [PASSED] well_known_colors [21:02:55] [PASSED] destination_pitch [21:02:55] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [21:02:55] ================= drm_test_fb_clip_offset ================= [21:02:55] [PASSED] pass through [21:02:55] [PASSED] horizontal offset [21:02:55] [PASSED] vertical offset [21:02:55] [PASSED] horizontal and vertical offset [21:02:55] [PASSED] horizontal offset (custom pitch) [21:02:55] [PASSED] vertical offset (custom pitch) [21:02:55] [PASSED] horizontal and vertical offset (custom pitch) [21:02:55] ============= [PASSED] drm_test_fb_clip_offset ============= [21:02:55] =================== drm_test_fb_memcpy ==================== [21:02:55] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [21:02:55] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [21:02:55] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [21:02:55] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [21:02:55] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [21:02:55] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [21:02:55] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [21:02:55] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [21:02:55] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [21:02:55] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [21:02:55] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [21:02:55] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [21:02:55] =============== [PASSED] drm_test_fb_memcpy ================ [21:02:55] ============= [PASSED] drm_format_helper_test ============== [21:02:55] ================= drm_format (18 subtests) ================= [21:02:55] [PASSED] drm_test_format_block_width_invalid [21:02:55] [PASSED] drm_test_format_block_width_one_plane [21:02:55] [PASSED] drm_test_format_block_width_two_plane [21:02:55] [PASSED] drm_test_format_block_width_three_plane [21:02:55] [PASSED] drm_test_format_block_width_tiled [21:02:55] [PASSED] drm_test_format_block_height_invalid [21:02:55] [PASSED] drm_test_format_block_height_one_plane [21:02:55] [PASSED] drm_test_format_block_height_two_plane [21:02:55] [PASSED] drm_test_format_block_height_three_plane [21:02:55] [PASSED] drm_test_format_block_height_tiled [21:02:55] [PASSED] drm_test_format_min_pitch_invalid [21:02:55] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [21:02:55] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [21:02:55] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [21:02:55] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [21:02:55] [PASSED] drm_test_format_min_pitch_two_plane [21:02:55] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [21:02:55] [PASSED] drm_test_format_min_pitch_tiled [21:02:55] =================== [PASSED] drm_format ==================== [21:02:55] ============== drm_framebuffer (10 subtests) =============== [21:02:55] ========== drm_test_framebuffer_check_src_coords ========== [21:02:55] [PASSED] Success: source fits into fb [21:02:55] [PASSED] Fail: overflowing fb with x-axis coordinate [21:02:55] [PASSED] Fail: overflowing fb with y-axis coordinate [21:02:55] [PASSED] Fail: overflowing fb with source width [21:02:55] [PASSED] Fail: overflowing fb with source height [21:02:55] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [21:02:55] [PASSED] drm_test_framebuffer_cleanup [21:02:55] =============== drm_test_framebuffer_create =============== [21:02:55] [PASSED] ABGR8888 normal sizes [21:02:55] [PASSED] ABGR8888 max sizes [21:02:55] [PASSED] ABGR8888 pitch greater than min required [21:02:55] [PASSED] ABGR8888 pitch less than min required [21:02:55] [PASSED] ABGR8888 Invalid width [21:02:55] [PASSED] ABGR8888 Invalid buffer handle [21:02:55] [PASSED] No pixel format [21:02:55] [PASSED] ABGR8888 Width 0 [21:02:55] [PASSED] ABGR8888 Height 0 [21:02:55] [PASSED] ABGR8888 Out of bound height * pitch combination [21:02:55] [PASSED] ABGR8888 Large buffer offset [21:02:55] [PASSED] ABGR8888 Buffer offset for inexistent plane [21:02:55] [PASSED] ABGR8888 Invalid flag [21:02:55] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [21:02:55] [PASSED] ABGR8888 Valid buffer modifier [21:02:55] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [21:02:55] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [21:02:55] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [21:02:55] [PASSED] NV12 Normal sizes [21:02:55] [PASSED] NV12 Max sizes [21:02:55] [PASSED] NV12 Invalid pitch [21:02:55] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [21:02:55] [PASSED] NV12 different modifier per-plane [21:02:55] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [21:02:55] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [21:02:55] [PASSED] NV12 Modifier for inexistent plane [21:02:55] [PASSED] NV12 Handle for inexistent plane [21:02:55] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [21:02:55] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [21:02:55] [PASSED] YVU420 Normal sizes [21:02:55] [PASSED] YVU420 Max sizes [21:02:55] [PASSED] YVU420 Invalid pitch [21:02:55] [PASSED] YVU420 Different pitches [21:02:55] [PASSED] YVU420 Different buffer offsets/pitches [21:02:55] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [21:02:55] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [21:02:55] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [21:02:55] [PASSED] YVU420 Valid modifier [21:02:55] [PASSED] YVU420 Different modifiers per plane [21:02:55] [PASSED] YVU420 Modifier for inexistent plane [21:02:55] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [21:02:55] [PASSED] X0L2 Normal sizes [21:02:55] [PASSED] X0L2 Max sizes [21:02:55] [PASSED] X0L2 Invalid pitch [21:02:55] [PASSED] X0L2 Pitch greater than minimum required [21:02:55] [PASSED] X0L2 Handle for inexistent plane [21:02:55] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [21:02:55] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [21:02:55] [PASSED] X0L2 Valid modifier [21:02:55] [PASSED] X0L2 Modifier for inexistent plane [21:02:55] =========== [PASSED] drm_test_framebuffer_create =========== [21:02:55] [PASSED] drm_test_framebuffer_free [21:02:55] [PASSED] drm_test_framebuffer_init [21:02:55] [PASSED] drm_test_framebuffer_init_bad_format [21:02:55] [PASSED] drm_test_framebuffer_init_dev_mismatch [21:02:55] [PASSED] drm_test_framebuffer_lookup [21:02:55] [PASSED] drm_test_framebuffer_lookup_inexistent [21:02:55] [PASSED] drm_test_framebuffer_modifiers_not_supported [21:02:55] ================= [PASSED] drm_framebuffer ================= [21:02:55] ================ drm_gem_shmem (8 subtests) ================ [21:02:55] [PASSED] drm_gem_shmem_test_obj_create [21:02:55] [PASSED] drm_gem_shmem_test_obj_create_private [21:02:55] [PASSED] drm_gem_shmem_test_pin_pages [21:02:55] [PASSED] drm_gem_shmem_test_vmap [21:02:55] [PASSED] drm_gem_shmem_test_get_sg_table [21:02:55] [PASSED] drm_gem_shmem_test_get_pages_sgt [21:02:55] [PASSED] drm_gem_shmem_test_madvise [21:02:55] [PASSED] drm_gem_shmem_test_purge [21:02:55] ================== [PASSED] drm_gem_shmem ================== [21:02:55] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [21:02:55] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [21:02:55] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [21:02:55] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [21:02:55] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [21:02:55] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [21:02:55] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [21:02:55] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [21:02:55] [PASSED] Automatic [21:02:55] [PASSED] Full [21:02:55] [PASSED] Limited 16:235 [21:02:55] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [21:02:55] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [21:02:55] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [21:02:55] [PASSED] drm_test_check_disable_connector [21:02:55] [PASSED] drm_test_check_hdmi_funcs_reject_rate [21:02:55] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [21:02:55] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [21:02:55] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [21:02:55] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [21:02:55] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [21:02:55] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [21:02:55] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [21:02:55] [PASSED] drm_test_check_output_bpc_dvi [21:02:55] [PASSED] drm_test_check_output_bpc_format_vic_1 [21:02:55] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [21:02:55] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [21:02:55] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [21:02:55] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [21:02:55] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [21:02:55] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [21:02:55] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [21:02:55] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [21:02:55] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [21:02:55] [PASSED] drm_test_check_broadcast_rgb_value [21:02:55] [PASSED] drm_test_check_bpc_8_value [21:02:55] [PASSED] drm_test_check_bpc_10_value [21:02:55] [PASSED] drm_test_check_bpc_12_value [21:02:55] [PASSED] drm_test_check_format_value [21:02:55] [PASSED] drm_test_check_tmds_char_value [21:02:55] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [21:02:55] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [21:02:55] [PASSED] drm_test_check_mode_valid [21:02:55] [PASSED] drm_test_check_mode_valid_reject [21:02:55] [PASSED] drm_test_check_mode_valid_reject_rate [21:02:55] [PASSED] drm_test_check_mode_valid_reject_max_clock [21:02:55] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [21:02:55] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [21:02:55] [PASSED] drm_test_check_infoframes [21:02:55] [PASSED] drm_test_check_reject_avi_infoframe [21:02:55] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [21:02:55] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [21:02:55] [PASSED] drm_test_check_reject_audio_infoframe [21:02:55] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [21:02:55] ================= drm_managed (2 subtests) ================= [21:02:55] [PASSED] drm_test_managed_release_action [21:02:55] [PASSED] drm_test_managed_run_action [21:02:55] =================== [PASSED] drm_managed =================== [21:02:55] =================== drm_mm (6 subtests) ==================== [21:02:55] [PASSED] drm_test_mm_init [21:02:55] [PASSED] drm_test_mm_debug [21:02:55] [PASSED] drm_test_mm_align32 [21:02:55] [PASSED] drm_test_mm_align64 [21:02:55] [PASSED] drm_test_mm_lowest [21:02:55] [PASSED] drm_test_mm_highest [21:02:55] ===================== [PASSED] drm_mm ====================== [21:02:55] ============= drm_modes_analog_tv (5 subtests) ============= [21:02:55] [PASSED] drm_test_modes_analog_tv_mono_576i [21:02:55] [PASSED] drm_test_modes_analog_tv_ntsc_480i [21:02:55] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [21:02:55] [PASSED] drm_test_modes_analog_tv_pal_576i [21:02:55] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [21:02:55] =============== [PASSED] drm_modes_analog_tv =============== [21:02:55] ============== drm_plane_helper (2 subtests) =============== [21:02:55] =============== drm_test_check_plane_state ================ [21:02:55] [PASSED] clipping_simple [21:02:55] [PASSED] clipping_rotate_reflect [21:02:55] [PASSED] positioning_simple [21:02:55] [PASSED] upscaling [21:02:55] [PASSED] downscaling [21:02:55] [PASSED] rounding1 [21:02:55] [PASSED] rounding2 [21:02:55] [PASSED] rounding3 [21:02:55] [PASSED] rounding4 [21:02:55] =========== [PASSED] drm_test_check_plane_state ============ [21:02:55] =========== drm_test_check_invalid_plane_state ============ [21:02:55] [PASSED] positioning_invalid [21:02:55] [PASSED] upscaling_invalid [21:02:55] [PASSED] downscaling_invalid [21:02:55] ======= [PASSED] drm_test_check_invalid_plane_state ======== [21:02:55] ================ [PASSED] drm_plane_helper ================= [21:02:55] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [21:02:55] ====== drm_test_connector_helper_tv_get_modes_check ======= [21:02:55] [PASSED] None [21:02:55] [PASSED] PAL [21:02:55] [PASSED] NTSC [21:02:55] [PASSED] Both, NTSC Default [21:02:55] [PASSED] Both, PAL Default [21:02:55] [PASSED] Both, NTSC Default, with PAL on command-line [21:02:55] [PASSED] Both, PAL Default, with NTSC on command-line [21:02:55] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [21:02:55] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [21:02:55] ================== drm_rect (9 subtests) =================== [21:02:55] [PASSED] drm_test_rect_clip_scaled_div_by_zero [21:02:55] [PASSED] drm_test_rect_clip_scaled_not_clipped [21:02:55] [PASSED] drm_test_rect_clip_scaled_clipped [21:02:55] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [21:02:55] ================= drm_test_rect_intersect ================= [21:02:55] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [21:02:55] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [21:02:55] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [21:02:55] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [21:02:55] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [21:02:55] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [21:02:55] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [21:02:55] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [21:02:55] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [21:02:55] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [21:02:55] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [21:02:55] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [21:02:55] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [21:02:55] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [21:02:55] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [21:02:55] ============= [PASSED] drm_test_rect_intersect ============= [21:02:55] ================ drm_test_rect_calc_hscale ================ [21:02:55] [PASSED] normal use [21:02:55] [PASSED] out of max range [21:02:55] [PASSED] out of min range [21:02:55] [PASSED] zero dst [21:02:55] [PASSED] negative src [21:02:55] [PASSED] negative dst [21:02:55] ============ [PASSED] drm_test_rect_calc_hscale ============ [21:02:55] ================ drm_test_rect_calc_vscale ================ [21:02:55] [PASSED] normal use [21:02:55] [PASSED] out of max range [21:02:55] [PASSED] out of min range [21:02:55] [PASSED] zero dst [21:02:55] [PASSED] negative src [21:02:55] [PASSED] negative dst stty: 'standard input': Inappropriate ioctl for device [21:02:55] ============ [PASSED] drm_test_rect_calc_vscale ============ [21:02:55] ================== drm_test_rect_rotate =================== [21:02:55] [PASSED] reflect-x [21:02:55] [PASSED] reflect-y [21:02:55] [PASSED] rotate-0 [21:02:55] [PASSED] rotate-90 [21:02:55] [PASSED] rotate-180 [21:02:55] [PASSED] rotate-270 [21:02:55] ============== [PASSED] drm_test_rect_rotate =============== [21:02:55] ================ drm_test_rect_rotate_inv ================= [21:02:55] [PASSED] reflect-x [21:02:55] [PASSED] reflect-y [21:02:55] [PASSED] rotate-0 [21:02:55] [PASSED] rotate-90 [21:02:55] [PASSED] rotate-180 [21:02:55] [PASSED] rotate-270 [21:02:55] ============ [PASSED] drm_test_rect_rotate_inv ============= [21:02:55] ==================== [PASSED] drm_rect ===================== [21:02:55] ============ drm_sysfb_modeset_test (1 subtest) ============ [21:02:55] ============ drm_test_sysfb_build_fourcc_list ============= [21:02:55] [PASSED] no native formats [21:02:55] [PASSED] XRGB8888 as native format [21:02:55] [PASSED] remove duplicates [21:02:55] [PASSED] convert alpha formats [21:02:55] [PASSED] random formats [21:02:55] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [21:02:55] ============= [PASSED] drm_sysfb_modeset_test ============== [21:02:55] ================== drm_fixp (2 subtests) =================== [21:02:55] [PASSED] drm_test_int2fixp [21:02:55] [PASSED] drm_test_sm2fixp [21:02:55] ==================== [PASSED] drm_fixp ===================== [21:02:55] ============================================================ [21:02:55] Testing complete. Ran 621 tests: passed: 621 [21:02:55] Elapsed time: 26.287s total, 1.749s configuring, 24.372s building, 0.132s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [21:02:56] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [21:02:57] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [21:03:07] Starting KUnit Kernel (1/1)... [21:03:07] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [21:03:07] ================= ttm_device (5 subtests) ================== [21:03:07] [PASSED] ttm_device_init_basic [21:03:07] [PASSED] ttm_device_init_multiple [21:03:07] [PASSED] ttm_device_fini_basic [21:03:07] [PASSED] ttm_device_init_no_vma_man [21:03:07] ================== ttm_device_init_pools ================== [21:03:07] [PASSED] No DMA allocations, no DMA32 required [21:03:07] [PASSED] DMA allocations, DMA32 required [21:03:07] [PASSED] No DMA allocations, DMA32 required [21:03:07] [PASSED] DMA allocations, no DMA32 required [21:03:07] ============== [PASSED] ttm_device_init_pools ============== [21:03:07] =================== [PASSED] ttm_device ==================== [21:03:07] ================== ttm_pool (8 subtests) =================== [21:03:07] ================== ttm_pool_alloc_basic =================== [21:03:07] [PASSED] One page [21:03:07] [PASSED] More than one page [21:03:07] [PASSED] Above the allocation limit [21:03:07] [PASSED] One page, with coherent DMA mappings enabled [21:03:07] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [21:03:07] ============== [PASSED] ttm_pool_alloc_basic =============== [21:03:07] ============== ttm_pool_alloc_basic_dma_addr ============== [21:03:07] [PASSED] One page [21:03:07] [PASSED] More than one page [21:03:07] [PASSED] Above the allocation limit [21:03:07] [PASSED] One page, with coherent DMA mappings enabled [21:03:07] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [21:03:07] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [21:03:07] [PASSED] ttm_pool_alloc_order_caching_match [21:03:07] [PASSED] ttm_pool_alloc_caching_mismatch [21:03:07] [PASSED] ttm_pool_alloc_order_mismatch [21:03:07] [PASSED] ttm_pool_free_dma_alloc [21:03:07] [PASSED] ttm_pool_free_no_dma_alloc [21:03:07] [PASSED] ttm_pool_fini_basic [21:03:07] ==================== [PASSED] ttm_pool ===================== [21:03:07] ================ ttm_resource (8 subtests) ================= [21:03:07] ================= ttm_resource_init_basic ================= [21:03:07] [PASSED] Init resource in TTM_PL_SYSTEM [21:03:07] [PASSED] Init resource in TTM_PL_VRAM [21:03:07] [PASSED] Init resource in a private placement [21:03:07] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [21:03:07] ============= [PASSED] ttm_resource_init_basic ============= [21:03:07] [PASSED] ttm_resource_init_pinned [21:03:07] [PASSED] ttm_resource_fini_basic [21:03:07] [PASSED] ttm_resource_manager_init_basic [21:03:07] [PASSED] ttm_resource_manager_usage_basic [21:03:07] [PASSED] ttm_resource_manager_set_used_basic [21:03:07] [PASSED] ttm_sys_man_alloc_basic [21:03:07] [PASSED] ttm_sys_man_free_basic [21:03:07] ================== [PASSED] ttm_resource =================== [21:03:07] =================== ttm_tt (15 subtests) =================== [21:03:07] ==================== ttm_tt_init_basic ==================== [21:03:07] [PASSED] Page-aligned size [21:03:07] [PASSED] Extra pages requested [21:03:07] ================ [PASSED] ttm_tt_init_basic ================ [21:03:07] [PASSED] ttm_tt_init_misaligned [21:03:07] [PASSED] ttm_tt_fini_basic [21:03:07] [PASSED] ttm_tt_fini_sg [21:03:07] [PASSED] ttm_tt_fini_shmem [21:03:07] [PASSED] ttm_tt_create_basic [21:03:07] [PASSED] ttm_tt_create_invalid_bo_type [21:03:07] [PASSED] ttm_tt_create_ttm_exists [21:03:07] [PASSED] ttm_tt_create_failed [21:03:07] [PASSED] ttm_tt_destroy_basic [21:03:07] [PASSED] ttm_tt_populate_null_ttm [21:03:07] [PASSED] ttm_tt_populate_populated_ttm [21:03:07] [PASSED] ttm_tt_unpopulate_basic [21:03:07] [PASSED] ttm_tt_unpopulate_empty_ttm [21:03:07] [PASSED] ttm_tt_swapin_basic [21:03:07] ===================== [PASSED] ttm_tt ====================== [21:03:07] =================== ttm_bo (14 subtests) =================== [21:03:07] =========== ttm_bo_reserve_optimistic_no_ticket =========== [21:03:07] [PASSED] Cannot be interrupted and sleeps [21:03:07] [PASSED] Cannot be interrupted, locks straight away [21:03:07] [PASSED] Can be interrupted, sleeps [21:03:07] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [21:03:07] [PASSED] ttm_bo_reserve_locked_no_sleep [21:03:07] [PASSED] ttm_bo_reserve_no_wait_ticket [21:03:07] [PASSED] ttm_bo_reserve_double_resv [21:03:07] [PASSED] ttm_bo_reserve_interrupted [21:03:07] [PASSED] ttm_bo_reserve_deadlock [21:03:07] [PASSED] ttm_bo_unreserve_basic [21:03:07] [PASSED] ttm_bo_unreserve_pinned [21:03:07] [PASSED] ttm_bo_unreserve_bulk [21:03:07] [PASSED] ttm_bo_fini_basic [21:03:07] [PASSED] ttm_bo_fini_shared_resv [21:03:07] [PASSED] ttm_bo_pin_basic [21:03:07] [PASSED] ttm_bo_pin_unpin_resource [21:03:07] [PASSED] ttm_bo_multiple_pin_one_unpin [21:03:07] ===================== [PASSED] ttm_bo ====================== [21:03:07] ============== ttm_bo_validate (22 subtests) =============== [21:03:07] ============== ttm_bo_init_reserved_sys_man =============== [21:03:07] [PASSED] Buffer object for userspace [21:03:07] [PASSED] Kernel buffer object [21:03:07] [PASSED] Shared buffer object [21:03:07] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [21:03:07] ============== ttm_bo_init_reserved_mock_man ============== [21:03:07] [PASSED] Buffer object for userspace [21:03:07] [PASSED] Kernel buffer object [21:03:07] [PASSED] Shared buffer object [21:03:07] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [21:03:07] [PASSED] ttm_bo_init_reserved_resv [21:03:07] ================== ttm_bo_validate_basic ================== [21:03:07] [PASSED] Buffer object for userspace [21:03:07] [PASSED] Kernel buffer object [21:03:07] [PASSED] Shared buffer object [21:03:07] ============== [PASSED] ttm_bo_validate_basic ============== [21:03:07] [PASSED] ttm_bo_validate_invalid_placement [21:03:07] ============= ttm_bo_validate_same_placement ============== [21:03:07] [PASSED] System manager [21:03:07] [PASSED] VRAM manager [21:03:07] ========= [PASSED] ttm_bo_validate_same_placement ========== [21:03:07] [PASSED] ttm_bo_validate_failed_alloc [21:03:07] [PASSED] ttm_bo_validate_pinned [21:03:07] [PASSED] ttm_bo_validate_busy_placement [21:03:07] ================ ttm_bo_validate_multihop ================= [21:03:07] [PASSED] Buffer object for userspace [21:03:07] [PASSED] Kernel buffer object [21:03:07] [PASSED] Shared buffer object [21:03:07] ============ [PASSED] ttm_bo_validate_multihop ============= [21:03:07] ========== ttm_bo_validate_no_placement_signaled ========== [21:03:07] [PASSED] Buffer object in system domain, no page vector [21:03:07] [PASSED] Buffer object in system domain with an existing page vector [21:03:07] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [21:03:07] ======== ttm_bo_validate_no_placement_not_signaled ======== [21:03:07] [PASSED] Buffer object for userspace [21:03:07] [PASSED] Kernel buffer object [21:03:07] [PASSED] Shared buffer object [21:03:07] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [21:03:07] [PASSED] ttm_bo_validate_move_fence_signaled [21:03:07] ========= ttm_bo_validate_move_fence_not_signaled ========= [21:03:07] [PASSED] Waits for GPU [21:03:07] [PASSED] Tries to lock straight away [21:03:07] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [21:03:07] [PASSED] ttm_bo_validate_swapout [21:03:07] [PASSED] ttm_bo_validate_happy_evict [21:03:07] [PASSED] ttm_bo_validate_all_pinned_evict [21:03:07] [PASSED] ttm_bo_validate_allowed_only_evict [21:03:07] [PASSED] ttm_bo_validate_deleted_evict [21:03:07] [PASSED] ttm_bo_validate_busy_domain_evict [21:03:07] [PASSED] ttm_bo_validate_evict_gutting [21:03:07] [PASSED] ttm_bo_validate_recrusive_evict stty: 'standard input': Inappropriate ioctl for device [21:03:07] ================= [PASSED] ttm_bo_validate ================= [21:03:07] ============================================================ [21:03:07] Testing complete. Ran 102 tests: passed: 102 [21:03:07] Elapsed time: 11.278s total, 1.703s configuring, 9.358s building, 0.179s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ i915.CI.BAT: success for rust: interop: Add list module for C linked list interface (rev2)
In reply to Joel Fernandes== Series Details ==
== Series Details ==
Series: rust: interop: Add list module for C linked list interface (rev2)
URL : https://patchwork.freedesktop.org/series/162792/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_18167 -> Patchwork_162792v2
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_162792v2/index.html
Participating hosts (42 -> 40)
------------------------------
Missing (2): bat-dg2-13 fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_162792v2 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@i915_selftest@live@workarounds:
- bat-dg2-14: [DMESG-FAIL][1] ([i915#12061]) -> [PASS][2] +1 other test pass
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18167/bat-dg2-14/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_162792v2/bat-dg2-14/igt@i915_selftest@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- fi-kbl-7567u: [SKIP][3] -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_18167/fi-kbl-7567u/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_162792v2/fi-kbl-7567u/igt@[email protected]
[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
Build changes
-------------
* Linux: CI_DRM_18167 -> Patchwork_162792v2
CI-20190529: 20190529
CI_DRM_18167: 90a49598c224945b556bee26d693fade1b8bdb3a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8807: 7f44d96d705f1583d689f1f8c2275b685b4ca11d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_162792v2: 90a49598c224945b556bee26d693fade1b8bdb3a @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_162792v2/index.html
Patchwork
CI✓ Xe.CI.BAT: success for rust: interop: Add list module for C linked list interface (rev2)
In reply to Joel Fernandes== Series Details ==
== Series Details ==
Series: rust: interop: Add list module for C linked list interface (rev2)
URL : https://patchwork.freedesktop.org/series/162794/
State : success
== Summary ==
CI Bug Log - changes from xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a_BAT -> xe-pw-162794v2_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (13 -> 14)
------------------------------
Additional (1): bat-adlp-7
Known issues
------------
Here are the changes found in xe-pw-162794v2_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_dsc@dsc-basic:
- bat-adlp-7: NOTRUN -> [SKIP][1] ([Intel XE#2244] / [Intel XE#455])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
* igt@kms_flip@basic-flip-vs-dpms:
- bat-adlp-7: NOTRUN -> [DMESG-WARN][2] ([Intel XE#7483]) +12 other tests dmesg-warn
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
* igt@xe_evict@evict-beng-small:
- bat-adlp-7: NOTRUN -> [SKIP][3] ([Intel XE#261] / [Intel XE#5564] / [Intel XE#688]) +9 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
* igt@xe_evict_ccs@evict-overcommit-parallel-nofree-samefd:
- bat-adlp-7: NOTRUN -> [SKIP][4] ([Intel XE#5563] / [Intel XE#688]) +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
* igt@xe_exec_balancer@twice-cm-virtual-userptr:
- bat-adlp-7: NOTRUN -> [SKIP][5] ([Intel XE#7482]) +17 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
* igt@xe_exec_fault_mode@twice-rebind-prefetch:
- bat-adlp-7: NOTRUN -> [SKIP][6] ([Intel XE#288] / [Intel XE#5561]) +32 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
* igt@xe_live_ktest@xe_bo:
- bat-adlp-7: NOTRUN -> [SKIP][7] ([Intel XE#2229] / [Intel XE#455]) +2 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@xe_live_ktest@xe_bo.html
* igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
- bat-adlp-7: NOTRUN -> [SKIP][8] ([Intel XE#2229] / [Intel XE#5488])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html
* igt@xe_mmap@vram:
- bat-adlp-7: NOTRUN -> [SKIP][9] ([Intel XE#1008] / [Intel XE#5591])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
* igt@xe_pat@pat-index-xe2:
- bat-adlp-7: NOTRUN -> [SKIP][10] ([Intel XE#977])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
* igt@xe_pat@pat-index-xehpc:
- bat-adlp-7: NOTRUN -> [SKIP][11] ([Intel XE#2838] / [Intel XE#979])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- bat-adlp-7: NOTRUN -> [SKIP][12] ([Intel XE#979])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-adlp-7/igt@[email protected]
#### Possible fixes ####
* igt@xe_waitfence@abstime:
- bat-dg2-oem2: [TIMEOUT][13] ([Intel XE#6506]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/bat-dg2-oem2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-dg2-oem2/igt@[email protected]
* igt@xe_waitfence@engine:
- bat-dg2-oem2: [FAIL][15] ([Intel XE#6519]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/bat-dg2-oem2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-dg2-oem2/igt@[email protected]
* igt@xe_waitfence@reltime:
- bat-dg2-oem2: [FAIL][17] ([Intel XE#6520]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/bat-dg2-oem2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/bat-dg2-oem2/igt@[email protected]
[Intel XE#1008]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1008
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#261]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/261
[Intel XE#2838]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2838
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#5488]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5488
[Intel XE#5561]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5561
[Intel XE#5563]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5563
[Intel XE#5564]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5564
[Intel XE#5591]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5591
[Intel XE#6506]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6506
[Intel XE#6519]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6519
[Intel XE#6520]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6520
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7483]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7483
[Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977
[Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979
Build changes
-------------
* Linux: xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a -> xe-pw-162794v2
IGT_8807: 7f44d96d705f1583d689f1f8c2275b685b4ca11d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a: 90a49598c224945b556bee26d693fade1b8bdb3a
xe-pw-162794v2: 162794v2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/index.html
Patchwork
CI✗ Fi.CI.BUILD: failure for rust: interop: Add list module for C linked list interface (rev3)
In reply to Joel Fernandes== Series Details ==
== Series Details ==
Series: rust: interop: Add list module for C linked list interface (rev3)
URL : https://patchwork.freedesktop.org/series/162792/
State : failure
== Summary ==
Error: patch https://patchwork.freedesktop.org/api/1.0/series/162792/revisions/3/mbox/ not applied
Applying: rust: interop: Add list module for C linked list interface
error: sha1 information is lacking or useless (rust/kernel/interop/list.rs).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 rust: interop: Add list module for C linked list interface When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced
Patchwork
CI✓ Xe.CI.FULL: success for rust: interop: Add list module for C linked list interface (rev2)
In reply to Joel Fernandes== Series Details ==
== Series Details ==
Series: rust: interop: Add list module for C linked list interface (rev2)
URL : https://patchwork.freedesktop.org/series/162794/
State : success
== Summary ==
CI Bug Log - changes from xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a_FULL -> xe-pw-162794v2_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-162794v2_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@hotreplug:
- shard-bmg: [PASS][1] -> [ABORT][2] ([Intel XE#7578])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-9/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-7/igt@[email protected]
* igt@kms_atomic_transition@plane-all-modeset-transition:
- shard-bmg: [PASS][3] -> [INCOMPLETE][4] ([Intel XE#2705] / [Intel XE#6819]) +1 other test incomplete
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-2/igt@[email protected]
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#2370])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html
* igt@kms_big_fb@linear-32bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2327]) +2 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#607] / [Intel XE#7361])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#1124]) +4 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-9/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2314] / [Intel XE#2894] / [Intel XE#7373])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-9/igt@[email protected]
* igt@kms_bw@linear-tiling-3-displays-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#367] / [Intel XE#7354])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-4-tiled-dg2-mc-ccs:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#2887]) +7 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-lnl-ccs@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#2652]) +3 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-3/igt@kms_ccs@[email protected]
* igt@kms_chamelium_hpd@hdmi-hpd-after-suspend:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2252]) +3 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_content_protection@atomic-dpms-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][14] ([Intel XE#3304] / [Intel XE#7374])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-10/igt@kms_content_protection@[email protected]
* igt@kms_content_protection@content-type-change:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2341])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][16] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +4 other tests fail
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-10/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-onscreen-512x170:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#2321] / [Intel XE#7355])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-32x32:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2320]) +2 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-4/igt@[email protected]
* igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic:
- shard-bmg: [PASS][19] -> [SKIP][20] ([Intel XE#2291]) +2 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-4/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-5/igt@[email protected]
* igt@kms_dp_link_training@non-uhbr-mst:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#4354] / [Intel XE#5882])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_dp_link_training@non-uhbr-sst:
- shard-bmg: [PASS][22] -> [SKIP][23] ([Intel XE#4354])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-9/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-5/igt@[email protected]
* igt@kms_dp_linktrain_fallback@dp-fallback:
- shard-bmg: [PASS][24] -> [SKIP][25] ([Intel XE#4294])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-4/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-5/igt@[email protected]
* igt@kms_fbcon_fbt@fbc:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#4156] / [Intel XE#7425])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_flip@2x-flip-vs-dpms-on-nop-interruptible:
- shard-bmg: [PASS][27] -> [SKIP][28] ([Intel XE#2316]) +6 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-1/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-5/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
- shard-lnl: [PASS][29] -> [FAIL][30] ([Intel XE#301] / [Intel XE#3149])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-lnl-6/igt@kms_flip@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-lnl-4/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-move:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#2311]) +13 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#4141]) +7 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-1p-offscreen-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-rte:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#2313]) +11 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#2352] / [Intel XE#7399])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-9/igt@[email protected]
* igt@kms_joiner@basic-max-non-joiner:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#4298] / [Intel XE#5873])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_joiner@switch-modeset-ultra-joiner-big-joiner:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#4090] / [Intel XE#7443])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_panel_fitting@legacy:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#2486])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_plane@pixel-format-y-tiled-ccs-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#7283]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#5021] / [Intel XE#7377])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_pm_dc@dc5-psr:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#2392] / [Intel XE#6927])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_pm_lpsp@kms-lpsp:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#2499])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_pm_rpm@package-g7:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#6814] / [Intel XE#7428])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-exceed-fully-sf:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#1489]) +1 other test skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr2_su@page_flip-nv12:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#2387] / [Intel XE#7429])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-4/igt@kms_psr2_su@page_flip-nv12.html
* igt@kms_psr@fbc-psr2-primary-page-flip:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#2234] / [Intel XE#2850]) +3 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_psr_stress_test@invalidate-primary-flip-overlay:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#1406] / [Intel XE#2414])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-4/igt@[email protected]
* igt@kms_rotation_crc@primary-rotation-270:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_scaling_modes@scaling-mode-full:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#2413])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_vrr@max-min:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#1499]) +1 other test skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-4/igt@[email protected]
* igt@xe_eudebug@basic-vm-bind:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#4837]) +2 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@xe_eudebug_online@interrupt-all:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#4837] / [Intel XE#6665])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-4/igt@[email protected]
* igt@xe_eudebug_online@pagefault-read-stress:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#6665] / [Intel XE#6681])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@xe_exec_basic@multigpu-once-null-rebind:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#2322] / [Intel XE#7372]) +3 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-4/igt@[email protected]
* igt@xe_exec_fault_mode@many-execqueues-multi-queue-imm:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#7136]) +6 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#6874]) +13 other tests skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-4/igt@xe_exec_multi_queue@many-execs-preempt-mode-fault-userptr-invalidate.html
* igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#7138]) +3 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race.html
* igt@xe_pat@pat-index-xehpc:
- shard-bmg: NOTRUN -> [SKIP][58] ([Intel XE#1420])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-4/igt@[email protected]
* igt@xe_pm@d3hot-multiple-execs:
- shard-lnl: [PASS][59] -> [TIMEOUT][60] ([Intel XE#7180])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-lnl-4/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-lnl-3/igt@[email protected]
* igt@xe_pxp@pxp-stale-bo-exec-post-termination-irq:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#4733] / [Intel XE#7417])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@xe_query@multigpu-query-uc-fw-version-huc:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#944])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
#### Possible fixes ####
* igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy:
- shard-bmg: [SKIP][63] ([Intel XE#2291]) -> [PASS][64] +2 other tests pass
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-10/igt@[email protected]
* igt@kms_flip@2x-flip-vs-rmfb-interruptible:
- shard-bmg: [SKIP][65] ([Intel XE#2316]) -> [PASS][66] +2 other tests pass
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [FAIL][67] ([Intel XE#301]) -> [PASS][68] +2 other tests pass
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-lnl-6/igt@kms_flip@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-lnl-4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-rmfb:
- shard-bmg: [ABORT][69] -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-2/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-9/igt@[email protected]
* igt@kms_flip@flip-vs-rmfb@b-hdmi-a3:
- shard-bmg: [ABORT][71] ([Intel XE#5545] / [Intel XE#6652]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-2/igt@kms_flip@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-9/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-bmg: [INCOMPLETE][73] ([Intel XE#2049] / [Intel XE#2597]) -> [PASS][74] +1 other test pass
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-8/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-6/igt@[email protected]
* igt@kms_hdr@static-toggle:
- shard-bmg: [SKIP][75] ([Intel XE#1503]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-10/igt@[email protected]
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][77] ([Intel XE#6321]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-9/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-5/igt@[email protected]
* igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-single-vma:
- shard-lnl: [FAIL][79] ([Intel XE#5625]) -> [PASS][80]
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-lnl-2/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-single-vma.html
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-lnl-5/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-single-vma.html
#### Warnings ####
* igt@kms_content_protection@atomic:
- shard-bmg: [SKIP][81] ([Intel XE#2341]) -> [FAIL][82] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +1 other test fail
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-3/igt@[email protected]
* igt@kms_content_protection@atomic-dpms-hdcp14:
- shard-bmg: [SKIP][83] ([Intel XE#7194]) -> [FAIL][84] ([Intel XE#3304] / [Intel XE#7374])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-10/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-bmg: [FAIL][85] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) -> [SKIP][86] ([Intel XE#2341]) +1 other test skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-9/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-5/igt@[email protected]
* igt@kms_content_protection@lic-type-0-hdcp14:
- shard-bmg: [SKIP][87] ([Intel XE#7194]) -> [FAIL][88] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-10/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [FAIL][89] ([Intel XE#301]) -> [FAIL][90] ([Intel XE#301] / [Intel XE#3149])
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-lnl-6/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-lnl-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-indfb-pgflip-blt:
- shard-bmg: [SKIP][91] ([Intel XE#2312]) -> [SKIP][92] ([Intel XE#2311]) +7 other tests skip
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][93] ([Intel XE#2312]) -> [SKIP][94] ([Intel XE#4141]) +3 other tests skip
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-wc.html
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-10/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render:
- shard-bmg: [SKIP][95] ([Intel XE#4141]) -> [SKIP][96] ([Intel XE#2312]) +7 other tests skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-1/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render.html
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-pri-shrfb-draw-render:
- shard-bmg: [SKIP][97] ([Intel XE#2311]) -> [SKIP][98] ([Intel XE#2312]) +12 other tests skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-4/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-pri-shrfb-draw-render.html
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-cur-indfb-onoff:
- shard-bmg: [SKIP][99] ([Intel XE#2313]) -> [SKIP][100] ([Intel XE#2312]) +11 other tests skip
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-4/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][101] ([Intel XE#2312]) -> [SKIP][102] ([Intel XE#2313]) +9 other tests skip
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a/shard-bmg-5/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc.html
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/shard-bmg-3/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc.html
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2352
[Intel XE#2370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2370
[Intel XE#2387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2387
[Intel XE#2392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2392
[Intel XE#2413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2413
[Intel XE#2414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2414
[Intel XE#2486]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2486
[Intel XE#2499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2499
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2705]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2705
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4090]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4090
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4156]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4156
[Intel XE#4294]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4294
[Intel XE#4298]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4298
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
[Intel XE#5545]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5545
[Intel XE#5625]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5625
[Intel XE#5873]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5873
[Intel XE#5882]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5882
[Intel XE#607]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/607
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6652
[Intel XE#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
[Intel XE#6681]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6681
[Intel XE#6814]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6814
[Intel XE#6819]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6819
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#6927]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6927
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7180]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7180
[Intel XE#7194]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7194
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7354
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7361
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7373
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7377]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7377
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7425]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7425
[Intel XE#7428]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7428
[Intel XE#7429]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7429
[Intel XE#7443]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7443
[Intel XE#7578]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7578
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a -> xe-pw-162794v2
IGT_8807: 7f44d96d705f1583d689f1f8c2275b685b4ca11d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4738-90a49598c224945b556bee26d693fade1b8bdb3a: 90a49598c224945b556bee26d693fade1b8bdb3a
xe-pw-162794v2: 162794v2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-162794v2/index.html