Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp260449rdb; Sat, 27 Jan 2024 05:37:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IH48sBTtVSF0gOae4ozvkHYoQsJNuBqRI9R2XJaVOjptpQpPH/SY9Mufmzcd+GcJgQHylcl X-Received: by 2002:a05:622a:1352:b0:42a:92df:5c8e with SMTP id w18-20020a05622a135200b0042a92df5c8emr773067qtk.33.1706362625727; Sat, 27 Jan 2024 05:37:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706362625; cv=pass; d=google.com; s=arc-20160816; b=SDs+WmDsq6pq+BvhdfR2RqVoURYFTki9O+yUF2FKyYTVP9/1QhIvpVEQpXlP0bvwWu Feu4uh9++RsQl9QWKfuD2NFDbhu2/kHtpdyQM23SfDgR8YYKzSbupIAj63Ra33E2295+ 9oKYDWddDVbtBpk1Z+foPnybFvexuMkhI7Vc6jVEjVgoMUVEgnHCH4CxWDJaDAL81RFW QAbf7BESZvur5/7uIyw2f2W1vfP3SlMPfbcRG7MxLGvio1TvwTMTT8Ypj5VUKfhSDS2y 9KV0zk+cUwi/mxvhlM9qRaIz5Yv5H6EYS2FWzRJ+CGQ15ofn3Jwy3+ildZwwJREnfsCZ W84A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=j460abbTum7jLNtngWFF5CRs5bwdXXz1lvyWrkSYPzk=; fh=fPwS/3HomB5TR3wHTeTzVzpEvv3AGKCGM535JONZqAc=; b=H1kLM3RaXc2fYqM+irCQKG/gf9QZ1ChYexzdD0fuU+O/JHCTauskSK7CMKOtvors3U +HiCy1UPmvBEpDFewO8F7PqIDHlC42CCOFutCxlaBTO3W137x2saWz2nMoNb+lw4wwus jMQyOkSwavsr7fwB7fQN6KjyukfdhXM1mmSTWb2OZl0Z6c2ChuIjw70el6OR9Z0mryes RxVayHMrq2Bh1AZwIHSLeVA+SLI9UEDDtWjtgfqpwhAlf3W48VOS7h5RJeKFDFj36YgC tF1/4OoqE17KVWY7QQLy6P4SLP9eMeU+0fveujBVnwjZzXDJTFdiOf6uoJEENqP3t8ZC J+Lw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=uVHZlZhC; arc=pass (i=1 dkim=pass dkdomain=debian.org); spf=pass (google.com: domain of linux-kernel+bounces-41204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41204-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id w18-20020a05622a191200b0042a6305a48esi3399956qtc.97.2024.01.27.05.37.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Jan 2024 05:37:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=uVHZlZhC; arc=pass (i=1 dkim=pass dkdomain=debian.org); spf=pass (google.com: domain of linux-kernel+bounces-41204-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41204-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 557E91C21377 for ; Sat, 27 Jan 2024 13:37:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0020725630; Sat, 27 Jan 2024 13:36:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b="uVHZlZhC" Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A011945A; Sat, 27 Jan 2024 13:36:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=82.195.75.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706362616; cv=none; b=V/HNs142Ir0FB78ccYatSczjjkrhpZa89/32iMLV+3bQJ1qxhFkxw3gyIJclM82Qxwnzp3tYLgUVDlVWiVX84qePtvroQgy8NOyoCpDC1P+HlpE447rec3w5JCcvVpbpldpTh+qTYAPBvW1bHEuDgSK0eqlCbwg25FbgtWqAtXM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706362616; c=relaxed/simple; bh=y1nG8drrUsZJdEsvAYtR8Vr5royN3KMjz1CxhfrSuik=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nN7bcaoHd4jhwVIss2wXlXmZU+o28PTShSqR/AbFjIEKrEqZmPNwACDX1gI83OAzThIVtBI6HjXKt3alFz8TTaWFUyFpBi2yWa/AMJMm5H68fcV935shyrIdqLnN7vn/kXGEodhOBK3JprVP4ZdQaTSD/5spzj5CJbI0iuQi5UM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=none smtp.mailfrom=debian.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b=uVHZlZhC; arc=none smtp.client-ip=82.195.75.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=debian.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=j460abbTum7jLNtngWFF5CRs5bwdXXz1lvyWrkSYPzk=; b=uVHZlZhCfQdnSp6dsj9Nlhtchc DSGCEUCM+wrgBIMiOn73gCyvtSXb2NqDVbVW0L44Vh3ZSXasjRSErRiaI7Anunli/KfisUGZBLm++ WiNd90gsZR3XcnCRyxmwaGOLirL8e7LzIf4ePDs2QaiLNbVuVz1hfJ7mlV+OZ/ai67267yUZNO0uK VouoyYcEB8qA1vMHcigst7M+yLlqMISPUGjNY+N4M+KBwzzRawHTKvTFBjL8zQ/q9aFaznovTZFoh IkKgUbEbhLKOifYRhAgrBU6kTJzBYfctYsqG224B1KbRT8ryaw4FeXSiYk/2NJGPDsPAh2EInpC4F oaL87Dog==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1rTiWQ-003UJH-4O; Sat, 27 Jan 2024 13:14:58 +0000 Received: by eldamar.lan (Postfix, from userid 1000) id 195E9BE2DE0; Sat, 27 Jan 2024 14:14:57 +0100 (CET) Date: Sat, 27 Jan 2024 14:14:57 +0100 From: Salvatore Bonaccorso To: Patrice Duroux , 1061449@bugs.debian.org, Lewis Huang , Daniel Wheeler , Phil Hsieh , Rodrigo Siqueira , Alex Deucher Cc: Christian =?iso-8859-1?Q?K=F6nig?= , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev Subject: Re: Bug#1061449: linux-image-6.7-amd64: a boot message from amdgpu Message-ID: References: <170612149675.7169.757906919183146487.reportbug@kos-moceratops.home> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <170612149675.7169.757906919183146487.reportbug@kos-moceratops.home> X-Debian-User: carnil Hi In Debian (https://bugs.debian.org/1061449) we got the following quotred report: On Wed, Jan 24, 2024 at 07:38:16PM +0100, Patrice Duroux wrote: > Package: src:linux > Version: 6.7.1-1~exp1 > Severity: normal > > Dear Maintainer, > > Giving a try to 6.7, here is a message extracted from dmesg: > > [ 4.177226] ------------[ cut here ]------------ > [ 4.177227] WARNING: CPU: 6 PID: 248 at > drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_factory.c:387 > construct_phy+0xb26/0xd60 [amdgpu] > [ 4.177658] Modules linked in: amdgpu(+) i915(+) sd_mod drm_exec amdxcp > gpu_sched drm_buddy nvme i2c_algo_bit drm_suballoc_helper drm_display_helper > ahci nvme_core hid_generic crc32_pclmul libahci crc32c_intel t10_pi cec libata > crc64_rocksoft_generic ghash_clmulni_intel rc_core drm_ttm_helper > crc64_rocksoft sha512_ssse3 i2c_hid_acpi ttm rtsx_pci_sdmmc i2c_hid xhci_pci > crc_t10dif sha512_generic mmc_core scsi_mod xhci_hcd drm_kms_helper video hid > crct10dif_generic intel_lpss_pci crct10dif_pclmul i2c_i801 sha256_ssse3 > intel_lpss crc64 thunderbolt drm e1000e usbcore sha1_ssse3 rtsx_pci i2c_smbus > scsi_common crct10dif_common idma64 usb_common battery wmi button aesni_intel > crypto_simd cryptd > [ 4.177689] CPU: 6 PID: 248 Comm: (udev-worker) Not tainted 6.7-amd64 #1 > Debian 6.7.1-1~exp1 > [ 4.177691] Hardware name: Dell Inc. Precision 7540/0T2FXT, BIOS 1.29.0 > 11/03/2023 > [ 4.177692] RIP: 0010:construct_phy+0xb26/0xd60 [amdgpu] > [ 4.178050] Code: b9 01 00 00 00 83 fe 01 74 40 48 8b 82 f8 03 00 00 89 f2 > 48 c7 c6 00 35 a7 c1 48 8b 40 10 48 8b 00 48 8b 78 08 e8 ba b7 5b fb <0f> 0b 49 > 8b 87 d0 01 00 00 b9 0f 00 00 00 48 8b 80 e8 04 00 00 48 > [ 4.178052] RSP: 0018:ffffaad300857408 EFLAGS: 00010246 > [ 4.178053] RAX: 0000000000000000 RBX: ffff96df636a1700 RCX: > c0000000ffffefff > [ 4.178054] RDX: 0000000000000000 RSI: 00000000ffffefff RDI: > 0000000000000001 > [ 4.178055] RBP: ffff96df4d379c00 R08: 0000000000000000 R09: > ffffaad3008571d0 > [ 4.178056] R10: 0000000000000003 R11: ffffffffbded2428 R12: > ffffaad300857474 > [ 4.178057] R13: ffffffffc1933140 R14: ffffaad3008577d0 R15: > ffff96df43e82000 > [ 4.178058] FS: 00007fcd5d9648c0(0000) GS:ffff96e2cc380000(0000) > knlGS:0000000000000000 > [ 4.178060] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 4.178061] CR2: 00007fcd5d932a6d CR3: 0000000103e9a004 CR4: > 00000000003706f0 > [ 4.178062] DR0: 0000000000000000 DR1: 0000000000000000 DR2: > 0000000000000000 > [ 4.178063] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: > 0000000000000400 > [ 4.178063] Call Trace: > [ 4.178066] > [ 4.178067] ? construct_phy+0xb26/0xd60 [amdgpu] > [ 4.178422] ? __warn+0x81/0x130 > [ 4.178426] ? construct_phy+0xb26/0xd60 [amdgpu] > [ 4.178784] ? report_bug+0x171/0x1a0 > [ 4.178787] ? handle_bug+0x3c/0x80 > [ 4.178789] ? exc_invalid_op+0x17/0x70 > [ 4.178790] ? asm_exc_invalid_op+0x1a/0x20 > [ 4.178793] ? construct_phy+0xb26/0xd60 [amdgpu] > [ 4.179149] ? construct_phy+0xb26/0xd60 [amdgpu] > [ 4.179507] link_create+0x1b2/0x200 [amdgpu] > [ 4.179865] create_links+0x135/0x420 [amdgpu] > [ 4.180196] dc_create+0x321/0x640 [amdgpu] > [ 4.180529] amdgpu_dm_init.isra.0+0x2a0/0x1ed0 [amdgpu] > [ 4.180881] ? sysvec_apic_timer_interrupt+0xe/0x90 > [ 4.180883] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 > [ 4.180885] ? delay_tsc+0x37/0xa0 > [ 4.180889] dm_hw_init+0x12/0x30 [amdgpu] > [ 4.181240] amdgpu_device_init+0x1e42/0x24a0 [amdgpu] > [ 4.181517] amdgpu_driver_load_kms+0x19/0x190 [amdgpu] > [ 4.181793] amdgpu_pci_probe+0x165/0x4c0 [amdgpu] > [ 4.182067] local_pci_probe+0x42/0xa0 > [ 4.182070] pci_device_probe+0xc7/0x240 > [ 4.182072] really_probe+0x19b/0x3e0 > [ 4.182075] ? __pfx___driver_attach+0x10/0x10 > [ 4.182076] __driver_probe_device+0x78/0x160 > [ 4.182078] driver_probe_device+0x1f/0x90 > [ 4.182079] __driver_attach+0xd2/0x1c0 > [ 4.182081] bus_for_each_dev+0x85/0xd0 > [ 4.182083] bus_add_driver+0x116/0x220 > [ 4.182085] driver_register+0x59/0x100 > [ 4.182087] ? __pfx_amdgpu_init+0x10/0x10 [amdgpu] > [ 4.182356] do_one_initcall+0x58/0x320 > [ 4.182359] do_init_module+0x60/0x240 > [ 4.182361] init_module_from_file+0x89/0xe0 > [ 4.182364] idempotent_init_module+0x120/0x2b0 > [ 4.182366] __x64_sys_finit_module+0x5e/0xb0 > [ 4.182367] do_syscall_64+0x61/0x120 > [ 4.182370] ? do_syscall_64+0x70/0x120 > [ 4.182372] entry_SYSCALL_64_after_hwframe+0x6e/0x76 > [ 4.182375] RIP: 0033:0x7fcd5e130f19 > [ 4.182376] Code: 08 89 e8 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 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 cf 1e 0d 00 f7 d8 64 89 01 48 > [ 4.182378] RSP: 002b:00007ffd314afa38 EFLAGS: 00000246 ORIG_RAX: > 0000000000000139 > [ 4.182379] RAX: ffffffffffffffda RBX: 00005611ee7f84d0 RCX: > 00007fcd5e130f19 > [ 4.182380] RDX: 0000000000000000 RSI: 00007fcd5e2644f5 RDI: > 0000000000000024 > [ 4.182381] RBP: 0000000000000000 R08: 0000000000000040 R09: > 00005611ee7d3140 > [ 4.182382] R10: 0000000000000038 R11: 0000000000000246 R12: > 00007fcd5e2644f5 > [ 4.182383] R13: 0000000000020000 R14: 00005611ee7f0670 R15: > 0000000000000000 > [ 4.182385] > [ 4.182385] ---[ end trace 0000000000000000 ]--- > > > I do not know if this is something interesting and just a warning. > Otherwise this amdgpu is a second device on my laptop system: > > $ inxi -G > Graphics: > Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel > Device-2: AMD Lexa XT [Radeon PRO WX 3200] driver: amdgpu v: kernel > Device-3: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo > type: USB > Display: wayland server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4 > compositor: gnome-shell v: 45.3 driver: X: loaded: amdgpu,modesetting > unloaded: fbdev,radeon,vesa dri: iris gpu: i915 resolution: 1920x1080~60Hz > API: EGL v: 1.5 drivers: iris,radeonsi,swrast > platforms: gbm,wayland,x11,surfaceless,device > API: OpenGL v: 4.6 vendor: intel mesa v: 23.3.3-3 renderer: Mesa Intel > UHD Graphics 630 (CFL GT2) > API: Vulkan v: 1.3.268 drivers: intel,radv,llvmpipe > surfaces: xcb,xlib,wayland Analysis showed that this appears to be a regression from b17ef04bf3a4 ("drm/amd/display: Pass pwrseq inst for backlight and ABM"). Does that ring some bells? See: https://bugs.debian.org/1061449#27 #regzbot introduced: b17ef04bf3a4 #regzbot link: https://bugs.debian.org/1061449 #regzbot title: Regression by b17ef04bf3a4 ("drm/amd/display: Pass pwrseq inst for backlight and ABM") Regards, Salvatore