lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0386180b-d01d-81d6-bb7b-d6641ab4d719@applied-asynchrony.com>
Date: Thu, 11 Apr 2024 21:34:41 +0200
From: Holger Hoffstätte <holger@...lied-asynchrony.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, stable@...r.kernel.org
Cc: patches@...ts.linux.dev, linux-kernel@...r.kernel.org,
 torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
 linux@...ck-us.net, shuah@...nel.org, patches@...nelci.org,
 lkft-triage@...ts.linaro.org, pavel@...x.de, jonathanh@...dia.com,
 f.fainelli@...il.com, sudipm.mukherjee@...il.com, srw@...dewatkins.net,
 rwarsow@....de, conor@...nel.org, allen.lkml@...il.com, broonie@...nel.org
Subject: Re: [PATCH 6.8 000/143] 6.8.6-rc1 review

On 2024-04-11 11:54, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.8.6 release.
> There are 143 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.

With this -rc1 I see the following WARNING noise on my AMD Zen2 Thinkpad
during boot:

--snip--
Apr 11 16:08:45 hho kernel: [drm] Initialized amdgpu 3.57.0 20150101 for 0000:06:00.0 on minor 0
Apr 11 16:08:45 hho kernel: ------------[ cut here ]------------
Apr 11 16:08:45 hho kernel: amdgpu 0000:06:00.0: drm_WARN_ON_ONCE(!dev->mode_config.poll_enabled)
Apr 11 16:08:45 hho kernel: WARNING: CPU: 10 PID: 728 at drivers/gpu/drm/drm_probe_helper.c:305 drm_kms_helper_poll_enable+0x129/0x130 [drm_kms_helper]
Apr 11 16:08:45 hho kernel: Modules linked in: sch_fq_codel bpf_preload uvcvideo videobuf2_vmalloc videobuf2_memops uvc videobuf2_v4l2 mousedev videodev videobuf2_common mc snd_ctl_led snd_hda_codec_realtek iwlmvm amdgpu(+) snd_hda_codec_generic mac80211 libarc4 snd_hda_codec_hdmi pkcs8_key_parser edac_mce_amd i2c_algo_bit drm_ttm_helper crct10dif_pclmul crc32_pclmul crc32c_intel ttm snd_hda_intel ghash_clmulni_intel drm_exec snd_intel_dspcfg sha512_ssse3 drm_suballoc_helper amdxcp sha256_ssse3 snd_hda_codec drm_buddy gpu_sched sha1_ssse3 snd_hwdep iwlwifi snd_hda_core lm92 drm_display_helper thinkpad_acpi snd_pcm cec snd_rn_pci_acp3x ledtrig_audio snd_timer wmi_bmof drivetemp drm_kms_helper psmouse rapl r8169 platform_profile snd_acp_config cfg80211 serio_raw realtek k10temp snd_soc_acpi ipmi_devintf snd ucsi_acpi mdio_devres drm snd_pci_acp3x i2c_piix4 soundcore rfkill typec_ucsi ipmi_msghandler libphy video roles typec battery ac wmi i2c_scmi button
Apr 11 16:08:45 hho kernel: CPU: 10 PID: 728 Comm: (udev-worker) Not tainted 6.8.6 #1
Apr 11 16:08:45 hho kernel: Hardware name: LENOVO 20U50001GE/20U50001GE, BIOS R19ET32W (1.16 ) 01/26/2021
Apr 11 16:08:45 hho kernel: RIP: 0010:drm_kms_helper_poll_enable+0x129/0x130 [drm_kms_helper]
Apr 11 16:08:45 hho kernel: Code: 48 8b 5f 50 48 85 db 75 03 48 8b 1f e8 90 58 f8 e0 48 c7 c1 a0 0a 67 a0 48 89 da 48 c7 c7 84 14 67 a0 48 89 c6 e8 27 b2 a6 e0 <0f> 0b e9 08 ff ff ff 0f 1f 44 00 00 48 b8 e0 ff ff ff 0f 00 00 00
Apr 11 16:08:45 hho kernel: RSP: 0018:ffffc900005ff918 EFLAGS: 00010296
Apr 11 16:08:45 hho kernel: RAX: 0000000000000045 RBX: ffff88810173c5b0 RCX: 0000000000000027
Apr 11 16:08:45 hho kernel: RDX: ffff8887ef69c6c8 RSI: 0000000000000001 RDI: ffff8887ef69c6c0
Apr 11 16:08:45 hho kernel: RBP: 0000000000000000 R08: 00000000fffeffff R09: 0000000000000001
Apr 11 16:08:45 hho kernel: R10: 0000000000000000 R11: ffff8887eec80000 R12: ffff88810e380010
Apr 11 16:08:45 hho kernel: R13: ffff88810e380010 R14: 0000000000000003 R15: ffffffffa03b69ce
Apr 11 16:08:45 hho kernel: FS:  00007f7472869800(0000) GS:ffff8887ef680000(0000) knlGS:0000000000000000
Apr 11 16:08:45 hho kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Apr 11 16:08:45 hho kernel: CR2: 00005607b50f5000 CR3: 0000000104f3e000 CR4: 0000000000350ef0
Apr 11 16:08:45 hho kernel: Call Trace:
Apr 11 16:08:45 hho kernel:  <TASK>
Apr 11 16:08:45 hho kernel:  ? drm_kms_helper_poll_enable+0x129/0x130 [drm_kms_helper]
Apr 11 16:08:45 hho kernel:  ? __warn+0x7d/0x120
Apr 11 16:08:45 hho kernel:  ? drm_kms_helper_poll_enable+0x129/0x130 [drm_kms_helper]
Apr 11 16:08:45 hho kernel:  ? report_bug+0x155/0x180
Apr 11 16:08:45 hho kernel:  ? handle_bug+0x36/0x70
Apr 11 16:08:45 hho kernel:  ? exc_invalid_op+0x13/0x60
Apr 11 16:08:45 hho kernel:  ? asm_exc_invalid_op+0x16/0x20
Apr 11 16:08:45 hho kernel:  ? drm_kms_helper_poll_enable+0x129/0x130 [drm_kms_helper]
Apr 11 16:08:45 hho kernel:  ? drm_kms_helper_poll_enable+0x129/0x130 [drm_kms_helper]
Apr 11 16:08:45 hho kernel:  drm_helper_probe_single_connector_modes+0x167/0x4f0 [drm_kms_helper]
Apr 11 16:08:45 hho kernel:  drm_client_modeset_probe+0x1e0/0x1350 [drm]
Apr 11 16:08:45 hho kernel:  ? __cond_resched+0x16/0x40
Apr 11 16:08:45 hho kernel:  ? kmalloc_trace+0xfd/0x280
Apr 11 16:08:45 hho kernel:  ? __pm_runtime_suspend+0x67/0xb0
Apr 11 16:08:45 hho kernel:  __drm_fb_helper_initial_config_and_unlock+0x2d/0x490 [drm_kms_helper]
Apr 11 16:08:45 hho kernel:  ? drm_file_alloc+0x1af/0x250 [drm]
Apr 11 16:08:45 hho kernel:  ? __cond_resched+0x16/0x40
Apr 11 16:08:45 hho kernel:  drm_fbdev_generic_client_hotplug+0x62/0xb0 [drm_kms_helper]
Apr 11 16:08:45 hho kernel:  drm_client_register+0x5a/0x90 [drm]
Apr 11 16:08:45 hho kernel:  amdgpu_pci_probe+0x465/0x4d0 [amdgpu]
Apr 11 16:08:45 hho kernel:  local_pci_probe+0x39/0x80
Apr 11 16:08:45 hho kernel:  pci_device_probe+0xa1/0x1b0
Apr 11 16:08:45 hho kernel:  really_probe+0x156/0x2e0
Apr 11 16:08:45 hho kernel:  ? __device_attach_driver+0x100/0x100
Apr 11 16:08:45 hho kernel:  __driver_probe_device+0x73/0x110
Apr 11 16:08:45 hho kernel:  driver_probe_device+0x1f/0xe0
Apr 11 16:08:45 hho kernel:  __driver_attach+0x7d/0x180
Apr 11 16:08:45 hho kernel:  bus_for_each_dev+0x60/0x90
Apr 11 16:08:45 hho kernel:  bus_add_driver+0xe4/0x1e0
Apr 11 16:08:45 hho kernel:  driver_register+0x55/0xf0
Apr 11 16:08:45 hho kernel:  ? 0xffffffffa020a000
Apr 11 16:08:45 hho kernel:  do_one_initcall+0x41/0x1c0
Apr 11 16:08:45 hho kernel:  ? kmalloc_trace+0x1d5/0x280
Apr 11 16:08:45 hho kernel:  do_init_module+0x60/0x230
Apr 11 16:08:45 hho kernel:  init_module_from_file+0x79/0xb0
Apr 11 16:08:45 hho kernel:  __x64_sys_finit_module+0x155/0x280
Apr 11 16:08:45 hho kernel:  do_syscall_64+0x49/0x110
Apr 11 16:08:45 hho kernel:  entry_SYSCALL_64_after_hwframe+0x4b/0x53
Apr 11 16:08:45 hho kernel: RIP: 0033:0x7f7472a740e9
Apr 11 16:08:45 hho kernel: 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 07 ed 0c 00 f7 d8 64 89 01 48
Apr 11 16:08:45 hho kernel: RSP: 002b:00007ffcff3f42d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Apr 11 16:08:45 hho kernel: RAX: ffffffffffffffda RBX: 0000564f9b3f5d50 RCX: 00007f7472a740e9
Apr 11 16:08:45 hho kernel: RDX: 0000000000000004 RSI: 00007f7472c50369 RDI: 0000000000000017
Apr 11 16:08:45 hho kernel: RBP: 0000000000000004 R08: 00007f7472b43b20 R09: 0000564f9b3af700
Apr 11 16:08:45 hho kernel: R10: 0000000000000050 R11: 0000000000000246 R12: 00007f7472c50369
Apr 11 16:08:45 hho kernel: R13: 0000000000020000 R14: 0000564f9b41d6b0 R15: 0000000000000000
Apr 11 16:08:45 hho kernel:  </TASK>
Apr 11 16:08:45 hho kernel: ---[ end trace 0000000000000000 ]---
Apr 11 16:08:45 hho kernel: fbcon: amdgpudrmfb (fb0) is primary device
--snap--

This is due to "drm-check-output-polling-initialized-before-disablin.patch" which
needs a followup patch to work properly, otherwise the above drm_WARN_ON_ONCE
always fires for the wrong reason.

The commit in mainline is:

048a36d8a608 "drm: Check polling initialized before enabling in drm_helper_probe_single_connector_modes"

With that commit amdgpu initialisation is happy again: no more WARN_ON_ONCE on boot.

cheers
Holger

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ