mm: Fix a hmm_range_fault() livelock / starvation problem
Subsystems (5)
PATCH v4 1/1 mm: Fix a hmm_range_fault() livelock / starvation problem
If hmm_range_fault() fails a folio_trylock() in do_swap_page, trying to acquire the lock of a device-private folio for migration, to ram, the function will spin until it succeeds grabbing the lock.
However, if the process holding the lock is depending on a work item to be completed, which is scheduled on the same CPU as the spinning hmm_range_fault(), that work item might be starved and we end up in a livelock / starvation situation which is never resolved.
This can happen, for example if the process holding the device-private folio lock is stuck in
migrate_device_unmap()->lru_add_drain_all()
The lru_add_drain_all() function requires a short work-item to be run on all online cpus to complete.
A prerequisite for this to happen is:
a) Both zone device and system memory folios are considered in migrate_device_unmap(), so that there is a reason to call lru_add_drain_all() for a system memory folio while a folio lock is held on a zone device folio.
b) The zone device folio has an initial mapcount > 1 which causes at least one migration PTE entry insertion to be deferred to try_to_migrate(), which can happen after the call to lru_add_drain_all().
c) No or voluntary only preemption.
This all seems pretty unlikely to happen, but indeed is hit by the "xe_exec_system_allocator" igt test.
Resolve this by waiting for the folio to be unlocked if the folio_trylock() fails in the do_swap_page() function.
Rename the migration_entry_wait_on_locked() function to softleaf_entry_wait_unlock() and update its documentation to indicate the new use-case.
Future code improvements might consider moving
the lru_add_drain_all() call in migrate_device_unmap() to be called *after* all pages have migration entries inserted. That would eliminate also b) above.
v2:
- Instead of a cond_resched() in the hmm_range_fault() function, eliminate the problem by waiting for the folio to be unlocked in do_swap_page() (Alistair Popple, Andrew Morton)
v3:
- Add a stub migration_entry_wait_on_locked() for the !CONFIG_MIGRATION case. (Kernel Test Robot)
v4:
- Rename migrate_entry_wait_on_locked() to softleaf_entry_wait_on_locked() and update docs (Alistair Popple)
--- include/linux/migrate.h | 8 +++++++- mm/filemap.c | 15 ++++++++++----- mm/memory.c | 3 ++- mm/migrate.c | 8 ++++---- mm/migrate_device.c | 2 +- 5 files changed, 24 insertions(+), 12 deletions(-)
include/linux/migrate.h +7 -1
@@ -65,7 +65,7 @@ bool isolate_folio_to_list(struct folio *folio, struct list_head *list);int migrate_huge_page_move_mapping (struct address_space *mapping,struct folio *dst,struct folio *src); -void migration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl) +void softleaf_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl) __releases(ptl);void folio_migrate_flags (struct folio *newfolio,struct folio *folio); int folio_migrate_mapping(struct address_space *mapping,
@@ -97,6 +97,12 @@ static inline int set_movable_ops(const struct movable_operations *ops, enum pag return -ENOSYS; } +static inline void softleaf_entry_wait_on_locked (softleaf_t entry,spinlock_t *ptl) +__releases (ptl) +{ +spin_unlock (ptl); +} +#endif /* CONFIG_MIGRATION */ #ifdef CONFIG_NUMA_BALANCING
mm/filemap.c +10 -5
@@ -1379,14 +1379,16 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr,#ifdef CONFIG_MIGRATION /** -* migration_entry_wait_on_locked - Wait for a migration entry to be removed -* @entry: migration swap entry. +* softleaf_entry_wait_on_locked - Wait for a migration entry or +* device_private entry to be removed. +* @entry: migration or device_private swap entry. * @ptl: already locked ptl. This function will drop the lock. * -* Wait for a migration entry referencing the given page to be removed. This is +* Wait for a migration entry referencing the given page, or device_private +* entry referencing a dvice_private page to be unlocked. This is * equivalent to folio_put_wait_locked(folio, TASK_UNINTERRUPTIBLE) except * this can be called without taking a reference on the page. Instead this -* should be called while holding the ptl for the migration entry referencing +* should be called while holding the ptl for @entry referencing * the page. * * Returns after unlocking the ptl.
@@ -1394,7 +1396,7 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr,* This follows the same logic as folio_wait_bit_common() so see the comments * there. */ -void migration_entry_wait_on_locked (softleaf_t entry,spinlock_t *ptl) +void softleaf_entry_wait_on_locked (softleaf_t entry,spinlock_t *ptl)__releases (ptl) {struct wait_page_queue wait_page;
@@ -1428,6 +1430,9 @@ void migration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)* If a migration entry exists for the page the migration path must hold * a valid reference to the page, and it must take the ptl to remove the * migration entry. So the page is valid until the ptl is dropped. +* Similarly any path attempting to drop the last reference to a +* device-private page needs to grab the ptl to remove the device-private +* entry. */ spin_unlock (ptl);
mm/memory.c +2 -1
@@ -4684,7 +4684,8 @@ vm_fault_t do_swap_page(struct vm_fault *vmf)unlock_page (vmf->page);put_page (vmf->page); }else { -pte_unmap_unlock (vmf->pte, vmf->ptl); +pte_unmap (vmf->pte); +softleaf_entry_wait_on_locked (entry, vmf->ptl); } }else if (softleaf_is_hwpoison (entry)) { ret =VM_FAULT_HWPOISON ;
mm/migrate.c +4 -4
@@ -499,7 +499,7 @@ void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd,if (!softleaf_is_migration (entry)) goto out; -migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return ; out:spin_unlock (ptl);
@@ -531,10 +531,10 @@ void migration_entry_wait_huge(struct vm_area_struct *vma, unsigned long addr, p* If migration entry existed, safe to release vma lock * here because the pgtable page won't be freed without the * pgtable lock released. See comment right above pgtable -* lock release in migration_entry_wait_on_locked(). +* lock release in softleaf_entry_wait_on_locked(). */ hugetlb_vma_unlock_read (vma); -migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return ; }
@@ -552,7 +552,7 @@ void pmd_migration_entry_wait(struct mm_struct *mm, pmd_t *pmd) ptl =pmd_lock (mm, pmd);if (!pmd_is_migration_entry (*pmd)) goto unlock; -migration_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl); +softleaf_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl);return ; unlock:spin_unlock (ptl);
mm/migrate_device.c +1 -1
@@ -176,7 +176,7 @@ static int migrate_vma_collect_huge_pmd(pmd_t *pmdp, unsigned long start, }if (softleaf_is_migration (entry)) { -migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);spin_unlock (ptl);return -EAGAIN ; }
Signature · 1 line
2.52.0
Quoted 27 lines · Thomas Hellström
If
hmm_range_fault()fails afolio_trylock()indo_swap_page, trying to acquire the lock of a device-private folio for migration, to ram, the function will spin until it succeeds grabbing the lock.However, if the process holding the lock is depending on a work item to be completed, which is scheduled on the same CPU as the spinning
hmm_range_fault(), that work item might be starved and we end up in a livelock / starvation situation which is never resolved.This can happen, for example if the process holding the device-private folio lock is stuck in
migrate_device_unmap()->lru_add_drain_all()
Thelru_add_drain_all()function requires a short work-item to be run on all online cpus to complete.A prerequisite for this to happen is:
a) Both zone device and system memory folios are considered inmigrate_device_unmap(), so that there is a reason to calllru_add_drain_all()for a system memory folio while a folio lock is held on a zone device folio.
b) The zone device folio has an initial mapcount > 1 which causes at least one migration PTE entry insertion to be deferred totry_to_migrate(), which can happen after the call tolru_add_drain_all().
c) No or voluntary only preemption.
Quoted 3 lines
This all seems pretty unlikely to happen, but indeed is hit by the "
xe_exec_system_allocator" igt test.
Do you have a stack trace from the test? I am trying to visualize the livelock/starvation, but I can't from the description.
Quoted 171 lines
Resolve this by waiting for the folio to be unlocked if the
folio_trylock()fails in thedo_swap_page()function.Rename the
migration_entry_wait_on_locked()function tosoftleaf_entry_wait_unlock()and update its documentation to indicate the new use-case.Future code improvements might consider moving
thelru_add_drain_all()call inmigrate_device_unmap()to be called *after* all pages have migration entries inserted. That would eliminate also b) above.v2:
- Instead of acond_resched()in thehmm_range_fault()function, eliminate the problem by waiting for the folio to be unlocked indo_swap_page()(Alistair Popple, Andrew Morton)
v3:
- Add a stubmigration_entry_wait_on_locked()for the !CONFIG_MIGRATION case. (Kernel Test Robot)
v4:
- Renamemigrate_entry_wait_on_locked()tosoftleaf_entry_wait_on_locked()and update docs (Alistair Popple)Suggested-by Alistair Popple <[email protected]>Fixes 1afaeb8293c9 ("mm/migrate: Trylock device page in do_swap_page")Cc Ralph Campbell <[email protected]>Cc Christoph Hellwig <[email protected]>Cc Jason Gunthorpe <[email protected]>Cc Jason Gunthorpe <[email protected]>Cc Leon Romanovsky <[email protected]>Cc Andrew Morton <[email protected]>Cc Matthew Brost <[email protected]>Cc John Hubbard <[email protected]>Cc Alistair Popple <[email protected]>Cc <[email protected]>Signed-off-by Thomas Hellström <[email protected]>Cc <[email protected]> # v6.15+Reviewed-by John Hubbard <[email protected]> #v3--- include/linux/migrate.h | 8 +++++++- mm/filemap.c | 15 ++++++++++----- mm/memory.c | 3 ++- mm/migrate.c | 8 ++++---- mm/migrate_device.c | 2 +- 5 files changed, 24 insertions(+), 12 deletions(-)include/linux/migrate.h +7
-1@@ -65,7 +65,7 @@ bool isolate_folio_to_list(struct folio *folio, struct list_head *list);int migrate_huge_page_move_mapping (struct address_space *mapping,struct folio *dst,struct folio *src); -void migration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl) +void softleaf_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl) __releases(ptl);void folio_migrate_flags (struct folio *newfolio,struct folio *folio); int folio_migrate_mapping(struct address_space *mapping,@@ -97,6 +97,12 @@ static inline int set_movable_ops(const struct movable_operations *ops, enum pag return -ENOSYS; } +static inline void softleaf_entry_wait_on_locked (softleaf_t entry,spinlock_t *ptl) +__releases (ptl) +{ +spin_unlock (ptl); +} +#endif /* CONFIG_MIGRATION */ #ifdef CONFIG_NUMA_BALANCING mm/filemap.c +10
-5@@ -1379,14 +1379,16 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr,#ifdef CONFIG_MIGRATION /** -* migration_entry_wait_on_locked - Wait for a migration entry to be removed -* @entry: migration swap entry. +* softleaf_entry_wait_on_locked - Wait for a migration entry or +* device_private entry to be removed. +* @entry: migration or device_private swap entry. * @ptl: already locked ptl. This function will drop the lock. * -* Wait for a migration entry referencing the given page to be removed. This is +* Wait for a migration entry referencing the given page, or device_private +* entry referencing a dvice_private page to be unlocked. This is * equivalent to folio_put_wait_locked(folio, TASK_UNINTERRUPTIBLE) except * this can be called without taking a reference on the page. Instead this -* should be called while holding the ptl for the migration entry referencing +* should be called while holding the ptl for @entry referencing * the page. * * Returns after unlocking the ptl. @@ -1394,7 +1396,7 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr,* This follows the same logic as folio_wait_bit_common() so see the comments * there. */ -void migration_entry_wait_on_locked (softleaf_t entry,spinlock_t *ptl) +void softleaf_entry_wait_on_locked (softleaf_t entry,spinlock_t *ptl)__releases (ptl) {struct wait_page_queue wait_page;@@ -1428,6 +1430,9 @@ void migration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)* If a migration entry exists for the page the migration path must hold * a valid reference to the page, and it must take the ptl to remove the * migration entry. So the page is valid until the ptl is dropped. +* Similarly any path attempting to drop the last reference to a +* device-private page needs to grab the ptl to remove the device-private +* entry. */ spin_unlock (ptl);mm/memory.c +2
-1@@ -4684,7 +4684,8 @@ vm_fault_t do_swap_page(struct vm_fault *vmf)unlock_page (vmf->page);put_page (vmf->page); }else { -pte_unmap_unlock (vmf->pte, vmf->ptl); +pte_unmap (vmf->pte); +softleaf_entry_wait_on_locked (entry, vmf->ptl); } }else if (softleaf_is_hwpoison (entry)) { ret =VM_FAULT_HWPOISON ;mm/migrate.c +4
-4@@ -499,7 +499,7 @@ void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd,if (!softleaf_is_migration (entry)) goto out; -migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return ; out:spin_unlock (ptl);@@ -531,10 +531,10 @@ void migration_entry_wait_huge(struct vm_area_struct *vma, unsigned long addr, p* If migration entry existed, safe to release vma lock * here because the pgtable page won't be freed without the * pgtable lock released. See comment right above pgtable -* lock release in migration_entry_wait_on_locked(). +* lock release in softleaf_entry_wait_on_locked(). */ hugetlb_vma_unlock_read (vma); -migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return ; }@@ -552,7 +552,7 @@ void pmd_migration_entry_wait(struct mm_struct *mm, pmd_t *pmd) ptl =pmd_lock (mm, pmd);if (!pmd_is_migration_entry (*pmd)) goto unlock; -migration_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl); +softleaf_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl);return ; unlock:spin_unlock (ptl);mm/migrate_device.c +0
-0
mm/migrate_device.c static int migrate_vma_collect_huge_pmd(pmd_t *pmdp, unsigned long start, · line 182
Quoted 8 lines
mm/migrate_device.c +1
-1@@ -176,7 +176,7 @@ static int migrate_vma_collect_huge_pmd(pmd_t *pmdp, unsigned long start, }if (softleaf_is_migration (entry)) { -migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);spin_unlock (ptl);return -EAGAIN ; }
Balbir
Quoted 28 lines · Balbir Singh
Quoted 27 lines · Thomas Hellström
If
hmm_range_fault()fails afolio_trylock()indo_swap_page, trying to acquire the lock of a device-private folio for migration, to ram, the function will spin until it succeeds grabbing the lock.However, if the process holding the lock is depending on a work item to be completed, which is scheduled on the same CPU as the spinning
hmm_range_fault(), that work item might be starved and we end up in a livelock / starvation situation which is never resolved.This can happen, for example if the process holding the device-private folio lock is stuck in migrate_device_unmap()->lru_add_drain_all()
Thelru_add_drain_all()function requires a short work-item to be run on all online cpus to complete.A prerequisite for this to happen is:
a) Both zone device and system memory folios are considered inmigrate_device_unmap(), so that there is a reason to calllru_add_drain_all()for a system memory folio while a folio lock is held on a zone device folio.
b) The zone device folio has an initial mapcount > 1 which causes at least one migration PTE entry insertion to be deferred totry_to_migrate(), which can happen after the call tolru_add_drain_all().
c) No or voluntary only preemption.
Quoted 6 lines
Quoted 3 lines
This all seems pretty unlikely to happen, but indeed is hit by the "
xe_exec_system_allocator" igt test.Do you have a stack trace from the test? I am trying to visualize the livelock/starvation, but I can't from the description.
The spinning thread: (The backtrace varies slightly from time to time:)
[ 805.201476] watchdog: BUG: soft lockup - CPU#139 stuck for 52s! [kworker/u900:1:9985] [ 805.201477] Modules linked in: xt_conntrack nft_chain_nat
xt_MASQUERADE nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc xfrm_user xfrm_algo xt_addrtype nft_compat x_tables nf_tables mei_gsc_proxy pmt_crashlog mtd_intel_dg mei_gsc overlay qrtr snd_hda_codec_intelhdmi snd_hda_codec_hdmi intel_rapl_msr intel_rapl_common cfg80211 intel_uncore_frequency intel_uncore_frequency_common intel_ifs i10nm_edac sunrpc binfmt_misc skx_edac_common nfit xe x86_pkg_temp_thermal intel_powerclamp coretemp nls_iso8859_1 kvm_intel kvm drm_ttm_helper drm_suballoc_helper gpu_sched snd_hda_intel cmdlinepart drm_gpuvm snd_intel_dspcfg drm_exec spi_nor drm_gpusvm_helper snd_hda_codec drm_buddy pmt_telemetry dax_hmem snd_hwdep pmt_discovery mtd video irqbypass cxl_acpi qat_4xxx iaa_crypto snd_hda_core pmt_class ttm rapl ses cxl_port snd_pcm intel_cstate enclosure cxl_core intel_qat isst_if_mmio isst_if_mbox_pci drm_display_helper snd_timer snd cec idxd crc8 einj ast mei_me spi_intel_pci rc_core soundcore isst_if_common
[ 805.201496] ipmi_ssif authenc i2c_i801 intel_vsec idxd_bus
spi_intel i2c_algo_bit mei i2c_ismt i2c_smbus wmi joydev input_leds ipmi_si acpi_power_meter acpi_ipmi ipmi_devintf ipmi_msghandler acpi_pad mac_hid pfr_telemetry pfr_update sch_fq_codel msr efi_pstore dm_multipath nfnetlink dmi_sysfs autofs4 btrfs blake2b libblake2b raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid1 raid0 linear rndis_host cdc_ether usbnet mii nvme hid_generic mpt3sas i40e nvme_core usbhid ahci ghash_clmulni_intel raid_class nvme_keyring scsi_transport_sas hid libahci nvme_auth libie hkdf libie_adminq pinctrl_emmitsburg aesni_intel
[ 805.201510] CPU: 139 UID: 0 PID: 9985 Comm: kworker/u900:1 Tainted: G S W L 6.19.0-rc7+ #18 PREEMPT(voluntary) [ 805.201512] Tainted: [S]=CPU_OUT_OF_SPEC, [W]=WARN, [L]=SOFTLOCKUP [ 805.201512] Hardware name: Supermicro SYS-421GE-TNRT/X13DEG-OA, BIOS 2.5a 02/21/2025 [ 805.201513] Workqueue: xe_page_fault_work_queue xe_pagefault_queue_work [xe] [ 805.201599] RIP: 0010:_raw_spin_unlock+0x16/0x40 [ 805.201602] Code: cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 55 48 89 e5 c6 07 00 0f 1f 00 65 ff 0d fa a6 40 01 <74> 10 5d 31 c0 31 d2 31 c9 31 f6 31 ff c3 cc cc cc cc 0f 1f 44 00 [ 805.201603] RSP: 0018:ffffd2a663a4f678 EFLAGS: 00000247 [ 805.201603] RAX: fffff85c67e35080 RBX: ffffd2a663a4f7b8 RCX: 0000000000000000 [ 805.201604] RDX: ffff8b88fdd31a00 RSI: 0000000000000000 RDI: fffff75c86ff5928 [ 805.201605] RBP: ffffd2a663a4f678 R08: 0000000000000000 R09: 0000000000000000 [ 805.201605] R10: 0000000000000000 R11: 0000000000000000 R12: 0000631d10d42000 [ 805.201606] R13: ffffd2a663a4f7b8 R14: 00000001a4ca4067 R15: 74000003ff9f8d42 [ 805.201606] FS: 0000000000000000(0000) GS:ffff8bc76202b000(0000) knlGS:0000000000000000 [ 805.201607] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 805.201608] CR2: 0000631d10c00088 CR3: 0000003de3040004 CR4: 0000000000f72ef0 [ 805.201609] PKRU: 55555554 [ 805.201609] Call Trace: [ 805.201610] <TASK> [ 805.201610] do_swap_page+0x17c6/0x1b70 [ 805.201612] ? sysvec_apic_timer_interrupt+0x57/0xc0 [ 805.201614] ? asm_sysvec_apic_timer_interrupt+0x1b/0x20 [ 805.201615] ? __pfx_default_wake_function+0x10/0x10 [ 805.201617] ? ___pte_offset_map+0x1c/0x130 [ 805.201619] __handle_mm_fault+0xa75/0x1020 [ 805.201621] handle_mm_fault+0xeb/0x2f0 [ 805.201622] ? handle_mm_fault+0x11a/0x2f0 [ 805.201623] hmm_vma_fault.isra.0+0x5b/0xb0 [ 805.201625] hmm_vma_walk_pmd+0x5c7/0xc40 [ 805.201627] ? sysvec_apic_timer_interrupt+0x57/0xc0 [ 805.201629] walk_pgd_range+0x5ba/0xbf0 [ 805.201631] __walk_page_range+0x8e/0x220 [ 805.201633] walk_page_range_mm_unsafe+0x149/0x210 [ 805.201635] walk_page_range+0x2a/0x40 [ 805.201636] hmm_range_fault+0x5c/0xb0 [ 805.201638] drm_gpusvm_range_evict+0x11a/0x1d0 [drm_gpusvm_helper] [ 805.201641] __xe_svm_handle_pagefault+0x5fa/0xf00 [xe] [ 805.201736] ? select_task_rq_fair+0x9bc/0x2970 [ 805.201738] xe_svm_handle_pagefault+0x3d/0xb0 [xe] [ 805.201827] xe_pagefault_queue_work+0x233/0x370 [xe] [ 805.201905] process_one_work+0x18d/0x370 [ 805.201907] worker_thread+0x31a/0x460 [ 805.201908] ? __pfx_worker_thread+0x10/0x10 [ 805.201909] kthread+0x10b/0x220 [ 805.201910] ? __pfx_kthread+0x10/0x10 [ 805.201912] ret_from_fork+0x289/0x2c0 [ 805.201913] ? __pfx_kthread+0x10/0x10 [ 805.201915] ret_from_fork_asm+0x1a/0x30 [ 805.201917] </TASK>
The thread holding the page-lock:
[ 1629.938195] Workqueue: xe_page_fault_work_queue xe_pagefault_queue_work [xe] [ 1629.938340] Call Trace: [ 1629.938341] <TASK> [ 1629.938342] __schedule+0x47f/0x1890 [ 1629.938346] ? psi_group_change+0x1bd/0x4d0 [ 1629.938350] ? __pick_eevdf+0x70/0x180 [ 1629.938353] schedule+0x27/0xf0 [ 1629.938357] schedule_timeout+0xcf/0x110 [ 1629.938361] __wait_for_common+0x98/0x180 [ 1629.938364] ? __pfx_schedule_timeout+0x10/0x10 [ 1629.938368] wait_for_completion+0x24/0x40 [ 1629.938370] __flush_work+0x2b6/0x400 [ 1629.938373] ? kick_pool+0x77/0x1b0 [ 1629.938377] ? __pfx_wq_barrier_func+0x10/0x10 [ 1629.938382] flush_work+0x1c/0x30 [ 1629.938384] __lru_add_drain_all+0x19f/0x2a0 [ 1629.938390] lru_add_drain_all+0x10/0x20 [ 1629.938392] migrate_device_unmap+0x433/0x480 [ 1629.938398] migrate_vma_setup+0x245/0x300 [ 1629.938403] drm_pagemap_migrate_to_devmem+0x2a8/0xc00 [drm_gpusvm_helper] [ 1629.938410] ? krealloc_node_align_noprof+0x12f/0x3a0 [ 1629.938413] ? __xe_bo_create_locked+0x376/0x840 [xe] [ 1629.938529] xe_drm_pagemap_populate_mm+0x25f/0x3a0 [xe] [ 1629.938721] drm_pagemap_populate_mm+0x74/0xe0 [drm_gpusvm_helper] [ 1629.938731] xe_svm_alloc_vram+0xad/0x270 [xe] [ 1629.938933] ? xe_tile_local_pagemap+0x41/0x170 [xe] [ 1629.939095] ? ktime_get+0x41/0x100 [ 1629.939098] __xe_svm_handle_pagefault+0xa90/0xf00 [xe] [ 1629.939279] xe_svm_handle_pagefault+0x3d/0xb0 [xe] [ 1629.939460] xe_pagefault_queue_work+0x233/0x370 [xe] [ 1629.939620] process_one_work+0x18d/0x370 [ 1629.939623] worker_thread+0x31a/0x460 [ 1629.939626] ? __pfx_worker_thread+0x10/0x10 [ 1629.939629] kthread+0x10b/0x220 [ 1629.939632] ? __pfx_kthread+0x10/0x10 [ 1629.939636] ret_from_fork+0x289/0x2c0 [ 1629.939639] ? __pfx_kthread+0x10/0x10 [ 1629.939642] ret_from_fork_asm+0x1a/0x30 [ 1629.939648] </TASK>
The worker that this thread waits on in flush_work() is, most likely, the one starved on cpu-time on cpu #139.
Thanks,
Thomas
Quoted 172 lines · Thomas Hellström
Quoted 28 lines · Balbir Singh
Quoted 27 lines · Thomas Hellström
If
hmm_range_fault()fails afolio_trylock()indo_swap_page, trying to acquire the lock of a device-private folio for migration, to ram, the function will spin until it succeeds grabbing the lock.However, if the process holding the lock is depending on a work item to be completed, which is scheduled on the same CPU as the spinning
hmm_range_fault(), that work item might be starved and we end up in a livelock / starvation situation which is never resolved.This can happen, for example if the process holding the device-private folio lock is stuck in migrate_device_unmap()->lru_add_drain_all()
Thelru_add_drain_all()function requires a short work-item to be run on all online cpus to complete.A prerequisite for this to happen is:
a) Both zone device and system memory folios are considered inmigrate_device_unmap(), so that there is a reason to calllru_add_drain_all()for a system memory folio while a folio lock is held on a zone device folio.
b) The zone device folio has an initial mapcount > 1 which causes at least one migration PTE entry insertion to be deferred totry_to_migrate(), which can happen after the call tolru_add_drain_all().
c) No or voluntary only preemption.Quoted 6 lines
Quoted 3 lines
This all seems pretty unlikely to happen, but indeed is hit by the "
xe_exec_system_allocator" igt test.Do you have a stack trace from the test? I am trying to visualize the livelock/starvation, but I can't from the description.
The spinning thread: (The backtrace varies slightly from time to time:)
[ 805.201476] watchdog: BUG: soft lockup - CPU#139 stuck for 52s! [kworker/u900:1:9985] [ 805.201477] Modules linked in: xt_conntrack nft_chain_nat
xt_MASQUERADEnf_natnf_conntracknf_defrag_ipv6nf_defrag_ipv4bridge stp llcxfrm_userxfrm_algoxt_addrtypenft_compatx_tablesnf_tablesmei_gsc_proxypmt_crashlogmtd_intel_dgmei_gscoverlay qrtrsnd_hda_codec_intelhdmisnd_hda_codec_hdmiintel_rapl_msrintel_rapl_commoncfg80211intel_uncore_frequencyintel_uncore_frequency_commonintel_ifsi10nm_edacsunrpcbinfmt_miscskx_edac_commonnfit xex86_pkg_temp_thermalintel_powerclampcoretempnls_iso8859_1kvm_intelkvmdrm_ttm_helperdrm_suballoc_helpergpu_schedsnd_hda_intelcmdlinepartdrm_gpuvmsnd_intel_dspcfgdrm_execspi_nordrm_gpusvm_helpersnd_hda_codecdrm_buddypmt_telemetrydax_hmemsnd_hwdeppmt_discoverymtd video irqbypasscxl_acpiqat_4xxxiaa_cryptosnd_hda_corepmt_classttm rapl sescxl_portsnd_pcmintel_cstateenclosurecxl_coreintel_qatisst_if_mmioisst_if_mbox_pcidrm_display_helpersnd_timersnd cec idxd crc8 einj astmei_mespi_intel_pcirc_coresoundcoreisst_if_common[ 805.201496] ipmi_ssif authenc i2c_i801 intel_vsec idxd_bus
spi_inteli2c_algo_bitmeii2c_ismti2c_smbuswmi joydevinput_ledsipmi_siacpi_power_meteracpi_ipmiipmi_devintfipmi_msghandleracpi_padmac_hidpfr_telemetrypfr_updatesch_fq_codelmsrefi_pstoredm_multipathnfnetlinkdmi_sysfsautofs4 btrfs blake2b libblake2b raid10 raid456async_raid6_recovasync_memcpyasync_pqasync_xorasync_txxorraid6_pqraid1 raid0 linearrndis_hostcdc_etherusbnet mii nvmehid_genericmpt3sas i40envme_coreusbhid ahcighash_clmulni_intelraid_classnvme_keyringscsi_transport_sashid libahcinvme_authlibie hkdflibie_adminqpinctrl_emmitsburgaesni_intel[ 805.201510] CPU: 139 UID: 0 PID: 9985 Comm: kworker/u900:1 Tainted: G S W L 6.19.0-rc7+ #18 PREEMPT(voluntary) [ 805.201512] Tainted: [S]=CPU_OUT_OF_SPEC, [W]=WARN, [L]=SOFTLOCKUP [ 805.201512] Hardware name: Supermicro SYS-421GE-TNRT/X13DEG-OA, BIOS 2.5a 02/21/2025 [ 805.201513] Workqueue: xe_page_fault_work_queue xe_pagefault_queue_work [xe] [ 805.201599] RIP: 0010:_raw_spin_unlock+0x16/0x40 [ 805.201602] Code: cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 55 48 89 e5 c6 07 00 0f 1f 00 65 ff 0d fa a6 40 01 <74> 10 5d 31 c0 31 d2 31 c9 31 f6 31 ff c3 cc cc cc cc 0f 1f 44 00 [ 805.201603] RSP: 0018:ffffd2a663a4f678 EFLAGS: 00000247 [ 805.201603] RAX: fffff85c67e35080 RBX: ffffd2a663a4f7b8 RCX: 0000000000000000 [ 805.201604] RDX: ffff8b88fdd31a00 RSI: 0000000000000000 RDI: fffff75c86ff5928 [ 805.201605] RBP: ffffd2a663a4f678 R08: 0000000000000000 R09: 0000000000000000 [ 805.201605] R10: 0000000000000000 R11: 0000000000000000 R12: 0000631d10d42000 [ 805.201606] R13: ffffd2a663a4f7b8 R14: 00000001a4ca4067 R15: 74000003ff9f8d42 [ 805.201606] FS: 0000000000000000(0000) GS:ffff8bc76202b000(0000) knlGS:0000000000000000 [ 805.201607] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 805.201608] CR2: 0000631d10c00088 CR3: 0000003de3040004 CR4: 0000000000f72ef0 [ 805.201609] PKRU: 55555554 [ 805.201609] Call Trace: [ 805.201610] <TASK> [ 805.201610] do_swap_page+0x17c6/0x1b70 [ 805.201612] ? sysvec_apic_timer_interrupt+0x57/0xc0 [ 805.201614] ? asm_sysvec_apic_timer_interrupt+0x1b/0x20 [ 805.201615] ? __pfx_default_wake_function+0x10/0x10 [ 805.201617] ? ___pte_offset_map+0x1c/0x130 [ 805.201619] __handle_mm_fault+0xa75/0x1020 [ 805.201621] handle_mm_fault+0xeb/0x2f0 [ 805.201622] ? handle_mm_fault+0x11a/0x2f0 [ 805.201623] hmm_vma_fault.isra.0+0x5b/0xb0 [ 805.201625] hmm_vma_walk_pmd+0x5c7/0xc40 [ 805.201627] ? sysvec_apic_timer_interrupt+0x57/0xc0 [ 805.201629] walk_pgd_range+0x5ba/0xbf0 [ 805.201631] __walk_page_range+0x8e/0x220 [ 805.201633] walk_page_range_mm_unsafe+0x149/0x210 [ 805.201635] walk_page_range+0x2a/0x40 [ 805.201636] hmm_range_fault+0x5c/0xb0 [ 805.201638] drm_gpusvm_range_evict+0x11a/0x1d0 [drm_gpusvm_helper] [ 805.201641] __xe_svm_handle_pagefault+0x5fa/0xf00 [xe] [ 805.201736] ? select_task_rq_fair+0x9bc/0x2970 [ 805.201738] xe_svm_handle_pagefault+0x3d/0xb0 [xe] [ 805.201827] xe_pagefault_queue_work+0x233/0x370 [xe] [ 805.201905] process_one_work+0x18d/0x370 [ 805.201907] worker_thread+0x31a/0x460 [ 805.201908] ? __pfx_worker_thread+0x10/0x10 [ 805.201909] kthread+0x10b/0x220 [ 805.201910] ? __pfx_kthread+0x10/0x10 [ 805.201912] ret_from_fork+0x289/0x2c0 [ 805.201913] ? __pfx_kthread+0x10/0x10 [ 805.201915] ret_from_fork_asm+0x1a/0x30 [ 805.201917] </TASK>The thread holding the page-lock:
[ 1629.938195] Workqueue: xe_page_fault_work_queue xe_pagefault_queue_work [xe] [ 1629.938340] Call Trace: [ 1629.938341] <TASK> [ 1629.938342] __schedule+0x47f/0x1890 [ 1629.938346] ? psi_group_change+0x1bd/0x4d0 [ 1629.938350] ? __pick_eevdf+0x70/0x180 [ 1629.938353] schedule+0x27/0xf0 [ 1629.938357] schedule_timeout+0xcf/0x110 [ 1629.938361] __wait_for_common+0x98/0x180 [ 1629.938364] ? __pfx_schedule_timeout+0x10/0x10 [ 1629.938368] wait_for_completion+0x24/0x40 [ 1629.938370] __flush_work+0x2b6/0x400 [ 1629.938373] ? kick_pool+0x77/0x1b0 [ 1629.938377] ? __pfx_wq_barrier_func+0x10/0x10 [ 1629.938382] flush_work+0x1c/0x30 [ 1629.938384] __lru_add_drain_all+0x19f/0x2a0 [ 1629.938390] lru_add_drain_all+0x10/0x20 [ 1629.938392] migrate_device_unmap+0x433/0x480 [ 1629.938398] migrate_vma_setup+0x245/0x300 [ 1629.938403] drm_pagemap_migrate_to_devmem+0x2a8/0xc00 [drm_gpusvm_helper] [ 1629.938410] ? krealloc_node_align_noprof+0x12f/0x3a0 [ 1629.938413] ? __xe_bo_create_locked+0x376/0x840 [xe] [ 1629.938529] xe_drm_pagemap_populate_mm+0x25f/0x3a0 [xe] [ 1629.938721] drm_pagemap_populate_mm+0x74/0xe0 [drm_gpusvm_helper] [ 1629.938731] xe_svm_alloc_vram+0xad/0x270 [xe] [ 1629.938933] ? xe_tile_local_pagemap+0x41/0x170 [xe] [ 1629.939095] ? ktime_get+0x41/0x100 [ 1629.939098] __xe_svm_handle_pagefault+0xa90/0xf00 [xe] [ 1629.939279] xe_svm_handle_pagefault+0x3d/0xb0 [xe] [ 1629.939460] xe_pagefault_queue_work+0x233/0x370 [xe] [ 1629.939620] process_one_work+0x18d/0x370 [ 1629.939623] worker_thread+0x31a/0x460 [ 1629.939626] ? __pfx_worker_thread+0x10/0x10 [ 1629.939629] kthread+0x10b/0x220 [ 1629.939632] ? __pfx_kthread+0x10/0x10 [ 1629.939636] ret_from_fork+0x289/0x2c0 [ 1629.939639] ? __pfx_kthread+0x10/0x10 [ 1629.939642] ret_from_fork_asm+0x1a/0x30 [ 1629.939648] </TASK>
Quoted 3 lines
The worker that this thread waits on in
flush_work()is, most likely, the one starved on cpu-time on cpu #139.
Thanks, makes sense!
Balbir
Patchwork
CI✓ CI.KUnit: success for mm: Fix a hmm_range_fault() livelock / starvation problem (rev3)
In reply to Thomas Hellström== Series Details ==
== Series Details ==
Series: mm: Fix a hmm_range_fault() livelock / starvation problem (rev3)
URL : https://patchwork.freedesktop.org/series/161081/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [11:32:09] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:32:15] 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=25 [11:32:54] Starting KUnit Kernel (1/1)... [11:32:54] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:32:54] ================== guc_buf (11 subtests) =================== [11:32:54] [PASSED] test_smallest [11:32:54] [PASSED] test_largest [11:32:54] [PASSED] test_granular [11:32:54] [PASSED] test_unique [11:32:54] [PASSED] test_overlap [11:32:54] [PASSED] test_reusable [11:32:54] [PASSED] test_too_big [11:32:54] [PASSED] test_flush [11:32:54] [PASSED] test_lookup [11:32:54] [PASSED] test_data [11:32:54] [PASSED] test_class [11:32:54] ===================== [PASSED] guc_buf ===================== [11:32:54] =================== guc_dbm (7 subtests) =================== [11:32:54] [PASSED] test_empty [11:32:54] [PASSED] test_default [11:32:54] ======================== test_size ======================== [11:32:54] [PASSED] 4 [11:32:54] [PASSED] 8 [11:32:54] [PASSED] 32 [11:32:54] [PASSED] 256 [11:32:54] ==================== [PASSED] test_size ==================== [11:32:54] ======================= test_reuse ======================== [11:32:54] [PASSED] 4 [11:32:54] [PASSED] 8 [11:32:54] [PASSED] 32 [11:32:54] [PASSED] 256 [11:32:54] =================== [PASSED] test_reuse ==================== [11:32:54] =================== test_range_overlap ==================== [11:32:54] [PASSED] 4 [11:32:54] [PASSED] 8 [11:32:54] [PASSED] 32 [11:32:54] [PASSED] 256 [11:32:54] =============== [PASSED] test_range_overlap ================ [11:32:54] =================== test_range_compact ==================== [11:32:54] [PASSED] 4 [11:32:54] [PASSED] 8 [11:32:54] [PASSED] 32 [11:32:54] [PASSED] 256 [11:32:54] =============== [PASSED] test_range_compact ================ [11:32:54] ==================== test_range_spare ===================== [11:32:54] [PASSED] 4 [11:32:54] [PASSED] 8 [11:32:54] [PASSED] 32 [11:32:54] [PASSED] 256 [11:32:54] ================ [PASSED] test_range_spare ================= [11:32:54] ===================== [PASSED] guc_dbm ===================== [11:32:54] =================== guc_idm (6 subtests) =================== [11:32:54] [PASSED] bad_init [11:32:54] [PASSED] no_init [11:32:54] [PASSED] init_fini [11:32:54] [PASSED] check_used [11:32:54] [PASSED] check_quota [11:32:54] [PASSED] check_all [11:32:54] ===================== [PASSED] guc_idm ===================== [11:32:54] ================== no_relay (3 subtests) =================== [11:32:54] [PASSED] xe_drops_guc2pf_if_not_ready [11:32:54] [PASSED] xe_drops_guc2vf_if_not_ready [11:32:54] [PASSED] xe_rejects_send_if_not_ready [11:32:54] ==================== [PASSED] no_relay ===================== [11:32:54] ================== pf_relay (14 subtests) ================== [11:32:54] [PASSED] pf_rejects_guc2pf_too_short [11:32:54] [PASSED] pf_rejects_guc2pf_too_long [11:32:54] [PASSED] pf_rejects_guc2pf_no_payload [11:32:54] [PASSED] pf_fails_no_payload [11:32:54] [PASSED] pf_fails_bad_origin [11:32:54] [PASSED] pf_fails_bad_type [11:32:54] [PASSED] pf_txn_reports_error [11:32:54] [PASSED] pf_txn_sends_pf2guc [11:32:54] [PASSED] pf_sends_pf2guc [11:32:54] [SKIPPED] pf_loopback_nop [11:32:54] [SKIPPED] pf_loopback_echo [11:32:54] [SKIPPED] pf_loopback_fail [11:32:54] [SKIPPED] pf_loopback_busy [11:32:54] [SKIPPED] pf_loopback_retry [11:32:54] ==================== [PASSED] pf_relay ===================== [11:32:54] ================== vf_relay (3 subtests) =================== [11:32:54] [PASSED] vf_rejects_guc2vf_too_short [11:32:54] [PASSED] vf_rejects_guc2vf_too_long [11:32:54] [PASSED] vf_rejects_guc2vf_no_payload [11:32:54] ==================== [PASSED] vf_relay ===================== [11:32:54] ================ pf_gt_config (6 subtests) ================= [11:32:54] [PASSED] fair_contexts_1vf [11:32:54] [PASSED] fair_doorbells_1vf [11:32:54] [PASSED] fair_ggtt_1vf [11:32:54] ====================== fair_contexts ====================== [11:32:54] [PASSED] 1 VF [11:32:54] [PASSED] 2 VFs [11:32:54] [PASSED] 3 VFs [11:32:54] [PASSED] 4 VFs [11:32:54] [PASSED] 5 VFs [11:32:54] [PASSED] 6 VFs [11:32:54] [PASSED] 7 VFs [11:32:54] [PASSED] 8 VFs [11:32:54] [PASSED] 9 VFs [11:32:54] [PASSED] 10 VFs [11:32:54] [PASSED] 11 VFs [11:32:54] [PASSED] 12 VFs [11:32:54] [PASSED] 13 VFs [11:32:54] [PASSED] 14 VFs [11:32:54] [PASSED] 15 VFs [11:32:54] [PASSED] 16 VFs [11:32:54] [PASSED] 17 VFs [11:32:54] [PASSED] 18 VFs [11:32:54] [PASSED] 19 VFs [11:32:54] [PASSED] 20 VFs [11:32:54] [PASSED] 21 VFs [11:32:54] [PASSED] 22 VFs [11:32:54] [PASSED] 23 VFs [11:32:54] [PASSED] 24 VFs [11:32:54] [PASSED] 25 VFs [11:32:54] [PASSED] 26 VFs [11:32:54] [PASSED] 27 VFs [11:32:54] [PASSED] 28 VFs [11:32:54] [PASSED] 29 VFs [11:32:54] [PASSED] 30 VFs [11:32:54] [PASSED] 31 VFs [11:32:54] [PASSED] 32 VFs [11:32:54] [PASSED] 33 VFs [11:32:54] [PASSED] 34 VFs [11:32:54] [PASSED] 35 VFs [11:32:54] [PASSED] 36 VFs [11:32:54] [PASSED] 37 VFs [11:32:54] [PASSED] 38 VFs [11:32:54] [PASSED] 39 VFs [11:32:54] [PASSED] 40 VFs [11:32:54] [PASSED] 41 VFs [11:32:54] [PASSED] 42 VFs [11:32:54] [PASSED] 43 VFs [11:32:54] [PASSED] 44 VFs [11:32:54] [PASSED] 45 VFs [11:32:54] [PASSED] 46 VFs [11:32:54] [PASSED] 47 VFs [11:32:54] [PASSED] 48 VFs [11:32:54] [PASSED] 49 VFs [11:32:54] [PASSED] 50 VFs [11:32:54] [PASSED] 51 VFs [11:32:54] [PASSED] 52 VFs [11:32:54] [PASSED] 53 VFs [11:32:54] [PASSED] 54 VFs [11:32:54] [PASSED] 55 VFs [11:32:54] [PASSED] 56 VFs [11:32:54] [PASSED] 57 VFs [11:32:54] [PASSED] 58 VFs [11:32:54] [PASSED] 59 VFs [11:32:54] [PASSED] 60 VFs [11:32:54] [PASSED] 61 VFs [11:32:54] [PASSED] 62 VFs [11:32:54] [PASSED] 63 VFs [11:32:54] ================== [PASSED] fair_contexts ================== [11:32:54] ===================== fair_doorbells ====================== [11:32:54] [PASSED] 1 VF [11:32:54] [PASSED] 2 VFs [11:32:54] [PASSED] 3 VFs [11:32:54] [PASSED] 4 VFs [11:32:54] [PASSED] 5 VFs [11:32:54] [PASSED] 6 VFs [11:32:54] [PASSED] 7 VFs [11:32:54] [PASSED] 8 VFs [11:32:54] [PASSED] 9 VFs [11:32:54] [PASSED] 10 VFs [11:32:54] [PASSED] 11 VFs [11:32:54] [PASSED] 12 VFs [11:32:54] [PASSED] 13 VFs [11:32:54] [PASSED] 14 VFs [11:32:54] [PASSED] 15 VFs [11:32:54] [PASSED] 16 VFs [11:32:54] [PASSED] 17 VFs [11:32:54] [PASSED] 18 VFs [11:32:54] [PASSED] 19 VFs [11:32:54] [PASSED] 20 VFs [11:32:54] [PASSED] 21 VFs [11:32:54] [PASSED] 22 VFs [11:32:54] [PASSED] 23 VFs [11:32:54] [PASSED] 24 VFs [11:32:54] [PASSED] 25 VFs [11:32:54] [PASSED] 26 VFs [11:32:54] [PASSED] 27 VFs [11:32:54] [PASSED] 28 VFs [11:32:54] [PASSED] 29 VFs [11:32:54] [PASSED] 30 VFs [11:32:54] [PASSED] 31 VFs [11:32:54] [PASSED] 32 VFs [11:32:54] [PASSED] 33 VFs [11:32:54] [PASSED] 34 VFs [11:32:54] [PASSED] 35 VFs [11:32:54] [PASSED] 36 VFs [11:32:54] [PASSED] 37 VFs [11:32:54] [PASSED] 38 VFs [11:32:54] [PASSED] 39 VFs [11:32:54] [PASSED] 40 VFs [11:32:54] [PASSED] 41 VFs [11:32:54] [PASSED] 42 VFs [11:32:54] [PASSED] 43 VFs [11:32:54] [PASSED] 44 VFs [11:32:54] [PASSED] 45 VFs [11:32:54] [PASSED] 46 VFs [11:32:54] [PASSED] 47 VFs [11:32:54] [PASSED] 48 VFs [11:32:54] [PASSED] 49 VFs [11:32:54] [PASSED] 50 VFs [11:32:54] [PASSED] 51 VFs [11:32:54] [PASSED] 52 VFs [11:32:54] [PASSED] 53 VFs [11:32:54] [PASSED] 54 VFs [11:32:54] [PASSED] 55 VFs [11:32:54] [PASSED] 56 VFs [11:32:54] [PASSED] 57 VFs [11:32:54] [PASSED] 58 VFs [11:32:54] [PASSED] 59 VFs [11:32:54] [PASSED] 60 VFs [11:32:54] [PASSED] 61 VFs [11:32:54] [PASSED] 62 VFs [11:32:54] [PASSED] 63 VFs [11:32:54] ================= [PASSED] fair_doorbells ================== [11:32:54] ======================== fair_ggtt ======================== [11:32:54] [PASSED] 1 VF [11:32:54] [PASSED] 2 VFs [11:32:54] [PASSED] 3 VFs [11:32:54] [PASSED] 4 VFs [11:32:54] [PASSED] 5 VFs [11:32:54] [PASSED] 6 VFs [11:32:54] [PASSED] 7 VFs [11:32:54] [PASSED] 8 VFs [11:32:54] [PASSED] 9 VFs [11:32:54] [PASSED] 10 VFs [11:32:54] [PASSED] 11 VFs [11:32:54] [PASSED] 12 VFs [11:32:54] [PASSED] 13 VFs [11:32:54] [PASSED] 14 VFs [11:32:54] [PASSED] 15 VFs [11:32:54] [PASSED] 16 VFs [11:32:54] [PASSED] 17 VFs [11:32:54] [PASSED] 18 VFs [11:32:54] [PASSED] 19 VFs [11:32:54] [PASSED] 20 VFs [11:32:54] [PASSED] 21 VFs [11:32:54] [PASSED] 22 VFs [11:32:54] [PASSED] 23 VFs [11:32:54] [PASSED] 24 VFs [11:32:54] [PASSED] 25 VFs [11:32:54] [PASSED] 26 VFs [11:32:54] [PASSED] 27 VFs [11:32:54] [PASSED] 28 VFs [11:32:54] [PASSED] 29 VFs [11:32:54] [PASSED] 30 VFs [11:32:54] [PASSED] 31 VFs [11:32:54] [PASSED] 32 VFs [11:32:54] [PASSED] 33 VFs [11:32:54] [PASSED] 34 VFs [11:32:54] [PASSED] 35 VFs [11:32:54] [PASSED] 36 VFs [11:32:54] [PASSED] 37 VFs [11:32:54] [PASSED] 38 VFs [11:32:54] [PASSED] 39 VFs [11:32:54] [PASSED] 40 VFs [11:32:54] [PASSED] 41 VFs [11:32:54] [PASSED] 42 VFs [11:32:54] [PASSED] 43 VFs [11:32:54] [PASSED] 44 VFs [11:32:54] [PASSED] 45 VFs [11:32:54] [PASSED] 46 VFs [11:32:54] [PASSED] 47 VFs [11:32:54] [PASSED] 48 VFs [11:32:54] [PASSED] 49 VFs [11:32:54] [PASSED] 50 VFs [11:32:54] [PASSED] 51 VFs [11:32:54] [PASSED] 52 VFs [11:32:54] [PASSED] 53 VFs [11:32:54] [PASSED] 54 VFs [11:32:54] [PASSED] 55 VFs [11:32:54] [PASSED] 56 VFs [11:32:54] [PASSED] 57 VFs [11:32:54] [PASSED] 58 VFs [11:32:54] [PASSED] 59 VFs [11:32:54] [PASSED] 60 VFs [11:32:54] [PASSED] 61 VFs [11:32:54] [PASSED] 62 VFs [11:32:54] [PASSED] 63 VFs [11:32:54] ==================== [PASSED] fair_ggtt ==================== [11:32:54] ================== [PASSED] pf_gt_config =================== [11:32:54] ===================== lmtt (1 subtest) ===================== [11:32:54] ======================== test_ops ========================= [11:32:54] [PASSED] 2-level [11:32:54] [PASSED] multi-level [11:32:54] ==================== [PASSED] test_ops ===================== [11:32:54] ====================== [PASSED] lmtt ======================= [11:32:54] ================= pf_service (11 subtests) ================= [11:32:54] [PASSED] pf_negotiate_any [11:32:54] [PASSED] pf_negotiate_base_match [11:32:54] [PASSED] pf_negotiate_base_newer [11:32:54] [PASSED] pf_negotiate_base_next [11:32:54] [SKIPPED] pf_negotiate_base_older [11:32:54] [PASSED] pf_negotiate_base_prev [11:32:54] [PASSED] pf_negotiate_latest_match [11:32:54] [PASSED] pf_negotiate_latest_newer [11:32:54] [PASSED] pf_negotiate_latest_next [11:32:54] [SKIPPED] pf_negotiate_latest_older [11:32:54] [SKIPPED] pf_negotiate_latest_prev [11:32:54] =================== [PASSED] pf_service ==================== [11:32:54] ================= xe_guc_g2g (2 subtests) ================== [11:32:54] ============== xe_live_guc_g2g_kunit_default ============== [11:32:54] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [11:32:54] ============== xe_live_guc_g2g_kunit_allmem =============== [11:32:54] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [11:32:54] =================== [SKIPPED] xe_guc_g2g =================== [11:32:54] =================== xe_mocs (2 subtests) =================== [11:32:54] ================ xe_live_mocs_kernel_kunit ================ [11:32:54] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [11:32:54] ================ xe_live_mocs_reset_kunit ================= [11:32:54] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [11:32:54] ==================== [SKIPPED] xe_mocs ===================== [11:32:54] ================= xe_migrate (2 subtests) ================== [11:32:54] ================= xe_migrate_sanity_kunit ================= [11:32:54] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [11:32:54] ================== xe_validate_ccs_kunit ================== [11:32:54] ============= [SKIPPED] xe_validate_ccs_kunit ============== [11:32:54] =================== [SKIPPED] xe_migrate =================== [11:32:54] ================== xe_dma_buf (1 subtest) ================== [11:32:54] ==================== xe_dma_buf_kunit ===================== [11:32:54] ================ [SKIPPED] xe_dma_buf_kunit ================ [11:32:54] =================== [SKIPPED] xe_dma_buf =================== [11:32:54] ================= xe_bo_shrink (1 subtest) ================= [11:32:54] =================== xe_bo_shrink_kunit ==================== [11:32:54] =============== [SKIPPED] xe_bo_shrink_kunit =============== [11:32:54] ================== [SKIPPED] xe_bo_shrink ================== [11:32:54] ==================== xe_bo (2 subtests) ==================== [11:32:54] ================== xe_ccs_migrate_kunit =================== [11:32:54] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [11:32:54] ==================== xe_bo_evict_kunit ==================== [11:32:54] =============== [SKIPPED] xe_bo_evict_kunit ================ [11:32:54] ===================== [SKIPPED] xe_bo ====================== [11:32:54] ==================== args (13 subtests) ==================== [11:32:54] [PASSED] count_args_test [11:32:54] [PASSED] call_args_example [11:32:54] [PASSED] call_args_test [11:32:54] [PASSED] drop_first_arg_example [11:32:54] [PASSED] drop_first_arg_test [11:32:54] [PASSED] first_arg_example [11:32:54] [PASSED] first_arg_test [11:32:54] [PASSED] last_arg_example [11:32:54] [PASSED] last_arg_test [11:32:54] [PASSED] pick_arg_example [11:32:54] [PASSED] if_args_example [11:32:54] [PASSED] if_args_test [11:32:54] [PASSED] sep_comma_example [11:32:54] ====================== [PASSED] args ======================= [11:32:54] =================== xe_pci (3 subtests) ==================== [11:32:54] ==================== check_graphics_ip ==================== [11:32:54] [PASSED] 12.00 Xe_LP [11:32:54] [PASSED] 12.10 Xe_LP+ [11:32:54] [PASSED] 12.55 Xe_HPG [11:32:54] [PASSED] 12.60 Xe_HPC [11:32:54] [PASSED] 12.70 Xe_LPG [11:32:54] [PASSED] 12.71 Xe_LPG [11:32:54] [PASSED] 12.74 Xe_LPG+ [11:32:54] [PASSED] 20.01 Xe2_HPG [11:32:54] [PASSED] 20.02 Xe2_HPG [11:32:54] [PASSED] 20.04 Xe2_LPG [11:32:54] [PASSED] 30.00 Xe3_LPG [11:32:54] [PASSED] 30.01 Xe3_LPG [11:32:54] [PASSED] 30.03 Xe3_LPG [11:32:54] [PASSED] 30.04 Xe3_LPG [11:32:54] [PASSED] 30.05 Xe3_LPG [11:32:54] [PASSED] 35.11 Xe3p_XPC [11:32:54] ================ [PASSED] check_graphics_ip ================ [11:32:54] ===================== check_media_ip ====================== [11:32:54] [PASSED] 12.00 Xe_M [11:32:54] [PASSED] 12.55 Xe_HPM [11:32:54] [PASSED] 13.00 Xe_LPM+ [11:32:54] [PASSED] 13.01 Xe2_HPM [11:32:54] [PASSED] 20.00 Xe2_LPM [11:32:54] [PASSED] 30.00 Xe3_LPM [11:32:54] [PASSED] 30.02 Xe3_LPM [11:32:54] [PASSED] 35.00 Xe3p_LPM [11:32:54] [PASSED] 35.03 Xe3p_HPM [11:32:54] ================= [PASSED] check_media_ip ================== [11:32:54] =================== check_platform_desc =================== [11:32:54] [PASSED] 0x9A60 (TIGERLAKE) [11:32:54] [PASSED] 0x9A68 (TIGERLAKE) [11:32:54] [PASSED] 0x9A70 (TIGERLAKE) [11:32:54] [PASSED] 0x9A40 (TIGERLAKE) [11:32:54] [PASSED] 0x9A49 (TIGERLAKE) [11:32:54] [PASSED] 0x9A59 (TIGERLAKE) [11:32:54] [PASSED] 0x9A78 (TIGERLAKE) [11:32:54] [PASSED] 0x9AC0 (TIGERLAKE) [11:32:54] [PASSED] 0x9AC9 (TIGERLAKE) [11:32:54] [PASSED] 0x9AD9 (TIGERLAKE) [11:32:54] [PASSED] 0x9AF8 (TIGERLAKE) [11:32:54] [PASSED] 0x4C80 (ROCKETLAKE) [11:32:54] [PASSED] 0x4C8A (ROCKETLAKE) [11:32:54] [PASSED] 0x4C8B (ROCKETLAKE) [11:32:54] [PASSED] 0x4C8C (ROCKETLAKE) [11:32:54] [PASSED] 0x4C90 (ROCKETLAKE) [11:32:54] [PASSED] 0x4C9A (ROCKETLAKE) [11:32:54] [PASSED] 0x4680 (ALDERLAKE_S) [11:32:54] [PASSED] 0x4682 (ALDERLAKE_S) [11:32:54] [PASSED] 0x4688 (ALDERLAKE_S) [11:32:54] [PASSED] 0x468A (ALDERLAKE_S) [11:32:54] [PASSED] 0x468B (ALDERLAKE_S) [11:32:54] [PASSED] 0x4690 (ALDERLAKE_S) [11:32:54] [PASSED] 0x4692 (ALDERLAKE_S) [11:32:54] [PASSED] 0x4693 (ALDERLAKE_S) [11:32:54] [PASSED] 0x46A0 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46A1 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46A2 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46A3 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46A6 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46A8 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46AA (ALDERLAKE_P) [11:32:54] [PASSED] 0x462A (ALDERLAKE_P) [11:32:54] [PASSED] 0x4626 (ALDERLAKE_P) [11:32:54] [PASSED] 0x4628 (ALDERLAKE_P) stty: 'standard input': Inappropriate ioctl for device [11:32:54] [PASSED] 0x46B0 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46B1 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46B2 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46B3 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46C0 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46C1 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46C2 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46C3 (ALDERLAKE_P) [11:32:54] [PASSED] 0x46D0 (ALDERLAKE_N) [11:32:54] [PASSED] 0x46D1 (ALDERLAKE_N) [11:32:54] [PASSED] 0x46D2 (ALDERLAKE_N) [11:32:54] [PASSED] 0x46D3 (ALDERLAKE_N) [11:32:54] [PASSED] 0x46D4 (ALDERLAKE_N) [11:32:54] [PASSED] 0xA721 (ALDERLAKE_P) [11:32:54] [PASSED] 0xA7A1 (ALDERLAKE_P) [11:32:54] [PASSED] 0xA7A9 (ALDERLAKE_P) [11:32:54] [PASSED] 0xA7AC (ALDERLAKE_P) [11:32:54] [PASSED] 0xA7AD (ALDERLAKE_P) [11:32:54] [PASSED] 0xA720 (ALDERLAKE_P) [11:32:54] [PASSED] 0xA7A0 (ALDERLAKE_P) [11:32:54] [PASSED] 0xA7A8 (ALDERLAKE_P) [11:32:54] [PASSED] 0xA7AA (ALDERLAKE_P) [11:32:54] [PASSED] 0xA7AB (ALDERLAKE_P) [11:32:54] [PASSED] 0xA780 (ALDERLAKE_S) [11:32:54] [PASSED] 0xA781 (ALDERLAKE_S) [11:32:54] [PASSED] 0xA782 (ALDERLAKE_S) [11:32:54] [PASSED] 0xA783 (ALDERLAKE_S) [11:32:54] [PASSED] 0xA788 (ALDERLAKE_S) [11:32:54] [PASSED] 0xA789 (ALDERLAKE_S) [11:32:54] [PASSED] 0xA78A (ALDERLAKE_S) [11:32:54] [PASSED] 0xA78B (ALDERLAKE_S) [11:32:54] [PASSED] 0x4905 (DG1) [11:32:54] [PASSED] 0x4906 (DG1) [11:32:54] [PASSED] 0x4907 (DG1) [11:32:54] [PASSED] 0x4908 (DG1) [11:32:54] [PASSED] 0x4909 (DG1) [11:32:54] [PASSED] 0x56C0 (DG2) [11:32:54] [PASSED] 0x56C2 (DG2) [11:32:54] [PASSED] 0x56C1 (DG2) [11:32:54] [PASSED] 0x7D51 (METEORLAKE) [11:32:54] [PASSED] 0x7DD1 (METEORLAKE) [11:32:54] [PASSED] 0x7D41 (METEORLAKE) [11:32:54] [PASSED] 0x7D67 (METEORLAKE) [11:32:54] [PASSED] 0xB640 (METEORLAKE) [11:32:54] [PASSED] 0x56A0 (DG2) [11:32:54] [PASSED] 0x56A1 (DG2) [11:32:54] [PASSED] 0x56A2 (DG2) [11:32:54] [PASSED] 0x56BE (DG2) [11:32:54] [PASSED] 0x56BF (DG2) [11:32:54] [PASSED] 0x5690 (DG2) [11:32:54] [PASSED] 0x5691 (DG2) [11:32:54] [PASSED] 0x5692 (DG2) [11:32:54] [PASSED] 0x56A5 (DG2) [11:32:54] [PASSED] 0x56A6 (DG2) [11:32:54] [PASSED] 0x56B0 (DG2) [11:32:54] [PASSED] 0x56B1 (DG2) [11:32:54] [PASSED] 0x56BA (DG2) [11:32:54] [PASSED] 0x56BB (DG2) [11:32:54] [PASSED] 0x56BC (DG2) [11:32:54] [PASSED] 0x56BD (DG2) [11:32:54] [PASSED] 0x5693 (DG2) [11:32:54] [PASSED] 0x5694 (DG2) [11:32:54] [PASSED] 0x5695 (DG2) [11:32:54] [PASSED] 0x56A3 (DG2) [11:32:54] [PASSED] 0x56A4 (DG2) [11:32:54] [PASSED] 0x56B2 (DG2) [11:32:54] [PASSED] 0x56B3 (DG2) [11:32:54] [PASSED] 0x5696 (DG2) [11:32:54] [PASSED] 0x5697 (DG2) [11:32:54] [PASSED] 0xB69 (PVC) [11:32:54] [PASSED] 0xB6E (PVC) [11:32:54] [PASSED] 0xBD4 (PVC) [11:32:54] [PASSED] 0xBD5 (PVC) [11:32:54] [PASSED] 0xBD6 (PVC) [11:32:54] [PASSED] 0xBD7 (PVC) [11:32:54] [PASSED] 0xBD8 (PVC) [11:32:54] [PASSED] 0xBD9 (PVC) [11:32:54] [PASSED] 0xBDA (PVC) [11:32:54] [PASSED] 0xBDB (PVC) [11:32:54] [PASSED] 0xBE0 (PVC) [11:32:54] [PASSED] 0xBE1 (PVC) [11:32:54] [PASSED] 0xBE5 (PVC) [11:32:54] [PASSED] 0x7D40 (METEORLAKE) [11:32:54] [PASSED] 0x7D45 (METEORLAKE) [11:32:54] [PASSED] 0x7D55 (METEORLAKE) [11:32:54] [PASSED] 0x7D60 (METEORLAKE) [11:32:54] [PASSED] 0x7DD5 (METEORLAKE) [11:32:54] [PASSED] 0x6420 (LUNARLAKE) [11:32:54] [PASSED] 0x64A0 (LUNARLAKE) [11:32:54] [PASSED] 0x64B0 (LUNARLAKE) [11:32:54] [PASSED] 0xE202 (BATTLEMAGE) [11:32:54] [PASSED] 0xE209 (BATTLEMAGE) [11:32:54] [PASSED] 0xE20B (BATTLEMAGE) [11:32:54] [PASSED] 0xE20C (BATTLEMAGE) [11:32:54] [PASSED] 0xE20D (BATTLEMAGE) [11:32:54] [PASSED] 0xE210 (BATTLEMAGE) [11:32:54] [PASSED] 0xE211 (BATTLEMAGE) [11:32:54] [PASSED] 0xE212 (BATTLEMAGE) [11:32:54] [PASSED] 0xE216 (BATTLEMAGE) [11:32:54] [PASSED] 0xE220 (BATTLEMAGE) [11:32:54] [PASSED] 0xE221 (BATTLEMAGE) [11:32:54] [PASSED] 0xE222 (BATTLEMAGE) [11:32:54] [PASSED] 0xE223 (BATTLEMAGE) [11:32:54] [PASSED] 0xB080 (PANTHERLAKE) [11:32:54] [PASSED] 0xB081 (PANTHERLAKE) [11:32:54] [PASSED] 0xB082 (PANTHERLAKE) [11:32:54] [PASSED] 0xB083 (PANTHERLAKE) [11:32:54] [PASSED] 0xB084 (PANTHERLAKE) [11:32:54] [PASSED] 0xB085 (PANTHERLAKE) [11:32:54] [PASSED] 0xB086 (PANTHERLAKE) [11:32:54] [PASSED] 0xB087 (PANTHERLAKE) [11:32:54] [PASSED] 0xB08F (PANTHERLAKE) [11:32:54] [PASSED] 0xB090 (PANTHERLAKE) [11:32:54] [PASSED] 0xB0A0 (PANTHERLAKE) [11:32:54] [PASSED] 0xB0B0 (PANTHERLAKE) [11:32:54] [PASSED] 0xFD80 (PANTHERLAKE) [11:32:54] [PASSED] 0xFD81 (PANTHERLAKE) [11:32:54] [PASSED] 0xD740 (NOVALAKE_S) [11:32:54] [PASSED] 0xD741 (NOVALAKE_S) [11:32:54] [PASSED] 0xD742 (NOVALAKE_S) [11:32:54] [PASSED] 0xD743 (NOVALAKE_S) [11:32:54] [PASSED] 0xD744 (NOVALAKE_S) [11:32:54] [PASSED] 0xD745 (NOVALAKE_S) [11:32:54] [PASSED] 0x674C (CRESCENTISLAND) [11:32:54] =============== [PASSED] check_platform_desc =============== [11:32:54] ===================== [PASSED] xe_pci ====================== [11:32:54] =================== xe_rtp (2 subtests) ==================== [11:32:54] =============== xe_rtp_process_to_sr_tests ================ [11:32:54] [PASSED] coalesce-same-reg [11:32:54] [PASSED] no-match-no-add [11:32:54] [PASSED] match-or [11:32:54] [PASSED] match-or-xfail [11:32:54] [PASSED] no-match-no-add-multiple-rules [11:32:54] [PASSED] two-regs-two-entries [11:32:54] [PASSED] clr-one-set-other [11:32:54] [PASSED] set-field [11:32:54] [PASSED] conflict-duplicate [11:32:54] [PASSED] conflict-not-disjoint [11:32:54] [PASSED] conflict-reg-type [11:32:54] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [11:32:54] ================== xe_rtp_process_tests =================== [11:32:54] [PASSED] active1 [11:32:54] [PASSED] active2 [11:32:54] [PASSED] active-inactive [11:32:54] [PASSED] inactive-active [11:32:54] [PASSED] inactive-1st_or_active-inactive [11:32:54] [PASSED] inactive-2nd_or_active-inactive [11:32:54] [PASSED] inactive-last_or_active-inactive [11:32:54] [PASSED] inactive-no_or_active-inactive [11:32:54] ============== [PASSED] xe_rtp_process_tests =============== [11:32:54] ===================== [PASSED] xe_rtp ====================== [11:32:54] ==================== xe_wa (1 subtest) ===================== [11:32:54] ======================== xe_wa_gt ========================= [11:32:54] [PASSED] TIGERLAKE B0 [11:32:54] [PASSED] DG1 A0 [11:32:54] [PASSED] DG1 B0 [11:32:54] [PASSED] ALDERLAKE_S A0 [11:32:54] [PASSED] ALDERLAKE_S B0 [11:32:54] [PASSED] ALDERLAKE_S C0 [11:32:54] [PASSED] ALDERLAKE_S D0 [11:32:54] [PASSED] ALDERLAKE_P A0 [11:32:54] [PASSED] ALDERLAKE_P B0 [11:32:54] [PASSED] ALDERLAKE_P C0 [11:32:54] [PASSED] ALDERLAKE_S RPLS D0 [11:32:54] [PASSED] ALDERLAKE_P RPLU E0 [11:32:54] [PASSED] DG2 G10 C0 [11:32:54] [PASSED] DG2 G11 B1 [11:32:54] [PASSED] DG2 G12 A1 [11:32:54] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [11:32:54] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [11:32:54] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [11:32:54] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [11:32:54] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [11:32:54] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [11:32:54] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [11:32:54] ==================== [PASSED] xe_wa_gt ===================== [11:32:54] ====================== [PASSED] xe_wa ====================== [11:32:54] ============================================================ [11:32:54] Testing complete. Ran 512 tests: passed: 494, skipped: 18 [11:32:54] Elapsed time: 45.157s total, 5.673s configuring, 38.967s building, 0.487s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [11:32:54] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:32:56] 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=25 [11:33:26] Starting KUnit Kernel (1/1)... [11:33:26] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:33:26] ============ drm_test_pick_cmdline (2 subtests) ============ [11:33:26] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [11:33:26] =============== drm_test_pick_cmdline_named =============== [11:33:26] [PASSED] NTSC [11:33:26] [PASSED] NTSC-J [11:33:26] [PASSED] PAL [11:33:26] [PASSED] PAL-M [11:33:26] =========== [PASSED] drm_test_pick_cmdline_named =========== [11:33:26] ============== [PASSED] drm_test_pick_cmdline ============== [11:33:26] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [11:33:26] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [11:33:26] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [11:33:26] =========== drm_validate_clone_mode (2 subtests) =========== [11:33:26] ============== drm_test_check_in_clone_mode =============== [11:33:26] [PASSED] in_clone_mode [11:33:26] [PASSED] not_in_clone_mode [11:33:26] ========== [PASSED] drm_test_check_in_clone_mode =========== [11:33:26] =============== drm_test_check_valid_clones =============== [11:33:26] [PASSED] not_in_clone_mode [11:33:26] [PASSED] valid_clone [11:33:26] [PASSED] invalid_clone [11:33:26] =========== [PASSED] drm_test_check_valid_clones =========== [11:33:26] ============= [PASSED] drm_validate_clone_mode ============= [11:33:26] ============= drm_validate_modeset (1 subtest) ============= [11:33:26] [PASSED] drm_test_check_connector_changed_modeset [11:33:26] ============== [PASSED] drm_validate_modeset =============== [11:33:26] ====== drm_test_bridge_get_current_state (2 subtests) ====== [11:33:26] [PASSED] drm_test_drm_bridge_get_current_state_atomic [11:33:26] [PASSED] drm_test_drm_bridge_get_current_state_legacy [11:33:26] ======== [PASSED] drm_test_bridge_get_current_state ======== [11:33:26] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [11:33:26] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [11:33:26] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [11:33:26] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [11:33:26] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [11:33:26] ============== drm_bridge_alloc (2 subtests) =============== [11:33:26] [PASSED] drm_test_drm_bridge_alloc_basic [11:33:26] [PASSED] drm_test_drm_bridge_alloc_get_put [11:33:26] ================ [PASSED] drm_bridge_alloc ================= [11:33:26] ================== drm_buddy (9 subtests) ================== [11:33:26] [PASSED] drm_test_buddy_alloc_limit [11:33:26] [PASSED] drm_test_buddy_alloc_optimistic [11:33:26] [PASSED] drm_test_buddy_alloc_pessimistic [11:33:26] [PASSED] drm_test_buddy_alloc_pathological [11:33:26] [PASSED] drm_test_buddy_alloc_contiguous [11:33:26] [PASSED] drm_test_buddy_alloc_clear [11:33:27] [PASSED] drm_test_buddy_alloc_range_bias [11:33:27] [PASSED] drm_test_buddy_fragmentation_performance [11:33:27] [PASSED] drm_test_buddy_alloc_exceeds_max_order [11:33:27] ==================== [PASSED] drm_buddy ==================== [11:33:27] ============= drm_cmdline_parser (40 subtests) ============= [11:33:27] [PASSED] drm_test_cmdline_force_d_only [11:33:27] [PASSED] drm_test_cmdline_force_D_only_dvi [11:33:27] [PASSED] drm_test_cmdline_force_D_only_hdmi [11:33:27] [PASSED] drm_test_cmdline_force_D_only_not_digital [11:33:27] [PASSED] drm_test_cmdline_force_e_only [11:33:27] [PASSED] drm_test_cmdline_res [11:33:27] [PASSED] drm_test_cmdline_res_vesa [11:33:27] [PASSED] drm_test_cmdline_res_vesa_rblank [11:33:27] [PASSED] drm_test_cmdline_res_rblank [11:33:27] [PASSED] drm_test_cmdline_res_bpp [11:33:27] [PASSED] drm_test_cmdline_res_refresh [11:33:27] [PASSED] drm_test_cmdline_res_bpp_refresh [11:33:27] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [11:33:27] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [11:33:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [11:33:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [11:33:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [11:33:27] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [11:33:27] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [11:33:27] [PASSED] drm_test_cmdline_res_margins_force_on [11:33:27] [PASSED] drm_test_cmdline_res_vesa_margins [11:33:27] [PASSED] drm_test_cmdline_name [11:33:27] [PASSED] drm_test_cmdline_name_bpp [11:33:27] [PASSED] drm_test_cmdline_name_option [11:33:27] [PASSED] drm_test_cmdline_name_bpp_option [11:33:27] [PASSED] drm_test_cmdline_rotate_0 [11:33:27] [PASSED] drm_test_cmdline_rotate_90 [11:33:27] [PASSED] drm_test_cmdline_rotate_180 [11:33:27] [PASSED] drm_test_cmdline_rotate_270 [11:33:27] [PASSED] drm_test_cmdline_hmirror [11:33:27] [PASSED] drm_test_cmdline_vmirror [11:33:27] [PASSED] drm_test_cmdline_margin_options [11:33:27] [PASSED] drm_test_cmdline_multiple_options [11:33:27] [PASSED] drm_test_cmdline_bpp_extra_and_option [11:33:27] [PASSED] drm_test_cmdline_extra_and_option [11:33:27] [PASSED] drm_test_cmdline_freestanding_options [11:33:27] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [11:33:27] [PASSED] drm_test_cmdline_panel_orientation [11:33:27] ================ drm_test_cmdline_invalid ================= [11:33:27] [PASSED] margin_only [11:33:27] [PASSED] interlace_only [11:33:27] [PASSED] res_missing_x [11:33:27] [PASSED] res_missing_y [11:33:27] [PASSED] res_bad_y [11:33:27] [PASSED] res_missing_y_bpp [11:33:27] [PASSED] res_bad_bpp [11:33:27] [PASSED] res_bad_refresh [11:33:27] [PASSED] res_bpp_refresh_force_on_off [11:33:27] [PASSED] res_invalid_mode [11:33:27] [PASSED] res_bpp_wrong_place_mode [11:33:27] [PASSED] name_bpp_refresh [11:33:27] [PASSED] name_refresh [11:33:27] [PASSED] name_refresh_wrong_mode [11:33:27] [PASSED] name_refresh_invalid_mode [11:33:27] [PASSED] rotate_multiple [11:33:27] [PASSED] rotate_invalid_val [11:33:27] [PASSED] rotate_truncated [11:33:27] [PASSED] invalid_option [11:33:27] [PASSED] invalid_tv_option [11:33:27] [PASSED] truncated_tv_option [11:33:27] ============ [PASSED] drm_test_cmdline_invalid ============= [11:33:27] =============== drm_test_cmdline_tv_options =============== [11:33:27] [PASSED] NTSC [11:33:27] [PASSED] NTSC_443 [11:33:27] [PASSED] NTSC_J [11:33:27] [PASSED] PAL [11:33:27] [PASSED] PAL_M [11:33:27] [PASSED] PAL_N [11:33:27] [PASSED] SECAM [11:33:27] [PASSED] MONO_525 [11:33:27] [PASSED] MONO_625 [11:33:27] =========== [PASSED] drm_test_cmdline_tv_options =========== [11:33:27] =============== [PASSED] drm_cmdline_parser ================ [11:33:27] ========== drmm_connector_hdmi_init (20 subtests) ========== [11:33:27] [PASSED] drm_test_connector_hdmi_init_valid [11:33:27] [PASSED] drm_test_connector_hdmi_init_bpc_8 [11:33:27] [PASSED] drm_test_connector_hdmi_init_bpc_10 [11:33:27] [PASSED] drm_test_connector_hdmi_init_bpc_12 [11:33:27] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [11:33:27] [PASSED] drm_test_connector_hdmi_init_bpc_null [11:33:27] [PASSED] drm_test_connector_hdmi_init_formats_empty [11:33:27] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [11:33:27] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [11:33:27] [PASSED] supported_formats=0x9 yuv420_allowed=1 [11:33:27] [PASSED] supported_formats=0x9 yuv420_allowed=0 [11:33:27] [PASSED] supported_formats=0x3 yuv420_allowed=1 [11:33:27] [PASSED] supported_formats=0x3 yuv420_allowed=0 [11:33:27] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [11:33:27] [PASSED] drm_test_connector_hdmi_init_null_ddc [11:33:27] [PASSED] drm_test_connector_hdmi_init_null_product [11:33:27] [PASSED] drm_test_connector_hdmi_init_null_vendor [11:33:27] [PASSED] drm_test_connector_hdmi_init_product_length_exact [11:33:27] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [11:33:27] [PASSED] drm_test_connector_hdmi_init_product_valid [11:33:27] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [11:33:27] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [11:33:27] [PASSED] drm_test_connector_hdmi_init_vendor_valid [11:33:27] ========= drm_test_connector_hdmi_init_type_valid ========= [11:33:27] [PASSED] HDMI-A [11:33:27] [PASSED] HDMI-B [11:33:27] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [11:33:27] ======== drm_test_connector_hdmi_init_type_invalid ======== [11:33:27] [PASSED] Unknown [11:33:27] [PASSED] VGA [11:33:27] [PASSED] DVI-I [11:33:27] [PASSED] DVI-D [11:33:27] [PASSED] DVI-A [11:33:27] [PASSED] Composite [11:33:27] [PASSED] SVIDEO [11:33:27] [PASSED] LVDS [11:33:27] [PASSED] Component [11:33:27] [PASSED] DIN [11:33:27] [PASSED] DP [11:33:27] [PASSED] TV [11:33:27] [PASSED] eDP [11:33:27] [PASSED] Virtual [11:33:27] [PASSED] DSI [11:33:27] [PASSED] DPI [11:33:27] [PASSED] Writeback [11:33:27] [PASSED] SPI [11:33:27] [PASSED] USB [11:33:27] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [11:33:27] ============ [PASSED] drmm_connector_hdmi_init ============= [11:33:27] ============= drmm_connector_init (3 subtests) ============= [11:33:27] [PASSED] drm_test_drmm_connector_init [11:33:27] [PASSED] drm_test_drmm_connector_init_null_ddc [11:33:27] ========= drm_test_drmm_connector_init_type_valid ========= [11:33:27] [PASSED] Unknown [11:33:27] [PASSED] VGA [11:33:27] [PASSED] DVI-I [11:33:27] [PASSED] DVI-D [11:33:27] [PASSED] DVI-A [11:33:27] [PASSED] Composite [11:33:27] [PASSED] SVIDEO [11:33:27] [PASSED] LVDS [11:33:27] [PASSED] Component [11:33:27] [PASSED] DIN [11:33:27] [PASSED] DP [11:33:27] [PASSED] HDMI-A [11:33:27] [PASSED] HDMI-B [11:33:27] [PASSED] TV [11:33:27] [PASSED] eDP [11:33:27] [PASSED] Virtual [11:33:27] [PASSED] DSI [11:33:27] [PASSED] DPI [11:33:27] [PASSED] Writeback [11:33:27] [PASSED] SPI [11:33:27] [PASSED] USB [11:33:27] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [11:33:27] =============== [PASSED] drmm_connector_init =============== [11:33:27] ========= drm_connector_dynamic_init (6 subtests) ========== [11:33:27] [PASSED] drm_test_drm_connector_dynamic_init [11:33:27] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [11:33:27] [PASSED] drm_test_drm_connector_dynamic_init_not_added [11:33:27] [PASSED] drm_test_drm_connector_dynamic_init_properties [11:33:27] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [11:33:27] [PASSED] Unknown [11:33:27] [PASSED] VGA [11:33:27] [PASSED] DVI-I [11:33:27] [PASSED] DVI-D [11:33:27] [PASSED] DVI-A [11:33:27] [PASSED] Composite [11:33:27] [PASSED] SVIDEO [11:33:27] [PASSED] LVDS [11:33:27] [PASSED] Component [11:33:27] [PASSED] DIN [11:33:27] [PASSED] DP [11:33:27] [PASSED] HDMI-A [11:33:27] [PASSED] HDMI-B [11:33:27] [PASSED] TV [11:33:27] [PASSED] eDP [11:33:27] [PASSED] Virtual [11:33:27] [PASSED] DSI [11:33:27] [PASSED] DPI [11:33:27] [PASSED] Writeback [11:33:27] [PASSED] SPI [11:33:27] [PASSED] USB [11:33:27] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [11:33:27] ======== drm_test_drm_connector_dynamic_init_name ========= [11:33:27] [PASSED] Unknown [11:33:27] [PASSED] VGA [11:33:27] [PASSED] DVI-I [11:33:27] [PASSED] DVI-D [11:33:27] [PASSED] DVI-A [11:33:27] [PASSED] Composite [11:33:27] [PASSED] SVIDEO [11:33:27] [PASSED] LVDS [11:33:27] [PASSED] Component [11:33:27] [PASSED] DIN [11:33:27] [PASSED] DP [11:33:27] [PASSED] HDMI-A [11:33:27] [PASSED] HDMI-B [11:33:27] [PASSED] TV [11:33:27] [PASSED] eDP [11:33:27] [PASSED] Virtual [11:33:27] [PASSED] DSI [11:33:27] [PASSED] DPI [11:33:27] [PASSED] Writeback [11:33:27] [PASSED] SPI [11:33:27] [PASSED] USB [11:33:27] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [11:33:27] =========== [PASSED] drm_connector_dynamic_init ============ [11:33:27] ==== drm_connector_dynamic_register_early (4 subtests) ===== [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [11:33:27] ====== [PASSED] drm_connector_dynamic_register_early ======= [11:33:27] ======= drm_connector_dynamic_register (7 subtests) ======== [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_on_list [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_no_init [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [11:33:27] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [11:33:27] ========= [PASSED] drm_connector_dynamic_register ========== [11:33:27] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [11:33:27] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [11:33:27] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [11:33:27] === [PASSED] drm_connector_attach_broadcast_rgb_property === [11:33:27] ========== drm_get_tv_mode_from_name (2 subtests) ========== [11:33:27] ========== drm_test_get_tv_mode_from_name_valid =========== [11:33:27] [PASSED] NTSC [11:33:27] [PASSED] NTSC-443 [11:33:27] [PASSED] NTSC-J [11:33:27] [PASSED] PAL [11:33:27] [PASSED] PAL-M [11:33:27] [PASSED] PAL-N [11:33:27] [PASSED] SECAM [11:33:27] [PASSED] Mono [11:33:27] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [11:33:27] [PASSED] drm_test_get_tv_mode_from_name_truncated [11:33:27] ============ [PASSED] drm_get_tv_mode_from_name ============ [11:33:27] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [11:33:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [11:33:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [11:33:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [11:33:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [11:33:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [11:33:27] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [11:33:27] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [11:33:27] [PASSED] VIC 96 [11:33:27] [PASSED] VIC 97 [11:33:27] [PASSED] VIC 101 [11:33:27] [PASSED] VIC 102 [11:33:27] [PASSED] VIC 106 [11:33:27] [PASSED] VIC 107 [11:33:27] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [11:33:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [11:33:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [11:33:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [11:33:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [11:33:27] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [11:33:27] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [11:33:27] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [11:33:27] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [11:33:27] [PASSED] Automatic [11:33:27] [PASSED] Full [11:33:27] [PASSED] Limited 16:235 [11:33:27] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [11:33:27] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [11:33:27] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [11:33:27] == drm_hdmi_connector_get_output_format_name (2 subtests) == [11:33:27] === drm_test_drm_hdmi_connector_get_output_format_name ==== [11:33:27] [PASSED] RGB [11:33:27] [PASSED] YUV 4:2:0 [11:33:27] [PASSED] YUV 4:2:2 [11:33:27] [PASSED] YUV 4:4:4 [11:33:27] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [11:33:27] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [11:33:27] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [11:33:27] ============= drm_damage_helper (21 subtests) ============== [11:33:27] [PASSED] drm_test_damage_iter_no_damage [11:33:27] [PASSED] drm_test_damage_iter_no_damage_fractional_src [11:33:27] [PASSED] drm_test_damage_iter_no_damage_src_moved [11:33:27] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [11:33:27] [PASSED] drm_test_damage_iter_no_damage_not_visible [11:33:27] [PASSED] drm_test_damage_iter_no_damage_no_crtc [11:33:27] [PASSED] drm_test_damage_iter_no_damage_no_fb [11:33:27] [PASSED] drm_test_damage_iter_simple_damage [11:33:27] [PASSED] drm_test_damage_iter_single_damage [11:33:27] [PASSED] drm_test_damage_iter_single_damage_intersect_src [11:33:27] [PASSED] drm_test_damage_iter_single_damage_outside_src [11:33:27] [PASSED] drm_test_damage_iter_single_damage_fractional_src [11:33:27] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [11:33:27] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [11:33:27] [PASSED] drm_test_damage_iter_single_damage_src_moved [11:33:27] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [11:33:27] [PASSED] drm_test_damage_iter_damage [11:33:27] [PASSED] drm_test_damage_iter_damage_one_intersect [11:33:27] [PASSED] drm_test_damage_iter_damage_one_outside [11:33:27] [PASSED] drm_test_damage_iter_damage_src_moved [11:33:27] [PASSED] drm_test_damage_iter_damage_not_visible [11:33:27] ================ [PASSED] drm_damage_helper ================ [11:33:27] ============== drm_dp_mst_helper (3 subtests) ============== [11:33:27] ============== drm_test_dp_mst_calc_pbn_mode ============== [11:33:27] [PASSED] Clock 154000 BPP 30 DSC disabled [11:33:27] [PASSED] Clock 234000 BPP 30 DSC disabled [11:33:27] [PASSED] Clock 297000 BPP 24 DSC disabled [11:33:27] [PASSED] Clock 332880 BPP 24 DSC enabled [11:33:27] [PASSED] Clock 324540 BPP 24 DSC enabled [11:33:27] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [11:33:27] ============== drm_test_dp_mst_calc_pbn_div =============== [11:33:27] [PASSED] Link rate 2000000 lane count 4 [11:33:27] [PASSED] Link rate 2000000 lane count 2 [11:33:27] [PASSED] Link rate 2000000 lane count 1 [11:33:27] [PASSED] Link rate 1350000 lane count 4 [11:33:27] [PASSED] Link rate 1350000 lane count 2 [11:33:27] [PASSED] Link rate 1350000 lane count 1 [11:33:27] [PASSED] Link rate 1000000 lane count 4 [11:33:27] [PASSED] Link rate 1000000 lane count 2 [11:33:27] [PASSED] Link rate 1000000 lane count 1 [11:33:27] [PASSED] Link rate 810000 lane count 4 [11:33:27] [PASSED] Link rate 810000 lane count 2 [11:33:27] [PASSED] Link rate 810000 lane count 1 [11:33:27] [PASSED] Link rate 540000 lane count 4 [11:33:27] [PASSED] Link rate 540000 lane count 2 [11:33:27] [PASSED] Link rate 540000 lane count 1 [11:33:27] [PASSED] Link rate 270000 lane count 4 [11:33:27] [PASSED] Link rate 270000 lane count 2 [11:33:27] [PASSED] Link rate 270000 lane count 1 [11:33:27] [PASSED] Link rate 162000 lane count 4 [11:33:27] [PASSED] Link rate 162000 lane count 2 [11:33:27] [PASSED] Link rate 162000 lane count 1 [11:33:27] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [11:33:27] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [11:33:27] [PASSED] DP_ENUM_PATH_RESOURCES with port number [11:33:27] [PASSED] DP_POWER_UP_PHY with port number [11:33:27] [PASSED] DP_POWER_DOWN_PHY with port number [11:33:27] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [11:33:27] [PASSED] DP_ALLOCATE_PAYLOAD with port number [11:33:27] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [11:33:27] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [11:33:27] [PASSED] DP_QUERY_PAYLOAD with port number [11:33:27] [PASSED] DP_QUERY_PAYLOAD with VCPI [11:33:27] [PASSED] DP_REMOTE_DPCD_READ with port number [11:33:27] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [11:33:27] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [11:33:27] [PASSED] DP_REMOTE_DPCD_WRITE with port number [11:33:27] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [11:33:27] [PASSED] DP_REMOTE_DPCD_WRITE with data array [11:33:27] [PASSED] DP_REMOTE_I2C_READ with port number [11:33:27] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [11:33:27] [PASSED] DP_REMOTE_I2C_READ with transactions array [11:33:27] [PASSED] DP_REMOTE_I2C_WRITE with port number [11:33:27] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [11:33:27] [PASSED] DP_REMOTE_I2C_WRITE with data array [11:33:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [11:33:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [11:33:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [11:33:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [11:33:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [11:33:27] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [11:33:27] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [11:33:27] ================ [PASSED] drm_dp_mst_helper ================ [11:33:27] ================== drm_exec (7 subtests) =================== [11:33:27] [PASSED] sanitycheck [11:33:27] [PASSED] test_lock [11:33:27] [PASSED] test_lock_unlock [11:33:27] [PASSED] test_duplicates [11:33:27] [PASSED] test_prepare [11:33:27] [PASSED] test_prepare_array [11:33:27] [PASSED] test_multiple_loops [11:33:27] ==================== [PASSED] drm_exec ===================== [11:33:27] =========== drm_format_helper_test (17 subtests) =========== [11:33:27] ============== drm_test_fb_xrgb8888_to_gray8 ============== [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [11:33:27] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [11:33:27] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [11:33:27] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [11:33:27] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [11:33:27] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [11:33:27] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [11:33:27] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [11:33:27] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [11:33:27] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [11:33:27] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [11:33:27] ============== drm_test_fb_xrgb8888_to_mono =============== [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [11:33:27] ==================== drm_test_fb_swab ===================== [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ================ [PASSED] drm_test_fb_swab ================= [11:33:27] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [11:33:27] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [11:33:27] [PASSED] single_pixel_source_buffer [11:33:27] [PASSED] single_pixel_clip_rectangle [11:33:27] [PASSED] well_known_colors [11:33:27] [PASSED] destination_pitch [11:33:27] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [11:33:27] ================= drm_test_fb_clip_offset ================= [11:33:27] [PASSED] pass through [11:33:27] [PASSED] horizontal offset [11:33:27] [PASSED] vertical offset [11:33:27] [PASSED] horizontal and vertical offset [11:33:27] [PASSED] horizontal offset (custom pitch) [11:33:27] [PASSED] vertical offset (custom pitch) [11:33:27] [PASSED] horizontal and vertical offset (custom pitch) [11:33:27] ============= [PASSED] drm_test_fb_clip_offset ============= [11:33:27] =================== drm_test_fb_memcpy ==================== [11:33:27] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [11:33:27] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [11:33:27] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [11:33:27] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [11:33:27] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [11:33:27] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [11:33:27] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [11:33:27] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [11:33:27] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [11:33:27] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [11:33:27] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [11:33:27] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [11:33:27] =============== [PASSED] drm_test_fb_memcpy ================ [11:33:27] ============= [PASSED] drm_format_helper_test ============== [11:33:27] ================= drm_format (18 subtests) ================= [11:33:27] [PASSED] drm_test_format_block_width_invalid [11:33:27] [PASSED] drm_test_format_block_width_one_plane [11:33:27] [PASSED] drm_test_format_block_width_two_plane [11:33:27] [PASSED] drm_test_format_block_width_three_plane [11:33:27] [PASSED] drm_test_format_block_width_tiled [11:33:27] [PASSED] drm_test_format_block_height_invalid [11:33:27] [PASSED] drm_test_format_block_height_one_plane [11:33:27] [PASSED] drm_test_format_block_height_two_plane [11:33:27] [PASSED] drm_test_format_block_height_three_plane [11:33:27] [PASSED] drm_test_format_block_height_tiled [11:33:27] [PASSED] drm_test_format_min_pitch_invalid [11:33:27] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [11:33:27] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [11:33:27] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [11:33:27] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [11:33:27] [PASSED] drm_test_format_min_pitch_two_plane [11:33:27] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [11:33:27] [PASSED] drm_test_format_min_pitch_tiled [11:33:27] =================== [PASSED] drm_format ==================== [11:33:27] ============== drm_framebuffer (10 subtests) =============== [11:33:27] ========== drm_test_framebuffer_check_src_coords ========== [11:33:27] [PASSED] Success: source fits into fb [11:33:27] [PASSED] Fail: overflowing fb with x-axis coordinate [11:33:27] [PASSED] Fail: overflowing fb with y-axis coordinate [11:33:27] [PASSED] Fail: overflowing fb with source width [11:33:27] [PASSED] Fail: overflowing fb with source height [11:33:27] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [11:33:27] [PASSED] drm_test_framebuffer_cleanup [11:33:27] =============== drm_test_framebuffer_create =============== [11:33:27] [PASSED] ABGR8888 normal sizes [11:33:27] [PASSED] ABGR8888 max sizes [11:33:27] [PASSED] ABGR8888 pitch greater than min required [11:33:27] [PASSED] ABGR8888 pitch less than min required [11:33:27] [PASSED] ABGR8888 Invalid width [11:33:27] [PASSED] ABGR8888 Invalid buffer handle [11:33:27] [PASSED] No pixel format [11:33:27] [PASSED] ABGR8888 Width 0 [11:33:27] [PASSED] ABGR8888 Height 0 [11:33:27] [PASSED] ABGR8888 Out of bound height * pitch combination [11:33:27] [PASSED] ABGR8888 Large buffer offset [11:33:27] [PASSED] ABGR8888 Buffer offset for inexistent plane [11:33:27] [PASSED] ABGR8888 Invalid flag [11:33:27] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [11:33:27] [PASSED] ABGR8888 Valid buffer modifier [11:33:27] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [11:33:27] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [11:33:27] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [11:33:27] [PASSED] NV12 Normal sizes [11:33:27] [PASSED] NV12 Max sizes [11:33:27] [PASSED] NV12 Invalid pitch [11:33:27] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [11:33:27] [PASSED] NV12 different modifier per-plane [11:33:27] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [11:33:27] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [11:33:27] [PASSED] NV12 Modifier for inexistent plane [11:33:27] [PASSED] NV12 Handle for inexistent plane [11:33:27] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [11:33:27] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [11:33:27] [PASSED] YVU420 Normal sizes [11:33:27] [PASSED] YVU420 Max sizes [11:33:27] [PASSED] YVU420 Invalid pitch [11:33:27] [PASSED] YVU420 Different pitches [11:33:27] [PASSED] YVU420 Different buffer offsets/pitches [11:33:27] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [11:33:27] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [11:33:27] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [11:33:27] [PASSED] YVU420 Valid modifier [11:33:27] [PASSED] YVU420 Different modifiers per plane [11:33:27] [PASSED] YVU420 Modifier for inexistent plane [11:33:27] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [11:33:27] [PASSED] X0L2 Normal sizes [11:33:27] [PASSED] X0L2 Max sizes [11:33:27] [PASSED] X0L2 Invalid pitch [11:33:27] [PASSED] X0L2 Pitch greater than minimum required [11:33:27] [PASSED] X0L2 Handle for inexistent plane [11:33:27] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [11:33:27] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [11:33:27] [PASSED] X0L2 Valid modifier [11:33:27] [PASSED] X0L2 Modifier for inexistent plane [11:33:27] =========== [PASSED] drm_test_framebuffer_create =========== [11:33:27] [PASSED] drm_test_framebuffer_free [11:33:27] [PASSED] drm_test_framebuffer_init [11:33:27] [PASSED] drm_test_framebuffer_init_bad_format [11:33:27] [PASSED] drm_test_framebuffer_init_dev_mismatch [11:33:27] [PASSED] drm_test_framebuffer_lookup [11:33:27] [PASSED] drm_test_framebuffer_lookup_inexistent [11:33:27] [PASSED] drm_test_framebuffer_modifiers_not_supported [11:33:27] ================= [PASSED] drm_framebuffer ================= [11:33:27] ================ drm_gem_shmem (8 subtests) ================ [11:33:27] [PASSED] drm_gem_shmem_test_obj_create [11:33:27] [PASSED] drm_gem_shmem_test_obj_create_private [11:33:27] [PASSED] drm_gem_shmem_test_pin_pages [11:33:27] [PASSED] drm_gem_shmem_test_vmap [11:33:27] [PASSED] drm_gem_shmem_test_get_sg_table [11:33:27] [PASSED] drm_gem_shmem_test_get_pages_sgt [11:33:27] [PASSED] drm_gem_shmem_test_madvise [11:33:27] [PASSED] drm_gem_shmem_test_purge [11:33:27] ================== [PASSED] drm_gem_shmem ================== [11:33:27] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [11:33:27] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [11:33:27] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [11:33:27] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [11:33:27] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [11:33:27] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [11:33:27] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [11:33:27] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [11:33:27] [PASSED] Automatic [11:33:27] [PASSED] Full [11:33:27] [PASSED] Limited 16:235 [11:33:27] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [11:33:27] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [11:33:27] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [11:33:27] [PASSED] drm_test_check_disable_connector [11:33:27] [PASSED] drm_test_check_hdmi_funcs_reject_rate [11:33:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [11:33:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [11:33:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [11:33:27] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [11:33:27] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [11:33:27] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [11:33:27] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [11:33:27] [PASSED] drm_test_check_output_bpc_dvi [11:33:27] [PASSED] drm_test_check_output_bpc_format_vic_1 [11:33:27] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [11:33:27] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [11:33:27] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [11:33:27] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [11:33:27] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [11:33:27] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [11:33:27] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [11:33:27] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [11:33:27] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [11:33:27] [PASSED] drm_test_check_broadcast_rgb_value [11:33:27] [PASSED] drm_test_check_bpc_8_value [11:33:27] [PASSED] drm_test_check_bpc_10_value [11:33:27] [PASSED] drm_test_check_bpc_12_value [11:33:27] [PASSED] drm_test_check_format_value [11:33:27] [PASSED] drm_test_check_tmds_char_value [11:33:27] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [11:33:27] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [11:33:27] [PASSED] drm_test_check_mode_valid [11:33:27] [PASSED] drm_test_check_mode_valid_reject [11:33:27] [PASSED] drm_test_check_mode_valid_reject_rate [11:33:27] [PASSED] drm_test_check_mode_valid_reject_max_clock [11:33:27] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [11:33:27] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [11:33:27] [PASSED] drm_test_check_infoframes [11:33:27] [PASSED] drm_test_check_reject_avi_infoframe [11:33:27] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [11:33:27] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [11:33:27] [PASSED] drm_test_check_reject_audio_infoframe [11:33:27] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [11:33:27] ================= drm_managed (2 subtests) ================= [11:33:27] [PASSED] drm_test_managed_release_action [11:33:27] [PASSED] drm_test_managed_run_action [11:33:27] =================== [PASSED] drm_managed =================== [11:33:27] =================== drm_mm (6 subtests) ==================== [11:33:27] [PASSED] drm_test_mm_init [11:33:27] [PASSED] drm_test_mm_debug [11:33:27] [PASSED] drm_test_mm_align32 [11:33:27] [PASSED] drm_test_mm_align64 [11:33:27] [PASSED] drm_test_mm_lowest [11:33:27] [PASSED] drm_test_mm_highest [11:33:27] ===================== [PASSED] drm_mm ====================== [11:33:27] ============= drm_modes_analog_tv (5 subtests) ============= [11:33:27] [PASSED] drm_test_modes_analog_tv_mono_576i [11:33:27] [PASSED] drm_test_modes_analog_tv_ntsc_480i [11:33:27] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [11:33:27] [PASSED] drm_test_modes_analog_tv_pal_576i [11:33:27] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [11:33:27] =============== [PASSED] drm_modes_analog_tv =============== [11:33:27] ============== drm_plane_helper (2 subtests) =============== [11:33:27] =============== drm_test_check_plane_state ================ [11:33:27] [PASSED] clipping_simple [11:33:27] [PASSED] clipping_rotate_reflect [11:33:27] [PASSED] positioning_simple [11:33:27] [PASSED] upscaling [11:33:27] [PASSED] downscaling [11:33:27] [PASSED] rounding1 [11:33:27] [PASSED] rounding2 [11:33:27] [PASSED] rounding3 [11:33:27] [PASSED] rounding4 [11:33:27] =========== [PASSED] drm_test_check_plane_state ============ [11:33:27] =========== drm_test_check_invalid_plane_state ============ [11:33:27] [PASSED] positioning_invalid [11:33:27] [PASSED] upscaling_invalid [11:33:27] [PASSED] downscaling_invalid [11:33:27] ======= [PASSED] drm_test_check_invalid_plane_state ======== [11:33:27] ================ [PASSED] drm_plane_helper ================= [11:33:27] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [11:33:27] ====== drm_test_connector_helper_tv_get_modes_check ======= [11:33:27] [PASSED] None [11:33:27] [PASSED] PAL [11:33:27] [PASSED] NTSC [11:33:27] [PASSED] Both, NTSC Default [11:33:27] [PASSED] Both, PAL Default [11:33:27] [PASSED] Both, NTSC Default, with PAL on command-line [11:33:27] [PASSED] Both, PAL Default, with NTSC on command-line [11:33:27] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [11:33:27] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [11:33:27] ================== drm_rect (9 subtests) =================== [11:33:27] [PASSED] drm_test_rect_clip_scaled_div_by_zero [11:33:27] [PASSED] drm_test_rect_clip_scaled_not_clipped [11:33:27] [PASSED] drm_test_rect_clip_scaled_clipped [11:33:27] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [11:33:27] ================= drm_test_rect_intersect ================= [11:33:27] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [11:33:27] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [11:33:27] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [11:33:27] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [11:33:27] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [11:33:27] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [11:33:27] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [11:33:27] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [11:33:27] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [11:33:27] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [11:33:27] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [11:33:27] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [11:33:27] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [11:33:27] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [11:33:27] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 stty: 'standard input': Inappropriate ioctl for device [11:33:27] ============= [PASSED] drm_test_rect_intersect ============= [11:33:27] ================ drm_test_rect_calc_hscale ================ [11:33:27] [PASSED] normal use [11:33:27] [PASSED] out of max range [11:33:27] [PASSED] out of min range [11:33:27] [PASSED] zero dst [11:33:27] [PASSED] negative src [11:33:27] [PASSED] negative dst [11:33:27] ============ [PASSED] drm_test_rect_calc_hscale ============ [11:33:27] ================ drm_test_rect_calc_vscale ================ [11:33:27] [PASSED] normal use [11:33:27] [PASSED] out of max range [11:33:27] [PASSED] out of min range [11:33:27] [PASSED] zero dst [11:33:27] [PASSED] negative src [11:33:27] [PASSED] negative dst [11:33:27] ============ [PASSED] drm_test_rect_calc_vscale ============ [11:33:27] ================== drm_test_rect_rotate =================== [11:33:27] [PASSED] reflect-x [11:33:27] [PASSED] reflect-y [11:33:27] [PASSED] rotate-0 [11:33:27] [PASSED] rotate-90 [11:33:27] [PASSED] rotate-180 [11:33:27] [PASSED] rotate-270 [11:33:27] ============== [PASSED] drm_test_rect_rotate =============== [11:33:27] ================ drm_test_rect_rotate_inv ================= [11:33:27] [PASSED] reflect-x [11:33:27] [PASSED] reflect-y [11:33:27] [PASSED] rotate-0 [11:33:27] [PASSED] rotate-90 [11:33:27] [PASSED] rotate-180 [11:33:27] [PASSED] rotate-270 [11:33:27] ============ [PASSED] drm_test_rect_rotate_inv ============= [11:33:27] ==================== [PASSED] drm_rect ===================== [11:33:27] ============ drm_sysfb_modeset_test (1 subtest) ============ [11:33:27] ============ drm_test_sysfb_build_fourcc_list ============= [11:33:27] [PASSED] no native formats [11:33:27] [PASSED] XRGB8888 as native format [11:33:27] [PASSED] remove duplicates [11:33:27] [PASSED] convert alpha formats [11:33:27] [PASSED] random formats [11:33:27] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [11:33:27] ============= [PASSED] drm_sysfb_modeset_test ============== [11:33:27] ================== drm_fixp (2 subtests) =================== [11:33:27] [PASSED] drm_test_int2fixp [11:33:27] [PASSED] drm_test_sm2fixp [11:33:27] ==================== [PASSED] drm_fixp ===================== [11:33:27] ============================================================ [11:33:27] Testing complete. Ran 630 tests: passed: 630 [11:33:27] Elapsed time: 32.543s total, 1.599s configuring, 30.477s building, 0.451s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [11:33:27] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [11:33:28] 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=25 [11:33:38] Starting KUnit Kernel (1/1)... [11:33:38] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [11:33:38] ================= ttm_device (5 subtests) ================== [11:33:38] [PASSED] ttm_device_init_basic [11:33:38] [PASSED] ttm_device_init_multiple [11:33:38] [PASSED] ttm_device_fini_basic [11:33:38] [PASSED] ttm_device_init_no_vma_man [11:33:38] ================== ttm_device_init_pools ================== [11:33:38] [PASSED] No DMA allocations, no DMA32 required [11:33:38] [PASSED] DMA allocations, DMA32 required [11:33:38] [PASSED] No DMA allocations, DMA32 required [11:33:38] [PASSED] DMA allocations, no DMA32 required [11:33:38] ============== [PASSED] ttm_device_init_pools ============== [11:33:38] =================== [PASSED] ttm_device ==================== [11:33:38] ================== ttm_pool (8 subtests) =================== [11:33:38] ================== ttm_pool_alloc_basic =================== [11:33:38] [PASSED] One page [11:33:38] [PASSED] More than one page [11:33:38] [PASSED] Above the allocation limit [11:33:38] [PASSED] One page, with coherent DMA mappings enabled [11:33:38] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [11:33:38] ============== [PASSED] ttm_pool_alloc_basic =============== [11:33:38] ============== ttm_pool_alloc_basic_dma_addr ============== [11:33:38] [PASSED] One page [11:33:38] [PASSED] More than one page [11:33:38] [PASSED] Above the allocation limit [11:33:38] [PASSED] One page, with coherent DMA mappings enabled [11:33:38] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [11:33:38] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [11:33:38] [PASSED] ttm_pool_alloc_order_caching_match [11:33:38] [PASSED] ttm_pool_alloc_caching_mismatch [11:33:38] [PASSED] ttm_pool_alloc_order_mismatch [11:33:38] [PASSED] ttm_pool_free_dma_alloc [11:33:38] [PASSED] ttm_pool_free_no_dma_alloc [11:33:38] [PASSED] ttm_pool_fini_basic [11:33:38] ==================== [PASSED] ttm_pool ===================== [11:33:38] ================ ttm_resource (8 subtests) ================= [11:33:38] ================= ttm_resource_init_basic ================= [11:33:38] [PASSED] Init resource in TTM_PL_SYSTEM [11:33:38] [PASSED] Init resource in TTM_PL_VRAM [11:33:38] [PASSED] Init resource in a private placement [11:33:38] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [11:33:38] ============= [PASSED] ttm_resource_init_basic ============= [11:33:38] [PASSED] ttm_resource_init_pinned [11:33:38] [PASSED] ttm_resource_fini_basic [11:33:38] [PASSED] ttm_resource_manager_init_basic [11:33:38] [PASSED] ttm_resource_manager_usage_basic [11:33:38] [PASSED] ttm_resource_manager_set_used_basic [11:33:38] [PASSED] ttm_sys_man_alloc_basic [11:33:38] [PASSED] ttm_sys_man_free_basic [11:33:38] ================== [PASSED] ttm_resource =================== [11:33:38] =================== ttm_tt (15 subtests) =================== [11:33:38] ==================== ttm_tt_init_basic ==================== [11:33:38] [PASSED] Page-aligned size [11:33:38] [PASSED] Extra pages requested [11:33:38] ================ [PASSED] ttm_tt_init_basic ================ [11:33:38] [PASSED] ttm_tt_init_misaligned [11:33:38] [PASSED] ttm_tt_fini_basic [11:33:38] [PASSED] ttm_tt_fini_sg [11:33:38] [PASSED] ttm_tt_fini_shmem [11:33:38] [PASSED] ttm_tt_create_basic [11:33:38] [PASSED] ttm_tt_create_invalid_bo_type [11:33:38] [PASSED] ttm_tt_create_ttm_exists [11:33:38] [PASSED] ttm_tt_create_failed [11:33:38] [PASSED] ttm_tt_destroy_basic [11:33:38] [PASSED] ttm_tt_populate_null_ttm [11:33:38] [PASSED] ttm_tt_populate_populated_ttm [11:33:38] [PASSED] ttm_tt_unpopulate_basic [11:33:38] [PASSED] ttm_tt_unpopulate_empty_ttm [11:33:38] [PASSED] ttm_tt_swapin_basic [11:33:38] ===================== [PASSED] ttm_tt ====================== [11:33:38] =================== ttm_bo (14 subtests) =================== [11:33:38] =========== ttm_bo_reserve_optimistic_no_ticket =========== [11:33:38] [PASSED] Cannot be interrupted and sleeps [11:33:38] [PASSED] Cannot be interrupted, locks straight away [11:33:38] [PASSED] Can be interrupted, sleeps [11:33:38] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [11:33:38] [PASSED] ttm_bo_reserve_locked_no_sleep [11:33:38] [PASSED] ttm_bo_reserve_no_wait_ticket [11:33:38] [PASSED] ttm_bo_reserve_double_resv [11:33:38] [PASSED] ttm_bo_reserve_interrupted [11:33:38] [PASSED] ttm_bo_reserve_deadlock [11:33:38] [PASSED] ttm_bo_unreserve_basic [11:33:38] [PASSED] ttm_bo_unreserve_pinned [11:33:38] [PASSED] ttm_bo_unreserve_bulk [11:33:38] [PASSED] ttm_bo_fini_basic [11:33:38] [PASSED] ttm_bo_fini_shared_resv [11:33:38] [PASSED] ttm_bo_pin_basic [11:33:38] [PASSED] ttm_bo_pin_unpin_resource [11:33:38] [PASSED] ttm_bo_multiple_pin_one_unpin [11:33:38] ===================== [PASSED] ttm_bo ====================== [11:33:38] ============== ttm_bo_validate (21 subtests) =============== [11:33:38] ============== ttm_bo_init_reserved_sys_man =============== [11:33:38] [PASSED] Buffer object for userspace [11:33:38] [PASSED] Kernel buffer object [11:33:38] [PASSED] Shared buffer object [11:33:38] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [11:33:38] ============== ttm_bo_init_reserved_mock_man ============== [11:33:38] [PASSED] Buffer object for userspace [11:33:38] [PASSED] Kernel buffer object [11:33:38] [PASSED] Shared buffer object [11:33:38] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [11:33:38] [PASSED] ttm_bo_init_reserved_resv [11:33:38] ================== ttm_bo_validate_basic ================== [11:33:38] [PASSED] Buffer object for userspace [11:33:38] [PASSED] Kernel buffer object [11:33:38] [PASSED] Shared buffer object [11:33:38] ============== [PASSED] ttm_bo_validate_basic ============== [11:33:38] [PASSED] ttm_bo_validate_invalid_placement [11:33:38] ============= ttm_bo_validate_same_placement ============== [11:33:38] [PASSED] System manager [11:33:38] [PASSED] VRAM manager [11:33:38] ========= [PASSED] ttm_bo_validate_same_placement ========== [11:33:38] [PASSED] ttm_bo_validate_failed_alloc [11:33:38] [PASSED] ttm_bo_validate_pinned [11:33:38] [PASSED] ttm_bo_validate_busy_placement [11:33:38] ================ ttm_bo_validate_multihop ================= [11:33:38] [PASSED] Buffer object for userspace [11:33:38] [PASSED] Kernel buffer object [11:33:38] [PASSED] Shared buffer object [11:33:38] ============ [PASSED] ttm_bo_validate_multihop ============= [11:33:38] ========== ttm_bo_validate_no_placement_signaled ========== [11:33:38] [PASSED] Buffer object in system domain, no page vector [11:33:38] [PASSED] Buffer object in system domain with an existing page vector [11:33:38] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [11:33:38] ======== ttm_bo_validate_no_placement_not_signaled ======== [11:33:38] [PASSED] Buffer object for userspace [11:33:38] [PASSED] Kernel buffer object [11:33:38] [PASSED] Shared buffer object [11:33:38] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [11:33:38] [PASSED] ttm_bo_validate_move_fence_signaled [11:33:38] ========= ttm_bo_validate_move_fence_not_signaled ========= [11:33:38] [PASSED] Waits for GPU [11:33:38] [PASSED] Tries to lock straight away [11:33:38] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [11:33:38] [PASSED] ttm_bo_validate_happy_evict [11:33:38] [PASSED] ttm_bo_validate_all_pinned_evict [11:33:38] [PASSED] ttm_bo_validate_allowed_only_evict [11:33:38] [PASSED] ttm_bo_validate_deleted_evict [11:33:38] [PASSED] ttm_bo_validate_busy_domain_evict [11:33:38] [PASSED] ttm_bo_validate_evict_gutting [11:33:38] [PASSED] ttm_bo_validate_recrusive_evict stty: 'standard input': Inappropriate ioctl for device [11:33:38] ================= [PASSED] ttm_bo_validate ================= [11:33:38] ============================================================ [11:33:38] Testing complete. Ran 101 tests: passed: 101 [11:33:38] Elapsed time: 11.073s total, 1.611s configuring, 9.196s building, 0.231s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for mm: Fix a hmm_range_fault() livelock / starvation problem (rev3)
In reply to Thomas Hellström== Series Details ==
== Series Details ==
Series: mm: Fix a hmm_range_fault() livelock / starvation problem (rev3)
URL : https://patchwork.freedesktop.org/series/161081/
State : success
== Summary ==
CI Bug Log - changes from xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0_BAT -> xe-pw-161081v3_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (10 -> 12)
------------------------------
Additional (2): bat-dg2-oem2 bat-bmg-3
Known issues
------------
Here are the changes found in xe-pw-161081v3_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-dg2-oem2: NOTRUN -> [SKIP][1] ([Intel XE#623])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-dg2-oem2: NOTRUN -> [SKIP][2] ([Intel XE#455])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@[email protected]
* igt@kms_psr@psr-cursor-plane-move:
- bat-dg2-oem2: NOTRUN -> [SKIP][3] ([Intel XE#1406] / [Intel XE#2850] / [Intel XE#929]) +2 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@[email protected]
* igt@sriov_basic@enable-vfs-autoprobe-on:
- bat-dg2-oem2: NOTRUN -> [SKIP][4] ([Intel XE#1091] / [Intel XE#2849]) +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@[email protected]
* igt@xe_exec_fault_mode@twice-invalid-fault:
- bat-dg2-oem2: NOTRUN -> [SKIP][5] ([Intel XE#288]) +32 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@[email protected]
* igt@xe_huc_copy@huc_copy:
- bat-dg2-oem2: NOTRUN -> [SKIP][6] ([Intel XE#255])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@xe_huc_copy@huc_copy.html
* igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
- bat-dg2-oem2: NOTRUN -> [SKIP][7] ([Intel XE#2229])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html
* igt@xe_pat@pat-index-xe2:
- bat-dg2-oem2: NOTRUN -> [SKIP][8] ([Intel XE#977])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@[email protected]
* igt@xe_pat@pat-index-xehpc:
- bat-dg2-oem2: NOTRUN -> [SKIP][9] ([Intel XE#2838] / [Intel XE#979])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- bat-dg2-oem2: NOTRUN -> [SKIP][10] ([Intel XE#979])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@[email protected]
* igt@xe_peer2peer@read@read-gpua-vram01-gpub-system-p2p:
- bat-bmg-3: NOTRUN -> [SKIP][11] ([Intel XE#6566]) +3 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-bmg-3/igt@xe_peer2peer@[email protected]
* igt@xe_sriov_flr@flr-vf1-clear:
- bat-dg2-oem2: NOTRUN -> [SKIP][12] ([Intel XE#3342])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-dg2-oem2/igt@[email protected]
#### Possible fixes ####
* igt@xe_waitfence@reltime:
- bat-bmg-1: [FAIL][13] ([Intel XE#6520]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/bat-bmg-1/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/bat-bmg-1/igt@[email protected]
[Intel XE#1091]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1091
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#255]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/255
[Intel XE#2838]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2838
[Intel XE#2849]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2849
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#3342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3342
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#623]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/623
[Intel XE#6520]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6520
[Intel XE#6566]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6566
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977
[Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979
Build changes
-------------
* Linux: xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0 -> xe-pw-161081v3
IGT_8738: b3fc8fb534a27517f2a49e63ef993e7550b9b959 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0: 98ab89bf2cbeeb78d35310ad07614909af2b71a0
xe-pw-161081v3: 161081v3
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/index.html
Patchwork
CI✓ Xe.CI.FULL: success for mm: Fix a hmm_range_fault() livelock / starvation problem (rev3)
In reply to Thomas Hellström== Series Details ==
== Series Details ==
Series: mm: Fix a hmm_range_fault() livelock / starvation problem (rev3)
URL : https://patchwork.freedesktop.org/series/161081/
State : success
== Summary ==
CI Bug Log - changes from xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0_FULL -> xe-pw-161081v3_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-161081v3_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#1124]) +3 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-2-displays-2560x1440p:
- shard-bmg: [PASS][2] -> [SKIP][3] ([Intel XE#2314] / [Intel XE#2894])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-1/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-6/igt@[email protected]
* igt@kms_bw@linear-tiling-2-displays-2160x1440p:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#367])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_ccs@crc-primary-rotation-180-4-tiled-lnl-ccs@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#2652] / [Intel XE#787]) +8 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-mtl-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#2887]) +5 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_chamelium_color@ctm-0-75:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#2325])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-hibernate:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2252]) +4 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-0-suspend-resume:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#6974])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-32x10:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2320]) +2 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
- shard-bmg: [PASS][11] -> [SKIP][12] ([Intel XE#2291]) +2 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-1/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-6/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: NOTRUN -> [FAIL][13] ([Intel XE#4633])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@kms_dirtyfb@fbc-dirtyfb-ioctl:
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#4210])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_dsc@dsc-with-bpc-formats:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2244])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@kms_flip@2x-flip-vs-panning:
- shard-bmg: [PASS][16] -> [SKIP][17] ([Intel XE#2316]) +5 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-1/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-6/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [PASS][18] -> [FAIL][19] ([Intel XE#301] / [Intel XE#3149]) +1 other test fail
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-lnl-8/igt@kms_flip@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-lnl-8/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-upscaling:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#7178]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-upscaling.html
* igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-spr-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2311]) +10 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-spr-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-move:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#4141]) +2 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#7061])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-onoff:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#2313]) +14 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@kms_plane@pixel-format-x-tiled-modifier-source-clamping@pipe-b-plane-5:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#7131]) +2 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@kms_plane@pixel-format-x-tiled-modifier-source-clamping@pipe-b-plane-5.html
* igt@kms_plane@pixel-format-y-tiled-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#7111] / [Intel XE#7130] / [Intel XE#7131])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_plane@pixel-format-y-tiled-modifier-source-clamping@pipe-b-plane-0:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#7130]) +3 other tests skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@kms_plane@pixel-format-y-tiled-modifier-source-clamping@pipe-b-plane-0.html
* igt@kms_plane@pixel-format-y-tiled-modifier-source-clamping@pipe-b-plane-5:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#7111] / [Intel XE#7131])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@kms_plane@pixel-format-y-tiled-modifier-source-clamping@pipe-b-plane-5.html
* igt@kms_plane_multiple@2x-tiling-none:
- shard-bmg: [PASS][29] -> [SKIP][30] ([Intel XE#4596])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-10/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-5/igt@[email protected]
* igt@kms_pm_dc@deep-pkgc:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#2505])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@kms_pm_rpm@dpms-mode-unset-lpsp:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#1439] / [Intel XE#836])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_pm_rpm@modeset-lpsp:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#836])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@kms_psr2_sf@psr2-plane-move-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#1406] / [Intel XE#1489]) +3 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_psr@psr2-no-drrs:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +4 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_sharpness_filter@invalid-plane-with-filter:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#6503])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_vrr@cmrr:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#2168])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@xe_eudebug@basic-vms:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#4837]) +3 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue:
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#2322]) +1 other test skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue.html
* igt@xe_exec_fault_mode@twice-multi-queue-imm:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#7136]) +3 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@xe_exec_multi_queue@few-execs-preempt-mode-priority:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#6874]) +9 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@xe_exec_system_allocator@threads-many-large-mmap-huge-nomemset:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#4943]) +12 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@xe_exec_system_allocator@threads-many-large-mmap-huge-nomemset.html
* igt@xe_exec_threads@threads-multi-queue-fd-userptr-invalidate-race:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#7138]) +2 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@xe_exec_threads@threads-multi-queue-fd-userptr-invalidate-race.html
* igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv:
- shard-bmg: NOTRUN -> [ABORT][44] ([Intel XE#5466] / [Intel XE#6652])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
* igt@xe_multigpu_svm@mgpu-pagefault-conflict:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#6964]) +1 other test skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@xe_peer2peer@read:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#2427] / [Intel XE#6953])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-4/igt@[email protected]
* igt@xe_pm@vram-d3cold-threshold:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#579])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@xe_pxp@pxp-termination-key-update-post-termination-irq:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#4733]) +1 other test skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
#### Possible fixes ####
* igt@kms_bw@connected-linear-tiling-2-displays-1920x1080p:
- shard-bmg: [SKIP][49] ([Intel XE#2314] / [Intel XE#2894]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-5/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-9/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-bmg: [SKIP][51] ([Intel XE#2291]) -> [PASS][52] +6 other tests pass
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-5/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-9/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [FAIL][53] ([Intel XE#6715]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-9/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-1/igt@[email protected]
* igt@kms_feature_discovery@display-2x:
- shard-bmg: [SKIP][55] ([Intel XE#2373]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-6/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-10/igt@[email protected]
* igt@kms_flip@2x-plain-flip-fb-recreate:
- shard-bmg: [SKIP][57] ([Intel XE#2316]) -> [PASS][58] +4 other tests pass
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-5/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-9/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [FAIL][59] ([Intel XE#301]) -> [PASS][60] +2 other tests pass
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-lnl-4/igt@kms_flip@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-lnl-1/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-bmg: [DMESG-WARN][61] ([Intel XE#5208]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-3/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-9/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-bmg: [DMESG-WARN][63] ([Intel XE#3428] / [Intel XE#5208]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-3/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-hdmi-a3:
- shard-bmg: [DMESG-WARN][65] ([Intel XE#3428]) -> [PASS][66] +4 other tests pass
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-3/igt@kms_flip@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@a-dp2:
- shard-bmg: [DMESG-WARN][67] -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-3/igt@kms_flip@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-9/igt@kms_flip@[email protected]
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [SKIP][69] ([Intel XE#1503]) -> [PASS][70] +1 other test pass
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-9/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-1/igt@[email protected]
* igt@kms_sequence@queue-busy:
- shard-bmg: [INCOMPLETE][71] -> [PASS][72] +1 other test pass
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-3/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-7/igt@[email protected]
* igt@kms_setmode@invalid-clone-single-crtc:
- shard-bmg: [SKIP][73] ([Intel XE#1435]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-5/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-9/igt@[email protected]
* igt@kms_vrr@cmrr@pipe-a-edp-1:
- shard-lnl: [FAIL][75] ([Intel XE#4459]) -> [PASS][76] +1 other test pass
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-lnl-5/igt@kms_vrr@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-lnl-3/igt@kms_vrr@[email protected]
* igt@kms_vrr@negative-basic:
- shard-bmg: [SKIP][77] ([Intel XE#1499]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-5/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-9/igt@[email protected]
* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [FAIL][79] ([Intel XE#2142]) -> [PASS][80] +1 other test pass
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-lnl-1/igt@kms_vrr@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-lnl-6/igt@kms_vrr@[email protected]
#### Warnings ####
* igt@kms_content_protection@atomic:
- shard-bmg: [FAIL][81] ([Intel XE#1178] / [Intel XE#3304]) -> [SKIP][82] ([Intel XE#2341])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-1/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-msflip-blt:
- shard-bmg: [SKIP][83] ([Intel XE#4141]) -> [SKIP][84] ([Intel XE#2312]) +2 other tests skip
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-1/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][85] ([Intel XE#2312]) -> [SKIP][86] ([Intel XE#4141]) +5 other tests skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-wc.html
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-10/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-onoff:
- shard-bmg: [SKIP][87] ([Intel XE#2311]) -> [SKIP][88] ([Intel XE#2312]) +12 other tests skip
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-onoff.html
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-onoff.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-shrfb-msflip-blt:
- shard-bmg: [SKIP][89] ([Intel XE#2312]) -> [SKIP][90] ([Intel XE#2311]) +10 other tests skip
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-shrfb-msflip-blt.html
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-10/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-shrfb-msflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-move:
- shard-bmg: [SKIP][91] ([Intel XE#2313]) -> [SKIP][92] ([Intel XE#2312]) +9 other tests skip
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-10/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][93] ([Intel XE#2312]) -> [SKIP][94] ([Intel XE#2313]) +10 other tests skip
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-5/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc.html
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-9/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][95] ([Intel XE#3544]) -> [SKIP][96] ([Intel XE#3374] / [Intel XE#3544])
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0/shard-bmg-9/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/shard-bmg-1/igt@[email protected]
[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#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
[Intel XE#2168]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2168
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2373
[Intel XE#2427]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2427
[Intel XE#2505]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2505
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
[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#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3428]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3428
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4210]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4210
[Intel XE#4459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4459
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4633]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4633
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
[Intel XE#5208]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5208
[Intel XE#5466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5466
[Intel XE#579]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/579
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#6652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6652
[Intel XE#6715]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6715
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#6953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6953
[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#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7111]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7111
[Intel XE#7130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7130
[Intel XE#7131]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7131
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836
Build changes
-------------
* Linux: xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0 -> xe-pw-161081v3
IGT_8738: b3fc8fb534a27517f2a49e63ef993e7550b9b959 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4505-98ab89bf2cbeeb78d35310ad07614909af2b71a0: 98ab89bf2cbeeb78d35310ad07614909af2b71a0
xe-pw-161081v3: 161081v3
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-161081v3/index.html
@Alistair, any chance of an R-B for the below version? @Andrew, will this go through the -mm tree or alternaltively an ack for merging through drm-xe-fixes?
/Thomas
8<-------------------------------------------------------------------
Quoted 243 lines · Thomas Hellström
If
hmm_range_fault()fails afolio_trylock()indo_swap_page, trying to acquire the lock of a device-private folio for migration, to ram, the function will spin until it succeeds grabbing the lock.However, if the process holding the lock is depending on a work item to be completed, which is scheduled on the same CPU as the spinning
hmm_range_fault(), that work item might be starved and we end up in a livelock / starvation situation which is never resolved.This can happen, for example if the process holding the device-private folio lock is stuck in migrate_device_unmap()->lru_add_drain_all()
Thelru_add_drain_all()function requires a short work-item to be run on all online cpus to complete.A prerequisite for this to happen is:
a) Both zone device and system memory folios are considered inmigrate_device_unmap(), so that there is a reason to calllru_add_drain_all()for a system memory folio while a folio lock is held on a zone device folio.
b) The zone device folio has an initial mapcount > 1 which causes at least one migration PTE entry insertion to be deferred totry_to_migrate(), which can happen after the call tolru_add_drain_all().
c) No or voluntary only preemption.This all seems pretty unlikely to happen, but indeed is hit by the "
xe_exec_system_allocator" igt test.Resolve this by waiting for the folio to be unlocked if the
folio_trylock()fails in thedo_swap_page()function.Rename the
migration_entry_wait_on_locked()function tosoftleaf_entry_wait_unlock()and update its documentation to indicate the new use-case.Future code improvements might consider moving
thelru_add_drain_all()call inmigrate_device_unmap()to be called *after* all pages have migration entries inserted. That would eliminate also b) above.v2:
- Instead of acond_resched()in thehmm_range_fault()function, eliminate the problem by waiting for the folio to be unlocked indo_swap_page()(Alistair Popple, Andrew Morton)
v3:
- Add a stubmigration_entry_wait_on_locked()for the !CONFIG_MIGRATION case. (Kernel Test Robot)
v4:
- Renamemigrate_entry_wait_on_locked()tosoftleaf_entry_wait_on_locked()and update docs (Alistair Popple)Suggested-by Alistair Popple <[email protected]>Fixes 1afaeb8293c9 ("mm/migrate: Trylock device page in
do_swap_page")Cc Ralph Campbell <[email protected]>Cc Christoph Hellwig <[email protected]>Cc Jason Gunthorpe <[email protected]>Cc Jason Gunthorpe <[email protected]>Cc Leon Romanovsky <[email protected]>Cc Andrew Morton <[email protected]>Cc Matthew Brost <[email protected]>Cc John Hubbard <[email protected]>Cc Alistair Popple <[email protected]>Cc <[email protected]>Signed-off-by Thomas Hellström <[email protected]>Cc <[email protected]> # v6.15+Reviewed-by John Hubbard <[email protected]> #v3---
include/linux/migrate.h | 8 +++++++-
mm/filemap.c | 15 ++++++++++-----
mm/memory.c | 3 ++-
mm/migrate.c | 8 ++++----
mm/migrate_device.c | 2 +-5 files changed, 24 insertions(+), 12 deletions(-)include/linux/migrate.h +0
-0@@ -65,7 +65,7 @@ bool isolate_folio_to_list(struct folio *folio, struct list_head *list);
intmigrate_huge_page_move_mapping(struct address_space *mapping, struct folio *dst, struct folio *src); -voidmigration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)
+voidsoftleaf_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)
__releases(ptl);
voidfolio_migrate_flags(struct folio *newfolio, struct folio *folio);
int folio_migrate_mapping(structaddress_space*mapping,include/linux/migrate.h +0
-0@@ -97,6 +97,12 @@ static inline int set_movable_ops(const struct
movable_operations*ops, enum pag
return-ENOSYS;
}
+static inline voidsoftleaf_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)include/linux/migrate.h +5
-0+__releases (ptl) +{ +spin_unlock (ptl); +} +#endif /*
CONFIG_MIGRATION*/
#ifdefCONFIG_NUMA_BALANCINGmm/filemap.c +0
-0@@ -1379,14 +1379,16 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr,
#ifdefCONFIG_MIGRATION
/**
- *migration_entry_wait_on_locked- Wait for a migration entry to be removed
- * @entry: migration swap entry.
+ *softleaf_entry_wait_on_locked- Wait for a migration entry or
+ *device_privateentry to be removed.
+ * @entry: migration ordevice_privateswap entry.
* @ptl: already locked ptl. This function will drop the lock. *
- * Wait for a migration entry referencing the given page to be removed. This is
+ * Wait for a migration entry referencing the given page, ordevice_private
+ * entry referencing advice_privatepage to be unlocked. This is
* equivalent tofolio_put_wait_locked(folio, TASK_UNINTERRUPTIBLE)except
* this can be called without taking a reference on the page. Instead this
- * should be called while holding the ptl for the migration entry referencing
+ * should be called while holding the ptl for @entry referencing
* the page.
*
* Returns after unlocking the ptl.mm/filemap.c +0
-0@@ -1394,7 +1396,7 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr, * This follows the same logic as folio_wait_bit_common() so see thecomments
* there.
*/
-voidmigration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)
+voidsoftleaf_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)
__releases(ptl)
{
structwait_page_queuewait_page;mm/filemap.c +0
-0@@ -1428,6 +1430,9 @@ void migration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl) * If a migration entry exists for the page the migrationpath must hold
* a valid reference to the page, and it must take the ptl to remove the
* migration entry. So the page is valid until the ptl is dropped.mm/filemap.c +1
-0+* Similarly any path attempting to drop the last reference to a
mm/filemap.c +1
-0+* device-private page needs to grab the ptl to remove the device-private
mm/filemap.c +1
-0+* entry. */
spin_unlock(ptl);mm/memory.c +2
-1@@ -4684,7 +4684,8 @@ vm_fault_t do_swap_page(struct vm_fault *vmf) unlock_page(vmf->page); put_page(vmf->page); } else { -pte_unmap_unlock (vmf->pte, vmf- >ptl); +pte_unmap (vmf->pte); +softleaf_entry_wait_on_locked (entry, vmf->ptl); }} else if (
softleaf_is_hwpoison(entry)) { ret =VM_FAULT_HWPOISON;mm/migrate.c +0
-0@@ -499,7 +499,7 @@ void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, if (!softleaf_is_migration(entry)) goto out;mm/migrate.c +1
-1-migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return;
out:
spin_unlock(ptl);mm/migrate.c +0
-0@@ -531,10 +531,10 @@ void migration_entry_wait_huge(struct
vm_area_struct*vma, unsigned long addr, p
* If migration entry existed, safe to release vma lock
* here because the pgtable page won't be freed without the
* pgtable lock released. See comment right above pgtablemm/migrate.c +1
-1-* lock release in migration_entry_wait_on_locked(). +* lock release in softleaf_entry_wait_on_locked(). */
hugetlb_vma_unlock_read(vma);mm/migrate.c +1
-1-migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return;
}mm/migrate.c +1
-1@@ -552,7 +552,7 @@ void pmd_migration_entry_wait(struct mm_struct *mm, pmd_t *pmd) ptl = pmd_lock(mm, pmd); if (!pmd_is_migration_entry(*pmd)) goto unlock; -migration_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl); +softleaf_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl); return;unlock:
spin_unlock(ptl);mm/migrate_device.c +0
-0@@ -176,7 +176,7 @@ static int migrate_vma_collect_huge_pmd(pmd_t *pmdp, unsigned long start, }
if (softleaf_is_migration(entry)) {mm/migrate_device.c +1
-1-migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);
spin_unlock(ptl);
return-EAGAIN;
}
Quoted 1 line · On Mon, 09 Feb 2026 15:47:38 +0100 Thomas Hellström…
@Alistair, any chance of an R-B for the below version?
Yes please.
Quoted 2 lines
@Andrew, will this go through the -mm tree or alternaltively an ack for merging through drm-xe-fixes?
Either works. I'll grab a copy. It you want to take this via drm then I'll drop the mm.git copy once the drm tree's version appears in linux-next.
Quoted 1 line
Quoted 1 line
The
lru_add_drain_all()function requires a short work-item
Pet peeve: s/the foo() function/foo()/g. It's just as good!
Quoted 4 lines
Quoted 4 lines
mm/memory.c +0
-0@@ -4684,7 +4684,8 @@ vm_fault_t do_swap_page(struct vm_fault *vmf) unlock_page(vmf->page);
Quoted 8 lines
mm/memory.c vm_fault_t do_swap_page(struct vm_fault *vmf) · line 4691
Quoted 8 lines
mm/memory.c +2
-1put_page(vmf->page); } else { -pte_unmap_unlock (vmf->pte, vmf->ptl); +pte_unmap (vmf->pte); +softleaf_entry_wait_on_locked (entry, vmf->ptl); } } else if (softleaf_is_hwpoison(entry)) { ret = VM_FAULT_HWPOISON;
So apart from the rename, this is the whole patch. This got nicer!
Quoted 11 lines · Andrew Morton
Quoted 1 line · On Mon, 09 Feb 2026 15:47:38 +0100 Thomas Hellström…
@Alistair, any chance of an R-B for the below version?
Yes please.
Quoted 3 lines
@Andrew, will this go through the -mm tree or alternaltively an ack for
merging through drm-xe-fixes?
Quoted 8 lines
Either works. I'll grab a copy. It you want to take this via drm then
I'll drop the mm.git copy once the drm tree's version appears in linux-next.Acked-by Andrew Morton <[email protected]>Quoted 1 line
The drm tree's version now appears in linux-next as
a69d1ab971a624c6f112cea61536569d579c3215
Thanks,
Thomas
On 2026-02-10 at 01:47 +1100, Thomas Hellström <[email protected]> wrote...
Quoted 1 line
@Alistair, any chance of an R-B for the below version?
For sure. Sorry I've been getting back to this but caught up with internal stuff.
Quoted 7 lines
include/linux/migrate.h static inline int set_movable_ops(const struct movable_operations *ops, enum pag · line 105
Quoted 7 lines
+static inline void
softleaf_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)include/linux/migrate.h +5
-0+__releases (ptl) +{ +spin_unlock (ptl); +} +
I noticed this just because we didn't have it previously, but I assume it's to avoid compilation failures in do_swap_page(). This is definitely the better way of dealing with the conditional compilation, though if I were to add a nit it would be that a WARN_ON_ONCE() would be nice here.
But this is fine, and thanks for doing the rename. Feel free to add:
Quoted 136 lines
Quoted 136 lines
#endif /*
CONFIG_MIGRATION*/
#ifdefCONFIG_NUMA_BALANCINGmm/filemap.c +0
-0@@ -1379,14 +1379,16 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr,
#ifdefCONFIG_MIGRATION
/**
- *migration_entry_wait_on_locked- Wait for a migration entry to be removed
- * @entry: migration swap entry.
+ *softleaf_entry_wait_on_locked- Wait for a migration entry or
+ *device_privateentry to be removed.
+ * @entry: migration ordevice_privateswap entry.
* @ptl: already locked ptl. This function will drop the lock. *
- * Wait for a migration entry referencing the given page to be removed. This is
+ * Wait for a migration entry referencing the given page, ordevice_private
+ * entry referencing advice_privatepage to be unlocked. This is
* equivalent tofolio_put_wait_locked(folio, TASK_UNINTERRUPTIBLE)except
* this can be called without taking a reference on the page. Instead this
- * should be called while holding the ptl for the migration entry referencing
+ * should be called while holding the ptl for @entry referencing
* the page.
*
* Returns after unlocking the ptl.mm/filemap.c +0
-0@@ -1394,7 +1396,7 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr, * This follows the same logic as folio_wait_bit_common() so see thecomments
* there.
*/
-voidmigration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)
+voidsoftleaf_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)
__releases(ptl)
{
structwait_page_queuewait_page;mm/filemap.c +0
-0@@ -1428,6 +1430,9 @@ void migration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl) * If a migration entry exists for the page the migrationpath must hold
* a valid reference to the page, and it must take the ptl to remove the
* migration entry. So the page is valid until the ptl is dropped.mm/filemap.c +1
-0+* Similarly any path attempting to drop the last reference to a
mm/filemap.c +1
-0+* device-private page needs to grab the ptl to remove the device-private
mm/filemap.c +1
-0+* entry. */
spin_unlock(ptl);mm/memory.c +2
-1@@ -4684,7 +4684,8 @@ vm_fault_t do_swap_page(struct vm_fault *vmf) unlock_page(vmf->page); put_page(vmf->page); } else { -pte_unmap_unlock (vmf->pte, vmf- >ptl); +pte_unmap (vmf->pte); +softleaf_entry_wait_on_locked (entry, vmf->ptl); }} else if (
softleaf_is_hwpoison(entry)) { ret =VM_FAULT_HWPOISON;mm/migrate.c +0
-0@@ -499,7 +499,7 @@ void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd, if (!softleaf_is_migration(entry)) goto out;mm/migrate.c +1
-1-migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return;
out:
spin_unlock(ptl);mm/migrate.c +0
-0@@ -531,10 +531,10 @@ void migration_entry_wait_huge(struct
vm_area_struct*vma, unsigned long addr, p
* If migration entry existed, safe to release vma lock
* here because the pgtable page won't be freed without the
* pgtable lock released. See comment right above pgtablemm/migrate.c +1
-1-* lock release in migration_entry_wait_on_locked(). +* lock release in softleaf_entry_wait_on_locked(). */
hugetlb_vma_unlock_read(vma);mm/migrate.c +1
-1-migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return;
}mm/migrate.c +1
-1@@ -552,7 +552,7 @@ void pmd_migration_entry_wait(struct mm_struct *mm, pmd_t *pmd) ptl = pmd_lock(mm, pmd); if (!pmd_is_migration_entry(*pmd)) goto unlock; -migration_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl); +softleaf_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl); return;unlock:
spin_unlock(ptl);mm/migrate_device.c +0
-0@@ -176,7 +176,7 @@ static int migrate_vma_collect_huge_pmd(pmd_t *pmdp, unsigned long start, }
if (softleaf_is_migration(entry)) {mm/migrate_device.c +1
-1-migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);
spin_unlock(ptl);
return-EAGAIN;
}
Quoted 201 lines · Thomas Hellström
If
hmm_range_fault()fails afolio_trylock()indo_swap_page, trying to acquire the lock of a device-private folio for migration, to ram, the function will spin until it succeeds grabbing the lock.However, if the process holding the lock is depending on a work item to be completed, which is scheduled on the same CPU as the spinning
hmm_range_fault(), that work item might be starved and we end up in a livelock / starvation situation which is never resolved.This can happen, for example if the process holding the device-private folio lock is stuck in
migrate_device_unmap()->lru_add_drain_all()
Thelru_add_drain_all()function requires a short work-item to be run on all online cpus to complete.A prerequisite for this to happen is:
a) Both zone device and system memory folios are considered inmigrate_device_unmap(), so that there is a reason to calllru_add_drain_all()for a system memory folio while a folio lock is held on a zone device folio.
b) The zone device folio has an initial mapcount > 1 which causes at least one migration PTE entry insertion to be deferred totry_to_migrate(), which can happen after the call tolru_add_drain_all().
c) No or voluntary only preemption.This all seems pretty unlikely to happen, but indeed is hit by the "
xe_exec_system_allocator" igt test.Resolve this by waiting for the folio to be unlocked if the
folio_trylock()fails in thedo_swap_page()function.Rename the
migration_entry_wait_on_locked()function tosoftleaf_entry_wait_unlock()and update its documentation to indicate the new use-case.Future code improvements might consider moving
thelru_add_drain_all()call inmigrate_device_unmap()to be called *after* all pages have migration entries inserted. That would eliminate also b) above.v2:
- Instead of acond_resched()in thehmm_range_fault()function, eliminate the problem by waiting for the folio to be unlocked indo_swap_page()(Alistair Popple, Andrew Morton)
v3:
- Add a stubmigration_entry_wait_on_locked()for the !CONFIG_MIGRATION case. (Kernel Test Robot)
v4:
- Renamemigrate_entry_wait_on_locked()tosoftleaf_entry_wait_on_locked()and update docs (Alistair Popple)Suggested-by Alistair Popple <[email protected]>Fixes 1afaeb8293c9 ("mm/migrate: Trylock device page in do_swap_page")Cc Ralph Campbell <[email protected]>Cc Christoph Hellwig <[email protected]>Cc Jason Gunthorpe <[email protected]>Cc Jason Gunthorpe <[email protected]>Cc Leon Romanovsky <[email protected]>Cc Andrew Morton <[email protected]>Cc Matthew Brost <[email protected]>Cc John Hubbard <[email protected]>Cc Alistair Popple <[email protected]>Cc <[email protected]>Signed-off-by Thomas Hellström <[email protected]>Cc <[email protected]> # v6.15+Reviewed-by John Hubbard <[email protected]> #v3--- include/linux/migrate.h | 8 +++++++- mm/filemap.c | 15 ++++++++++----- mm/memory.c | 3 ++- mm/migrate.c | 8 ++++---- mm/migrate_device.c | 2 +- 5 files changed, 24 insertions(+), 12 deletions(-)include/linux/migrate.h +7
-1@@ -65,7 +65,7 @@ bool isolate_folio_to_list(struct folio *folio, struct list_head *list);int migrate_huge_page_move_mapping (struct address_space *mapping,struct folio *dst,struct folio *src); -void migration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl) +void softleaf_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl) __releases(ptl);void folio_migrate_flags (struct folio *newfolio,struct folio *folio); int folio_migrate_mapping(struct address_space *mapping,@@ -97,6 +97,12 @@ static inline int set_movable_ops(const struct movable_operations *ops, enum pag return -ENOSYS; } +static inline void softleaf_entry_wait_on_locked (softleaf_t entry,spinlock_t *ptl) +__releases (ptl) +{ +spin_unlock (ptl); +} +#endif /* CONFIG_MIGRATION */ #ifdef CONFIG_NUMA_BALANCING mm/filemap.c +10
-5@@ -1379,14 +1379,16 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr,#ifdef CONFIG_MIGRATION /** -* migration_entry_wait_on_locked - Wait for a migration entry to be removed -* @entry: migration swap entry. +* softleaf_entry_wait_on_locked - Wait for a migration entry or +* device_private entry to be removed. +* @entry: migration or device_private swap entry. * @ptl: already locked ptl. This function will drop the lock. * -* Wait for a migration entry referencing the given page to be removed. This is +* Wait for a migration entry referencing the given page, or device_private +* entry referencing a dvice_private page to be unlocked. This is * equivalent to folio_put_wait_locked(folio, TASK_UNINTERRUPTIBLE) except * this can be called without taking a reference on the page. Instead this -* should be called while holding the ptl for the migration entry referencing +* should be called while holding the ptl for @entry referencing * the page. * * Returns after unlocking the ptl. @@ -1394,7 +1396,7 @@ static inline int folio_wait_bit_common(struct folio *folio, int bit_nr,* This follows the same logic as folio_wait_bit_common() so see the comments * there. */ -void migration_entry_wait_on_locked (softleaf_t entry,spinlock_t *ptl) +void softleaf_entry_wait_on_locked (softleaf_t entry,spinlock_t *ptl)__releases (ptl) {struct wait_page_queue wait_page;@@ -1428,6 +1430,9 @@ void migration_entry_wait_on_locked(softleaf_t entry, spinlock_t *ptl)* If a migration entry exists for the page the migration path must hold * a valid reference to the page, and it must take the ptl to remove the * migration entry. So the page is valid until the ptl is dropped. +* Similarly any path attempting to drop the last reference to a +* device-private page needs to grab the ptl to remove the device-private +* entry. */ spin_unlock (ptl);mm/memory.c +2
-1@@ -4684,7 +4684,8 @@ vm_fault_t do_swap_page(struct vm_fault *vmf)unlock_page (vmf->page);put_page (vmf->page); }else { -pte_unmap_unlock (vmf->pte, vmf->ptl); +pte_unmap (vmf->pte); +softleaf_entry_wait_on_locked (entry, vmf->ptl); } }else if (softleaf_is_hwpoison (entry)) { ret =VM_FAULT_HWPOISON ;mm/migrate.c +4
-4@@ -499,7 +499,7 @@ void migration_entry_wait(struct mm_struct *mm, pmd_t *pmd,if (!softleaf_is_migration (entry)) goto out; -migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return ; out:spin_unlock (ptl);@@ -531,10 +531,10 @@ void migration_entry_wait_huge(struct vm_area_struct *vma, unsigned long addr, p* If migration entry existed, safe to release vma lock * here because the pgtable page won't be freed without the * pgtable lock released. See comment right above pgtable -* lock release in migration_entry_wait_on_locked(). +* lock release in softleaf_entry_wait_on_locked(). */ hugetlb_vma_unlock_read (vma); -migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);return ; }@@ -552,7 +552,7 @@ void pmd_migration_entry_wait(struct mm_struct *mm, pmd_t *pmd) ptl =pmd_lock (mm, pmd);if (!pmd_is_migration_entry (*pmd)) goto unlock; -migration_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl); +softleaf_entry_wait_on_locked (softleaf_from_pmd (*pmd), ptl);return ; unlock:spin_unlock (ptl);mm/migrate_device.c +0
-0
mm/migrate_device.c static int migrate_vma_collect_huge_pmd(pmd_t *pmdp, unsigned long start, · line 182
Quoted 8 lines
mm/migrate_device.c +1
-1@@ -176,7 +176,7 @@ static int migrate_vma_collect_huge_pmd(pmd_t *pmdp, unsigned long start, }if (softleaf_is_migration (entry)) { -migration_entry_wait_on_locked (entry, ptl); +softleaf_entry_wait_on_locked (entry, ptl);spin_unlock (ptl);return -EAGAIN ; }
Seems reasonable