<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:10pt;">
<div style="padding-right:5pt;padding-left:5pt;"><font color="blue">[AMD Official Use Only - AMD Internal Distribution Only]<br>
</font></div>
<div style="margin-top:5pt;"><font face="Times New Roman" size="3"><span style="font-size:12pt;"><br>
</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com></span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Regards,</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt;">Hawking</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">-----Original Message-----<br>
From: Lazar, Lijo <Lijo.Lazar@amd.com> <br>
Sent: Monday, November 4, 2024 12:44<br>
To: amd-gfx@lists.freedesktop.org<br>
Cc: Zhang, Hawking <Hawking.Zhang@amd.com>; Deucher, Alexander <Alexander.Deucher@amd.com>; Zhou1, Tao <Tao.Zhou1@amd.com>; Khatri, Sunil <Sunil.Khatri@amd.com><br>
Subject: [PATCH] drm/amdgpu: Skip IP coredump for RAS errors</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">For RAS errors, source of error is known. Skip the core dump of IP states.</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">Signed-off-by: Lijo Lazar <<a href="mailto:lijo.lazar@amd.com">lijo.lazar@amd.com</a>></span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">---</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 1 +</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> 1 file changed, 1 insertion(+)</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">index 17af8c58e676..bcfda997bfe8 100644</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">@@ -2606,6 +2606,7 @@ static void amdgpu_ras_do_recovery(struct work_struct *work)</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> reset_context.method = AMD_RESET_METHOD_NONE;</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> reset_context.reset_req_dev = adev;</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> reset_context.src = AMDGPU_RESET_SRC_RAS;</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">+ set_bit(AMDGPU_SKIP_COREDUMP, &reset_context.flags);</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> /* Perform full reset in fatal error mode */</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> if (!amdgpu_ras_is_poison_mode_supported(ras->adev))</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">--</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;">2.25.1</span></font></div>
<div><font face="Arial" size="2"><span style="font-size:11pt;"> </span></font></div>
</span></font>
</body>
</html>