This is a resend of the generic part of the series 'efi interruptible runtime services', of which v3 was sent out on January 13th. I have added an additional patch on top which gives runtime-wrappers.c the same treatment as efivars.c, i.e., replacing the spinlock with a semaphore. v2: rebase onto v4.7-rc3 pr_warn() on failure to acquire the rt services semaphore before invoking the reset_system runtime service map EFI_ABORTED onto -EINTR v3: drop lockdep_assert_xxx() calls (#2) Ard Biesheuvel (1): efi: replace runtime services spinlock with semaphore Sylvain Chouleur (2): efi: use a file local lock for efivars efi: don't use spinlocks for efi vars drivers/firmware/efi/efi-pstore.c | 36 +++-- drivers/firmware/efi/efi.c | 3 + drivers/firmware/efi/efivars.c | 22 ++- drivers/firmware/efi/runtime-wrappers.c | 81 ++++++----- drivers/firmware/efi/vars.c | 142 ++++++++++++-------- fs/efivarfs/inode.c | 5 +- fs/efivarfs/super.c | 9 +- include/linux/efi.h | 13 +- 8 files changed, 200 insertions(+), 111 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html