Re: [PATCH 0/3] Check enumeration before MSR save/restore

From: Hans de Goede
Date: Tue Nov 08 2022 - 13:17:07 EST


Hi All,

On 9/13/22 01:38, Pawan Gupta wrote:
> Hi,
>
> This patchset is to fix the "unchecked MSR access error" [1] during S3
> resume. Patch 1/3 adds a feature bit for MSR_IA32_TSX_CTRL.
>
> Patch 2/3 adds a feature bit for MSR_AMD64_LS_CFG.
>
> Patch 3/3 adds check for feature bit before adding any speculation
> control MSR to the list of MSRs to save/restore.
>
> [1] https://lore.kernel.org/lkml/20220906201743.436091-1-hdegoede@xxxxxxxxxx/
>
> Pawan Gupta (3):
> x86/tsx: Add feature bit for TSX control MSR support
> x86/cpu/amd: Add feature bit for MSR_AMD64_LS_CFG enumeration
> x86/pm: Add enumeration check before spec MSRs save/restore setup

What is the status of this series ?

To me this seems like a sensible way to solve the problem which
I reported and other similar problems...

Regards,

Hans