Bug#773309: CONFIG_PSTORE not enabled for arm64
On Wed, Dec 17, 2014 at 02:57:17PM +0000, Ian Campbell wrote:
> > Could we enable CONFIG_PSTORE for arm64 as well, please?
>
> Is PSTORE (going to be) a thing on arm64? (I'm not entirely sure what
> pstore is, so sorry if this is a silly question).
I am actually not concerned about pstore itself, but rather by the
lack of similarity between platforms.
As an example - grub-install currently performs a "modprobe efivars"
before attempting to execute efibootmgr. Having different default
behaviour x86/arm64 could however lead to future bugs of code tested
only on one or the other.
> Any idea what causes efi_pstore to be loaded automatically?
Yes. When /sys/fs/pstore exists, /etc/init.d/mountkernfs.sh mounts a
pstore filesystem there. This was not the case on wheezy, and hence
efi_pstore and efivars were not autoloaded on x86 on wheezy.
> Is efivars needed only for efibootmgr or are there other reasons to want
> it?
The /sys/firmware/efi/vars interface exported by efivars is actually a
legacy api (efivarfs is the preferred one), but since it is still
shipped, alignment across architectures would be desirable.
There may or may not currently be other users than efibootmgr.
> (I don't have an x86 EFI system available to poke around and answer
> these for myself).
>
> I'm wondering if we ought to figure out how to load it automatically
> independent of the pstore stuff, for all arches.
I'd be happy for it not to be autoloaded, as long as it was consistent
across architectures.
/
Leif
Reply to: