From nobody Wed May 15 21:27:56 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) client-ip=78.46.105.101; envelope-from=seabios-bounces@seabios.org; helo=coreboot.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=pass(p=reject dis=none) header.from=seabios.org ARC-Seal: i=1; a=rsa-sha256; t=1690519345; cv=none; d=zohomail.com; s=zohoarc; b=OeY5sTabj5b5ZDvHmuSSxf/fSiEWcZDeYdX8uyi85+E2uQWyP66OufRS0X6z7+8Hlnvc0LfI/ISHn/nnDk/URPO/5Eq2PjSut6T5Ltnd4TBno4CBxzK0HfhkCZfX1zS5Sq966A+KI2cKU+ouIS1SYaNiysqIouF0TzIwwlFV6d4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1690519345; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Subject:To; bh=c9a9QEdKEOEa92L17reYV1zetaWgx2QbeAwU1dooq8Q=; b=Qyt/+vmJruM7KaPJs6aw+h+DrTQW4eP50v92uChbsuBmEbJu80G5UJus7oTRbbtpKZltchsqJGoMc/X8revlaV/d/qzuCeB8LIMD87okLyIIcOwgr2yRJcR+xZ3xo1GeJSD2sAEclpe/qFJPIaKSERw1a8lL94KA/0QIuZdjeXo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of seabios.org designates 78.46.105.101 as permitted sender) smtp.mailfrom=seabios-bounces@seabios.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from coreboot.org (coreboot.org [78.46.105.101]) by mx.zohomail.com with SMTPS id 1690519345637487.3476372617574; Thu, 27 Jul 2023 21:42:25 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTPA id C809D32539; Fri, 28 Jul 2023 04:42:20 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by coreboot.org (Postfix) with ESMTP id 2672C22DF6 for ; Fri, 28 Jul 2023 04:42:02 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp-border-fw-52002.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2023 04:42:01 +0000 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by email-inbound-relay-pdx-2c-m6i4x-5eae960a.us-west-2.amazon.com (Postfix) with ESMTPS id 452B440D66 for ; Fri, 28 Jul 2023 04:42:00 +0000 (UTC) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) EX19MTAUWC002.ant.amazon.com (10.250.64.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 28 Jul 2023 04:41:59 +0000 Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by EX19D028UWA002.ant.amazon.com (10.13.138.248) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 28 Jul 2023 04:41:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seabios.org; s=dkim; t=1690519342; h=from:from:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:list-id:list-owner:list-unsubscribe:list-subscribe:list-post; bh=c9a9QEdKEOEa92L17reYV1zetaWgx2QbeAwU1dooq8Q=; b=2ldRnoUAWmV8OT3tUsyvbVKZh/5iWjOYFmDRHNHy61dFXaMguDEqmdHIErXQAMkVzrZT+Y Ahq/Ct6k62l+/2Syxbs1ssnht1YmDPd521J2liUrIKcqgQJmEb8wbrpcaqaB4E7XqhRztD +WVmu6/S+cdbkgUA8wN2i7/BlYPRDxE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1690519322; x=1722055322; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=K7DmzXWx5vPboypmE6XiU1Vhnr5zSB7qP6iS/gimCTM=; b=IRNaPG0AFf3q4Njw9D8ZS9KXOTUthe6TGKMwB+SEzQYG3PR1rYWKnCf2 BWe6uhJmaEQTIcioGex3QIvsXxTFla8qLzdnXHGXtIoxGQ6z+MdUsy2io d6fc5+9hW4FWnG/pXe7Y7jNLnExHa1vYKGR9ehK62AggS03f+bHy35mog c=; X-IronPort-AV: E=Sophos;i="6.01,236,1684800000"; d="scan'208";a="574698790" To: Date: Fri, 28 Jul 2023 04:41:48 +0000 Message-ID: <20230728044148.58041-1-tonydt@amazon.com> MIME-Version: 1.0 X-ClientProxiedBy: EX19D031UWA004.ant.amazon.com (10.13.139.19) To EX19D028UWA002.ant.amazon.com (10.13.138.248) Message-ID-Hash: LSYK3WV5KDFS3PYSQ7AWEXBCE2WVINKQ X-Message-ID-Hash: LSYK3WV5KDFS3PYSQ7AWEXBCE2WVINKQ X-MailFrom: prvs=566eea69d=tonydt@amazon.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-seabios.seabios.org-0; header-match-seabios.seabios.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: hborghor@amazon.de, nsaenz@amazon.es, tonydt@amazon.com X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [SeaBIOS] [Increase BUILD_MAX_E820 to 128] Increase BUILD_MAX_E820 to 128 List-Id: SeaBIOS mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Tony Titus via SeaBIOS Reply-To: Tony Titus Content-Transfer-Encoding: quoted-printable Authentication-Results: coreboot.org; auth=pass smtp.auth=mailman@coreboot.org smtp.mailfrom=seabios-bounces@seabios.org X-Spamd-Bar: --- X-ZohoMail-DKIM: pass (identity @seabios.org) X-ZM-MESSAGEID: 1690519347285100001 Content-Type: text/plain; charset="utf-8" For platforms with high number of numa nodes, 32 e820 entries are not enough. Linux kernel sets the maximum e820 entries to a base value of 128. Setting BUILD_MAX_E820 to 128 to be in sync with this base value. Signed-off-by: Tony Titus --- src/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.h b/src/config.h index 9abe355..16952eb 100644 --- a/src/config.h +++ b/src/config.h @@ -15,7 +15,7 @@ #define BUILD_APPNAME4 "BXPC" =20 // Maximum number of map entries in the e820 map -#define BUILD_MAX_E820 32 +#define BUILD_MAX_E820 128 // Space to reserve in high-memory for tables #define BUILD_MIN_HIGHTABLE (256*1024) #define BUILD_MAX_HIGHTABLE (16*1024*1024) --=20 2.40.1 _______________________________________________ SeaBIOS mailing list -- seabios@seabios.org To unsubscribe send an email to seabios-leave@seabios.org