<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:SimSun;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
p.msipheadera4477989, li.msipheadera4477989, div.msipheadera4477989
{mso-style-name:msipheadera4477989;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="msipheadera4477989" style="margin:0in"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:blue">[AMD Official Use Only]</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">OK. If that can help the debugging for RAS development, I’m fine with it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Reviewed-by: Evan Quan <evan.quan@amd.com><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">BR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Evan<o:p></o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Yang, Stanley <Stanley.Yang@amd.com>
<br>
<b>Sent:</b> Monday, December 6, 2021 8:37 PM<br>
<b>To:</b> Quan, Evan <Evan.Quan@amd.com>; amd-gfx@lists.freedesktop.org; Zhang, Hawking <Hawking.Zhang@amd.com>; Clements, John <John.Clements@amd.com>; Zhou1, Tao <Tao.Zhou1@amd.com>; Li, Candice <Candice.Li@amd.com>; Chai, Thomas <YiPeng.Chai@amd.com><br>
<b>Subject:</b> </span><span lang="ZH-CN" style="font-size:11.0pt">答复</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">: [PATCH Review 1/1] drm/amd/pm: print errorno if get ecc info failed<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:DengXian">Hi Evan,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:DengXian"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:DengXian">The error prompts in function smu_cmn_send_smc_msg_with_param do not cover all failed cases since it only prints reg stat SMU_RESP_NONE,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:DengXian">SMU_RESP_BUSY_OTHER or response -EREMOTEIO. I think it is better update reg error stat judgment conditions to print more error msg.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:DengXian"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:DengXian">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:DengXian">Stanley<o:p></o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span lang="ZH-CN" style="color:black">发件人</span></b><b><span style="font-family:"Calibri",sans-serif;color:black">:</span></b><span style="font-family:"Calibri",sans-serif;color:black"> Quan, Evan <<a href="mailto:Evan.Quan@amd.com">Evan.Quan@amd.com</a>><br>
</span><b><span lang="ZH-CN" style="color:black">日期</span></b><b><span style="font-family:"Calibri",sans-serif;color:black">:</span></b><span style="font-family:"Calibri",sans-serif;color:black">
</span><span lang="ZH-CN" style="color:black">星期一</span><span style="font-family:"Calibri",sans-serif;color:black">, 2021</span><span lang="ZH-CN" style="color:black">年</span><span style="font-family:"Calibri",sans-serif;color:black">12</span><span lang="ZH-CN" style="color:black">月</span><span style="font-family:"Calibri",sans-serif;color:black">6</span><span lang="ZH-CN" style="color:black">日</span><span lang="ZH-CN" style="font-family:"Calibri",sans-serif;color:black">
</span><span lang="ZH-CN" style="color:black">上午</span><span style="font-family:"Calibri",sans-serif;color:black">9:43<br>
</span><b><span lang="ZH-CN" style="color:black">收件人</span></b><b><span style="font-family:"Calibri",sans-serif;color:black">:</span></b><span style="font-family:"Calibri",sans-serif;color:black"> Yang, Stanley <<a href="mailto:Stanley.Yang@amd.com">Stanley.Yang@amd.com</a>>,
<a href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a> <<a href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a>>, Zhang, Hawking <<a href="mailto:Hawking.Zhang@amd.com">Hawking.Zhang@amd.com</a>>, Clements,
John <<a href="mailto:John.Clements@amd.com">John.Clements@amd.com</a>>, Zhou1, Tao <<a href="mailto:Tao.Zhou1@amd.com">Tao.Zhou1@amd.com</a>>, Li, Candice <<a href="mailto:Candice.Li@amd.com">Candice.Li@amd.com</a>>, Chai, Thomas <<a href="mailto:YiPeng.Chai@amd.com">YiPeng.Chai@amd.com</a>><br>
</span><b><span lang="ZH-CN" style="color:black">抄送</span></b><b><span style="font-family:"Calibri",sans-serif;color:black">:</span></b><span style="font-family:"Calibri",sans-serif;color:black"> Yang, Stanley <<a href="mailto:Stanley.Yang@amd.com">Stanley.Yang@amd.com</a>><br>
</span><b><span lang="ZH-CN" style="color:black">主题</span></b><b><span style="font-family:"Calibri",sans-serif;color:black">:</span></b><span style="font-family:"Calibri",sans-serif;color:black"> RE: [PATCH Review 1/1] drm/amd/pm: print errorno if get ecc info
failed<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">[AMD Official Use Only]<br>
<br>
Hi Stanley,<br>
<br>
There is already error prompts in the smu_cmn_send_smc_msg_with_param() used by the API mentioned below.<br>
Can that cover your use case?<br>
<br>
BR<br>
Evan<br>
> -----Original Message-----<br>
> From: Stanley.Yang <<a href="mailto:Stanley.Yang@amd.com">Stanley.Yang@amd.com</a>><br>
> Sent: Sunday, December 5, 2021 6:02 PM<br>
> To: <a href="mailto:amd-gfx@lists.freedesktop.org">amd-gfx@lists.freedesktop.org</a>; Zhang, Hawking<br>
> <<a href="mailto:Hawking.Zhang@amd.com">Hawking.Zhang@amd.com</a>>; Clements, John <<a href="mailto:John.Clements@amd.com">John.Clements@amd.com</a>>;<br>
> Zhou1, Tao <<a href="mailto:Tao.Zhou1@amd.com">Tao.Zhou1@amd.com</a>>; Li, Candice <<a href="mailto:Candice.Li@amd.com">Candice.Li@amd.com</a>>;<br>
> Chai, Thomas <<a href="mailto:YiPeng.Chai@amd.com">YiPeng.Chai@amd.com</a>>; Quan, Evan <<a href="mailto:Evan.Quan@amd.com">Evan.Quan@amd.com</a>><br>
> Cc: Yang, Stanley <<a href="mailto:Stanley.Yang@amd.com">Stanley.Yang@amd.com</a>><br>
> Subject: [PATCH Review 1/1] drm/amd/pm: print errorno if get ecc info failed<br>
> <br>
> Signed-off-by: Stanley.Yang <<a href="mailto:Stanley.Yang@amd.com">Stanley.Yang@amd.com</a>><br>
> ---<br>
> drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c | 2 +-<br>
> 1 file changed, 1 insertion(+), 1 deletion(-)<br>
> <br>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c<br>
> b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c<br>
> index 6e781cee8bb6..e0a8224e466f 100644<br>
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c<br>
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c<br>
> @@ -1815,7 +1815,7 @@ static ssize_t aldebaran_get_ecc_info(struct<br>
> smu_context *smu,<br>
> smu_table->ecc_table,<br>
> false);<br>
> if (ret) {<br>
> - dev_info(smu->adev->dev, "Failed to export SMU ecc<br>
> table!\n");<br>
> + dev_info(smu->adev->dev, "Failed to export SMU ecc table!<br>
> ret %d.\n", ret);<br>
> return ret;<br>
> }<br>
> <br>
> --<br>
> 2.17.1<o:p></o:p></span></p>
</div>
</div>
</div>
</body>
</html>