[PATCH RFC v3 3/8] arm64: acpi: Enable ACPI CCEL support

Yeoreum Yun yeoreum.yun at arm.com
Fri Nov 27 18:12:15 UTC 2026


On Fri, Nov 27, 2026 at 04:28:01PM +0000, Suzuki K Poulose wrote:
> On 27/11/2026 15:32, Yeoreum Yun wrote:
> > From: Suzuki K Poulose <suzuki.poulose at arm.com>
> > 
> > Add support for ACPI CCEL by handling the EfiACPIMemoryNVS type memory.
> > As per UEFI specifications NVS memory is reserved for Firmware use even
> > after exiting boot services. Thus map the region as read-only.
> > 
> > Cc: Sami Mujawar <sami.mujawar at arm.com>
> > Cc: Will Deacon <will at kernel.org>
> > Cc: Catalin Marinas <catalin.marinas at arm.com>
> > Cc: Aneesh Kumar K.V <aneesh.kumar at kernel.org>
> > Cc: Steven Price <steven.price at arm.com>
> > Cc: Sudeep Holla <sudeep.holla at arm.com>
> > Cc: Gavin Shan <gshan at redhat.com>
> > Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>
> > Signed-off-by: Yeoreum Yun <yeoreum.yun at arm.com>
> > ---
> >   arch/arm64/kernel/acpi.c | 11 +++++++++++
> >   1 file changed, 11 insertions(+)
> > 
> > diff --git a/arch/arm64/kernel/acpi.c b/arch/arm64/kernel/acpi.c
> > index 681aa2bbc3995..3d6335db882d3 100644
> > --- a/arch/arm64/kernel/acpi.c
> > +++ b/arch/arm64/kernel/acpi.c
> > @@ -354,6 +354,17 @@ void __iomem *acpi_os_ioremap(acpi_physical_address phys, acpi_size size)
> >   			prot = PAGE_KERNEL_RO;
> >   			break;
> > +		case EFI_ACPI_MEMORY_NVS:
> > +			/*
> > +			 * ACPI NVS marks an area reserved for use by the
> > +			 * firmware, even after exiting the boot service.
> > +			 * This may be used by the firmware for sharing dynamic
> > +			 * tables/data (e.g., ACPI CCEL) with the OS. Map it
> > +			 * as read-only.
> > +			 */
> > +			prot = PAGE_KERNEL_RO;
> > +			break;
> > +
> 
> Unfortunately this breaks some platforms, where the NVS must be mapped
> R/W. Thats why we dropped this patch.
> 
> https://lore.kernel.org/all/20251124103329.363afcc6@foz.lan

Thanks to share. anyway it's enough to read in this series.
So I'll drop this in the next spin. Thanks!

-- 
Sincerely,
Yeoreum Yun



More information about the Linux-security-module-archive mailing list