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 1E644C433F5 for ; Wed, 9 Feb 2022 11:46:27 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.269045.463016 (Exim 4.92) (envelope-from ) id 1nHlQK-0008PJ-9I; Wed, 09 Feb 2022 11:46:12 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 269045.463016; Wed, 09 Feb 2022 11:46:12 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nHlQK-0008PC-62; Wed, 09 Feb 2022 11:46:12 +0000 Received: by outflank-mailman (input) for mailman id 269045; Wed, 09 Feb 2022 11:46:11 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nHlQJ-0008P6-9D for xen-devel@lists.xenproject.org; Wed, 09 Feb 2022 11:46:11 +0000 Received: from smtp1.irit.fr (smtp1.irit.fr [141.115.24.2]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id df713ade-899d-11ec-8eb8-a37418f5ba1a; Wed, 09 Feb 2022 12:46:09 +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: df713ade-899d-11ec-8eb8-a37418f5ba1a From: To: "'Jan Beulich'" Cc: References: <001301d81da4$4c993260$e5cb9720$@irit.fr> In-Reply-To: Subject: RE: [PATCH] x86: Use low memory size directly from Multiboot Date: Wed, 9 Feb 2022 12:46:07 +0100 Message-ID: <000001d81daa$a0790080$e16b0180$@irit.fr> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thread-Index: AQJrcJfgWzm7vtgGx61EYtSg2KG0pwIgBme2q1NzIkA= Content-Language: en > The comment here is a pretty clear indication that bad values may have = been > observed, even if this was only in the distant past. But we have to = not > regress even on very old boot loaders. >=20 > Is the kexec case recognizable by any means (including to distinguish = kexec > properly communicating the value vs it not doing so, as iirc it was = said on irc > that this didn't always work correctly there), such that we could skip = using > the BDA value in that case? Old Kexec used to report the value in bytes instead of kilobytes like = it's supposed to. I can make a special case for that so that we won't = have to rely on the BDA.