migrate on fault for device pages
Subsystems (8)
v15 cover migrate on fault for device pages
From: Mika Penttilä <[email protected]>
A quick respin to address Sashiko's concerns..
Currently, the way device page faulting and migration works is not optimal, if you want to do both fault handling and migration at once.
Being able to migrate not present pages (or pages mapped with incorrect permissions, eg. COW) to the GPU requires doing either of the following sequences:
1. hmm_range_fault() - fault in non-present pages with correct permissions, etc.
2. migrate_vma_*() - migrate the pages
Or:
1. migrate_vma_*() - migrate present pages
2. If non-present pages detected by migrate_vma_*():
a) call hmm_range_fault() to fault pages in
b) call migrate_vma_*() again to migrate now present pages
The problem with the first sequence is that you always have to do two page walks even when most of the time the pages are present or zero page mappings so the common case takes a performance hit.
The second sequence is better for the common case, but far worse if pages aren't present because now you have to walk the page tables three times (once to find the page is not present, once so hmm_range_fault() can find a non-present page to fault in and once again to setup the migration). It is also tricky to code correctly. One page table walk could costs over 1000 cpu cycles on X86-64, which is a significant hit.
We should be able to walk the page table once, faulting pages in as required and replacing them with migration entries if requested.
Add a new flag to HMM APIs, HMM_PFN_REQ_MIGRATE,
which tells to prepare for migration also during fault handling. For the migrate_vma_setup() call paths, new flags, MIGRATE_VMA_FAULT, and MIGRATE_VMA_WRITE are added to tell to add fault handling to migrate.
An extra benefit of migrating with hmm_range_fault() path is the migrate_vma.vma gets populated, so no need to retrieve that separataly.
This series avoids the problems in current collecting implementation, where racing MADV_DONTNEED could make the collecting arrays overflow. This is achieved mainly by having a rollback mechanism and populating the collecting array as the last step.
Tested in X86-64 VM with HMM test device, passing the selftests. For performance, the migrate throughput tests from the selftests show similar numbers (within error margin) as unmodified kernel. Tested also rebased on the
"Remove device private pages from physical address space" series:
https://lore.kernel.org/linux-mm/[email protected]/
plus a small patch to adjust with no problems.
Changes in v15:
- addressed Sashiko's concerns
- collected Balbir's ack for patch 01
Sashiko's concerns :
https://sashiko.dev/#/patchset/20260922053421.4092027-1-mpenttil%40redhat.com
Concerns and responses, patch numbering refers to v14 series:
patch 01 mm/Kconfig: changes for migrate on fault for device pages
Q "Does this regression violate Kconfig dependency rules by selecting HMM_MIRROR without inheriting its dependencies?"
A DEVICE_MIGRATION is def_bool MIGRATION && ZONE_DEVICE, and MIGRATION depends on MMU, which HMM_MIRROR also depends on. DEVICE_MIGRATION is not user selectable, and nothing selects it explicitly now. If some config would select it in the future, it should have MMU.
patch 03 mm/hmm: preparations for HMM to participate in migration
Q "Is the tracked start address unconditionally overwritten on every walk restart?" A yes, fixed
Q "Could using the owner field as an initialization flag be problematic here?" A yes fixed, range->dev_private_owner not used as sentinel anymore
Q "How does this API change affect hmm_range_fault_unlocked_timeout()?" A migrate on fault and migrate_vma call hmm_range_fault()
patch 04 mm/hmm: do the plumbing for HMM to participate in migration
Q "Does this mmu_notifier_invalidate_range_start() become unbalanced if the fault path is interrupted?"
A HMM_FAULT_UNLOCKED can not happen with hmm_range_fault() + migration, however made the exit path flow thru hmm_vma_post_range_fault() in these cases also even though it is nop.
Q "Can this early return bypass the TLB flush for pages unmapped in previous iterations?"
A yes, fixed
patch 05 mm/hmm: implement folio split for migrate needs in HMM pagewalk
Q "Does this create a livelock under contention?"
Q "Will this spuriously fail migration if the folio is split concurrently?" Q "Does this correctly handle cases where fault_page was a tail page?" A this helper is removed in v15
patch 06 mm/hmm: migrate collection in HMM pagewalk - pte level
Q "Does taking the reference via folio_get() before blocking on folio_lock() create a livelock when multiple threads fault on the same large folio?" A The ref has to be taken before dropping ptl lock. That mirrors current implementation. That can be improved on with later patch if wanted
Q "Can this split_folio() crash if a driver mapped a raw compound page into the VMA using vm_insert_page()?"
A The folio is either from vm_normal_page(), or a device private/coherent page Q "Does this error path unconditionally unlock a folio that the caller might hold the lock for?"
A yes, fixed
patch 07 mm/hmm: migrate collection in HMM pagewalk - pmd level
Q "Does this code handle non-present PMD leaf entries correctly?" Q "Is this branch actually reachable for device-private PMDs?" A PMD size device pages are not present swap like entries
Q "Will this use the correct subpage for folios larger than 2MB?" A only PMD sized THP pages are supported
patch 08 mm/hmm: add lazy MMU mode support for migration in HMM pagewalk
Q Does this skip a necessary TLB flush on the error path during migration? A yes, fixed, same concern as for patch 04
patch 10 mm: enable device page migration from HMM pagewalk
Q "Does this code cause a permanent MMU notifier imbalance when args->pgmap_owner is NULL?"
A yes, this is same concern as for patch 03. fixed
patch 11 lib/test_hmm: add a new testcase for the migrate on fault
Q "Does skipping the page table update here leave us vulnerable to concurrently unmaps during migration?"
Q "Can this sequence lead to a use-after-free of device pages if a concurrent unmap occurs after we dropped the mutex in dmirror_range_fault()?" A yes, the sequence is fixed in v15
Link to v14: https://lore.kernel.org/linux-mm/[email protected]/
Mika Penttilä (11):
mm/Kconfig: changes for migrate on fault for device pages
mm: add helper to convert HMM pfn to migrate pfn
mm/hmm: preparations for HMM to participate in migration mm/hmm: do the plumbing for HMM to participate in migration mm/hmm: migrate collection in HMM pagewalk - pte level mm/hmm: migrate collection in HMM pagewalk - pmd level mm/hmm: add lazy MMU mode support for migration in HMM pagewalk mm/hmm: implement rollback for device page migration in HMM pagewalk
mm: enable device page migration from HMM pagewalk lib/test_hmm: add a new testcase for the migrate on fault Documentation/mm/hmm: document migration through hmm_range_fault()
Documentation/mm/hmm.rst | 39 + include/linux/hmm.h | 51 +- include/linux/migrate.h | 58 +- lib/test_hmm.c | 174 ++++- lib/test_hmm_uapi.h | 21 +- mm/Kconfig | 1 + mm/hmm.c | 956 +++++++++++++++++++++++-- mm/migrate_device.c | 617 +++------------- tools/testing/selftests/mm/hmm-tests.c | 54 ++ 9 files changed, 1352 insertions(+), 619 deletions(-)
drm-tip
base-commit: dfe5a8188de9aaddd4e46b0f2410d0bccd5c1c04
Signature · 1 line
2.55.0
PATCH v15 1/11 mm/Kconfig: changes for migrate on fault for device pages
From: Mika Penttilä <[email protected]>
HMM depends on MMU notifiers. With the unified HMM/migrate_device page table walk migrate_device needs HMM enabled. Enable them explicitly to avoid breaking random configs.
--- mm/Kconfig | 1 + 1 file changed, 1 insertion(+)
mm/Kconfig +1 -0
@@ -687,6 +687,7 @@ config MIGRATION config DEVICE_MIGRATION def_bool MIGRATION && ZONE_DEVICE + select HMM_MIRROR config ARCH_ENABLE_HUGEPAGE_MIGRATION bool
Signature · 1 line
2.55.0
PATCH v15 2/11 mm: add helper to convert HMM pfn to migrate pfn
In reply to [email protected]From: Mika Penttilä <[email protected]>
The unified HMM/migrate_device pagewalk does the "collecting" on the HMM side, so we need a helper to transfer pfns to the migrate_vma world.
--- include/linux/hmm.h | 29 +++++++++++++++++----- include/linux/migrate.h | 3 ++- mm/migrate_device.c | 55 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 7 deletions(-)
include/linux/hmm.h +23 -6
@@ -13,6 +13,8 @@struct mmu_interval_notifier ; +struct migrate_vma ; +/* * On output: * 0 - The page is faultable and a future call with
@@ -27,13 +29,22 @@ struct mmu_interval_notifier;* HMM_PFN_P2PDMA_BUS - Bus mapped P2P transfer * HMM_PFN_DMA_MAPPED - Flag preserved on input-to-output transformation * to mark that page is already DMA mapped +* HMM_PFN_MIGRATE - The entry is to be migrated. Note, HMM_PFN_MIGRATE +* alone without HMM_PFN_VALID denotes the +* empty page. +* This flag optionally together with HMM_PFN_COMPOUND +* are indicators for migrate_hmm_range_setup() to +* setup the migrate pfns. +* HMM_PFN_COMPOUND - The entry represents a > 0 order page * * On input: -* 0 - Return the current state of the page, do not fault it. -* HMM_PFN_REQ_FAULT - The output must have HMM_PFN_VALID or hmm_range_fault() -* will fail -* HMM_PFN_REQ_WRITE - The output must have HMM_PFN_WRITE or hmm_range_fault() -* will fail. Must be combined with HMM_PFN_REQ_FAULT. +* 0 - Return the current state of the page, do not fault it. +* HMM_PFN_REQ_FAULT - The output must have HMM_PFN_VALID or hmm_range_fault() +* will fail +* HMM_PFN_REQ_WRITE - The output must have HMM_PFN_WRITE or hmm_range_fault() +* will fail. Must be combined with HMM_PFN_REQ_FAULT. +* HMM_PFN_REQ_MIGRATE - For default_flags only, request to migrate the range, +* according to hmm_range.migrate.flags */ enum hmm_pfn_flags {/* Output fields and flags */
@@ -48,11 +59,15 @@ enum hmm_pfn_flags {HMM_PFN_P2PDMA =1UL << (BITS_PER_LONG -5 ),HMM_PFN_P2PDMA_BUS =1UL << (BITS_PER_LONG -6 ), -HMM_PFN_ORDER_SHIFT = (BITS_PER_LONG -11 ), +/* Migrate request */ +HMM_PFN_MIGRATE =1UL << (BITS_PER_LONG -7 ), +HMM_PFN_COMPOUND =1UL << (BITS_PER_LONG -8 ), +HMM_PFN_ORDER_SHIFT = (BITS_PER_LONG -13 ),/* Input flags */ HMM_PFN_REQ_FAULT =HMM_PFN_VALID ,HMM_PFN_REQ_WRITE =HMM_PFN_WRITE , +HMM_PFN_REQ_MIGRATE =HMM_PFN_MIGRATE , HMM_PFN_FLAGS = ~((1UL << HMM_PFN_ORDER_SHIFT) - 1), };
@@ -107,6 +122,7 @@ static inline unsigned int hmm_pfn_to_map_order(unsigned long hmm_pfn)* @default_flags: default flags for the range (write, read, ... see hmm doc) * @pfn_flags_mask: allows to mask pfn flags so that only default_flags matter * @dev_private_owner: owner of device private pages +* @migrate: structure for migrating a range of a VMA */ struct hmm_range {struct mmu_interval_notifier *notifier;
@@ -117,6 +133,7 @@ struct hmm_range {unsigned long default_flags;unsigned long pfn_flags_mask;void *dev_private_owner; +struct migrate_vma *migrate; };/*
include/linux/migrate.h +2 -1
@@ -3,6 +3,7 @@#define _LINUX_MIGRATE_H#include <linux/mm.h> +#include <linux/hmm.h> #include <linux/mempolicy.h> #include <linux/migrate_mode.h> #include <linux/hugetlb.h>
@@ -202,7 +203,7 @@ void migrate_device_pages(unsigned long *src_pfns, unsigned long *dst_pfns, unsigned long npages);void migrate_device_finalize (unsigned long *src_pfns,unsigned long *dst_pfns,unsigned long npages); - +void migrate_hmm_range_setup (struct hmm_range *range);#endif /* CONFIG_MIGRATION */ #endif /* _LINUX_MIGRATE_H */
mm/migrate_device.c +55 -0
58 lines not on this page · raw message
Signature · 1 line
2.55.0
PATCH v15 3/11 mm/hmm: preparations for HMM to participate in migration
In reply to [email protected]From: Mika Penttilä <[email protected]>
For migration to happen after hmm_range_fault(), the vma has to retrieved. Luckily, pagewalk already resolves that for us, so just have to save it for further use. For migration, mmap_lock has to be hold for the whole operation, so vma stays stable. In case lock-drop behavior is requested, return an error while migrating. Also, rename some struct hmm_vma_walk fields to solve namespace collisions, and we are later introducing more xxlocked fields so be unambiguous.
Take care also of firing the mmu_notifier when migrating.
Also, prepare for differencies of how mm_struct * is retrieved in fault and migrate_vma paths.
--- include/linux/migrate.h | 49 +++++++++++++++++- lib/test_hmm.c | 2 +- mm/hmm.c | 110 ++++++++++++++++++++++++++++++++++------ 3 files changed, 144 insertions(+), 17 deletions(-)
include/linux/migrate.h +48 -1
@@ -5,6 +5,7 @@#include <linux/mm.h> #include <linux/hmm.h> #include <linux/mempolicy.h> +#include <linux/mmu_notifier.h> #include <linux/migrate_mode.h> #include <linux/hugetlb.h>
@@ -108,6 +109,29 @@ static inline void softleaf_entry_wait_on_locked(softleaf_t entry, spinlock_t *p spin_unlock(ptl); } +enum migrate_vma_info { +MIGRATE_VMA_SELECT_NONE =0 , +MIGRATE_VMA_SELECT_COMPOUND =MIGRATE_VMA_SELECT_NONE , +}; + +static inline enum migrate_vma_info hmm_select_migrate (struct hmm_range *range) +{ +return MIGRATE_VMA_SELECT_NONE ; +} + +static inline void hmm_fill_migrate_vma (struct hmm_range *range, +struct vm_area_struct *vma, +unsigned long start, +unsigned long end) +{ +} + +#ifdef CONFIG_MMU_NOTIFIER +static inline struct mm_struct *hmm_range_fault_mm (struct hmm_range *range) +{ +return range->notifier->mm; +} +#endif #endif /* CONFIG_MIGRATION */ #ifdef CONFIG_NUMA_BALANCING
@@ -151,7 +175,7 @@ static inline unsigned long migrate_pfn(unsigned long pfn)return (pfn <<MIGRATE_PFN_SHIFT ) |MIGRATE_PFN_VALID ; } -enum migrate_vma_direction { +enum migrate_vma_info {MIGRATE_VMA_SELECT_SYSTEM =1 <<0 ,MIGRATE_VMA_SELECT_DEVICE_PRIVATE =1 <<1 ,MIGRATE_VMA_SELECT_DEVICE_COHERENT =1 <<2 ,
@@ -193,6 +217,29 @@ struct migrate_vma {struct page *fault_page; }; +// TODO: enable migration +static inline enum migrate_vma_info hmm_select_migrate (struct hmm_range *range) +{ +return 0 ; +} + +#ifdef CONFIG_MMU_NOTIFIER +static inline struct mm_struct *hmm_range_fault_mm (struct hmm_range *range) +{ +return range->notifier ? range->notifier->mm : range->migrate->vma->vm_mm; +} +#endif + +static inline void hmm_fill_migrate_vma (struct hmm_range *range, +struct vm_area_struct *vma, +unsigned long start, +unsigned long end) +{ + range->migrate->vma = vma; + range->migrate->start = start; + range->migrate->end = end; +} +int migrate_vma_setup (struct migrate_vma *args);void migrate_vma_pages (struct migrate_vma *migrate);void migrate_vma_finalize (struct migrate_vma *migrate);
lib/test_hmm.c +1 -1
@@ -145,7 +145,7 @@ static bool dmirror_is_private_zone(struct dmirror_device *mdevice) HMM_DMIRROR_MEMORY_DEVICE_PRIVATE); } -static enum migrate_vma_direction +static enum migrate_vma_info dmirror_select_device (struct dmirror *dmirror) { return (dmirror->mdevice->zone_device_type ==
mm/hmm.c +95 -15
180 lines not on this page · raw message
Signature · 1 line
2.55.0
PATCH v15 4/11 mm/hmm: do the plumbing for HMM to participate in migration
In reply to [email protected]From: Mika Penttilä <[email protected]>
Do the preparations in hmm_range_fault() and pagewalk callbacks to do the "collecting" part of migration, needed for migration.
These steps include locking for pmd/pte if migrating, and calling the still dummy hmm_vma_handle_migrate_prepare_pmd() and hmm_vma_handle_migrate_prepare() functions in the pagewalk.
When doing migration, have to have pmd/pte table locked for the duration of both hmm_vma_handle*() and hmm_vma_handle_migrate_prepare*() walks, and unlock when handling the faults.
--- mm/hmm.c | 344 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 290 insertions(+), 54 deletions(-)
mm/hmm.c +290 -54
@@ -42,6 +42,16 @@ struct hmm_vma_walk {unsigned long start;unsigned long end;unsigned long last; +/* +* For migration we need pte/pmd locked for the handle_* and +* prepare_* regions. While faulting we have to drop the locks +* and start again. ptelocked and pmdlocked hold the state +* and tell if need to drop locks before faulting. +* ptl is the lock held for pte or pmd. +*/ +bool ptelocked; +bool pmdlocked; +spinlock_t *ptl;/* fault and lock drop related fields */ bool *mmlocked;unsigned long fault_end;
@@ -63,6 +73,16 @@ struct hmm_vma_walk {*/ #define HMM_FAULT_UNLOCKED -ENOLCK +#define HMM_ASSERT_PTE_LOCKED (hmm_vma_walk, locked) \ + WARN_ON_ONCE((hmm_vma_walk)->ptelocked != locked) + +#define HMM_ASSERT_PMD_LOCKED (hmm_vma_walk, locked) \ + WARN_ON_ONCE((hmm_vma_walk)->pmdlocked != locked) + +#define HMM_ASSERT_UNLOCKED (hmm_vma_walk) \ + WARN_ON_ONCE((hmm_vma_walk)->ptelocked || \ + (hmm_vma_walk)->pmdlocked) +enum {HMM_NEED_FAULT =1 <<0 ,HMM_NEED_WRITE_FAULT =1 <<1 ,
@@ -76,14 +96,38 @@ enum { };static int hmm_pfns_fill (unsigned long addr,unsigned long end, -struct hmm_range *range,unsigned long cpu_flags) +struct hmm_vma_walk *hmm_vma_walk,unsigned long cpu_flags) { +struct hmm_range *range = hmm_vma_walk->range;unsigned long i = (addr - range->start) >>PAGE_SHIFT ; +enum migrate_vma_info minfo; +bool migrate = false; + + minfo =hmm_select_migrate (range); +if (cpu_flags !=HMM_PFN_ERROR ) { +if (minfo && (vma_is_anonymous (hmm_vma_walk->vma))) { + cpu_flags |=HMM_PFN_MIGRATE ; + migrate = true; + } + } + +if (migrate &&thp_migration_supported () && + (minfo &MIGRATE_VMA_SELECT_COMPOUND ) && +IS_ALIGNED (addr,HPAGE_PMD_SIZE ) && +IS_ALIGNED (end,HPAGE_PMD_SIZE ) && + end-addr ==HPAGE_PMD_SIZE ) { + range->hmm_pfns[i] &=HMM_PFN_INOUT_FLAGS ; + range->hmm_pfns[i] |= cpu_flags |HMM_PFN_COMPOUND ; + addr +=PAGE_SIZE ; + i++; + cpu_flags =0 ; + }for (; addr < end; addr +=PAGE_SIZE , i++) { range->hmm_pfns[i] &=HMM_PFN_INOUT_FLAGS ; range->hmm_pfns[i] |= cpu_flags; } +return 0 ; }
@@ -103,6 +147,7 @@ static int hmm_record_fault(unsigned long addr, unsigned long end,struct hmm_vma_walk *hmm_vma_walk = walk->private;WARN_ON_ONCE (!required_fault); +HMM_ASSERT_UNLOCKED (hmm_vma_walk); hmm_vma_walk->last = addr; hmm_vma_walk->fault_end = end; hmm_vma_walk->required_fault = required_fault;
@@ -187,11 +232,16 @@ static int hmm_vma_walk_hole(unsigned long addr, unsigned long end,if (!walk->vma) {if (required_fault)return -EFAULT ; -return hmm_pfns_fill (addr, end, range,HMM_PFN_ERROR ); +return hmm_pfns_fill (addr, end, hmm_vma_walk,HMM_PFN_ERROR ); } -if (required_fault) +if (required_fault) { +if (hmm_vma_walk->pmdlocked) { +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; + }return hmm_record_fault (addr, end, required_fault, walk); -return hmm_pfns_fill (addr, end, range,0 ); + } +return hmm_pfns_fill (addr, end, hmm_vma_walk,0 ); }static inline unsigned long hmm_pfn_flags_order (unsigned long order)
@@ -224,8 +274,13 @@ static int hmm_vma_handle_pmd(struct mm_walk *walk, unsigned long addr, cpu_flags =pmd_to_hmm_pfn_flags (range, pmd); required_fault =hmm_range_need_fault (hmm_vma_walk, hmm_pfns, npages, cpu_flags); -if (required_fault) +if (required_fault) { +if (hmm_vma_walk->pmdlocked) { +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; + }return hmm_record_fault (addr, end, required_fault, walk); + } pfn =pmd_pfn (pmd) + ((addr & ~PMD_MASK ) >>PAGE_SHIFT );for (i =0 ; addr < end; addr +=PAGE_SIZE , i++, pfn++) {
@@ -305,14 +360,25 @@ static int hmm_vma_handle_pte(struct mm_walk *walk, unsigned long addr, goto fault;if (softleaf_is_migration (entry)) { -pte_unmap (ptep); - hmm_vma_walk->last = addr; -migration_entry_wait (walk->mm, pmdp, addr); -return -EBUSY ; +if (!hmm_select_migrate (range)) { +HMM_ASSERT_UNLOCKED (hmm_vma_walk); +pte_unmap (ptep); + hmm_vma_walk->last = addr; +migration_entry_wait (walk->mm, pmdp, addr); +return -EBUSY ; + } +return 0 ; }/* Report error for everything else */ -pte_unmap (ptep); + +if (hmm_vma_walk->ptelocked) { +pte_unmap_unlock (ptep, hmm_vma_walk->ptl); + hmm_vma_walk->ptelocked = false; + }else { +pte_unmap (ptep); + } +return -EFAULT ; }
@@ -329,7 +395,13 @@ static int hmm_vma_handle_pte(struct mm_walk *walk, unsigned long addr,if (!vm_normal_page (walk->vma, addr, pte) && !is_zero_pfn (pte_pfn (pte))) {if (hmm_pte_need_fault (hmm_vma_walk, pfn_req_flags,0 )) { -pte_unmap (ptep); +if (hmm_vma_walk->ptelocked) { +pte_unmap_unlock (ptep, hmm_vma_walk->ptl); + hmm_vma_walk->ptelocked = false; + }else { +pte_unmap (ptep); + } +return -EFAULT ; } new_pfn_flags =HMM_PFN_ERROR ;
@@ -342,7 +414,12 @@ static int hmm_vma_handle_pte(struct mm_walk *walk, unsigned long addr,return 0 ; fault: -pte_unmap (ptep); +if (hmm_vma_walk->ptelocked) { +pte_unmap_unlock (ptep, hmm_vma_walk->ptl); + hmm_vma_walk->ptelocked = false; + }else { +pte_unmap (ptep); + }/* Fault any virtual address we were asked to fault */ return hmm_record_fault (addr, end, required_fault, walk); }
@@ -386,13 +463,18 @@ static int hmm_vma_handle_absent_pmd(struct mm_walk *walk, unsigned long start, required_fault =hmm_range_need_fault (hmm_vma_walk, hmm_pfns, npages,0 );if (required_fault) { -if (softleaf_is_device_private (entry)) +if (softleaf_is_device_private (entry)) { +if (hmm_vma_walk->pmdlocked) { +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; + }return hmm_record_fault (addr, end, required_fault, walk); + }else return -EFAULT ; } -return hmm_pfns_fill (start, end, range,HMM_PFN_ERROR ); +return hmm_pfns_fill (start, end, hmm_vma_walk,HMM_PFN_ERROR ); }#else static int hmm_vma_handle_absent_pmd(struct mm_walk *walk, unsigned long start,
@@ -400,15 +482,58 @@ static int hmm_vma_handle_absent_pmd(struct mm_walk *walk, unsigned long start, pmd_t pmd) {struct hmm_vma_walk *hmm_vma_walk = walk->private; -struct hmm_range *range = hmm_vma_walk->range;unsigned long npages = (end - start) >>PAGE_SHIFT ;if (hmm_range_need_fault (hmm_vma_walk, hmm_pfns, npages,0 ))return -EFAULT ; -return hmm_pfns_fill (start, end, range,HMM_PFN_ERROR ); +return hmm_pfns_fill (start, end, hmm_vma_walk,HMM_PFN_ERROR ); }#endif /* CONFIG_ARCH_HAS_PMD_SOFTLEAVES */ +#ifdef CONFIG_DEVICE_MIGRATION +static int hmm_vma_handle_migrate_prepare_pmd (const struct mm_walk *walk, +pmd_t *pmdp, +unsigned long start, +unsigned long end, +unsigned long *hmm_pfn) +{ +// TODO: implement migration entry insertion +return 0 ; +} + +static int hmm_vma_handle_migrate_prepare (const struct mm_walk *walk, +pmd_t *pmdp, +pte_t *ptep, +unsigned long addr, +unsigned long *hmm_pfn, +bool *unmapped) +{ +// TODO: implement migration entry insertion +return 0 ; +} + +#else +static int hmm_vma_handle_migrate_prepare_pmd (const struct mm_walk *walk, +pmd_t *pmdp, +unsigned long start, +unsigned long end, +unsigned long *hmm_pfn) +{ +return 0 ; +} + +static int hmm_vma_handle_migrate_prepare (const struct mm_walk *walk, +pmd_t *pmdp, +pte_t *ptep, +unsigned long addr, +unsigned long *hmm_pfn, +bool *unmapped) +{ +return 0 ; +} + +#endif +static int hmm_vma_capture_migrate_range (unsigned long start,unsigned long end,struct mm_walk *walk)
@@ -468,46 +593,117 @@ static int hmm_vma_walk_pmd(pmd_t *pmdp, {struct hmm_vma_walk *hmm_vma_walk = walk->private;struct hmm_range *range = hmm_vma_walk->range; -unsigned long *hmm_pfns = - &range->hmm_pfns[(start - range->start) >>PAGE_SHIFT ];unsigned long npages = (end - start) >>PAGE_SHIFT ; +struct mm_struct *mm = walk->vma->vm_mm; +unsigned long *hmm_pfns, *hmm_pfns_start; +enum migrate_vma_info minfo;unsigned long addr = start; +bool unmapped = false; +unsigned long i;pte_t *ptep;pmd_t pmd; +int r =0 ; + minfo =hmm_select_migrate (range); + hmm_pfns_start = &range->hmm_pfns[(start - range->start) >>PAGE_SHIFT ]; again: - pmd =pmdp_get_lockless (pmdp); -if (pmd_none (pmd)) -return hmm_vma_walk_hole (start, end,-1 , walk); + hmm_pfns = &range->hmm_pfns[(addr - range->start) >>PAGE_SHIFT ]; + hmm_vma_walk->ptelocked = false; + hmm_vma_walk->pmdlocked = false; + +if (minfo) { + hmm_vma_walk->ptl =pmd_lock (mm, pmdp); + hmm_vma_walk->pmdlocked = true; + pmd =pmdp_get (pmdp); + }else + pmd =pmdp_get_lockless (pmdp); + +if (pmd_none (pmd)) { + r =hmm_vma_walk_hole (start, end,-1 , walk); + +if (hmm_vma_walk->pmdlocked) { +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; + } +return r; + }if (thp_migration_supported () &&pmd_is_migration_entry (pmd)) { -if (hmm_range_need_fault (hmm_vma_walk, hmm_pfns, npages,0 )) { - hmm_vma_walk->last = addr; -pmd_migration_entry_wait (walk->mm, pmdp); -return -EBUSY ; +if (!minfo) { +if (hmm_range_need_fault (hmm_vma_walk, hmm_pfns_start, npages,0 )) { + hmm_vma_walk->last = addr; +pmd_migration_entry_wait (walk->mm, pmdp); +return -EBUSY ; + } +for (i =0 ; start < end; start +=PAGE_SIZE , i++) + hmm_pfns_start[i] &=HMM_PFN_INOUT_FLAGS ; + } + +if (hmm_vma_walk->pmdlocked) { +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; } -return hmm_pfns_fill (start, end, range,0 ); + +return 0 ; } -if (!pmd_present (pmd)) -return hmm_vma_handle_absent_pmd (walk, start, end, hmm_pfns, - pmd); +if (pmd_trans_huge (pmd) || !pmd_present (pmd)) { +if (!pmd_present (pmd)) { + r =hmm_vma_handle_absent_pmd (walk, start, end, hmm_pfns_start, + pmd); +// If not migrating we are done +if (r || !minfo) { +if (hmm_vma_walk->pmdlocked) { +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; + } +return r; + } + } -if (pmd_trans_huge (pmd)) { -/* -* No need to take pmd_lock here, even if some other thread -* is splitting the huge pmd we will get that event through -* mmu_notifier callback. -* -* So just read pmd value and check again it's a transparent -* huge or device mapping one and compute corresponding pfn -* values. -*/ - pmd =pmdp_get_lockless (pmdp); -if (!pmd_trans_huge (pmd)) - goto again; +if (pmd_trans_huge (pmd)) { +/* +* No need to take pmd_lock here if not migrating, +* even if some other thread is splitting the huge +* pmd we will get that event through mmu_notifier callback. +* +* So just read pmd value and check again it's a transparent +* huge or device mapping one and compute corresponding pfn +* values. +*/ + +if (!minfo) { + pmd =pmdp_get_lockless (pmdp); +if (!pmd_trans_huge (pmd)) + goto again; + } -return hmm_vma_handle_pmd (walk, addr, end, hmm_pfns, pmd); + r =hmm_vma_handle_pmd (walk, start, end, hmm_pfns_start, pmd); + +// If not migrating we are done +if (r || !minfo) { +if (hmm_vma_walk->pmdlocked) { +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; + } +return r; + } + } + + r =hmm_vma_handle_migrate_prepare_pmd (walk, pmdp, start, end, hmm_pfns_start); + +if (hmm_vma_walk->pmdlocked) { +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; + } + +return r; + + } + +if (hmm_vma_walk->pmdlocked) { +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; }/*
@@ -517,24 +713,64 @@ static int hmm_vma_walk_pmd(pmd_t *pmdp,* recover. */ if (pmd_bad (pmd)) { -if (hmm_range_need_fault (hmm_vma_walk, hmm_pfns, npages,0 )) +if (hmm_range_need_fault (hmm_vma_walk, hmm_pfns_start, npages,0 ))return -EFAULT ; -return hmm_pfns_fill (start, end, range,HMM_PFN_ERROR ); +return hmm_pfns_fill (start, end, hmm_vma_walk,HMM_PFN_ERROR ); } - ptep =pte_offset_map (pmdp, addr); -if (!ptep) +if (minfo) { + ptep =pte_offset_map_lock (mm, pmdp, addr, &hmm_vma_walk->ptl); +if (ptep) + hmm_vma_walk->ptelocked = true; + }else { + ptep =pte_offset_map (pmdp, addr); + } +if (!ptep) { + addr = start; goto again; + } +for (; addr < end; addr +=PAGE_SIZE , ptep++, hmm_pfns++) { -int r; r =hmm_vma_handle_pte (walk, addr, end, pmdp, ptep, hmm_pfns);if (r) { -/* hmm_vma_handle_pte() did pte_unmap() */ +/* hmm_vma_handle_pte() did pte_unmap() / pte_unmap_unlock */ +if (unmapped) +flush_tlb_range (walk->vma, start, addr);return r; } + + r =hmm_vma_handle_migrate_prepare (walk, pmdp, ptep, addr, hmm_pfns, &unmapped); +if (r == -EAGAIN ) { +HMM_ASSERT_UNLOCKED (hmm_vma_walk); +if (unmapped) { +flush_tlb_range (walk->vma, start, addr); + unmapped = false; + } + goto again; + } +if (r) { +/* A non -EAGAIN error here means migrate_vma_split_folio() +* already dropped the PTE lock and cleared ptelocked. +*/ +HMM_ASSERT_UNLOCKED (hmm_vma_walk); +if (unmapped) +flush_tlb_range (walk->vma, start, addr); +hmm_pfns_fill (addr, end, hmm_vma_walk,HMM_PFN_ERROR ); +return 0 ; + } } -pte_unmap (ptep -1 ); + +if (unmapped) +flush_tlb_range (walk->vma, start, addr); + +if (hmm_vma_walk->ptelocked) { +pte_unmap_unlock (ptep -1 , hmm_vma_walk->ptl); + hmm_vma_walk->ptelocked = false; + }else { +pte_unmap (ptep -1 ); + } +return 0 ; }
@@ -682,7 +918,7 @@ static int hmm_vma_walk_test(unsigned long start, unsigned long end, (end - start) >> PAGE_SHIFT, 0))return -EFAULT ; -hmm_pfns_fill (start, end, range,HMM_PFN_ERROR ); +hmm_pfns_fill (start, end, hmm_vma_walk,HMM_PFN_ERROR );/* Skip this vma and continue processing the next vma. */ return 1 ;
@@ -798,9 +1034,9 @@ static int hmm_range_fault_locked(struct hmm_range *range, bool *locked)if (ret ==HMM_FAULT_PENDING ) { ret =hmm_do_fault (mm, &hmm_vma_walk);if (ret ==HMM_FAULT_UNLOCKED ) { -if (fatal_signal_pending (current)) -return -EINTR ; -return -EBUSY ; + ret =fatal_signal_pending (current) ? -EINTR : + -EBUSY ; +break ; } }/*
Signature · 1 line
2.55.0
PATCH v15 5/11 mm/hmm: migrate collection in HMM pagewalk - pte level
In reply to [email protected]From: Mika Penttilä <[email protected]>
Implement the needed hmm_vma_handle_migrate_prepare() function which is mostly carried over from migrate_device.c's migrate_vma_collect_pmd() function.
Also implement the migrate_vma_split_folio(), for splitting pte mapped large folios. It is also mostly from migrate_device.c, with care taken to reference folio before relasing page table lock.
With HMM pagewalk based migration, the idea is that hmm_vma_handle_*() are responsible for faulting,
and the pfn collecting part. hmm_vma_handle_migrate_prepare*() do the migration decisions (with HMM_PFN_MIGRATE), possibly split folios, and insert migration ptes/pmds.
HMM pagewalk based migration is enabled in later commit, for now now hmm_select_migrate() returns 0.
--- mm/hmm.c | 263 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 262 insertions(+), 1 deletion(-)
mm/hmm.c +262 -1
@@ -491,6 +491,63 @@ static int hmm_vma_handle_absent_pmd(struct mm_walk *walk, unsigned long start,#endif /* CONFIG_ARCH_HAS_PMD_SOFTLEAVES */ #ifdef CONFIG_DEVICE_MIGRATION +/** +* migrate_vma_split_folio() - Helper function to split a THP folio +* @folio: the folio to split +* @fault_page: struct page associated with the fault if any +* @hmm_vma_walk: walk in progress +* @ptep: pte_t * for unmap and unlock ptl +* +* Returns 0 on success +*/ +static int migrate_vma_split_folio (struct folio *folio, +struct page *fault_page, +struct hmm_vma_walk *hmm_vma_walk, +pte_t *ptep) +{ +int ret; +struct folio *fault_folio = fault_page ?page_folio (fault_page) :NULL ; +struct folio *new_fault_folio =NULL ; + +if (folio != fault_folio) +folio_get (folio); + +pte_unmap_unlock (ptep, hmm_vma_walk->ptl); + hmm_vma_walk->ptelocked = false; + +if (folio != fault_folio) +folio_lock (folio); + + ret =split_folio (folio); +if (ret) { +if (folio != fault_folio) { +folio_unlock (folio); +folio_put (folio); + } +return ret; + } + + new_fault_folio = fault_page ?page_folio (fault_page) :NULL ; + +/* +* Ensure the lock is held on the correct +* folio after the split +*/ +if (!new_fault_folio) { +folio_unlock (folio); +folio_put (folio); + }else if (folio != new_fault_folio) { +if (new_fault_folio != fault_folio) { +folio_get (new_fault_folio); +folio_lock (new_fault_folio); + } +folio_unlock (folio); +folio_put (folio); + } + +return 0 ; +} + static int hmm_vma_handle_migrate_prepare_pmd(const struct mm_walk *walk, pmd_t *pmdp, unsigned long start,
@@ -501,6 +558,11 @@ static int hmm_vma_handle_migrate_prepare_pmd(const struct mm_walk *walk,return 0 ; } +/* +* Install migration entries if migration requested, either from fault +* or migrate paths. +* +*/ static int hmm_vma_handle_migrate_prepare(const struct mm_walk *walk, pmd_t *pmdp, pte_t *ptep,
@@ -508,8 +570,207 @@ static int hmm_vma_handle_migrate_prepare(const struct mm_walk *walk,unsigned long *hmm_pfn, bool *unmapped) { -// TODO: implement migration entry insertion + struct hmm_vma_walk *hmm_vma_walk = walk->private; +struct hmm_range *range = hmm_vma_walk->range; +struct migrate_vma *migrate = range->migrate; +struct mm_struct *mm = walk->vma->vm_mm; +struct folio *fault_folio =NULL ; +enum migrate_vma_info minfo; +struct dev_pagemap *pgmap; +bool anon_exclusive; +struct folio *folio; +unsigned long pfn; +struct page *page; +softleaf_t entry; +pte_t pte, swp_pte; +bool writable = false; + +// Do we want to migrate at all? + minfo =hmm_select_migrate (range); +if (!minfo) +return 0 ; + +WARN_ON_ONCE (!migrate); +HMM_ASSERT_PTE_LOCKED (hmm_vma_walk, true); + + fault_folio = migrate->fault_page ? +page_folio (migrate->fault_page) :NULL ; + + pte =ptep_get (ptep); + +if (pte_none (pte)) { +if (vma_is_anonymous (walk->vma)) { + *hmm_pfn &=HMM_PFN_INOUT_FLAGS ; + *hmm_pfn |=HMM_PFN_MIGRATE ; + goto out; + } + } + +if (!(hmm_pfn[0 ] &HMM_PFN_VALID )) + goto out; + +if (!pte_present (pte)) { +/* +* Only care about unaddressable device page special +* page table entry. Other special swap entries are not +* migratable, and we ignore regular swapped page. +*/ + entry =softleaf_from_pte (pte); +if (!softleaf_is_device_private (entry)) + goto out; + +if (!(minfo &MIGRATE_VMA_SELECT_DEVICE_PRIVATE )) + goto out; + + page =softleaf_to_page (entry); + folio =page_folio (page); +if (folio->pgmap->owner != migrate->pgmap_owner) + goto out; + +if (folio_test_large (folio)) { +int ret; + + ret =migrate_vma_split_folio (folio, + migrate->fault_page, + hmm_vma_walk, + ptep); +if (ret) + goto out_error; +return -EAGAIN ; + } + + pfn =page_to_pfn (page); +if (softleaf_is_device_private_write (entry)) + writable = true; + }else { + pfn =pte_pfn (pte); +if (is_zero_pfn (pfn) && + (minfo &MIGRATE_VMA_SELECT_SYSTEM )) { + *hmm_pfn =HMM_PFN_MIGRATE ; + goto out; + } + page =vm_normal_page (walk->vma, addr, pte); +if (page && !is_zone_device_page (page) && + !(minfo &MIGRATE_VMA_SELECT_SYSTEM )) { + goto out; + }else if (page &&is_device_coherent_page (page)) { + pgmap =page_pgmap (page); + +if (!(minfo & +MIGRATE_VMA_SELECT_DEVICE_COHERENT ) || + pgmap->owner != migrate->pgmap_owner) + goto out; + } + + folio = page ?page_folio (page) :NULL ; +if (folio &&folio_test_large (folio)) { +int ret; + + ret =migrate_vma_split_folio (folio, + migrate->fault_page, + hmm_vma_walk, + ptep); +if (ret) + goto out_error; +return -EAGAIN ; + } + + writable =pte_write (pte); + } + +if (!page || !page->mapping) + goto out; + +/* +* By getting a reference on the folio we pin it and that blocks +* any kind of migration. Side effect is that it "freezes" the +* pte. +* +* We drop this reference after isolating the folio from the lru +* for non device folio (device folio are not on the lru and thus +* can't be dropped from it). +*/ + folio =page_folio (page); +folio_get (folio); + +/* +* We rely on folio_trylock() to avoid deadlock between +* concurrent migrations where each is waiting on the others +* folio lock. If we can't immediately lock the folio we fail this +* migration as it is only best effort anyway. +* +* If we can lock the folio it's safe to set up a migration entry +* now. In the common case where the folio is mapped once in a +* single process setting up the migration entry now is an +* optimisation to avoid walking the rmap later with +* try_to_migrate(). +*/ + +if (fault_folio == folio ||folio_trylock (folio)) { + anon_exclusive =folio_test_anon (folio) && +PageAnonExclusive (page); + +if (pte_present (pte)) +flush_cache_page (walk->vma, addr, pfn); + +if (anon_exclusive) { + pte =ptep_clear_flush (walk->vma, addr, ptep); + +if (folio_try_share_anon_rmap_pte (folio, page)) { +set_pte_at (mm, addr, ptep, pte); +if (fault_folio != folio) +folio_unlock (folio); +folio_put (folio); + goto out; + } + }else { + pte =ptep_get_and_clear (mm, addr, ptep); + } + +if (pte_present (pte) &&pte_dirty (pte)) +folio_mark_dirty (folio); + +/* Setup special migration page table entry */ +if (writable) + entry =make_writable_migration_entry (pfn); +else if (anon_exclusive) + entry =make_readable_exclusive_migration_entry (pfn); +else + entry =make_readable_migration_entry (pfn); + +if (pte_present (pte)) { +if (pte_young (pte)) + entry =make_migration_entry_young (entry); +if (pte_dirty (pte)) + entry =make_migration_entry_dirty (entry); + } + + swp_pte =swp_entry_to_pte (entry); +if (pte_present (pte)) { +if (pte_soft_dirty (pte)) + swp_pte =pte_swp_mksoft_dirty (swp_pte); +if (pte_uffd (pte)) + swp_pte =pte_swp_mkuffd (swp_pte); + }else { +if (pte_swp_soft_dirty (pte)) + swp_pte =pte_swp_mksoft_dirty (swp_pte); +if (pte_swp_uffd (pte)) + swp_pte =pte_swp_mkuffd (swp_pte); + } + +set_pte_at (mm, addr, ptep, swp_pte); +folio_remove_rmap_pte (folio, page, walk->vma); +folio_put (folio); + *hmm_pfn |=HMM_PFN_MIGRATE ; +if (pte_present (pte)) + *unmapped = true; + }else { +folio_put (folio); + } +out:return 0 ; +out_error: +return -EFAULT ; }#else
Signature · 1 line
2.55.0
PATCH v15 6/11 mm/hmm: migrate collection in HMM pagewalk - pmd level
In reply to [email protected]From: Mika Penttilä <[email protected]>
Implement the needed hmm_vma_handle_migrate_prepare_pmd() function which is mostly carried over from migrate_device.c's migrate_vma_collect_huge_pmd() function.
With HMM pagewalk based migration, the idea is that hmm_vma_handle_*() are responsible for faulting,
and the pfn collecting part. hmm_vma_handle_migrate_prepare*() do the migration decisions (with HMM_PFN_MIGRATE), possibly split folios, and insert migration ptes/pmds.
HMM pagewalk based migration is enabled in later commit, for now now hmm_select_migrate() returns 0.
Also avoid the problems present in the migrate_vma_collect_huge_pmd() split fallback path this HMM path supersedes:
- extra refcount for fault_folio makes split_folio() fail
- wrong folio unlocked after split_folio()
--- mm/hmm.c | 173 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 151 insertions(+), 22 deletions(-)
mm/hmm.c +151 -22
@@ -492,31 +492,19 @@ static int hmm_vma_handle_absent_pmd(struct mm_walk *walk, unsigned long start,#ifdef CONFIG_DEVICE_MIGRATION /** -* migrate_vma_split_folio() - Helper function to split a THP folio +* __migrate_vma_split_folio() - split a folio and move the lock/ref to the +* order-0 folio backing @fault_page after the split * @folio: the folio to split -* @fault_page: struct page associated with the fault if any -* @hmm_vma_walk: walk in progress -* @ptep: pte_t * for unmap and unlock ptl +* @fault_page: fault page if any * -* Returns 0 on success +* Returns 0 on success. */ -static int migrate_vma_split_folio (struct folio *folio, -struct page *fault_page, -struct hmm_vma_walk *hmm_vma_walk, -pte_t *ptep) +static int __migrate_vma_split_folio (struct folio *folio, +struct page *fault_page) { -int ret;struct folio *fault_folio = fault_page ?page_folio (fault_page) :NULL ;struct folio *new_fault_folio =NULL ; - -if (folio != fault_folio) -folio_get (folio); - -pte_unmap_unlock (ptep, hmm_vma_walk->ptl); - hmm_vma_walk->ptelocked = false; - -if (folio != fault_folio) -folio_lock (folio); +int ret; ret =split_folio (folio);if (ret) {
@@ -548,14 +536,145 @@ static int migrate_vma_split_folio(struct folio *folio,return 0 ; } +/** +* migrate_vma_split_folio() - drop the pte lock and split a THP folio +* @folio: the folio to split +* @fault_page: struct page associated with the fault if any +* @hmm_vma_walk: walk in progress +* @ptep: pte_t * for unmap and unlock ptl +* +* Returns 0 on success +*/ +static int migrate_vma_split_folio (struct folio *folio, +struct page *fault_page, +struct hmm_vma_walk *hmm_vma_walk, +pte_t *ptep) +{ +struct folio *fault_folio = fault_page ?page_folio (fault_page) :NULL ; + +if (folio != fault_folio) +folio_get (folio); + +pte_unmap_unlock (ptep, hmm_vma_walk->ptl); + hmm_vma_walk->ptelocked = false; + +if (folio != fault_folio) +folio_lock (folio); + +return __migrate_vma_split_folio (folio, fault_page); +} +static int hmm_vma_handle_migrate_prepare_pmd (const struct mm_walk *walk,pmd_t *pmdp,unsigned long start,unsigned long end,unsigned long *hmm_pfn) { -// TODO: implement migration entry insertion -return 0 ; +struct hmm_vma_walk *hmm_vma_walk = walk->private; +struct hmm_range *range = hmm_vma_walk->range; +struct migrate_vma *migrate = range->migrate; +struct folio *fault_folio =NULL ; +enum migrate_vma_info minfo; +struct folio *folio; +unsigned long i; +int r =0 ; + +// Do we want to migrate at all? + minfo =hmm_select_migrate (range); +if (!minfo) +return r; + +WARN_ON_ONCE (!migrate); +HMM_ASSERT_PMD_LOCKED (hmm_vma_walk, true); + + fault_folio = migrate->fault_page ? +page_folio (migrate->fault_page) :NULL ; + +if (pmd_none (*pmdp)) +return hmm_pfns_fill (start, end, hmm_vma_walk,0 ); + +if (!(hmm_pfn[0 ] &HMM_PFN_VALID )) + goto out; + +if (pmd_trans_huge (*pmdp)) { +if (!(minfo &MIGRATE_VMA_SELECT_SYSTEM )) + goto out; + + folio =pmd_folio (*pmdp); +if (is_huge_zero_folio (folio)) +return hmm_pfns_fill (start, end, hmm_vma_walk,0 ); + + }else if (!pmd_present (*pmdp)) { +const softleaf_t entry =softleaf_from_pmd (*pmdp); + +if (!softleaf_is_device_private (entry)) + goto out; + +if (!(minfo &MIGRATE_VMA_SELECT_DEVICE_PRIVATE )) + goto out; + + folio =softleaf_to_folio (entry); +if (folio->pgmap->owner != migrate->pgmap_owner) + goto out; + }else { + hmm_vma_walk->last = start; +return -EBUSY ; + } + +folio_get (folio); + +if (folio != fault_folio &&unlikely (!folio_trylock (folio))) { +folio_put (folio); +hmm_pfns_fill (start, end, hmm_vma_walk,HMM_PFN_ERROR ); +return 0 ; + } + +if (thp_migration_supported () && + (migrate->flags &MIGRATE_VMA_SELECT_COMPOUND ) && + (IS_ALIGNED (start,HPAGE_PMD_SIZE ) && +IS_ALIGNED (end,HPAGE_PMD_SIZE ))) { +struct page_vma_mapped_walk pvmw = { + .ptl = hmm_vma_walk->ptl, + .address = start, + .pmd = pmdp, + .vma = walk->vma, + }; + + hmm_pfn[0 ] |=HMM_PFN_MIGRATE |HMM_PFN_COMPOUND ; + + r =set_pmd_migration_entry (&pvmw,folio_page (folio,0 )); +if (r) { + hmm_pfn[0 ] &= ~(HMM_PFN_MIGRATE |HMM_PFN_COMPOUND ); + goto split;/* fall back to splitting the pmd */ + } +for (i =1 , start +=PAGE_SIZE ; start < end; start +=PAGE_SIZE , i++) + hmm_pfn[i] &=HMM_PFN_INOUT_FLAGS ; + + }else { + goto split;/* fall back to splitting the pmd */ + } + +out: +return r; + +split: +spin_unlock (hmm_vma_walk->ptl); + hmm_vma_walk->pmdlocked = false; + +/* +* folio_get() above took an extra reference. For the fault folio the +* caller still holds a reference and the lock, which is the +* precondition of __migrate_vma_split_folio(), so drop the extra one. +*/ +if (folio == fault_folio) +folio_put (folio); + + r =__migrate_vma_split_folio (folio, migrate->fault_page); +if (r) +return r; + + hmm_vma_walk->last = start; +return -EBUSY ; }/*
@@ -958,8 +1077,18 @@ static int hmm_vma_walk_pmd(pmd_t *pmdp, hmm_vma_walk->pmdlocked = false; } +/* +* hmm_vma_handle_migrate_prepare_pmd() splits the huge pmd in +* place when needed and returns -EBUSY to re-walk the range as +* PTEs; any other error means the split failed. +*/ +if (r == -EBUSY ) +return -EBUSY ; +if (r) { +/* Split not successful, skip */ +return hmm_pfns_fill (start, end, hmm_vma_walk,HMM_PFN_ERROR ); + }return r; - }if (hmm_vma_walk->pmdlocked) {
Signature · 1 line
2.55.0
PATCH v15 7/11 mm/hmm: add lazy MMU mode support for migration in HMM pagewalk
In reply to [email protected]From: Mika Penttilä <[email protected]>
Add calls to lazy_mmu_mode_enable() and lazy_mmu_mode_disable() while doing migration.
--- mm/hmm.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
mm/hmm.c +8 -1
@@ -373,6 +373,7 @@ static int hmm_vma_handle_pte(struct mm_walk *walk, unsigned long addr,/* Report error for everything else */ if (hmm_vma_walk->ptelocked) { +lazy_mmu_mode_disable ();pte_unmap_unlock (ptep, hmm_vma_walk->ptl); hmm_vma_walk->ptelocked = false; }else {
@@ -396,6 +397,7 @@ static int hmm_vma_handle_pte(struct mm_walk *walk, unsigned long addr, !is_zero_pfn(pte_pfn(pte))) {if (hmm_pte_need_fault (hmm_vma_walk, pfn_req_flags,0 )) {if (hmm_vma_walk->ptelocked) { +lazy_mmu_mode_disable ();pte_unmap_unlock (ptep, hmm_vma_walk->ptl); hmm_vma_walk->ptelocked = false; }else {
@@ -415,6 +417,7 @@ static int hmm_vma_handle_pte(struct mm_walk *walk, unsigned long addr, fault:if (hmm_vma_walk->ptelocked) { +lazy_mmu_mode_disable ();pte_unmap_unlock (ptep, hmm_vma_walk->ptl); hmm_vma_walk->ptelocked = false; }else {
@@ -555,6 +558,7 @@ static int migrate_vma_split_folio(struct folio *folio,if (folio != fault_folio)folio_get (folio); +lazy_mmu_mode_disable ();pte_unmap_unlock (ptep, hmm_vma_walk->ptl); hmm_vma_walk->ptelocked = false;
@@ -1110,8 +1114,10 @@ static int hmm_vma_walk_pmd(pmd_t *pmdp,if (minfo) { ptep =pte_offset_map_lock (mm, pmdp, addr, &hmm_vma_walk->ptl); -if (ptep) +if (ptep) { +lazy_mmu_mode_enable (); hmm_vma_walk->ptelocked = true; + } }else { ptep =pte_offset_map (pmdp, addr); }
@@ -1155,6 +1161,7 @@ static int hmm_vma_walk_pmd(pmd_t *pmdp,flush_tlb_range (walk->vma, start, addr);if (hmm_vma_walk->ptelocked) { +lazy_mmu_mode_disable ();pte_unmap_unlock (ptep -1 , hmm_vma_walk->ptl); hmm_vma_walk->ptelocked = false; }else {
Signature · 1 line
2.55.0
PATCH v15 8/11 mm/hmm: implement rollback for device page migration in HMM pagewalk
In reply to [email protected]From: Mika Penttilä <[email protected]>
During the migration pagewalk, the PTE table could be cleared and/or changed into PMD leaf or even another PTE table while dropped locks.
In these cases the possibly inserted migration ptes are gone. We have to however undo the collecting done so far, so unlock the folios and drop reference taken.
During the pagewalk we notice such scenarios if going to recollect a pfn but have already committed to migrate the entry with HMM_PFN_MIGRATE, in which case rollback.
If we encounter migration ptes they are just skipped to allow for restart own walks.
--- include/linux/hmm.h | 22 +++++++++++++ mm/hmm.c | 76 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+)
include/linux/hmm.h +22 -0
@@ -111,6 +111,28 @@ static inline unsigned int hmm_pfn_to_map_order(unsigned long hmm_pfn)return (hmm_pfn >>HMM_PFN_ORDER_SHIFT ) &0x1F ; } +/* +* hmm_pfn_collected() - is this pfn entry prepared for migration ? +* If collected the folio's refcount is increased and the folio +* is locked. +*/ +static inline bool hmm_pfn_collected (unsigned long hmm_pfn) +{ +return (hmm_pfn & (HMM_PFN_VALID |HMM_PFN_MIGRATE )) == + (HMM_PFN_VALID |HMM_PFN_MIGRATE ); +} + +/* +* hmm_pfn_rollback_collected() - undoes the collection of hmm_pfn +* +* Note for total rollback the folio's refcount has to be put +* and folio has to be unlocked. +*/ +static inline unsigned long hmm_pfn_rollback_collected (unsigned long hmm_pfn) +{ +return hmm_pfn & ~(HMM_PFN_VALID |HMM_PFN_MIGRATE |HMM_PFN_COMPOUND ); +} +/* * struct hmm_range - track invalidation lock on virtual address range *
mm/hmm.c +76 -0
136 lines not on this page · raw message
Signature · 1 line
2.55.0
PATCH v15 9/11 mm: enable device page migration from HMM pagewalk
In reply to [email protected]From: Mika Penttilä <[email protected]>
HMM pagewalk has now the machinery to do the first phase of device page migration, collecting the pfns and installing migration ptes.
Enable migration in hmm_range_fault(), and change migrate_vma_setup() to use HMM pagewalk path. Two new flags, MIGRATE_VMA_FAULT and MIGRATE_VMA_WRITE are introduced for migrate_vma_setup(), to request for faulting missing pages, and requesting write access.
Also, the migrate_vma_collect*() based paths are now unused, so delete them.
--- include/linux/migrate.h | 10 +- mm/hmm.c | 33 ++- mm/migrate_device.c | 562 ++++------------------------------------ 3 files changed, 83 insertions(+), 522 deletions(-)
include/linux/migrate.h +8 -2
@@ -180,6 +180,8 @@ enum migrate_vma_info {MIGRATE_VMA_SELECT_DEVICE_PRIVATE =1 <<1 ,MIGRATE_VMA_SELECT_DEVICE_COHERENT =1 <<2 ,MIGRATE_VMA_SELECT_COMPOUND =1 <<3 , +MIGRATE_VMA_FAULT =1 <<4 , + MIGRATE_VMA_WRITE = 1 << 5, }; struct migrate_vma {
@@ -217,10 +219,14 @@ struct migrate_vma {struct page *fault_page; }; -// TODO: enable migration static inline enum migrate_vma_info hmm_select_migrate (struct hmm_range *range) { -return 0 ; +enum migrate_vma_info minfo; + + minfo = (range->default_flags &HMM_PFN_REQ_MIGRATE ) ? + range->migrate->flags :0 ; + +return minfo; }#ifdef CONFIG_MMU_NOTIFIER
mm/hmm.c +31 -2
@@ -1539,14 +1539,43 @@ static int hmm_range_fault_locked(struct hmm_range *range, bool *locked)* the invalidation to finish. * -EFAULT: A page was requested to be valid and could not be made valid * ie it has no backing VMA or it is illegal to access +* -ERANGE: The range crosses multiple VMAs, or space for hmm_pfns array +* is too low. * * This is similar to get_user_pages(), except that it can read the page tables * without mutating them (ie causing faults). * * The mmap lock must be held by the caller and will remain held on return. * New users should prefer hmm_range_fault_unlocked_timeout() unless they -* specifically need to keep the mmap lock held across the call. This helper -* cannot support VMAs whose fault handlers need to drop the mmap lock. +* specifically need to keep the mmap lock held across the call like while +* migrating. This helper cannot support VMAs whose fault handlers need to +* drop the mmap lock. +* +* If want to do migration after faulting, call hmm_range_fault() with +* range.default_flags of HMM_PFN_REQ_MIGRATE, and optionally +* HMM_PFN_REQ_FAULT|HMM_PFN_REQ_WRITE, and initialize range->migrate field. +* range->migrate->vma will be populated during the call, +* and must be stable across the whole migrate process, which is +* why mmap_lock must be held around this call. +* +* When HMM_PFN_REQ_MIGRATE is set, migration collection may be partial on +* return and the caller takes responsibility for completing or aborting it. +* +* On success, the caller must call migrate_hmm_range_setup() and may then +* proceed with the normal migrate_vma sequence: prepare destination pages, +* call migrate_vma_pages(), update device mappings as needed, and finally +* call migrate_vma_finalize(). +* +* On -EBUSY, the caller may retry hmm_range_fault() using the same range and +* PFN array without undoing entries collected by the previous attempt. If +* the caller stops retrying, it must abort the partial migration. +* +* On any other error, or when abandoning a retry, the caller must call +* migrate_hmm_range_setup(), migrate_vma_pages() with no valid destination +* entries, and migrate_vma_finalize() to abort the partial migration. +* +* The mmap read lock must remain held until the migration has either been +* completed or aborted. */ int hmm_range_fault (struct hmm_range *range) {
mm/migrate_device.c +44 -518
597 lines not on this page · raw message
Signature · 1 line
2.55.0
PATCH v15 10/11 lib/test_hmm: add a new testcase for the migrate on fault
In reply to [email protected]From: Mika Penttilä <[email protected]>
Enhance the hmm test driver (lib/test_hmm) with migrate on fault case.
--- lib/test_hmm.c | 172 +++++++++++++++++++++++-- lib/test_hmm_uapi.h | 21 +-- tools/testing/selftests/mm/hmm-tests.c | 54 ++++++++ 3 files changed, 224 insertions(+), 23 deletions(-)
lib/test_hmm.c +159 -13
@@ -36,6 +36,7 @@#define DMIRROR_RANGE_FAULT_TIMEOUT 1000#define DEVMEM_CHUNK_SIZE (256 * 1024 * 1024U)#define DEVMEM_CHUNKS_RESERVE 16 +#define PFNS_ARRAY_SIZE 64/* * For device_private pages, dpage is just a dummy struct page
@@ -355,6 +356,7 @@ static int dmirror_range_fault(struct dmirror *dmirror,struct mm_struct *mm = dmirror->notifier.mm;unsigned long timeout = jiffies +msecs_to_jiffies (HMM_RANGE_DEFAULT_TIMEOUT ); +bool migrate = range->default_flags &HMM_PFN_REQ_MIGRATE ;int ret;while (true) {
@@ -364,9 +366,15 @@ static int dmirror_range_fault(struct dmirror *dmirror, } range->notifier_seq =mmu_interval_read_begin (range->notifier); -mmap_read_lock (mm); - ret =hmm_range_fault (range); -mmap_read_unlock (mm); + +/* mmap lock held for whole migrate on fault operation */ +if (!migrate) { +mmap_read_lock (mm); + ret =hmm_range_fault (range); +mmap_read_unlock (mm); + }else { + ret =hmm_range_fault (range); + }if (ret) {if (ret == -EBUSY )continue ;
@@ -382,7 +390,9 @@ static int dmirror_range_fault(struct dmirror *dmirror,break ; } - ret =dmirror_do_fault (dmirror, range); +/* update device page table after migration */ +if (!migrate) + ret =dmirror_do_fault (dmirror, range);mutex_unlock (&dmirror->mutex); out:
@@ -994,8 +1004,12 @@ static int dmirror_atomic_map(unsigned long addr, struct page *page,return 0 ; } -static int dmirror_migrate_finalize_and_map (struct migrate_vma *args, -struct dmirror *dmirror) +/* +* Map the migrated pages into the device's page table. Caller must hold +* dmirror->mutex. +*/ +static int __dmirror_migrate_map_locked (struct migrate_vma *args, +struct dmirror *dmirror) {unsigned long start = args->start;unsigned long end = args->end;
@@ -1005,9 +1019,6 @@ static int dmirror_migrate_finalize_and_map(struct migrate_vma *args,const unsigned long start_pfn = start >>PAGE_SHIFT ;const unsigned long end_pfn = end >>PAGE_SHIFT ; -/* Map the migrated pages into the device's page tables. */ -mutex_lock (&dmirror->mutex); -for (pfn = start_pfn; pfn < end_pfn; pfn++, src++, dst++) {struct page *dpage;void *entry;
@@ -1036,17 +1047,27 @@ static int dmirror_migrate_finalize_and_map(struct migrate_vma *args,if (*dst &MIGRATE_PFN_WRITE ) entry =xa_tag_pointer (entry,DPT_XA_TAG_WRITE ); entry =xa_store (&dmirror->pt, pfn + i, entry,GFP_ATOMIC ); -if (xa_is_err (entry)) { -mutex_unlock (&dmirror->mutex); +if (xa_is_err (entry))return xa_err (entry); - } } } -mutex_unlock (&dmirror->mutex);return 0 ; } +static int dmirror_migrate_finalize_and_map (struct migrate_vma *args, +struct dmirror *dmirror) +{ +int ret; + +/* Map the migrated pages into the device's page tables. */ +mutex_lock (&dmirror->mutex); + ret =__dmirror_migrate_map_locked (args, dmirror); +mutex_unlock (&dmirror->mutex); + +return ret; +} +static int dmirror_exclusive (struct dmirror *dmirror,struct hmm_dmirror_cmd *cmd) {
@@ -1377,6 +1398,127 @@ static int dmirror_migrate_to_device(struct dmirror *dmirror,return ret; } +static int do_fault_and_migrate (struct dmirror *dmirror,struct hmm_range *range) +{ +struct migrate_vma *migrate = range->migrate; +unsigned long timeout = + jiffies +msecs_to_jiffies (HMM_RANGE_DEFAULT_TIMEOUT ); +int ret; + +do { +mmap_read_lock (dmirror->notifier.mm); + +/* Fault-in pages for migration */ + ret =dmirror_range_fault (dmirror, range); +/* +* Set this up even on error: hmm_range_fault() may have collected +* part of the range before failing. +*/ +migrate_hmm_range_setup (range); +if (ret) { +/* +* dst[] entries are empty, so this marks every collected +* migration as failed. finalize then restores the source +* mappings and drops the associated locks/references. +*/ +migrate_vma_pages (migrate); +migrate_vma_finalize (migrate); + goto unlock; + } + +pr_debug ("Migrating from sys mem to device mem\n" ); + +dmirror_migrate_alloc_and_copy (migrate, dmirror); +migrate_vma_pages (migrate); + +mutex_lock (&dmirror->mutex); +if (mmu_interval_read_retry (&dmirror->notifier, + range->notifier_seq)) + ret = -EBUSY ; +else + ret =__dmirror_migrate_map_locked (migrate, dmirror); +mutex_unlock (&dmirror->mutex); + +migrate_vma_finalize (migrate); +unlock: +mmap_read_unlock (dmirror->notifier.mm); + }while (ret == -EBUSY && !time_after (jiffies, timeout)); + +return ret; +} + +static int dmirror_fault_and_migrate_to_device (struct dmirror *dmirror, +struct hmm_dmirror_cmd *cmd) +{ +unsigned long start, size, end, next; +unsigned long src_pfns[PFNS_ARRAY_SIZE ] = {0 }; +unsigned long dst_pfns[PFNS_ARRAY_SIZE ] = {0 }; +struct migrate_vma migrate = {0 }; +struct hmm_range range = {0 }; +struct dmirror_bounce bounce; +int ret =0 ; + +/* Whole range */ + start = cmd->addr; + size = cmd->npages <<PAGE_SHIFT ; + end = start + size; + +if (!mmget_not_zero (dmirror->notifier.mm)) { + ret = -EFAULT ; + goto out; + } + + migrate.pgmap_owner = dmirror->mdevice; + migrate.src = src_pfns; + migrate.dst = dst_pfns; + migrate.flags =MIGRATE_VMA_SELECT_SYSTEM ; + + range.migrate = &migrate; + range.hmm_pfns = src_pfns; + range.pfn_flags_mask =0 ; + range.default_flags =HMM_PFN_REQ_FAULT |HMM_PFN_REQ_MIGRATE ; + range.dev_private_owner = dmirror->mdevice; + range.notifier = &dmirror->notifier; + +for (next = start; next < end; next = range.end) { + range.start = next; + range.end =min (end, next + (PFNS_ARRAY_SIZE <<PAGE_SHIFT )); + +pr_debug ("Fault and migrate range start:%#lx end:%#lx\n" , + range.start, range.end); + + ret =do_fault_and_migrate (dmirror, &range); +if (ret) + goto out_mmput; + } + +/* +* Return the migrated data for verification. +* Only for pages in device zone +*/ + ret =dmirror_bounce_init (&bounce, start, size); +if (ret) + goto out_mmput; + +mutex_lock (&dmirror->mutex); + ret =dmirror_do_read (dmirror, start, end, &bounce); +mutex_unlock (&dmirror->mutex); +if (ret ==0 ) { + ret =copy_to_user (u64_to_user_ptr (cmd->ptr), bounce.ptr, bounce.size); +if (ret) + ret = -EFAULT ; + } + + cmd->cpages = bounce.cpages; +dmirror_bounce_fini (&bounce); + + +out_mmput: +mmput (dmirror->notifier.mm); +out: +return ret; +} +static void dmirror_mkentry (struct dmirror *dmirror,struct hmm_range *range,unsigned char *perm,unsigned long entry) {
@@ -1643,6 +1785,10 @@ static long dmirror_fops_unlocked_ioctl(struct file *filp, ret =dmirror_migrate_to_device (dmirror, &cmd);break ; +case HMM_DMIRROR_MIGRATE_ON_FAULT_TO_DEV : + ret =dmirror_fault_and_migrate_to_device (dmirror, &cmd); +break ; +case HMM_DMIRROR_MIGRATE_TO_SYS : ret =dmirror_migrate_to_system (dmirror, &cmd);break ;
lib/test_hmm_uapi.h +11 -10
@@ -29,16 +29,17 @@ struct hmm_dmirror_cmd { };/* Expose the address space of the calling process through hmm device file */ -#define HMM_DMIRROR_READ _IOWR('H', 0x00, struct hmm_dmirror_cmd) -#define HMM_DMIRROR_WRITE _IOWR('H', 0x01, struct hmm_dmirror_cmd) -#define HMM_DMIRROR_MIGRATE_TO_DEV _IOWR('H', 0x02, struct hmm_dmirror_cmd) -#define HMM_DMIRROR_MIGRATE_TO_SYS _IOWR('H', 0x03, struct hmm_dmirror_cmd) -#define HMM_DMIRROR_SNAPSHOT _IOWR('H', 0x04, struct hmm_dmirror_cmd) -#define HMM_DMIRROR_EXCLUSIVE _IOWR('H', 0x05, struct hmm_dmirror_cmd) -#define HMM_DMIRROR_CHECK_EXCLUSIVE _IOWR('H', 0x06, struct hmm_dmirror_cmd) -#define HMM_DMIRROR_RELEASE _IOWR('H', 0x07, struct hmm_dmirror_cmd) -#define HMM_DMIRROR_FLAGS _IOWR('H', 0x08, struct hmm_dmirror_cmd) -#define HMM_DMIRROR_READ_UNLOCKED _IOWR('H', 0x09, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_READ _IOWR('H', 0x00, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_WRITE _IOWR('H', 0x01, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_MIGRATE_TO_DEV _IOWR('H', 0x02, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_MIGRATE_TO_SYS _IOWR('H', 0x03, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_SNAPSHOT _IOWR('H', 0x04, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_EXCLUSIVE _IOWR('H', 0x05, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_CHECK_EXCLUSIVE _IOWR('H', 0x06, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_RELEASE _IOWR('H', 0x07, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_FLAGS _IOWR('H', 0x08, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_READ_UNLOCKED _IOWR('H', 0x09, struct hmm_dmirror_cmd) +#define HMM_DMIRROR_MIGRATE_ON_FAULT_TO_DEV _IOWR('H', 0x0a, struct hmm_dmirror_cmd)#define HMM_DMIRROR_FLAG_FAIL_ALLOC (1ULL << 0)
tools/testing/selftests/mm/hmm-tests.c +54 -0
66 lines not on this page · raw message
Signature · 1 line
2.55.0
PATCH v15 11/11 Documentation/mm/hmm: document migration through hmm_range_fault()
In reply to [email protected]From: Mika Penttilä <[email protected]>
Describe the two new MIGRATE_VMA_FAULT / MIGRATE_VMA_WRITE flags of migrate_vma_setup(), and add a section on driving the migration collection phase directly from hmm_range_fault() via HMM_PFN_REQ_MIGRATE and migrate_hmm_range_setup().
--- Documentation/mm/hmm.rst | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+)
Documentation/mm/hmm.rst +39 -0
@@ -348,6 +348,13 @@ between device driver specific code and shared common code: Currently only anonymous private VMA ranges can be migrated to or from system memory and device private memory. + By default only pages already present are collected. Two additional flags + ask migrate_vma_setup() to fault in missing pages first: + + * ``MIGRATE_VMA_FAULT`` faults in missing pages with read access. + * ``MIGRATE_VMA_WRITE`` faults in missing pages with write access + (implies faulting). + One of the first steps migrate_vma_setup() does is to invalidate other device's MMUs with the ``mmu_notifier_invalidate_range_start()`` and ``mmu_notifier_invalidate_range_end()`` calls around the page table
@@ -427,6 +434,38 @@ between device driver specific code and shared common code: The lock can now be released. +Migration collection through hmm_range_fault() +============================================== + +The collection phase of migration (steps 1 and 2 above) can also be driven by +hmm_range_fault() directly, sharing its page table walk. This lets a driver +fault in and collect a range for migration in one walk, which is useful for +migrate on fault. + +To do so, the driver sets ``HMM_PFN_REQ_MIGRATE`` in ``range->default_flags`` +and points ``range->migrate`` at a ``struct migrate_vma`` it has filled in +(``flags``, ``src``, ``dst``, ``pgmap_owner``). Usually ``HMM_PFN_REQ_FAULT`` +(and ``HMM_PFN_REQ_WRITE``) is set as well, so missing pages are faulted in +before being collected. The mmap_read_lock() has to be held for the whole +migration, since the vma must stay stable. + +hmm_range_fault() collects the entries the same way migrate_vma_setup() does, +taking a folio reference, locking it and installing a migration PTE. Collected +entries are marked with ``HMM_PFN_VALID | HMM_PFN_MIGRATE`` in +``range->hmm_pfns``. If the page tables change while locks are dropped the +partially collected entries are rolled back automatically. + +After hmm_range_fault() returns, the driver calls:: + + void migrate_hmm_range_setup(struct hmm_range *range); + +to translate ``range->hmm_pfns`` into ``migrate->src[]`` (``migrate->dst[]`` is +zeroed) and initialize ``migrate->cpages`` and ``migrate->npages``. From here on +the ``range->migrate`` struct is ready for the rest of the flow (steps 3 +onwards), i.e. migrate_vma_pages() and migrate_vma_finalize(). This should be +called even on error, since hmm_range_fault() may have collected part of the +range before failing. + Exclusive access memory =======================
Signature · 1 line
2.55.0
[email protected]
AI reviewRe: [PATCH v15 03/11] mm/hmm: preparations for HMM to participate in migration
In reply to [email protected]Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] mm: migrate: missing MIGRATE_VMA_SELECT_NONE under CONFIG_MIGRATION --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] mm: migrate: missing MIGRATE_VMA_SELECT_NONE under CONFIG_MIGRATION --
commit b1bec522cfd1d7118c74e979fcadbaa2b246dc13
Author: Mika Penttilä <[email protected]>
mm/hmm: preparations for HMM to participate in migration
This commit prepares HMM for migration by retrieving the VMA during page walks and ensuring the mmap_lock is held. It also renames some hmm_vma_walk fields to prevent namespace collisions.
Quoted 4 lines
include/linux/migrate.h +0
-0
[ ... ]
include/linux/migrate.h static inline unsigned long migrate_pfn(unsigned long pfn) · line 181
Quoted 9 lines
include/linux/migrate.h +1
-1@@ -150,7 +175,7 @@ static inline unsigned long migrate_pfn(unsigned long pfn)return (pfn <<MIGRATE_PFN_SHIFT ) |MIGRATE_PFN_VALID ; } -enum migrate_vma_direction { +enum migrate_vma_info {MIGRATE_VMA_SELECT_SYSTEM =1 <<0 ,MIGRATE_VMA_SELECT_DEVICE_PRIVATE =1 <<1 ,MIGRATE_VMA_SELECT_DEVICE_COHERENT =1 <<2 ,
[Severity: Low]
This is not a bug, but could we add MIGRATE_VMA_SELECT_NONE to this enum under CONFIG_MIGRATION?
It looks like it is missing here, even though it is defined in the fallback block when CONFIG_MIGRATION is disabled. This is strictly a compile-time naming and style issue and has no runtime effect. Note that I initially thought MIGRATE_VMA_SELECT_COMPOUND was also missing, but I see it is correctly defined in the tree.
[ ... ]
include/linux/migrate.h struct migrate_vma { · line 223
Quoted 8 lines
include/linux/migrate.h +4
-0@@ -192,6 +217,29 @@ struct migrate_vma {struct page *fault_page; }; +// TODO: enable migration +static inline enum migrate_vma_info hmm_select_migrate (struct hmm_range *range) +{ +return 0 ;
[Severity: Low]
Does the missing MIGRATE_VMA_SELECT_NONE in the enum definition force this code to use a literal 0 as a workaround instead of a named enum value?
Could we define MIGRATE_VMA_SELECT_NONE and use it here for better consistency?
Quoted 1 line
include/linux/migrate.h +1
-0+}
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
[email protected]
AI reviewRe: [PATCH v15 06/11] mm/hmm: migrate collection in HMM pagewalk - pmd level
In reply to [email protected]Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] mm: Use-After-Free in __migrate_vma_split_folio on unlocked tail page --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] mm: Use-After-Free in __migrate_vma_split_folio on unlocked tail page --
commit 303a19fde6deb0a6633524827ecf0a51aa867674
Author: Mika Penttilä <[email protected]>
mm/hmm: migrate collection in HMM pagewalk - pmd level
This commit implements hmm_vma_handle_migrate_prepare_pmd() to handle migration decisions and split folios for HMM pagewalk-based migration. It also refactors the folio splitting path by separating it into __migrate_vma_split_folio() to fix extra refcount and unlock issues.
Quoted 32 lines
mm/hmm.c +5
-13@@ -492,31 +492,19 @@ static int hmm_vma_handle_absent_pmd(struct mm_walk *walk, unsigned long start,#ifdef CONFIG_DEVICE_MIGRATION /** -* migrate_vma_split_folio() - Helper function to split a THP folio +* __migrate_vma_split_folio() - split a folio and move the lock/ref to the +* order-0 folio backing @fault_page after the split * @folio: the folio to split -* @fault_page: struct page associated with the fault if any -* @hmm_vma_walk: walk in progress -* @ptep: pte_t * for unmap and unlock ptl * -* Returns 0 on success +* Returns 0 on success. */ -static int migrate_vma_split_folio (struct folio *folio, -struct page *fault_page, -struct hmm_vma_walk *hmm_vma_walk, -pte_t *ptep) +static int __migrate_vma_split_folio (struct folio *folio, +struct page *fault_page) { -int ret;struct folio *fault_folio = fault_page ?page_folio (fault_page) :NULL ;struct folio *new_fault_folio =NULL ; - -if (folio != fault_folio) -folio_get (folio);
mm/hmm.c static int hmm_vma_handle_absent_pmd(struct mm_walk *walk, unsigned long start, · line 509
Quoted 10 lines
mm/hmm.c +1
-6- -pte_unmap_unlock (ptep, hmm_vma_walk->ptl); - hmm_vma_walk->ptelocked = false; - -if (folio != fault_folio) -folio_lock (folio); +int ret; ret =split_folio (folio);if (ret) {
[Severity: High]
Can this lead to a use-after-free on an unlocked tail page?
If split_folio() successfully splits a THP where the fault page is a tail page, it returns with the head page locked but unfreezes and unlocks all the tail pages.
Later in this function, the code directly acquires a reference and lock on the new tail folio:
if (new_fault_folio != fault_folio) {
folio_get(new_fault_folio);
folio_lock(new_fault_folio);
}Since the PMD lock was dropped before calling __migrate_vma_split_folio() and mmap_lock is only held in read mode, could a concurrent thread (like memory reclaim) isolate, unmap, and free the unlocked tail page to the buddy allocator before folio_get() is called?
Should this use folio_try_get() to safely acquire a reference to the speculatively accessed tail folio?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=6
[email protected]
AI reviewRe: [PATCH v15 05/11] mm/hmm: migrate collection in HMM pagewalk - pte level
In reply to [email protected]Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider: - [High] mm: livelock in migrate_vma_split_folio() due to folio_get() before folio_lock() - [High] mm…
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] mm: livelock in migrate_vma_split_folio() due to folio_get() before folio_lock()
- [High] mm: crash in migrate_vma_split_folio() due to unvalidated non-folio compound page
- [High] mm: valid pages marked with HMM_PFN_ERROR after transient split failure --
commit 9b874173389a5794c12372b3f46c3c2b4f634054
Author: Mika Penttilä <[email protected]>
mm/hmm: migrate collection in HMM pagewalk - pte level
Implement hmm_vma_handle_migrate_prepare() for migration decisions and migrate_vma_split_folio() for splitting pte mapped large folios during HMM pagewalks.
Quoted 4 lines
mm/hmm.c +0
-0
[ ... ]
Quoted 7 lines
mm/hmm.c +7
-0+static int migrate_vma_split_folio (struct folio *folio, +struct page *fault_page, +struct hmm_vma_walk *hmm_vma_walk, +pte_t *ptep) +{ +int ret; +struct folio *fault_folio = fault_page ?page_folio (fault_page) :NULL ;
mm/hmm.c static int hmm_vma_handle_absent_pmd(struct mm_walk *walk, unsigned long start, · line 519
Quoted 10 lines
mm/hmm.c +10
-0+struct folio *new_fault_folio =NULL ; + +if (folio != fault_folio) +folio_get (folio); + +pte_unmap_unlock (ptep, hmm_vma_walk->ptl); + hmm_vma_walk->ptelocked = false; + +if (folio != fault_folio) +folio_lock (folio);
[Severity: High]
Can this cause a livelock when splitting the folio?
If multiple threads concurrently fault on the same shared large folio and enter migrate_vma_split_folio(), they will all acquire a reference via folio_get() before blocking on folio_lock(). This inflates the refcount, causing split_folio() to fail with -EAGAIN. Retrying this sequence creates a permanent livelock.
[ ... ]
Quoted 7 lines
mm/hmm.c +7
-0+static int hmm_vma_handle_migrate_prepare (const struct mm_walk *walk, +pmd_t *pmdp, +pte_t *ptep, +unsigned long addr, +unsigned long *hmm_pfn, +bool *unmapped) +{
[ ... ]
Quoted 8 lines
mm/hmm.c +8
-0+ folio = page ?page_folio (page) :NULL ; +if (folio &&folio_test_large (folio)) { +int ret; + + ret =migrate_vma_split_folio (folio, + migrate->fault_page, + hmm_vma_walk, + ptep);
mm/hmm.c static int hmm_vma_handle_migrate_prepare(const struct mm_walk *walk, · line 682
Quoted 10 lines
mm/hmm.c +10
-0+if (ret) + goto out_error; +return -EAGAIN ; + } + + writable =pte_write (pte); + } + +if (!page || !page->mapping) + goto out;
[Severity: High]
Does this code operate on uninitialized folio metadata if a driver maps an uninitialized compound page to userspace?
If a driver allocates a compound page without folio initialization and maps it, hmm_range_fault() walking the VMA will see PG_head set, and folio_test_large() will succeed. Because the !page->mapping validation check is deferred until after the split attempt, this passes the uninitialized compound page to migrate_vma_split_folio(), which can crash when calling folio_lock() and split_folio().
[ ... ]
mm/hmm.c static int hmm_vma_handle_migrate_prepare(const struct mm_walk *walk, · line 774
Quoted 5 lines
mm/hmm.c +3
-0+out:return 0 ; +out_error: +return -EFAULT ; }
[Severity: High]
Can a transient split failure result in valid pages being falsely marked as inaccessible?
If migrate_vma_split_folio() fails due to a transient refcount elevation, hmm_vma_handle_migrate_prepare() returns -EFAULT. When hmm_vma_walk_pmd() catches this non -EAGAIN error, it breaks the loop and calls hmm_pfns_fill(..., HMM_PFN_ERROR) for the entire remainder of the PMD.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=5
[email protected]
AI reviewRe: [PATCH v15 01/11] mm/Kconfig: changes for migrate on fault for device pages
In reply to [email protected]Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] mm: DEVICE_MIGRATION selects HMM_MIRROR without depends on MMU constraint --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] mm: DEVICE_MIGRATION selects HMM_MIRROR without depends on MMU constraint --
commit d98d7483ad3c2031ffcf056a41d08580cd84769d
Author: Mika Penttilä <[email protected]>
mm/Kconfig: changes for migrate on fault for device pages
This commit modifies the memory management Kconfig to have DEVICE_MIGRATION explicitly select HMM_MIRROR. This ensures HMM is enabled for the unified HMM and migrate_device page table walks.
mm/Kconfig config MIGRATION · line 690
Quoted 9 lines
mm/Kconfig +1
-0@@ -687,6 +687,7 @@ config MIGRATION config DEVICE_MIGRATION def_bool MIGRATION && ZONE_DEVICE + select HMM_MIRROR
[Severity: Low]
Does selecting HMM_MIRROR under DEVICE_MIGRATION require an explicit dependency on MMU?
When a Kconfig symbol uses select, it is expected to have dependencies compatible with the selected symbol's dependencies. HMM_MIRROR explicitly depends on MMU, but DEVICE_MIGRATION lacks an explicit depends on MMU or depends on MIGRATION constraint.
While DEVICE_MIGRATION is currently only enabled via its default expression which transitively requires MMU, a default value expression does not act as a dependency constraint against a select operation. If a future patch were to forcefully select DEVICE_MIGRATION on a non-MMU architecture, it would bypass the def_bool and enable HMM_MIRROR without its required MMU dependency.
Could this structural risk be avoided by adding an explicit depends on MMU to DEVICE_MIGRATION?
Quoted 2 lines
mm/Kconfig +0
-0config ARCH_ENABLE_HUGEPAGE_MIGRATION bool
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
[email protected]
AI reviewRe: [PATCH v15 08/11] mm/hmm: implement rollback for device page migration in HMM pagewalk
In reply to [email protected]Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider: - [Critical] mm: memory corruption via uninitialized PFN unlock/put during rollback - [High] mm: infinite…
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Critical] mm: memory corruption via uninitialized PFN unlock/put during rollback
- [High] mm: infinite loop in hmm_range_fault_locked on failed THP split
- [Medium] mm: lost per-PFN input flags on hmm rollback preventing correct retries --
commit 773397c69855b5d4adbb7a21c81d362234a475a7
Author: Mika Penttilä <[email protected]>
mm/hmm: implement rollback for device page migration in HMM pagewalk
During the migration pagewalk, the PTE table could be cleared and/or changed into PMD leaf or even another PTE table while dropped locks.
In these cases the possibly inserted migration ptes are gone. We have to however undo the collecting done so far, so unlock the folios and drop reference taken.
[ ... ]
Quoted 19 lines
include/linux/hmm.h +11
-0@@ -111,6 +111,28 @@ static inline unsigned int hmm_pfn_to_map_order(unsigned long hmm_pfn)return (hmm_pfn >>HMM_PFN_ORDER_SHIFT ) &0x1F ; } +/* +* hmm_pfn_collected() - is this pfn entry prepared for migration ? +* If collected the folio's refcount is increased and the folio +* is locked. +*/ +static inline bool hmm_pfn_collected (unsigned long hmm_pfn) +{ +return (hmm_pfn & (HMM_PFN_VALID |HMM_PFN_MIGRATE )) == + (HMM_PFN_VALID |HMM_PFN_MIGRATE ); +} +
include/linux/hmm.h static inline unsigned int hmm_pfn_to_map_order(unsigned long hmm_pfn) · line 134
Quoted 10 lines
include/linux/hmm.h +10
-0+/* +* hmm_pfn_rollback_collected() - undoes the collection of hmm_pfn +* +* Note for total rollback the folio's refcount has to be put +* and folio has to be unlocked. +*/ +static inline unsigned long hmm_pfn_rollback_collected (unsigned long hmm_pfn) +{ +return hmm_pfn & ~(HMM_PFN_VALID |HMM_PFN_MIGRATE |HMM_PFN_COMPOUND ); +}
[Severity: Medium]
Will hmm_pfn_rollback_collected() destroy the user's per-PFN request flags?
When pte_offset_map_lock() fails in hmm_vma_walk_pmd(), hmm_vma_handle_migrate_prepare_rollback() is called on unprocessed entries. This clears HMM_PFN_VALID and HMM_PFN_MIGRATE here. Because input flags (HMM_PFN_REQ_FAULT and HMM_PFN_REQ_MIGRATE) share the exact same bit definitions as the output flags, this effectively destroys the user's request flags.
If the outer loop retries the walk, will it see no request flags for these pages and silently skip them?
Quoted 8 lines
include/linux/hmm.h +1
-0+/* * struct hmm_range - track invalidation lock on virtual address range * mm/hmm.c +0
-0
[ ... ]
mm/hmm.c static int hmm_vma_handle_pte(struct mm_walk *walk, unsigned long addr, · line 428
Quoted 9 lines
mm/hmm.c +3
-0@@ -412,6 +421,9 @@ static int hmm_vma_handle_pte(struct mm_walk *walk, unsigned long addr, new_pfn_flags =pte_pfn (pte) | cpu_flags; out: +hmm_vma_handle_migrate_prepare_rollback (hmm_vma_walk, addr, + addr +PAGE_SIZE , + hmm_pfn); *hmm_pfn = (*hmm_pfn &HMM_PFN_INOUT_FLAGS ) | new_pfn_flags;return 0 ;
[Severity: Critical]
Can this regression lead to memory corruption via an uninitialized PFN unlock/put?
Here hmm_vma_handle_migrate_prepare_rollback() is called before the individual hmm_pfn entry is populated with new_pfn_flags, meaning it reads and acts on the user's input flags.
If a user calls hmm_range_fault() to request migration using per-PFN flags (setting HMM_PFN_REQ_MIGRATE | HMM_PFN_REQ_FAULT, which map directly to HMM_PFN_MIGRATE | HMM_PFN_VALID), hmm_pfn_collected() will incorrectly evaluate to true.
This causes hmm_vma_handle_migrate_prepare_rollback() to extract the PFN part (typically 0), cast it to a folio, and attempt to unlock/put it:
hmm_vma_handle_migrate_prepare_rollback() {
...
folio = page_folio(hmm_pfn_to_page(hmm_pfn[i]));
if (folio != fault_folio)
folio_unlock(folio);
folio_put(folio);
...
}[ ... ]
mm/hmm.c static int hmm_vma_walk_pmd(pmd_t *pmdp, · line 1198
Quoted 10 lines
mm/hmm.c +3
-0@@ -1117,6 +1190,9 @@ static int hmm_vma_walk_pmd(pmd_t *pmdp,if (ptep) {lazy_mmu_mode_enable (); hmm_vma_walk->ptelocked = true; + }else { +/* The pte table is gone */ +hmm_vma_handle_migrate_prepare_rollback (walk->private, addr, end, hmm_pfns); } }else { ptep =pte_offset_map (pmdp, addr);
[Severity: High]
Is there an infinite loop in hmm_range_fault_locked() when a THP split fails?
When hmm_vma_handle_migrate_prepare_pmd() attempts to split a PMD-mapped THP via __migrate_vma_split_folio(), the split can fail and return -EBUSY. It propagates this -EBUSY directly to hmm_vma_walk_pmd() without updating hmm_vma_walk->last:
hmm_vma_handle_migrate_prepare_pmd() {
...
r = __migrate_vma_split_folio(folio, migrate->fault_page);
if (r)
return r;
hmm_vma_walk->last = start;
return -EBUSY;
}However, hmm_vma_walk_pmd() handles -EBUSY as a success sentinel meaning "split succeeded, please re-walk":
/* * hmm_vma_handle_migrate_prepare_pmd() splits the huge pmd in * place when needed and returns -EBUSY to re-walk the range as * PTEs; any other error means the split failed. */ if (r == -EBUSY) return -EBUSY;
This propagates the -EBUSY to walk_page_range(), and the outer loop in hmm_range_fault_locked() restarts the walk from hmm_vma_walk.last (which was not advanced). It encounters the exact same THP, fails to split it again, and loops infinitely.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=8
[email protected]
AI reviewRe: [PATCH v15 10/11] lib/test_hmm: add a new testcase for the migrate on fault
In reply to [email protected]Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] test_hmm: device page table desync on concurrent MMU invalidation --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] test_hmm: device page table desync on concurrent MMU invalidation --
commit fba7f5abd6e7b21ba16a0224adb82cc24650eb6e
Author: Mika Penttilä <[email protected]>
lib/test_hmm: add a new testcase for the migrate on fault
This commit enhances the hmm test driver (lib/test_hmm) by adding a new testcase for the migrate on fault scenario.
Quoted 4 lines
lib/test_hmm.c +0
-0
[ ... ]
Quoted 1 line
lib/test_hmm.c +0
-0@@ -1377,6 +1398,127 @@ static int dmirror_migrate_to_device(struct dmirror *dmirror,
[ ... ]
Quoted 2 lines
lib/test_hmm.c +2
-0+static int do_fault_and_migrate (struct dmirror *dmirror,struct hmm_range *range) +{
[ ... ]
lib/test_hmm.c static int dmirror_migrate_to_device(struct dmirror *dmirror, · line 1442
Quoted 12 lines
lib/test_hmm.c +12
-0+dmirror_migrate_alloc_and_copy (migrate, dmirror); +migrate_vma_pages (migrate); + +mutex_lock (&dmirror->mutex); +if (mmu_interval_read_retry (&dmirror->notifier, + range->notifier_seq)) + ret = -EBUSY ; +else + ret =__dmirror_migrate_map_locked (migrate, dmirror); +mutex_unlock (&dmirror->mutex); + +migrate_vma_finalize (migrate);
[Severity: Medium]
Will skipping the device page table update here create an inconsistent state that migrate_vma_finalize() permanently commits?
In do_fault_and_migrate() in lib/test_hmm.c, if a concurrent page unmap (like page reclaim) invalidates the MMU notifier interval between mmu_interval_read_begin() and mmu_interval_read_retry(), the retry check fails and ret is set to -EBUSY.
However, migrate_vma_pages() has already executed and populated the CPU page tables. By skipping __dmirror_migrate_map_locked() on retry, the device page table is left desynchronized. When migrate_vma_finalize() is subsequently called, the CPU page tables irreversibly commit the migration to device private memory without the new device mappings.
Could this cause a wasteful ping-pong migration on the subsequent retry loop, where hmm_range_fault() triggers a fault on these device-private pages, calls the device's migrate_to_ram handler to bounce the pages back to system RAM, only to migrate them to the device again?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=10
Patchwork
CI✗ CI.checkpatch: warning for Migrate on fault for device pages (rev7)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Migrate on fault for device pages (rev7)
URL : https://patchwork.freedesktop.org/series/165953/
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 6bef5ce5c74dc76b4ee69ab2832c0d1fd63c91c7
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit f40ee1d9d3eca569bc0c7ce5ab4f021878d5a37c
Author: Mika Penttilä <[email protected]> Date: Thu Sep 24 09:53:13 2026 +0300
Documentation/mm/hmm: document migration through hmm_range_fault()
Describe the two new MIGRATE_VMA_FAULT / MIGRATE_VMA_WRITE flags of migrate_vma_setup(), and add a section on driving the migration collection phase directly from hmm_range_fault() via HMM_PFN_REQ_MIGRATE and migrate_hmm_range_setup().
+ /mt/dim checkpatch 1a702d79afe36153e37dd9784fde95f9f86ea03f drm-intel 6af278ad99a7 mm/Kconfig: changes for migrate on fault for device pages 007b00d9e503 mm: add helper to convert HMM pfn to migrate pfn -:179: CHECK:BRACES: Blank lines aren't necessary before a close brace '}' #179: FILE: mm/migrate_device.c:1584:
+
+}
total: 0 errors, 0 warnings, 1 checks, 138 lines checked232b61ad1b9c mm/hmm: preparations for HMM to participate in migration
-:191: CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'hmm_vma_walk->vma != walk->vma' #191: FILE: mm/hmm.c:422:
+ if (hmm_vma_walk->vma && (hmm_vma_walk->vma != walk->vma))
-:214: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #214: FILE: mm/hmm.c:445:
+{
+
total: 0 errors, 0 warnings, 2 checks, 261 lines checked 73b7a99a0e4b mm/hmm: do the plumbing for HMM to participate in migration -:47: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment #47: FILE: mm/hmm.c:54:
+ spinlock_t *ptl;
-:55: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'locked' may be better as '(locked)' to avoid precedence issues #55: FILE: mm/hmm.c:76:
+#define HMM_ASSERT_PTE_LOCKED(hmm_vma_walk, locked) \
+ WARN_ON_ONCE((hmm_vma_walk)->ptelocked != locked)
-:58: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'locked' may be better as '(locked)' to avoid precedence issues #58: FILE: mm/hmm.c:79:
+#define HMM_ASSERT_PMD_LOCKED(hmm_vma_walk, locked) \
+ WARN_ON_ONCE((hmm_vma_walk)->pmdlocked != locked)
-:61: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'hmm_vma_walk' - possible side-effects? #61: FILE: mm/hmm.c:82:
+#define HMM_ASSERT_UNLOCKED(hmm_vma_walk) \
+ WARN_ON_ONCE((hmm_vma_walk)->ptelocked || \
+ (hmm_vma_walk)->pmdlocked)
-:92: CHECK:SPACING: spaces preferred around that '-' (ctx:VxV) #92: FILE: mm/hmm.c:118:
+ end-addr == HPAGE_PMD_SIZE) {
^
-:216: CHECK:BRACES: braces {} should be used on all arms of this statement #216: FILE: mm/hmm.c:466:
+ if (softleaf_is_device_private(entry)) {
[...]
else
[...]
-:320: CHECK:BRACES: braces {} should be used on all arms of this statement #320: FILE: mm/hmm.c:614:
+ if (minfo) {
[...]
+ } else
[...]
-:324: CHECK:BRACES: Unbalanced braces around else statement #324: FILE: mm/hmm.c:618:
+ } else
-:430: CHECK:BRACES: Blank lines aren't necessary before a close brace '}' #430: FILE: mm/hmm.c:702:
+
+ }
total: 0 errors, 0 warnings, 9 checks, 483 lines checked 202ddf1d60dc mm/hmm: migrate collection in HMM pagewalk - pte level de9005d71aaa mm/hmm: migrate collection in HMM pagewalk - pmd level 43288536a090 mm/hmm: add lazy MMU mode support for migration in HMM pagewalk 7626c9123cf3 mm/hmm: implement rollback for device page migration in HMM pagewalk -:163: CHECK:BRACES: Blank lines aren't necessary before a close brace '}' #163: FILE: mm/hmm.c:624:
+
+ }
total: 0 errors, 0 warnings, 1 checks, 164 lines checked 1a74dce20970 mm: enable device page migration from HMM pagewalk 4b3f93e8f377 lib/test_hmm: add a new testcase for the migrate on fault -:246: CHECK:LINE_SPACING: Please don't use multiple blank lines #246: FILE: lib/test_hmm.c:1515:
+
+
-:321: CHECK:LINE_SPACING: Please don't use multiple blank lines #321: FILE: tools/testing/selftests/mm/hmm-tests.c:948:
+
total: 0 errors, 0 warnings, 2 checks, 326 lines checked f40ee1d9d3ec Documentation/mm/hmm: document migration through hmm_range_fault()
Patchwork
CI✓ CI.KUnit: success for Migrate on fault for device pages (rev7)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Migrate on fault for device pages (rev7)
URL : https://patchwork.freedesktop.org/series/165953/
State : success
== Summary ==
+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[07:28:07] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [07:28:11] 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 [07:28:32] Starting KUnit Kernel (1/1)... [07:28:32] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [07:28:32] ============= refcount_interrupt (4 subtests) ============== [07:28:32] [PASSED] test_single_irq_change [07:28:32] [PASSED] test_nested_irq_change [07:28:32] [PASSED] test_multiple_irq_change [07:28:32] [PASSED] test_irq_save [07:28:32] =============== [PASSED] refcount_interrupt ================ [07:28:32] ================= gpu_buddy (14 subtests) ================== [07:28:32] [PASSED] gpu_test_buddy_alloc_limit [07:28:32] [PASSED] gpu_test_buddy_alloc_optimistic [07:28:32] [PASSED] gpu_test_buddy_alloc_pessimistic [07:28:32] [PASSED] gpu_test_buddy_alloc_pathological [07:28:32] [PASSED] gpu_test_buddy_alloc_contiguous [07:28:32] [PASSED] gpu_test_buddy_alloc_clear [07:28:32] [PASSED] gpu_test_buddy_alloc_range [07:28:32] [PASSED] gpu_test_buddy_alloc_range_bias [07:28:33] [PASSED] gpu_test_buddy_fragmentation_performance [07:28:34] [PASSED] gpu_test_buddy_dirty_tracker_performance [07:28:34] [PASSED] gpu_test_buddy_alloc_exceeds_max_order [07:28:34] [PASSED] gpu_test_buddy_offset_aligned_allocation [07:28:34] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress [07:28:34] [PASSED] gpu_test_buddy_addr_to_block [07:28:34] ==================== [PASSED] gpu_buddy ==================== [07:28:34] ============================================================ [07:28:34] Testing complete. Ran 18 tests: passed: 18 [07:28:34] Elapsed time: 27.023s total, 4.382s configuring, 20.473s building, 2.098s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [07:28:34] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [07:28:36] 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 [07:29:11] Starting KUnit Kernel (1/1)... [07:29:11] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [07:29:11] ============= refcount_interrupt (4 subtests) ============== [07:29:11] [PASSED] test_single_irq_change [07:29:11] [PASSED] test_nested_irq_change [07:29:11] [PASSED] test_multiple_irq_change [07:29:11] [PASSED] test_irq_save [07:29:11] =============== [PASSED] refcount_interrupt ================ [07:29:11] ================== guc_buf (11 subtests) =================== [07:29:11] [PASSED] test_smallest [07:29:11] [PASSED] test_largest [07:29:11] [PASSED] test_granular [07:29:11] [PASSED] test_unique [07:29:11] [PASSED] test_overlap [07:29:11] [PASSED] test_reusable [07:29:11] [PASSED] test_too_big [07:29:11] [PASSED] test_flush [07:29:11] [PASSED] test_lookup [07:29:11] [PASSED] test_data [07:29:11] [PASSED] test_class [07:29:11] ===================== [PASSED] guc_buf ===================== [07:29:11] =================== guc_dbm (7 subtests) =================== [07:29:11] [PASSED] test_empty [07:29:11] [PASSED] test_default [07:29:11] ======================== test_size ======================== [07:29:11] [PASSED] 4 [07:29:11] [PASSED] 8 [07:29:11] [PASSED] 32 [07:29:11] [PASSED] 256 [07:29:11] ==================== [PASSED] test_size ==================== [07:29:11] ======================= test_reuse ======================== [07:29:11] [PASSED] 4 [07:29:11] [PASSED] 8 [07:29:11] [PASSED] 32 [07:29:11] [PASSED] 256 [07:29:11] =================== [PASSED] test_reuse ==================== [07:29:11] =================== test_range_overlap ==================== [07:29:11] [PASSED] 4 [07:29:11] [PASSED] 8 [07:29:11] [PASSED] 32 [07:29:11] [PASSED] 256 [07:29:11] =============== [PASSED] test_range_overlap ================ [07:29:11] =================== test_range_compact ==================== [07:29:11] [PASSED] 4 [07:29:11] [PASSED] 8 [07:29:11] [PASSED] 32 [07:29:11] [PASSED] 256 [07:29:11] =============== [PASSED] test_range_compact ================ [07:29:11] ==================== test_range_spare ===================== [07:29:11] [PASSED] 4 [07:29:11] [PASSED] 8 [07:29:11] [PASSED] 32 [07:29:11] [PASSED] 256 [07:29:11] ================ [PASSED] test_range_spare ================= [07:29:11] ===================== [PASSED] guc_dbm ===================== [07:29:11] =================== guc_idm (6 subtests) =================== [07:29:11] [PASSED] bad_init [07:29:11] [PASSED] no_init [07:29:11] [PASSED] init_fini [07:29:11] [PASSED] check_used [07:29:11] [PASSED] check_quota [07:29:11] [PASSED] check_all [07:29:11] ===================== [PASSED] guc_idm ===================== [07:29:11] ============== guc_klv_helpers (13 subtests) =============== [07:29:11] [PASSED] test_count [07:29:11] [PASSED] test_encode_u32 [07:29:11] [PASSED] test_encode_u64 [07:29:11] [PASSED] test_encode_string [07:29:11] [PASSED] test_encode_object_raw [07:29:11] [PASSED] test_encode_object_klv [07:29:11] [PASSED] test_encode_object_nested [07:29:11] [PASSED] test_encode_object_basic [07:29:11] ===================== test_decode_u16 ===================== [07:29:11] [PASSED] empty [07:29:11] [PASSED] valid [07:29:11] [PASSED] max [07:29:11] [PASSED] big [07:29:11] [PASSED] long [07:29:11] ================= [PASSED] test_decode_u16 ================= [07:29:11] ===================== test_decode_u32 ===================== [07:29:11] [PASSED] empty [07:29:11] [PASSED] valid [07:29:11] [PASSED] max [07:29:11] [PASSED] long [07:29:11] ================= [PASSED] test_decode_u32 ================= [07:29:11] ===================== test_decode_u64 ===================== [07:29:11] [PASSED] empty [07:29:11] [PASSED] short [07:29:11] [PASSED] valid [07:29:11] [PASSED] max [07:29:11] [PASSED] long [07:29:11] ================= [PASSED] test_decode_u64 ================= [07:29:11] ===================== test_decode_str ===================== [07:29:11] [PASSED] empty [07:29:11] [PASSED] one [07:29:11] [PASSED] one_trash [07:29:11] [PASSED] two [07:29:11] [PASSED] two_trash [07:29:11] [PASSED] three [07:29:11] [PASSED] dword [07:29:11] [PASSED] four [07:29:11] [PASSED] five [07:29:11] [PASSED] six [07:29:11] [PASSED] seven [07:29:11] [PASSED] qword [07:29:11] ================= [PASSED] test_decode_str ================= [07:29:11] [PASSED] test_print [07:29:11] ================= [PASSED] guc_klv_helpers ================= [07:29:11] =================== xe_log (4 subtests) ==================== [07:29:11] [PASSED] demo_cper [07:29:11] [PASSED] demo_dmesg [07:29:11] ======================= test_dmesg ======================== [07:29:11] [PASSED] test_fatal [07:29:11] [PASSED] test_fatal_tile [07:29:11] [PASSED] test_fatal_gt [07:29:11] [PASSED] test_fatal_comp [07:29:11] [PASSED] test_fatal_comp_tile [07:29:11] [PASSED] test_fatal_comp_gt [07:29:11] [PASSED] test_fatal_all [07:29:11] [PASSED] test_recoverable [07:29:11] [PASSED] test_recoverable_tile [07:29:11] [PASSED] test_recoverable_gt [07:29:11] [PASSED] test_recoverable_comp [07:29:11] [PASSED] test_recoverable_comp_tile [07:29:11] [PASSED] test_recoverable_comp_gt [07:29:11] [PASSED] test_recoverable_all [07:29:11] [PASSED] test_info [07:29:11] [PASSED] test_info_tile [07:29:11] [PASSED] test_info_gt [07:29:11] [PASSED] test_info_err [07:29:11] [PASSED] test_info_comp [07:29:11] [PASSED] test_info_comp_tile [07:29:11] [PASSED] test_info_comp_gt [07:29:11] [PASSED] test_info_all [07:29:11] [PASSED] test_hw_fatal [07:29:11] [PASSED] test_hw_recoverable [07:29:11] [PASSED] test_hw_corrected [07:29:11] [PASSED] test_hw_informational [07:29:11] =================== [PASSED] test_dmesg ==================== [07:29:11] ====================== test_invalid ======================= [07:29:11] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG) [07:29:11] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG) [07:29:11] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG) [07:29:11] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG) [07:29:11] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG) [07:29:11] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG) [07:29:11] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG) [07:29:11] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG) [07:29:11] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG) [07:29:11] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG) [07:29:11] ================== [SKIPPED] test_invalid ================== [07:29:11] ===================== [PASSED] xe_log ====================== [07:29:11] ================== no_relay (3 subtests) =================== [07:29:11] [PASSED] xe_drops_guc2pf_if_not_ready [07:29:11] [PASSED] xe_drops_guc2vf_if_not_ready [07:29:11] [PASSED] xe_rejects_send_if_not_ready [07:29:11] ==================== [PASSED] no_relay ===================== [07:29:11] ================== pf_relay (14 subtests) ================== [07:29:11] [PASSED] pf_rejects_guc2pf_too_short [07:29:11] [PASSED] pf_rejects_guc2pf_too_long [07:29:11] [PASSED] pf_rejects_guc2pf_no_payload [07:29:11] [PASSED] pf_fails_no_payload [07:29:11] [PASSED] pf_fails_bad_origin [07:29:11] [PASSED] pf_fails_bad_type [07:29:11] [PASSED] pf_txn_reports_error [07:29:11] [PASSED] pf_txn_sends_pf2guc [07:29:11] [PASSED] pf_sends_pf2guc [07:29:11] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [07:29:11] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [07:29:11] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [07:29:11] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [07:29:11] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [07:29:11] ==================== [PASSED] pf_relay ===================== [07:29:11] ================== vf_relay (3 subtests) =================== [07:29:11] [PASSED] vf_rejects_guc2vf_too_short [07:29:11] [PASSED] vf_rejects_guc2vf_too_long [07:29:11] [PASSED] vf_rejects_guc2vf_no_payload [07:29:11] ==================== [PASSED] vf_relay ===================== [07:29:11] ================ pf_gt_config (9 subtests) ================= [07:29:11] [PASSED] fair_contexts_1vf [07:29:11] [PASSED] fair_doorbells_1vf [07:29:11] [PASSED] fair_ggtt_1vf [07:29:11] ====================== fair_vram_1vf ====================== [07:29:11] [PASSED] 3.50 GiB [07:29:11] [PASSED] 11.5 GiB [07:29:11] [PASSED] 15.5 GiB [07:29:11] [PASSED] 31.5 GiB [07:29:11] [PASSED] 63.5 GiB [07:29:11] [PASSED] 1.91 GiB [07:29:11] ================== [PASSED] fair_vram_1vf ================== [07:29:11] ================ fair_vram_1vf_admin_only ================= [07:29:11] [PASSED] 3.50 GiB [07:29:11] [PASSED] 11.5 GiB [07:29:11] [PASSED] 15.5 GiB [07:29:11] [PASSED] 31.5 GiB [07:29:11] [PASSED] 63.5 GiB [07:29:11] [PASSED] 1.91 GiB [07:29:11] ============ [PASSED] fair_vram_1vf_admin_only ============= [07:29:11] ====================== fair_contexts ====================== [07:29:11] [PASSED] 1 VF [07:29:11] [PASSED] 2 VFs [07:29:11] [PASSED] 3 VFs [07:29:11] [PASSED] 4 VFs [07:29:11] [PASSED] 5 VFs [07:29:11] [PASSED] 6 VFs [07:29:11] [PASSED] 7 VFs [07:29:11] [PASSED] 8 VFs [07:29:11] [PASSED] 9 VFs [07:29:11] [PASSED] 10 VFs [07:29:11] [PASSED] 11 VFs [07:29:11] [PASSED] 12 VFs [07:29:11] [PASSED] 13 VFs [07:29:11] [PASSED] 14 VFs [07:29:11] [PASSED] 15 VFs [07:29:11] [PASSED] 16 VFs [07:29:11] [PASSED] 17 VFs [07:29:11] [PASSED] 18 VFs [07:29:11] [PASSED] 19 VFs [07:29:11] [PASSED] 20 VFs [07:29:11] [PASSED] 21 VFs [07:29:11] [PASSED] 22 VFs [07:29:11] [PASSED] 23 VFs [07:29:11] [PASSED] 24 VFs [07:29:11] [PASSED] 25 VFs [07:29:11] [PASSED] 26 VFs [07:29:11] [PASSED] 27 VFs [07:29:11] [PASSED] 28 VFs [07:29:11] [PASSED] 29 VFs [07:29:11] [PASSED] 30 VFs [07:29:11] [PASSED] 31 VFs [07:29:11] [PASSED] 32 VFs [07:29:11] [PASSED] 33 VFs [07:29:11] [PASSED] 34 VFs [07:29:11] [PASSED] 35 VFs [07:29:11] [PASSED] 36 VFs [07:29:11] [PASSED] 37 VFs [07:29:11] [PASSED] 38 VFs [07:29:11] [PASSED] 39 VFs [07:29:11] [PASSED] 40 VFs [07:29:11] [PASSED] 41 VFs [07:29:11] [PASSED] 42 VFs [07:29:11] [PASSED] 43 VFs [07:29:11] [PASSED] 44 VFs [07:29:11] [PASSED] 45 VFs [07:29:11] [PASSED] 46 VFs [07:29:11] [PASSED] 47 VFs [07:29:11] [PASSED] 48 VFs [07:29:11] [PASSED] 49 VFs [07:29:11] [PASSED] 50 VFs [07:29:11] [PASSED] 51 VFs [07:29:11] [PASSED] 52 VFs [07:29:11] [PASSED] 53 VFs [07:29:11] [PASSED] 54 VFs [07:29:11] [PASSED] 55 VFs [07:29:11] [PASSED] 56 VFs [07:29:11] [PASSED] 57 VFs [07:29:11] [PASSED] 58 VFs [07:29:11] [PASSED] 59 VFs [07:29:11] [PASSED] 60 VFs [07:29:11] [PASSED] 61 VFs [07:29:11] [PASSED] 62 VFs [07:29:11] [PASSED] 63 VFs [07:29:11] ================== [PASSED] fair_contexts ================== [07:29:11] ===================== fair_doorbells ====================== [07:29:11] [PASSED] 1 VF [07:29:11] [PASSED] 2 VFs [07:29:11] [PASSED] 3 VFs [07:29:11] [PASSED] 4 VFs [07:29:11] [PASSED] 5 VFs [07:29:11] [PASSED] 6 VFs [07:29:11] [PASSED] 7 VFs [07:29:11] [PASSED] 8 VFs [07:29:11] [PASSED] 9 VFs [07:29:11] [PASSED] 10 VFs [07:29:11] [PASSED] 11 VFs [07:29:11] [PASSED] 12 VFs [07:29:11] [PASSED] 13 VFs [07:29:11] [PASSED] 14 VFs [07:29:11] [PASSED] 15 VFs [07:29:11] [PASSED] 16 VFs [07:29:11] [PASSED] 17 VFs [07:29:11] [PASSED] 18 VFs [07:29:11] [PASSED] 19 VFs [07:29:11] [PASSED] 20 VFs [07:29:11] [PASSED] 21 VFs [07:29:11] [PASSED] 22 VFs [07:29:11] [PASSED] 23 VFs [07:29:11] [PASSED] 24 VFs [07:29:11] [PASSED] 25 VFs [07:29:11] [PASSED] 26 VFs [07:29:11] [PASSED] 27 VFs [07:29:11] [PASSED] 28 VFs [07:29:11] [PASSED] 29 VFs [07:29:11] [PASSED] 30 VFs [07:29:11] [PASSED] 31 VFs [07:29:11] [PASSED] 32 VFs [07:29:11] [PASSED] 33 VFs [07:29:11] [PASSED] 34 VFs [07:29:11] [PASSED] 35 VFs [07:29:11] [PASSED] 36 VFs [07:29:11] [PASSED] 37 VFs [07:29:11] [PASSED] 38 VFs [07:29:11] [PASSED] 39 VFs [07:29:11] [PASSED] 40 VFs [07:29:11] [PASSED] 41 VFs [07:29:11] [PASSED] 42 VFs [07:29:11] [PASSED] 43 VFs [07:29:11] [PASSED] 44 VFs [07:29:11] [PASSED] 45 VFs [07:29:11] [PASSED] 46 VFs [07:29:11] [PASSED] 47 VFs [07:29:11] [PASSED] 48 VFs [07:29:11] [PASSED] 49 VFs [07:29:11] [PASSED] 50 VFs [07:29:11] [PASSED] 51 VFs [07:29:11] [PASSED] 52 VFs [07:29:11] [PASSED] 53 VFs [07:29:11] [PASSED] 54 VFs [07:29:11] [PASSED] 55 VFs [07:29:11] [PASSED] 56 VFs [07:29:11] [PASSED] 57 VFs [07:29:11] [PASSED] 58 VFs [07:29:11] [PASSED] 59 VFs [07:29:11] [PASSED] 60 VFs [07:29:11] [PASSED] 61 VFs [07:29:11] [PASSED] 62 VFs [07:29:11] [PASSED] 63 VFs [07:29:11] ================= [PASSED] fair_doorbells ================== [07:29:11] ======================== fair_ggtt ======================== [07:29:11] [PASSED] 1 VF [07:29:11] [PASSED] 2 VFs [07:29:11] [PASSED] 3 VFs [07:29:11] [PASSED] 4 VFs [07:29:11] [PASSED] 5 VFs [07:29:11] [PASSED] 6 VFs [07:29:11] [PASSED] 7 VFs [07:29:11] [PASSED] 8 VFs [07:29:11] [PASSED] 9 VFs [07:29:11] [PASSED] 10 VFs [07:29:11] [PASSED] 11 VFs [07:29:11] [PASSED] 12 VFs [07:29:11] [PASSED] 13 VFs [07:29:11] [PASSED] 14 VFs [07:29:11] [PASSED] 15 VFs [07:29:11] [PASSED] 16 VFs [07:29:11] [PASSED] 17 VFs [07:29:11] [PASSED] 18 VFs [07:29:11] [PASSED] 19 VFs [07:29:11] [PASSED] 20 VFs [07:29:11] [PASSED] 21 VFs [07:29:11] [PASSED] 22 VFs [07:29:11] [PASSED] 23 VFs [07:29:11] [PASSED] 24 VFs [07:29:11] [PASSED] 25 VFs [07:29:11] [PASSED] 26 VFs [07:29:11] [PASSED] 27 VFs [07:29:11] [PASSED] 28 VFs [07:29:11] [PASSED] 29 VFs [07:29:11] [PASSED] 30 VFs [07:29:11] [PASSED] 31 VFs [07:29:11] [PASSED] 32 VFs [07:29:11] [PASSED] 33 VFs [07:29:11] [PASSED] 34 VFs [07:29:11] [PASSED] 35 VFs [07:29:11] [PASSED] 36 VFs [07:29:11] [PASSED] 37 VFs [07:29:11] [PASSED] 38 VFs [07:29:11] [PASSED] 39 VFs [07:29:11] [PASSED] 40 VFs [07:29:11] [PASSED] 41 VFs [07:29:11] [PASSED] 42 VFs [07:29:11] [PASSED] 43 VFs [07:29:11] [PASSED] 44 VFs [07:29:11] [PASSED] 45 VFs [07:29:11] [PASSED] 46 VFs [07:29:11] [PASSED] 47 VFs [07:29:11] [PASSED] 48 VFs [07:29:11] [PASSED] 49 VFs [07:29:11] [PASSED] 50 VFs [07:29:11] [PASSED] 51 VFs [07:29:11] [PASSED] 52 VFs [07:29:11] [PASSED] 53 VFs [07:29:11] [PASSED] 54 VFs [07:29:11] [PASSED] 55 VFs [07:29:11] [PASSED] 56 VFs [07:29:11] [PASSED] 57 VFs [07:29:11] [PASSED] 58 VFs [07:29:11] [PASSED] 59 VFs [07:29:11] [PASSED] 60 VFs [07:29:11] [PASSED] 61 VFs [07:29:11] [PASSED] 62 VFs [07:29:11] [PASSED] 63 VFs [07:29:11] ==================== [PASSED] fair_ggtt ==================== [07:29:11] ======================== fair_vram ======================== [07:29:11] [PASSED] 1 VF [07:29:11] [PASSED] 2 VFs [07:29:11] [PASSED] 3 VFs [07:29:11] [PASSED] 4 VFs [07:29:11] [PASSED] 5 VFs [07:29:11] [PASSED] 6 VFs [07:29:11] [PASSED] 7 VFs [07:29:11] [PASSED] 8 VFs [07:29:11] [PASSED] 9 VFs [07:29:11] [PASSED] 10 VFs [07:29:11] [PASSED] 11 VFs [07:29:11] [PASSED] 12 VFs [07:29:11] [PASSED] 13 VFs [07:29:11] [PASSED] 14 VFs [07:29:11] [PASSED] 15 VFs [07:29:11] [PASSED] 16 VFs [07:29:11] [PASSED] 17 VFs [07:29:11] [PASSED] 18 VFs [07:29:11] [PASSED] 19 VFs [07:29:11] [PASSED] 20 VFs [07:29:11] [PASSED] 21 VFs [07:29:11] [PASSED] 22 VFs [07:29:11] [PASSED] 23 VFs [07:29:11] [PASSED] 24 VFs [07:29:11] [PASSED] 25 VFs [07:29:11] [PASSED] 26 VFs [07:29:11] [PASSED] 27 VFs [07:29:11] [PASSED] 28 VFs [07:29:11] [PASSED] 29 VFs [07:29:11] [PASSED] 30 VFs [07:29:11] [PASSED] 31 VFs [07:29:11] [PASSED] 32 VFs [07:29:11] [PASSED] 33 VFs [07:29:11] [PASSED] 34 VFs [07:29:11] [PASSED] 35 VFs [07:29:11] [PASSED] 36 VFs [07:29:11] [PASSED] 37 VFs [07:29:11] [PASSED] 38 VFs [07:29:11] [PASSED] 39 VFs [07:29:11] [PASSED] 40 VFs [07:29:11] [PASSED] 41 VFs [07:29:11] [PASSED] 42 VFs [07:29:11] [PASSED] 43 VFs [07:29:11] [PASSED] 44 VFs [07:29:11] [PASSED] 45 VFs [07:29:11] [PASSED] 46 VFs [07:29:11] [PASSED] 47 VFs [07:29:11] [PASSED] 48 VFs [07:29:11] [PASSED] 49 VFs [07:29:11] [PASSED] 50 VFs [07:29:11] [PASSED] 51 VFs [07:29:11] [PASSED] 52 VFs [07:29:11] [PASSED] 53 VFs [07:29:11] [PASSED] 54 VFs [07:29:11] [PASSED] 55 VFs [07:29:11] [PASSED] 56 VFs [07:29:11] [PASSED] 57 VFs [07:29:11] [PASSED] 58 VFs [07:29:11] [PASSED] 59 VFs [07:29:11] [PASSED] 60 VFs [07:29:11] [PASSED] 61 VFs [07:29:11] [PASSED] 62 VFs [07:29:11] [PASSED] 63 VFs [07:29:11] ==================== [PASSED] fair_vram ==================== [07:29:11] ================== [PASSED] pf_gt_config =================== [07:29:11] ===================== lmtt (1 subtest) ===================== [07:29:11] ======================== test_ops ========================= [07:29:11] [PASSED] 2-level [07:29:11] [PASSED] multi-level [07:29:11] ==================== [PASSED] test_ops ===================== [07:29:11] ====================== [PASSED] lmtt ======================= [07:29:11] ================= sriov_packet (1 subtest) ================= [07:29:11] [PASSED] test_descriptor_init [07:29:11] ================== [PASSED] sriov_packet =================== [07:29:11] ================= pf_service (11 subtests) ================= [07:29:11] [PASSED] pf_negotiate_any [07:29:11] [PASSED] pf_negotiate_base_match [07:29:11] [PASSED] pf_negotiate_base_newer [07:29:11] [PASSED] pf_negotiate_base_next [07:29:11] [SKIPPED] pf_negotiate_base_older (no older minor) [07:29:11] [PASSED] pf_negotiate_base_prev [07:29:11] [PASSED] pf_negotiate_latest_match [07:29:11] [PASSED] pf_negotiate_latest_newer [07:29:11] [PASSED] pf_negotiate_latest_next [07:29:11] [SKIPPED] pf_negotiate_latest_older (no older minor) [07:29:11] [SKIPPED] pf_negotiate_latest_prev (no prev major) [07:29:11] =================== [PASSED] pf_service ==================== [07:29:11] ================= xe_guc_g2g (2 subtests) ================== [07:29:11] ============== xe_live_guc_g2g_kunit_default ============== [07:29:11] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [07:29:11] ============== xe_live_guc_g2g_kunit_allmem =============== [07:29:11] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [07:29:11] =================== [SKIPPED] xe_guc_g2g =================== [07:29:11] =================== xe_mocs (2 subtests) =================== [07:29:11] ================ xe_live_mocs_kernel_kunit ================ [07:29:11] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [07:29:11] ================ xe_live_mocs_reset_kunit ================= [07:29:11] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [07:29:11] ==================== [SKIPPED] xe_mocs ===================== [07:29:11] ================= xe_migrate (2 subtests) ================== [07:29:11] ================= xe_migrate_sanity_kunit ================= [07:29:11] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [07:29:11] ================== xe_validate_ccs_kunit ================== [07:29:11] ============= [SKIPPED] xe_validate_ccs_kunit ============== [07:29:11] =================== [SKIPPED] xe_migrate =================== [07:29:11] ================== xe_dma_buf (1 subtest) ================== [07:29:11] ==================== xe_dma_buf_kunit ===================== [07:29:11] ================ [SKIPPED] xe_dma_buf_kunit ================ [07:29:11] =================== [SKIPPED] xe_dma_buf =================== [07:29:11] ================= xe_bo_shrink (1 subtest) ================= [07:29:11] =================== xe_bo_shrink_kunit ==================== [07:29:11] =============== [SKIPPED] xe_bo_shrink_kunit =============== [07:29:11] ================== [SKIPPED] xe_bo_shrink ================== [07:29:11] ==================== xe_bo (2 subtests) ==================== [07:29:11] ================== xe_ccs_migrate_kunit =================== [07:29:11] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [07:29:11] ==================== xe_bo_evict_kunit ==================== [07:29:11] =============== [SKIPPED] xe_bo_evict_kunit ================ [07:29:11] ===================== [SKIPPED] xe_bo ====================== [07:29:11] =================== xe_any (9 subtests) ==================== [07:29:11] [PASSED] test_to_xe [07:29:11] [PASSED] test_to_dev [07:29:11] [PASSED] test_to_pdev [07:29:11] [PASSED] test_to_drm [07:29:11] [PASSED] test_if_pdev [07:29:11] [PASSED] test_if_xe [07:29:11] [PASSED] test_if_tile [07:29:11] [PASSED] test_if_gt [07:29:11] [PASSED] test_to_id [07:29:11] ===================== [PASSED] xe_any ====================== [07:29:11] ==================== args (13 subtests) ==================== [07:29:11] [PASSED] count_args_test [07:29:11] [PASSED] call_args_example [07:29:11] [PASSED] call_args_test [07:29:11] [PASSED] drop_first_arg_example [07:29:11] [PASSED] drop_first_arg_test [07:29:11] [PASSED] first_arg_example [07:29:11] [PASSED] first_arg_test [07:29:11] [PASSED] last_arg_example [07:29:11] [PASSED] last_arg_test [07:29:11] [PASSED] pick_arg_example [07:29:11] [PASSED] if_args_example [07:29:11] [PASSED] if_args_test [07:29:11] [PASSED] sep_comma_example [07:29:11] ====================== [PASSED] args ======================= [07:29:11] =================== xe_pci (3 subtests) ==================== [07:29:11] ==================== check_graphics_ip ==================== [07:29:11] [PASSED] 12.00 Xe_LP [07:29:11] [PASSED] 12.10 Xe_LP+ [07:29:11] [PASSED] 12.55 Xe_HPG [07:29:11] [PASSED] 12.60 Xe_HPC [07:29:11] [PASSED] 12.70 Xe_LPG [07:29:11] [PASSED] 12.71 Xe_LPG [07:29:11] [PASSED] 12.74 Xe_LPG+ [07:29:11] [PASSED] 20.01 Xe2_HPG [07:29:11] [PASSED] 20.02 Xe2_HPG [07:29:11] [PASSED] 20.04 Xe2_LPG [07:29:11] [PASSED] 30.00 Xe3_LPG [07:29:11] [PASSED] 30.01 Xe3_LPG [07:29:11] [PASSED] 30.03 Xe3_LPG [07:29:11] [PASSED] 30.04 Xe3_LPG [07:29:11] [PASSED] 30.05 Xe3_LPG [07:29:11] [PASSED] 35.10 Xe3p_LPG [07:29:11] [PASSED] 35.11 Xe3p_XPC [07:29:11] ================ [PASSED] check_graphics_ip ================ [07:29:11] ===================== check_media_ip ====================== [07:29:11] [PASSED] 12.00 Xe_M [07:29:11] [PASSED] 12.55 Xe_HPM [07:29:11] [PASSED] 13.00 Xe_LPM+ [07:29:11] [PASSED] 13.01 Xe2_HPM [07:29:11] [PASSED] 20.00 Xe2_LPM [07:29:11] [PASSED] 30.00 Xe3_LPM [07:29:11] [PASSED] 30.02 Xe3_LPM [07:29:11] [PASSED] 35.00 Xe3p_LPM [07:29:11] [PASSED] 35.03 Xe3p_HPM [07:29:11] ================= [PASSED] check_media_ip ================== [07:29:11] =================== check_platform_desc =================== [07:29:11] [PASSED] 0x9A60 (TIGERLAKE) [07:29:11] [PASSED] 0x9A68 (TIGERLAKE) [07:29:11] [PASSED] 0x9A70 (TIGERLAKE) [07:29:11] [PASSED] 0x9A40 (TIGERLAKE) [07:29:11] [PASSED] 0x9A49 (TIGERLAKE) [07:29:11] [PASSED] 0x9A59 (TIGERLAKE) [07:29:11] [PASSED] 0x9A78 (TIGERLAKE) [07:29:11] [PASSED] 0x9AC0 (TIGERLAKE) [07:29:11] [PASSED] 0x9AC9 (TIGERLAKE) [07:29:11] [PASSED] 0x9AD9 (TIGERLAKE) [07:29:11] [PASSED] 0x9AF8 (TIGERLAKE) [07:29:11] [PASSED] 0x4C80 (ROCKETLAKE) [07:29:11] [PASSED] 0x4C8A (ROCKETLAKE) [07:29:11] [PASSED] 0x4C8B (ROCKETLAKE) [07:29:11] [PASSED] 0x4C8C (ROCKETLAKE) [07:29:11] [PASSED] 0x4C90 (ROCKETLAKE) [07:29:11] [PASSED] 0x4C9A (ROCKETLAKE) [07:29:11] [PASSED] 0x4680 (ALDERLAKE_S) [07:29:11] [PASSED] 0x4682 (ALDERLAKE_S) [07:29:11] [PASSED] 0x4688 (ALDERLAKE_S) [07:29:11] [PASSED] 0x468A (ALDERLAKE_S) [07:29:11] [PASSED] 0x468B (ALDERLAKE_S) [07:29:11] [PASSED] 0x4690 (ALDERLAKE_S) [07:29:11] [PASSED] 0x4692 (ALDERLAKE_S) [07:29:11] [PASSED] 0x4693 (ALDERLAKE_S) [07:29:11] [PASSED] 0x46A0 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46A1 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46A2 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46A3 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46A6 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46A8 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46AA (ALDERLAKE_P) [07:29:11] [PASSED] 0x462A (ALDERLAKE_P) [07:29:11] [PASSED] 0x4626 (ALDERLAKE_P) [07:29:11] [PASSED] 0x4628 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46B0 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46B1 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46B2 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46B3 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46C0 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46C1 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46C2 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46C3 (ALDERLAKE_P) [07:29:11] [PASSED] 0x46D0 (ALDERLAKE_N) [07:29:11] [PASSED] 0x46D1 (ALDERLAKE_N) [07:29:11] [PASSED] 0x46D2 (ALDERLAKE_N) [07:29:11] [PASSED] 0x46D3 (ALDERLAKE_N) [07:29:11] [PASSED] 0x46D4 (ALDERLAKE_N) [07:29:11] [PASSED] 0xA721 (ALDERLAKE_P) [07:29:11] [PASSED] 0xA7A1 (ALDERLAKE_P) [07:29:11] [PASSED] 0xA7A9 (ALDERLAKE_P) [07:29:11] [PASSED] 0xA7AC (ALDERLAKE_P) [07:29:11] [PASSED] 0xA7AD (ALDERLAKE_P) [07:29:11] [PASSED] 0xA720 (ALDERLAKE_P) [07:29:11] [PASSED] 0xA7A0 (ALDERLAKE_P) [07:29:11] [PASSED] 0xA7A8 (ALDERLAKE_P) [07:29:11] [PASSED] 0xA7AA (ALDERLAKE_P) [07:29:11] [PASSED] 0xA7AB (ALDERLAKE_P) [07:29:11] [PASSED] 0xA780 (ALDERLAKE_S) [07:29:11] [PASSED] 0xA781 (ALDERLAKE_S) [07:29:11] [PASSED] 0xA782 (ALDERLAKE_S) [07:29:11] [PASSED] 0xA783 (ALDERLAKE_S) [07:29:11] [PASSED] 0xA788 (ALDERLAKE_S) [07:29:11] [PASSED] 0xA789 (ALDERLAKE_S) [07:29:11] [PASSED] 0xA78A (ALDERLAKE_S) [07:29:11] [PASSED] 0xA78B (ALDERLAKE_S) [07:29:11] [PASSED] 0x4905 (DG1) [07:29:11] [PASSED] 0x4906 (DG1) [07:29:11] [PASSED] 0x4907 (DG1) [07:29:11] [PASSED] 0x4908 (DG1) [07:29:11] [PASSED] 0x4909 (DG1) [07:29:11] [PASSED] 0x56C0 (DG2) [07:29:11] [PASSED] 0x56C2 (DG2) [07:29:11] [PASSED] 0x56C1 (DG2) [07:29:11] [PASSED] 0x7D51 (METEORLAKE) [07:29:11] [PASSED] 0x7DD1 (METEORLAKE) [07:29:11] [PASSED] 0x7D41 (METEORLAKE) [07:29:11] [PASSED] 0x7D67 (METEORLAKE) [07:29:11] [PASSED] 0xB640 (METEORLAKE) [07:29:11] [PASSED] 0x56A0 (DG2) [07:29:11] [PASSED] 0x56A1 (DG2) [07:29:11] [PASSED] 0x56A2 (DG2) [07:29:11] [PASSED] 0x56BE (DG2) [07:29:11] [PASSED] 0x56BF (DG2) [07:29:11] [PASSED] 0x5690 (DG2) [07:29:11] [PASSED] 0x5691 (DG2) [07:29:11] [PASSED] 0x5692 (DG2) [07:29:11] [PASSED] 0x56A5 (DG2) [07:29:11] [PASSED] 0x56A6 (DG2) [07:29:11] [PASSED] 0x56B0 (DG2) [07:29:11] [PASSED] 0x56B1 (DG2) [07:29:11] [PASSED] 0x56BA (DG2) [07:29:11] [PASSED] 0x56BB (DG2) [07:29:11] [PASSED] 0x56BC (DG2) [07:29:11] [PASSED] 0x56BD (DG2) [07:29:11] [PASSED] 0x5693 (DG2) [07:29:11] [PASSED] 0x5694 (DG2) [07:29:11] [PASSED] 0x5695 (DG2) [07:29:11] [PASSED] 0x56A3 (DG2) [07:29:11] [PASSED] 0x56A4 (DG2) [07:29:11] [PASSED] 0x56B2 (DG2) [07:29:11] [PASSED] 0x56B3 (DG2) [07:29:11] [PASSED] 0x5696 (DG2) [07:29:11] [PASSED] 0x5697 (DG2) [07:29:11] [PASSED] 0xB69 (PVC) [07:29:11] [PASSED] 0xB6E (PVC) [07:29:11] [PASSED] 0xBD4 (PVC) [07:29:11] [PASSED] 0xBD5 (PVC) [07:29:11] [PASSED] 0xBD6 (PVC) [07:29:11] [PASSED] 0xBD7 (PVC) [07:29:11] [PASSED] 0xBD8 (PVC) [07:29:11] [PASSED] 0xBD9 (PVC) [07:29:11] [PASSED] 0xBDA (PVC) [07:29:11] [PASSED] 0xBDB (PVC) [07:29:11] [PASSED] 0xBE0 (PVC) [07:29:11] [PASSED] 0xBE1 (PVC) [07:29:11] [PASSED] 0xBE5 (PVC) [07:29:11] [PASSED] 0x7D40 (METEORLAKE) [07:29:11] [PASSED] 0x7D45 (METEORLAKE) [07:29:11] [PASSED] 0x7D55 (METEORLAKE) [07:29:11] [PASSED] 0x7D60 (METEORLAKE) [07:29:11] [PASSED] 0x7DD5 (METEORLAKE) [07:29:11] [PASSED] 0x6420 (LUNARLAKE) [07:29:11] [PASSED] 0x64A0 (LUNARLAKE) [07:29:11] [PASSED] 0x64B0 (LUNARLAKE) [07:29:11] [PASSED] 0xE202 (BATTLEMAGE) [07:29:11] [PASSED] 0xE209 (BATTLEMAGE) [07:29:11] [PASSED] 0xE20B (BATTLEMAGE) [07:29:11] [PASSED] 0xE20C (BATTLEMAGE) [07:29:11] [PASSED] 0xE20D (BATTLEMAGE) [07:29:11] [PASSED] 0xE210 (BATTLEMAGE) [07:29:11] [PASSED] 0xE211 (BATTLEMAGE) [07:29:11] [PASSED] 0xE212 (BATTLEMAGE) [07:29:11] [PASSED] 0xE216 (BATTLEMAGE) [07:29:11] [PASSED] 0xE220 (BATTLEMAGE) [07:29:11] [PASSED] 0xE221 (BATTLEMAGE) [07:29:11] [PASSED] 0xE222 (BATTLEMAGE) [07:29:11] [PASSED] 0xE223 (BATTLEMAGE) [07:29:11] [PASSED] 0xB080 (PANTHERLAKE) [07:29:11] [PASSED] 0xB081 (PANTHERLAKE) [07:29:11] [PASSED] 0xB082 (PANTHERLAKE) [07:29:11] [PASSED] 0xB083 (PANTHERLAKE) [07:29:11] [PASSED] 0xB084 (PANTHERLAKE) [07:29:11] [PASSED] 0xB085 (PANTHERLAKE) [07:29:11] [PASSED] 0xB086 (PANTHERLAKE) [07:29:11] [PASSED] 0xB087 (PANTHERLAKE) [07:29:11] [PASSED] 0xB08F (PANTHERLAKE) [07:29:11] [PASSED] 0xB090 (PANTHERLAKE) [07:29:11] [PASSED] 0xB0A0 (PANTHERLAKE) [07:29:11] [PASSED] 0xB0B0 (PANTHERLAKE) [07:29:11] [PASSED] 0xFD80 (PANTHERLAKE) [07:29:11] [PASSED] 0xFD81 (PANTHERLAKE) [07:29:11] [PASSED] 0xD740 (NOVALAKE_S) [07:29:11] [PASSED] 0xD741 (NOVALAKE_S) [07:29:11] [PASSED] 0xD742 (NOVALAKE_S) [07:29:11] [PASSED] 0xD743 (NOVALAKE_S) [07:29:11] [PASSED] 0xD745 (NOVALAKE_S) [07:29:11] [PASSED] 0xD74A (NOVALAKE_S) [07:29:11] [PASSED] 0xD74B (NOVALAKE_S) [07:29:11] [PASSED] 0x674C (CRESCENTISLAND) [07:29:11] [PASSED] 0x674D (CRESCENTISLAND) [07:29:11] [PASSED] 0x674E (CRESCENTISLAND) [07:29:11] [PASSED] 0x674F (CRESCENTISLAND) [07:29:11] [PASSED] 0x6750 (CRESCENTISLAND) [07:29:11] [PASSED] 0xD750 (NOVALAKE_P) [07:29:11] [PASSED] 0xD751 (NOVALAKE_P) [07:29:11] [PASSED] 0xD752 (NOVALAKE_P) [07:29:11] [PASSED] 0xD753 (NOVALAKE_P) [07:29:11] [PASSED] 0xD754 (NOVALAKE_P) [07:29:11] [PASSED] 0xD755 (NOVALAKE_P) [07:29:11] [PASSED] 0xD756 (NOVALAKE_P) [07:29:11] [PASSED] 0xD757 (NOVALAKE_P) [07:29:11] [PASSED] 0xD75F (NOVALAKE_P) [07:29:11] =============== [PASSED] check_platform_desc =============== [07:29:11] ===================== [PASSED] xe_pci ====================== [07:29:11] ============= xe_rtp_tables_test (5 subtests) ============== [07:29:11] ================== xe_rtp_table_gt_test =================== [07:29:11] [PASSED] gt_was/14011060649 [07:29:11] [PASSED] gt_was/14011059788 [07:29:11] [PASSED] gt_was/14015795083 [07:29:11] [PASSED] gt_was/16021867713 [07:29:11] [PASSED] gt_was/14019449301 [07:29:11] [PASSED] gt_was/16028005424 [07:29:11] [PASSED] gt_was/14026578760 [07:29:11] [PASSED] gt_was/1409420604 [07:29:11] [PASSED] gt_was/1408615072 [07:29:11] [PASSED] gt_was/22010523718 [07:29:11] [PASSED] gt_was/14011006942 [07:29:11] [PASSED] gt_was/14014830051 [07:29:11] [PASSED] gt_was/18018781329 [07:29:11] [PASSED] gt_was/1509235366 [07:29:11] [PASSED] gt_was/18018781329 [07:29:11] [PASSED] gt_was/16016694945 [07:29:11] [PASSED] gt_was/14018575942 [07:29:11] [PASSED] gt_was/22016670082 [07:29:11] [PASSED] gt_was/22016670082 [07:29:11] [PASSED] gt_was/14017421178 [07:29:11] [PASSED] gt_was/16025250150 [07:29:11] [PASSED] gt_was/14021871409 [07:29:11] [PASSED] gt_was/16021865536 [07:29:11] [PASSED] gt_was/14021486841 [07:29:11] [PASSED] gt_was/14025160223 [07:29:11] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [07:29:11] [PASSED] gt_was/14025635424 [07:29:11] [PASSED] gt_was/16028005424 [07:29:11] ============== [PASSED] xe_rtp_table_gt_test =============== [07:29:11] ================== xe_rtp_table_gt_test =================== [07:29:11] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [07:29:11] [PASSED] gt_tunings/Tuning: 32B Access Enable [07:29:11] [PASSED] gt_tunings/Tuning: L3 cache [07:29:11] [PASSED] gt_tunings/Tuning: L3 cache - media [07:29:11] [PASSED] gt_tunings/Tuning: Compression Overfetch [07:29:11] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [07:29:11] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [07:29:11] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [07:29:11] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [07:29:11] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [07:29:11] [PASSED] gt_tunings/Tuning: Stateless compression control [07:29:11] [PASSED] gt_tunings/Tuning: Stateless compression control - media [07:29:11] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [07:29:11] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [07:29:11] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [07:29:11] ============== [PASSED] xe_rtp_table_gt_test =============== [07:29:11] ================== xe_rtp_table_oob_test ================== [07:29:11] [PASSED] oob_was/1607983814 [07:29:11] [PASSED] oob_was/16010904313 [07:29:11] [PASSED] oob_was/18022495364 [07:29:11] [PASSED] oob_was/22012773006 [07:29:11] [PASSED] oob_was/14014475959 [07:29:11] [PASSED] oob_was/22011391025 [07:29:11] [PASSED] oob_was/22012727170 [07:29:11] [PASSED] oob_was/22012727685 [07:29:11] [PASSED] oob_was/22016596838 [07:29:11] [PASSED] oob_was/18020744125 [07:29:11] [PASSED] oob_was/1409600907 [07:29:11] [PASSED] oob_was/22014953428 [07:29:11] [PASSED] oob_was/16017236439 [07:29:11] [PASSED] oob_was/14019821291 [07:29:11] [PASSED] oob_was/14015076503 [07:29:11] [PASSED] oob_was/14018913170 [07:29:11] [PASSED] oob_was/14018094691 [07:29:11] [PASSED] oob_was/18024947630 [07:29:11] [PASSED] oob_was/16022287689 [07:29:11] [PASSED] oob_was/13011645652 [07:29:11] [PASSED] oob_was/14022293748 [07:29:11] [PASSED] oob_was/22019794406 [07:29:11] [PASSED] oob_was/22019338487 [07:29:11] [PASSED] oob_was/16023588340 [07:29:11] [PASSED] oob_was/14019789679 [07:29:11] [PASSED] oob_was/14022866841 [07:29:11] [PASSED] oob_was/16021333562 [07:29:11] [PASSED] oob_was/14016712196 [07:29:11] [PASSED] oob_was/14015568240 [07:29:11] [PASSED] oob_was/18013179988 [07:29:11] [PASSED] oob_was/1508761755 [07:29:11] [PASSED] oob_was/16023105232 [07:29:11] [PASSED] oob_was/16026508708 [07:29:11] [PASSED] oob_was/14020001231 [07:29:11] [PASSED] oob_was/16023683509 [07:29:11] [PASSED] oob_was/14025515070 [07:29:11] [PASSED] oob_was/15015404425_disable [07:29:11] [PASSED] oob_was/16026007364 [07:29:11] [PASSED] oob_was/14020316580 [07:29:11] [PASSED] oob_was/14025883347 [07:29:11] [PASSED] oob_was/16029380221 [07:29:11] [PASSED] oob_was/22022079272 [07:29:11] [PASSED] oob_was/16029897822 [07:29:11] [PASSED] oob_was/14027054324 [07:29:11] [PASSED] oob_was/14025941587 [07:29:11] ============== [PASSED] xe_rtp_table_oob_test ============== [07:29:11] ================ xe_rtp_table_dev_oob_test ================ [07:29:11] [PASSED] device_oob_was/22010954014 [07:29:11] [PASSED] device_oob_was/15015404425 [07:29:11] [PASSED] device_oob_was/22019338487_display [07:29:11] [PASSED] device_oob_was/14022085890 [07:29:11] [PASSED] device_oob_was/14026539277 [07:29:11] [PASSED] device_oob_was/14026633728 [07:29:11] [PASSED] device_oob_was/14026746987 [07:29:11] [PASSED] device_oob_was/14026779378 [07:29:11] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [07:29:11] ========== xe_rtp_table_missing_upper_bound_test ========== [07:29:11] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [07:29:11] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [07:29:11] [PASSED] register_whitelist/1806527549 [07:29:11] [PASSED] register_whitelist/allow_read_ctx_timestamp [07:29:11] [PASSED] register_whitelist/allow_read_queue_timestamp [07:29:11] [PASSED] register_whitelist/16014440446 [07:29:11] [PASSED] register_whitelist/16017236439 [07:29:11] [PASSED] register_whitelist/16020183090 [07:29:11] [PASSED] register_whitelist/14024997852 [07:29:11] [PASSED] register_whitelist/14024997852 [07:29:11] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [07:29:11] =============== [PASSED] xe_rtp_tables_test ================ [07:29:11] =================== xe_rtp (3 subtests) ==================== [07:29:11] =================== xe_rtp_rules_tests ==================== [07:29:11] [PASSED] no [07:29:11] [PASSED] yes [07:29:11] [PASSED] no-and-no [07:29:11] [PASSED] no-and-yes [07:29:11] [PASSED] yes-and-no [07:29:11] [PASSED] yes-and-yes [07:29:11] [PASSED] no-or-no [07:29:11] [PASSED] no-or-yes [07:29:11] [PASSED] yes-or-no [07:29:11] [PASSED] yes-or-yes [07:29:11] [PASSED] no-yes-or-yes-no [07:29:11] [PASSED] no-yes-or-yes-yes [07:29:11] [PASSED] yes-yes-or-no-yes [07:29:11] [PASSED] yes-yes-or-yes-yes [07:29:11] [PASSED] no-no-or-yes-or-no [07:29:11] [PASSED] or [07:29:11] [PASSED] or-yes [07:29:11] [PASSED] or-no [07:29:11] [PASSED] yes-or [07:29:11] [PASSED] no-or [07:29:11] [PASSED] no-or-or-yes [07:29:11] [PASSED] yes-or-or-no [07:29:11] [PASSED] no-or-or-no [07:29:11] [PASSED] missing-context-engine-class [07:29:11] [PASSED] missing-context-engine-class-or-yes [07:29:11] [PASSED] missing-context-engine-class-or-or-yes [07:29:11] =============== [PASSED] xe_rtp_rules_tests ================ [07:29:11] =============== xe_rtp_process_to_sr_tests ================ [07:29:11] [PASSED] coalesce-same-reg [07:29:11] [PASSED] coalesce-same-reg-literal-and-func [07:29:11] [PASSED] no-match-no-add [07:29:11] [PASSED] two-regs-two-entries [07:29:11] [PASSED] clr-one-set-other [07:29:11] [PASSED] set-field [07:29:11] [PASSED] conflict-duplicate [07:29:11] [PASSED] conflict-not-disjoint [07:29:11] [PASSED] conflict-not-disjoint-literal-and-func [07:29:11] [PASSED] conflict-reg-type [07:29:11] [PASSED] bad-mcr-reg-forced-to-regular [07:29:11] [PASSED] bad-regular-reg-forced-to-mcr [07:29:11] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [07:29:11] ================== xe_rtp_process_tests =================== [07:29:11] [PASSED] active1 [07:29:11] [PASSED] active2 [07:29:11] [PASSED] active-inactive [07:29:11] [PASSED] inactive-active [07:29:11] [PASSED] inactive-active-inactive [07:29:11] [PASSED] inactive-inactive-inactive [07:29:11] ============== [PASSED] xe_rtp_process_tests =============== [07:29:11] ===================== [PASSED] xe_rtp ====================== [07:29:11] ==================== xe_wa (1 subtest) ===================== [07:29:11] ======================== xe_wa_gt ========================= [07:29:11] [PASSED] TIGERLAKE B0 [07:29:11] [PASSED] DG1 A0 [07:29:11] [PASSED] DG1 B0 [07:29:11] [PASSED] ALDERLAKE_S A0 [07:29:11] [PASSED] ALDERLAKE_S B0 [07:29:11] [PASSED] ALDERLAKE_S C0 [07:29:11] [PASSED] ALDERLAKE_S D0 [07:29:11] [PASSED] ALDERLAKE_P A0 [07:29:11] [PASSED] ALDERLAKE_P B0 [07:29:11] [PASSED] ALDERLAKE_P C0 [07:29:11] [PASSED] ALDERLAKE_S RPLS D0 [07:29:11] [PASSED] ALDERLAKE_P RPLU E0 [07:29:11] [PASSED] DG2 G10 C0 [07:29:11] [PASSED] DG2 G11 B1 [07:29:11] [PASSED] DG2 G12 A1 [07:29:11] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [07:29:11] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [07:29:11] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [07:29:11] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [07:29:11] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [07:29:11] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [07:29:11] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [07:29:11] ==================== [PASSED] xe_wa_gt ===================== [07:29:11] ====================== [PASSED] xe_wa ====================== [07:29:11] ============================================================ [07:29:11] Testing complete. Ran 820 tests: passed: 792, skipped: 28 [07:29:11] Elapsed time: 37.239s total, 1.806s configuring, 34.667s building, 0.718s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [07:29:11] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [07:29:13] 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 [07:29:38] Starting KUnit Kernel (1/1)... [07:29:38] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [07:29:39] ============= refcount_interrupt (4 subtests) ============== [07:29:39] [PASSED] test_single_irq_change [07:29:39] [PASSED] test_nested_irq_change [07:29:39] [PASSED] test_multiple_irq_change [07:29:39] [PASSED] test_irq_save [07:29:39] =============== [PASSED] refcount_interrupt ================ [07:29:39] ============ drm_test_pick_cmdline (2 subtests) ============ [07:29:39] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [07:29:39] =============== drm_test_pick_cmdline_named =============== [07:29:39] [PASSED] NTSC [07:29:39] [PASSED] NTSC-J [07:29:39] [PASSED] PAL [07:29:39] [PASSED] PAL-M [07:29:39] =========== [PASSED] drm_test_pick_cmdline_named =========== [07:29:39] ============== [PASSED] drm_test_pick_cmdline ============== [07:29:39] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [07:29:39] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [07:29:39] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [07:29:39] =========== drm_validate_clone_mode (2 subtests) =========== [07:29:39] ============== drm_test_check_in_clone_mode =============== [07:29:39] [PASSED] in_clone_mode [07:29:39] [PASSED] not_in_clone_mode [07:29:39] ========== [PASSED] drm_test_check_in_clone_mode =========== [07:29:39] =============== drm_test_check_valid_clones =============== [07:29:39] [PASSED] not_in_clone_mode [07:29:39] [PASSED] valid_clone [07:29:39] [PASSED] invalid_clone [07:29:39] =========== [PASSED] drm_test_check_valid_clones =========== [07:29:39] ============= [PASSED] drm_validate_clone_mode ============= [07:29:39] ============= drm_validate_modeset (1 subtest) ============= [07:29:39] [PASSED] drm_test_check_connector_changed_modeset [07:29:39] ============== [PASSED] drm_validate_modeset =============== [07:29:39] ====== drm_test_bridge_get_current_state (1 subtest) ======= [07:29:39] [PASSED] drm_test_drm_bridge_get_current_state_atomic [07:29:39] ======== [PASSED] drm_test_bridge_get_current_state ======== [07:29:39] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [07:29:39] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [07:29:39] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [07:29:39] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [07:29:39] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [07:29:39] ============== drm_bridge_alloc (2 subtests) =============== [07:29:39] [PASSED] drm_test_drm_bridge_alloc_basic [07:29:39] [PASSED] drm_test_drm_bridge_alloc_get_put [07:29:39] ================ [PASSED] drm_bridge_alloc ================= [07:29:39] ============= drm_bridge_bus_fmt (5 subtests) ============== [07:29:39] [PASSED] drm_test_bridge_rgb_yuv_rgb [07:29:39] [PASSED] drm_test_bridge_must_convert_to_yuv444 [07:29:39] [PASSED] drm_test_bridge_hdmi_auto_rgb [07:29:39] [PASSED] drm_test_bridge_auto_first [07:29:39] [PASSED] drm_test_bridge_rgb_yuv_no_path [07:29:39] =============== [PASSED] drm_bridge_bus_fmt ================ [07:29:39] ============= drm_cmdline_parser (40 subtests) ============= [07:29:39] [PASSED] drm_test_cmdline_force_d_only [07:29:39] [PASSED] drm_test_cmdline_force_D_only_dvi [07:29:39] [PASSED] drm_test_cmdline_force_D_only_hdmi [07:29:39] [PASSED] drm_test_cmdline_force_D_only_not_digital [07:29:39] [PASSED] drm_test_cmdline_force_e_only [07:29:39] [PASSED] drm_test_cmdline_res [07:29:39] [PASSED] drm_test_cmdline_res_vesa [07:29:39] [PASSED] drm_test_cmdline_res_vesa_rblank [07:29:39] [PASSED] drm_test_cmdline_res_rblank [07:29:39] [PASSED] drm_test_cmdline_res_bpp [07:29:39] [PASSED] drm_test_cmdline_res_refresh [07:29:39] [PASSED] drm_test_cmdline_res_bpp_refresh [07:29:39] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [07:29:39] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [07:29:39] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [07:29:39] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [07:29:39] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [07:29:39] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [07:29:39] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [07:29:39] [PASSED] drm_test_cmdline_res_margins_force_on [07:29:39] [PASSED] drm_test_cmdline_res_vesa_margins [07:29:39] [PASSED] drm_test_cmdline_name [07:29:39] [PASSED] drm_test_cmdline_name_bpp [07:29:39] [PASSED] drm_test_cmdline_name_option [07:29:39] [PASSED] drm_test_cmdline_name_bpp_option [07:29:39] [PASSED] drm_test_cmdline_rotate_0 [07:29:39] [PASSED] drm_test_cmdline_rotate_90 [07:29:39] [PASSED] drm_test_cmdline_rotate_180 [07:29:39] [PASSED] drm_test_cmdline_rotate_270 [07:29:39] [PASSED] drm_test_cmdline_hmirror [07:29:39] [PASSED] drm_test_cmdline_vmirror [07:29:39] [PASSED] drm_test_cmdline_margin_options [07:29:39] [PASSED] drm_test_cmdline_multiple_options [07:29:39] [PASSED] drm_test_cmdline_bpp_extra_and_option [07:29:39] [PASSED] drm_test_cmdline_extra_and_option [07:29:39] [PASSED] drm_test_cmdline_freestanding_options [07:29:39] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [07:29:39] [PASSED] drm_test_cmdline_panel_orientation [07:29:39] ================ drm_test_cmdline_invalid ================= [07:29:39] [PASSED] margin_only [07:29:39] [PASSED] interlace_only [07:29:39] [PASSED] res_missing_x [07:29:39] [PASSED] res_missing_y [07:29:39] [PASSED] res_bad_y [07:29:39] [PASSED] res_missing_y_bpp [07:29:39] [PASSED] res_bad_bpp [07:29:39] [PASSED] res_bad_refresh [07:29:39] [PASSED] res_bpp_refresh_force_on_off [07:29:39] [PASSED] res_invalid_mode [07:29:39] [PASSED] res_bpp_wrong_place_mode [07:29:39] [PASSED] name_bpp_refresh [07:29:39] [PASSED] name_refresh [07:29:39] [PASSED] name_refresh_wrong_mode [07:29:39] [PASSED] name_refresh_invalid_mode [07:29:39] [PASSED] rotate_multiple [07:29:39] [PASSED] rotate_invalid_val [07:29:39] [PASSED] rotate_truncated [07:29:39] [PASSED] invalid_option [07:29:39] [PASSED] invalid_tv_option [07:29:39] [PASSED] truncated_tv_option [07:29:39] ============ [PASSED] drm_test_cmdline_invalid ============= [07:29:39] =============== drm_test_cmdline_tv_options =============== [07:29:39] [PASSED] NTSC [07:29:39] [PASSED] NTSC_443 [07:29:39] [PASSED] NTSC_J [07:29:39] [PASSED] PAL [07:29:39] [PASSED] PAL_M [07:29:39] [PASSED] PAL_N [07:29:39] [PASSED] SECAM [07:29:39] [PASSED] MONO_525 [07:29:39] [PASSED] MONO_625 [07:29:39] =========== [PASSED] drm_test_cmdline_tv_options =========== [07:29:39] =============== [PASSED] drm_cmdline_parser ================ [07:29:39] ========== drmm_connector_hdmi_init (20 subtests) ========== [07:29:39] [PASSED] drm_test_connector_hdmi_init_valid [07:29:39] [PASSED] drm_test_connector_hdmi_init_bpc_8 [07:29:39] [PASSED] drm_test_connector_hdmi_init_bpc_10 [07:29:39] [PASSED] drm_test_connector_hdmi_init_bpc_12 [07:29:39] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [07:29:39] [PASSED] drm_test_connector_hdmi_init_bpc_null [07:29:39] [PASSED] drm_test_connector_hdmi_init_formats_empty [07:29:39] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [07:29:39] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [07:29:39] [PASSED] supported_formats=0x9 yuv420_allowed=1 [07:29:39] [PASSED] supported_formats=0x9 yuv420_allowed=0 [07:29:39] [PASSED] supported_formats=0x5 yuv420_allowed=1 [07:29:39] [PASSED] supported_formats=0x5 yuv420_allowed=0 [07:29:39] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [07:29:39] [PASSED] drm_test_connector_hdmi_init_null_ddc [07:29:39] [PASSED] drm_test_connector_hdmi_init_null_product [07:29:39] [PASSED] drm_test_connector_hdmi_init_null_vendor [07:29:39] [PASSED] drm_test_connector_hdmi_init_product_length_exact [07:29:39] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [07:29:39] [PASSED] drm_test_connector_hdmi_init_product_valid [07:29:39] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [07:29:39] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [07:29:39] [PASSED] drm_test_connector_hdmi_init_vendor_valid [07:29:39] ========= drm_test_connector_hdmi_init_type_valid ========= [07:29:39] [PASSED] HDMI-A [07:29:39] [PASSED] HDMI-B [07:29:39] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [07:29:39] ======== drm_test_connector_hdmi_init_type_invalid ======== [07:29:39] [PASSED] Unknown [07:29:39] [PASSED] VGA [07:29:39] [PASSED] DVI-I [07:29:39] [PASSED] DVI-D [07:29:39] [PASSED] DVI-A [07:29:39] [PASSED] Composite [07:29:39] [PASSED] SVIDEO [07:29:39] [PASSED] LVDS [07:29:39] [PASSED] Component [07:29:39] [PASSED] DIN [07:29:39] [PASSED] DP [07:29:39] [PASSED] TV [07:29:39] [PASSED] eDP [07:29:39] [PASSED] Virtual [07:29:39] [PASSED] DSI [07:29:39] [PASSED] DPI [07:29:39] [PASSED] Writeback [07:29:39] [PASSED] SPI [07:29:39] [PASSED] USB [07:29:39] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [07:29:39] ============ [PASSED] drmm_connector_hdmi_init ============= [07:29:39] ============= drmm_connector_init (3 subtests) ============= [07:29:39] [PASSED] drm_test_drmm_connector_init [07:29:39] [PASSED] drm_test_drmm_connector_init_null_ddc [07:29:39] ========= drm_test_drmm_connector_init_type_valid ========= [07:29:39] [PASSED] Unknown [07:29:39] [PASSED] VGA [07:29:39] [PASSED] DVI-I [07:29:39] [PASSED] DVI-D [07:29:39] [PASSED] DVI-A [07:29:39] [PASSED] Composite [07:29:39] [PASSED] SVIDEO [07:29:39] [PASSED] LVDS [07:29:39] [PASSED] Component [07:29:39] [PASSED] DIN [07:29:39] [PASSED] DP [07:29:39] [PASSED] HDMI-A [07:29:39] [PASSED] HDMI-B [07:29:39] [PASSED] TV [07:29:39] [PASSED] eDP [07:29:39] [PASSED] Virtual [07:29:39] [PASSED] DSI [07:29:39] [PASSED] DPI [07:29:39] [PASSED] Writeback [07:29:39] [PASSED] SPI [07:29:39] [PASSED] USB [07:29:39] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [07:29:39] =============== [PASSED] drmm_connector_init =============== [07:29:39] ========= drm_connector_dynamic_init (6 subtests) ========== [07:29:39] [PASSED] drm_test_drm_connector_dynamic_init [07:29:39] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [07:29:39] [PASSED] drm_test_drm_connector_dynamic_init_not_added [07:29:39] [PASSED] drm_test_drm_connector_dynamic_init_properties [07:29:39] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [07:29:39] [PASSED] Unknown [07:29:39] [PASSED] VGA [07:29:39] [PASSED] DVI-I [07:29:39] [PASSED] DVI-D [07:29:39] [PASSED] DVI-A [07:29:39] [PASSED] Composite [07:29:39] [PASSED] SVIDEO [07:29:39] [PASSED] LVDS [07:29:39] [PASSED] Component [07:29:39] [PASSED] DIN [07:29:39] [PASSED] DP [07:29:39] [PASSED] HDMI-A [07:29:39] [PASSED] HDMI-B [07:29:39] [PASSED] TV [07:29:39] [PASSED] eDP [07:29:39] [PASSED] Virtual [07:29:39] [PASSED] DSI [07:29:39] [PASSED] DPI [07:29:39] [PASSED] Writeback [07:29:39] [PASSED] SPI [07:29:39] [PASSED] USB [07:29:39] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [07:29:39] ======== drm_test_drm_connector_dynamic_init_name ========= [07:29:39] [PASSED] Unknown [07:29:39] [PASSED] VGA [07:29:39] [PASSED] DVI-I [07:29:39] [PASSED] DVI-D [07:29:39] [PASSED] DVI-A [07:29:39] [PASSED] Composite [07:29:39] [PASSED] SVIDEO [07:29:39] [PASSED] LVDS [07:29:39] [PASSED] Component [07:29:39] [PASSED] DIN [07:29:39] [PASSED] DP [07:29:39] [PASSED] HDMI-A [07:29:39] [PASSED] HDMI-B [07:29:39] [PASSED] TV [07:29:39] [PASSED] eDP [07:29:39] [PASSED] Virtual [07:29:39] [PASSED] DSI [07:29:39] [PASSED] DPI [07:29:39] [PASSED] Writeback [07:29:39] [PASSED] SPI [07:29:39] [PASSED] USB [07:29:39] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [07:29:39] =========== [PASSED] drm_connector_dynamic_init ============ [07:29:39] ==== drm_connector_dynamic_register_early (4 subtests) ===== [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [07:29:39] ====== [PASSED] drm_connector_dynamic_register_early ======= [07:29:39] ======= drm_connector_dynamic_register (7 subtests) ======== [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_on_list [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_no_init [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [07:29:39] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [07:29:39] ========= [PASSED] drm_connector_dynamic_register ========== [07:29:39] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [07:29:39] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [07:29:39] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [07:29:39] === [PASSED] drm_connector_attach_broadcast_rgb_property === [07:29:39] ========== drm_get_tv_mode_from_name (2 subtests) ========== [07:29:39] ========== drm_test_get_tv_mode_from_name_valid =========== [07:29:39] [PASSED] NTSC [07:29:39] [PASSED] NTSC-443 [07:29:39] [PASSED] NTSC-J [07:29:39] [PASSED] PAL [07:29:39] [PASSED] PAL-M [07:29:39] [PASSED] PAL-N [07:29:39] [PASSED] SECAM [07:29:39] [PASSED] Mono [07:29:39] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [07:29:39] [PASSED] drm_test_get_tv_mode_from_name_truncated [07:29:39] ============ [PASSED] drm_get_tv_mode_from_name ============ [07:29:39] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [07:29:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [07:29:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [07:29:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [07:29:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [07:29:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [07:29:39] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [07:29:39] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [07:29:39] [PASSED] VIC 96 [07:29:39] [PASSED] VIC 97 [07:29:39] [PASSED] VIC 101 [07:29:39] [PASSED] VIC 102 [07:29:39] [PASSED] VIC 106 [07:29:39] [PASSED] VIC 107 [07:29:39] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [07:29:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [07:29:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [07:29:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [07:29:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [07:29:39] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [07:29:39] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [07:29:39] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [07:29:39] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [07:29:39] [PASSED] Automatic [07:29:39] [PASSED] Full [07:29:39] [PASSED] Limited 16:235 [07:29:39] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [07:29:39] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [07:29:39] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [07:29:39] == drm_hdmi_connector_get_output_format_name (2 subtests) == [07:29:39] === drm_test_drm_hdmi_connector_get_output_format_name ==== [07:29:39] [PASSED] RGB [07:29:39] [PASSED] YUV 4:2:0 [07:29:39] [PASSED] YUV 4:2:2 [07:29:39] [PASSED] YUV 4:4:4 [07:29:39] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [07:29:39] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [07:29:39] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [07:29:39] ============= drm_damage_helper (21 subtests) ============== [07:29:39] [PASSED] drm_test_damage_iter_no_damage [07:29:39] [PASSED] drm_test_damage_iter_no_damage_fractional_src [07:29:39] [PASSED] drm_test_damage_iter_no_damage_src_moved [07:29:39] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [07:29:39] [PASSED] drm_test_damage_iter_no_damage_not_visible [07:29:39] [PASSED] drm_test_damage_iter_no_damage_no_crtc [07:29:39] [PASSED] drm_test_damage_iter_no_damage_no_fb [07:29:39] [PASSED] drm_test_damage_iter_simple_damage [07:29:39] [PASSED] drm_test_damage_iter_single_damage [07:29:39] [PASSED] drm_test_damage_iter_single_damage_intersect_src [07:29:39] [PASSED] drm_test_damage_iter_single_damage_outside_src [07:29:39] [PASSED] drm_test_damage_iter_single_damage_fractional_src [07:29:39] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [07:29:39] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [07:29:39] [PASSED] drm_test_damage_iter_single_damage_src_moved [07:29:39] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [07:29:39] [PASSED] drm_test_damage_iter_damage [07:29:39] [PASSED] drm_test_damage_iter_damage_one_intersect [07:29:39] [PASSED] drm_test_damage_iter_damage_one_outside [07:29:39] [PASSED] drm_test_damage_iter_damage_src_moved [07:29:39] [PASSED] drm_test_damage_iter_damage_not_visible [07:29:39] ================ [PASSED] drm_damage_helper ================ [07:29:39] ============== drm_dp_mst_helper (3 subtests) ============== [07:29:39] ============== drm_test_dp_mst_calc_pbn_mode ============== [07:29:39] [PASSED] Clock 154000 BPP 30 DSC disabled [07:29:39] [PASSED] Clock 234000 BPP 30 DSC disabled [07:29:39] [PASSED] Clock 297000 BPP 24 DSC disabled [07:29:39] [PASSED] Clock 332880 BPP 24 DSC enabled [07:29:39] [PASSED] Clock 324540 BPP 24 DSC enabled [07:29:39] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [07:29:39] ============== drm_test_dp_mst_calc_pbn_div =============== [07:29:39] [PASSED] Link rate 2000000 lane count 4 [07:29:39] [PASSED] Link rate 2000000 lane count 2 [07:29:39] [PASSED] Link rate 2000000 lane count 1 [07:29:39] [PASSED] Link rate 1350000 lane count 4 [07:29:39] [PASSED] Link rate 1350000 lane count 2 [07:29:39] [PASSED] Link rate 1350000 lane count 1 [07:29:39] [PASSED] Link rate 1000000 lane count 4 [07:29:39] [PASSED] Link rate 1000000 lane count 2 [07:29:39] [PASSED] Link rate 1000000 lane count 1 [07:29:39] [PASSED] Link rate 810000 lane count 4 [07:29:39] [PASSED] Link rate 810000 lane count 2 [07:29:39] [PASSED] Link rate 810000 lane count 1 [07:29:39] [PASSED] Link rate 540000 lane count 4 [07:29:39] [PASSED] Link rate 540000 lane count 2 [07:29:39] [PASSED] Link rate 540000 lane count 1 [07:29:39] [PASSED] Link rate 270000 lane count 4 [07:29:39] [PASSED] Link rate 270000 lane count 2 [07:29:39] [PASSED] Link rate 270000 lane count 1 [07:29:39] [PASSED] Link rate 162000 lane count 4 [07:29:39] [PASSED] Link rate 162000 lane count 2 [07:29:39] [PASSED] Link rate 162000 lane count 1 [07:29:39] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [07:29:39] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [07:29:39] [PASSED] DP_ENUM_PATH_RESOURCES with port number [07:29:39] [PASSED] DP_POWER_UP_PHY with port number [07:29:39] [PASSED] DP_POWER_DOWN_PHY with port number [07:29:39] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [07:29:39] [PASSED] DP_ALLOCATE_PAYLOAD with port number [07:29:39] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [07:29:39] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [07:29:39] [PASSED] DP_QUERY_PAYLOAD with port number [07:29:39] [PASSED] DP_QUERY_PAYLOAD with VCPI [07:29:39] [PASSED] DP_REMOTE_DPCD_READ with port number [07:29:39] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [07:29:39] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [07:29:39] [PASSED] DP_REMOTE_DPCD_WRITE with port number [07:29:39] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [07:29:39] [PASSED] DP_REMOTE_DPCD_WRITE with data array [07:29:39] [PASSED] DP_REMOTE_I2C_READ with port number [07:29:39] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [07:29:39] [PASSED] DP_REMOTE_I2C_READ with transactions array [07:29:39] [PASSED] DP_REMOTE_I2C_WRITE with port number [07:29:39] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [07:29:39] [PASSED] DP_REMOTE_I2C_WRITE with data array [07:29:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [07:29:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [07:29:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [07:29:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [07:29:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [07:29:39] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [07:29:39] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [07:29:39] ================ [PASSED] drm_dp_mst_helper ================ [07:29:39] ================== drm_exec (7 subtests) =================== [07:29:39] [PASSED] sanitycheck [07:29:39] [PASSED] test_lock [07:29:39] [PASSED] test_lock_unlock [07:29:39] [PASSED] test_duplicates [07:29:39] [PASSED] test_prepare [07:29:39] [PASSED] test_prepare_array [07:29:39] [PASSED] test_multiple_loops [07:29:39] ==================== [PASSED] drm_exec ===================== [07:29:39] =========== drm_format_helper_test (17 subtests) =========== [07:29:39] ============== drm_test_fb_xrgb8888_to_gray8 ============== [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [07:29:39] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [07:29:39] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [07:29:39] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [07:29:39] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [07:29:39] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [07:29:39] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [07:29:39] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [07:29:39] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [07:29:39] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [07:29:39] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [07:29:39] ============== drm_test_fb_xrgb8888_to_mono =============== [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [07:29:39] ==================== drm_test_fb_swab ===================== [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ================ [PASSED] drm_test_fb_swab ================= [07:29:39] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [07:29:39] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [07:29:39] [PASSED] single_pixel_source_buffer [07:29:39] [PASSED] single_pixel_clip_rectangle [07:29:39] [PASSED] well_known_colors [07:29:39] [PASSED] destination_pitch [07:29:39] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [07:29:39] ================= drm_test_fb_clip_offset ================= [07:29:39] [PASSED] pass through [07:29:39] [PASSED] horizontal offset [07:29:39] [PASSED] vertical offset [07:29:39] [PASSED] horizontal and vertical offset [07:29:39] [PASSED] horizontal offset (custom pitch) [07:29:39] [PASSED] vertical offset (custom pitch) [07:29:39] [PASSED] horizontal and vertical offset (custom pitch) [07:29:39] ============= [PASSED] drm_test_fb_clip_offset ============= [07:29:39] =================== drm_test_fb_memcpy ==================== [07:29:39] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [07:29:39] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [07:29:39] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [07:29:39] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [07:29:39] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [07:29:39] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [07:29:39] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [07:29:39] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [07:29:39] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [07:29:39] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [07:29:39] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [07:29:39] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [07:29:39] =============== [PASSED] drm_test_fb_memcpy ================ [07:29:39] ============= [PASSED] drm_format_helper_test ============== [07:29:39] ================= drm_format (18 subtests) ================= [07:29:39] [PASSED] drm_test_format_block_width_invalid [07:29:39] [PASSED] drm_test_format_block_width_one_plane [07:29:39] [PASSED] drm_test_format_block_width_two_plane [07:29:39] [PASSED] drm_test_format_block_width_three_plane [07:29:39] [PASSED] drm_test_format_block_width_tiled [07:29:39] [PASSED] drm_test_format_block_height_invalid [07:29:39] [PASSED] drm_test_format_block_height_one_plane [07:29:39] [PASSED] drm_test_format_block_height_two_plane [07:29:39] [PASSED] drm_test_format_block_height_three_plane [07:29:39] [PASSED] drm_test_format_block_height_tiled [07:29:39] [PASSED] drm_test_format_min_pitch_invalid [07:29:39] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [07:29:39] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [07:29:39] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [07:29:39] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [07:29:39] [PASSED] drm_test_format_min_pitch_two_plane [07:29:39] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [07:29:39] [PASSED] drm_test_format_min_pitch_tiled [07:29:39] =================== [PASSED] drm_format ==================== [07:29:39] ============== drm_framebuffer (10 subtests) =============== [07:29:39] ========== drm_test_framebuffer_check_src_coords ========== [07:29:39] [PASSED] Success: source fits into fb [07:29:39] [PASSED] Fail: overflowing fb with x-axis coordinate [07:29:39] [PASSED] Fail: overflowing fb with y-axis coordinate [07:29:39] [PASSED] Fail: overflowing fb with source width [07:29:39] [PASSED] Fail: overflowing fb with source height [07:29:39] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [07:29:39] [PASSED] drm_test_framebuffer_cleanup [07:29:39] =============== drm_test_framebuffer_create =============== [07:29:39] [PASSED] ABGR8888 normal sizes [07:29:39] [PASSED] ABGR8888 max sizes [07:29:39] [PASSED] ABGR8888 pitch greater than min required [07:29:39] [PASSED] ABGR8888 pitch less than min required [07:29:39] [PASSED] ABGR8888 Invalid width [07:29:39] [PASSED] ABGR8888 Invalid buffer handle [07:29:39] [PASSED] No pixel format [07:29:39] [PASSED] ABGR8888 Width 0 [07:29:39] [PASSED] ABGR8888 Height 0 [07:29:39] [PASSED] ABGR8888 Out of bound height * pitch combination [07:29:39] [PASSED] ABGR8888 Large buffer offset [07:29:39] [PASSED] ABGR8888 Buffer offset for inexistent plane [07:29:39] [PASSED] ABGR8888 Invalid flag [07:29:39] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [07:29:39] [PASSED] ABGR8888 Valid buffer modifier [07:29:39] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [07:29:39] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [07:29:39] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [07:29:39] [PASSED] NV12 Normal sizes [07:29:39] [PASSED] NV12 Max sizes [07:29:39] [PASSED] NV12 Invalid pitch [07:29:39] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [07:29:39] [PASSED] NV12 different modifier per-plane [07:29:39] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [07:29:39] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [07:29:39] [PASSED] NV12 Modifier for inexistent plane [07:29:39] [PASSED] NV12 Handle for inexistent plane [07:29:39] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [07:29:39] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [07:29:39] [PASSED] YVU420 Normal sizes [07:29:39] [PASSED] YVU420 Max sizes [07:29:39] [PASSED] YVU420 Invalid pitch [07:29:39] [PASSED] YVU420 Different pitches [07:29:39] [PASSED] YVU420 Different buffer offsets/pitches [07:29:39] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [07:29:39] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [07:29:39] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [07:29:39] [PASSED] YVU420 Valid modifier [07:29:39] [PASSED] YVU420 Different modifiers per plane [07:29:39] [PASSED] YVU420 Modifier for inexistent plane [07:29:39] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [07:29:39] [PASSED] X0L2 Normal sizes [07:29:39] [PASSED] X0L2 Max sizes [07:29:39] [PASSED] X0L2 Invalid pitch [07:29:39] [PASSED] X0L2 Pitch greater than minimum required [07:29:39] [PASSED] X0L2 Handle for inexistent plane [07:29:39] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [07:29:39] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [07:29:39] [PASSED] X0L2 Valid modifier [07:29:39] [PASSED] X0L2 Modifier for inexistent plane [07:29:39] =========== [PASSED] drm_test_framebuffer_create =========== [07:29:39] [PASSED] drm_test_framebuffer_free [07:29:39] [PASSED] drm_test_framebuffer_init [07:29:39] [PASSED] drm_test_framebuffer_init_bad_format [07:29:39] [PASSED] drm_test_framebuffer_init_dev_mismatch [07:29:39] [PASSED] drm_test_framebuffer_lookup [07:29:39] [PASSED] drm_test_framebuffer_lookup_inexistent [07:29:39] [PASSED] drm_test_framebuffer_modifiers_not_supported [07:29:39] ================= [PASSED] drm_framebuffer ================= [07:29:39] ================ drm_gem_shmem (8 subtests) ================ [07:29:39] [PASSED] drm_gem_shmem_test_obj_create [07:29:39] [PASSED] drm_gem_shmem_test_obj_create_private [07:29:39] [PASSED] drm_gem_shmem_test_pin_pages [07:29:39] [PASSED] drm_gem_shmem_test_vmap [07:29:39] [PASSED] drm_gem_shmem_test_get_sg_table [07:29:39] [PASSED] drm_gem_shmem_test_get_pages_sgt [07:29:39] [PASSED] drm_gem_shmem_test_madvise [07:29:39] [PASSED] drm_gem_shmem_test_purge [07:29:39] ================== [PASSED] drm_gem_shmem ================== [07:29:39] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [07:29:39] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [07:29:39] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [07:29:39] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [07:29:39] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [07:29:39] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [07:29:39] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [07:29:39] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [07:29:39] [PASSED] Automatic [07:29:39] [PASSED] Full [07:29:39] [PASSED] Limited 16:235 [07:29:39] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [07:29:39] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [07:29:39] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [07:29:39] [PASSED] drm_test_check_disable_connector [07:29:39] [PASSED] drm_test_check_hdmi_funcs_reject_rate [07:29:39] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [07:29:39] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [07:29:39] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [07:29:39] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [07:29:39] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [07:29:39] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [07:29:39] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [07:29:39] [PASSED] drm_test_check_output_bpc_dvi [07:29:39] [PASSED] drm_test_check_output_bpc_format_vic_1 [07:29:39] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [07:29:39] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [07:29:39] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [07:29:39] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [07:29:39] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [07:29:39] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [07:29:39] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [07:29:39] ============ drm_test_check_hdmi_color_format ============= [07:29:39] [PASSED] AUTO -> RGB [07:29:39] [PASSED] YCBCR422 -> YUV422 [07:29:39] [PASSED] YCBCR420 -> YUV420 [07:29:39] [PASSED] YCBCR444 -> YUV444 [07:29:39] [PASSED] RGB -> RGB [07:29:39] ======== [PASSED] drm_test_check_hdmi_color_format ========= [07:29:39] ======== drm_test_check_hdmi_color_format_420_only ======== [07:29:39] [PASSED] RGB should fail [07:29:39] [PASSED] YUV444 should fail [07:29:39] [PASSED] YUV422 should fail [07:29:39] [PASSED] YUV420 should work [07:29:39] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [07:29:39] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [07:29:39] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [07:29:39] [PASSED] drm_test_check_broadcast_rgb_value [07:29:39] [PASSED] drm_test_check_bpc_8_value [07:29:39] [PASSED] drm_test_check_bpc_10_value [07:29:39] [PASSED] drm_test_check_bpc_12_value [07:29:39] [PASSED] drm_test_check_format_value [07:29:39] [PASSED] drm_test_check_tmds_char_value [07:29:39] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [07:29:39] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [07:29:39] [PASSED] drm_test_check_mode_valid [07:29:39] [PASSED] drm_test_check_mode_valid_reject [07:29:39] [PASSED] drm_test_check_mode_valid_reject_rate [07:29:39] [PASSED] drm_test_check_mode_valid_reject_max_clock [07:29:39] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [07:29:39] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [07:29:39] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [07:29:39] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [07:29:39] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [07:29:39] [PASSED] drm_test_check_infoframes [07:29:39] [PASSED] drm_test_check_reject_avi_infoframe [07:29:39] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [07:29:39] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [07:29:39] [PASSED] drm_test_check_reject_audio_infoframe [07:29:39] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [07:29:39] ================= drm_managed (2 subtests) ================= [07:29:39] [PASSED] drm_test_managed_release_action [07:29:39] [PASSED] drm_test_managed_run_action [07:29:39] =================== [PASSED] drm_managed =================== [07:29:39] =================== drm_mm (6 subtests) ==================== [07:29:39] [PASSED] drm_test_mm_init [07:29:39] [PASSED] drm_test_mm_debug [07:29:39] [PASSED] drm_test_mm_align32 [07:29:39] [PASSED] drm_test_mm_align64 [07:29:39] [PASSED] drm_test_mm_lowest [07:29:39] [PASSED] drm_test_mm_highest [07:29:39] ===================== [PASSED] drm_mm ====================== [07:29:39] ============= drm_modes_analog_tv (5 subtests) ============= [07:29:39] [PASSED] drm_test_modes_analog_tv_mono_576i [07:29:39] [PASSED] drm_test_modes_analog_tv_ntsc_480i [07:29:39] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [07:29:39] [PASSED] drm_test_modes_analog_tv_pal_576i [07:29:39] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [07:29:39] =============== [PASSED] drm_modes_analog_tv =============== [07:29:39] ============== drm_panic_helper (3 subtests) =============== [07:29:39] ============= drm_test_panic_screen_user_map ============== [07:29:39] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752) [07:29:39] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752) [07:29:39] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752) [07:29:39] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752) [07:29:39] ========= [PASSED] drm_test_panic_screen_user_map ========== [07:29:39] ============= drm_test_panic_screen_user_page ============= [07:29:39] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752) [07:29:39] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752) [07:29:39] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752) [07:29:39] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752) [07:29:39] ========= [PASSED] drm_test_panic_screen_user_page ========= [07:29:39] ========== drm_test_panic_screen_user_set_pixel =========== [07:29:39] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752) [07:29:39] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752) [07:29:39] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258) [07:29:39] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752) [07:29:39] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752) [07:29:39] ====== [PASSED] drm_test_panic_screen_user_set_pixel ======= [07:29:39] ================ [PASSED] drm_panic_helper ================= [07:29:39] ============== drm_plane_helper (2 subtests) =============== [07:29:39] =============== drm_test_check_plane_state ================ [07:29:39] [PASSED] clipping_simple [07:29:39] [PASSED] clipping_rotate_reflect [07:29:39] [PASSED] positioning_simple [07:29:39] [PASSED] upscaling [07:29:39] [PASSED] downscaling [07:29:39] [PASSED] rounding1 [07:29:39] [PASSED] rounding2 [07:29:39] [PASSED] rounding3 [07:29:39] [PASSED] rounding4 [07:29:39] =========== [PASSED] drm_test_check_plane_state ============ [07:29:39] =========== drm_test_check_invalid_plane_state ============ [07:29:39] [PASSED] positioning_invalid [07:29:39] [PASSED] upscaling_invalid [07:29:39] [PASSED] downscaling_invalid [07:29:39] ======= [PASSED] drm_test_check_invalid_plane_state ======== [07:29:39] ================ [PASSED] drm_plane_helper ================= [07:29:39] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [07:29:39] ====== drm_test_connector_helper_tv_get_modes_check ======= [07:29:39] [PASSED] None [07:29:39] [PASSED] PAL [07:29:39] [PASSED] NTSC [07:29:39] [PASSED] Both, NTSC Default [07:29:39] [PASSED] Both, PAL Default [07:29:39] [PASSED] Both, NTSC Default, with PAL on command-line [07:29:39] [PASSED] Both, PAL Default, with NTSC on command-line [07:29:39] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [07:29:39] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [07:29:39] ================== drm_rect (9 subtests) =================== [07:29:39] [PASSED] drm_test_rect_clip_scaled_div_by_zero [07:29:39] [PASSED] drm_test_rect_clip_scaled_not_clipped [07:29:39] [PASSED] drm_test_rect_clip_scaled_clipped [07:29:39] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [07:29:39] ================= drm_test_rect_intersect ================= [07:29:39] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [07:29:39] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [07:29:39] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [07:29:39] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [07:29:39] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [07:29:39] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [07:29:39] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [07:29:39] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [07:29:39] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [07:29:39] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [07:29:39] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [07:29:39] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [07:29:39] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [07:29:39] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [07:29:39] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [07:29:39] ============= [PASSED] drm_test_rect_intersect ============= [07:29:39] ================ drm_test_rect_calc_hscale ================ [07:29:39] [PASSED] normal use [07:29:39] [PASSED] out of max range [07:29:39] [PASSED] out of min range [07:29:39] [PASSED] zero dst [07:29:39] [PASSED] negative src [07:29:39] [PASSED] negative dst [07:29:39] ============ [PASSED] drm_test_rect_calc_hscale ============ [07:29:39] ================ drm_test_rect_calc_vscale ================ [07:29:39] [PASSED] normal use [07:29:39] [PASSED] out of max range [07:29:39] [PASSED] out of min range [07:29:39] [PASSED] zero dst [07:29:39] [PASSED] negative src [07:29:39] [PASSED] negative dst [07:29:39] ============ [PASSED] drm_test_rect_calc_vscale ============ [07:29:39] ================== drm_test_rect_rotate =================== [07:29:39] [PASSED] reflect-x [07:29:39] [PASSED] reflect-y [07:29:39] [PASSED] rotate-0 [07:29:39] [PASSED] rotate-90 [07:29:39] [PASSED] rotate-180 [07:29:39] [PASSED] rotate-270 [07:29:39] ============== [PASSED] drm_test_rect_rotate =============== [07:29:39] ================ drm_test_rect_rotate_inv ================= [07:29:39] [PASSED] reflect-x [07:29:39] [PASSED] reflect-y [07:29:39] [PASSED] rotate-0 [07:29:39] [PASSED] rotate-90 [07:29:39] [PASSED] rotate-180 [07:29:39] [PASSED] rotate-270 [07:29:39] ============ [PASSED] drm_test_rect_rotate_inv ============= [07:29:39] ==================== [PASSED] drm_rect ===================== [07:29:39] ============ drm_sysfb_modeset_test (1 subtest) ============ [07:29:39] ============ drm_test_sysfb_build_fourcc_list ============= [07:29:39] [PASSED] no native formats [07:29:39] [PASSED] XRGB8888 as native format [07:29:39] [PASSED] remove duplicates [07:29:39] [PASSED] convert alpha formats [07:29:39] [PASSED] random formats [07:29:39] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [07:29:39] ============= [PASSED] drm_sysfb_modeset_test ============== [07:29:39] ================== drm_fixp (2 subtests) =================== [07:29:39] [PASSED] drm_test_int2fixp [07:29:39] [PASSED] drm_test_sm2fixp [07:29:39] ==================== [PASSED] drm_fixp ===================== [07:29:39] ============================================================ [07:29:39] Testing complete. Ran 671 tests: passed: 671 [07:29:39] Elapsed time: 27.463s total, 1.848s configuring, 25.148s building, 0.458s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [07:29:39] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [07:29:41] 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 [07:29:51] Starting KUnit Kernel (1/1)... [07:29:51] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [07:29:51] ============= refcount_interrupt (4 subtests) ============== [07:29:51] [PASSED] test_single_irq_change [07:29:51] [PASSED] test_nested_irq_change [07:29:51] [PASSED] test_multiple_irq_change [07:29:51] [PASSED] test_irq_save [07:29:51] =============== [PASSED] refcount_interrupt ================ [07:29:51] ================= ttm_device (5 subtests) ================== [07:29:51] [PASSED] ttm_device_init_basic [07:29:51] [PASSED] ttm_device_init_multiple [07:29:51] [PASSED] ttm_device_fini_basic [07:29:51] [PASSED] ttm_device_init_no_vma_man [07:29:51] ================== ttm_device_init_pools ================== [07:29:51] [PASSED] No DMA allocations, no DMA32 required [07:29:51] [PASSED] DMA allocations, DMA32 required [07:29:51] [PASSED] No DMA allocations, DMA32 required [07:29:51] [PASSED] DMA allocations, no DMA32 required [07:29:51] ============== [PASSED] ttm_device_init_pools ============== [07:29:51] =================== [PASSED] ttm_device ==================== [07:29:51] ================== ttm_pool (8 subtests) =================== [07:29:51] ================== ttm_pool_alloc_basic =================== [07:29:51] [PASSED] One page [07:29:51] [PASSED] More than one page [07:29:51] [PASSED] Above the allocation limit [07:29:51] [PASSED] One page, with coherent DMA mappings enabled [07:29:51] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [07:29:51] ============== [PASSED] ttm_pool_alloc_basic =============== [07:29:51] ============== ttm_pool_alloc_basic_dma_addr ============== [07:29:51] [PASSED] One page [07:29:51] [PASSED] More than one page [07:29:51] [PASSED] Above the allocation limit [07:29:51] [PASSED] One page, with coherent DMA mappings enabled [07:29:51] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [07:29:51] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [07:29:51] [PASSED] ttm_pool_alloc_order_caching_match [07:29:51] [PASSED] ttm_pool_alloc_caching_mismatch [07:29:51] [PASSED] ttm_pool_alloc_order_mismatch [07:29:51] [PASSED] ttm_pool_free_dma_alloc [07:29:51] [PASSED] ttm_pool_free_no_dma_alloc [07:29:51] [PASSED] ttm_pool_fini_basic [07:29:51] ==================== [PASSED] ttm_pool ===================== [07:29:51] ================ ttm_resource (8 subtests) ================= [07:29:51] ================= ttm_resource_init_basic ================= [07:29:51] [PASSED] Init resource in TTM_PL_SYSTEM [07:29:51] [PASSED] Init resource in TTM_PL_VRAM [07:29:51] [PASSED] Init resource in a private placement [07:29:51] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [07:29:51] ============= [PASSED] ttm_resource_init_basic ============= [07:29:51] [PASSED] ttm_resource_init_pinned [07:29:51] [PASSED] ttm_resource_fini_basic [07:29:51] [PASSED] ttm_resource_manager_init_basic [07:29:51] [PASSED] ttm_resource_manager_usage_basic [07:29:51] [PASSED] ttm_resource_manager_set_used_basic [07:29:51] [PASSED] ttm_sys_man_alloc_basic [07:29:51] [PASSED] ttm_sys_man_free_basic [07:29:51] ================== [PASSED] ttm_resource =================== [07:29:51] =================== ttm_tt (15 subtests) =================== [07:29:51] ==================== ttm_tt_init_basic ==================== [07:29:51] [PASSED] Page-aligned size [07:29:51] [PASSED] Extra pages requested [07:29:51] ================ [PASSED] ttm_tt_init_basic ================ [07:29:51] [PASSED] ttm_tt_init_misaligned [07:29:51] [PASSED] ttm_tt_fini_basic [07:29:51] [PASSED] ttm_tt_fini_sg [07:29:51] [PASSED] ttm_tt_fini_shmem [07:29:51] [PASSED] ttm_tt_create_basic [07:29:51] [PASSED] ttm_tt_create_invalid_bo_type [07:29:51] [PASSED] ttm_tt_create_ttm_exists [07:29:51] [PASSED] ttm_tt_create_failed [07:29:51] [PASSED] ttm_tt_destroy_basic [07:29:51] [PASSED] ttm_tt_populate_null_ttm [07:29:51] [PASSED] ttm_tt_populate_populated_ttm [07:29:51] [PASSED] ttm_tt_unpopulate_basic [07:29:51] [PASSED] ttm_tt_unpopulate_empty_ttm [07:29:51] [PASSED] ttm_tt_swapin_basic [07:29:51] ===================== [PASSED] ttm_tt ====================== [07:29:51] =================== ttm_bo (14 subtests) =================== [07:29:51] =========== ttm_bo_reserve_optimistic_no_ticket =========== [07:29:51] [PASSED] Cannot be interrupted and sleeps [07:29:51] [PASSED] Cannot be interrupted, locks straight away [07:29:51] [PASSED] Can be interrupted, sleeps [07:29:51] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [07:29:51] [PASSED] ttm_bo_reserve_locked_no_sleep [07:29:51] [PASSED] ttm_bo_reserve_no_wait_ticket [07:29:51] [PASSED] ttm_bo_reserve_double_resv [07:29:51] [PASSED] ttm_bo_reserve_interrupted [07:29:51] [PASSED] ttm_bo_reserve_deadlock [07:29:51] [PASSED] ttm_bo_unreserve_basic [07:29:51] [PASSED] ttm_bo_unreserve_pinned [07:29:51] [PASSED] ttm_bo_unreserve_bulk [07:29:51] [PASSED] ttm_bo_fini_basic [07:29:51] [PASSED] ttm_bo_fini_shared_resv [07:29:51] [PASSED] ttm_bo_pin_basic [07:29:51] [PASSED] ttm_bo_pin_unpin_resource [07:29:51] [PASSED] ttm_bo_multiple_pin_one_unpin [07:29:51] ===================== [PASSED] ttm_bo ====================== [07:29:51] ============== ttm_bo_validate (22 subtests) =============== [07:29:51] ============== ttm_bo_init_reserved_sys_man =============== [07:29:51] [PASSED] Buffer object for userspace [07:29:51] [PASSED] Kernel buffer object [07:29:51] [PASSED] Shared buffer object [07:29:51] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [07:29:51] ============== ttm_bo_init_reserved_mock_man ============== [07:29:51] [PASSED] Buffer object for userspace [07:29:51] [PASSED] Kernel buffer object [07:29:51] [PASSED] Shared buffer object [07:29:51] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [07:29:51] [PASSED] ttm_bo_init_reserved_resv [07:29:51] ================== ttm_bo_validate_basic ================== [07:29:51] [PASSED] Buffer object for userspace [07:29:51] [PASSED] Kernel buffer object [07:29:51] [PASSED] Shared buffer object [07:29:51] ============== [PASSED] ttm_bo_validate_basic ============== [07:29:51] [PASSED] ttm_bo_validate_invalid_placement [07:29:51] ============= ttm_bo_validate_same_placement ============== [07:29:51] [PASSED] System manager [07:29:51] [PASSED] VRAM manager [07:29:51] ========= [PASSED] ttm_bo_validate_same_placement ========== [07:29:51] [PASSED] ttm_bo_validate_failed_alloc [07:29:51] [PASSED] ttm_bo_validate_pinned [07:29:51] [PASSED] ttm_bo_validate_busy_placement [07:29:51] ================ ttm_bo_validate_multihop ================= [07:29:51] [PASSED] Buffer object for userspace [07:29:51] [PASSED] Kernel buffer object [07:29:51] [PASSED] Shared buffer object [07:29:51] ============ [PASSED] ttm_bo_validate_multihop ============= [07:29:51] ========== ttm_bo_validate_no_placement_signaled ========== [07:29:51] [PASSED] Buffer object in system domain, no page vector [07:29:51] [PASSED] Buffer object in system domain with an existing page vector [07:29:51] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [07:29:51] ======== ttm_bo_validate_no_placement_not_signaled ======== [07:29:51] [PASSED] Buffer object for userspace [07:29:51] [PASSED] Kernel buffer object [07:29:51] [PASSED] Shared buffer object [07:29:51] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [07:29:51] [PASSED] ttm_bo_validate_move_fence_signaled [07:29:51] ========= ttm_bo_validate_move_fence_not_signaled ========= [07:29:51] [PASSED] Waits for GPU [07:29:51] [PASSED] Tries to lock straight away [07:29:51] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [07:29:51] [PASSED] ttm_bo_validate_swapout [07:29:51] [PASSED] ttm_bo_validate_happy_evict [07:29:51] [PASSED] ttm_bo_validate_all_pinned_evict [07:29:51] [PASSED] ttm_bo_validate_allowed_only_evict [07:29:51] [PASSED] ttm_bo_validate_deleted_evict [07:29:51] [PASSED] ttm_bo_validate_busy_domain_evict [07:29:51] [PASSED] ttm_bo_validate_evict_gutting [07:29:51] [PASSED] ttm_bo_validate_recrusive_evict [07:29:51] ================= [PASSED] ttm_bo_validate ================= [07:29:51] ============================================================ [07:29:51] Testing complete. Ran 106 tests: passed: 106 [07:29:51] Elapsed time: 11.987s total, 1.878s configuring, 9.895s building, 0.176s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig [07:29:51] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [07:29:53] 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 [07:30:02] Starting KUnit Kernel (1/1)... [07:30:02] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [07:30:02] ============= refcount_interrupt (4 subtests) ============== [07:30:02] [PASSED] test_single_irq_change [07:30:02] [PASSED] test_nested_irq_change [07:30:02] [PASSED] test_multiple_irq_change [07:30:02] [PASSED] test_irq_save [07:30:02] =============== [PASSED] refcount_interrupt ================ [07:30:02] =============== dma-buf-fence (12 subtests) ================ [07:30:02] [PASSED] test_sanitycheck [07:30:02] [PASSED] test_signaling [07:30:02] [PASSED] test_add_callback [07:30:02] [PASSED] test_late_add_callback [07:30:02] [PASSED] test_rm_callback [07:30:02] [PASSED] test_late_rm_callback [07:30:02] [PASSED] test_status [07:30:02] [PASSED] test_error [07:30:02] [PASSED] test_wait [07:30:02] [PASSED] test_wait_timeout [07:30:02] [PASSED] test_stub [07:30:02] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs) [07:30:02] ================== [PASSED] dma-buf-fence ================== [07:30:02] ============ dma-buf-fence-chain (11 subtests) ============= [07:30:02] [PASSED] test_sanitycheck [07:30:02] [PASSED] test_find_seqno [07:30:02] [PASSED] test_find_signaled [07:30:02] [PASSED] test_find_out_of_order [07:30:07] [PASSED] test_find_gap [07:30:07] [PASSED] test_find_race [07:30:07] [PASSED] test_signal_forward [07:30:07] [PASSED] test_signal_backward [07:30:07] [PASSED] test_wait_forward [07:30:07] [PASSED] test_wait_backward [07:30:07] [PASSED] test_wait_random [07:30:07] =============== [PASSED] dma-buf-fence-chain =============== [07:30:07] ============ dma-buf-fence-unwrap (10 subtests) ============ [07:30:07] [PASSED] test_sanitycheck [07:30:07] [PASSED] test_unwrap_array [07:30:07] [PASSED] test_unwrap_chain [07:30:07] [PASSED] test_unwrap_chain_array [07:30:07] [PASSED] test_unwrap_merge [07:30:07] [PASSED] test_unwrap_merge_duplicate [07:30:07] [PASSED] test_unwrap_merge_seqno [07:30:07] [PASSED] test_unwrap_merge_order [07:30:07] [PASSED] test_unwrap_merge_complex [07:30:07] [PASSED] test_unwrap_merge_complex_seqno [07:30:07] ============== [PASSED] dma-buf-fence-unwrap =============== [07:30:07] ================ dma-buf-resv (5 subtests) ================= [07:30:07] [PASSED] test_sanitycheck [07:30:07] ===================== test_signaling ====================== [07:30:07] [PASSED] kernel [07:30:07] [PASSED] write [07:30:07] [PASSED] read [07:30:07] [PASSED] bookkeep [07:30:07] ================= [PASSED] test_signaling ================== [07:30:07] ====================== test_for_each ====================== [07:30:07] [PASSED] kernel [07:30:07] [PASSED] write [07:30:07] [PASSED] read [07:30:07] [PASSED] bookkeep [07:30:07] ================== [PASSED] test_for_each ================== [07:30:07] ================= test_for_each_unlocked ================== [07:30:07] [PASSED] kernel [07:30:07] [PASSED] write [07:30:07] [PASSED] read [07:30:07] [PASSED] bookkeep [07:30:07] ============= [PASSED] test_for_each_unlocked ============== [07:30:07] ===================== test_get_fences ===================== [07:30:07] [PASSED] kernel [07:30:07] [PASSED] write [07:30:07] [PASSED] read [07:30:07] [PASSED] bookkeep [07:30:07] ================= [PASSED] test_get_fences ================= [07:30:07] ================== [PASSED] dma-buf-resv =================== [07:30:07] ============================================================ [07:30:07] Testing complete. Ran 54 tests: passed: 53, skipped: 1 [07:30:07] Elapsed time: 16.016s total, 1.845s configuring, 8.798s building, 5.355s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✗ CI.checksparse: warning for Migrate on fault for device pages (rev7)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Migrate on fault for device pages (rev7)
URL : https://patchwork.freedesktop.org/series/165953/
State : warning
== Summary ==
+ trap cleanup EXIT
+ KERNEL=/kernel
+ MT=/root/linux/maintainer-tools
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools /root/linux/maintainer-tools Cloning into '/root/linux/maintainer-tools'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ make -C /root/linux/maintainer-tools
make: Entering directory '/root/linux/maintainer-tools'
cc -O2 -g -Wextra -o remap-log remap-log.c
make: Leaving directory '/root/linux/maintainer-tools'
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ /root/linux/maintainer-tools/dim sparse --fast 1a702d79afe36153e37dd9784fde95f9f86ea03f Sparse version: 0.6.4 (Ubuntu: 0.6.4-4ubuntu3)
Fast mode used, each commit won't be checked separately. +/kernel/Makefile:1300: C=1 specified, but sparse is not available or not up to date
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for Migrate on fault for device pages (rev7)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Migrate on fault for device pages (rev7)
URL : https://patchwork.freedesktop.org/series/165953/
State : success
== Summary ==
CI Bug Log - changes from xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f_BAT -> xe-pw-165953v7_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (15 -> 15)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-165953v7_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@xe_waitfence@engine:
- bat-wcl-2: [PASS][1] -> [FAIL][2] ([Intel XE#9103])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/bat-wcl-2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/bat-wcl-2/igt@[email protected]
#### Possible fixes ####
* igt@xe_waitfence@engine:
- bat-ptl-2: [FAIL][3] ([Intel XE#9109]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/bat-ptl-2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/bat-ptl-2/igt@[email protected]
[Intel XE#9103]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9103
[Intel XE#9109]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9109
Build changes
-------------
* Linux: xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f -> xe-pw-165953v7
IGT_9111: 4aeabf104b136437d0ccc57caf32a752587d595c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f: 1a702d79afe36153e37dd9784fde95f9f86ea03f
xe-pw-165953v7: 165953v7
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/index.html
Patchwork
CI✗ Xe.CI.FULL: failure for Migrate on fault for device pages (rev7)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Migrate on fault for device pages (rev7)
URL : https://patchwork.freedesktop.org/series/165953/
State : failure
== Summary ==
CI Bug Log - changes from xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f_FULL -> xe-pw-165953v7_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-165953v7_FULL absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-165953v7_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (3 -> 3)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-165953v7_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@xe_ccs@suspend-resume@xmajor-compressed-compfmt0-system-system:
- shard-ptl: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-ptl-3/igt@xe_ccs@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@xe_ccs@[email protected]
Known issues
------------
Here are the changes found in xe-pw-165953v7_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
- shard-ptl: NOTRUN -> [SKIP][3] ([Intel XE#5947])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_big_fb@4-tiled-16bpp-rotate-90:
- shard-ptl: NOTRUN -> [SKIP][4] ([Intel XE#5901])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_big_fb@4-tiled-8bpp-rotate-90:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#2327])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_big_fb@x-tiled-16bpp-rotate-270:
- shard-ptl: NOTRUN -> [SKIP][6] ([Intel XE#5808]) +6 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_big_fb@x-tiled-addfb:
- shard-ptl: NOTRUN -> [SKIP][7] ([Intel XE#5850])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_big_fb@y-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-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#610] / [Intel XE#7387])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-lnl: NOTRUN -> [SKIP][10] ([Intel XE#1124])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-4/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-target-1920x1080p:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#7679])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
- shard-ptl: NOTRUN -> [SKIP][12] ([Intel XE#7679])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_bw@linear-tiling-1-displays-target-1920x1080p:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#367]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_bw@linear-tiling-3-displays-target-1920x1080p:
- shard-ptl: NOTRUN -> [SKIP][14] ([Intel XE#367])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_ccs@bad-pixel-format-yf-tiled-ccs:
- shard-ptl: NOTRUN -> [SKIP][15] ([Intel XE#5822]) +7 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-y-tiled-gen12-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#2887]) +9 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs@pipe-b-hdmi-a-3:
- shard-bmg: [PASS][17] -> [INCOMPLETE][18] ([Intel XE#7084] / [Intel XE#8150])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-6/igt@kms_ccs@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-6/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-lnl-ccs@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2652]) +8 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-suspend-yf-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#3432])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_cdclk@mode-transition-all-outputs:
- shard-ptl: NOTRUN -> [SKIP][21] ([Intel XE#7008])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_chamelium_audio@dp-audio:
- shard-ptl: NOTRUN -> [SKIP][22] ([Intel XE#2252]) +4 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_chamelium_audio@dp-audio-edid:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#2252]) +5 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_chamelium_color@ctm-0-50:
- shard-ptl: NOTRUN -> [SKIP][24] ([Intel XE#5824])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_chamelium_color_pipeline@plane-lut1d-ctm3x4:
- shard-ptl: NOTRUN -> [SKIP][25] ([Intel XE#8391])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_chamelium_color_pipeline@plane-lut1d-post-ctm3x4:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#7358]) +1 other test skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_color_pipeline@plane-fixed-matrix-yuv-rgb-bt601-lut1d@pipe-c-plane-1:
- shard-ptl: NOTRUN -> [FAIL][27] ([Intel XE#9333]) +25 other tests fail
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@kms_color_pipeline@[email protected]
* igt@kms_color_pipeline@plane-fixed-matrix-yuv-rgb-bt709@pipe-c-plane-1:
- shard-bmg: NOTRUN -> [FAIL][28] ([Intel XE#9333]) +12 other tests fail
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@kms_color_pipeline@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-0-hdcp14:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#6974])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-ptl: NOTRUN -> [SKIP][30] ([Intel XE#5832] / [Intel XE#6974])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-0-hdcp14:
- shard-ptl: NOTRUN -> [SKIP][31] ([Intel XE#6974])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_content_protection@lic-type-0-hdcp14@pipe-a-dp-2:
- shard-bmg: NOTRUN -> [FAIL][32] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +3 other tests fail
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-offscreen-128x42:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#2320]) +1 other test skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_cursor_crc@cursor-offscreen-max-size:
- shard-ptl: NOTRUN -> [SKIP][34] ([Intel XE#5900]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-512x512:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#2321] / [Intel XE#7355]) +2 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
- shard-ptl: NOTRUN -> [SKIP][36] ([Intel XE#5846])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy:
- shard-ptl: NOTRUN -> [SKIP][37] ([Intel XE#5962]) +3 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_dp_link_training@non-uhbr-sst:
- shard-ptl: NOTRUN -> [SKIP][38] ([Intel XE#7450])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_dsc@dsc-basic-bigjoiner:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#8265]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_dsc@dsc-fractional-bpp-bigjoiner:
- shard-ptl: NOTRUN -> [SKIP][40] ([Intel XE#5907]) +1 other test skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_fbc_dirty_rect@fbc-dirty-rectangle-dirtyfb-tests:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#4422] / [Intel XE#7442])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_fbcon_fbt@fbc:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#4156] / [Intel XE#7425])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_feature_discovery@dsc:
- shard-ptl: NOTRUN -> [SKIP][43] ([Intel XE#9287])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_flip@2x-flip-vs-dpms-on-nop:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#1421])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-4/igt@[email protected]
* igt@kms_flip@2x-flip-vs-dpms-on-nop-interruptible:
- shard-ptl: NOTRUN -> [SKIP][45] ([Intel XE#2316]) +3 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_flip@dpms-vs-vblank-race@a-hdmi-a3:
- shard-bmg: NOTRUN -> [FAIL][46] ([Intel XE#3098]) +1 other test fail
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling:
- shard-ptl: NOTRUN -> [SKIP][47] ([Intel XE#7178])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#7178] / [Intel XE#7351])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][49] ([Intel XE#656] / [Intel XE#7905])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-4/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrs-argb161616f-draw-mmap-wc:
- shard-ptl: NOTRUN -> [SKIP][50] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrs-rgb101010-draw-mmap-wc:
- shard-ptl: NOTRUN -> [SKIP][51] ([Intel XE#5800] / [Intel XE#6312]) +7 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrshdr-2p-primscrn-cur-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#2311]) +36 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@kms_frontbuffer_tracking@drrshdr-2p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-onoff:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#4141]) +8 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-abgr161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#7061]) +1 other test skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-stridechange:
- shard-ptl: NOTRUN -> [SKIP][55] ([Intel XE#6312]) +8 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#7399])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-scndscrn-pri-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#7905])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-4/igt@kms_frontbuffer_tracking@fbcpsrhdr-2p-scndscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-modesetfrombusy:
- shard-ptl: NOTRUN -> [SKIP][58] ([Intel XE#7865]) +10 other tests skip
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@hdr-2p-primscrn-cur-indfb-draw-mmap-wc:
- shard-ptl: NOTRUN -> [SKIP][59] ([Intel XE#5812]) +33 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@kms_frontbuffer_tracking@hdr-2p-primscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#2313]) +38 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-argb161616f-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#7061] / [Intel XE#7356]) +3 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@psrhdr-argb161616f-draw-blt:
- shard-ptl: NOTRUN -> [SKIP][62] ([Intel XE#7061]) +2 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [PASS][63] -> [SKIP][64] ([Intel XE#1503])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-7/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-4/igt@[email protected]
* igt@kms_joiner@switch-modeset-ultra-joiner-big-joiner:
- shard-ptl: NOTRUN -> [SKIP][65] ([Intel XE#7173])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_mst@mst-suspend-read-crc:
- shard-ptl: NOTRUN -> [SKIP][66] ([Intel XE#8348])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_pipe_stress@stress-xrgb8888-yftiled:
- shard-ptl: NOTRUN -> [SKIP][67] ([Intel XE#6912])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-mtl-mc-ccs-modifier:
- shard-bmg: NOTRUN -> [SKIP][68] ([Intel XE#7283]) +1 other test skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-cc-modifier:
- shard-ptl: NOTRUN -> [SKIP][69] ([Intel XE#7283])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_plane_lowres@tiling-y:
- shard-ptl: NOTRUN -> [SKIP][70] ([Intel XE#5946])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_plane_multiple@tiling-yf:
- shard-ptl: NOTRUN -> [SKIP][71] ([Intel XE#5020])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-5@pipe-b:
- shard-bmg: NOTRUN -> [SKIP][72] ([Intel XE#2763] / [Intel XE#6886]) +4 other tests skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-75@pipe-d:
- shard-ptl: NOTRUN -> [SKIP][73] ([Intel XE#6886]) +14 other tests skip
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@kms_plane_scaling@[email protected]
* igt@kms_pm_backlight@basic-brightness:
- shard-bmg: NOTRUN -> [SKIP][74] ([Intel XE#7376] / [Intel XE#7760] / [Intel XE#870])
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_pm_dc@dc5-psr:
- shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#7794])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_pm_dc@dc5-retention-flops:
- shard-bmg: NOTRUN -> [SKIP][76] ([Intel XE#3309] / [Intel XE#7368])
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_pm_rpm@dpms-non-lpsp:
- shard-ptl: NOTRUN -> [SKIP][77] ([Intel XE#5849])
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_psr2_sf@fbc-pr-overlay-plane-move-continuous-exceed-fully-sf:
- shard-ptl: NOTRUN -> [SKIP][78] ([Intel XE#7304]) +2 other tests skip
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@kms_psr2_sf@fbc-pr-overlay-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-sf@pipe-a-edp-1:
- shard-ptl: NOTRUN -> [SKIP][79] ([Intel XE#5858])
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@kms_psr2_sf@[email protected]
* igt@kms_psr2_sf@fbc-psr2-overlay-plane-move-continuous-sf@pipe-b-edp-1:
- shard-ptl: NOTRUN -> [SKIP][80] ([Intel XE#5858] / [Intel XE#7304]) +1 other test skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@kms_psr2_sf@[email protected]
* igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-sf:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#1489]) +4 other tests skip
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@kms_psr2_su@frontbuffer-xrgb8888:
- shard-ptl: NOTRUN -> [SKIP][82] ([Intel XE#7413])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_psr@fbc-pr-no-drrs:
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#2234] / [Intel XE#2850]) +8 other tests skip
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_psr@fbc-psr2-primary-page-flip@edp-1:
- shard-ptl: NOTRUN -> [SKIP][84] ([Intel XE#1406] / [Intel XE#5835]) +3 other tests skip
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@kms_psr@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-0:
- shard-ptl: NOTRUN -> [SKIP][85] ([Intel XE#5813])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- shard-ptl: NOTRUN -> [SKIP][86] ([Intel XE#5910])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@kms_sharpness_filter@filter-scaler-downscale:
- shard-bmg: NOTRUN -> [SKIP][87] ([Intel XE#6503])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@kms_vrr@flip-basic:
- shard-ptl: NOTRUN -> [FAIL][88] ([Intel XE#4227] / [Intel XE#7397]) +1 other test fail
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@xe_ccs@vm-bind-fault-mode-decompress:
- shard-ptl: NOTRUN -> [SKIP][89] ([Intel XE#7644])
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@xe_compute@ccs-mode-basic:
- shard-bmg: NOTRUN -> [SKIP][90] ([Intel XE#6599])
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@xe_evict@evict-mixed-threads-large-multi-vm:
- shard-ptl: NOTRUN -> [SKIP][91] ([Intel XE#5764]) +2 other tests skip
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@xe_evict_ccs@evict-overcommit-standalone-instantfree-reopen:
- shard-ptl: NOTRUN -> [SKIP][92] ([Intel XE#6144]) +1 other test skip
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@xe_exec_balancer@twice-parallel-userptr-invalidate-race:
- shard-ptl: NOTRUN -> [SKIP][93] ([Intel XE#7482]) +5 other tests skip
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr:
- shard-bmg: NOTRUN -> [SKIP][94] ([Intel XE#2322] / [Intel XE#7372]) +6 other tests skip
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr.html
* igt@xe_exec_basic@multigpu-once-null:
- shard-ptl: NOTRUN -> [SKIP][95] ([Intel XE#5575] / [Intel XE#7484]) +3 other tests skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@xe_exec_fault_mode@many-execqueues-multi-queue-imm:
- shard-bmg: NOTRUN -> [SKIP][96] ([Intel XE#8374]) +9 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@xe_exec_fault_mode@twice-multi-queue-invalid-fault:
- shard-lnl: NOTRUN -> [SKIP][97] ([Intel XE#8374])
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-4/igt@[email protected]
* igt@xe_exec_fault_mode@twice-multi-queue-userptr-invalidate-race:
- shard-ptl: NOTRUN -> [SKIP][98] ([Intel XE#8374]) +7 other tests skip
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@xe_exec_fault_mode@twice-multi-queue-userptr-invalidate-race.html
* igt@xe_exec_multi_queue@many-queues-preempt-mode-userptr:
- shard-lnl: NOTRUN -> [SKIP][99] ([Intel XE#8364])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-4/igt@[email protected]
* igt@xe_exec_multi_queue@one-queue-priority:
- shard-ptl: NOTRUN -> [SKIP][100] ([Intel XE#8364]) +14 other tests skip
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-5/igt@[email protected]
* igt@xe_exec_multi_queue@two-queues-preempt-mode-basic-smem:
- shard-bmg: NOTRUN -> [SKIP][101] ([Intel XE#8364]) +17 other tests skip
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@xe_exec_reset@cm-multi-queue-close-execqueues:
- shard-bmg: NOTRUN -> [SKIP][102] ([Intel XE#8369])
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@xe_exec_reset@multi-queue-cat-error-on-secondary:
- shard-ptl: NOTRUN -> [SKIP][103] ([Intel XE#8369]) +1 other test skip
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-basic:
- shard-ptl: NOTRUN -> [SKIP][104] ([Intel XE#8378]) +2 other tests skip
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race:
- shard-lnl: NOTRUN -> [SKIP][105] ([Intel XE#8378])
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-4/igt@xe_exec_threads@threads-multi-queue-hang-fd-userptr-invalidate-race.html
* igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][106] ([Intel XE#8378]) +2 other tests skip
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-rebind.html
* igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit:
- shard-ptl: NOTRUN -> [SKIP][107] ([Intel XE#5775])
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit.html
* igt@xe_madvise@atomic-cpu:
- shard-ptl: NOTRUN -> [SKIP][108] ([Intel XE#7980])
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-atomic-op-basic:
- shard-lnl: NOTRUN -> [SKIP][109] ([Intel XE#6964])
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-4/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-latency-copy-basic:
- shard-ptl: NOTRUN -> [SKIP][110] ([Intel XE#6964]) +1 other test skip
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-pagefault-prefetch:
- shard-bmg: NOTRUN -> [SKIP][111] ([Intel XE#6964]) +2 other tests skip
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@xe_oa@oa-tlb-invalidate:
- shard-bmg: NOTRUN -> [SKIP][112] ([Intel XE#2248] / [Intel XE#7325] / [Intel XE#7393])
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@xe_page_reclaim@binds-1g-partial:
- shard-bmg: NOTRUN -> [SKIP][113] ([Intel XE#7793]) +1 other test skip
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@xe_page_reclaim@pat-index-xd:
- shard-ptl: NOTRUN -> [SKIP][114] ([Intel XE#7793]) +1 other test skip
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
* igt@xe_pat@pat-index-xehpc:
- shard-bmg: NOTRUN -> [SKIP][115] ([Intel XE#1420] / [Intel XE#7590])
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@xe_pat@pat-sw-hw-reset-compare:
- shard-ptl: NOTRUN -> [FAIL][116] ([Intel XE#7695])
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@xe_pm@d3cold-mmap-vram:
- shard-ptl: NOTRUN -> [SKIP][117] ([Intel XE#5741])
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@xe_pm@s3-basic-exec:
- shard-ptl: NOTRUN -> [SKIP][118] ([Intel XE#6867]) +1 other test skip
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@xe_pm@s4-vm-bind-userptr:
- shard-ptl: [PASS][119] -> [ABORT][120] ([Intel XE#9362]) +6 other tests abort
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-ptl-7/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-6/igt@[email protected]
* igt@xe_prefetch_fault@prefetch-fault-svm:
- shard-ptl: NOTRUN -> [SKIP][121] ([Intel XE#7599])
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-7/igt@[email protected]
* igt@xe_pxp@pxp-termination-key-update-post-suspend:
- shard-bmg: NOTRUN -> [SKIP][122] ([Intel XE#4733] / [Intel XE#7417]) +1 other test skip
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@[email protected]
* igt@xe_query@multigpu-query-hwconfig:
- shard-bmg: NOTRUN -> [SKIP][123] ([Intel XE#944])
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@[email protected]
* igt@xe_query@multigpu-query-mem-usage:
- shard-ptl: NOTRUN -> [SKIP][124] ([Intel XE#6019])
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-8/igt@[email protected]
#### Possible fixes ####
* igt@kms_async_flips@alternate-sync-async-flip-atomic:
- shard-bmg: [FAIL][125] ([Intel XE#3718] / [Intel XE#6078]) -> [PASS][126]
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-10/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-7/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-b-dp-2:
- shard-bmg: [FAIL][127] ([Intel XE#6078]) -> [PASS][128]
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-10/igt@kms_async_flips@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-7/igt@kms_async_flips@[email protected]
* igt@kms_cursor_crc@cursor-suspend@pipe-a-edp-1:
- shard-ptl: [ABORT][129] ([Intel XE#9362]) -> [PASS][130] +6 other tests pass
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-ptl-1/igt@kms_cursor_crc@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-ptl-5/igt@kms_cursor_crc@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [FAIL][131] ([Intel XE#301]) -> [PASS][132] +2 other tests pass
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-lnl-1/igt@kms_flip@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-3/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [FAIL][133] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][134] +1 other test pass
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-lnl-1/igt@kms_flip@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-3/igt@kms_flip@[email protected]
* igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-2-xrgb16161616f:
- shard-bmg: [ABORT][135] ([Intel XE#9362]) -> [PASS][136] +1 other test pass
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-3/igt@kms_hdr@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@kms_hdr@[email protected]
* igt@kms_vblank@ts-continuation-suspend:
- shard-bmg: [DMESG-WARN][137] ([Intel XE#9390]) -> [PASS][138] +1 other test pass
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-7/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-2/igt@[email protected]
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-huge-nomemset:
- shard-bmg: [ABORT][139] -> [PASS][140] +2 other tests pass
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-6/igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-huge-nomemset.html
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-8/igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-huge-nomemset.html
* igt@xe_pm@s4-vm-bind-userptr:
- shard-lnl: [ABORT][141] ([Intel XE#9362]) -> [PASS][142]
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-lnl-3/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-lnl-4/igt@[email protected]
* igt@xe_pm_residency@gt-c6-freeze@gt0:
- shard-bmg: [FAIL][143] ([Intel XE#9254]) -> [PASS][144] +1 other test pass
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-3/igt@xe_pm_residency@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-3/igt@xe_pm_residency@[email protected]
#### Warnings ####
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [ABORT][145] -> [INCOMPLETE][146] ([Intel XE#7084] / [Intel XE#8150])
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-6/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-6/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][147] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][148] ([Intel XE#1729] / [Intel XE#7424])
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-2/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-1/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][149] ([Intel XE#2509] / [Intel XE#7437]) -> [SKIP][150] ([Intel XE#2426] / [Intel XE#5848])
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f/shard-bmg-5/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/shard-bmg-2/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[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#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2248]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2248
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[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#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[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#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3098]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3098
[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#3309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3309
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[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#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227
[Intel XE#4422]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4422
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5575]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5575
[Intel XE#5741]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5741
[Intel XE#5764]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5764
[Intel XE#5775]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5775
[Intel XE#5800]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5800
[Intel XE#5808]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5808
[Intel XE#5812]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5812
[Intel XE#5813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5813
[Intel XE#5822]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5822
[Intel XE#5824]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5824
[Intel XE#5832]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5832
[Intel XE#5835]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5835
[Intel XE#5846]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5846
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#5849]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5849
[Intel XE#5850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5850
[Intel XE#5858]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5858
[Intel XE#5900]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5900
[Intel XE#5901]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5901
[Intel XE#5907]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5907
[Intel XE#5910]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5910
[Intel XE#5946]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5946
[Intel XE#5947]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5947
[Intel XE#5962]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5962
[Intel XE#6019]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6019
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#610]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/610
[Intel XE#6144]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6144
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6599
[Intel XE#6867]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6867
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7008]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7008
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7173
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7325
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[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#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7368]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7368
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
[Intel XE#7387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7387
[Intel XE#7393]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7393
[Intel XE#7397]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7397
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7413
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7425]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7425
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7442]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7442
[Intel XE#7450]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7450
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7484]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7484
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7599
[Intel XE#7644]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7644
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7695]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7695
[Intel XE#7760]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7760
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7794]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7794
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7980]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7980
[Intel XE#8150]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8150
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8348]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8348
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8391]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8391
[Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
[Intel XE#9254]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9254
[Intel XE#9287]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9287
[Intel XE#9333]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9333
[Intel XE#9362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9362
[Intel XE#9390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/9390
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f -> xe-pw-165953v7
IGT_9111: 4aeabf104b136437d0ccc57caf32a752587d595c @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5818-1a702d79afe36153e37dd9784fde95f9f86ea03f: 1a702d79afe36153e37dd9784fde95f9f86ea03f
xe-pw-165953v7: 165953v7
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-165953v7/index.html
Quoted 4 lines · On Thu, Sep 24, 2026 at 09:53:02AM +0300, [email protected] wrote:
Add a new flag to HMM APIs,
HMM_PFN_REQ_MIGRATE,
which tells to prepare for migration also during fault handling. For themigrate_vma_setup()call paths, new flags,MIGRATE_VMA_FAULT, andMIGRATE_VMA_WRITEare added to tell to add fault handling to migrate.
Who is going to use this? The series seems to lack an actual user for it.
Quoted 1 line · Christoph Hellwig
Who is going to use this? The series seems to lack an actual user for it.
Two users:
For one, existing migrate_vma_setup() callers, unchanged. The series reworks migrate_vma_setup() to collect via hmm_range_fault() internally (it sets HMM_PFN_REQ_MIGRATE and calls migrate_hmm_range_setup(), mm/migrate_device.c). So every in-tree migrate_vma consumer — nouveau, amdgpu/amdkfd, drm/xe via drm_pagemap, lib/test_hmm — runs on the new path.
Second, the point is to fault-in and migrate in a single page-table walk instead of the 2–3 walks drivers do today . It can be driven by hmm_range_fault() directly instead of ping-ponging between hmm fault and migrate_vma interfaces, and lib/test_hmm exercises it. migrate.vma is also populated now for free on fault path. These are aimed at SVM like migrate-on-fault, and is motivated by Alistair Popple's experiments with current interfaces, where the redundant-walk overhead showed up clearly in perf traces. The unified page table walker also avoids some limitations in current collecting interfaces that can crash when raced with unmap.
So this is a building block for migrate-on-fault but delivers immediate in-tree effects by unifying, refactoring and more robust collecting.
--Mika
Jason Gunthorpe
maintainerQuoted 11 lines · Mika Penttilä
Quoted 1 line · Christoph Hellwig
Who is going to use this? The series seems to lack an actual user for it.
Two users:
For one, existing
migrate_vma_setup()callers, unchanged. The series reworksmigrate_vma_setup()to collect viahmm_range_fault()internally (it setsHMM_PFN_REQ_MIGRATEand callsmigrate_hmm_range_setup(),mm/migrate_device.c). So every in-treemigrate_vmaconsumer — nouveau, amdgpu/amdkfd, drm/xe viadrm_pagemap,lib/test_hmm— runs on the new path.
So split the series so you don't add unused interfaces for now?
Jason
Quoted 11 lines · Jason Gunthorpe
Quoted 9 lines · Mika Penttilä
Quoted 2 lines · Christoph Hellwig
Who is going to use this? The series seems to lack an actual user for it.
Two users: For one, existing
migrate_vma_setup()callers, unchanged. The series reworksmigrate_vma_setup()to collect viahmm_range_fault()internally (it setsHMM_PFN_REQ_MIGRATEand callsmigrate_hmm_range_setup(),mm/migrate_device.c). So every in-treemigrate_vmaconsumer — nouveau, amdgpu/amdkfd, drm/xe viadrm_pagemap,lib/test_hmm— runs on the new path.So split the series so you don't add unused interfaces for now? Jason
I think we get the other for "free", migrate_vma_setup() -> hmm_range_fault() is the now used. But if wanted you can drive the migration initially from hmm_range_fault() also from fault handler. If don't want that then it's removing EXPORT_SYMBOL(migrate_hmm_range_setup);
--Mika