* split efi systab in sysfs
@ 2013-12-26 1:53 Dave Young
[not found] ` <20131226015308.GA3750-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Dave Young @ 2013-12-26 1:53 UTC (permalink / raw)
To: matt-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy, hpa-YMNOUZJC4hwAvxtiuMwx3w
Cc: greg-U8xfFu+wG4EAvxtiuMwx3w, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-efi-u79uwXL29TY76Z2rM5mHXA
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[parent not found: <20131226015308.GA3750-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>]
* Re: split efi systab in sysfs [not found] ` <20131226015308.GA3750-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org> @ 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-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy Cc: greg-U8xfFu+wG4EAvxtiuMwx3w, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-efi-u79uwXL29TY76Z2rM5mHXA 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 [not found] ` <20131226021238.GB3750-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org> 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
[parent not found: <20131226021238.GB3750-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>]
* Re: split efi systab in sysfs [not found] ` <20131226021238.GB3750-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org> @ 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-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy, greg-U8xfFu+wG4EAvxtiuMwx3w, linux-kernel-u79uwXL29TY76Z2rM5mHXA, linux-efi-u79uwXL29TY76Z2rM5mHXA, kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, horms-/R6kz+dDXgpPR4JQBCEnsQ 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
[not found] ` <20131226015308.GA3750-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2013-12-26 1:55 ` H. Peter Anvin
2013-12-26 2:12 ` Dave Young
[not found] ` <20131226021238.GB3750-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
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