Hi,
> Can you share more details? How and when OSPM can share _OSC flag with firmware?
I believe this may vary across operating systems.
For Linux, the APEI _OSC bit is set here [1].
The actual _OSC method call happens in acpi_osc_handshake().
On ACPI platforms, that bit just depends on CONFIG_ACPI_APEI_GHES being enabled.
Regards,
Jose
[1]
https://github.com/torvalds/linux/blob/master/drivers/acpi/bus.c#L489
From: Jaiprakash Singh <jaiprakashs@marvell.com>
Sent: Wednesday, March 18, 2026 10:17 AM
To: Jose Marinho <Jose.Marinho@arm.com>; Varun Wadekar <vwadekar@nvidia.com>; tf-a@lists.trustedfirmware.org; Manish Pandey2 <Manish.Pandey2@arm.com>
Cc: George Cherian <gcherian@marvell.com>; Ashwin Kumar Sundararamakrishnan <asundararama@marvell.com>
Subject: RE: BERT Record Erase Only After Kernel Consumes
Hi Jose,
Thanks for reply.
Can you share more details? How and when OSPM can share _OSC flag with firmware?
Thanks
Regards,
Jaiprakash
From: Jose Marinho <Jose.Marinho@arm.com>
Sent: Wednesday, March 18, 2026 2:23 PM
To: Jaiprakash Singh <jaiprakashs@marvell.com>; Varun Wadekar <vwadekar@nvidia.com>;
tf-a@lists.trustedfirmware.org; Manish Pandey2 <Manish.Pandey2@arm.com>
Cc: George Cherian <gcherian@marvell.com>; Ashwin Kumar Sundararamakrishnan <asundararama@marvell.com>
Subject: [EXTERNAL] RE: BERT Record Erase Only After Kernel Consumes
Hi Jaiprakash The OS tells firmware it will consume BERT by setting the APEI bit in the _OSC [1]. The platform firmware can propagate this signal where needed.
Is this the handshake you are after? Regards, Jose [1] https: //uefi. org/specs/ACPI/6. 6/06_Device_Configuration. html#platform-wide-osc-capabilities-dword-2
ZjQcmQRYFpfptBannerStart
|
ZjQcmQRYFpfptBannerEnd
Hi Jaiprakash
The OS tells firmware it will consume BERT by setting the APEI bit in the _OSC [1].
The platform firmware can propagate this signal where needed.
Is this the handshake you are after?
Regards,
Jose
[1] https://uefi.org/specs/ACPI/6.6/06_Device_Configuration.html#platform-wide-osc-capabilities-dword-2
From: Jaiprakash Singh via TF-A <tf-a@lists.trustedfirmware.org>
Sent: Wednesday, March 18, 2026 4:09 AM
To: Varun Wadekar <vwadekar@nvidia.com>;
tf-a@lists.trustedfirmware.org; Manish Pandey2 <Manish.Pandey2@arm.com>
Cc: George Cherian <gcherian@marvell.com>; Ashwin Kumar Sundararamakrishnan <asundararama@marvell.com>
Subject: [TF-A] Re: BERT Record Erase Only After Kernel Consumes
Hi Varun,
Yes, that’s possible.
But if firmware deletes Bert records from non-volatile memory before Kernel boots, there is a possibility
that Kernel gets crash even before it can dump bert records and bert records will be lost forever.
Proper solution would be – Kernel let firmware know that it has consumed bert or in some other way
firmware can confirm that Kernel is booted till prompt and now it is safe to delete all bert records.
Thanks
Regards,
Jaiprakash
From: Varun Wadekar <vwadekar@nvidia.com>
Sent: Tuesday, March 17, 2026 10:18 PM
To: Jaiprakash Singh <jaiprakashs@marvell.com>;
tf-a@lists.trustedfirmware.org; Manish Pandey <manish.pandey2@arm.com>
Cc: George Cherian <gcherian@marvell.com>; Ashwin Kumar Sundararamakrishnan <asundararama@marvell.com>
Subject: [EXTERNAL] Re: BERT Record Erase Only After Kernel Consumes
Hi, In this sequence, is it possible for firmware to delete the non-volatile memory contents after copying to GHES DRAM buffer in step 6? -Varun From: Jaiprakash
Singh <jaiprakashs@ marvell. com>
Date: Tuesday, 17 March 2026 at 10: 26 To:
ZjQcmQRYFpfptBannerStart
|
ZjQcmQRYFpfptBannerEnd
Hi,
In this sequence, is it possible for firmware to delete the non-volatile memory contents after copying to GHES DRAM buffer in step 6?
-Varun