From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Weinberger Subject: Re: [PATCH] x86, efi: change name of efi_no_storage_paranoia parameter to efi_storage_paranoia Date: Fri, 08 Nov 2013 09:05:48 +0100 Message-ID: <527C9B5C.6040509@nod.at> References: <527C93B5.7010407@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <527C93B5.7010407-+CUm20s59erQFUHtdCDX3A@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Yasuaki Ishimatsu Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, matthew.garrett-05XSO3Yj/JvQT0dZR+AlfA@public.gmane.org, jlee-IBi9RG/b67k@public.gmane.org List-Id: linux-efi@vger.kernel.org Am 08.11.2013 08:33, schrieb Yasuaki Ishimatsu: > By following works, my system very often fails set_variable() to set new > variable to efi variable storage and shows "efivars: set_variable() failed: > status=-28" message. > > - commit 31ff2f20d9003e74991d135f56e503fe776c127c > efi: Distinguish between "remaining space" and actually used space > - commit 8c58bf3eec3b8fc8162fe557e9361891c20758f2 > x86,efi: Implement efi_no_storage_paranoia parameter > - commit f8b8404337de4e2466e2e1139ea68b1f8295974f > Modify UEFI anti-bricking code > > When booting my system, remaining space of efi variable storage is about > 5KB. So there is no room that sets a new variable to the storage. > > According to above works, efi_no_storage_paranoia parameter was prepared > for sane UEFI which can do gc and fulfills spec. But why need a system > with a sane UEFI set the parameter? It is wrong. A system with a broken > UEFI should set the parameter. And how does one know that his UEFI is broken? "Oh my board is briked because I wrote too much into a variable, maybe setting efi_storage_paranoia would have saved me. Let's try with the next board..." ;) Thanks, //richard