From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8E54CD2E022 for ; Wed, 23 Oct 2024 08:36:55 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3Wr3-0006qC-KU; Wed, 23 Oct 2024 04:36:33 -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 1t3Wqu-0006ov-LK for qemu-riscv@nongnu.org; Wed, 23 Oct 2024 04:36:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3Wqq-0005ul-UK for qemu-riscv@nongnu.org; Wed, 23 Oct 2024 04:36:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1729672579; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=5sixUmv3PGx+pYKXdN/nhCdqAcaHSIuduixwvpL8fRM=; b=Ae8Gg3CGiMxnBKh3SETS+5PZxHkHnm23gecaJ/agknM1o2gUWZBpxMaxdOQBftyfBvp8JC m6a+eDwjv6itg9ZbSdPjrfyZPHREMSPDl4gdC967fv6iIIpTPOUxmqI7r4az/ThgNrjSyn tUZvYoYAalsGbtcIbcbQ3ef9RBU2p+M= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-47-tEpb__ruN9Kwfi5JK_-l8g-1; Wed, 23 Oct 2024 04:36:18 -0400 X-MC-Unique: tEpb__ruN9Kwfi5JK_-l8g-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-37d67fe93c6so3261470f8f.0 for ; Wed, 23 Oct 2024 01:36:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729672577; x=1730277377; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5sixUmv3PGx+pYKXdN/nhCdqAcaHSIuduixwvpL8fRM=; b=CFv/y0XUYo9xxaEzP5sr2rnM2K9eio/wmI8DOV3F8Oaqd8lqjwqrwATTrB12aSJvCD 0G5XFUG9O+6qpYtgVTZV5wwAT2gmR4MCITGV2cnd7AGFXtsxSAf/oxhgSqKmnnBLlchh mttdIyst/vbPMDtVD5GWZ3VYglZQ1+K33eWoYmDaT+RkrLgqUdMBaYUoqf60u4t69kvS 1udFL0DCHv4KGebXXaDm7zx1T/2MTPTPnw9zVJPJQkNyFjA/K0nzBWnCAMX77RaQgARh hwfmy2AHlTVVkOLzUi0EZBvR5qQepV+v2TSxSFTRApaVIBFFLd7Z+QF6NPaeeAjS0In8 Tjag== X-Forwarded-Encrypted: i=1; AJvYcCXygkPU5FtaVnKx4+aErIDhrZuaIeQw6wuJ9tqqTYAyVn7odlR31n0My+6xownN3UmDBjhnzA8ei7JK@nongnu.org X-Gm-Message-State: AOJu0YxERbOvGrbVKUAEpDAOr6CU+c80IQy2/dbhFZv24DSPl12zDHo+ p+KWZIp7mPzShluvOUaHBsnPgne6OJPOih/G6/vZoKKVx1c8h1oLr0niauSVp1qYeMnxHmyEs4N Q5gdBRJJMU3ZKqBEs0SFbOusgnJgZ97AAP+lkwCYTKK9VqeifwuOX X-Received: by 2002:adf:fa51:0:b0:37c:cc96:d1ce with SMTP id ffacd0b85a97d-37efcf1f8a1mr1115339f8f.24.1729672576849; Wed, 23 Oct 2024 01:36:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGP3R2/7eLZC4jTW2QoTjJYxSBenRCPxvjkfH065SNYzdOB00wEt3UgdM5qMeM51ucz9wBAog== X-Received: by 2002:adf:fa51:0:b0:37c:cc96:d1ce with SMTP id ffacd0b85a97d-37efcf1f8a1mr1115321f8f.24.1729672576419; Wed, 23 Oct 2024 01:36:16 -0700 (PDT) Received: from redhat.com ([2.52.26.10]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0a48564sm8392575f8f.29.2024.10.23.01.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 01:36:15 -0700 (PDT) Date: Wed, 23 Oct 2024 04:36:10 -0400 From: "Michael S. Tsirkin" To: Sia Jee Heng Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, qemu-riscv@nongnu.org, imammedo@redhat.com, anisinha@redhat.com, peter.maydell@linaro.org, shannon.zhaosl@gmail.com, sunilvl@ventanamicro.com, palmer@dabbelt.com, alistair.francis@wdc.com, bin.meng@windriver.com, liwei1518@gmail.com, dbarboza@ventanamicro.com, zhiwei_liu@linux.alibaba.com Subject: Re: [PATCH v5 0/3] Upgrade ACPI SPCR table to support SPCR table revision 4 format Message-ID: <20241023043544-mutt-send-email-mst@kernel.org> References: <20240829015920.95778-1-jeeheng.sia@starfivetech.com> MIME-Version: 1.0 In-Reply-To: <20240829015920.95778-1-jeeheng.sia@starfivetech.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=170.10.129.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.519, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.697, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@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-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Sender: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org On Wed, Aug 28, 2024 at 06:59:17PM -0700, Sia Jee Heng wrote: > Update the SPCR table to accommodate the SPCR Table revision 4 [1]. > The SPCR table has been modified to adhere to the revision 4 format [2]. Reviewed-by: Michael S. Tsirkin Pls take through the arm tree. > Meanwhile, the virt SPCR golden reference file for RISC-V have been updated to > accommodate the SPCR Table revision 4. > > [1]: https://learn.microsoft.com/en-us/windows-hardware/drivers/serports/serial-port-console-redirection-table > [2]: https://github.com/acpica/acpica/pull/931 > > Changes in v5: > - Reverted the SPCR table revision history for the ARM architecture. > - Corrected the output of the SPCR Table diff. > > Changes in v4: > - Remove the SPCR table revision 4 update for the ARM architecture. > > Changes in v3: > - Rebased on the latest QEMU. > - Added Acked-by: Alistair Francis > > Changes in v2: > - Utilizes a three-patch approach to modify the ACPI pre-built binary > files required by the Bios-Table-Test. > - Rebases and incorporates changes to support both ARM and RISC-V ACPI > pre-built binary files. > > Sia Jee Heng (3): > qtest: allow SPCR acpi table changes > hw/acpi: Upgrade ACPI SPCR table to support SPCR table revision 4 > format > tests/qtest/bios-tables-test: Update virt SPCR golden reference for > RISC-V > > hw/acpi/aml-build.c | 20 ++++++++++++++++---- > hw/arm/virt-acpi-build.c | 8 ++++++-- > hw/riscv/virt-acpi-build.c | 12 +++++++++--- > include/hw/acpi/acpi-defs.h | 7 +++++-- > include/hw/acpi/aml-build.h | 2 +- > tests/data/acpi/riscv64/virt/SPCR | Bin 80 -> 90 bytes > 6 files changed, 37 insertions(+), 12 deletions(-) > > > base-commit: cec99171931ea79215c79661d33423ac84e63b6e > -- > 2.34.1