OSDN Git Service

Revert "x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls"
authorSasha Levin <sashal@kernel.org>
Tue, 12 Mar 2019 00:28:23 +0000 (20:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 07:44:28 +0000 (08:44 +0100)
commita20168a138368f4d470923f0d446bfcc827fe745
treef15b23c4958cffb737683cd1736c3aece36ed53c
parenta264be2b41088ed423f5610e8d0b8e923b4c32af
Revert "x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls"

This reverts commit 7212e37cbdf99f48e4a6c689a42f4bda1ae69001.

Hedi Berriche <hedi.berriche@hpe.com> notes:

> In 4.4-stable efi_runtime_lock as defined in drivers/firmware/efi/runtime-wrappers.c
> is a spinlock (given it predates commit dce48e351c0d) and commit
>
>         f331e766c4be x86/platform/UV: Use efi_runtime_lock to serialise BIOS calls
>
> which 7212e37cbdf9 is a backport of, needs it to be a semaphore.

Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/include/asm/uv/bios.h
arch/x86/platform/uv/bios_uv.c
drivers/firmware/efi/runtime-wrappers.c