From: tarunsahu@google.com
To: Pasha Tatashin <pasha.tatashin@soleen.com>,
Pratyush Yadav <pratyush@kernel.org>,
Mike Rapoport <rppt@kernel.org>,
will@kernel.org, changyuanl@google.com,
Alexander Graf <graf@amazon.com>,
mark.rutland@arm.com, jgg@nvidia.com
Cc: linux-arm-kernel@lists.infradead.org, kexec@lists.infradead.org
Subject: QNS: ARM64: Cache coherency while doing Kexec for KHO
Date: Tue, 11 Aug 2026 19:19:11 +0000 [thread overview]
Message-ID: <9huzldaczcr4.fsf@tarunix.c.googlers.com> (raw)
Hi,
I have a question regarding cache maintenance for Kernel Handover (KHO)
preserved memory across kexec reboots on arm64.
During kexec, all other CPUs gets hot-unplugged where they flush all
of their caches so there will be no issues with any KHO data preserved
having caches on these CPUs.
But CPU0 still has not been flushed its D-cache (Is this correct?) and
it will only do flushing for specific area by kexec_segment_flush().
So for KHO preserved memory, if its caches still marked dirty on CPU0
they will not be flushed?
Is my understanding correct? or AM I missing something?
Also if this true, This will be a problem?
PS: Pardon my less knowledge on ARM64 cache coherency.
~Tarun
next reply other threads:[~2026-08-11 19:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-11 19:19 tarunsahu [this message]
2026-08-11 19:23 ` QNS: ARM64: Cache coherency while doing Kexec for KHO tarunsahu
2026-08-11 19:30 ` 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=9huzldaczcr4.fsf@tarunix.c.googlers.com \
--to=tarunsahu@google.com \
--cc=changyuanl@google.com \
--cc=graf@amazon.com \
--cc=jgg@nvidia.com \
--cc=kexec@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=pasha.tatashin@soleen.com \
--cc=pratyush@kernel.org \
--cc=rppt@kernel.org \
--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