<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Series is:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Reviewed-by: Alex Deucher <alexander.deucher@amd.com><br>
</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> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Quan, Evan <Evan.Quan@amd.com><br>
<b>Sent:</b> Tuesday, March 26, 2019 6:15 AM<br>
<b>To:</b> Quan, Evan; amd-gfx@lists.freedesktop.org<br>
<b>Subject:</b> RE: [PATCH 2/2] drm/amd/powerplay: correct data type to avoid overflow</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Ping..<br>
<br>
> -----Original Message-----<br>
> From: Evan Quan <evan.quan@amd.com><br>
> Sent: 2019年3月23日 2:07<br>
> To: amd-gfx@lists.freedesktop.org<br>
> Cc: Quan, Evan <Evan.Quan@amd.com><br>
> Subject: [PATCH 2/2] drm/amd/powerplay: correct data type to avoid<br>
> overflow<br>
> <br>
> Avoid left shift overflow.<br>
> <br>
> Change-Id: If03f4f4d440b6d742d8eaa23d0bae6ddd21c01ea<br>
> Signed-off-by: Evan Quan <evan.quan@amd.com><br>
> ---<br>
>  drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h | 2 +-<br>
>  1 file changed, 1 insertion(+), 1 deletion(-)<br>
> <br>
> diff --git a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h<br>
> b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h<br>
> index b90089a4fb6a..195c4ae67058 100644<br>
> --- a/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h<br>
> +++ b/drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if.h<br>
> @@ -165,7 +165,7 @@<br>
>  #define FEATURE_DS_FCLK_MASK            (1 << FEATURE_DS_FCLK_BIT            )<br>
>  #define FEATURE_DS_MP1CLK_MASK          (1 <<<br>
> FEATURE_DS_MP1CLK_BIT          )<br>
>  #define FEATURE_DS_MP0CLK_MASK          (1 <<<br>
> FEATURE_DS_MP0CLK_BIT          )<br>
> -#define FEATURE_XGMI_MASK               (1 << FEATURE_XGMI_BIT               )<br>
> +#define FEATURE_XGMI_MASK               (1ULL <<<br>
> FEATURE_XGMI_BIT               )<br>
>  #define FEATURE_ECC_MASK                (1ULL << FEATURE_ECC_BIT                )<br>
> <br>
>  #define DPM_OVERRIDE_DISABLE_SOCCLK_PID             0x00000001<br>
> --<br>
> 2.21.0<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a></div>
</span></font></div>
</body>
</html>