Hello,

kernel test robot noticed "RIP:drm_mode_config_validate[drm]" on:

commit: 860e748bddcc9291cbdd23e801640aeeba30cc44 ("drm: ensure blend mode 
supported if pixel format with alpha exposed")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

[test failed on linux-next/master b4515cf4156356e8f4fe6e0fdc17f59adab9772f]

in testcase: igt
version: igt-x86_64-6d3784ab5-1_20260718
with following parameters:

        group: group-11



config: x86_64-rhel-9.4-func
compiler: gcc-14
test machine: 10 threads 1 sockets Intel(R) Core Ultra Series 3 @ 3.20GHz 
(Panther Lake) with 32G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)



If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]



kern  :info  : [  115.169208] [   T1505] ------------[ cut here ]------------
kern  :warn  : [  115.169247] [   T1505] [PLANE:35:plane-0] pixel format with 
alpha exposed but blend mode not setup
kern  :warn  : [  115.169251] [   T1505] WARNING: 
drivers/gpu/drm/drm_mode_config.c:872 at drm_mode_config_validate+0x9b7/0x12f0 
[drm], CPU#3: vkms_configfs/1505
kern  :warn  : [  115.169350] [   T1505] Modules linked in: vkms(+) 
drm_shmem_helper vmwgfx i915 intel_gtt amdgpu drm_buddy amdxcp 
drm_panel_backlight_quirks gpu_sched drm_ttm_helper ttm drm_exec 
drm_suballoc_helper drm_display_helper cec drm_client_lib drm_kms_helper btrfs 
libblake2b raid6_pq zstd_compress xor binfmt_misc snd_hda_intel 
snd_sof_pci_intel_ptl snd_sof_pci_intel_lnl snd_sof_pci_intel_mtl 
snd_sof_intel_hda_generic soundwire_intel snd_sof_intel_hda_sdw_bpt 
snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_intel_hda_mlink 
snd_sof_intel_hda soundwire_cadence snd_sof_pci snd_sof_xtensa_dsp 
snd_soc_sdw_utils snd_sof intel_rapl_msr intel_uncore_frequency 
intel_uncore_frequency_common snd_sof_utils x86_pkg_temp_thermal 
snd_hda_ext_core intel_powerclamp snd_hda_codec coretemp snd_hda_core 
snd_intel_dspcfg snd_intel_sdw_acpi kvm_intel snd_soc_acpi_intel_match 
snd_soc_acpi_intel_sdca_quirks soundwire_generic_allocation snd_soc_acpi 
snd_hwdep crc8 soundwire_bus kvm snd_soc_sdca snd_soc_core irqbypass spi_nor 
snd_compress mtd
kern  :warn  : [  115.169438] [   T1505]  i2c_designware_platform 
i2c_designware_core wmi_bmof snd_pcm intel_cstate mei_gsc_proxy pl2303 
intel_th_gth intel_uncore snd_timer pcspkr i2c_i801 intel_th_pci snd 
spi_intel_pci processor_thermal_device_pci video intel_th i2c_smbus spi_intel 
soundcore processor_thermal_device intel_pmc_core processor_thermal_wt_hint 
platform_temperature_control processor_thermal_soc_slider int3403_thermal 
processor_thermal_rfim processor_thermal_rapl pmt_telemetry intel_rapl_common 
pmt_discovery intel_hid processor_thermal_wt_req pmt_class int3400_thermal 
intel_lpss_pci processor_thermal_power_floor acpi_tad wmi acpi_thermal_rel 
sparse_keymap acpi_pad intel_pmc_ssram_telemetry thunderbolt mei_me 
processor_thermal_mbox intel_pmc_pwrm_telemetry intel_lpss mei idma64 
int340x_thermal_zone igen6_edac intel_vsec drm fuse
kern  :warn  : [  115.169555] [   T1505] CPU: 3 UID: 0 PID: 1505 Comm: 
vkms_configfs Not tainted 7.2.0-rc2+ #1 PREEMPT(lazy)
kern  :warn  : [  115.169566] [   T1505] Hardware name: Intel Corporation 
Panther Lake Client Platform/PTL-UH LP5 T3 RVP1, BIOS 
PTLPFWI1.R00.3383.D10.2510222219 10/22/2025
kern  :warn  : [  115.169574] [   T1505] RIP: 0010:drm_mode_config_validate 
(gpu/drm/drm_mode_config.c:872 (discriminator 1) gpu/drm/drm_mode_config.c:938 
(discriminator 1)) drm
kern  :warn  : [  115.169628] [   T1505] Code: 8d 7d 50 49 8b 55 18 48 89 f8 48 
c1 e8 03 42 0f b6 04 38 84 c0 74 08 3c 03 0f 8e 1c 07 00 00 48 8d 3d 49 38 d7 
ff 41 8b 75 50 <67> 48 0f b9 3a e9 5e fe ff ff 49 8d bc 24 b8 02 00 00 48 b8 00 
00
All code
========
   0:   8d 7d 50                lea    0x50(%rbp),%edi
   3:   49 8b 55 18             mov    0x18(%r13),%rdx
   7:   48 89 f8                mov    %rdi,%rax
   a:   48 c1 e8 03             shr    $0x3,%rax
   e:   42 0f b6 04 38          movzbl (%rax,%r15,1),%eax
  13:   84 c0                   test   %al,%al
  15:   74 08                   je     0x1f
  17:   3c 03                   cmp    $0x3,%al
  19:   0f 8e 1c 07 00 00       jle    0x73b
  1f:   48 8d 3d 49 38 d7 ff    lea    -0x28c7b7(%rip),%rdi        # 
0xffffffffffd7386f
  26:   41 8b 75 50             mov    0x50(%r13),%esi
  2a:*  67 48 0f b9 3a          ud1    (%edx),%rdi              <-- trapping 
instruction
  2f:   e9 5e fe ff ff          jmp    0xfffffffffffffe92
  34:   49 8d bc 24 b8 02 00    lea    0x2b8(%r12),%rdi
  3b:   00 
  3c:   48                      rex.W
  3d:   b8                      .byte 0xb8
        ...

Code starting with the faulting instruction
===========================================
   0:   67 48 0f b9 3a          ud1    (%edx),%rdi
   5:   e9 5e fe ff ff          jmp    0xfffffffffffffe68
   a:   49 8d bc 24 b8 02 00    lea    0x2b8(%r12),%rdi
  11:   00 
  12:   48                      rex.W
  13:   b8                      .byte 0xb8
        ...
kern  :warn  : [  115.169639] [   T1505] RSP: 0018:ffffc90006047608 EFLAGS: 
00010246
kern  :warn  : [  115.169648] [   T1505] RAX: 0000000000000000 RBX: 
ffffed1035930c14 RCX: 0000000000000001
kern  :warn  : [  115.169655] [   T1505] RDX: ffff88819f72f4e0 RSI: 
0000000000000023 RDI: ffffffffc025ead0
kern  :warn  : [  115.169662] [   T1505] RBP: ffffed1035930c15 R08: 
0000000000000001 R09: 0000000000000004
kern  :warn  : [  115.169668] [   T1505] R10: ffff88820ae8c278 R11: 
0000000000000001 R12: ffff88820ae8c000
kern  :warn  : [  115.169675] [   T1505] R13: ffff8881ac986028 R14: 
0000000000000000 R15: dffffc0000000000
kern  :warn  : [  115.169681] [   T1505] FS:  00007f9d6f97dc00(0000) 
GS:ffff8887ae227000(0000) knlGS:0000000000000000
kern  :warn  : [  115.169689] [   T1505] CS:  0010 DS: 0000 ES: 0000 CR0: 
0000000080050033
kern  :warn  : [  115.169695] [   T1505] CR2: 00007ffc2d4d5c68 CR3: 
000000014675a006 CR4: 0000000108f72ef0
kern  :warn  : [  115.169702] [   T1505] PKRU: 55555554
kern  :warn  : [  115.169707] [   T1505] Call Trace:
kern  :warn  : [  115.169712] [   T1505]  <TASK>
kern  :warn  : [  115.169719] [   T1505] drm_dev_register 
(gpu/drm/drm_drv.c:1067) drm
kern  :warn  : [  115.169783] [   T1505] vkms_create 
(gpu/drm/vkms/vkms_drv.c:208) vkms
kern  :warn  : [  115.169866] [   T1505] vkms_init (gpu/drm/vkms/vkms_drv.c:74) 
vkms
kern  :warn  : [  115.169879] [   T1505]  ? __pfx_init_module (vkms.mod.c:?) 
vkms
kern  :warn  : [  115.169892] [   T1505]  do_one_initcall (main.c:1347)
kern  :warn  : [  115.169902] [   T1505]  ? __pfx_do_one_initcall 
(trace/events/initcall.h:10)
kern  :warn  : [  115.169910] [   T1505]  ? kasan_save_track (kasan/common.c:78)
kern  :warn  : [  115.169918] [   T1505]  ? __kasan_kmalloc (kasan/common.c:398 
kasan/common.c:415)
kern  :warn  : [  115.169925] [   T1505]  ? __kmalloc_cache_noprof 
(linux/kasan.h:263 slub.c:5515)
kern  :warn  : [  115.169933] [   T1505]  ? do_init_module (linux/slab.h:969 
module/main.c:3094)
kern  :warn  : [  115.169941] [   T1505]  ? kasan_unpoison (kasan/shadow.c:146 
kasan/shadow.c:178)
kern  :warn  : [  115.169949] [   T1505]  do_init_module (module/main.c:3106)
kern  :warn  : [  115.169957] [   T1505]  ? __pfx_do_init_module 
(linux/list.h:226)
kern  :warn  : [  115.169965] [   T1505]  ? kfree (linux/kasan.h:235 
slub.c:2705 slub.c:6405 slub.c:6720)
kern  :warn  : [  115.169972] [   T1505]  ? klp_module_coming 
(livepatch/core.c:1321)
kern  :warn  : [  115.169980] [   T1505]  load_module (module/main.c:3580)
kern  :warn  : [  115.169988] [   T1505]  ? kernel_read_file 
(linux/instrumented.h:112 linux/atomic/atomic-instrumented.h:435 
linux/fs.h:2824 kernel_read_file.c:122)
kern  :warn  : [  115.169995] [   T1505]  ? __pfx_load_module 
(module/main.c:3014)
kern  :warn  : [  115.170002] [   T1505]  ? kasan_save_track (kasan/common.c:78)
kern  :warn  : [  115.170010] [   T1505]  init_module_from_file 
(module/main.c:3777)
kern  :warn  : [  115.170016] [   T1505]  ? __pfx_init_module_from_file 
(module/main.c:3634)
kern  :warn  : [  115.170022] [   T1505]  ? __pfx___fsnotify_parent 
(notify/fsnotify.c:389 (discriminator 2))
kern  :warn  : [  115.170030] [   T1505]  ? do_sys_openat2 (linux/fs.h:2559 
linux/fs.h:2561 open.c:1367)
kern  :warn  : [  115.170037] [   T1505]  ? _raw_spin_lock 
(linux/instrumented.h:55 linux/atomic/atomic-instrumented.h:1301 
asm-generic/qspinlock.h:111 linux/spinlock.h:187 linux/spinlock_api_smp.h:159 
locking/spinlock.c:158)
kern  :warn  : [  115.170045] [   T1505]  ? __pfx__raw_spin_lock 
(locking/spinlock.c:331)
kern  :warn  : [  115.170053] [   T1505]  idempotent_init_module 
(module/main.c:3789)
kern  :warn  : [  115.170059] [   T1505]  ? __pfx_idempotent_init_module 
(module/main.c:3778)
kern  :warn  : [  115.170066] [   T1505]  ? fdget (linux/instrumented.h:82 
linux/atomic/atomic-instrumented.h:49 file.c:1194 file.c:1208)
kern  :warn  : [  115.170073] [   T1505]  ? security_capable (security.c:660 
(discriminator 8))
kern  :warn  : [  115.170081] [   T1505]  __x64_sys_finit_module 
(module/main.c:3815 module/main.c:3799 module/main.c:3799)
kern  :warn  : [  115.170087] [   T1505]  ? __x64_sys_pread64 (read_write.c:764 
read_write.c:772 read_write.c:769 read_write.c:769)
kern  :warn  : [  115.170095] [   T1505]  do_syscall_64 
(x86/entry/syscall_64.c:63 x86/entry/syscall_64.c:94)
kern  :warn  : [  115.170103] [   T1505]  ? do_syscall_64 
(linux/irq-entry-common.h:210 linux/irq-entry-common.h:230 
linux/entry-common.h:318 x86/entry/syscall_64.c:100)
kern  :warn  : [  115.170110] [   T1505]  ? ksys_read (read_write.c:716)
kern  :warn  : [  115.170117] [   T1505]  ? __pfx_ksys_read (read_write.c:799)
kern  :warn  : [  115.170125] [   T1505]  ? do_syscall_64 
(linux/irq-entry-common.h:210 linux/irq-entry-common.h:230 
linux/entry-common.h:318 x86/entry/syscall_64.c:100)
kern  :warn  : [  115.170132] [   T1505]  ? do_syscall_64 
(linux/irq-entry-common.h:210 linux/irq-entry-common.h:230 
linux/entry-common.h:318 x86/entry/syscall_64.c:100)
kern  :warn  : [  115.170139] [   T1505]  ? __x64_sys_openat (open.c:1374 
open.c:1390 open.c:1385 open.c:1385)
kern  :warn  : [  115.170146] [   T1505]  ? __pfx___x64_sys_openat (open.c:1378)
kern  :warn  : [  115.170153] [   T1505]  ? __pfx_ksys_read (read_write.c:799)
kern  :warn  : [  115.170160] [   T1505]  ? do_syscall_64 
(linux/irq-entry-common.h:210 linux/irq-entry-common.h:230 
linux/entry-common.h:318 x86/entry/syscall_64.c:100)
kern  :warn  : [  115.170167] [   T1505]  ? do_syscall_64 
(linux/irq-entry-common.h:210 linux/irq-entry-common.h:230 
linux/entry-common.h:318 x86/entry/syscall_64.c:100)
kern  :warn  : [  115.170174] [   T1505]  ? do_syscall_64 
(linux/randomize_kstack.h:57 x86/entry/syscall_64.c:92)
kern  :warn  : [  115.170181] [   T1505]  asm_fred_entrypoint_user 
(x86/entry/entry_64_fred.S:39)
kern  :warn  : [  115.170188] [   T1505] RIP: 0033:0x7f9d71cd37b9
kern  :warn  : [  115.170196] [   T1505] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 
00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 
4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 27 66 0d 00 f7 d8 64 89 01 
48
All code
========
   0:   ff c3                   inc    %ebx
   2:   66 2e 0f 1f 84 00 00    cs nopw 0x0(%rax,%rax,1)
   9:   00 00 00 
   c:   0f 1f 44 00 00          nopl   0x0(%rax,%rax,1)
  11:   48 89 f8                mov    %rdi,%rax
  14:   48 89 f7                mov    %rsi,%rdi
  17:   48 89 d6                mov    %rdx,%rsi
  1a:   48 89 ca                mov    %rcx,%rdx
  1d:   4d 89 c2                mov    %r8,%r10
  20:   4d 89 c8                mov    %r9,%r8
  23:   4c 8b 4c 24 08          mov    0x8(%rsp),%r9
  28:   0f 05                   syscall
  2a:*  48 3d 01 f0 ff ff       cmp    $0xfffffffffffff001,%rax         <-- 
trapping instruction
  30:   73 01                   jae    0x33
  32:   c3                      ret
  33:   48 8b 0d 27 66 0d 00    mov    0xd6627(%rip),%rcx        # 0xd6661
  3a:   f7 d8                   neg    %eax
  3c:   64 89 01                mov    %eax,%fs:(%rcx)
  3f:   48                      rex.W

Code starting with the faulting instruction
===========================================
   0:   48 3d 01 f0 ff ff       cmp    $0xfffffffffffff001,%rax
   6:   73 01                   jae    0x9
   8:   c3                      ret
   9:   48 8b 0d 27 66 0d 00    mov    0xd6627(%rip),%rcx        # 0xd6637
  10:   f7 d8                   neg    %eax
  12:   64 89 01                mov    %eax,%fs:(%rcx)
  15:   48                      rex.W


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260730/[email protected]



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to