From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH 12/12] EFI: Runtime services virtual mapping Date: Wed, 23 Oct 2013 15:11:13 +0200 Message-ID: <20131023131113.GA16432@nazgul.tnic> References: <20131013031126.GB1914@darkstar.nay.redhat.com> <20131013092521.GA22866@pd.tnic> <20131014155851.GJ4009@pd.tnic> <20131021124739.GA4515@dhcp-16-126.nay.redhat.com> <20131021133741.GA5716@nazgul.tnic> <20131021150426.GB4515@dhcp-16-126.nay.redhat.com> <20131022111857.GA10660@nazgul.tnic> <20131023021730.GE4594@dhcp-16-126.nay.redhat.com> <20131023122531.GA15848@nazgul.tnic> <20131023125131.GA5552@dhcp-16-126.nay.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <20131023125131.GA5552-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Dave Young Cc: Matt Fleming , X86 ML , LKML , Borislav Petkov , Matthew Garrett , "H. Peter Anvin" , James Bottomley , Vivek Goyal , linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, fwts-devel-nLRlyDuq1AZFpShjVBNYrg@public.gmane.org List-Id: linux-efi@vger.kernel.org On Wed, Oct 23, 2013 at 08:51:31PM +0800, Dave Young wrote: > In kexed 2nd kernel, phys_start_b need to be mapped to virt_start_b > Simply use efi_map_region from your patch does not work because it > will map phys_start_b to a different virt address, isn't it? Oh ok, in the second kernel we're not mapping *all* regions we do map in the first kernel, right. > So I need simply map according to the kexec passed in mapping addr. Yes, thanks for elaborating.