dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3] drm: Check output polling initialized before disabling
@ 2024-01-15  4:40 Shradha Gupta
  2024-01-19  6:46 ` kernel test robot
  0 siblings, 1 reply; 4+ messages in thread
From: Shradha Gupta @ 2024-01-15  4:40 UTC (permalink / raw)
  To: linux-kernel, Maarten Lankhorst, Maxime Ripard, David Airlie,
	Daniel Vetter, dri-devel, Saurabh Singh Sengar
  Cc: Shradha Gupta, Shradha Gupta

In drm_kms_helper_poll_disable() check if output polling
support is initialized before disabling polling. If not flag
this as a warning.
Additionally in drm_mode_config_helper_suspend() and
drm_mode_config_helper_resume() calls, that re the callers of these
functions, avoid invoking them if polling is not initialized.
For drivers like hyperv-drm, that do not initialize connector
polling, if suspend is called without this check, it leads to
suspend failure with following stack
[  770.719392] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  770.720592] printk: Suspending console(s) (use no_console_suspend to debug)
[  770.948823] ------------[ cut here ]------------
[  770.948824] WARNING: CPU: 1 PID: 17197 at kernel/workqueue.c:3162 __flush_work.isra.0+0x212/0x230
[  770.948831] Modules linked in: rfkill nft_counter xt_conntrack xt_owner udf nft_compat crc_itu_t nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink vfat fat mlx5_ib ib_uverbs ib_core mlx5_core intel_rapl_msr intel_rapl_common kvm_amd ccp mlxfw kvm psample hyperv_drm tls drm_shmem_helper drm_kms_helper irqbypass pcspkr syscopyarea sysfillrect sysimgblt hv_balloon hv_utils joydev drm fuse xfs libcrc32c pci_hyperv pci_hyperv_intf sr_mod sd_mod cdrom t10_pi sg hv_storvsc scsi_transport_fc hv_netvsc serio_raw hyperv_keyboard hid_hyperv crct10dif_pclmul crc32_pclmul crc32c_intel hv_vmbus ghash_clmulni_intel dm_mirror dm_region_hash dm_log dm_mod
[  770.948863] CPU: 1 PID: 17197 Comm: systemd-sleep Not tainted 5.14.0-362.2.1.el9_3.x86_64 #1
[  770.948865] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS Hyper-V UEFI Release v4.1 05/09/2022
[  770.948866] RIP: 0010:__flush_work.isra.0+0x212/0x230
[  770.948869] Code: 8b 4d 00 4c 8b 45 08 89 ca 48 c1 e9 04 83 e2 08 83 e1 0f 83 ca 02 89 c8 48 0f ba 6d 00 03 e9 25 ff ff ff 0f 0b e9 4e ff ff ff <0f> 0b 45 31 ed e9 44 ff ff ff e8 8f 89 b2 00 66 66 2e 0f 1f 84 00
[  770.948870] RSP: 0018:ffffaf4ac213fb10 EFLAGS: 00010246
[  770.948871] RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff8c992857
[  770.948872] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff9aad82b00330
[  770.948873] RBP: ffff9aad82b00330 R08: 0000000000000000 R09: ffff9aad87ee3d10
[  770.948874] R10: 0000000000000200 R11: 0000000000000000 R12: ffff9aad82b00330
[  770.948874] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
[  770.948875] FS:  00007ff1b2f6bb40(0000) GS:ffff9aaf37d00000(0000) knlGS:0000000000000000
[  770.948878] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  770.948878] CR2: 0000555f345cb666 CR3: 00000001462dc005 CR4: 0000000000370ee0
[  770.948879] Call Trace:
[  770.948880]  <TASK>
[  770.948881]  ? show_trace_log_lvl+0x1c4/0x2df
[  770.948884]  ? show_trace_log_lvl+0x1c4/0x2df
[  770.948886]  ? __cancel_work_timer+0x103/0x190
[  770.948887]  ? __flush_work.isra.0+0x212/0x230
[  770.948889]  ? __warn+0x81/0x110
[  770.948891]  ? __flush_work.isra.0+0x212/0x230
[  770.948892]  ? report_bug+0x10a/0x140
[  770.948895]  ? handle_bug+0x3c/0x70
[  770.948898]  ? exc_invalid_op+0x14/0x70
[  770.948899]  ? asm_exc_invalid_op+0x16/0x20
[  770.948903]  ? __flush_work.isra.0+0x212/0x230
[  770.948905]  __cancel_work_timer+0x103/0x190
[  770.948907]  ? _raw_spin_unlock_irqrestore+0xa/0x30
[  770.948910]  drm_kms_helper_poll_disable+0x1e/0x40 [drm_kms_helper]
[  770.948923]  drm_mode_config_helper_suspend+0x1c/0x80 [drm_kms_helper]
[  770.948933]  ? __pfx_vmbus_suspend+0x10/0x10 [hv_vmbus]
[  770.948942]  hyperv_vmbus_suspend+0x17/0x40 [hyperv_drm]
[  770.948944]  ? __pfx_vmbus_suspend+0x10/0x10 [hv_vmbus]
[  770.948951]  dpm_run_callback+0x4c/0x140
[  770.948954]  __device_suspend_noirq+0x74/0x220
[  770.948956]  dpm_noirq_suspend_devices+0x148/0x2a0
[  770.948958]  dpm_suspend_end+0x54/0xe0
[  770.948960]  create_image+0x14/0x290
[  770.948963]  hibernation_snapshot+0xd6/0x200
[  770.948964]  hibernate.cold+0x8b/0x1fb
[  770.948967]  state_store+0xcd/0xd0
[  770.948969]  kernfs_fop_write_iter+0x124/0x1b0
[  770.948973]  new_sync_write+0xff/0x190
[  770.948976]  vfs_write+0x1ef/0x280
[  770.948978]  ksys_write+0x5f/0xe0
[  770.948979]  do_syscall_64+0x5c/0x90
[  770.948981]  ? syscall_exit_work+0x103/0x130
[  770.948983]  ? syscall_exit_to_user_mode+0x12/0x30
[  770.948985]  ? do_syscall_64+0x69/0x90
[  770.948986]  ? do_syscall_64+0x69/0x90
[  770.948987]  ? do_user_addr_fault+0x1d6/0x6a0
[  770.948989]  ? do_syscall_64+0x69/0x90
[  770.948990]  ? exc_page_fault+0x62/0x150
[  770.948992]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
[  770.948995] RIP: 0033:0x7ff1b293eba7
[  770.949010] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
[  770.949011] RSP: 002b:00007ffde3912128 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[  770.949012] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007ff1b293eba7
[  770.949013] RDX: 0000000000000005 RSI: 00007ffde3912210 RDI: 0000000000000004
[  770.949014] RBP: 00007ffde3912210 R08: 000055d7dd4c9510 R09: 00007ff1b29b14e0
[  770.949014] R10: 00007ff1b29b13e0 R11: 0000000000000246 R12: 0000000000000005
[  770.949015] R13: 000055d7dd4c53e0 R14: 0000000000000005 R15: 00007ff1b29f69e0
[  770.949016]  </TASK>
[  770.949017] ---[ end trace e6fa0618bfa2f31d ]---

Built-on: Rhel9, Ubuntu22
Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
---
Changes in v3
 * Also added checks in the _suspend and _resume calls to avoid driver bugs
 * Added WARN_ON around the checks in _enable and _disable calls
 * Fixed the patch description to reflect new changes
---
 drivers/gpu/drm/drm_modeset_helper.c | 19 ++++++++++++++++---
 drivers/gpu/drm/drm_probe_helper.c   | 13 +++++++++++--
 2 files changed, 27 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/drm_modeset_helper.c b/drivers/gpu/drm/drm_modeset_helper.c
index f858dfedf2cf..2c582020cb42 100644
--- a/drivers/gpu/drm/drm_modeset_helper.c
+++ b/drivers/gpu/drm/drm_modeset_helper.c
@@ -193,13 +193,22 @@ int drm_mode_config_helper_suspend(struct drm_device *dev)
 
 	if (!dev)
 		return 0;
+	/*
+	 * Don't disable polling if it was never initialized
+	 */
+	if (dev->mode_config.poll_enabled)
+		drm_kms_helper_poll_disable(dev);
 
-	drm_kms_helper_poll_disable(dev);
 	drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 1);
 	state = drm_atomic_helper_suspend(dev);
 	if (IS_ERR(state)) {
 		drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 0);
-		drm_kms_helper_poll_enable(dev);
+		/*
+		 * Don't enable polling if it was never initialized
+		 */
+		if (dev->mode_config.poll_enabled)
+			drm_kms_helper_poll_enable(dev);
+
 		return PTR_ERR(state);
 	}
 
@@ -239,7 +248,11 @@ int drm_mode_config_helper_resume(struct drm_device *dev)
 	dev->mode_config.suspend_state = NULL;
 
 	drm_fb_helper_set_suspend_unlocked(dev->fb_helper, 0);
-	drm_kms_helper_poll_enable(dev);
+	/*
+	 * Don't enable polling if it is not initialized
+	 */
+	if (dev->mode_config.poll_enabled)
+		drm_kms_helper_poll_enable(dev);
 
 	return ret;
 }
diff --git a/drivers/gpu/drm/drm_probe_helper.c b/drivers/gpu/drm/drm_probe_helper.c
index 3f479483d7d8..bd76603dc387 100644
--- a/drivers/gpu/drm/drm_probe_helper.c
+++ b/drivers/gpu/drm/drm_probe_helper.c
@@ -293,14 +293,17 @@ static void reschedule_output_poll_work(struct drm_device *dev)
  * Drivers can call this helper from their device resume implementation. It is
  * not an error to call this even when output polling isn't enabled.
  *
+ * If device polling was never initialized before, this call will trigger a
+ * warning and return.
+ *
  * Note that calls to enable and disable polling must be strictly ordered, which
  * is automatically the case when they're only call from suspend/resume
  * callbacks.
  */
 void drm_kms_helper_poll_enable(struct drm_device *dev)
 {
-	if (!dev->mode_config.poll_enabled || !drm_kms_helper_poll ||
-	    dev->mode_config.poll_running)
+	if (drm_WARN_ON_ONCE(dev, !dev->mode_config.poll_enabled) ||
+	    !drm_kms_helper_poll || dev->mode_config.poll_running)
 		return;
 
 	if (drm_kms_helper_enable_hpd(dev) ||
@@ -871,12 +874,18 @@ EXPORT_SYMBOL(drm_kms_helper_is_poll_worker);
  * not an error to call this even when output polling isn't enabled or already
  * disabled. Polling is re-enabled by calling drm_kms_helper_poll_enable().
  *
+ * If however, the polling was never initialized, this call will trigger a
+ * warning and return
+ *
  * Note that calls to enable and disable polling must be strictly ordered, which
  * is automatically the case when they're only call from suspend/resume
  * callbacks.
  */
 void drm_kms_helper_poll_disable(struct drm_device *dev)
 {
+	if (drm_WARN_ON(dev, !dev->mode_config.poll_enabled))
+		return;
+
 	if (dev->mode_config.poll_running)
 		drm_kms_helper_disable_hpd(dev);
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v3] drm: Check output polling initialized before disabling
  2024-01-15  4:40 [PATCH v3] drm: Check output polling initialized before disabling Shradha Gupta
@ 2024-01-19  6:46 ` kernel test robot
  2024-01-22 10:49   ` Shradha Gupta
  0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2024-01-19  6:46 UTC (permalink / raw)
  To: Shradha Gupta
  Cc: lkp, linux-kernel, Maxime Ripard, oliver.sang, dri-devel,
	Daniel Vetter, Shradha Gupta, oe-lkp, Saurabh Singh Sengar,
	David Airlie, Shradha Gupta



Hello,

kernel test robot noticed "WARNING:at_drivers/gpu/drm/drm_probe_helper.c:#drm_kms_helper_poll_enable[drm_kms_helper]" on:

commit: 98a690eb11a5f722cfff1dd5c3ac46f9ba326919 ("[PATCH v3] drm: Check output polling initialized before disabling")
url: https://github.com/intel-lab-lkp/linux/commits/Shradha-Gupta/drm-Check-output-polling-initialized-before-disabling/20240115-124300
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch subject: [PATCH v3] drm: Check output polling initialized before disabling

in testcase: boot

compiler: gcc-12
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

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


+-------------------------------------------------------------------------------------------+------------+------------+
|                                                                                           | 45017df303 | 98a690eb11 |
+-------------------------------------------------------------------------------------------+------------+------------+
| WARNING:at_drivers/gpu/drm/drm_probe_helper.c:#drm_kms_helper_poll_enable[drm_kms_helper] | 0          | 8          |
| RIP:drm_kms_helper_poll_enable[drm_kms_helper]                                            | 0          | 8          |
+-------------------------------------------------------------------------------------------+------------+------------+


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 <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202401191128.db8423f1-oliver.sang@intel.com



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240119/202401191128.db8423f1-oliver.sang@intel.com



[   19.037694][  T142] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[   19.038726][  T142] ------------[ cut here ]------------
[   19.039197][  T142] bochs-drm 0000:00:02.0: drm_WARN_ON_ONCE(!dev->mode_config.poll_enabled)
[   19.039241][  T142] WARNING: CPU: 0 PID: 142 at drivers/gpu/drm/drm_probe_helper.c:305 drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
[   19.040963][  T142] Modules linked in: parport(+) bochs(+) joydev serio_raw drm_vram_helper ata_piix(+) drm_ttm_helper ttm libata ipmi_devintf ipmi_msghandler drm_kms_helper i2c_piix4 fuse drm ip_tables
[   19.042413][  T142] CPU: 0 PID: 142 Comm: systemd-udevd Not tainted 6.7.0-rc3-00770-g98a690eb11a5 #1
[   19.043146][  T142] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[   19.043972][  T142] RIP: 0010:drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
[   19.044685][  T142] Code: 48 8b 6b 50 48 85 ed 74 41 48 89 df e8 30 e0 5d c3 48 c7 c1 e0 8c 4b c0 48 89 ea 48 c7 c7 40 8a 4b c0 48 89 c6 e8 77 a3 d3 c1 <0f> 0b e9 ae fd ff ff e8 9b c6 53 c2 e9 4c fd ff ff 48 8b 7c 24 08
[   19.046268][  T142] RSP: 0000:ffffc900007ef1c0 EFLAGS: 00010286
[   19.046755][  T142] RAX: 0000000000000000 RBX: ffff888121dc40c0 RCX: 0000000000000027
[   19.047400][  T142] RDX: 0000000000000027 RSI: 0000000000000004 RDI: ffff8883af030848
[   19.048042][  T142] RBP: ffff888121d84260 R08: 0000000000000001 R09: ffffed1075e06109
[   19.048688][  T142] R10: ffff8883af03084b R11: 0000000000000001 R12: ffff88815688a7a0
[   19.049362][  T142] R13: 1ffff920000fde3b R14: 0000000000000000 R15: 0000000000000003
[   19.050001][  T142] FS:  0000000000000000(0000) GS:ffff8883af000000(0063) knlGS:00000000f7950b00
[   19.050722][  T142] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[   19.051259][  T142] CR2: 0000000058b17d6c CR3: 000000012463e000 CR4: 00000000000406f0
[   19.051892][  T142] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   19.052568][  T142] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   19.053242][  T142] Call Trace:
[   19.053531][  T142]  <TASK>
[   19.053780][  T142]  ? __warn+0xcd/0x260
[   19.054149][  T142]  ? drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
[   19.054787][  T142]  ? report_bug+0x267/0x2d0
[   19.055173][  T142]  ? handle_bug+0x3c/0x70
[   19.055523][  T142]  ? exc_invalid_op+0x17/0x40
[   19.055904][  T142]  ? asm_exc_invalid_op+0x1a/0x20
[   19.056332][  T142]  ? drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
[   19.056941][  T142]  ? drm_kms_helper_poll_fini+0x80/0x80 [drm_kms_helper]
[   19.057567][  T142]  ? drm_modeset_lock+0xbf/0x2e0 [drm]
[   19.058099][  T142]  drm_helper_probe_single_connector_modes+0x3b6/0xe70 [drm_kms_helper]
[   19.058788][  T142]  ? __drm_helper_update_and_validate+0xc30/0xc30 [drm_kms_helper]
[   19.059484][  T142]  ? __mutex_lock_slowpath+0x10/0x10
[   19.059924][  T142]  drm_client_modeset_probe+0x3ab/0xef0 [drm]
[   19.060491][  T142]  ? drm_client_firmware_config+0x1980/0x1980 [drm]
[   19.061233][  T142]  __drm_fb_helper_initial_config_and_unlock+0xfa/0x7c0 [drm_kms_helper]
[   19.061935][  T142]  ? __drm_fb_helper_find_sizes+0x1170/0x1170 [drm_kms_helper]
[   19.062577][  T142]  ? mutex_lock+0xa3/0xf0
[   19.062941][  T142]  ? __mutex_lock_slowpath+0x10/0x10
[   19.063398][  T142]  ? mutex_lock+0xa3/0xf0
[   19.063756][  T142]  ? __mutex_lock_slowpath+0x10/0x10
[   19.064214][  T142]  drm_fbdev_generic_client_hotplug+0x161/0x210 [drm_kms_helper]
[   19.064868][  T142]  drm_client_register+0x168/0x230 [drm]
[   19.065410][  T142]  bochs_pci_probe+0x68f/0x8c0 [bochs]
[   19.065860][  T142]  ? _raw_spin_lock_irqsave+0x8b/0xe0
[   19.066318][  T142]  ? bochs_hw_init+0x650/0x650 [bochs]
[   19.066821][  T142]  ? bochs_hw_init+0x650/0x650 [bochs]
[   19.067346][  T142]  local_pci_probe+0xda/0x180
[   19.067756][  T142]  pci_call_probe+0x160/0x510
[   19.068172][  T142]  ? _raw_spin_lock+0x85/0xe0
[   19.068575][  T142]  ? pci_dev_set_disconnected+0x30/0x30
[   19.069059][  T142]  ? kernfs_add_one+0x2d4/0x440
[   19.069483][  T142]  ? pci_assign_irq+0x8a/0x280
[   19.069892][  T142]  ? pci_match_device+0x38c/0x690
[   19.070338][  T142]  ? kernfs_put+0x1c/0x30
[   19.070700][  T142]  pci_device_probe+0xef/0x230
[   19.071112][  T142]  ? pci_dma_configure+0x11d/0x170
[   19.071532][  T142]  really_probe+0x3d2/0xb40
[   19.071911][  T142]  __driver_probe_device+0x18c/0x440
[   19.072369][  T142]  ? klist_iter_init+0x70/0x70
[   19.072770][  T142]  driver_probe_device+0x4a/0x120
[   19.073209][  T142]  __driver_attach+0x1d2/0x490
[   19.073609][  T142]  ? __device_attach_driver+0x260/0x260
[   19.074084][  T142]  bus_for_each_dev+0x103/0x180
[   19.074494][  T142]  ? bus_remove_file+0x40/0x40
[   19.074887][  T142]  ? klist_add_tail+0x133/0x260
[   19.075311][  T142]  bus_add_driver+0x29a/0x570
[   19.075701][  T142]  driver_register+0x134/0x450
[   19.076109][  T142]  ? 0xffffffffc06d6000
[   19.076457][  T142]  do_one_initcall+0xa1/0x370
[   19.076855][  T142]  ? trace_event_raw_event_initcall_level+0x1a0/0x1a0
[   19.077428][  T142]  ? kasan_unpoison+0x44/0x70
[   19.077823][  T142]  do_init_module+0x22e/0x720
[   19.078222][  T142]  load_module+0x1826/0x25e0
[   19.078603][  T142]  ? post_relocation+0x370/0x370
[   19.079022][  T142]  ? kernel_read_file+0x243/0x820
[   19.079431][  T142]  ? __x64_sys_fspick+0x2a0/0x2a0
[   19.079844][  T142]  ? init_module_from_file+0xd1/0x130
[   19.080295][  T142]  init_module_from_file+0xd1/0x130
[   19.080725][  T142]  ? __ia32_sys_init_module+0xb0/0xb0
[   19.081194][  T142]  ? userfaultfd_unmap_prep+0x3d0/0x3d0
[   19.081657][  T142]  ? _raw_write_lock_irq+0xe0/0xe0
[   19.082097][  T142]  idempotent_init_module+0x23b/0x660
[   19.082540][  T142]  ? init_module_from_file+0x130/0x130
[   19.082986][  T142]  ? __fget_light+0x57/0x3d0
[   19.083386][  T142]  __ia32_sys_finit_module+0xbe/0x130
[   19.083818][  T142]  __do_fast_syscall_32+0x61/0xd0
[   19.084243][  T142]  do_fast_syscall_32+0x33/0x70
[   19.084643][  T142]  entry_SYSENTER_compat_after_hwframe+0x70/0x7a
[   19.085165][  T142] RIP: 0023:0xf7fb7579
[   19.085503][  T142] Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
[   19.086546][  T142] RSP: 002b:00000000ff888b1c EFLAGS: 00200206 ORIG_RAX: 000000000000015e
[   19.087012][  T142] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00000000f7fa1d41
[   19.087442][  T142] RDX: 0000000000000000 RSI: 0000000056b70730 RDI: 0000000056b6c600
[   19.087868][  T142] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[   19.088324][  T142] R10: 0000000000000000 R11: 0000000000200206 R12: 0000000000000000
[   19.088747][  T142] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[   19.089176][  T142]  </TASK>
[   19.089354][  T142] ---[ end trace 0000000000000000 ]---


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v3] drm: Check output polling initialized before disabling
  2024-01-19  6:46 ` kernel test robot
@ 2024-01-22 10:49   ` Shradha Gupta
  2024-02-01  9:42     ` Shradha Gupta
  0 siblings, 1 reply; 4+ messages in thread
From: Shradha Gupta @ 2024-01-22 10:49 UTC (permalink / raw)
  To: kernel test robot
  Cc: lkp, linux-kernel, Maxime Ripard, dri-devel, Daniel Vetter,
	Shradha Gupta, oe-lkp, Saurabh Singh Sengar, David Airlie

Hi all, 
to me it seems like the patch has uncovered a genuine warning in drm_helper_probe_single_connector_modes() function.
Before calling drm_kms_helper_poll_enable() there should be check to see if mode_config.poll_enabled is set similar
to the new suspend/resume changes in the patch.
Is this understanding correct? Thoughts?

On Fri, Jan 19, 2024 at 02:46:47PM +0800, kernel test robot wrote:
> 
> 
> Hello,
> 
> kernel test robot noticed "WARNING:at_drivers/gpu/drm/drm_probe_helper.c:#drm_kms_helper_poll_enable[drm_kms_helper]" on:
> 
> commit: 98a690eb11a5f722cfff1dd5c3ac46f9ba326919 ("[PATCH v3] drm: Check output polling initialized before disabling")
> url: https://github.com/intel-lab-lkp/linux/commits/Shradha-Gupta/drm-Check-output-polling-initialized-before-disabling/20240115-124300
> base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
> patch subject: [PATCH v3] drm: Check output polling initialized before disabling
> 
> in testcase: boot
> 
> compiler: gcc-12
> test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
> 
> (please refer to attached dmesg/kmsg for entire log/backtrace)
> 
> 
> +-------------------------------------------------------------------------------------------+------------+------------+
> |                                                                                           | 45017df303 | 98a690eb11 |
> +-------------------------------------------------------------------------------------------+------------+------------+
> | WARNING:at_drivers/gpu/drm/drm_probe_helper.c:#drm_kms_helper_poll_enable[drm_kms_helper] | 0          | 8          |
> | RIP:drm_kms_helper_poll_enable[drm_kms_helper]                                            | 0          | 8          |
> +-------------------------------------------------------------------------------------------+------------+------------+
> 
> 
> 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 <oliver.sang@intel.com>
> | Closes: https://lore.kernel.org/oe-lkp/202401191128.db8423f1-oliver.sang@intel.com
> 
> 
> 
> The kernel config and materials to reproduce are available at:
> https://download.01.org/0day-ci/archive/20240119/202401191128.db8423f1-oliver.sang@intel.com
> 
> 
> 
> [   19.037694][  T142] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
> [   19.038726][  T142] ------------[ cut here ]------------
> [   19.039197][  T142] bochs-drm 0000:00:02.0: drm_WARN_ON_ONCE(!dev->mode_config.poll_enabled)
> [   19.039241][  T142] WARNING: CPU: 0 PID: 142 at drivers/gpu/drm/drm_probe_helper.c:305 drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
> [   19.040963][  T142] Modules linked in: parport(+) bochs(+) joydev serio_raw drm_vram_helper ata_piix(+) drm_ttm_helper ttm libata ipmi_devintf ipmi_msghandler drm_kms_helper i2c_piix4 fuse drm ip_tables
> [   19.042413][  T142] CPU: 0 PID: 142 Comm: systemd-udevd Not tainted 6.7.0-rc3-00770-g98a690eb11a5 #1
> [   19.043146][  T142] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
> [   19.043972][  T142] RIP: 0010:drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
> [   19.044685][  T142] Code: 48 8b 6b 50 48 85 ed 74 41 48 89 df e8 30 e0 5d c3 48 c7 c1 e0 8c 4b c0 48 89 ea 48 c7 c7 40 8a 4b c0 48 89 c6 e8 77 a3 d3 c1 <0f> 0b e9 ae fd ff ff e8 9b c6 53 c2 e9 4c fd ff ff 48 8b 7c 24 08
> [   19.046268][  T142] RSP: 0000:ffffc900007ef1c0 EFLAGS: 00010286
> [   19.046755][  T142] RAX: 0000000000000000 RBX: ffff888121dc40c0 RCX: 0000000000000027
> [   19.047400][  T142] RDX: 0000000000000027 RSI: 0000000000000004 RDI: ffff8883af030848
> [   19.048042][  T142] RBP: ffff888121d84260 R08: 0000000000000001 R09: ffffed1075e06109
> [   19.048688][  T142] R10: ffff8883af03084b R11: 0000000000000001 R12: ffff88815688a7a0
> [   19.049362][  T142] R13: 1ffff920000fde3b R14: 0000000000000000 R15: 0000000000000003
> [   19.050001][  T142] FS:  0000000000000000(0000) GS:ffff8883af000000(0063) knlGS:00000000f7950b00
> [   19.050722][  T142] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
> [   19.051259][  T142] CR2: 0000000058b17d6c CR3: 000000012463e000 CR4: 00000000000406f0
> [   19.051892][  T142] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [   19.052568][  T142] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> [   19.053242][  T142] Call Trace:
> [   19.053531][  T142]  <TASK>
> [   19.053780][  T142]  ? __warn+0xcd/0x260
> [   19.054149][  T142]  ? drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
> [   19.054787][  T142]  ? report_bug+0x267/0x2d0
> [   19.055173][  T142]  ? handle_bug+0x3c/0x70
> [   19.055523][  T142]  ? exc_invalid_op+0x17/0x40
> [   19.055904][  T142]  ? asm_exc_invalid_op+0x1a/0x20
> [   19.056332][  T142]  ? drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
> [   19.056941][  T142]  ? drm_kms_helper_poll_fini+0x80/0x80 [drm_kms_helper]
> [   19.057567][  T142]  ? drm_modeset_lock+0xbf/0x2e0 [drm]
> [   19.058099][  T142]  drm_helper_probe_single_connector_modes+0x3b6/0xe70 [drm_kms_helper]
> [   19.058788][  T142]  ? __drm_helper_update_and_validate+0xc30/0xc30 [drm_kms_helper]
> [   19.059484][  T142]  ? __mutex_lock_slowpath+0x10/0x10
> [   19.059924][  T142]  drm_client_modeset_probe+0x3ab/0xef0 [drm]
> [   19.060491][  T142]  ? drm_client_firmware_config+0x1980/0x1980 [drm]
> [   19.061233][  T142]  __drm_fb_helper_initial_config_and_unlock+0xfa/0x7c0 [drm_kms_helper]
> [   19.061935][  T142]  ? __drm_fb_helper_find_sizes+0x1170/0x1170 [drm_kms_helper]
> [   19.062577][  T142]  ? mutex_lock+0xa3/0xf0
> [   19.062941][  T142]  ? __mutex_lock_slowpath+0x10/0x10
> [   19.063398][  T142]  ? mutex_lock+0xa3/0xf0
> [   19.063756][  T142]  ? __mutex_lock_slowpath+0x10/0x10
> [   19.064214][  T142]  drm_fbdev_generic_client_hotplug+0x161/0x210 [drm_kms_helper]
> [   19.064868][  T142]  drm_client_register+0x168/0x230 [drm]
> [   19.065410][  T142]  bochs_pci_probe+0x68f/0x8c0 [bochs]
> [   19.065860][  T142]  ? _raw_spin_lock_irqsave+0x8b/0xe0
> [   19.066318][  T142]  ? bochs_hw_init+0x650/0x650 [bochs]
> [   19.066821][  T142]  ? bochs_hw_init+0x650/0x650 [bochs]
> [   19.067346][  T142]  local_pci_probe+0xda/0x180
> [   19.067756][  T142]  pci_call_probe+0x160/0x510
> [   19.068172][  T142]  ? _raw_spin_lock+0x85/0xe0
> [   19.068575][  T142]  ? pci_dev_set_disconnected+0x30/0x30
> [   19.069059][  T142]  ? kernfs_add_one+0x2d4/0x440
> [   19.069483][  T142]  ? pci_assign_irq+0x8a/0x280
> [   19.069892][  T142]  ? pci_match_device+0x38c/0x690
> [   19.070338][  T142]  ? kernfs_put+0x1c/0x30
> [   19.070700][  T142]  pci_device_probe+0xef/0x230
> [   19.071112][  T142]  ? pci_dma_configure+0x11d/0x170
> [   19.071532][  T142]  really_probe+0x3d2/0xb40
> [   19.071911][  T142]  __driver_probe_device+0x18c/0x440
> [   19.072369][  T142]  ? klist_iter_init+0x70/0x70
> [   19.072770][  T142]  driver_probe_device+0x4a/0x120
> [   19.073209][  T142]  __driver_attach+0x1d2/0x490
> [   19.073609][  T142]  ? __device_attach_driver+0x260/0x260
> [   19.074084][  T142]  bus_for_each_dev+0x103/0x180
> [   19.074494][  T142]  ? bus_remove_file+0x40/0x40
> [   19.074887][  T142]  ? klist_add_tail+0x133/0x260
> [   19.075311][  T142]  bus_add_driver+0x29a/0x570
> [   19.075701][  T142]  driver_register+0x134/0x450
> [   19.076109][  T142]  ? 0xffffffffc06d6000
> [   19.076457][  T142]  do_one_initcall+0xa1/0x370
> [   19.076855][  T142]  ? trace_event_raw_event_initcall_level+0x1a0/0x1a0
> [   19.077428][  T142]  ? kasan_unpoison+0x44/0x70
> [   19.077823][  T142]  do_init_module+0x22e/0x720
> [   19.078222][  T142]  load_module+0x1826/0x25e0
> [   19.078603][  T142]  ? post_relocation+0x370/0x370
> [   19.079022][  T142]  ? kernel_read_file+0x243/0x820
> [   19.079431][  T142]  ? __x64_sys_fspick+0x2a0/0x2a0
> [   19.079844][  T142]  ? init_module_from_file+0xd1/0x130
> [   19.080295][  T142]  init_module_from_file+0xd1/0x130
> [   19.080725][  T142]  ? __ia32_sys_init_module+0xb0/0xb0
> [   19.081194][  T142]  ? userfaultfd_unmap_prep+0x3d0/0x3d0
> [   19.081657][  T142]  ? _raw_write_lock_irq+0xe0/0xe0
> [   19.082097][  T142]  idempotent_init_module+0x23b/0x660
> [   19.082540][  T142]  ? init_module_from_file+0x130/0x130
> [   19.082986][  T142]  ? __fget_light+0x57/0x3d0
> [   19.083386][  T142]  __ia32_sys_finit_module+0xbe/0x130
> [   19.083818][  T142]  __do_fast_syscall_32+0x61/0xd0
> [   19.084243][  T142]  do_fast_syscall_32+0x33/0x70
> [   19.084643][  T142]  entry_SYSENTER_compat_after_hwframe+0x70/0x7a
> [   19.085165][  T142] RIP: 0023:0xf7fb7579
> [   19.085503][  T142] Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
> [   19.086546][  T142] RSP: 002b:00000000ff888b1c EFLAGS: 00200206 ORIG_RAX: 000000000000015e
> [   19.087012][  T142] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00000000f7fa1d41
> [   19.087442][  T142] RDX: 0000000000000000 RSI: 0000000056b70730 RDI: 0000000056b6c600
> [   19.087868][  T142] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
> [   19.088324][  T142] R10: 0000000000000000 R11: 0000000000200206 R12: 0000000000000000
> [   19.088747][  T142] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
> [   19.089176][  T142]  </TASK>
> [   19.089354][  T142] ---[ end trace 0000000000000000 ]---
> 
> 
> -- 
> 0-DAY CI Kernel Test Service
> https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v3] drm: Check output polling initialized before disabling
  2024-01-22 10:49   ` Shradha Gupta
@ 2024-02-01  9:42     ` Shradha Gupta
  0 siblings, 0 replies; 4+ messages in thread
From: Shradha Gupta @ 2024-02-01  9:42 UTC (permalink / raw)
  To: kernel test robot
  Cc: lkp, linux-kernel, Maxime Ripard, dri-devel, Daniel Vetter,
	Shradha Gupta, oe-lkp, Saurabh Singh Sengar

On Mon, Jan 22, 2024 at 02:49:59AM -0800, Shradha Gupta wrote:
> Hi all, 
> to me it seems like the patch has uncovered a genuine warning in drm_helper_probe_single_connector_modes() function.
> Before calling drm_kms_helper_poll_enable() there should be check to see if mode_config.poll_enabled is set similar
> to the new suspend/resume changes in the patch.
> Is this understanding correct? Thoughts?
Gentle reminder about this.
I am planning of submitted this suggested fix, along with the original patch in a patchset. Hope that makes sense.
> 
> On Fri, Jan 19, 2024 at 02:46:47PM +0800, kernel test robot wrote:
> > 
> > 
> > Hello,
> > 
> > kernel test robot noticed "WARNING:at_drivers/gpu/drm/drm_probe_helper.c:#drm_kms_helper_poll_enable[drm_kms_helper]" on:
> > 
> > commit: 98a690eb11a5f722cfff1dd5c3ac46f9ba326919 ("[PATCH v3] drm: Check output polling initialized before disabling")
> > url: https://github.com/intel-lab-lkp/linux/commits/Shradha-Gupta/drm-Check-output-polling-initialized-before-disabling/20240115-124300
> > base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
> > patch subject: [PATCH v3] drm: Check output polling initialized before disabling
> > 
> > in testcase: boot
> > 
> > compiler: gcc-12
> > test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
> > 
> > (please refer to attached dmesg/kmsg for entire log/backtrace)
> > 
> > 
> > +-------------------------------------------------------------------------------------------+------------+------------+
> > |                                                                                           | 45017df303 | 98a690eb11 |
> > +-------------------------------------------------------------------------------------------+------------+------------+
> > | WARNING:at_drivers/gpu/drm/drm_probe_helper.c:#drm_kms_helper_poll_enable[drm_kms_helper] | 0          | 8          |
> > | RIP:drm_kms_helper_poll_enable[drm_kms_helper]                                            | 0          | 8          |
> > +-------------------------------------------------------------------------------------------+------------+------------+
> > 
> > 
> > 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 <oliver.sang@intel.com>
> > | Closes: https://lore.kernel.org/oe-lkp/202401191128.db8423f1-oliver.sang@intel.com
> > 
> > 
> > 
> > The kernel config and materials to reproduce are available at:
> > https://download.01.org/0day-ci/archive/20240119/202401191128.db8423f1-oliver.sang@intel.com
> > 
> > 
> > 
> > [   19.037694][  T142] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
> > [   19.038726][  T142] ------------[ cut here ]------------
> > [   19.039197][  T142] bochs-drm 0000:00:02.0: drm_WARN_ON_ONCE(!dev->mode_config.poll_enabled)
> > [   19.039241][  T142] WARNING: CPU: 0 PID: 142 at drivers/gpu/drm/drm_probe_helper.c:305 drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
> > [   19.040963][  T142] Modules linked in: parport(+) bochs(+) joydev serio_raw drm_vram_helper ata_piix(+) drm_ttm_helper ttm libata ipmi_devintf ipmi_msghandler drm_kms_helper i2c_piix4 fuse drm ip_tables
> > [   19.042413][  T142] CPU: 0 PID: 142 Comm: systemd-udevd Not tainted 6.7.0-rc3-00770-g98a690eb11a5 #1
> > [   19.043146][  T142] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
> > [   19.043972][  T142] RIP: 0010:drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
> > [   19.044685][  T142] Code: 48 8b 6b 50 48 85 ed 74 41 48 89 df e8 30 e0 5d c3 48 c7 c1 e0 8c 4b c0 48 89 ea 48 c7 c7 40 8a 4b c0 48 89 c6 e8 77 a3 d3 c1 <0f> 0b e9 ae fd ff ff e8 9b c6 53 c2 e9 4c fd ff ff 48 8b 7c 24 08
> > [   19.046268][  T142] RSP: 0000:ffffc900007ef1c0 EFLAGS: 00010286
> > [   19.046755][  T142] RAX: 0000000000000000 RBX: ffff888121dc40c0 RCX: 0000000000000027
> > [   19.047400][  T142] RDX: 0000000000000027 RSI: 0000000000000004 RDI: ffff8883af030848
> > [   19.048042][  T142] RBP: ffff888121d84260 R08: 0000000000000001 R09: ffffed1075e06109
> > [   19.048688][  T142] R10: ffff8883af03084b R11: 0000000000000001 R12: ffff88815688a7a0
> > [   19.049362][  T142] R13: 1ffff920000fde3b R14: 0000000000000000 R15: 0000000000000003
> > [   19.050001][  T142] FS:  0000000000000000(0000) GS:ffff8883af000000(0063) knlGS:00000000f7950b00
> > [   19.050722][  T142] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
> > [   19.051259][  T142] CR2: 0000000058b17d6c CR3: 000000012463e000 CR4: 00000000000406f0
> > [   19.051892][  T142] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> > [   19.052568][  T142] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> > [   19.053242][  T142] Call Trace:
> > [   19.053531][  T142]  <TASK>
> > [   19.053780][  T142]  ? __warn+0xcd/0x260
> > [   19.054149][  T142]  ? drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
> > [   19.054787][  T142]  ? report_bug+0x267/0x2d0
> > [   19.055173][  T142]  ? handle_bug+0x3c/0x70
> > [   19.055523][  T142]  ? exc_invalid_op+0x17/0x40
> > [   19.055904][  T142]  ? asm_exc_invalid_op+0x1a/0x20
> > [   19.056332][  T142]  ? drm_kms_helper_poll_enable+0x329/0x410 [drm_kms_helper]
> > [   19.056941][  T142]  ? drm_kms_helper_poll_fini+0x80/0x80 [drm_kms_helper]
> > [   19.057567][  T142]  ? drm_modeset_lock+0xbf/0x2e0 [drm]
> > [   19.058099][  T142]  drm_helper_probe_single_connector_modes+0x3b6/0xe70 [drm_kms_helper]
> > [   19.058788][  T142]  ? __drm_helper_update_and_validate+0xc30/0xc30 [drm_kms_helper]
> > [   19.059484][  T142]  ? __mutex_lock_slowpath+0x10/0x10
> > [   19.059924][  T142]  drm_client_modeset_probe+0x3ab/0xef0 [drm]
> > [   19.060491][  T142]  ? drm_client_firmware_config+0x1980/0x1980 [drm]
> > [   19.061233][  T142]  __drm_fb_helper_initial_config_and_unlock+0xfa/0x7c0 [drm_kms_helper]
> > [   19.061935][  T142]  ? __drm_fb_helper_find_sizes+0x1170/0x1170 [drm_kms_helper]
> > [   19.062577][  T142]  ? mutex_lock+0xa3/0xf0
> > [   19.062941][  T142]  ? __mutex_lock_slowpath+0x10/0x10
> > [   19.063398][  T142]  ? mutex_lock+0xa3/0xf0
> > [   19.063756][  T142]  ? __mutex_lock_slowpath+0x10/0x10
> > [   19.064214][  T142]  drm_fbdev_generic_client_hotplug+0x161/0x210 [drm_kms_helper]
> > [   19.064868][  T142]  drm_client_register+0x168/0x230 [drm]
> > [   19.065410][  T142]  bochs_pci_probe+0x68f/0x8c0 [bochs]
> > [   19.065860][  T142]  ? _raw_spin_lock_irqsave+0x8b/0xe0
> > [   19.066318][  T142]  ? bochs_hw_init+0x650/0x650 [bochs]
> > [   19.066821][  T142]  ? bochs_hw_init+0x650/0x650 [bochs]
> > [   19.067346][  T142]  local_pci_probe+0xda/0x180
> > [   19.067756][  T142]  pci_call_probe+0x160/0x510
> > [   19.068172][  T142]  ? _raw_spin_lock+0x85/0xe0
> > [   19.068575][  T142]  ? pci_dev_set_disconnected+0x30/0x30
> > [   19.069059][  T142]  ? kernfs_add_one+0x2d4/0x440
> > [   19.069483][  T142]  ? pci_assign_irq+0x8a/0x280
> > [   19.069892][  T142]  ? pci_match_device+0x38c/0x690
> > [   19.070338][  T142]  ? kernfs_put+0x1c/0x30
> > [   19.070700][  T142]  pci_device_probe+0xef/0x230
> > [   19.071112][  T142]  ? pci_dma_configure+0x11d/0x170
> > [   19.071532][  T142]  really_probe+0x3d2/0xb40
> > [   19.071911][  T142]  __driver_probe_device+0x18c/0x440
> > [   19.072369][  T142]  ? klist_iter_init+0x70/0x70
> > [   19.072770][  T142]  driver_probe_device+0x4a/0x120
> > [   19.073209][  T142]  __driver_attach+0x1d2/0x490
> > [   19.073609][  T142]  ? __device_attach_driver+0x260/0x260
> > [   19.074084][  T142]  bus_for_each_dev+0x103/0x180
> > [   19.074494][  T142]  ? bus_remove_file+0x40/0x40
> > [   19.074887][  T142]  ? klist_add_tail+0x133/0x260
> > [   19.075311][  T142]  bus_add_driver+0x29a/0x570
> > [   19.075701][  T142]  driver_register+0x134/0x450
> > [   19.076109][  T142]  ? 0xffffffffc06d6000
> > [   19.076457][  T142]  do_one_initcall+0xa1/0x370
> > [   19.076855][  T142]  ? trace_event_raw_event_initcall_level+0x1a0/0x1a0
> > [   19.077428][  T142]  ? kasan_unpoison+0x44/0x70
> > [   19.077823][  T142]  do_init_module+0x22e/0x720
> > [   19.078222][  T142]  load_module+0x1826/0x25e0
> > [   19.078603][  T142]  ? post_relocation+0x370/0x370
> > [   19.079022][  T142]  ? kernel_read_file+0x243/0x820
> > [   19.079431][  T142]  ? __x64_sys_fspick+0x2a0/0x2a0
> > [   19.079844][  T142]  ? init_module_from_file+0xd1/0x130
> > [   19.080295][  T142]  init_module_from_file+0xd1/0x130
> > [   19.080725][  T142]  ? __ia32_sys_init_module+0xb0/0xb0
> > [   19.081194][  T142]  ? userfaultfd_unmap_prep+0x3d0/0x3d0
> > [   19.081657][  T142]  ? _raw_write_lock_irq+0xe0/0xe0
> > [   19.082097][  T142]  idempotent_init_module+0x23b/0x660
> > [   19.082540][  T142]  ? init_module_from_file+0x130/0x130
> > [   19.082986][  T142]  ? __fget_light+0x57/0x3d0
> > [   19.083386][  T142]  __ia32_sys_finit_module+0xbe/0x130
> > [   19.083818][  T142]  __do_fast_syscall_32+0x61/0xd0
> > [   19.084243][  T142]  do_fast_syscall_32+0x33/0x70
> > [   19.084643][  T142]  entry_SYSENTER_compat_after_hwframe+0x70/0x7a
> > [   19.085165][  T142] RIP: 0023:0xf7fb7579
> > [   19.085503][  T142] Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
> > [   19.086546][  T142] RSP: 002b:00000000ff888b1c EFLAGS: 00200206 ORIG_RAX: 000000000000015e
> > [   19.087012][  T142] RAX: ffffffffffffffda RBX: 0000000000000012 RCX: 00000000f7fa1d41
> > [   19.087442][  T142] RDX: 0000000000000000 RSI: 0000000056b70730 RDI: 0000000056b6c600
> > [   19.087868][  T142] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
> > [   19.088324][  T142] R10: 0000000000000000 R11: 0000000000200206 R12: 0000000000000000
> > [   19.088747][  T142] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
> > [   19.089176][  T142]  </TASK>
> > [   19.089354][  T142] ---[ end trace 0000000000000000 ]---
> > 
> > 
> > -- 
> > 0-DAY CI Kernel Test Service
> > https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-01  9:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-15  4:40 [PATCH v3] drm: Check output polling initialized before disabling Shradha Gupta
2024-01-19  6:46 ` kernel test robot
2024-01-22 10:49   ` Shradha Gupta
2024-02-01  9:42     ` Shradha Gupta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).