<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Calibri;font-size:10pt;color:#0000FF;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Left">
[AMD Official Use Only - AMD Internal Distribution Only]<br>
</p>
<br>
<div>
<div class="elementToProof">Hi<span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"> Mike,</span></div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Could you more details about your setup, and how you were able to repro it ?</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature" style="color: inherit;">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
--</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Jay<br>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com><br>
<b>Sent:</b> Tuesday, May 20, 2025 5:33 AM<br>
<b>To:</b> Pillai, Aurabindo <Aurabindo.Pillai@amd.com>; Chung, ChiaHsuan (Tom) <ChiaHsuan.Chung@amd.com>; Wu, Ray <Ray.Wu@amd.com>; Wheeler, Daniel <Daniel.Wheeler@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; amd-gfx list <amd-gfx@lists.freedesktop.org>;
dri-devel <dri-devel@lists.freedesktop.org>; Linux List Kernel Mailing <linux-kernel@vger.kernel.org>; Linux regressions mailing list <regressions@lists.linux.dev><br>
<b>Subject:</b> 6.15-rc6/regression/bisected - after commit f1c6be3999d2 error appeared: *ERROR* dc_dmub_srv_log_diagnostic_data: DMCUB error</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi,<br>
After commit f1c6be3999d2 error appears:<br>
[ 1421.701677] amdgpu 0000:03:00.0: [drm] *ERROR*<br>
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic<br>
data<br>
[ 1421.896810] amdgpu 0000:03:00.0: [drm] *ERROR*<br>
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic<br>
data<br>
[ 1422.088397] amdgpu 0000:03:00.0: [drm] *ERROR*<br>
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic<br>
data<br>
[ 1426.448674] amdgpu 0000:03:00.0: amdgpu: SMU: I'm not done with<br>
your previous command: SMN_C2PMSG_66:0x00000012<br>
SMN_C2PMSG_82:0x00000005<br>
[ 1426.448804] amdgpu 0000:03:00.0: amdgpu: Failed to export SMU metrics table!<br>
[ 1430.149443] amdgpu 0000:03:00.0: amdgpu: SMU: I'm not done with<br>
your previous command: SMN_C2PMSG_66:0x00000012<br>
SMN_C2PMSG_82:0x00000005<br>
[ 1430.149456] amdgpu 0000:03:00.0: amdgpu: Failed to export SMU metrics table!<br>
[ 1433.846389] amdgpu 0000:03:00.0: amdgpu: SMU: I'm not done with<br>
your previous command: SMN_C2PMSG_66:0x00000012<br>
SMN_C2PMSG_82:0x00000005<br>
[ 1433.846400] amdgpu 0000:03:00.0: amdgpu: Failed to export SMU metrics table!<br>
[ 1437.543718] amdgpu 0000:03:00.0: amdgpu: SMU: I'm not done with<br>
your previous command: SMN_C2PMSG_66:0x00000012<br>
SMN_C2PMSG_82:0x00000005<br>
[ 1437.543727] amdgpu 0000:03:00.0: amdgpu: Failed to export SMU metrics table!<br>
[ 1439.966738] watchdog: CPU28: Watchdog detected hard LOCKUP on cpu 28<br>
[ 1439.966742] Modules linked in: uinput rfcomm snd_seq_dummy<br>
snd_hrtimer nft_queue nfnetlink_queue nf_conntrack_netbios_ns<br>
nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib<br>
nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct<br>
nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set<br>
nf_tables qrtr bnep sunrpc binfmt_misc amd_atl intel_rapl_msr<br>
intel_rapl_common mt7921e mt7921_common mt792x_lib mt76_connac_lib<br>
edac_mce_amd mt76 btusb btrtl btintel snd_hda_codec_realtek btbcm<br>
btmtk snd_hda_codec_generic snd_hda_scodec_component kvm_amd<br>
snd_hda_codec_hdmi mac80211 bluetooth vfat snd_hda_intel fat<br>
snd_intel_dspcfg kvm snd_intel_sdw_acpi snd_hda_codec snd_hda_core<br>
spd5118 snd_hwdep libarc4 snd_seq irqbypass snd_seq_device wmi_bmof<br>
cfg80211 r8169 rapl joydev snd_pcm snd_timer i2c_piix4 pcspkr k10temp<br>
i2c_smbus snd realtek rfkill soundcore gpio_amdpt gpio_generic loop<br>
nfnetlink zram lz4hc_compress lz4_compress amdgpu amdxcp i2c_algo_bit<br>
drm_ttm_helper ttm drm_exec polyval_clmulni<br>
[ 1439.966788] gpu_sched nvme polyval_generic ghash_clmulni_intel<br>
drm_suballoc_helper drm_panel_backlight_quirks ucsi_ccg sha512_ssse3<br>
nvme_core drm_buddy typec_ucsi sha256_ssse3 drm_display_helper<br>
nvme_keyring typec sha1_ssse3 nvme_auth sp5100_tco cec video wmi fuse<br>
[ 1439.966799] irq event stamp: 235192<br>
[ 1439.966800] hardirqs last enabled at (235191):<br>
[<ffffffffa60012a6>] asm_exc_page_fault+0x26/0x30<br>
[ 1439.966805] hardirqs last disabled at (235192):<br>
[<ffffffffa9ba5277>] irqentry_enter+0x57/0x60<br>
[ 1439.966808] softirqs last enabled at (234272):<br>
[<ffffffffa660ee39>] handle_softirqs+0x579/0x840<br>
[ 1439.966810] softirqs last disabled at (234263):<br>
[<ffffffffa660f236>] __irq_exit_rcu+0x126/0x240<br>
[ 1439.966813] CPU: 28 UID: 1000 PID: 209499 Comm: cc1 Tainted: G<br>
W L 6.15.0-rc5-01-3ce9925823c7d6bb0e6eb951bf2db0e9e182582d+<br>
#1 PREEMPT(lazy)<br>
[ 1439.966817] Tainted: [W]=WARN, [L]=SOFTLOCKUP<br>
[ 1439.966818] Hardware name: ASRock B650I Lightning WiFi/B650I<br>
Lightning WiFi, BIOS 3.08 09/18/2024<br>
[ 1439.966819] RIP: 0010:delay_halt_mwaitx+0x20/0x50<br>
<br>
And then the system hangs after SOFTLOCKUP.<br>
<br>
Bisect says that this is commit f1c6be3999d2<br>
<br>
Author: Aurabindo Pillai <aurabindo.pillai@amd.com><br>
Date: Wed Apr 16 11:26:54 2025 -0400<br>
<br>
drm/amd/display: more liberal vmin/vmax update for freesync<br>
<br>
[Why]<br>
FAMS2 expects vmin/vmax to be updated in the case when freesync is<br>
off, but supported. But we only update it when freesync is enabled.<br>
<br>
[How]<br>
Change the vsync handler such that dc_stream_adjust_vmin_vmax() its called<br>
irrespective of whether freesync is enabled. If freesync is supported,<br>
then there is no harm in updating vmin/vmax registers.<br>
<br>
Closes: <a href="https://gitlab.freedesktop.org/drm/amd/-/issues/3546">https://gitlab.freedesktop.org/drm/amd/-/issues/3546</a><br>
Reviewed-by: ChiaHsuan Chung <chiahsuan.chung@amd.com><br>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com><br>
Signed-off-by: Ray Wu <ray.wu@amd.com><br>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com><br>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com><br>
(cherry picked from commit cfb2d41831ee5647a4ae0ea7c24971a92d5dfa0d)<br>
Cc: stable@vger.kernel.org<br>
<br>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 16 +++++++++++-----<br>
1 file changed, 11 insertions(+), 5 deletions(-)<br>
<br>
<br>
Of course I checked revert of commit f1c6be3999d2<br>
And I can confirm that without f1c6be3999d2 this issue is gone.<br>
<br>
My machine spec: <a href="https://linux-hardware.org/?probe=4635c5fcb1">https://linux-hardware.org/?probe=4635c5fcb1</a><br>
And I attached below my build config, bisect log and full kernel log.<br>
<br>
Aurabindo, can you look, please, ASAP?<br>
<br>
-- <br>
Best Regards,<br>
Mike Gavrilov.<br>
</div>
</span></font></div>
</div>
</body>
</html>