From patchwork Tue May 23 17:28:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 685013 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1848936wrt; Tue, 23 May 2023 10:29:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5HGIcVrUlCP57zOjwNC6H++wfczYcVz9uMuvxZTUG0nWtQ/hXZ5y3aq55FnU+jeni2hLgO X-Received: by 2002:a05:622a:1c6:b0:3f6:b1e9:8417 with SMTP id t6-20020a05622a01c600b003f6b1e98417mr8410996qtw.4.1684862979460; Tue, 23 May 2023 10:29:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684862979; cv=none; d=google.com; s=arc-20160816; b=iNsEkkliLe8Wo4ckQdwsEKpSvZRzMPs/LLLchOcLLmWVb0356Za8ebC+HiaQNrOaHy VwdljNRKdNrezCcZSLa6d5UVYrlVTjyLm926Sy7wUTlDclWcPrH/piXqkksIv0QElFi/ JIanZS2tjc7KBjTDueZYwObJVs+ALE+sIwMOd0FQedcrmF9bUtrhHSUhsDtlzEc82mWL t1Nz7Oo9MPM4sNa+LEbkz+r0jzv1Zazyp6Me/srxFcLe7gNfySQjG15UnRGMO3W8K/jB WQD+lS5/94aSZKbsaWVLo4Z9NaXi7frkwZnjy6iD8Ad1VLkH3OGC7GISkVUPgdHKGh9p HGzg== 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=YEpGmRg5GUnndxj6u4yWHcwoKuZsUGvxmxfvfo4Bl5M=; b=V7XOVfRRaIQKVd+7Q7Shes4hDMu4HTwmP+A68l9e+yAiETs64gkpJO4SFIrwI541O8 +AqPo/iEwrpWcUP5bTtB7ifbZQ+nD9pCqDG08c+vb0R/ZWcMbI2EjuEDAgYRQMPl1klO oMhV8Ry1BOe4whoCSsy0kOIBtY3E6wmVacL3jRYmmZRktoNFw4gOiknm9qXcppazjt+f jH7cbMebOmlsPbRbTqFLqUShKm7QlRUbHBvamHjnOAa9//e5aXIzz2YfkRbkDnbu0DI+ vJfKXY7PAv+5ySkWz2mmH7+Fu7CW9kmL2m/yBmoGiXZSVzDB4xVGmrr+exQiesvUPup0 uMAQ== 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 t2-20020a05622a01c200b003e394964a43si1769399qtw.426.2023.05.23.10.29.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 May 2023 10:29:39 -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-0001ia-7o; 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 1q1Vol-0001fk-Uo; Tue, 23 May 2023 13:29:03 -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-0006rZ-A7; 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 3C420260698; 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 ccccDbaEB0MV; 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 8C9762600C6; Tue, 23 May 2023 19:28:56 +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 1/3] docs: sbsa: correct graphics card name Date: Tue, 23 May 2023 19:28:53 +0200 Message-Id: <20230523172855.679018-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..016776aed8 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 adapter on PCIe bus - A generic SBSA watchdog device 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 """"""""""""""""" From patchwork Tue May 23 17:28:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 685012 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1848923wrt; Tue, 23 May 2023 10:29:37 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ZO9Iy06l7zjcPwznrtTqN1F0huYJy/bIkrbqGcNrAno59bSxGlBCqxiQYeHAIuZovGFxI X-Received: by 2002:a05:6214:e49:b0:623:464d:462d with SMTP id o9-20020a0562140e4900b00623464d462dmr23615196qvc.20.1684862976923; Tue, 23 May 2023 10:29:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684862976; cv=none; d=google.com; s=arc-20160816; b=AHnHwX1GmHHxemIQOhr+4/zRIdRD4dDuM1P2jgeg5GQC/dybv4n3Auv69Rk1jO35t5 7f1qa3m3cgSmG5D5fKZwjgoabK2y6sFKzTQy9PSobPWSX3WyfvXGtFpmBZp9+xA9t7uF hII51KsJtFn2ffzeGfMubT0BoeDhz84QLT/movvx7JJ3jBtDa63M9gOPMQahsQG41j6Y 0FM5qFsraLlH9oo1U3RtB+v+yJ65zhOsr4UQpWzrkuzhImOVxNboQeyflenYjkg63ys5 /7+Ma6Rz8rmmnsI7ETzo0IdqNQ1ZpJhFXinyqQ5+0Ikj64wINppUqOsyf8993ZcVkhCv JQAQ== 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=pRJlzK0ZGD9ZAZw/HEOzb2gMD94xAylCd8I4Dpvi3eg=; b=K/3OkbZ/XIpG9s2m1fH6Yl9cJfi7YTM4o+aXtu2TRabM4JE/gn/A3nRtw8hLIokeSu T6N3z5q3rETKxZYu/jgCCHsxy5MfIjQ26C25b5smQr4ObqUbhMChS28Smghhe8ar4jpN nDNSkrb+egmWdK+woMvxMFQyTZezrZDLo4tMAg0oUNw7SEz5fOtTWkAiKfqExTvU2VgR UGz8dGfto04rpZAmzUIr+wGdFz1usyCtCpZsLhwbJzAKJOYOtEJoeOGrUXnibTWOySJD oeWY4GpBIVD94zSikyRH95U8GxQHkcn0PaIwNXU/u8IQFyZlbEJnpPIG4FWHJNd6FZ9v YhTw== 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 q11-20020a056214194b00b00623851987c0si5551352qvk.150.2023.05.23.10.29.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 May 2023 10:29:36 -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 1q1Vos-0001ja-Ls; Tue, 23 May 2023 13:29:10 -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 1q1Von-0001h6-30; Tue, 23 May 2023 13:29:08 -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-0006rk-Js; Tue, 23 May 2023 13:29:04 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 080AC260B85; Tue, 23 May 2023 19:29:01 +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 n5HIjaARCmwv; Tue, 23 May 2023 19:28:59 +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 91C69260BC6; 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 3/3] hw/arm/Kconfig: sbsa-ref uses Bochs display Date: Tue, 23 May 2023 19:28:55 +0200 Message-Id: <20230523172855.679018-3-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 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 Signed-off-by: Marcin Juszkiewicz Reviewed-by: Thomas Huth --- hw/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index 0f42c556d7..4484de67e8 100644 --- a/hw/arm/Kconfig +++ b/hw/arm/Kconfig @@ -249,6 +249,7 @@ config SBSA_REF select PL061 # GPIO select USB_EHCI_SYSBUS select WDT_SBSA + select BOCHS_DISPLAY config SABRELITE bool From patchwork Wed May 24 10:18:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 685323 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp165551wrt; Wed, 24 May 2023 03:19:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4iu3GgWiB4yVQke4T0/SQt0YTjN0z536xSJot+Aw1K6EocUz6bMvAh7DO6E/U2CnntnTgC X-Received: by 2002:a05:620a:8c02:b0:75b:23a1:361b with SMTP id qz2-20020a05620a8c0200b0075b23a1361bmr6012649qkn.44.1684923571488; Wed, 24 May 2023 03:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684923571; cv=none; d=google.com; s=arc-20160816; b=iNzDa8GQ/Ln5l/wYYLxz/DCmnYhs1cM2nurQbGmgPYS9iEckLdebqN/lNGJ17sjYID WvET1rW7mHlwGkW3RA5yH5uSzOjaADJW4izNzr0kDIHOrDfDXhaB1jj/MHfebxnPBavc t9hL/XLtrsbPHVWyuDLfL/NKm/GACvS8xkxwDvCvfyBhJWzMC+4wzd8ZPULgsj2u7oU7 lK2WYSuG6qp+vZqpW2j69d+pfKQ2OyL/DvpOvE2wkJBrgPzpJse/5/V7DuKCHhGBzsgw 8EEZe8TfKiJSZpJ19XbyWPY5KlB1NSBihIVHhhjyZBB29k4ZqiYv42fUiNZuFyQwMqek xc2Q== 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=RFl0lkku0rEx44cSL97n6ibaCEcLL6BIlhLypm/82Mw=; b=LMx3ioyDj+ABRYiUjJgCSFcy1cdxbbSQZm3MdVjtddtTKkHgc0E8kALDlCpjsZlT0L r9WyYn6BIfNHCSYDtHnu+SEFTrbs0ziGS1if42x0+0Ou4Bdhke0Jaekj9dbEQA3FEMSm mV63TBV8gSQu4Z6QuWXhn/xmJSs1cwVoQ1Ke1mLuM+uBCf/zDZmhPmRqTmFQSiulynoK INOQf2mlIP+wVoR1yU6huOV5PTCkMFZDLjOMuXO1ShCG6BvAC+wTZQlxxTQmQfLKCh55 P0ZRnnwz5G6Lhe/rGkz+NPEQIarRwIoPsj7ONgVJuqLZZOSQuxbIUlXL82XjECXyiOIp Jc2g== 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 f16-20020a05620a12f000b0075b3d4494ecsi452283qkl.495.2023.05.24.03.19.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 May 2023 03:19:31 -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 1q1lZx-0003Ut-My; Wed, 24 May 2023 06:18:50 -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 1q1lZo-0003QC-7v; Wed, 24 May 2023 06:18:41 -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 1q1lZk-0006cv-1G; Wed, 24 May 2023 06:18:39 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id 3685C260B8B; Wed, 24 May 2023 12:18:33 +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 79o3OUpz0qyQ; Wed, 24 May 2023 12:18:31 +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 50778260BBC; Wed, 24 May 2023 12:18:30 +0200 (CEST) From: Marcin Juszkiewicz To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Leif Lindholm , Peter Maydell , Thomas Huth , Paolo Bonzini , Marcin Juszkiewicz Subject: [PATCH v2 4/5] hw/arm/sbsa-ref: add gfx card only if we have pci Date: Wed, 24 May 2023 12:18:22 +0200 Message-Id: <20230524101823.810737-4-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230524101823.810737-1-marcin.juszkiewicz@linaro.org> References: <20230524101823.810737-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 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 Creation of network card is guarded with check do we have pci bus. Do the same with graphics card. Signed-off-by: Marcin Juszkiewicz --- hw/arm/sbsa-ref.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index c540b2f1ba..9a3d77d6b6 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -647,10 +647,10 @@ static void create_pcie(SBSAMachineState *sms) pci_nic_init_nofail(nd, pci->bus, nd->model, NULL); } - } - if (vga_interface_type != VGA_NONE) { - pci_create_simple(pci->bus, -1, "bochs-display"); + if (vga_interface_type != VGA_NONE) { + pci_create_simple(pci->bus, -1, "bochs-display"); + } } create_smmu(sms, pci->bus); From patchwork Wed May 24 10:18:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Juszkiewicz X-Patchwork-Id: 685324 Delivered-To: patch@linaro.org Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp165548wrt; Wed, 24 May 2023 03:19:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ70McWNFVe/axr7pUJdH01wAQ/hUCE0SbBz5o1Wv3XlNu2h/U7ODtnfH9N8+WQGHwUUoM1q X-Received: by 2002:ac8:5996:0:b0:3f3:95b9:6bc9 with SMTP id e22-20020ac85996000000b003f395b96bc9mr26294731qte.50.1684923571219; Wed, 24 May 2023 03:19:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684923571; cv=none; d=google.com; s=arc-20160816; b=DGkvUohHsqi6fMFg6ex9m9EujRRi7zlgp+9xegvVKk7M2f+ZsOfhZ+1gyq4YqzXiXD 96U/toRwQahTZLhFWCnPHsoCG6i7h4nyAM5fqYDWpYQ+Vg4cpo7fQLGSSucMPN1ywRbK z689dHj1BZ7arjk3MOJ4rbfd7mLSBdgsImriD8pM0z/O68/lzucpgGStnHreIQNZIC0v r1J4lVevvb0FP63iyr8MiY0sBFqyiKojxHPWExd7E7qWMoNfIIUt2wglKvx12ec/oKW8 /uQWfqVdvIqxxcVozcQMRXiA2pBvA93lswpBWDDDGKNqxcKkXaAjSFHh3w4xey0Ca8Zw wprQ== 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=i2eHc6EduuRy9IXt0IrW6LdtP5rNELiZJU7Gubi9OL4=; b=zTjzW6nDhl7W5RnONBemuoXypkOY5vvz9DIcMH4rTY9KCFYvyFw+7wwXgoOPDS+dSW +h+gMFIN+MaeR5UUTb2m8qsgWiHSRhZm2WyiovptroWcR0CCNmhjlXIWkjcTszaz2nxB aw7pYc8puAg9+LW28U3w6YOrZERPr6JNlQBcsFfuu8eEjnyqn0pmnDoCbmpEtcCnNnV8 c3BaTAysXXTy+bQJf71iH9TahJUHYPi77xDR/MpQEMP5mT4MHyvp7uY/XE9bp8kyVHgo M9ClJb/liabYseTdY01OHop95WnMbH7WbEH9Sl1jVnzu98pivs4cQfu/jnMWkEI9P/5D wzbA== 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 n9-20020a05622a11c900b003f6a607faeasi5958047qtk.194.2023.05.24.03.19.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 May 2023 03:19:31 -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 1q1lZt-0003SZ-HL; Wed, 24 May 2023 06:18:47 -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 1q1lZn-0003Px-Vd; Wed, 24 May 2023 06:18:39 -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 1q1lZk-0006dQ-8N; Wed, 24 May 2023 06:18:39 -0400 Received: from localhost (localhost [127.0.0.1]) by muminek.juszkiewicz.com.pl (Postfix) with ESMTP id A89E4260BBC; Wed, 24 May 2023 12:18:34 +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 nOMNevhq1k0c; Wed, 24 May 2023 12:18:33 +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 E4F35260C32; Wed, 24 May 2023 12:18:30 +0200 (CEST) From: Marcin Juszkiewicz To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Leif Lindholm , Peter Maydell , Thomas Huth , Paolo Bonzini , Marcin Juszkiewicz Subject: [PATCH v2 5/5] hw/arm/sbsa-ref: use MachineClass->default_display Date: Wed, 24 May 2023 12:18:23 +0200 Message-Id: <20230524101823.810737-5-marcin.juszkiewicz@linaro.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230524101823.810737-1-marcin.juszkiewicz@linaro.org> References: <20230524101823.810737-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 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 Mark the default graphica via the new MachineClass->default_display setting so that the machine-defaults code in vl.c can decide whether the default graphics is usable or not (for example when compiling with the "--without-default-devices" configure switch). Signed-off-by: Marcin Juszkiewicz --- hw/arm/sbsa-ref.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index 9a3d77d6b6..30ce7f7db4 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -649,7 +649,7 @@ static void create_pcie(SBSAMachineState *sms) } if (vga_interface_type != VGA_NONE) { - pci_create_simple(pci->bus, -1, "bochs-display"); + pci_create_simple(pci->bus, -1, mc->default_display); } } @@ -865,6 +865,7 @@ static void sbsa_ref_class_init(ObjectClass *oc, void *data) mc->default_ram_size = 1 * GiB; mc->default_ram_id = "sbsa-ref.ram"; mc->default_cpus = 4; + mc->default_display = "bochs-display"; mc->possible_cpu_arch_ids = sbsa_ref_possible_cpu_arch_ids; mc->cpu_index_to_instance_props = sbsa_ref_cpu_index_to_props; mc->get_default_cpu_node_id = sbsa_ref_get_default_cpu_node_id;