Re: [WIP RFC PATCH 0/6] Generic Firmware Variable Filesystem

2019-06-05 Thread Greg KH
On Tue, Jun 04, 2019 at 01:05:45PM -0700, Matthew Garrett wrote: > On Tue, Jun 4, 2019 at 1:01 PM Nayna wrote: > > It seems efivars were first implemented in sysfs and then later > > separated out as efivarfs. > > Refer - Documentation/filesystems/efivarfs.txt. > > > > So, the reason wasn't that s

Re: [WIP RFC PATCH 0/6] Generic Firmware Variable Filesystem

2019-06-04 Thread Greg KH
On Tue, Jun 04, 2019 at 04:33:14PM -0400, Nayna wrote: > > > On 06/03/2019 03:29 AM, Greg KH wrote: > > On Mon, Jun 03, 2019 at 04:04:32PM +1000, Daniel Axtens wrote: > > > Hi Nayna, > > > > > > > > As PowerNV moves towards secure boot, we need a place to put secure > > > > > variables. One opti

Re: [WIP RFC PATCH 0/6] Generic Firmware Variable Filesystem

2019-06-04 Thread Nayna
On 06/03/2019 03:29 AM, Greg KH wrote: On Mon, Jun 03, 2019 at 04:04:32PM +1000, Daniel Axtens wrote: Hi Nayna, As PowerNV moves towards secure boot, we need a place to put secure variables. One option that has been canvassed is to make our secure variables look like EFI variables. This is

Re: [WIP RFC PATCH 0/6] Generic Firmware Variable Filesystem

2019-06-04 Thread Nayna
On 06/03/2019 07:56 PM, Daniel Axtens wrote: I would just recommend putting this in sysfs. Make a new subsystem (i.e. class) and away you go. My hope with fwvarfs is to provide a generic place for firmware variables so that we don't need to expand the list of firmware-specific filesystems

Re: [WIP RFC PATCH 0/6] Generic Firmware Variable Filesystem

2019-06-03 Thread Daniel Axtens
Hi Greg, >> >> As PowerNV moves towards secure boot, we need a place to put secure >> >> variables. One option that has been canvassed is to make our secure >> >> variables look like EFI variables. This is an early sketch of another >> >> approach where we create a generic firmware variable file s

Re: [WIP RFC PATCH 0/6] Generic Firmware Variable Filesystem

2019-06-03 Thread Greg KH
On Mon, Jun 03, 2019 at 04:04:32PM +1000, Daniel Axtens wrote: > Hi Nayna, > > >> As PowerNV moves towards secure boot, we need a place to put secure > >> variables. One option that has been canvassed is to make our secure > >> variables look like EFI variables. This is an early sketch of another

Re: [WIP RFC PATCH 0/6] Generic Firmware Variable Filesystem

2019-06-02 Thread Daniel Axtens
Hi Nayna, >> As PowerNV moves towards secure boot, we need a place to put secure >> variables. One option that has been canvassed is to make our secure >> variables look like EFI variables. This is an early sketch of another >> approach where we create a generic firmware variable file system, >> f

Re: [WIP RFC PATCH 0/6] Generic Firmware Variable Filesystem

2019-05-30 Thread Nayna
On 05/20/2019 02:25 AM, Daniel Axtens wrote: Hi all, As PowerNV moves towards secure boot, we need a place to put secure variables. One option that has been canvassed is to make our secure variables look like EFI variables. This is an early sketch of another approach where we create a generic

[WIP RFC PATCH 0/6] Generic Firmware Variable Filesystem

2019-05-19 Thread Daniel Axtens
Hi all, As PowerNV moves towards secure boot, we need a place to put secure variables. One option that has been canvassed is to make our secure variables look like EFI variables. This is an early sketch of another approach where we create a generic firmware variable file system, fwvarfs, and an OP