[AMD Public Use]
Also, general nit, per kernel coding style, braces should be on the same line as the if or else, E.g.,
} else {
Alex
From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> on behalf of Zhang, Hawking <Hawking.Zhang@xxxxxxx>
Sent: Friday, September 11, 2020 2:02 AM To: Clements, John <John.Clements@xxxxxxx>; amd-gfx list <amd-gfx@xxxxxxxxxxxxxxxxxxxxx>; Chen, Guchun <Guchun.Chen@xxxxxxx> Subject: RE: [PATCH] drm/amdgpu: Update RAS init handling [AMD Public Use]
+ { + dev_warn(psp->adev->dev, "RAS Init Status: 0x%X\n", ras_cmd->ras_status); + } Please remove the redundant bracket.
Other than that, the patch is Reviewed-by: Hawking Zhang <Hawking.Zhang@xxxxxxx>
In addition, please create another patch to move the nbio ras controller irq source registry to sw_init, which is the consistent as what we did for other ip blocks, register the irq source in IP sw_init funcs.
Regards, Hawking From: Clements, John <John.Clements@xxxxxxx>
[AMD Official Use Only - Internal Distribution Only]
Added RAS status check and tear down RAS context if RAS init fails |
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx