[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c8c33c66-8b82-1fcd-9268-94a01a7759cb@amd.com>
Date: Mon, 14 Feb 2022 23:24:40 +0530
From: "Chatradhi, Naveen Krishna" <nchatrad@....com>
To: Yazen Ghannam <yazen.ghannam@....com>
Cc: linux-edac@...r.kernel.org, x86@...nel.org,
linux-kernel@...r.kernel.org, bp@...en8.de, mingo@...hat.com,
mchehab@...nel.org, Muralidhara M K <muralimk@....com>
Subject: Re: [PATCH v7 03/12] EDAC/mce_amd: Extract node id from MCA_IPID
Hi Yazen
On 2/10/2022 5:01 AM, Yazen Ghannam wrote:
> On Thu, Feb 03, 2022 at 11:49:33AM -0600, Naveen Krishna Chatradhi wrote:
>> On SMCA banks of the GPU nodes, the node id information is
>> available in register MCA_IPID[47:44](InstanceIdHi).
>>
>> Convert the hardware node ID to a value used by Linux
>> where GPU nodes are sequentially after the CPU nodes.
>>
> Terminology should be consistent. I see "node id" and "node ID" here.
Will keep it consistent.
>
> ...
>
>> + } else if (bank_type == SMCA_UMC_V2) {
>> + /*
>> + * SMCA_UMC_V2 exists on GPU nodes, extract the node id
>> + * from register MCA_IPID[47:44](InstanceIdHi).
>> + * The InstanceIdHi field represents the instance ID of the GPU.
>> + * Which needs to be mapped to a value used by Linux,
>> + * where GPU nodes are simply numerically after the CPU nodes.
>> + */
>> + node_id = amd_get_gpu_node_system_id(m->ipid);
> As mentioned for the previous patch, why not define this function in EDAC?
Sure, with recent changes we can move this function to edac. Will wait
for comments on other patches
in the series and submit next version with feedback addressed.
Regards,
Naveenk
>
> Thanks,
> Yazen
Powered by blists - more mailing lists