From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-by2ln0186.outbound.protection.outlook.com ([2a01:111:f400:7c0c::186] helo=na01-by2-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VK7za-0001u3-De for kexec@lists.infradead.org; Thu, 12 Sep 2013 14:35:38 +0000 From: Matthew Garrett Subject: Re: [PATCH 15/16] bootparam: Pass acpi_rsdp pointer in bootparam Date: Thu, 12 Sep 2013 14:34:58 +0000 Message-ID: <1378996498.945.4.camel@x230.lan> References: <1378849471-10521-1-git-send-email-vgoyal@redhat.com> <1378849471-10521-16-git-send-email-vgoyal@redhat.com> <522FA2A8.8080703@zytor.com> <20130911114419.GB31551@x1.alien8.de> <20130911134534.GB15364@redhat.com> <20130911143216.GA933@x1.alien8.de> <20130912064930.GA5288@dhcp-16-126.nay.redhat.com> <20130912125350.GB9280@x1.alien8.de> In-Reply-To: <20130912125350.GB9280@x1.alien8.de> Content-Language: en-US Content-ID: <3A76A262E8F59E4B9A638565CAA71CF3@namprd05.prod.outlook.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Borislav Petkov Cc: "zohar@linux.vnet.ibm.com" , "d.kasatkin@samsung.com" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "ebiederm@xmission.com" , "H. Peter Anvin" , "akpm@linux-foundation.org" , Dave Young , Vivek Goyal On Thu, 2013-09-12 at 14:53 +0200, Borislav Petkov wrote: > Why userspace part - I'm thinking the kexec'ed kernel would simply add > the mappings made by SetVirtualAddressMap without calling it. And it > will know which mappings go to which virtual addresses because we start > at the -4G virtual address and go downwards and the mappings will have > the same addresses per UEFI implementation. The second kernel still needs to be passed a pointer to the EFI tables and memory map. -- Matthew Garrett _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752917Ab3ILOgy (ORCPT ); Thu, 12 Sep 2013 10:36:54 -0400 Received: from [207.46.163.235] ([207.46.163.235]:29384 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752489Ab3ILOgw (ORCPT ); Thu, 12 Sep 2013 10:36:52 -0400 From: Matthew Garrett To: Borislav Petkov CC: Dave Young , Vivek Goyal , "H. Peter Anvin" , "linux-kernel@vger.kernel.org" , "linux-security-module@vger.kernel.org" , "kexec@lists.infradead.org" , "akpm@linux-foundation.org" , "zohar@linux.vnet.ibm.com" , "d.kasatkin@samsung.com" , "ebiederm@xmission.com" Subject: Re: [PATCH 15/16] bootparam: Pass acpi_rsdp pointer in bootparam Thread-Topic: [PATCH 15/16] bootparam: Pass acpi_rsdp pointer in bootparam Thread-Index: AQHOrm8Iv5zR2iaV9k2899UcNK3725m/k/YAgADXq4CAACHhAIAADQwAgAEdioCAAFlLAIAAHEEA Date: Thu, 12 Sep 2013 14:34:58 +0000 Message-ID: <1378996498.945.4.camel@x230.lan> References: <1378849471-10521-1-git-send-email-vgoyal@redhat.com> <1378849471-10521-16-git-send-email-vgoyal@redhat.com> <522FA2A8.8080703@zytor.com> <20130911114419.GB31551@x1.alien8.de> <20130911134534.GB15364@redhat.com> <20130911143216.GA933@x1.alien8.de> <20130912064930.GA5288@dhcp-16-126.nay.redhat.com> <20130912125350.GB9280@x1.alien8.de> In-Reply-To: <20130912125350.GB9280@x1.alien8.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [64.134.240.212] x-forefront-prvs: 0967749BC1 x-forefront-antispam-report: SFV:NSPM;SFS:(377424004)(24454002)(199002)(189002)(19580405001)(83322001)(63696002)(79102001)(46102001)(80022001)(81816001)(51856001)(81686001)(81342001)(69226001)(36756003)(19580395003)(74876001)(33646001)(66066001)(65816001)(49866001)(47736001)(4396001)(81542001)(76796001)(80976001)(47976001)(50986001)(76786001)(54356001)(53806001)(74366001)(31966008)(76482001)(83072001)(77096001)(59766001)(77982001)(74502001)(54316002)(74662001)(74706001)(56776001)(47446002)(56816003);DIR:OUT;SFP:;SCL:1;SRVR:BY2PR05MB221;H:BY2PR05MB222.namprd05.prod.outlook.com;CLIP:64.134.240.212;RD:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="utf-8" Content-ID: <3A76A262E8F59E4B9A638565CAA71CF3@namprd05.prod.outlook.com> 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 r8CEb1ui013085 On Thu, 2013-09-12 at 14:53 +0200, Borislav Petkov wrote: > Why userspace part - I'm thinking the kexec'ed kernel would simply add > the mappings made by SetVirtualAddressMap without calling it. And it > will know which mappings go to which virtual addresses because we start > at the -4G virtual address and go downwards and the mappings will have > the same addresses per UEFI implementation. The second kernel still needs to be passed a pointer to the EFI tables and memory map. -- Matthew Garrett {.n++%ݶw{.n+{G{ayʇڙ,jfhz_(階ݢj"mG?&~iOzv^m ?I