From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755425AbcBCLuw (ORCPT ); Wed, 3 Feb 2016 06:50:52 -0500 Received: from terminus.zytor.com ([198.137.202.10]:55577 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755824AbcBCLcG (ORCPT ); Wed, 3 Feb 2016 06:32:06 -0500 Date: Wed, 3 Feb 2016 03:31:02 -0800 From: tip-bot for Ard Biesheuvel Message-ID: Cc: peterz@infradead.org, tglx@linutronix.de, mingo@kernel.org, torvalds@linux-foundation.org, hpa@zytor.com, brgerst@gmail.com, dvlasenk@redhat.com, linux-kernel@vger.kernel.org, bp@alien8.de, matt@codeblueprint.co.uk, ard.biesheuvel@linaro.org Reply-To: linux-kernel@vger.kernel.org, bp@alien8.de, matt@codeblueprint.co.uk, ard.biesheuvel@linaro.org, hpa@zytor.com, brgerst@gmail.com, torvalds@linux-foundation.org, dvlasenk@redhat.com, tglx@linutronix.de, mingo@kernel.org, peterz@infradead.org In-Reply-To: <1454364428-494-2-git-send-email-matt@codeblueprint.co.uk> References: <1454364428-494-2-git-send-email-matt@codeblueprint.co.uk> To: linux-tip-commits@vger.kernel.org Subject: [tip:efi/core] efi: Expose non-blocking set_variable() wrapper to efivars Git-Commit-ID: 9c6672ac9c91f7eb1ec436be1442b8c26d098e55 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 9c6672ac9c91f7eb1ec436be1442b8c26d098e55 Gitweb: http://git.kernel.org/tip/9c6672ac9c91f7eb1ec436be1442b8c26d098e55 Author: Ard Biesheuvel AuthorDate: Mon, 1 Feb 2016 22:06:55 +0000 Committer: Ingo Molnar CommitDate: Wed, 3 Feb 2016 11:31:01 +0100 efi: Expose non-blocking set_variable() wrapper to efivars Commit 6d80dba1c9fe ("efi: Provide a non-blocking SetVariable() operation") implemented a non-blocking alternative for the UEFI SetVariable() invocation performed by efivars, since it may occur in atomic context. However, this version of the function was never exposed via the efivars struct, so the non-blocking versions was not actually callable. Fix that. Signed-off-by: Ard Biesheuvel Signed-off-by: Matt Fleming Cc: Borislav Petkov Cc: Brian Gerst Cc: Denys Vlasenko Cc: H. Peter Anvin Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-efi@vger.kernel.org Fixes: 6d80dba1c9fe ("efi: Provide a non-blocking SetVariable() operation") Link: http://lkml.kernel.org/r/1454364428-494-2-git-send-email-matt@codeblueprint.co.uk Signed-off-by: Ingo Molnar --- drivers/firmware/efi/efi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c index 9b815c8..20451c2 100644 --- a/drivers/firmware/efi/efi.c +++ b/drivers/firmware/efi/efi.c @@ -182,6 +182,7 @@ static int generic_ops_register(void) { generic_ops.get_variable = efi.get_variable; generic_ops.set_variable = efi.set_variable; + generic_ops.set_variable_nonblocking = efi.set_variable_nonblocking; generic_ops.get_next_variable = efi.get_next_variable; generic_ops.query_variable_store = efi_query_variable_store;