]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xen/efi: Set nonblocking callbacks
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Fri, 27 Sep 2019 15:49:20 +0000 (16:49 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 18:04:42 +0000 (19:04 +0100)
commitae2b4837c44f3e1ad343aa7bde66f7ec9ebdddc8
treef605c3be54c867f52c62b5a23c84bc4ecfc0501b
parent3e5945efef817261de7b266210573ae56ebe28af
xen/efi: Set nonblocking callbacks

BugLink: https://bugs.launchpad.net/bugs/1851876
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm/xen/efi.c
arch/x86/xen/efi.c