From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1ZFQpd-0004Z3-5l for mharc-grub-devel@gnu.org; Wed, 15 Jul 2015 13:50:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFQpa-0004XO-Vn for grub-devel@gnu.org; Wed, 15 Jul 2015 13:50:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZFQpa-0003q3-69 for grub-devel@gnu.org; Wed, 15 Jul 2015 13:50:54 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:33759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZFQpZ-0003po-Vh for grub-devel@gnu.org; Wed, 15 Jul 2015 13:50:54 -0400 Received: by widic2 with SMTP id ic2so9145213wid.0 for ; Wed, 15 Jul 2015 10:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=YQ5cZboqtSlM0K8QMjDF34Z5h90v6+b9tCPXk3uid+o=; b=b0kNr141/sY0rGJOBKhrAzubYMARlB1JXmQPQ0HyGjysE2JosXpY8ObD0lEn9DRL74 q85zqTtOYNPRnclKBgrNoj62MM244Ki+zGaedPSE4zUdoh8dbWKJhqVqaTIY1Sz5Xo9D IuIlP85uCIhzlGlaRghbYNnI00LZ1W9f3Q6gQ/+6aIfI5Ep//LBURo5kx+4WAMhTWPRZ 9pP1nnna/FR9E3VGvykyn2MVp8NgLhhcI4kqEOcj6IZgKmC5dZelePWXhkmOA1d7VQCs ysxSlEU6U9YMDQWcpUZAi7M9Cl5RglK+hPKsW04n+jn3O0BKxlZIEJN9YcfO8bPEsrYp rQjA== X-Received: by 10.194.175.65 with SMTP id by1mr11493479wjc.152.1436982653296; Wed, 15 Jul 2015 10:50:53 -0700 (PDT) Received: from ?IPv6:2620:0:105f:fd00:863a:4bff:fe50:abc4? ([2620:0:105f:fd00:863a:4bff:fe50:abc4]) by smtp.gmail.com with ESMTPSA id d7sm847399wij.0.2015.07.15.10.50.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jul 2015 10:50:52 -0700 (PDT) Message-ID: <55A69D7B.50702@gmail.com> Date: Wed, 15 Jul 2015 19:50:51 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Andrei Borzenkov , Daniel Kiper Subject: Re: [PATCH 3/5] i386/relocator: Remove unused avoid_efi_bootservices argument 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> In-Reply-To: <20150530082542.1fc95f55@opensuse.site> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vRJtMSwXMBMrfLbFB39I5b9Q5cTc19a26" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::236 Cc: jgross@suse.com, grub-devel@gnu.org, keir@xen.org, ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, 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: Wed, 15 Jul 2015 17:50:55 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vRJtMSwXMBMrfLbFB39I5b9Q5cTc19a26 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: >=20 >> Another questions is why grub_relocator_alloc_chunk_addr() does not co= nsult EFI >> memory map if grub_relocator_alloc_chunk_align() does. Should not we f= ix it? >=20 > 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. >=20 My suggestion would be to pass avoid_boot_services =3D 1 in multiboot2 if= f we don't terminate the services. Any problems with this approach? --vRJtMSwXMBMrfLbFB39I5b9Q5cTc19a26 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREKAAYFAlWmnXsACgkQmBXlbbo5nOt40QD+MiBZjbEypVu9kdUcV5pTYkhi TQ446utC0vFix0fLvDoA/2C1mXtfJ7IvZQKG7zd7ZUayA74ntreSgRgian369NZP =1Guo -----END PGP SIGNATURE----- --vRJtMSwXMBMrfLbFB39I5b9Q5cTc19a26--