From: Greg KH <gregkh@linuxfoundation.org>
To: msizanoen <msizanoen@qtmlabs.xyz>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
Ingo Molnar <mingo@kernel.org>,
linux-kernel@vger.kernel.org, Roberto Ricci <io@r-ricci.it>,
stable@vger.kernel.org
Subject: Re: [PATCH] x86/e820: Fix handling of subpage regions when calculating nosave ranges
Date: Sat, 5 Apr 2025 08:40:51 +0100 [thread overview]
Message-ID: <2025040532-salvage-armadillo-77b6@gregkh> (raw)
In-Reply-To: <20250405-fix-e820-nosave-v1-1-162633199548@qtmlabs.xyz>
On Sat, Apr 05, 2025 at 10:09:24AM +0700, msizanoen wrote:
> Handle better cases where there might be non-page-aligned RAM e820
> regions so we don't end up marking kernel memory as nosave.
>
> This also simplifies the calculation of nosave ranges by treating
> non-RAM regions as holes.
>
> Fixes: e5540f875404 ("x86/boot/e820: Consolidate 'struct e820_entry *entry' local variable names")
> Tested-by: Roberto Ricci <io@r-ricci.it>
> Reported-by: Roberto Ricci <io@r-ricci.it>
> Closes: https://lore.kernel.org/all/Z4WFjBVHpndct7br@desktop0a/
> Signed-off-by: msizanoen <msizanoen@qtmlabs.xyz>
Please use your name, not your email alias, for a signed-off-by line.
prev parent reply other threads:[~2025-04-05 7:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-05 3:09 [PATCH] x86/e820: Fix handling of subpage regions when calculating nosave ranges msizanoen
2025-04-05 7:40 ` Greg KH [this message]
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=2025040532-salvage-armadillo-77b6@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=io@r-ricci.it \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=mingo@redhat.com \
--cc=msizanoen@qtmlabs.xyz \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@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