mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thorsten Blum <blum@kernel.org>
To: Thomas Gleixner <tglx@kernel.org>, 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>,
	Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Cc: "H. Peter Anvin" <hpa@linux.intel.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86/realmode: Pad the embedded real-mode blob to a page boundary
Date: Mon, 5 Oct 2026 14:02:42 +0200	[thread overview]
Message-ID: <asOR4ixY1RK-pKU2@kernel.org> (raw)
In-Reply-To: <20260917114928.213178-3-blum@kernel.org>

On Thu, Sep 17, 2026 at 01:49:27PM +0200, Thorsten Blum wrote:
> setup_real_mode() copies the page-aligned size of the embedded real-mode
> blob into low memory. However, real_mode_blob ends immediately before
> real_mode_relocs, so the copy includes relocation data and potentially
> other .init.data contents when the size of realmode.bin is not
> page-aligned.
> 
> Pad real_mode_blob to a page boundary so the copy contains only the
> real-mode binary and its padding.
> 
> Fixes: 084ee1c641a0 ("x86, realmode: Relocator for realmode code")
> Signed-off-by: Thorsten Blum <blum@kernel.org>
> ---
>  arch/x86/realmode/rmpiggy.S | 1 +
>  1 file changed, 1 insertion(+)

Gentle ping. Could this be picked up with the Acked-by from hpa?

Thanks,
Thorsten

      parent reply	other threads:[~2026-10-05 12:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-17 11:49 Thorsten Blum
2026-09-17 23:21 ` H. Peter Anvin
2026-10-05 12:02 ` Thorsten Blum [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=asOR4ixY1RK-pKU2@kernel.org \
    --to=blum@kernel.org \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=jarkko.sakkinen@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@kernel.org \
    --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

all inboxes | Powered by JetHome®