The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* split efi systab in sysfs
@ 2013-12-26  1:53 Dave Young
  2013-12-26  1:55 ` H. Peter Anvin
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Young @ 2013-12-26  1:53 UTC (permalink / raw)
  To: matt, hpa; +Cc: greg, linux-kernel, linux-efi

Hi, Matt and Peter

Currently /sys/firmware/efi/systab contains multi-lines for efi systab
entries. As previous discussion with Greg, this is not a good in sysfs.
I wonder if there's other users for this file except kexec-tools.

If kexec-tools is the only user, maybe I can split it as several files.
In kexec-tools just use /sys/firmware/efi/"$entry_name" and if $entry_name
does not exist then switch to old systab file. 

Thanks
Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: split efi systab in sysfs
  2013-12-26  1:53 split efi systab in sysfs Dave Young
@ 2013-12-26  1:55 ` H. Peter Anvin
  2013-12-26  2:12   ` Dave Young
  0 siblings, 1 reply; 4+ messages in thread
From: H. Peter Anvin @ 2013-12-26  1:55 UTC (permalink / raw)
  To: Dave Young, matt; +Cc: greg, linux-kernel, linux-efi

On 12/25/2013 05:53 PM, Dave Young wrote:
> Hi, Matt and Peter
> 
> Currently /sys/firmware/efi/systab contains multi-lines for efi systab
> entries. As previous discussion with Greg, this is not a good in sysfs.
> I wonder if there's other users for this file except kexec-tools.
> 
> If kexec-tools is the only user, maybe I can split it as several files.
> In kexec-tools just use /sys/firmware/efi/"$entry_name" and if $entry_name
> does not exist then switch to old systab file. 
> 

Yes, the sysfs standard is "one entry per datum".  I have no idea about
who the user(s) might be, though.

	-hpa



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: split efi systab in sysfs
  2013-12-26  1:55 ` H. Peter Anvin
@ 2013-12-26  2:12   ` Dave Young
  2013-12-26  2:17     ` Dave Young
  0 siblings, 1 reply; 4+ messages in thread
From: Dave Young @ 2013-12-26  2:12 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: matt, greg, linux-kernel, linux-efi

On 12/25/13 at 05:55pm, H. Peter Anvin wrote:
> On 12/25/2013 05:53 PM, Dave Young wrote:
> > Hi, Matt and Peter
> > 
> > Currently /sys/firmware/efi/systab contains multi-lines for efi systab
> > entries. As previous discussion with Greg, this is not a good in sysfs.
> > I wonder if there's other users for this file except kexec-tools.
> > 
> > If kexec-tools is the only user, maybe I can split it as several files.
> > In kexec-tools just use /sys/firmware/efi/"$entry_name" and if $entry_name
> > does not exist then switch to old systab file. 
> > 
> 
> Yes, the sysfs standard is "one entry per datum".  I have no idea about
> who the user(s) might be, though.

Even the only known user kexec-tools, for new kernel + old kexec-tools we
have no way to support, maybe this systab should be kept forever...

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: split efi systab in sysfs
  2013-12-26  2:12   ` Dave Young
@ 2013-12-26  2:17     ` Dave Young
  0 siblings, 0 replies; 4+ messages in thread
From: Dave Young @ 2013-12-26  2:17 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: matt, greg, linux-kernel, linux-efi, kexec, horms

CCing Simon and kexec list

On 12/26/13 at 10:12am, Dave Young wrote:
> On 12/25/13 at 05:55pm, H. Peter Anvin wrote:
> > On 12/25/2013 05:53 PM, Dave Young wrote:
> > > Hi, Matt and Peter
> > > 
> > > Currently /sys/firmware/efi/systab contains multi-lines for efi systab
> > > entries. As previous discussion with Greg, this is not a good in sysfs.
> > > I wonder if there's other users for this file except kexec-tools.
> > > 
> > > If kexec-tools is the only user, maybe I can split it as several files.
> > > In kexec-tools just use /sys/firmware/efi/"$entry_name" and if $entry_name
> > > does not exist then switch to old systab file. 
> > > 
> > 
> > Yes, the sysfs standard is "one entry per datum".  I have no idea about
> > who the user(s) might be, though.
> 
> Even the only known user kexec-tools, for new kernel + old kexec-tools we
> have no way to support, maybe this systab should be kept forever...

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-26  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-26  1:53 split efi systab in sysfs Dave Young
2013-12-26  1:55 ` H. Peter Anvin
2013-12-26  2:12   ` Dave Young
2013-12-26  2:17     ` Dave Young

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox