From patchwork Tue May 23 17:28:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 685011 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1848895wrt; Tue, 23 May 2023 10:29:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4BXkHuHMJHXmx9ZH5Oxm7F5dq4X4F3etynzeBA0U3vR+kceWdeF4Sh28goXEDcArUrY8a/ X-Received: by 2002:a05:6214:627:b0:5ee:e28f:ac4a with SMTP id a7-20020a056214062700b005eee28fac4amr20939216qvx.41.1684862972171; Tue, 23 May 2023 10:29:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684862972; cv=none; d=google.com; s=arc-20160816; b=w6wo+Bq3K0Z/5PYVmqSYaeotQGFaaCTUvLVwBFCMnvzM0W+StHJsXXWY05I5J1HeNo KMn13i7V1ERmJ1h9vE7wrfADLCW/jAUV4DBzbMidSUQqHYovikke+LIXbQkCSk0MB12n P7DZohp+ZJaLSX1oQCMidtZY2akx4VZdUhmFVYheb1Fc0nbro2glERw45rjMxuo4MaC8 0lMo5xLWUE+/lZnTqGQ6eeSpj3iyMGUg8X16mWodF0O7Ft3mIzJ1cokcCjMHLWXMF7k+ kghozOAXb/hT17UY7nRLHcJKMnWLRTCTd1kVJQjnWiAITjtRO6FmXuBMCHCEwsO0V8J4 8zvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=/68p9XaOvWPqPjwqmRIeLXcAnn3ICXc3EtcvDlCj9xU=; b=0fWxxM4rJ+GjZ6ciDevdJ1Y3dPtY7G5krPMJAP8HpgkrQBV3hsMTra/nvX8zBvDK1S tdFXzNfnuUX93I/hu7KB5++skmGrosj7oA2j2qqAHdtNXdF2X5p89aY8hLrMucfkMONm Usxk5arQwl8elJ/n76LgIm5FrJGj4JPYVlvMnUD3w7c23+ES+7LytucMKFH4b9lbRGKE O5fXW54IAc7OZasqmFgesgc2sZsGr0t9sb8acmhnxoaiLy7e/x9ugJ+TtDla90kccVtN NLDiTb7KS2R+pmLp5uG2wx7omRxv3keWU41bATHvOrXH5Q1SaB1ejC1SG5uPWXV08CMG pj4A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 8-20020a05621420c800b006193e0e3087si5743998qve.56.2023.05.23.10.29.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 May 2023 10:29:32 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q1Vor-0001ix-Jo; Tue, 23 May 2023 13:29:09 -0400 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 1q1Vom-0001fy-11; Tue, 23 May 2023 13:29:04 -0400 Received: from muminek.juszkiewicz.com.pl ([213.251.184.221]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q1Vok-0006rb-9s; Tue, 23 May 2023 13:29:03 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id DBCCA260BC8; Tue, 23 May 2023 19:28:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at juszkiewicz.com.pl Received: from muminek.juszkiewicz.com.pl ([127.0.0.1]) by localhost (muminek.juszkiewicz.com.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LjOCCkUvzGKz; Tue, 23 May 2023 19:28:57 +0200 (CEST) Received: from applejack.lan (83.21.125.167.ipv4.supernova.orange.pl [83.21.125.167]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTPSA id 25726260B85; Tue, 23 May 2023 19:28:57 +0200 (CEST) From: Marcin Juszkiewicz To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Leif Lindholm , Peter Maydell , Thomas Huth , Marcin Juszkiewicz Subject: [PATCH v2 2/3] docs: sbsa: document platform version changes Date: Tue, 23 May 2023 19:28:54 +0200 Message-Id: <20230523172855.679018-2-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523172855.679018-1-marcin.juszkiewicz@linaro.org> References: <20230523172855.679018-1-marcin.juszkiewicz@linaro.org> MIME-Version: 1.0 Received-SPF: softfail client-ip=213.251.184.221; envelope-from=marcin.juszkiewicz@linaro.org; helo=muminek.juszkiewicz.com.pl X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01, WEIRD_QUOTING=0.001 autolearn=no 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 plan to start using sbsa-ref platform version fields in DT so firmware does not have to use hardcoded values. Signed-off-by: Marcin Juszkiewicz --- docs/system/arm/sbsa.rst | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/docs/system/arm/sbsa.rst b/docs/system/arm/sbsa.rst index 016776aed8..922a29700d 100644 --- a/docs/system/arm/sbsa.rst +++ b/docs/system/arm/sbsa.rst @@ -6,16 +6,35 @@ any real hardware the ``sbsa-ref`` board intends to look like real hardware. The `Server Base System Architecture `_ defines a minimum base line of hardware support and importantly how the firmware -reports that to any operating system. It is a static system that -reports a very minimal DT to the firmware for non-discoverable -information about components affected by the qemu command line (i.e. -cpus and memory). As a result it must have a firmware specifically -built to expect a certain hardware layout (as you would in a real -machine). +reports that to any operating system. It is intended to be a machine for developing firmware and testing standards compliance with operating systems. +Platform versions +""""""""""""""""" + +QEMU 7.1 brought support for "platform version major/minor" fields in +DeviceTree. + +Version 0.0 +''''''''''' + +It is a static system that reports a very minimal DT to the firmware for +non-discoverable information about components affected by the qemu +command line (i.e. cpus and memory). As a result it must have a firmware +specifically built to expect a certain hardware layout (as you would in +a real machine). + +Version 0.1 +''''''''''' + +Additional data are provided in DT to the firmware: + - address and size of GIC Distributor + - address and size of GIC Redistributor + +Simple "/intc/reg" field is used. + Supported devices """""""""""""""""