Re: [PATCH 07/12] efi: Use efi_mm in x86 as well as ARM

2018-03-09 Thread Ard Biesheuvel
On 9 March 2018 at 08:37, Prakhya, Sai Praneeth wrote: >> > diff --git a/include/linux/efi.h b/include/linux/efi.h index >> > f5083aa72eae..f1b7d68ac460 100644 >> > --- a/include/linux/efi.h >> > +++ b/include/linux/efi.h >> > @@ -966,6 +966,8 @@ extern struct efi { >> > unsigned long flags; >

RE: [PATCH 07/12] efi: Use efi_mm in x86 as well as ARM

2018-03-09 Thread Prakhya, Sai Praneeth
> > diff --git a/include/linux/efi.h b/include/linux/efi.h index > > f5083aa72eae..f1b7d68ac460 100644 > > --- a/include/linux/efi.h > > +++ b/include/linux/efi.h > > @@ -966,6 +966,8 @@ extern struct efi { > > unsigned long flags; > > } efi; > > > > +extern struct mm_struct efi_mm; > > + > >

Re: [PATCH 07/12] efi: Use efi_mm in x86 as well as ARM

2018-03-08 Thread Ingo Molnar
* Ard Biesheuvel wrote: > From: Sai Praneeth > > Presently, only ARM uses mm_struct to manage efi page tables and efi > runtime region mappings. As this is the preferred approach, let's make > this data structure common across architectures. Specially, for x86, > using this data structure impr