From: Yeoreum Yun <yeoreum.yun@arm.com>
To: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Yeoreum Yun <yeoreum.yun@arm.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kselftest@vger.kernel.org, linux-acpi@vger.kernel.org,
acpica-devel@lists.linux.dev,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Jason Gunthorpe <jgg@ziepe.ca>,
Steven Price <steven.price@arm.com>,
Sami Mujawar <sami.mujawar@arm.com>,
thuth@redhat.com, "Rafael J. Wysocki" <rafael@kernel.org>,
Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>,
Pawel Chmielewski <pawel.chmielewski@intel.com>,
Jiri Pirko <jiri@resnulli.us>, Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <shuah@kernel.org>, Len Brown <lenb@kernel.org>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Mark Brown <broonie@kernel.org>,
"Aneesh Kumar K.V" <aneesh.kumar@kernel.org>,
Gavin Shan <gshan@redhat.com>,
Sudeep Holla <sudeep.holla@kernel.org>
Subject: Re: [PATCH RFC v3 3/8] arm64: acpi: Enable ACPI CCEL support
Date: Fri, 27 Nov 2026 18:12:15 +0000 [thread overview]
Message-ID: <awnH_1vFvFXpny-M@e129823.arm.com> (raw)
In-Reply-To: <3a46bcc3-33bb-4c9d-a3e5-44144406dbda@arm.com>
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@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@arm.com>
> > Cc: Will Deacon <will@kernel.org>
> > Cc: Catalin Marinas <catalin.marinas@arm.com>
> > Cc: Aneesh Kumar K.V <aneesh.kumar@kernel.org>
> > Cc: Steven Price <steven.price@arm.com>
> > Cc: Sudeep Holla <sudeep.holla@arm.com>
> > Cc: Gavin Shan <gshan@redhat.com>
> > Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
> > Signed-off-by: Yeoreum Yun <yeoreum.yun@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
next prev parent reply other threads:[~2026-11-27 18:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 15:32 [PATCH RFC v3 0/8] attestation: provider: add CCA Realm Guest provider Yeoreum Yun
2026-11-27 15:32 ` [PATCH RFC v3 1/8] arm64: rsi: Add helpers for Arm CCA measurement register operations Yeoreum Yun
2026-11-27 15:32 ` [PATCH RFC v3 2/8] arm64: rsi: Add realm hash algorithm defines Yeoreum Yun
2026-11-27 15:32 ` [PATCH RFC v3 3/8] arm64: acpi: Enable ACPI CCEL support Yeoreum Yun
2026-11-27 16:28 ` Suzuki K Poulose
2026-11-27 18:12 ` Yeoreum Yun [this message]
2026-11-27 15:32 ` [PATCH RFC v3 4/8] acpi: add CCtype value macros for CCEL table Yeoreum Yun
2026-11-27 15:33 ` [PATCH RFC v3 5/8] Documentation/ctlv: introduce ctlv-attestation-cca-guest family Yeoreum Yun
2026-11-27 15:33 ` [PATCH RFC v3 6/8] ctlv: add auto-generated files for ctlv-attestation-cca-guest Yeoreum Yun
2026-11-27 15:33 ` [PATCH RFC v3 7/8] attestation: providers: introduce CCA Guest attestation provider Yeoreum Yun
2026-11-27 17:07 ` Jason Gunthorpe
2026-11-27 18:24 ` Yeoreum Yun
2026-11-27 18:35 ` Jason Gunthorpe
2026-11-27 19:11 ` Yeoreum Yun
2026-11-27 19:13 ` Yeoreum Yun
2026-11-27 19:18 ` Jason Gunthorpe
2026-11-27 19:40 ` Yeoreum Yun
2026-11-27 18:27 ` Yeoreum Yun
2026-11-27 18:36 ` Jason Gunthorpe
2026-11-27 15:33 ` [PATCH RFC v3 8/8] selftest: attestation: add cca_guest_attestation_test selftest Yeoreum Yun
2026-11-27 17:09 ` Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awnH_1vFvFXpny-M@e129823.arm.com \
--to=yeoreum.yun@arm.com \
--cc=acpica-devel@lists.linux.dev \
--cc=aneesh.kumar@kernel.org \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=corbet@lwn.net \
--cc=gshan@redhat.com \
--cc=jgg@ziepe.ca \
--cc=jiri@resnulli.us \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=maciej.wieczor-retman@intel.com \
--cc=pawel.chmielewski@intel.com \
--cc=rafael@kernel.org \
--cc=rdunlap@infradead.org \
--cc=sami.mujawar@arm.com \
--cc=shuah@kernel.org \
--cc=skhan@linuxfoundation.org \
--cc=steven.price@arm.com \
--cc=sudeep.holla@kernel.org \
--cc=suzuki.poulose@arm.com \
--cc=thuth@redhat.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®