Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933456Ab2HPVo1 (ORCPT ); Thu, 16 Aug 2012 17:44:27 -0400 Received: from mga01.intel.com ([192.55.52.88]:27974 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933422Ab2HPVoE (ORCPT ); Thu, 16 Aug 2012 17:44:04 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.77,781,1336374000"; d="scan'208";a="203041948" Message-ID: <502D6982.4090100@linux.intel.com> Date: Thu, 16 Aug 2012 14:43:30 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Matt Fleming CC: Seiji Aguchi , "linux-kernel@vger.kernel.org" , "linux-efi@vger.kernel.org" , "x86@kernel.org" , "Thomas Gleixner (tglx@linutronix.de)" , "'mingo@elte.hu' (mingo@elte.hu)" , "olof@lixom.net" , "Paul Gortmaker (paul.gortmaker@windriver.com)" , "dle-develop@lists.sourceforge.net" , Satoru Moriya , Matthew Garrett Subject: Re: [RESEND][PATCH]efi: initialize efi.runtime_version to make query_variable_info/update_capsule workable References: <1345103598.3088.14.camel@mfleming-mobl1.ger.corp.intel.com> In-Reply-To: <1345103598.3088.14.camel@mfleming-mobl1.ger.corp.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1365 Lines: 36 On 08/16/2012 12:53 AM, Matt Fleming wrote: > On Mon, 2012-08-06 at 18:37 +0000, Seiji Aguchi wrote: >> A value of efi.runtime_version is checked before calling >> update_capsule()/query_variable_info() as follows. >> But it isn't initialized anywhere. >> >> static efi_status_t virt_efi_query_variable_info(u32 attr, >> u64 *storage_space, >> u64 *remaining_space, >> u64 *max_variable_size) { >> if (efi.runtime_version < EFI_2_00_SYSTEM_TABLE_REVISION) >> return EFI_UNSUPPORTED; >> >> >> This patch initializes a value of efi.runtime_version at boot time. >> >> Acked-by: Matthew Garrett >> Signed-off-by: Seiji Aguchi >> --- >> arch/x86/platform/efi/efi.c | 1 + >> 1 files changed, 1 insertions(+), 0 deletions(-) > > Thanks, I picked this up just so it doesn't get lost. It will probably > go to Linus via Peter Anvin. > Should I take that as an Acked-by: on your part? -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/