Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-06-21 Thread Dan Williams
On Sat, Jun 8, 2019 at 12:20 AM Ard Biesheuvel wrote: > > On Fri, 7 Jun 2019 at 19:34, Dan Williams wrote: > > > > On Fri, Jun 7, 2019 at 8:23 AM Dan Williams > > wrote: > > > > > > On Fri, Jun 7, 2019 at 5:29 AM Ard Biesheuvel > > > wrote: > > [..] > > > > > #ifdef

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-06-08 Thread Dan Williams
On Sat, Jun 8, 2019 at 12:20 AM Ard Biesheuvel wrote: > > On Fri, 7 Jun 2019 at 19:34, Dan Williams wrote: > > > > On Fri, Jun 7, 2019 at 8:23 AM Dan Williams > > wrote: > > > > > > On Fri, Jun 7, 2019 at 5:29 AM Ard Biesheuvel > > > wrote: > > [..] > > > > > #ifdef

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-06-08 Thread Ard Biesheuvel
On Fri, 7 Jun 2019 at 19:34, Dan Williams wrote: > > On Fri, Jun 7, 2019 at 8:23 AM Dan Williams wrote: > > > > On Fri, Jun 7, 2019 at 5:29 AM Ard Biesheuvel > > wrote: > [..] > > > > #ifdef CONFIG_EFI_APPLICATION_RESERVED > > > > static inline bool

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-06-07 Thread Dan Williams
On Fri, Jun 7, 2019 at 8:23 AM Dan Williams wrote: > > On Fri, Jun 7, 2019 at 5:29 AM Ard Biesheuvel > wrote: [..] > > > #ifdef CONFIG_EFI_APPLICATION_RESERVED > > > static inline bool is_efi_application_reserved(efi_memory_desc_t *md) > > > { > > > return md->type ==

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-06-07 Thread Dan Williams
On Fri, Jun 7, 2019 at 5:29 AM Ard Biesheuvel wrote: > > On Sat, 1 Jun 2019 at 06:26, Dan Williams wrote: > > > > On Fri, May 31, 2019 at 8:30 AM Ard Biesheuvel > > wrote: > > > > > > On Fri, 31 May 2019 at 17:28, Dan Williams > > > wrote: > > > > > > > > On Fri, May 31, 2019 at 1:30 AM Ard

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-06-07 Thread Ard Biesheuvel
On Sat, 1 Jun 2019 at 06:26, Dan Williams wrote: > > On Fri, May 31, 2019 at 8:30 AM Ard Biesheuvel > wrote: > > > > On Fri, 31 May 2019 at 17:28, Dan Williams wrote: > > > > > > On Fri, May 31, 2019 at 1:30 AM Ard Biesheuvel > > > wrote: > > > > > > > > (cc Mike for memblock) > > > > > > > >

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-06-05 Thread Dan Williams
On Sun, Jun 2, 2019 at 10:42 PM Mike Rapoport wrote: > > Hi Dan, > > On Thu, May 30, 2019 at 03:59:43PM -0700, Dan Williams wrote: > > UEFI 2.8 defines an EFI_MEMORY_SP attribute bit to augment the > > interpretation of the EFI Memory Types as "reserved for a special > > purpose". > > > > The

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-06-02 Thread Mike Rapoport
Hi Dan, On Thu, May 30, 2019 at 03:59:43PM -0700, Dan Williams wrote: > UEFI 2.8 defines an EFI_MEMORY_SP attribute bit to augment the > interpretation of the EFI Memory Types as "reserved for a special > purpose". > > The proposed Linux behavior for specific purpose memory is that it is >

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-05-31 Thread Dan Williams
On Fri, May 31, 2019 at 8:30 AM Ard Biesheuvel wrote: > > On Fri, 31 May 2019 at 17:28, Dan Williams wrote: > > > > On Fri, May 31, 2019 at 1:30 AM Ard Biesheuvel > > wrote: > > > > > > (cc Mike for memblock) > > > > > > On Fri, 31 May 2019 at 01:13, Dan Williams > > > wrote: > > > > > > > >

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-05-31 Thread Ard Biesheuvel
On Fri, 31 May 2019 at 17:28, Dan Williams wrote: > > On Fri, May 31, 2019 at 1:30 AM Ard Biesheuvel > wrote: > > > > (cc Mike for memblock) > > > > On Fri, 31 May 2019 at 01:13, Dan Williams wrote: > > > > > > UEFI 2.8 defines an EFI_MEMORY_SP attribute bit to augment the > > > interpretation

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-05-31 Thread Dan Williams
On Fri, May 31, 2019 at 1:30 AM Ard Biesheuvel wrote: > > (cc Mike for memblock) > > On Fri, 31 May 2019 at 01:13, Dan Williams wrote: > > > > UEFI 2.8 defines an EFI_MEMORY_SP attribute bit to augment the > > interpretation of the EFI Memory Types as "reserved for a special > > purpose". > > >

Re: [PATCH v2 4/8] x86, efi: Reserve UEFI 2.8 Specific Purpose Memory for dax

2019-05-31 Thread Ard Biesheuvel
(cc Mike for memblock) On Fri, 31 May 2019 at 01:13, Dan Williams wrote: > > UEFI 2.8 defines an EFI_MEMORY_SP attribute bit to augment the > interpretation of the EFI Memory Types as "reserved for a special > purpose". > > The proposed Linux behavior for specific purpose memory is that it is >