From patchwork Tue May 23 15:56:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 684998 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1802760wrt; Tue, 23 May 2023 08:57:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4qruvra+BVDtVqw94UlSWqdLtwGIC1lUYyiGxjpDVVYJGJxjCveDrQAE90hqF2xGWlPdvQ X-Received: by 2002:a37:ab13:0:b0:75b:23a1:425 with SMTP id u19-20020a37ab13000000b0075b23a10425mr3986836qke.59.1684857468667; Tue, 23 May 2023 08:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684857468; cv=none; d=google.com; s=arc-20160816; b=oErGQXFWw5edmUDt5CVboaDOj7LzzK0Y0bTjoCSoqekYWTYVRgsc4dTtBbsVvl+022 nmczM7fcJ42Xq6PIi3eqjq17YggH0yXV0Ih9MGATM/wOUUaCdI1ELwoY6sHvYDxZmJ+a 2rlahnsaiZ1m+eASRksox8TL3Ahk+lg570Th8bN8BYKgrsBk2g8dnHwHlSc5omxnQpWL +TtcNqaxkgrVnwaaF1OF/0NhK+AY+be1zcaqLBQmHSfSqLhgx9RVXDPP+MV8taZ390yJ +WPBB6T+l67TO3oBiT/7bVqFnlma9XmNrtvFBvZYAh/ppndjj1diJseghoYkRSih6Ebq GJQg== 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=h4JnHKvlV/ZipNs84qNeat5NFljNo1FT2Nvnb85Ugbw=; b=PlLZ8qsAs0l6/bqJWJVYfS6XXRIrjFYEUSIU8rK9ftpi2ZHaD4DSuzxFmDyzxilYEy yo/2p+UmACxVx/ciFQCZdIRxf9V3MByPj0CmWtXUUwFFOw4dhjhOuNW/jlaY1wBROyXl AIiSUOheq50MdAoX7so1DEkILc5dM5eHQNMwvBTSxf6sjcaEyQQdMmRcVCmoqfJnUXmh sjxRDpJnhpDCkpO8RP9V5PHmkb23EkM0mbMPJAiwRpdo8BRoqEfOUzS/azygNr7hWrJd BLaL3kT3w+KDOqNXr/TBdFX/FSC79F64j1uDwvP5Clp0fhZO9Fig7VRfzC8VGz3F/9kT ABPg== 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 pt19-20020a056214049300b005e63b4566c5si5408546qvb.81.2023.05.23.08.57.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 May 2023 08:57:48 -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 1q1UNg-0005en-IZ; Tue, 23 May 2023 11:57:01 -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 1q1UNc-0005cL-VC; Tue, 23 May 2023 11:56:56 -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 1q1UNb-0000YE-6b; Tue, 23 May 2023 11:56:56 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id B25F52600C6; Tue, 23 May 2023 17:56:51 +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 JErC4mPh7Y-c; Tue, 23 May 2023 17:56:49 +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 76553260698; Tue, 23 May 2023 17:56:49 +0200 (CEST) From: Marcin Juszkiewicz To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Leif Lindholm , Peter Maydell , Marcin Juszkiewicz Subject: [PATCH 1/2] docs: sbsa: correct graphics card name Date: Tue, 23 May 2023 17:56:43 +0200 Message-Id: <20230523155644.678524-1-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: 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 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 moved from VGA to Bochs to have PCIe card. Signed-off-by: Marcin Juszkiewicz Reviewed-by: Thomas Huth --- docs/system/arm/sbsa.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/system/arm/sbsa.rst b/docs/system/arm/sbsa.rst index b499d7e927..fea4992df2 100644 --- a/docs/system/arm/sbsa.rst +++ b/docs/system/arm/sbsa.rst @@ -27,6 +27,6 @@ The sbsa-ref board supports: - System bus EHCI controller - CDROM and hard disc on AHCI bus - E1000E ethernet card on PCIe bus - - VGA display adaptor on PCIe bus + - Bochs display adaptor on PCIe bus - A generic SBSA watchdog device From patchwork Tue May 23 15:56:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 684997 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1802757wrt; Tue, 23 May 2023 08:57:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4BP+rIwry3QwcoI2jLBQaEP8sOpgKwmtDT9VWke8h8udHKPbpexuLEjxMFP5jQ3cKjD9b4 X-Received: by 2002:a05:620a:8e0d:b0:75b:23a1:365a with SMTP id re13-20020a05620a8e0d00b0075b23a1365amr4129498qkn.27.1684857468572; Tue, 23 May 2023 08:57:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684857468; cv=none; d=google.com; s=arc-20160816; b=pbJ24Wv6PG65XjsJ7v1HmUZgXF/7TEnKQT9tJNKjzsnvNRM/WrHPgKjIlJr5YVRoUk x4I6Dwi87enR7yDzJrOghw2afQHjQvNTK/3TYUyQF2jepcu9k3TQyMGFrhzbkI01wqDg q7JxoLYgzvFtIvjo+o1NJ04ESBn1RWOrmKJ4nMx2XmL/dL3Fi6NGV0rKpLP9DBarK0M+ nPblQtVOwPs++BTFsX+skQ3RYeIEUYeQW94h0E2REvq6fSxps5Z2mPBYOPba7dT/bc5T e4/MujgRJhdZ0IHQKImbnKnxD0/fwU2XgF4G+IhviOmI020MXKQ/fUGzF5SL8osJbF6Q /7HA== 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=oYowmK0zeCSFuURYOdqODiItqwuD9nee6XSbuiEzw2M=; b=nPCyATVCIzCaGfc8BrG/ER2eHPxCQFT75K85D1LhMctA4Mt6+aoF0BJexYAWCuPcZ7 CxlTmP6TccR1kKPTVzJt9ZcbISKDj7OVusxF+INIc++97SmKBd2lcoRZ6fGYPBAh3sq/ TLa0/A7Iaz1EuQ7C/1qHaLQbKJiLLle9Q4W0dvYBttlnPA7U8PB9h811I5W+fFegsOzo LQP7hh1HfRnUu7C1P8RNuzC2iZP703etW/tgFcBc5Eoyq+oZLveIlsCfH4a1IqVTFvF3 EnGiDFuvVvBRK4PIvZNzPPYbnPiwiPhGWbEUkxYvapv84AQmBCni8G1xQ0Sl2Png1Ymz tvow== 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 s22-20020a05620a16b600b0074e4a8f7187si5048590qkj.747.2023.05.23.08.57.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 May 2023 08:57:48 -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 1q1UNh-0005f2-SN; Tue, 23 May 2023 11:57:01 -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 1q1UNd-0005cS-9V; Tue, 23 May 2023 11:56:57 -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 1q1UNb-0000YF-6L; Tue, 23 May 2023 11:56:56 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 76A6E260BC6; Tue, 23 May 2023 17:56:52 +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 xqiAijcehyI1; Tue, 23 May 2023 17:56:50 +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 07777260B85; Tue, 23 May 2023 17:56:49 +0200 (CEST) From: Marcin Juszkiewicz To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Leif Lindholm , Peter Maydell , Marcin Juszkiewicz Subject: [PATCH 2/2] docs: sbsa: document platform version changes Date: Tue, 23 May 2023 17:56:44 +0200 Message-Id: <20230523155644.678524-2-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230523155644.678524-1-marcin.juszkiewicz@linaro.org> References: <20230523155644.678524-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 fea4992df2..fb17744e95 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 """""""""""""""""