I confirmed that efi_pstore_read() and efi_pstore_erase() work correctly. Please feel free to add
Tested-by: Seiji Aguchi <[email protected]> > -----Original Message----- > From: Matt Fleming [mailto:[email protected]] > Sent: Tuesday, April 30, 2013 7:28 AM > To: Seiji Aguchi > Cc: [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; [email protected]; > [email protected]; [email protected]; [email protected]; > [email protected] > Subject: Re: [tip:x86/efi2] efivars: efivar_entry API > > On 26/04/13 16:43, Seiji Aguchi wrote: > > I tested pstore_read() as well. > > And /dev/pstore/dmesg-efi-X was empty.... > > > > This must be __efivar_entry_get() instead of __efivar_entry_size(). > > (We may have to introduce _efivar_entry_get_locked() to avoid deadlock.) > > > > I think it is a final bug report related to this new API patch. > > Can you try the 'efi-for-tip-fixes' branch at, > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > > and see if your problems are solved?

