[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-acpi
Subject: [RESEND v2] ACPI: APEI: Skip initialization of GHES_ASSIST structures for Machine Check Architecture
From: Avadhut Naik <avadnaik () amd ! com>
Date: 2023-11-30 20:31:02
Message-ID: b58c799c-8d3f-4fd8-9ddb-ebb06ef005d5 () amd ! com
[Download RAW message or body]
Hi,
On 11/30/2023 14:03, Luck, Tony wrote:
>> Actually, caching of values from an earlier structure to be compared against values
>> in a later structure is what we intend to do here i.e. comparing cached source_id
>> from an earlier structure with related_source_id in a later structure. To hint
>> towards the same, I had added the below comment on top of the static structure's
>> declaration:
>>
>>>>> + * Since GHES_ASSIST is not supported, skip initialization
>>>>> + * of GHES_ASSIST structures for MCA.
>>>>> + * During HEST parsing, detected MCA error sources are cached.
>>>>> + * Flags and Source Id fields from these cached values are
>>>>> + * then referred to determine if the encountered GHES_ASSIST
>>>>> + * structure should be initialized.
>>>>> + */
>>
>> Is this not good enough? Should I make it more explicit?
>
> I understand now, but missed that the caching and use are across
> different entries in the HEST table.
>
> Maybe something like this:
>
> * Since GHES_ASSIST is not supported, skip initialization of GHES_ASSIST
> * structures for MCA. During HEST parsing, detected MCA error sources
> * are cached from early table entries so that Flags and Source Id
> * fields from these cached values are then referred to in later table
> * entries to determine if the encountered GHES_ASSIST structure should
> * be initialized.
>
Sounds good! Thank you for this. Will update accordingly and resubmit.
> -Tony
--
Thanks,
Avadhut Naik
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic