From patchwork Tue Nov 26 08:49:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 845559 Delivered-To: patch@linaro.org Received: by 2002:a5d:6989:0:b0:382:43a8:7b94 with SMTP id g9csp102165wru; Tue, 26 Nov 2024 00:50:44 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUwfJ4ISel49y3Eq4XESQ3KSLnOUXV+OONL3IG8/2po1ePW6TO5Oq9o1Yc7Bi06kRUYcCcx0A==@linaro.org X-Google-Smtp-Source: AGHT+IHqg2KxRe0sBX3OBGtMcyeFAk7scL3RWUq7gYOep/yuTbJnkiU9/WO/yWPKOHMfOFp8dmkN X-Received: by 2002:a05:620a:3184:b0:7b6:773f:4bd9 with SMTP id af79cd13be357-7b6773f4d8dmr109262785a.42.1732611044625; Tue, 26 Nov 2024 00:50:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732611044; cv=none; d=google.com; s=arc-20240605; b=W2tuCAZBAWyIjJXZgsxEcAONOnfwker0mn3ER6A84LFUuokqOngjfKKnhcn/m6kKqz bcY2OqMaSjg1zffhb1+FlQq437e/Zj3x+l1SilGdlFIOX4hhfHEgDzzQX9ms7gZzO6Ap APUCACGwzGVut1vjYwerfO32kSbqexyTUJsZdyyZmU6EENjfuKS/vfftBnD9e6CkyUKH CC+qFBo05PzQbejL6VdIIv9Dj2Rv06ZUmgYE68vTbG+iThdidYfiVU0zlQOu86NrywYx yME26rBaT4qXiWalZjdfQu6MM3IFfpFnGkz80bkJmwDbO0bhW+jvLvVcSr9CNxFZcn2u liOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=vt+DBc9E7puNWklMEXZgAviwA5/ofl4yBlgoefDshmI=; fh=imu8FCwvAPyTREXowf6dv81xtyfIdyEzyhIZaWdjc4o=; b=TPzKwFWqPBtrg66dfF0M6+AOUhv3dqGRpiwU0u8UqzlcSzd86WvzOYC8NyN+3jFFq0 zRUrA+F9kDsPrVKH5IZtzI2/Gsvn2uqEGuJRWFaxySn0Da55i4LqrOjPOxfilCp7PPSG MC+7U8bQSHONyXBON9ozDlY0dLUrfT25htKukld3GxhSPDAcNf5NjNHasAMJBOXjaFwd I9eqNsWVwn1Oj4WgDMHU/iP72iLuMrElnPStgPob583u0youbFl1UogyJn/alqsk2gY3 yfY/yg1nhg8PR4xQ3t+6bKsHIjFQz0QLX/Zf29o53ZzVme18dEZ262f6W/4nu+Wgdss2 027Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tQg3Jq5D; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-4666fd38c9dsi101678321cf.125.2024.11.26.00.50.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Nov 2024 00:50:44 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tQg3Jq5D; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFrGR-0003T6-1w; Tue, 26 Nov 2024 03:49:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tFrGO-0003SR-J2 for qemu-devel@nongnu.org; Tue, 26 Nov 2024 03:49:40 -0500 Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tFrGM-0002jb-RF for qemu-devel@nongnu.org; Tue, 26 Nov 2024 03:49:40 -0500 Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-aa55171d73cso321471066b.0 for ; Tue, 26 Nov 2024 00:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732610977; x=1733215777; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vt+DBc9E7puNWklMEXZgAviwA5/ofl4yBlgoefDshmI=; b=tQg3Jq5DZnvfe9doH6WxvWW/akicfU3lIpu8GezrivQC1w2ZhycvhPMCY9VHcuc528 ROtGO9fcjagM1aUFLoVSskooSeJIVulSuRT7nOjCaPBafslXk4qFzcH+0NLG0cO2ZNCy SxzQbrEOaxeJKVZua5KEYV8UqznE52gYZ8iLDlGoMWMy1Dud9IOEB4qzxFjUqVAqFzk9 DzYTT7cd6vUiudaq/SuhQ9OERHSv4mvAL0WaMR+25T2UgE5xEuIaYck5S8tPJcH4iscK sXmtIOjnK4igDsVRgJgbi6he4JiXTz7YlHt6DSiz3yLdJ6RMrZhJFwnt3bH/fWg319On K6cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732610977; x=1733215777; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vt+DBc9E7puNWklMEXZgAviwA5/ofl4yBlgoefDshmI=; b=HkZYHMXiF4dKnn3SUZYUlhJighI9Ce1I5qKWgBVyMqQZkThebK2zufgK/VxTt6VbNR gxD0QJZRgpHk45vY85sRx8R7nxnMlNNQQJ3+Dxzon6+b03K1/4KcUVvOZvu20BYdCSLI Pkn5dobro2NxnQMoZYeebDs+4K4dCJ0L/3gvn8bbcftru48NQZr0yWgwpTJFxVd0YYG3 kk7o00AD8mz0LLLpqML19ajF+ClTul/zvJevv5LUE1Pu+6pGQxzShctzFWPeyZyrv0Jn avZZHbR01ck8gEi/2STg0RaC2iFhOVsQgn7eSc/y9AIlrvpTWg7TTBJ450bL+3f9Gq7M c1JA== X-Gm-Message-State: AOJu0YyeAMUV/hsL1VjFk6P+hs2rfzBNjvWwisMaGQUh3/BnUNsuRJ7V Rf8LzLBJEmTLTI4mp+eQPTyDkk1HQEDQ9l5KAZE0z45lGpgmG0CfeXrBLNFj4UlOaqDBjPicMQ9 + X-Gm-Gg: ASbGncs1RDgTxNVzbLbE8MpxZDma4hqvp5LrQrzB1p8iForLCsyBEyiM15pFzDeUp/n yEY8Lx7fU3ppDgy283aVFX8VjTtQ0hfEQQJ44/t37juCq9WHJQVWTsZ/kA2Lh1StjDcXjh0DBUC qfX23MONYDBKzoS3yalEjaVwuqnxcMyOb3spDlURiAWD/dSzkMY6Ktvsq5nui1oarUcigR3cGb9 ypVBfTcJjt0VEexw3g+hECYM5cf0wd7JGxVOg9J/zOiXjlk6EGntXdNY8IHKEPcfaJBfJRDWn3T 80ohc1HAAhWsSzJI9YBaNbjAug== X-Received: by 2002:a17:907:7809:b0:aa5:2e06:7e18 with SMTP id a640c23a62f3a-aa564891059mr223979966b.10.1732610976879; Tue, 26 Nov 2024 00:49:36 -0800 (PST) Received: from applejack.lan (83.11.10.28.ipv4.supernova.orange.pl. [83.11.10.28]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa50b2efbf1sm568553666b.44.2024.11.26.00.49.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2024 00:49:36 -0800 (PST) From: Marcin Juszkiewicz To: qemu-devel@nongnu.org Cc: Peter Maydell , Leif Lindholm , qemu-arm@nongnu.org, Mathieu Poirier , Radoslaw Biernacki , Marcin Juszkiewicz Subject: [PATCH 1/1] hw/arm/sbsa-ref: bump default memory size to 2GB Date: Tue, 26 Nov 2024 09:49:28 +0100 Message-ID: <20241126084928.252067-1-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=marcin.juszkiewicz@linaro.org; helo=mail-ej1-x62b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org We are working on adding RME support to SBSA Reference Platform. When RME is enabled then RMM (Realm Managment Monitor) takes 1072MB of memory for own use. Which ends with firmware panic on 1GB machine. Signed-off-by: Marcin Juszkiewicz --- hw/arm/sbsa-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index e3195d5449..2195465202 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -901,7 +901,7 @@ static void sbsa_ref_class_init(ObjectClass *oc, void *data) mc->block_default_type = IF_IDE; mc->no_cdrom = 1; mc->default_nic = "e1000e"; - mc->default_ram_size = 1 * GiB; + mc->default_ram_size = 2 * GiB; mc->default_ram_id = "sbsa-ref.ram"; mc->default_cpus = 4; mc->smp_props.clusters_supported = true;