linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Prarit Bhargava <prarit-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Matt Fleming <matt-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
Cc: Lenny Szubowicz
	<lszubowi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Peter Jones <pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Ard Biesheuvel
	<ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Subject: Re: ESRT failures ... was Re: [PATCH 04/11] efi: Add efi_memmap_init_late() for permanent EFI memmap
Date: Fri, 22 Jul 2016 09:31:20 -0400	[thread overview]
Message-ID: <57922028.7070103@redhat.com> (raw)
In-Reply-To: <20160722131101.GJ26504-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>



On 07/22/2016 09:11 AM, Matt Fleming wrote:
> On Thu, 21 Jul, at 10:44:32AM, Prarit Bhargava wrote:
>>
>>
>> On 07/21/2016 08:11 AM, Matt Fleming wrote:
>>>
>>> efi_mem_desc_lookup() should just return the correct EFI memory
>>> descriptor now that we have efi_mem_reserve() coming in v4.9.
>>>
>>> What does the EFI memmap (as printed with efi=debug) look like on your
>>> machine?
>>>
>>
>> [    0.000000] efi: EFI v2.40 by Dell Inc.
>> [    0.000000] efi:  ESRT=0x8eb1c000  ACPI=0x8efe7000  ACPI 2.0=0x8efe7014
>> SMBIOS=0x8ef69000
>>
>> and
>>
>> [    0.000000] efi: mem249: [Reserved           |   |  |  |  |  |  |  |
>> |WB|WT|WC|UC] range=[0x000000008d6df000-0x000000008ef69fff] (24MB)
> 
> Yeah, that's a Dell firmware bug. This should be EFI boot services
> data. Quoting the spec Section 22.3 EFI System Resource Table,
> 
>   "See Section 4.6 for description of how to publish ESRT using
>    EFI_CONFIGURATION_TABLE. The ESRT shall be stored in memory of type
>    EfiBootServicesData."
> 
> We do not use regions mark EFI_RESERVED_TYPE because they're basically
> supposed to be unusable by the OS, AFAIK. I guess we'll have to update
> efi_mem_desc_lookup() to return reserved regions and make sure they're
> always contained within the memmap.
> 

Hmm ... maybe just a Dell specific quirk?

P.

  parent reply	other threads:[~2016-07-22 13:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 17:49 ESRT failures ... was Re: [PATCH 04/11] efi: Add efi_memmap_init_late() for permanent EFI memmap Prarit Bhargava
     [not found] ` <57867F32.8040001-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-07-21 12:11   ` Matt Fleming
     [not found]     ` <20160721121136.GF26504-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2016-07-21 14:44       ` Prarit Bhargava
     [not found]         ` <5790DFD0.4020806-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-07-22 13:11           ` Matt Fleming
     [not found]             ` <20160722131101.GJ26504-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2016-07-22 13:31               ` Prarit Bhargava [this message]
     [not found]                 ` <57922028.7070103-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-07-25 14:44                   ` Matt Fleming
     [not found]                     ` <20160725144431.GA31759-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2016-07-25 15:11                       ` Prarit Bhargava
     [not found]                         ` <57962C23.5090705-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-07-25 15:13                           ` Matt Fleming
     [not found]                             ` <20160725151344.GB31759-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2016-07-25 15:38                               ` Prarit Bhargava
     [not found]                                 ` <57963289.2090805-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-07-26 11:33                                   ` Prarit Bhargava
     [not found]                                     ` <57974AA4.7090907-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-07-26 14:26                                       ` Matt Fleming

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=57922028.7070103@redhat.com \
    --to=prarit-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=lszubowi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=matt-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org \
    --cc=pjones-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.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;
as well as URLs for NNTP newsgroup(s).