RE: [PATCH 2/3] x86/MCE/AMD: Helper function to check UMC v2
From: Joshi, Mukul
Date: Tue May 11 2021 - 21:41:26 EST
[AMD Official Use Only - Internal Distribution Only]
Thanks for the review comments.
I will update the Subject line and send out an updated patch.
In the meantime, here is the link to where the changes in Patch 2 and 3 are being used:
From: Borislav Petkov <bp@xxxxxxxxx>
Sent: Tuesday, May 11, 2021 1:35 PM
To: Chatradhi, Naveen Krishna <NaveenKrishna.Chatradhi@xxxxxxx>
Cc: linux-edac@xxxxxxxxxxxxxxx; x86@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; mingo@xxxxxxxxxx; mchehab@xxxxxxxxxx; Joshi, Mukul <Mukul.Joshi@xxxxxxx>
Subject: Re: [PATCH 2/3] x86/MCE/AMD: Helper function to check UMC v2
[CAUTION: External Email]
On Tue, May 11, 2021 at 08:55:37PM +0530, Naveen Krishna Chatradhi wrote:
> Subject: Re: [PATCH 2/3] x86/MCE/AMD: Helper function to check UMC v2
The condensed patch description in the subject line should start with a uppercase letter and should be written in imperative tone:
"x86/MCE/AMD: Add a helper function... "
> Signed-off-by: Mukul Joshi <mukul.joshi@xxxxxxx>
> Reviewed-by: John Clements <John.Clements@xxxxxxx>
> Reviewed-by: Yazen Ghannam <yazen.ghannam@xxxxxxx>
This is all fine and dandy but it needs your SOB too when you send the patch.
Please read Documentation/process/submitting-patches.rst
Sign your work - the Developer's Certificate of Origin When to use Acked-by:, Cc:, and Co-developed-by:
> +bool is_smca_umc_v2(int bank)
> + return (smca_get_bank_type(bank) == SMCA_UMC_V2); }
This addition looks useless when it doesn't have any users.
Also, I'm pretty sceptical this even makes sense to have it exported - I'm guessing this is for mce_amd.c but I can't say without seeing it in use.
The same remarks hold true for your patch 3.