Received: by 2002:a17:505:a0c:b0:1be9:327d:8ee3 with SMTP id cg12csp11906njb; Thu, 5 Dec 2024 02:15:07 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXNJhqtV0APXMl4YNhmqD3CffxuxxA7d93tzXJyo6twwqvcm0V7bq+bYvE19CWck8tXRH/TxhA2sgMAaQ==@linaro.org X-Google-Smtp-Source: AGHT+IFbwcTGobKSXkn+NZAu0KppdPEeBbifbNFsOjv24ZChvmKP3nSLMY/BYopLqdEat4a5YE5G X-Received: by 2002:a05:620a:44c6:b0:7a9:a1f4:d4e1 with SMTP id af79cd13be357-7b6a61c5e45mr1094981385a.39.1733393707336; Thu, 05 Dec 2024 02:15:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733393707; cv=none; d=google.com; s=arc-20240605; b=cm/nSQ8NRNWmUJ5c0gWNnfkI5zHspbtcoCTFdCiYe6oTgIKKAARPb8AAA1EVP2ums9 op7jLaCZV+wi8/Pp5FwnB4D/HY5vWRw7Ko4/zjdx7LEW6t1MKL0R4pbt32l3HkjBecbU BxD4Vw+HlHNd2+M8SYlcLNnFAcjY0TLR6RtrMYW7+7GypANMToH9f1zxc3DuOhoUu0eG pYG9+jvzXVFzkcb1iIxhhNM6FgbGYw8fyIL3E9JKZ0wpTEE46XsEcjgxDr1xtkjAepMp 1IcfQUCi3V6pieP1AXUrln4LEX4hemGv8jFqje1w6HaXNvdSQfYQmcEzwopjHS/tQNBw ozCA== 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 :in-reply-to:organization:content-language:from:references:cc:to :subject:user-agent:mime-version:date:message-id:dkim-signature; bh=4/bY7D9zWncrnLprGHcPJ9u9Yr/L873S7Pe0nbD8v5A=; fh=U3VGwZ+VEiRPJz/MagdVFCpA4DdILjUWxr93IaFoUW0=; b=bbc1U/u7UftTSPj5BYZjVHp6+wRIxVld4l41529VMi13WMDZrWNjDFBx0szqxVNRqR 7gwoj8/vRWhcqqqmjiTvwcezt/MwGv9zhv2f8rn9WT9zvT4W0tM95SdN/TXejxrVmwsq 0bd4uj4LCGE+3/ftp6tvDmOj6gmvoPL3VbcS7inlyxxCmixEVU6LghgyhtQrtvejKBEu C4Q1jhrcZQVxSSmbEMPwQ3u/3MFozzgl8sOhaTKyyRE1CUlZmIA6INYWXUF2TMsAefZK FLV964QE44DnUiAuC705w24d9luoP16pTX6ciAwiIYkWs5WJgSBAo8WiD7Ay5laIiaVR 3iiQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Zr90dqYm; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=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 6a1803df08f44-6d8dac25aa2si13225936d6.431.2024.12.05.02.15.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Dec 2024 02:15:07 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+alex.bennee=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=Zr90dqYm; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=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 1tJ8sh-0007JW-Lr; Thu, 05 Dec 2024 05:14:47 -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 1tJ8sf-0007Ix-MU for qemu-devel@nongnu.org; Thu, 05 Dec 2024 05:14:45 -0500 Received: from mail-lj1-x233.google.com ([2a00:1450:4864:20::233]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJ8sd-0001FM-Ku for qemu-devel@nongnu.org; Thu, 05 Dec 2024 05:14:45 -0500 Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2ffc380b1d0so7450711fa.0 for ; Thu, 05 Dec 2024 02:14:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733393681; x=1733998481; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:organization:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=4/bY7D9zWncrnLprGHcPJ9u9Yr/L873S7Pe0nbD8v5A=; b=Zr90dqYmX884NPbm5DLVVjmFZLgTQ4SS9oV7lF8XTUwIsL1yOPUd7Aos+T2BWULIkB VCKXYqHIDtDLHJ9JwNGi4aNxsrhtdj2gPtJk6Ny9njzhCgR/kfpmzG4fJoyvpHse6dtq vajDOzjtcRbvBzdjbGkJfND7MAghwC5d75hzVxm4VUUu600aDooVtMsBIAYbVwjboJfY hKf01Cfs47ZzP+3vWNGkxAKpxtCGwmVfLnJQnf2U5EovYmDSb2M//SpXzwizui4QQt8N 5X9TGNISe9X0d1SofRC5+N6eJe9HZvkIkqNtWcxWjtVYjM9W0LxfwaJKdU4EobZnmkn2 2IBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733393681; x=1733998481; h=content-transfer-encoding:in-reply-to:organization:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4/bY7D9zWncrnLprGHcPJ9u9Yr/L873S7Pe0nbD8v5A=; b=a8UwoGWUP2ep07695JCfCU8Ozz1tUP05PpKfaExtyo0s4mrC8CcruVpfrNNbUEJQhE edh3GtA08ztw1ihTEDYQCbsp4moD4GeHBjwjmiqTRzj1EKIocBCbIfUyLHqTDglEqfcD LlLf2xXYUrnLxU7oH9iVhWTz5E05o3mzVLOPB4BkGuoj9Ad/ReKzp7wTA4P/dgaLqQe2 oNVYmk5i1SMk6AGcKpDfMV0ts/vc0dCSYGDMyvMGvF5b5UzBA5cwDj1u+IrVuSmhj4rs VczEKBuOiZMb1keeBwydhDjZ4v5e+80VJanbqMqepFWRxFJQtMP6VXLENRxQq5uC+FpY 7hvA== X-Gm-Message-State: AOJu0YzgT2QQyJ5NjwudHAUvNXFOw+a7DVrZy35vE2zrsNxGTBXocfF4 nueoCaYDST24BxFpBvVOMsgAjBie668OeJoIvS/DpaeAcJtowcW3G8FaZ6f7GIo= X-Gm-Gg: ASbGncuNBKIBGrJNt4sF0Zh5oGzk1CoTAnAIxk90bYeC4stkN59jmQ84WTjofc2KpEU ns1UsK9TvRPJ+Xc5HlP2r6Suxo/gyqoJ6p9QRvrFw0vAIJ+nkWb+XDX8v15q0fU5SNq899ZTijI 9wDw8Ko4UyBs4sj6gmktBtTn7+DJQnFCK3SOAn7eMA4AO4nbrgLq+s4HTYNGJAfObqxzk1pI6JN 2nmp2SHJHjnQRKTLOxSA7pA0J++PwdEDaa/QAqXyAtp1LBI/ECD4vI3LpSZqEQrMZOl0+ar1QTo 0oS2jyIPX5Xuwuo+JpFemtKNB8e5+zw= X-Received: by 2002:a2e:a584:0:b0:2ff:d11b:d5b with SMTP id 38308e7fff4ca-3001eb8e62bmr8255991fa.14.1733393680951; Thu, 05 Dec 2024 02:14:40 -0800 (PST) Received: from [192.168.210.26] (83.11.36.235.ipv4.supernova.orange.pl. [83.11.36.235]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-30020da25cfsm1725251fa.38.2024.12.05.02.14.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Dec 2024 02:14:40 -0800 (PST) Message-ID: <18ba737f-d669-4e6a-8319-fb5052223b26@linaro.org> Date: Thu, 5 Dec 2024 11:14:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] hw/arm/sbsa-ref: bump default memory size to 2GB To: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= , Leif Lindholm , Peter Maydell Cc: qemu-devel@nongnu.org, qemu-arm@nongnu.org, Mathieu Poirier , Radoslaw Biernacki , leif.lindholm@oss.qualcomm.com References: <20241126084928.252067-1-marcin.juszkiewicz@linaro.org> <2106db77-88fb-4113-ae09-9bf77bce6ad7@quicinc.com> From: Marcin Juszkiewicz Content-Language: pl-PL, en-GB Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::233; envelope-from=marcin.juszkiewicz@linaro.org; helo=mail-lj1-x233.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+alex.bennee=linaro.org@nongnu.org Sender: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: gW4LdcmzU9hV W dniu 4.12.2024 o 21:50, Philippe Mathieu-Daudé pisze: > On 4/12/24 13:17, Leif Lindholm wrote: >> On 2024-12-02 10:53, Marcin Juszkiewicz wrote: >>> W dniu 26.11.2024 o 14:14, Peter Maydell pisze: >>>> On Tue, 26 Nov 2024 at 08:49, Marcin Juszkiewicz >>>> wrote: >>>>> >>>>> 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. >>>> >>>> Reasonable change, but isn't it also a bug in the RMM that it >>>> grabs 1GB of RAM regardless of how much RAM the machine >>>> actually has? >>> >>> I think that the goal is "get it working" first and then optimize. >> >> I agree on a different platform this could feel quite hacky, but in >> reality even 2GB falls within "ridiculously low for an SBSA platform". >> >> If we're worried about overhead for CI jobs that do not require the >> feature, we could always conditionalize it on RME being enabled. But >> I'd be happy to wait and see. > > I'd rather do that, since it is as simple as: This is sbsa-ref not sbc-ref. Let it just have that 2GB of ram. None of existing SBSA systems comes with such low amount. If there is a use which is memory limited then it can set other values with "-m" argument as always. That's my opinion. I am fine with whatever option gets merged.