Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZFhsD-0000hc-IE for mharc-grub-devel@gnu.org; Thu, 16 Jul 2015 08:02:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFhs7-0000fp-8z for grub-devel@gnu.org; Thu, 16 Jul 2015 08:02:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFhs3-0007Wj-Ck for grub-devel@gnu.org; Thu, 16 Jul 2015 08:02:39 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:31918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFhs3-0007W0-6H for grub-devel@gnu.org; Thu, 16 Jul 2015 08:02:35 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t6GC2PjS015231 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 16 Jul 2015 12:02:26 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t6GC2Puq014330 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 16 Jul 2015 12:02:25 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t6GC2MZF010499; Thu, 16 Jul 2015 12:02:22 GMT Received: from olila.local.net-space.pl (/10.175.189.66) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 16 Jul 2015 05:02:21 -0700 Date: Thu, 16 Jul 2015 14:02:14 +0200 From: Daniel Kiper To: "Vladimir =?utf-8?Q?'=CF=86-coder=2Fphcoder'?= Serbinenko" Subject: Re: [PATCH 3/5] i386/relocator: Remove unused avoid_efi_bootservices argument Message-ID: <20150716120214.GI14050@olila.local.net-space.pl> References: <1422640768-28181-1-git-send-email-daniel.kiper@oracle.com> <1422640768-28181-4-git-send-email-daniel.kiper@oracle.com> <554B8D05.4000004@gmail.com> <20150529205843.GL3787@olila.local.net-space.pl> <20150530082542.1fc95f55@opensuse.site> <55A69D7B.50702@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <55A69D7B.50702@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: aserv0021.oracle.com [141.146.126.233] Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by userp1040.oracle.com id t6GC2PjS015231 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 Cc: jgross@suse.com, grub-devel@gnu.org, keir@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, Andrei Borzenkov , andrew.cooper3@citrix.com, roy.franz@linaro.org, ning.sun@intel.com, david.vrabel@citrix.com, jbeulich@suse.com, xen-devel@lists.xenproject.org, qiaowei.ren@intel.com, richard.l.maliszewski@intel.com, gang.wei@intel.com, fu.wei@linaro.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2015 12:02:43 -0000 On Wed, Jul 15, 2015 at 07:50:51PM +0200, Vladimir '=CF=86-coder/phcoder'= Serbinenko wrote: > On 30.05.2015 07:25, Andrei Borzenkov wrote: > > =D0=92 Fri, 29 May 2015 22:58:43 +0200 > > Daniel Kiper =D0=BF=D0=B8=D1=88=D0=B5=D1=82= : > > > >> Another questions is why grub_relocator_alloc_chunk_addr() does not = consult EFI > >> memory map if grub_relocator_alloc_chunk_align() does. Should not we= fix it? > > > > My best guess is that grub_relocator_alloc_chunk_addr() gets target > > from elsewhere so there is nothing to consult (it is caller > > responsibility); while grub_relocator_alloc_chunk_align() needs to > > actually search for suitable memory region. > > > My suggestion would be to pass avoid_boot_services =3D 1 in multiboot2 = iff > we don't terminate the services. Any problems with this approach? I am just working on new GRUB2 patches. I thought to go that way. I hope this is good idea. Probably I will post new version of patches next week. Daniel