Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fRDoX-0008Bx-MY for mharc-grub-devel@gnu.org; Fri, 08 Jun 2018 05:36:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fRDoU-00088b-1b for grub-devel@gnu.org; Fri, 08 Jun 2018 05:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fRDoR-0006Kb-9l for grub-devel@gnu.org; Fri, 08 Jun 2018 05:36:05 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:54566) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fRDoR-00067N-0V for grub-devel@gnu.org; Fri, 08 Jun 2018 05:36:03 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w589Zxgl192079; Fri, 8 Jun 2018 09:35:59 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=XN+NrU8Ht0hqPa3uVfP2aQqvsXV6ZQMXLrkutF6l9yA=; b=G7m0KPmTKfrspBsvA84RC3Z3L72J5og0/qBgl/zFqbVSfwUDfGUkgXHlTh1rfaNi6rTO GxtwFrxQFq/CN7KHftr+mwn+weOU72vzlB2EjAuX1Ctrm467qcnsmxs+38ovkeXx8cuF RR8TQrM+RzmrjSu3x1D7cDPNOelDZzQOkReh782Ax4FNORnUkMUYvI/I/hroS21tpnXH uhWfTAwGRALbvDIx0u76Wnkr0NuJ5BacoOHRL4eAY7w//ihLA8iuA6kxCuvOLgRmfrDi MSqdPmyMnP/nX/QcICv0D8tP8rbOKsD+jXmdipIM3Mt3LzkDasYTkXMDRCYh3esygGEK mw== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2130.oracle.com with ESMTP id 2jbvypc89m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 08 Jun 2018 09:35:58 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w589ZvOa024225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 8 Jun 2018 09:35:57 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w589Zu2l018767; Fri, 8 Jun 2018 09:35:56 GMT Received: from olila.local.net-space.pl (/10.175.218.66) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 08 Jun 2018 02:35:56 -0700 Date: Fri, 8 Jun 2018 11:35:52 +0200 From: Daniel Kiper To: Roger Pau Monne Cc: grub-devel@gnu.org, xen-devel@lists.xenproject.org Subject: Re: [PATCH v2] multiboot2: clarify usage of the address tag Message-ID: <20180608093552.GA20016@olila.local.net-space.pl> References: <20180607155906.14304-1-roger.pau@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20180607155906.14304-1-roger.pau@citrix.com> 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-1806080111 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by aserp2130.oracle.com id w589Zxgl192079 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 141.146.126.79 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: Fri, 08 Jun 2018 09:36:08 -0000 On Thu, Jun 07, 2018 at 05:59:06PM +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 > --- > Changes since v1: > - s/elf/@sc{elf}/ > - s/Multiboot/Multiboot2/ > --- > doc/multiboot.texi | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/doc/multiboot.texi b/doc/multiboot.texi > index 2e2d7e74a..3c797787c 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 imag= e > +is in @sc{elf} format, but it must be provided if the image is in a.ou= t > +format or in some other format. Compliant boot loaders must be able to > +load images that are either in @sc{elf} format or contain the address > +tag embedded in the Multiboot2 header. > + Now it is better. However, there is a lack of information that this tag should be preferred over the relevant data provided in the ELF header if both are available in the image. This have to be clear like it is in Multiboot spec. Daniel