From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code Date: Thu, 30 May 2013 22:21:53 +0000 Message-ID: <1369952512.11620.14.camel@x230> References: <20130522162747.GA20816@sgi.com> <20130523115801.GJ14575@console-pimps.org> <20130523203234.GD20913@sgi.com> <20130524074331.GL14575@console-pimps.org> <20130529210115.GC28027@sgi.com> <20130529224645.GA16582@sgi.com> <1369880172.17397.11.camel@linux-s257.site> <20130530221737.GA11105@sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Return-path: In-Reply-To: <20130530221737.GA11105-sJ/iWh9BUns@public.gmane.org> Content-Language: en-US Content-ID: Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Russ Anderson Cc: joeyli , Jiri Kosina , Matt Fleming , "matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org" , "linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Borislav Petkov List-Id: linux-efi@vger.kernel.org T24gVGh1LCAyMDEzLTA1LTMwIGF0IDE3OjE3IC0wNTAwLCBSdXNzIEFuZGVyc29uIHdyb3RlOg0K DQo+IFRoYXQncyBhIGdyZWF0IGlkZWEuICBUaGlzIHBhdGNoIG1vdmVzIHRoZSBRdWVyeVZhcmlh YmxlSW5mbygpDQo+IGNhbGwgZnJvbSBib290aW1lIHRvIHJ1bnRpbWUsIGluIGVmaV9sYXRlX2lu aXQoKS4gIFRoZSBhdHRhY2hlZA0KPiBwYXRjaCBpcyBjb25zaXN0ZW50IHdpdGggdGhlIFVFRkkg c3BlYyBhbmQgYXZvaWRzIHRoZSBwcm9ibGVtLg0KDQpObywgdGhhdCBkZWZlYXRzIHRoZSBlbnRp cmUgcG9pbnQgb2YgdGhlIG9yaWdpbmFsIHBhdGNoLg0KDQotLSANCk1hdHRoZXcgR2FycmV0dCB8 IG1qZzU5QHNyY2YudWNhbS5vcmcNCg== From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759526Ab3E3WYP (ORCPT ); Thu, 30 May 2013 18:24:15 -0400 Received: from [207.46.163.242] ([207.46.163.242]:3383 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1758693Ab3E3WYH (ORCPT ); Thu, 30 May 2013 18:24:07 -0400 From: Matthew Garrett To: Russ Anderson CC: joeyli , Jiri Kosina , Matt Fleming , "matt.fleming@intel.com" , "linux-efi@vger.kernel.org" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , Ingo Molnar , "Thomas Gleixner" , "H. Peter Anvin" , Borislav Petkov Subject: Re: [regression, bisected] x86: efi: Pass boot services variable info to runtime code Thread-Topic: [regression, bisected] x86: efi: Pass boot services variable info to runtime code Thread-Index: AQHOXYQW/WUBwmRoikKwtmPDRFxJOQ== Date: Thu, 30 May 2013 22:21:53 +0000 Message-ID: <1369952512.11620.14.camel@x230> References: <20130522162747.GA20816@sgi.com> <20130523115801.GJ14575@console-pimps.org> <20130523203234.GD20913@sgi.com> <20130524074331.GL14575@console-pimps.org> <20130529210115.GC28027@sgi.com> <20130529224645.GA16582@sgi.com> <1369880172.17397.11.camel@linux-s257.site> <20130530221737.GA11105@sgi.com> In-Reply-To: <20130530221737.GA11105@sgi.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.255.84.4] x-forefront-antispam-report: SFV:SKI;SFS:;DIR:OUT;SFP:;SCL:-1;SRVR:BY2PR05MB223;H:BY2PR05MB222.namprd05.prod.outlook.com;LANG:en; Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 X-OriginatorOrg: nebula.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id r4UMOXeL020937 On Thu, 2013-05-30 at 17:17 -0500, Russ Anderson wrote: > That's a great idea. This patch moves the QueryVariableInfo() > call from bootime to runtime, in efi_late_init(). The attached > patch is consistent with the UEFI spec and avoids the problem. No, that defeats the entire point of the original patch. -- Matthew Garrett | mjg59@srcf.ucam.org {.n++%ݶw{.n+{G{ayʇڙ,jfhz_(階ݢj"mG?&~iOzv^m ?I