linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: Dave Young <dyoung@redhat.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	Graeme Gregory <graeme.gregory@linaro.org>,
	Peter Jones <pjones@redhat.com>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Leif Lindholm <leif.lindholm@linaro.org>,
	Al Stone <astone@redhat.com>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	linux-efi <linux-efi@vger.kernel.org>,
	"Hsiung, Harry L" <harry.l.hsiung@intel.com>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	Len Brown <lenb@kernel.org>
Subject: Re: [PATCH] acpi: bgrt: parse BGRT to obtain BMP address before it gets clobbered
Date: Sat, 9 Feb 2019 14:41:24 +0100	[thread overview]
Message-ID: <CAKv+Gu921D2v0RyuR=rXKKyL6M48MhPJq0b1uM97+4CJPw_Rww@mail.gmail.com> (raw)
In-Reply-To: <CAKv+Gu9yVSfxfy37Z3xt-Ft70VtNs4YYQfcAvMB2qEdSLHhruw@mail.gmail.com>

(+ Mike)

On Wed, 23 Jan 2019 at 10:44, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
>
> On Wed, 23 Jan 2019 at 06:31, Dave Young <dyoung@redhat.com> wrote:
> >
> > Hi,
> >
> > On 01/22/19 at 04:06pm, Ard Biesheuvel wrote:
> > > The bitmap left in the framebuffer by the firmware is described by an
> > > ACPI table called "BGRT", which describes the size, pixel format and
> > > the address of a BMP image in memory. While the BGRT ACPI table is
> > > guaranteed to reside in a "ACPI reclaim" memory region, which is
> > > never touched by Linux. The BMP image, however, typically resides
> > > in EFI Boot Services Memory, which may have been overwritten by the
> > > time the BGRT discovery routine runs.
> >
> > I vaguely remember boot service memory is reserved on X86,  so this
> > is an issue of arm only?
> >
>
> No both ARM and x86 are affected. Harry and/or Peter should be able to
> comment on the details.
>

OK, so ARM is definitely affected, but after having had to revert this
patch since it breaks x86, I am looking into more detail and I have
trouble figuring *why* this would fail on x86 since, as Dave points
out, the x86 Linux kernel does not release boot services data regions
for general allocation until much later.

Mike (or Peter), do you happen to have a Linux boot log of the case
where the BGRT is being corrupted?

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-02-09 13:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22 15:06 [PATCH] acpi: bgrt: parse BGRT to obtain BMP address before it gets clobbered Ard Biesheuvel
2019-01-22 17:32 ` Lorenzo Pieralisi
2019-01-22 18:07   ` Ard Biesheuvel
2019-01-22 18:56     ` Lorenzo Pieralisi
2019-01-29 15:34     ` Peter Jones
2019-01-23  5:31 ` Dave Young
2019-01-23  9:44   ` Ard Biesheuvel
2019-01-29 16:11     ` Peter Jones
2019-02-09 13:41     ` Ard Biesheuvel [this message]
2019-01-29 14:36 ` Ard Biesheuvel
2019-01-29 15:09   ` Rafael J. Wysocki

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='CAKv+Gu921D2v0RyuR=rXKKyL6M48MhPJq0b1uM97+4CJPw_Rww@mail.gmail.com' \
    --to=ard.biesheuvel@linaro.org \
    --cc=astone@redhat.com \
    --cc=dyoung@redhat.com \
    --cc=graeme.gregory@linaro.org \
    --cc=harry.l.hsiung@intel.com \
    --cc=leif.lindholm@linaro.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=michael.d.kinney@intel.com \
    --cc=pjones@redhat.com \
    --cc=rjw@rjwysocki.net \
    /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;
as well as URLs for NNTP newsgroup(s).