From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59E13C433EF for ; Wed, 9 Feb 2022 15:37:14 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.269349.463405 (Exim 4.92) (envelope-from ) id 1nHp1X-00070R-5D; Wed, 09 Feb 2022 15:36:51 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 269349.463405; Wed, 09 Feb 2022 15:36:51 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nHp1X-00070K-1q; Wed, 09 Feb 2022 15:36:51 +0000 Received: by outflank-mailman (input) for mailman id 269349; Wed, 09 Feb 2022 15:36:50 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nHp1W-00070E-6D for xen-devel@lists.xenproject.org; Wed, 09 Feb 2022 15:36:50 +0000 Received: from smtp1.irit.fr (smtp1.irit.fr [141.115.24.2]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 13eed863-89be-11ec-8f75-fffcc8bd4f1a; Wed, 09 Feb 2022 16:36:41 +0100 (CET) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 13eed863-89be-11ec-8f75-fffcc8bd4f1a From: To: "'Jan Beulich'" Cc: References: <20220209131251.387-1-dinhngoc.tu@irit.fr> <000801d81dc8$8f15b9a0$ad412ce0$@irit.fr> <2bdd699a-9644-ee6c-c75d-c5577c836f62@suse.com> In-Reply-To: <2bdd699a-9644-ee6c-c75d-c5577c836f62@suse.com> Subject: RE: [PATCH v2] x86: Use low memory size directly from Multiboot Date: Wed, 9 Feb 2022 16:36:47 +0100 Message-ID: <000b01d81dca$d932e420$8b98ac60$@irit.fr> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thread-Index: AQIgBme26ChWP5n2WBO9OQe2xD3DKQHRtGxLAKyTMs0BFUqAwwHPzDknq9BsZPA= Content-Language: en > -----Original Message----- > From: Jan Beulich > Sent: Wednesday, 9 February 2022 16:23 > To: dinhngoc.tu@irit.fr > Cc: xen-devel@lists.xenproject.org > Subject: Re: [PATCH v2] x86: Use low memory size directly from = Multiboot >=20 > On 09.02.2022 16:20, dinhngoc.tu@irit.fr wrote: > > This change should only affect the particular case of booting with > Multiboot2 without EFI (e.g. legacy BIOS or Kexec). Other cases like > Multiboot 0.x, EFI booting (with or without MB2), or bootloaders that > generate the BASIC_MEMINFO tag correctly shouldn't be affected. >=20 > How that? You're taking out the reading of the BDA value altogether, = aren't > you? This is certainly a change affecting other environments as well. >=20 > Jan I missed that the BDA was used when booting on Multiboot 0.x as well. I = can add a fallback to use the BDA when the bootloader doesn't provide = low memory size in the MBI.