Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fQwzx-0007uX-AM for mharc-grub-devel@gnu.org; Thu, 07 Jun 2018 11:38:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQwzv-0007uO-2v for grub-devel@gnu.org; Thu, 07 Jun 2018 11:38:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQwzr-0003yl-Sg for grub-devel@gnu.org; Thu, 07 Jun 2018 11:38:47 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:58090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fQwzr-0003xx-Hn for grub-devel@gnu.org; Thu, 07 Jun 2018 11:38:43 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w57FZUCm160183; Thu, 7 Jun 2018 15:38:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : content-transfer-encoding : in-reply-to; s=corp-2017-10-26; bh=c65wZ42x5edochWsTNMKYLBspHIDKZHbQe9LOl/R8Z8=; b=qnaodrtp1Jtv7dN7W/cZwVPpuHCYBhb5QguIwK/csTio7zSBh4n/zxWXW8KE//qEtTcA LSVVxmBRWSkEBPxYwdMl1c5MYiNE7s9kMvSiLTkp30doQsj5YvCdZH0l0mCm7q60a9u3 sXDtOeSQrXjjCj/MD5Q45Ie7c8B/OWG7mu1o5Ern+xXnqUgQRVG0DOAEV2cWPS359RG9 x1qMw02DdY8oA2XtIi7nhDMuXl7ApGExrkuTa/lJjT6IOCFZXsLf2nWGgeUBE54OiaU/ ZyzQIZMA1VJUMitPAWM2XGriHM5miCh/ouhX0L/5lfO97lBgePhy+bHmCO6ge/dwjH6P CA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2jbvyphj6c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 07 Jun 2018 15:38:37 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w57FcaWx011578 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 7 Jun 2018 15:38:37 GMT Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w57FcaBQ024673; Thu, 7 Jun 2018 15:38:36 GMT Received: from olila.local.net-space.pl (/10.175.219.113) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Jun 2018 08:38:36 -0700 Date: Thu, 7 Jun 2018 17:38:32 +0200 From: Daniel Kiper To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: grub-devel@gnu.org, xen-devel@lists.xenproject.org Subject: Re: [PATCH] multiboot2: clarify usage of the address tag Message-ID: <20180607153832.GY20016@olila.local.net-space.pl> References: <20180605095536.44938-1-roger.pau@citrix.com> <20180606172820.GW20016@olila.local.net-space.pl> <20180607144637.ux42gt4msgi2vdev@mac> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20180607144637.ux42gt4msgi2vdev@mac> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8917 signatures=668702 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1806070176 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by userp2130.oracle.com id w57FZUCm160183 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 15:38:48 -0000 On Thu, Jun 07, 2018 at 04:46:37PM +0200, Roger Pau Monn=E9 wrote: > On Wed, Jun 06, 2018 at 07:28:20PM +0200, Daniel Kiper wrote: > > On Tue, Jun 05, 2018 at 11:55:36AM +0200, Roger Pau Monne wrote: > > > Add a note to spell out that if the address tag is not present the > > > file should be loaded using the elf header. > > > > > > Signed-off-by: Roger Pau Monn=E9 > > > --- > > > Cc: Daniel Kiper > > > Cc: xen-devel@lists.xenproject.org > > > --- > > > doc/multiboot.texi | 6 ++++++ > > > 1 file changed, 6 insertions(+) > > > > > > diff --git a/doc/multiboot.texi b/doc/multiboot.texi > > > index 2e2d7e74a..196f9c17a 100644 > > > --- a/doc/multiboot.texi > > > +++ b/doc/multiboot.texi > > > @@ -509,6 +509,12 @@ assumes that no bss segment is present. > > > > > > @end table > > > > > > +Note: This information does not need to be provided if the kernel > > > +image is in elf format, but it must be provided if the image is in > > > > s/elf/@sc{elf}/ > > > > > +a.out format or in some other format. Compliant boot loaders must = be > > > +able to load images that are either in elf format or contain the > > > > Ditto. > > > > > +address tag embedded in the Multiboot header. > > > > s/Multiboot/Multiboot2/ > > > > I think that it is also worth mentioning that the address tag has > > preference over relevant data provided in ELF header. > > > > Additionally, may I ask you to provide similar patch for Multiboot sp= ec? > > You can find it in multiboot branch. Please look for "The address fie= lds > > of Multiboot header" paragraph. > > Multiboot1 already has such paragraph in the "3.1.2 The magic fields > of Multiboot header" section. Yep, you are right. So, please just send me updated Multiboot2 spec patch. Daniel