]> git.baikalelectronics.ru Git - kernel.git/commit
x86, efivars: firmware bug workarounds should be in platform code
authorMatt Fleming <matt.fleming@intel.com>
Mon, 25 Mar 2013 09:14:30 +0000 (09:14 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 9 Apr 2013 10:34:05 +0000 (11:34 +0100)
commit53c13a76f9dff02dc1473a42d8bb729c57a84565
tree5159dd594f8c70ef964ec0fef74a6e8482f2606e
parentdaeec3f30d3e673e428a88f7b2dfd07207db73b0
x86, efivars: firmware bug workarounds should be in platform code

Let's not burden ia64 with checks in the common efivars code that we're not
writing too much data to the variable store. That kind of thing is an x86
firmware bug, plain and simple.

efi_query_variable_store() provides platforms with a wrapper in which they can
perform checks and workarounds for EFI variable storage bugs.

Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/platform/efi/efi.c
drivers/firmware/efivars.c
include/linux/efi.h