xen/efi: Set nonblocking callbacks
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Fri, 27 Sep 2019 15:49:20 +0000 (16:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2019 08:19:33 +0000 (09:19 +0100)
commit90a886b68faacff8955bd1864431ecf9060aa848
tree1ee8482c22bf52f2cae58bdf602626e9dc708731
parent5d880444955ea5911c38c67ecb13a22f800dc766
xen/efi: Set nonblocking callbacks

[ Upstream commit df359f0d09dc029829b66322707a2f558cb720f7 ]

Other parts of the kernel expect these nonblocking EFI callbacks to
exist and crash when running under Xen. Since the implementations of
xen_efi_set_variable() and xen_efi_query_variable_info() do not take any
locks, use them for the nonblocking callbacks too.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/xen/efi.c
arch/x86/xen/efi.c