Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
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, dmatlack@google.com,
	 skhawaja@google.com
Cc: linux-arm-kernel@lists.infradead.org, kexec@lists.infradead.org
Subject: Re: QNS: ARM64: Cache coherency while doing Kexec for KHO
Date: Tue, 11 Aug 2026 19:23:28 +0000	[thread overview]
Message-ID: <9huzcxvotqa7.fsf@tarunix.c.googlers.com> (raw)
In-Reply-To: <9huzldaczcr4.fsf@tarunix.c.googlers.com>


+ Added more folks to the lists

Tarun Sahu <tarunsahu@google.com> writes:

> 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


  reply	other threads:[~2026-08-11 19:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-11 19:19 QNS: ARM64: Cache coherency while doing Kexec for KHO tarunsahu
2026-08-11 19:23 ` tarunsahu [this message]
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=9huzcxvotqa7.fsf@tarunix.c.googlers.com \
    --to=tarunsahu@google.com \
    --cc=changyuanl@google.com \
    --cc=dmatlack@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=skhawaja@google.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