From nobody Sun Nov 24 17:06:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721063584; cv=none; d=zohomail.com; s=zohoarc; b=GnCuz6EULQzRoQj6ZG/O1Ax2Vm4JN0Hh5rK9iT87BrKaBCyjqXLElibI3zCrRPceLw4ojn+2xghrAcCGsTwOnpuWgp007m+wU4jpTajsvKjqdy4b+1ol0a05xGo5QJ7RqTDmuOOi79ln8GZR/k0yb06eZtRRHv9yfjhYr+A8nh0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721063584; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=mGZr15x0eRAM5JYBeNcxfmFVRpj6MMcjWS0cU8CYrYQ=; b=gXDLslu7SOpo6lh/EL7yGUgfpjx7fos7leaVyXEHc3gLDo9WEEVLZsIHuV6PfkJa4vljQOIR1xH2DezM/s5+9VuaLIHLcw6cZIiqq0FaysvQoUdaLH3J99mBWT9/TNTDkHzo4v2vkIenCBE4gv/M/36RskN7rtEEbWY0OIIuthw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721063584954190.68589920422414; Mon, 15 Jul 2024 10:13:04 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTPEq-0004vK-9x; Mon, 15 Jul 2024 13:11:48 -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 1sTPEn-0004qR-4Q for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:11:45 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTPEl-00078s-An for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:11:44 -0400 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-70af8062039so3002097b3a.0 for ; Mon, 15 Jul 2024 10:11:42 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca85ccsm4752618b3a.178.2024.07.15.10.11.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 10:11:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721063500; x=1721668300; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mGZr15x0eRAM5JYBeNcxfmFVRpj6MMcjWS0cU8CYrYQ=; b=lRZgMpZyOjuhmPBMQfkpZ4nieiVD8DC18skRjMNS+MEQRDTeTvtkv4ibykx9IhISdL kgFE/l9A1DTOJxdBjDVVhRqjjCO7z+oJ7uU+NwnzLggXOMv+gdjPBKVExSDQeTf1pCub PUd4T6orQP+QJHmAWnflu+ca2dLgRPtjvdRI3EXvG58KQmLqcQkll6TxzJ2JFEFEMAFx 7mmAjLOKtJ8HNG838/gDmFBi8CerBRZL2/wUSfYPzU5wqDCDtJXtSVWY/2KqifS32bBK DkIm2r4nOMj9PCsYvNcaPvSJROLEQ5IYUEiauVEyGZQm3o71f6HfAu9WBrLxdbveS4QR 6GgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721063500; x=1721668300; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mGZr15x0eRAM5JYBeNcxfmFVRpj6MMcjWS0cU8CYrYQ=; b=P/DLrrFoG09GDspuSG4u4Vafbir2RNisbSnQuLGYMyxWupA8ph0+Tg8/WZBWG7p12k EvZlOOFVFEo1TMyR0OjvNYD6PaxWM6FEgcdnICje/Ls1c4/nNwlP4SFfglEXbhmVpLUA W5+Eqmhzzp3AAQy4LVxHK7qKaD1dVoIWa4VimnitDT9LKZa2jU3eSQ81K90P6UD7pCe9 HYKCVaJ4uOYN4E5t/Ai74bfNUH5RaHPomdKmSyVbZ5OHSsVcqzOniQLminqUo7Lk0KWd iVl8gEJwECyFW5hlRsaYHX/008A0nRzJgkAt3N4zFblRd0eL2xnCDwB6ABv3slbZDoW4 rK5A== X-Gm-Message-State: AOJu0Yxrp4XDQCIMGRCK0fMZ+WMl7tRq7jDDXCAE86bRUTpQT2szkXrG g+or9pGL8mGcHeilcam3zmZHaX/r1cnTn/gIdlbimIGpE0W33U9hMLqXPMm6DfPgucMFLwE6xXA mwyw= X-Google-Smtp-Source: AGHT+IGxYYaRmXTYc10KEUUk0yn+1pRB5m2cSkUgr7mVxhVkKfQ7V4xE91RWDHLTtMXAcJdFIiMuGA== X-Received: by 2002:a05:6a00:c89:b0:706:b10c:548a with SMTP id d2e1a72fcca58-70ba48c701cmr343513b3a.22.1721063499603; Mon, 15 Jul 2024 10:11:39 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v3 1/9] hw/riscv/virt-acpi-build.c: Add namespace devices for PLIC and APLIC Date: Mon, 15 Jul 2024 22:41:21 +0530 Message-ID: <20240715171129.1168896-2-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240715171129.1168896-1-sunilvl@ventanamicro.com> References: <20240715171129.1168896-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::435; envelope-from=sunilvl@ventanamicro.com; helo=mail-pf1-x435.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721063586464116600 Content-Type: text/plain; charset="utf-8" As per the requirement ACPI_080 in the RISC-V Boot and Runtime Services (BRS) specification [1], PLIC and APLIC should be in namespace as well. So, add them using the defined HID. [1] - https://github.com/riscv-non-isa/riscv-brs/blob/main/acpi.adoc (commit : 241575b3189c5d9e60b5e55e78cf0443092713bf) Signed-off-by: Sunil V L Acked-by: Alistair Francis Acked-by: Igor Mammedov --- hw/riscv/virt-acpi-build.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/hw/riscv/virt-acpi-build.c b/hw/riscv/virt-acpi-build.c index 0925528160..5f5082a35b 100644 --- a/hw/riscv/virt-acpi-build.c +++ b/hw/riscv/virt-acpi-build.c @@ -141,6 +141,30 @@ static void acpi_dsdt_add_cpus(Aml *scope, RISCVVirtSt= ate *s) } } =20 +static void acpi_dsdt_add_plic_aplic(Aml *scope, uint8_t socket_count, + uint64_t mmio_base, uint64_t mmio_siz= e, + const char *hid) +{ + uint64_t plic_aplic_addr; + uint32_t gsi_base; + uint8_t socket; + + for (socket =3D 0; socket < socket_count; socket++) { + plic_aplic_addr =3D mmio_base + mmio_size * socket; + gsi_base =3D VIRT_IRQCHIP_NUM_SOURCES * socket; + Aml *dev =3D aml_device("IC%.02X", socket); + aml_append(dev, aml_name_decl("_HID", aml_string("%s", hid))); + aml_append(dev, aml_name_decl("_UID", aml_int(socket))); + aml_append(dev, aml_name_decl("_GSB", aml_int(gsi_base))); + + Aml *crs =3D aml_resource_template(); + aml_append(crs, aml_memory32_fixed(plic_aplic_addr, mmio_size, + AML_READ_WRITE)); + aml_append(dev, aml_name_decl("_CRS", crs)); + aml_append(scope, dev); + } +} + static void acpi_dsdt_add_uart(Aml *scope, const MemMapEntry *uart_memmap, uint32_t uart_irq) @@ -411,6 +435,14 @@ static void build_dsdt(GArray *table_data, =20 socket_count =3D riscv_socket_count(ms); =20 + if (s->aia_type =3D=3D VIRT_AIA_TYPE_NONE) { + acpi_dsdt_add_plic_aplic(scope, socket_count, memmap[VIRT_PLIC].ba= se, + memmap[VIRT_PLIC].size, "RSCV0001"); + } else { + acpi_dsdt_add_plic_aplic(scope, socket_count, memmap[VIRT_APLIC_S]= .base, + memmap[VIRT_APLIC_S].size, "RSCV0002"); + } + acpi_dsdt_add_uart(scope, &memmap[VIRT_UART0], UART0_IRQ); =20 if (socket_count =3D=3D 1) { --=20 2.43.0 From nobody Sun Nov 24 17:06:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721063584; cv=none; d=zohomail.com; s=zohoarc; b=TIvojBsZEmqGm30sHzqfK7IV//xHWpFB/da3cMyOeV3bo4f9893Gid0F1EzdWnNO+R6CF20uuD31MlRiTuVPnw4nOqfZBvDhVw7Pctcty67eXiYjzdRAmTR1wCghLo89KvxCE1E9QMncTPP4+gVgdxDKkzNkjF+ISsPxkZYMHJs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721063584; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OnHpblZbVd3FRfJ45qGiQCVGtJlN2GB4v5fdYVeQ9C0=; b=ctK8GjUETuzaagrGxohk29r3Nqa+hC3gLUPC16UahBAo8tqWEk1Saeq+lTYqCAnFYsCQd7EhEq/ysnpH24bUa3hgYvHDJ8RkESsJur0f7EmGNapz2PUW/0mlPCI7gcRHZvvsEBoC3EWJf0E0MFi7tQXyif1Hjoq8mzCy/IDQuQE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721063584667450.6935708319155; Mon, 15 Jul 2024 10:13:04 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTPEw-00051o-3z; Mon, 15 Jul 2024 13:11:54 -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 1sTPEq-0004w4-F9 for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:11:50 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTPEn-0007Em-L6 for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:11:47 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-70b03ffbb3aso3614975b3a.0 for ; Mon, 15 Jul 2024 10:11:45 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca85ccsm4752618b3a.178.2024.07.15.10.11.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 10:11:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721063503; x=1721668303; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OnHpblZbVd3FRfJ45qGiQCVGtJlN2GB4v5fdYVeQ9C0=; b=cp6g9yMm3OGhMUQKBt8eWoskYZcfZQAE/2nxsQc2xLHn3dqXvlN9xqn2YVjhTQgBO2 sNKKOx4e8Z72Lc8R4DqIPHi9AeJEDiU6VQhZaz5P4o1o6EzfZNfdw5hFkEjQgM5iMynh bRxb9Ky5K7V8K4o+18zItVmIeXBi3OQEYK0Gf3CrzPnTaryP3HH899glSGY833Cne/wt LA6jxgD5uuE2ai+CEsNwNc2TzpoWjlxgJcKjOFumq7Jh2JflrosXDddeR1mb938h3dwU 2msM1Ol0YjZQoVOGCVuZWPlhShAb6LJOg77DvPZVnLPOQmAhZQHzu5cp/HJbaL8SjRxt xmMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721063503; x=1721668303; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OnHpblZbVd3FRfJ45qGiQCVGtJlN2GB4v5fdYVeQ9C0=; b=A8YSkEVOmR82mgd9KFCxD5kYMtOs/zn5KmeKif1FGrv6hCy8H46qIgX8omcgbo2fvw dELlhcJVqWrvLbcvdhw/KtTzVMtkwonTHbFiorBThSOwkgL7DAIdHR+fyB3tq1vhqcQs LFX5sYZtincP0aWjE6nBMvLKOm8POR2SPf1+hni6rFU1tatqFSzQhr1qlnmhQi9ea7vw q2/IxCVWHPqIdCSIxFDJpTmX44t5n1THY/yk7AxaTKX61sjGIRF1jyTD1NawrCy5Xxp4 aleCT2LThmAXSxJPA2CpbXg5OteZw6Px33TdgOiG+5cF0bXJDIaZUKgv58M5lnTehCpN 3scw== X-Gm-Message-State: AOJu0YwdOJTzto9NBNaF8ewhiBUxU5jacPPPyqIf1017bmLKga2lR9vM C5cKQmYD4uWQeJ2/vNCwPbk+EYeBc1s+gNcb8DiFg5EjzJHCaXTNSdQiMKtkUBs2YZ6Zob/s/nv JR84= X-Google-Smtp-Source: AGHT+IEZvzfAzfb26V65Qnelq7TR1JaOpHc8pEN0webbBfMjmZwc5mEwUqAhkW3GvT2MZX35yCowjA== X-Received: by 2002:a05:6a20:430c:b0:1c0:f267:11ad with SMTP id adf61e73a8af0-1c3ee4d120emr747976637.19.1721063503459; Mon, 15 Jul 2024 10:11:43 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v3 2/9] hw/riscv/virt-acpi-build.c: Update the HID of RISC-V UART Date: Mon, 15 Jul 2024 22:41:22 +0530 Message-ID: <20240715171129.1168896-3-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240715171129.1168896-1-sunilvl@ventanamicro.com> References: <20240715171129.1168896-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=sunilvl@ventanamicro.com; helo=mail-pf1-x430.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721063586447116600 Content-Type: text/plain; charset="utf-8" The requirement ACPI_060 in the RISC-V BRS specification [1], requires NS16550 compatible UART to have the HID RSCV0003. So, update the HID for the UART. [1] - https://github.com/riscv-non-isa/riscv-brs/commits/main/acpi.adoc (commit: 7bfa87e86ad5658283731207dbfc8ab3744d3265) Signed-off-by: Sunil V L Acked-by: Alistair Francis Reviewed-by: Igor Mammedov --- hw/riscv/virt-acpi-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/riscv/virt-acpi-build.c b/hw/riscv/virt-acpi-build.c index 5f5082a35b..36d6a3a412 100644 --- a/hw/riscv/virt-acpi-build.c +++ b/hw/riscv/virt-acpi-build.c @@ -170,7 +170,7 @@ acpi_dsdt_add_uart(Aml *scope, const MemMapEntry *uart_= memmap, uint32_t uart_irq) { Aml *dev =3D aml_device("COM0"); - aml_append(dev, aml_name_decl("_HID", aml_string("PNP0501"))); + aml_append(dev, aml_name_decl("_HID", aml_string("RSCV0003"))); aml_append(dev, aml_name_decl("_UID", aml_int(0))); =20 Aml *crs =3D aml_resource_template(); --=20 2.43.0 From nobody Sun Nov 24 17:06:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721063585; cv=none; d=zohomail.com; s=zohoarc; b=iNo4h4RsEfFQ8Zk+ZYcgpRmUtmJbSNvcmAvBQKUo2VrlTesFUHM9sBDTy7u8yTlWTvGVbAfz2deH++l4mTt6wyZC0JYfHF3iM4MNuXfOCRuU4Zg/S1qKzrk29Col0+MuLLtsf8HMBu7q9diFXzhsC9O8WtbHlg6KKhRQr6T16IA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721063585; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=JaZ8kohlacrwgSAZfsaoX707cOD/zF89IUM4ZLVsfAE=; b=Fzo9QEBJz50XcxrJ1e3IANtSjAoIIAygy3EC5hl/W/zskbUNVFBI39aQtNLDHfXE7y5F/iYPxzv6tUkY0bBMsVKkksrg8nItxIAouWl46jh2sp/8uonH2v9qm5O1C/TxHSrWaQTc9h+MW23lKkPuf/KADFUmle1gGbEKqj6x1SA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721063585320877.0309743969889; Mon, 15 Jul 2024 10:13:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTPF8-0005gY-Nx; Mon, 15 Jul 2024 13:12: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 1sTPF6-0005dQ-Kz for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:04 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTPEr-0007JV-SB for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:03 -0400 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-70b04cb28acso3593588b3a.0 for ; Mon, 15 Jul 2024 10:11:49 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca85ccsm4752618b3a.178.2024.07.15.10.11.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 10:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721063508; x=1721668308; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JaZ8kohlacrwgSAZfsaoX707cOD/zF89IUM4ZLVsfAE=; b=gCPV/0zaaD5RmIgDXda5YRcG3ZE9li9+4ozGLpDnm0eoJgY5GGp98xGUuhayAKl06i gAAo+MMCGwDussZ7qtaNn4D+FKnKAN2Aq7I1q1706a0N6XvmDa53zO7+J5uusx5QTFjo dShYzfn/cM6QVFki53zPulIDw7vCD4skTmouCYY5co81L//zHJormedk++RGa6YWRn1T r3W4ZPjeNloFPICxEdVBvd43ZI1iDLiXg8IZr2CA6BFBlgrWx7F8zBaw9kJFlBzA5Iqo 6rhERnzIVZZ8u/3NegUFMTkfG3a2oCRlcg6SxnjYDAvWxG3UBkz7J2i/05qh9/4rvyqV KfNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721063508; x=1721668308; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JaZ8kohlacrwgSAZfsaoX707cOD/zF89IUM4ZLVsfAE=; b=PGlY35dCnUx9C6UWkUZ44N2s9xY5f2m2bqkb3P+GLxghlz0Ej2v7MUDJTwtKq66WgH QGfRz7Q+y0FnS/RCAh2TRf94E0Mf5JyBTUOiDnix6qvib5EIdr1EELhYuZZgGh//17WX FUR67XGZyA0XYa5CSHGThYXCFoIQBy6tul+iwklixNf5ZxX+XULqb0eJdSKHK+bkXOj4 2px9+2a60+uGc80pauWSz3Mz2ZaeES8TQoJcUqyd90KrGirMuBzulbHM8NapTz7K0EZf vYO2+j06YTLUJ6zlTV3CiTPqFqjfBUDPk9xVQMxInrcPZIPu02a/Q/biaKnZ0HIQgBel jHaw== X-Gm-Message-State: AOJu0Yw8BxX/L63y+efz82+rxq4lhRD/6sKAljfCOSG4OfOZyQd6hxFV aL3MIwF0ypPIpeTRw5IicpGlTXzguOUgYAB0bla7alLaXu2+kP2Mzf/+P9wimctGwXnuk554gR+ 5akM= X-Google-Smtp-Source: AGHT+IHHZ5pIPosviKtPkyQEif/hMdfbEGRFuJs37YGdo10nEtGhSuQiBUcNsFL3MFTMipLEiC0hCA== X-Received: by 2002:a05:6a00:928e:b0:706:5b39:2b18 with SMTP id d2e1a72fcca58-70b6c928f6fmr21008318b3a.11.1721063507636; Mon, 15 Jul 2024 10:11:47 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v3 3/9] tests/acpi: Allow DSDT acpi table changes for aarch64 Date: Mon, 15 Jul 2024 22:41:23 +0530 Message-ID: <20240715171129.1168896-4-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240715171129.1168896-1-sunilvl@ventanamicro.com> References: <20240715171129.1168896-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=sunilvl@ventanamicro.com; helo=mail-pf1-x42c.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, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721063586443116600 Content-Type: text/plain; charset="utf-8" so that CI tests don't fail when those ACPI tables are updated in the next patch. This is as per the documentation in bios-tables-tests.c. Signed-off-by: Sunil V L Reviewed-by: Igor Mammedov --- tests/qtest/bios-tables-test-allowed-diff.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8b..9282ea0fb2 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,7 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/aarch64/virt/DSDT", +"tests/data/acpi/aarch64/virt/DSDT.memhp", +"tests/data/acpi/aarch64/virt/DSDT.topology", +"tests/data/acpi/aarch64/virt/DSDT.acpihmatvirt", +"tests/data/acpi/aarch64/virt/DSDT.pxb", +"tests/data/acpi/x86/microvm/DSDT.pcie", --=20 2.43.0 From nobody Sun Nov 24 17:06:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721063584; cv=none; d=zohomail.com; s=zohoarc; b=lU8g28c7GV8ISKQyR2RB/z9Qs/GvRzAmDUUN3uIxVJ2psc6RqbDZ1gNyyWAWLI9RI6W146y97C+mf8mzEAp7rr9nIUx96mwz76wKq2XgUzerhlcDIYP/PB2ICgYLOQvLSnomy8jA0fUvr9IXDtvLqusuZOq9RLp0rZsSC1OGJgs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721063584; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=LsTPK9gu7Y7sN5IwpWcQvzEP0O1X5VjGLs177fAzIU0=; b=MalwVh9i0lENLDOPLLp2HE55knbOEneSIp8ahrA468tm0+2Wawh6M36ql+Vr4cfE6gvqxfjqyc5wg6+8R6bvfxIJ7MQdS8r+DqBw8cJVsyNSfoQavGSBLPFSkbcVJzZhHHePGQfa6CAPDhzmxl/RmEsFMon4I8NbWdqRAXrQgl8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721063584733228.26544981180973; Mon, 15 Jul 2024 10:13:04 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTPF1-0005LC-2I; Mon, 15 Jul 2024 13:11:59 -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 1sTPEy-0005AS-0v for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:11:56 -0400 Received: from mail-oa1-x31.google.com ([2001:4860:4864:20::31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTPEw-0007M1-7G for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:11:55 -0400 Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-25e00f348e6so2570901fac.1 for ; Mon, 15 Jul 2024 10:11:53 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca85ccsm4752618b3a.178.2024.07.15.10.11.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 10:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721063511; x=1721668311; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LsTPK9gu7Y7sN5IwpWcQvzEP0O1X5VjGLs177fAzIU0=; b=HJSn68JhJxwnmorusvKsvfHfemrtL0Xtq5liZUQpMXgXivzGjhisyZv11zGOKQ1f5a gg2XKyS3MveEUIArBFo5U1ASmzIU8kHR79LkseBfsqYxQuhDqc8JO1aC/Ch8UAYFdvvy VHpKeUjhR2VywZGNW6bvUjn+qQWRU1m+9nHPRD2Qjdf3c+pSF2HvB1Toviohp6rcmElN 3SllywEL34YGEe7+OP2JP4azl3dHlps568u+YNNMsj9GiQeEE1t8blLD13WCa9/OPgfJ TBAboiybjOlicVCCr4K+nmYnjLVmpuc9wZJVM+ATlO59eaBueSm0v04qg9B9vLMKbZxt a//w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721063511; x=1721668311; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LsTPK9gu7Y7sN5IwpWcQvzEP0O1X5VjGLs177fAzIU0=; b=J4+E9wHu7Nxu4aFJpuqn12NoB9BQrNQ4FPG4F4cOKZxiC+Lu/GB07aFx9OP3QvychY G7C+gm2U/lzrKEvdzxTkAOg0+ZKEOHbNul/E4j8ghCPKPI6RStXPq5b4olfErHV0heDR I8eiUfe5ZMMKbge/5yrJ/4EIyKKPlVmUyztxNZu73OgNbbPBnAa6IJe5LJqVg+M+M1cq gtUy9/CWfy/bHoM+2j9Z3cgVmBmSttI6Qu4PqnJ5Z7YKBTyxKGydz5ZhBtsdih0oXTqz 15rtpr/6a3/u+enZOj9nK0vgxHLO4u+VYS7xmrLJMQCiS1AS21hBIWxbJNaxRb6ZSDa+ 87dg== X-Gm-Message-State: AOJu0YxVbYi3ZIg8+41YPTwyV87VSrknMJ7NTw1i2YKJqyCX2/++TlW7 wyBytGIihazKBFwAi6oFVIYdHFm9G9yJIMdGHxtKgfT8ISvnYY/g8sEQ5VJntJCrxlIV7dTyx3J 2JDM= X-Google-Smtp-Source: AGHT+IHWtnAIPWySla0d9Y3xTdhOD673DZnFPfy1LG8pPLWsFLjmT5TBN0JyR1pasjFrv957t7P+IQ== X-Received: by 2002:a05:6870:c110:b0:254:a89e:acc1 with SMTP id 586e51a60fabf-25eae832650mr15902283fac.28.1721063511477; Mon, 15 Jul 2024 10:11:51 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v3 4/9] acpi/gpex: Create PCI link devices outside PCI root bridge Date: Mon, 15 Jul 2024 22:41:24 +0530 Message-ID: <20240715171129.1168896-5-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240715171129.1168896-1-sunilvl@ventanamicro.com> References: <20240715171129.1168896-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2001:4860:4864:20::31; envelope-from=sunilvl@ventanamicro.com; helo=mail-oa1-x31.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721063586471116600 Content-Type: text/plain; charset="utf-8" Currently, PCI link devices (PNP0C0F) are always created within the scope of the PCI root bridge. However, RISC-V needs these link devices to be created outside to ensure the probing order in the OS. This matches the example given in the ACPI specification [1] as well. Hence, create these link devices directly under _SB instead of under the PCI root bridge. To keep these link device names unique for multiple PCI bridges, change the device name from GSIx to LXXY format where XX is the PCI bus number and Y is the INTx. GPEX is currently used by riscv, aarch64/virt and x86/microvm machines. So, this change will alter the DSDT for those systems. [1] - ACPI 5.1: 6.2.13.1 Example: Using _PRT to Describe PCI IRQ Routing Signed-off-by: Sunil V L Acked-by: Igor Mammedov --- hw/pci-host/gpex-acpi.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hw/pci-host/gpex-acpi.c b/hw/pci-host/gpex-acpi.c index f69413ea2c..391fabb8a8 100644 --- a/hw/pci-host/gpex-acpi.c +++ b/hw/pci-host/gpex-acpi.c @@ -7,7 +7,8 @@ #include "hw/pci/pcie_host.h" #include "hw/acpi/cxl.h" =20 -static void acpi_dsdt_add_pci_route_table(Aml *dev, uint32_t irq) +static void acpi_dsdt_add_pci_route_table(Aml *dev, uint32_t irq, + Aml *scope, uint8_t bus_num) { Aml *method, *crs; int i, slot_no; @@ -20,7 +21,7 @@ static void acpi_dsdt_add_pci_route_table(Aml *dev, uint3= 2_t irq) Aml *pkg =3D aml_package(4); aml_append(pkg, aml_int((slot_no << 16) | 0xFFFF)); aml_append(pkg, aml_int(i)); - aml_append(pkg, aml_name("GSI%d", gsi)); + aml_append(pkg, aml_name("L%.02X%X", bus_num, gsi)); aml_append(pkg, aml_int(0)); aml_append(rt_pkg, pkg); } @@ -30,7 +31,7 @@ static void acpi_dsdt_add_pci_route_table(Aml *dev, uint3= 2_t irq) /* Create GSI link device */ for (i =3D 0; i < PCI_NUM_PINS; i++) { uint32_t irqs =3D irq + i; - Aml *dev_gsi =3D aml_device("GSI%d", i); + Aml *dev_gsi =3D aml_device("L%.02X%X", bus_num, i); aml_append(dev_gsi, aml_name_decl("_HID", aml_string("PNP0C0F"))); aml_append(dev_gsi, aml_name_decl("_UID", aml_int(i))); crs =3D aml_resource_template(); @@ -45,7 +46,7 @@ static void acpi_dsdt_add_pci_route_table(Aml *dev, uint3= 2_t irq) aml_append(dev_gsi, aml_name_decl("_CRS", crs)); method =3D aml_method("_SRS", 1, AML_NOTSERIALIZED); aml_append(dev_gsi, method); - aml_append(dev, dev_gsi); + aml_append(scope, dev_gsi); } } =20 @@ -174,7 +175,7 @@ void acpi_dsdt_add_gpex(Aml *scope, struct GPEXConfig *= cfg) aml_append(dev, aml_name_decl("_PXM", aml_int(numa_node))); } =20 - acpi_dsdt_add_pci_route_table(dev, cfg->irq); + acpi_dsdt_add_pci_route_table(dev, cfg->irq, scope, bus_num); =20 /* * Resources defined for PXBs are composed of the following pa= rts: @@ -205,7 +206,7 @@ void acpi_dsdt_add_gpex(Aml *scope, struct GPEXConfig *= cfg) aml_append(dev, aml_name_decl("_STR", aml_unicode("PCIe 0 Device"))); aml_append(dev, aml_name_decl("_CCA", aml_int(1))); =20 - acpi_dsdt_add_pci_route_table(dev, cfg->irq); + acpi_dsdt_add_pci_route_table(dev, cfg->irq, scope, 0); =20 method =3D aml_method("_CBA", 0, AML_NOTSERIALIZED); aml_append(method, aml_return(aml_int(cfg->ecam.base))); --=20 2.43.0 From nobody Sun Nov 24 17:06:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721063586; cv=none; d=zohomail.com; s=zohoarc; b=GG0BF/4cAJQ79Sx8rg7NHjTWGgH1MtX/L0TqYvJ91pbuY67eVhGYUMKy9gNE8cWVE7xYIc5dA9eyWISERebfHpfKSsKaV98CTJx9ojILjswaF5CE1V6YO8CE8ZRIHG/sJmvHPagFyiR7XJvjilEw+/enESJWGvE6V1U9DyQBN/E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721063586; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=fTj8JqwW6HZgP5hs1FYsc9VV2SpEFSu80LfSG1MxQFQ=; b=FaOOO7qiT49UKKpwCnnS+YU+YDCuwjBZCHTaC7y8otP+YhgQW+pV7s/yVeLFWu86oaNHvj1QIhy5O1s1kBjCVwPD3PBEiAh0rsHPh2xI9ADGEOIfdkh4f59pYKCnlBlcJYDt0AbsoG+6E45z8NjsoD0FkRGin+9CbTeP3Ndlm8M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721063586244921.1452501355842; Mon, 15 Jul 2024 10:13:06 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTPFJ-0006AQ-Dl; Mon, 15 Jul 2024 13:12:17 -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 1sTPFH-00062Y-Gp for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:15 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTPF3-0007MZ-2r for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:15 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-70b0e9ee7bcso3527554b3a.1 for ; Mon, 15 Jul 2024 10:11:57 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca85ccsm4752618b3a.178.2024.07.15.10.11.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 10:11:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721063516; x=1721668316; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fTj8JqwW6HZgP5hs1FYsc9VV2SpEFSu80LfSG1MxQFQ=; b=Azrjks3Shw9DWhC/pE1JPvdkrHLfyKDwXkr9TrmpEOLOum9aqh/FjPUZy8r4yCfwBN ZbEGU8o8/PwXPGOPpSuym+2q5vYK30TLJc6RmCYovhsu4Id4OH+YkqTRRAd7vrISYjNT jDIZnPuKJMeRXQyVhLqzIImG1dMuB3rGEMexHRurCSCUjuJp4ss+PGw8/xPlvt/QVE6o ba3gveq1Q7Nsa/TtuMdMZ+4ofMlZ/YiLWCFmeta8IKd+KB5TmlKrIJwzThxEtrCcHZfF g6vZ4JJcPFXu5stEBlljAY5vbSGohZ7ITKvAkpzmzfb80gxmVNYKsL76Ac9eFswz/99I 1aIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721063516; x=1721668316; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fTj8JqwW6HZgP5hs1FYsc9VV2SpEFSu80LfSG1MxQFQ=; b=vTjKEaRn1Kl8D6Gr2WoVa/FucXAPYFfmELOt7b9ihas+tEO/5ISMhUPxuc2apiIoRt 9B9OU5sak6Cr/iSV6kDhAZ0q06ihc2g0GhmeEtMBVSEK6ph2GtOaAYsaRJDtuVbUU2Kf nOV0iB73yRXDkSY37zpbfAtJNva95U1NIfuQ44p8Ogyugk9RNCsvVPZumsznHbyjW+K1 WsJoOthsycEMMZvEXDxCOvqQ0FddwaSIFCOM3Ucu9dM5PZQ9ZtqDIiLZfc5Vda6G38AR p3d5kc2u+K0s2lNn3LQD5jszBWP8Sx/1OIxPUMEDbNf5F/vgFUZB5M58U7Jq6a6uWAye hQcQ== X-Gm-Message-State: AOJu0YxwWtGnRRHXOglgyQdA7XbK6Fa21Ll7JSYytF9Bbxbd99pTIwxq goYlLgGsk/BKfmNcikyUHoM+RrzOR9LlegH1PKUdxYshO/qzUixxOCo6Bv+hC2IAEazVIBb7I/J i2+Y= X-Google-Smtp-Source: AGHT+IHY4qiv8Ws8jTmnw531f75SumCv3dnTFCA0MhPI30lSaNp5/pQB7kXBN3zgTYg+1Bu+rq2fpg== X-Received: by 2002:a05:6a00:398f:b0:70b:1d25:c844 with SMTP id d2e1a72fcca58-70ba47ef883mr366024b3a.14.1721063515739; Mon, 15 Jul 2024 10:11:55 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v3 5/9] tests/acpi: update expected DSDT blob for aarch64 and microvm Date: Mon, 15 Jul 2024 22:41:25 +0530 Message-ID: <20240715171129.1168896-6-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240715171129.1168896-1-sunilvl@ventanamicro.com> References: <20240715171129.1168896-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=sunilvl@ventanamicro.com; helo=mail-pf1-x430.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721063588455116600 Content-Type: text/plain; charset="utf-8" After PCI link devices are moved out of the scope of PCI root complex, the DSDT files of machines which use GPEX, will change. So, update the expected AML files with these changes for these machines. Mainly, there are 2 changes. 1) Since the link devices are created now directly under _SB for all PCI root bridges in the system, they should have unique names. So, instead of GSIx, named those devices as LXXY where L means link, XX will have PCI bus number and Y will have the INTx number (ex: L000 or L001). The _PRT entries will also be updated to reflect this name change. 2) PCI link devices are moved from the scope of each PCI root bridge to directly under _SB. Below is the sample iASL difference for one such link device. Scope (\_SB) { Name (_HID, "LNRO0005") // _HID: Hardware ID Name (_UID, 0x1F) // _UID: Unique ID Name (_CCA, One) // _CCA: Cache Coherency Attribute Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { Memory32Fixed (ReadWrite, 0x0A003E00, // Address Base 0x00000200, // Address Length ) Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, ) { 0x0000004F, } }) + Device (L000) + { + Name (_HID, "PNP0C0F" /* PCI Interrupt Link Device */) + Name (_UID, Zero) // _UID: Unique ID + Name (_PRS, ResourceTemplate () + { + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, ) + { + 0x00000023, + } + }) + Name (_CRS, ResourceTemplate () + { + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, ,, ) + { + 0x00000023, + } + }) + Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settings + { + } + } + Device (PCI0) { Name (_HID, "PNP0A08" /* PCI Express Bus */) // _HID: Hardware ID Name (_CID, "PNP0A03" /* PCI Bus */) // _CID: Compatible ID Name (_SEG, Zero) // _SEG: PCI Segment Name (_BBN, Zero) // _BBN: BIOS Bus Number Name (_UID, Zero) // _UID: Unique ID Name (_STR, Unicode ("PCIe 0 Device")) // _STR: Description Stri= ng Name (_CCA, One) // _CCA: Cache Coherency Attribute Name (_PRT, Package (0x80) // _PRT: PCI Routing Table { Package (0x04) { 0xFFFF, Zero, - GSI0, + L000, Zero }, ..... }) Device (GSI0) { Name (_HID, "PNP0C0F" /* PCI Interrupt Link Device */) Name (_UID, Zero) // _UID: Unique ID Name (_PRS, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,= ,, ) { 0x00000023, } }) Name (_CRS, ResourceTemplate () { Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive,= ,, ) { 0x00000023, } }) Method (_SRS, 1, NotSerialized) // _SRS: Set Resource Settin= gs { } } } } Signed-off-by: Sunil V L --- tests/data/acpi/aarch64/virt/DSDT | Bin 5196 -> 5196 bytes .../data/acpi/aarch64/virt/DSDT.acpihmatvirt | Bin 5282 -> 5282 bytes tests/data/acpi/aarch64/virt/DSDT.memhp | Bin 6557 -> 6557 bytes tests/data/acpi/aarch64/virt/DSDT.pxb | Bin 7679 -> 7679 bytes tests/data/acpi/aarch64/virt/DSDT.topology | Bin 5398 -> 5398 bytes tests/data/acpi/x86/microvm/DSDT.pcie | Bin 3023 -> 3023 bytes tests/qtest/bios-tables-test-allowed-diff.h | 6 ------ 7 files changed, 6 deletions(-) diff --git a/tests/data/acpi/aarch64/virt/DSDT b/tests/data/acpi/aarch64/vi= rt/DSDT index c47503990715d389914fdf9c8bccb510761741ac..36d3e5d5a5e47359b6dcb3706f9= 8b4f225677591 100644 GIT binary patch literal 5196 zcmZvg%WoT16o>EFlh__VVmr?J;S@^6GqU5nTG|qO>?AIBVmwKMluE9IK$L7EQ6ZHI zDP++?b~J)@kn)Ehv0}%LMb~Wj2iRfGojc?Fj&erwc+Si{-`sC}Y@eCBSKn(Dl#0yM zcHM1nq4sIVU7*EMO6hI=3Do_$%f9`(Fh@9=3DcmEtN{~-gdK|uDYEj1#2qa+i%v@;prWB zw;dkqwzo^Aayd8_@3~zsH|y4lB#LLD4hHUEe%#Hx2ibMth&QOO)&F zRh=3DXyyH(2|a!$q|B8kZ$vuZ!=3DhErz3r$f$^nsKgisMgtci@6#K-_+4H@eqBQ7zrz*tAdZIO|X7ii7^k1kB}kPX;xw^ z0Am9ga-HTR#v8z>B15jzyu`Q(j2bfJIvtf5w}9aSV@a;lg2Z?m7%eFsL$1>~iE#%QZD3U7I-QpocY(2k47pB=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;e^4nX^!fF9!T@qO4n9nly6ITAKvgWR~4-Rt~b`@1x^`t9z+`cF51d;e(Pief+& z?{U1>4s@V7dZ(sQkM)aH(yu4kr^gRMpW#f!8(le>e0m&=3DGl#SKI9A3vzpOuTgjU1DqFSDsx7MWuz4FcZ+<^JY~J+5V%WU7?yz~&l`w4HTzA;K z=3D}H(jZ+@TopEYlVY~OCw)hQ;xD!Ymo)6H$ftcO86r_|>-K2Tp`YLvp#khf)B_aD8I zj?KM{Gocg~aLk4kCu}axhSbq3B*!~F(C75#MQ1Pi`2VtD>_mGlhfO8)cawU;P_xSC zo{#rCz|$$Mo;@19hs6T(Rc9l1@3Q_fb-mT>oB4_PCbgp13Nb-Rz;IXdkt%_cUaUrbTVX{ HYpH($%hpa? diff --git a/tests/data/acpi/aarch64/virt/DSDT.topology b/tests/data/acpi/a= arch64/virt/DSDT.topology index 501314c91be01d927fd125e0c72e919fdd85592e..029d03eecc4efddc001e5377e85= ac8e831294362 100644 GIT binary patch literal 5398 zcmZvg%WoT16o>EFlh__VVmr?J;S@^6GqU5nTG|qO>@+TMVmwKMluE9IK$L7EQ6ZHI zDb1olb~J)@kn)Ehv0}%LMb~Wj2iRfGojc?Fj(bMRc+T8=3DzL{_4*f}$Guf8`vrc`94 zw(D+r3$;(%?gA~AQc7>@&+PME>tWZcbq`Oc-BPI(?`}2g>8jgqQn04t-Th`=3DnX$4o zW*wf+P~MU>=3D0wb3MI4Np!DVsKHiIkT;E)+y6$gjS;F>rXJ3PJR?zTe9PHU@FDwhMx zc-QTCxoKzOMMCLIlTcZuejHYob&aB@bQRV&58O=3Dy{-n{`rz^BXx!zvYNm8;~wG1NX zWDFvbm<%$j_JdA%akqCmyOg?eb=3DZF9)xjMV2@YODL~su{LLc@uL_}R7$^oLL&my>0 z9N|PHh7F7*WCV9~fDx4#!@#H@Be?Mc3|nHvfw7E?pgsl|LlVOQ#tJfmG8$kEON4?Ob2gXOpkn1!n zF&2Qafeg7$a}whXU{sMI*J)m2Tn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^om||b?jctXVs`* zbm^L_IqoahC%6Z6b;=3DtTmqu^V^Txb4Yb5Sp)$bU$TFrqear1()q8m?o!I-6ikZ@GArKLgZ-hS$l4j!E5Po6$-bien!d(dk*NB!eD My@B5+&m2qr5A>`*Jpcdz diff --git a/tests/data/acpi/x86/microvm/DSDT.pcie b/tests/data/acpi/x86/mi= crovm/DSDT.pcie index 765f14ef3d1e54d3cadccbf0a880f8adb73b3f1f..8eacd21d6ecdf9a3cd3e4f03cf1= b40748dcbf53e 100644 GIT binary patch literal 3023 zcmZvezi%T&6vyA%>v%o>k+tK*aeg^mi$LpG(a|8Cy>=3D2KJ6XKW1>uwSBn09}6A6R_ zC!~<#fOMQCY9r+jprt#Bii+zfD7c1(hLWq!eBVwsnkTZ7XXiWf-rM(iv$LLV*d70t zCrb4?NB%*$-FYwYw{clS#C^WI{hy<-6HPAO+&l62oamt6Exy|u9($g*LrxTq+bZuw z{wORLmD;!5jGM6vU(n=3DY$3Gf2WBWq;dB$?0<9-({J1lAkR~7fIm+6;ja_+dqK7)n* zUN_PYY5PIn^O`L@1fE4qpvTWCsr+{fl(urn4o>I2QE#6LM6*}Qo_w8W>G#6kV7s~* z_3n>zXDlAh-09=3D*;4tuf&)3gFA|3nw$h)iO28W{~(C+F< zl|>eQ8zh{|nyNj?kwvASUQvn&d0AFX=3DXKGy2XHgv?_I}tqTq(ZvXDABOtxgKx)6n< z(3UAijVTLN+5=3DxKVgnEaw+PNhwm6EYax5Uz8GFI!hSZNt+@s?P6>?T%c z8u)#qT5azwt_fD2f!iLx2O$>Pi8`G_w0I|YWIQT2)J8x)_31;}CJ(9xT5G|?{?ZSMH&7keB6??(3q~~Hk zm?n}v5kI!Yi=3Dl0=3D6?-P8{6cEe*b|aHkxguyjy;nM(!`#K8k?rICrlH`p2#Tnv}4aC z13UIiOl|F%BoAqFW&~#@_DoDO+A~QW(&StaoY)G;Cox@+oRB7GR&ZtoXI64Tnw*Z{ zbOfg(IU!9>d_IgyV-xG@#l_4?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l(&$ue6&cA#&E__kAKCb&7oWsqilC>4iIP^boV5A=3Da diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index 9282ea0fb2..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,7 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/aarch64/virt/DSDT", -"tests/data/acpi/aarch64/virt/DSDT.memhp", -"tests/data/acpi/aarch64/virt/DSDT.topology", -"tests/data/acpi/aarch64/virt/DSDT.acpihmatvirt", -"tests/data/acpi/aarch64/virt/DSDT.pxb", -"tests/data/acpi/x86/microvm/DSDT.pcie", --=20 2.43.0 From nobody Sun Nov 24 17:06:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721063639; cv=none; d=zohomail.com; s=zohoarc; b=N7ClXG6C2WT9SR28I1z31KSuqh66kgamGn7AqBq98nY6/B8yzPpJh7BaxUX3qJpgbt4J/ttKxDIItb6ngFi2R1pfq8Bn9yE50yvNfIGgOtZiwn5pUjWwRQMhm4kgHcLHA9fsR/cjqPc9v0kX1qp5vKvXJ03RLlHovdPEGjBIH0k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721063639; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=SU8GfqelSqXJWaHbA4tCleDNQ3MgjXFsCeI35E4yuvw=; b=Dx43felXeAa9BcCRuvBVAC9jN6t5bYG6S/2hPfjTpjtiNyc+FIcPbx/oqDJjY7LPDBY0f2xvwEq4c2E7X1vQSS3vdRGUotOYkbVmmuNGGP6cANX3GdxhWN9M9oWVRPF6es9+K1UNc+XcSGqOAbd/msug3KchRlLeHe6ngyy9OwA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721063639529441.68748677050337; Mon, 15 Jul 2024 10:13:59 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTPFK-0006I7-Vi; Mon, 15 Jul 2024 13:12:19 -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 1sTPFJ-0006AX-Be for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:17 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTPF6-0007Oe-Cb for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:17 -0400 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-70aec66c936so3284919b3a.0 for ; Mon, 15 Jul 2024 10:12:02 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca85ccsm4752618b3a.178.2024.07.15.10.11.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 10:11:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721063520; x=1721668320; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SU8GfqelSqXJWaHbA4tCleDNQ3MgjXFsCeI35E4yuvw=; b=jcf2jEQ3b3NaWHuawJ15iRXOrbi2EuRE/ZWz2DXDQAY/CtY+pZb0+YhHdcYqDtLZjM izua1eW/g3nJ5hkgi2Se7zPq6G2egAsEzfQyA/QcViKGJ00DxZHCz/LgG6/U+9NPBXij OmQyAITNxS5ZG19CX4MTF0rgpi5bcDxjL4U+enIsx+q9upDVKPJZ75A1FLTJmByW3gl5 Euosml3rXiIDk1WuX0dReEsfsKPeADfML1SKRpxa9pPKf1bXBz9SUg7R6nukAUA3nRsc xYD0+B00Oj4suRnCAyOWnqjJlYLmFSta6+57xuOXVeByUll/BqZxBIgdeg/97V+YLTbY kEzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721063520; x=1721668320; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SU8GfqelSqXJWaHbA4tCleDNQ3MgjXFsCeI35E4yuvw=; b=w2gL7aDGbB5Q9OwhIFxQyihzQ+AC/ror4ia1IynhhJ8agvgqWqwPrll0nQJkK7GvDe 2kQhpfWgO7bniUFULuy/9V91MVsynLVHO74RDEkZpdVi66Meld3M5UB23lOeArKGg578 7+gCdQHGherlm+IpdyePx4nx1Ttl+0uAA8nOS6ObMr61/cltUjWvLkOuEq5SdFMSZwK5 8NuM+x01aq7WSLbzc0FkEhAGXz/TBsKQsKFywL8ieL3i0k3V9bAVAradRnK3R9K4BzZP AmFLbqQH7KifK59437yuq6huWvEtKM8ISe6CbKRpoyJmZUmKvM0Q/9drD7T4pAfKrDZz RnsQ== X-Gm-Message-State: AOJu0YwP9UjjvGTbaoKNPuwM1ZUWdAegQ3uHY0c9ogavpEl6OEgT9fCf cinZnkiEN0tR6HbdcamK2oXb0C3lWG7lXaenbAukBqNmSJoyO3zFAoRozs6zsQ3APdp1L8pjCj+ UZ+Q= X-Google-Smtp-Source: AGHT+IHzUjNTiqIoe06grykEkXT6F1ydZ4/wxtgXr16vTuaRQEgoq1nB0cpGc94v4OQy3zU74/TE6A== X-Received: by 2002:a05:6a00:848:b0:706:5b9a:b6d5 with SMTP id d2e1a72fcca58-70ba4855d7dmr349502b3a.15.1721063519679; Mon, 15 Jul 2024 10:11:59 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v3 6/9] tests/qtest/bios-tables-test.c: Remove the fall back path Date: Mon, 15 Jul 2024 22:41:26 +0530 Message-ID: <20240715171129.1168896-7-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240715171129.1168896-1-sunilvl@ventanamicro.com> References: <20240715171129.1168896-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=sunilvl@ventanamicro.com; helo=mail-pf1-x430.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721063640614116600 Content-Type: text/plain; charset="utf-8" The expected ACPI AML files are moved now under ${arch}/{machine} path. Hence, there is no need to search in old path which didn't have ${arch}. Remove the code which searches for the expected AML files under old path as well. Suggested-by: Igor Mammedov Signed-off-by: Sunil V L Acked-by: Alistair Francis Reviewed-by: Igor Mammedov --- tests/qtest/bios-tables-test.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index f4c4704bab..498e0e35d9 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -267,15 +267,6 @@ static void dump_aml_files(test_data *data, bool rebui= ld) data->arch, data->machine, sdt->aml, ext); =20 - /* - * To keep test cases not failing before the DATA files are mo= ved to - * ${arch}/${machine} folder, add this check as well. - */ - if (!g_file_test(aml_file, G_FILE_TEST_EXISTS)) { - aml_file =3D g_strdup_printf("%s/%s/%.4s%s", data_dir, - data->machine, sdt->aml, ext); - } - if (!g_file_test(aml_file, G_FILE_TEST_EXISTS) && sdt->aml_len =3D=3D exp_sdt->aml_len && !memcmp(sdt->aml, exp_sdt->aml, sdt->aml_len)) { @@ -412,11 +403,6 @@ static GArray *load_expected_aml(test_data *data) try_again: aml_file =3D g_strdup_printf("%s/%s/%s/%.4s%s", data_dir, data->ar= ch, data->machine, sdt->aml, ext); - if (!g_file_test(aml_file, G_FILE_TEST_EXISTS)) { - aml_file =3D g_strdup_printf("%s/%s/%.4s%s", data_dir, data->m= achine, - sdt->aml, ext); - } - if (verbosity_level >=3D 2) { fprintf(stderr, "Looking for expected file '%s'\n", aml_file); } --=20 2.43.0 From nobody Sun Nov 24 17:06:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721063619; cv=none; d=zohomail.com; s=zohoarc; b=ca6eoDC/Zi2EKNGaum/AXgxuMsqiuIf7MeIp8QCqW3gmp+sMX0y7T9jp0EeQN4hRXX94nqIx65fJZLQgOJ705Simrte4U79LOz5Z5btnDX67Gvjc/i56NLO7O2KgutoA79mOtFfkoa+Wji3Ht7SVo/nJowp9pmszg3MtDfJi5Hg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721063619; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=XZLIH3mFjpLuh9fKHfryw3QA5aXbXOhCFMCJ9YY9hgg=; b=JZDeGs4VXQpbv1NvV0ROkkD0WIQbtXDFWLhC76CcUj4qxIYgHjR+uH/id5h9wnf337Hbl6cby0eufaZA95YjqMBoAXK/p03Ix93euMHqHzx/pLCT1yLEtpbK9fGo/XVkzNqCJt/f3JzGGPg2CDR0rNWU5QW2paDKyCawuAWRic0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721063619968247.0224014749233; Mon, 15 Jul 2024 10:13:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTPFG-0005pM-8u; Mon, 15 Jul 2024 13:12:14 -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 1sTPFB-0005iT-Vt for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:10 -0400 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTPF7-0007TC-Vp for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:08 -0400 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-70b03ffbb3aso3615349b3a.0 for ; Mon, 15 Jul 2024 10:12:05 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca85ccsm4752618b3a.178.2024.07.15.10.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 10:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721063523; x=1721668323; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XZLIH3mFjpLuh9fKHfryw3QA5aXbXOhCFMCJ9YY9hgg=; b=A7XfzkJXNJb9sB77U3+VdpR/JThk47MstEHk2w3voGocMHONU20MfrC9kY/xzzGc9i CxotHsUNX+4CuJWsGvw2GRigh9cP7lD8wcde2igLwtOuEFQeW/2KcpN+Rt+OlH7YixVU Ail4tfDEuOzA8/ZbzhhPlOo0sLJHYQ4SawVh6aUHRPHqR0sCVOG0LXR5L4rU+kQ5661N 16j3UIhTlPXE43cWagHPjVYG2Lv4Q2h9I/5bSsloHuwQGd/RhG7Wr7TZTMldXJoMIBRu 2IYegLNUNfD/sowD6haQce9y9rJBX3icJT6SJcDqJJdwYiAh4qkwNfDEbvmj9+kynNwN Zeog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721063523; x=1721668323; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XZLIH3mFjpLuh9fKHfryw3QA5aXbXOhCFMCJ9YY9hgg=; b=a39BV9XIBrgBQuys1FtQ4Z905OzKXgBCZSAWBNR78MtsB3pMcqE1gCkL73x9Pvxj5W CLj4qOvv6c0S2FlPtkUQEtjarNy+x8j6Vn0LBwgmAphDOVBcT8TQ2+NdS9/INrFpYly4 s9e6KGkBZ0kX8SRLfyZG6WqJnOpIKM8ANxnbWfAaQ+R3VZysFVqLzcfbPVzS+ek3K+Bq b/LXVofuMjv/qMZ1x9LQDcQUfFY5qRCqUZ0wY8j3Se8M5vxApL2rycM2aA2SeyqtUYiL F9Rt56oms+M6cq/woLFJIgWJzgMIw/KqLN4V5dDSQvGTGHHZEcNT7vLsM7Sap1n0JhlS c65Q== X-Gm-Message-State: AOJu0YyG+24WSidSDrLgGvDN8+PT66zzd8L7hza+Lomm/gYbitjfO9mc NH4elBDtbgNwZaLqdibX1cc1NeVpWh3MYIe8NFzvwDEQExZwfQ9bvH541o70WLwloBnff7hLZ/p OFfs= X-Google-Smtp-Source: AGHT+IGnx0aAZ1BW2/6zjWEDI7OVg8ARBCi1zGDWRfyf5bnd/FyABlMHcVNCqfZVkvxvkVcQQ/gisw== X-Received: by 2002:a05:6a21:3397:b0:1c2:8eb7:19d1 with SMTP id adf61e73a8af0-1c3ee4d101emr795149637.16.1721063523519; Mon, 15 Jul 2024 10:12:03 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v3 7/9] tests/acpi: Add empty ACPI data files for RISC-V Date: Mon, 15 Jul 2024 22:41:27 +0530 Message-ID: <20240715171129.1168896-8-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240715171129.1168896-1-sunilvl@ventanamicro.com> References: <20240715171129.1168896-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::431; envelope-from=sunilvl@ventanamicro.com; helo=mail-pf1-x431.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721063620587116600 Content-Type: text/plain; charset="utf-8" As per process documented (steps 1-3) in bios-tables-test.c, add empty AML data files for RISC-V ACPI tables and add the entries in bios-tables-test-allowed-diff.h. Signed-off-by: Sunil V L Acked-by: Alistair Francis Reviewed-by: Igor Mammedov --- tests/data/acpi/riscv64/virt/APIC | 0 tests/data/acpi/riscv64/virt/DSDT | 0 tests/data/acpi/riscv64/virt/FACP | 0 tests/data/acpi/riscv64/virt/MCFG | 0 tests/data/acpi/riscv64/virt/RHCT | 0 tests/data/acpi/riscv64/virt/SPCR | 0 tests/qtest/bios-tables-test-allowed-diff.h | 6 ++++++ 7 files changed, 6 insertions(+) create mode 100644 tests/data/acpi/riscv64/virt/APIC create mode 100644 tests/data/acpi/riscv64/virt/DSDT create mode 100644 tests/data/acpi/riscv64/virt/FACP create mode 100644 tests/data/acpi/riscv64/virt/MCFG create mode 100644 tests/data/acpi/riscv64/virt/RHCT create mode 100644 tests/data/acpi/riscv64/virt/SPCR diff --git a/tests/data/acpi/riscv64/virt/APIC b/tests/data/acpi/riscv64/vi= rt/APIC new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/data/acpi/riscv64/virt/DSDT b/tests/data/acpi/riscv64/vi= rt/DSDT new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/data/acpi/riscv64/virt/FACP b/tests/data/acpi/riscv64/vi= rt/FACP new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/data/acpi/riscv64/virt/MCFG b/tests/data/acpi/riscv64/vi= rt/MCFG new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/data/acpi/riscv64/virt/RHCT b/tests/data/acpi/riscv64/vi= rt/RHCT new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/data/acpi/riscv64/virt/SPCR b/tests/data/acpi/riscv64/vi= rt/SPCR new file mode 100644 index 0000000000..e69de29bb2 diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index dfb8523c8b..70474a097f 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1 +1,7 @@ /* List of comma-separated changed AML files to ignore */ +"tests/data/acpi/riscv64/virt/APIC", +"tests/data/acpi/riscv64/virt/DSDT", +"tests/data/acpi/riscv64/virt/FACP", +"tests/data/acpi/riscv64/virt/MCFG", +"tests/data/acpi/riscv64/virt/RHCT", +"tests/data/acpi/riscv64/virt/SPCR", --=20 2.43.0 From nobody Sun Nov 24 17:06:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721063651; cv=none; d=zohomail.com; s=zohoarc; b=G0N2xd6ZgL5OCi8ZZ4cuRfPu9My/BY9N7NgTbqEgYnecIsopm3SNCuuU3ta4bP5ShWrkNHPC21RJklwt6V1AGDAxguuPIjh2hjI6W7v7Jbpr6aPiT7zaq0w8GxYqeOtK0i4ftJCQNWDNVNqOcIj4h3vzyDGJxZ7bR5V096HLf+8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721063651; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=/4tYSD3kmwvsTXZv9JDOMjH919bSCwsQC+O4tYKQ71A=; b=bgW0LUDwiKPt1wukW+0IOz70lS0Ernb9n5j+AdhiiELzyMuxOO6hk7mPK2zIvL54GF/LMUGlSHlYoabXQFkQbZbZNb6ODRP30OsjDXb/0su7IAjSS4MOTVZ9uYIYgqEfk8J+qka/LemxMMDMNajbiz/9Xz4MzVIHt4Psr/MP/eM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721063651214193.76999719121636; Mon, 15 Jul 2024 10:14:11 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTPFH-00061Z-Bv; Mon, 15 Jul 2024 13:12:15 -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 1sTPFF-0005rl-9B for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:13 -0400 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTPFD-0007Tq-Mg for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:13 -0400 Received: by mail-pf1-x432.google.com with SMTP id d2e1a72fcca58-70af5fbf0d5so2798191b3a.1 for ; Mon, 15 Jul 2024 10:12:09 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca85ccsm4752618b3a.178.2024.07.15.10.12.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 10:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721063527; x=1721668327; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/4tYSD3kmwvsTXZv9JDOMjH919bSCwsQC+O4tYKQ71A=; b=H6K2KSfdY8kkbPcDoDOYuNpMPMykCIVis4+rYSKMo5idwVCiY4bMbkhkiDd5VWRdEz zxJ3ize1DKhw845wb7u1vBJ+/jGL1HHBys9/dBzTzy8aRn/oh15ZVHhLgD2udik3EiUN w61sgElhijQE/y4L6gRQOLrYFsfzX902m4O/KJ8MhBnkm8bVkood5/iEU7/UBp+chpjw sLgIM12L9rlA4RVzCPhViczayAoj9w1lkSuctpw1USUcWth0Fizf1kgiDM386GJb3yfn Ksc8F2rM01gEkzBC4m9XvcOarsKhyrrbeFz0j/qx0Aa9xc/VPcZM6DlaqCSjCv3vjqz0 W9ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721063527; x=1721668327; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/4tYSD3kmwvsTXZv9JDOMjH919bSCwsQC+O4tYKQ71A=; b=dWk+G05+8j+MAx6Jy5KdK3tZXEvbObL3Z7hAVWqUfgpPZeGv1kGYnq5BdHQStzn0OZ FgJSmn+ig7J5rHWkBhVIvzd5UTPJ4pScZNJwoSGRgkKmvuQfNVhlfiq7hVBX8J6AUA2s ihm+5dYvQRBAwWQffMoXFzW3JtUDZhIMoMsnExZaH3+WhWxhGV5Yc3IqM5yzCgVYfAHJ 5QkU6lzEYoJTUsBID0lUsoC7eHSBjgq3LWO3a4LMFETyLYQkSEJ4JXHypkHRV0vdW3tB wLcsAF+th8m4zhaozaTt4CzkRs39aTw/tZ9Mkf4SW/FR1VjMujHuu4RHdUJbmmhS428s WHnw== X-Gm-Message-State: AOJu0YwJWnLPJucRUvUkWcwkzDV2IivxyzTs4lt/rqpcsHVd6IvvsBMn WE8+UEGho1bZiKcX+0fo6fLY5+6F6/wt14FPcij3Z55tqQ/PKqp1IWZgo4GQtSWb8y+0HDWg9pU Wx30= X-Google-Smtp-Source: AGHT+IGXFGdiF8idtIVw+VFQFzaRHGhimX6PajwqwGLA9AFhXicg71ra4v4EVC3mjZkj6dPCRT5ldA== X-Received: by 2002:a05:6a00:860d:b0:705:9669:af1f with SMTP id d2e1a72fcca58-70b6c929256mr14359580b3a.10.1721063527329; Mon, 15 Jul 2024 10:12:07 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v3 8/9] tests/qtest/bios-tables-test.c: Enable basic testing for RISC-V Date: Mon, 15 Jul 2024 22:41:28 +0530 Message-ID: <20240715171129.1168896-9-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240715171129.1168896-1-sunilvl@ventanamicro.com> References: <20240715171129.1168896-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=sunilvl@ventanamicro.com; helo=mail-pf1-x432.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721063652709116600 Content-Type: text/plain; charset="utf-8" Add basic ACPI table test case for RISC-V. Signed-off-by: Sunil V L Reviewed-by: Alistair Francis Reviewed-by: Igor Mammedov --- tests/qtest/bios-tables-test.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 498e0e35d9..36e5c0adde 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1963,6 +1963,28 @@ static void test_acpi_microvm_acpi_erst(void) } #endif /* CONFIG_POSIX */ =20 +static void test_acpi_riscv64_virt_tcg(void) +{ + test_data data =3D { + .machine =3D "virt", + .arch =3D "riscv64", + .tcg_only =3D true, + .uefi_fl1 =3D "pc-bios/edk2-riscv-code.fd", + .uefi_fl2 =3D "pc-bios/edk2-riscv-vars.fd", + .cd =3D "tests/data/uefi-boot-images/bios-tables-test.riscv64.iso.= qcow2", + .ram_start =3D 0x80000000ULL, + .scan_len =3D 128ULL * 1024 * 1024, + }; + + /* + * RHCT will have ISA string encoded. To reduce the effort + * of updating expected AML file for any new default ISA extension, + * use the profile rva22s64. + */ + test_acpi_one("-cpu rva22s64 ", &data); + free_test_data(&data); +} + static void test_acpi_aarch64_virt_tcg(void) { test_data data =3D { @@ -2441,6 +2463,10 @@ int main(int argc, char *argv[]) qtest_add_func("acpi/virt/viot", test_acpi_aarch64_virt_vi= ot); } } + } else if (strcmp(arch, "riscv64") =3D=3D 0) { + if (has_tcg && qtest_has_device("virtio-blk-pci")) { + qtest_add_func("acpi/virt", test_acpi_riscv64_virt_tcg); + } } ret =3D g_test_run(); boot_sector_cleanup(disk); --=20 2.43.0 From nobody Sun Nov 24 17:06:12 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1721063585; cv=none; d=zohomail.com; s=zohoarc; b=UGA36toOvf6chefQgCT2M6DX6d3HNxXuA1+Zy1yqh/vs9tf12u1CrSg4IY7wmD/difEKHtTJAljjCAXgj8ixHHpADpSGX+nalXA0lsIJT6PrfIsfeJ9ZsYwqhK9jR7k9K5cX/1Xz29TEpTPgRGyyQw3RgGBNar9VtA1WZbcrDBY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1721063585; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=dq7QFPQUVP3Ynbd/KPSkrs4w0szD0VlYjXKC1M1eAR0=; b=l4nyv2+JGqxrImQbCLhc12nTg2EM4tFP45bnYyVAr7ceTjwQZFYB0+DhN6he8dOiHGW0XyEFfS7yx2W/pGp+0GsnUM9r5NEZdSHp2W5rdP2YlPjWPMoKK+QLP9OkHq4JFJV3miPmR+qFtPDGK/XfkmT4X3KXhAnuL3VvrfABRbg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1721063585321834.0821158048897; Mon, 15 Jul 2024 10:13:05 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sTPFJ-0006Bd-NB; Mon, 15 Jul 2024 13:12:17 -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 1sTPFI-00066o-FQ for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:16 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sTPFF-0007UF-Mw for qemu-devel@nongnu.org; Mon, 15 Jul 2024 13:12:16 -0400 Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-656d8b346d2so2630911a12.2 for ; Mon, 15 Jul 2024 10:12:12 -0700 (PDT) Received: from sunil-pc.tail07344b.ts.net ([106.51.187.237]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca85ccsm4752618b3a.178.2024.07.15.10.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 10:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1721063531; x=1721668331; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dq7QFPQUVP3Ynbd/KPSkrs4w0szD0VlYjXKC1M1eAR0=; b=LC/TD+kzFirDQ+PiOmTZ1v7EnYMQrZ8GFgSfmcF/JlkED9IHespsa2EXGJ/a6JCk3m WKDzeshO7a2CRai3qNbCbV7rGY9ElDkhOlkRFO7SIVJJQndSSLHCL68pcdLSTtAkkms+ /ODcviwKGtifk6oMT/CgV8jgBSvDEbK6AcElDjHhN/W9lhST0jqMsSRTITprdjd85Vi+ SUcmOWXwFxY6iKwBn7R74SqUi2Nw7+GzvDMo6ItdXdYkK21tTWR4rvW9YtDHjZcEu+yQ SGiTgoOA2d2RWETymbNRQ9zg0izL4Iz/qYWLe6kKYMJOgeNK5qcagfopFPIsqvbttwHW XVCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721063531; x=1721668331; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dq7QFPQUVP3Ynbd/KPSkrs4w0szD0VlYjXKC1M1eAR0=; b=PeUIvqkWL+1e/fiekqlnGowE197DfN1/2GehttUcYrWQbArfDsrhIEcbeC9PZB9GiR wrZH+/C2AwGIy9FW1objPoNKrlavDqi1iSJHcxpU50weEefrn3KOdj5iI7KEtiEYSIKC NRIVxvBpA5ql3NtcHBzSQYpBP13S4S7Yg24NDNCHdpv8GFQ6BTgSJF604LoySN5oRnQJ ILAsQqxji6AN4Bq/YiDpy/NWHMp3QSoLw+SX1tYMUOQXM/EM3aMdcEOLN2FltINTWX9R hwrNaxNhFN64REEGJ5JrMNO/s7K1Ph2jZhFkYKJA8i9Obg45XTet3ECqDTFs6upQZMV8 ghkA== X-Gm-Message-State: AOJu0Yxri8RCQDWdaN4VSIdMBo+QaSKEtOWmOIYObJ0tkAgWXnAtyvoi GY1gF3SoZsIS0wNC2AZyWAcB+SB0TjCG2f+jBqPt0kF4AlfI5zNrifkN/GwaocUhSvLunp/eosP O2ZQ= X-Google-Smtp-Source: AGHT+IGKOUvdXbpNewQq+zGdjeonHCkT3Ako0JWQtnhQjm0KkJ0iwZ4Xs2ph9A0576FXjSgHdr1tbA== X-Received: by 2002:a05:6a20:3944:b0:1c0:f33e:aaec with SMTP id adf61e73a8af0-1c3ee6548ffmr644604637.49.1721063531163; Mon, 15 Jul 2024 10:12:11 -0700 (PDT) From: Sunil V L To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Michael S . Tsirkin" , Igor Mammedov , Ani Sinha , Sunil V L Subject: [PATCH v3 9/9] tests/acpi: Add expected ACPI AML files for RISC-V Date: Mon, 15 Jul 2024 22:41:29 +0530 Message-ID: <20240715171129.1168896-10-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240715171129.1168896-1-sunilvl@ventanamicro.com> References: <20240715171129.1168896-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=sunilvl@ventanamicro.com; helo=mail-pg1-x529.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1721063586455116600 Content-Type: text/plain; charset="utf-8" As per the step 5 in the process documented in bios-tables-test.c, generate the expected ACPI AML data files for RISC-V using the rebuild-expected-aml.sh script and update the bios-tables-test-allowed-diff.h. These are all new files being added for the first time. Hence, iASL diff output is not added. Signed-off-by: Sunil V L Acked-by: Alistair Francis Acked-by: Igor Mammedov --- tests/data/acpi/riscv64/virt/APIC | Bin 0 -> 116 bytes tests/data/acpi/riscv64/virt/DSDT | Bin 0 -> 3576 bytes tests/data/acpi/riscv64/virt/FACP | Bin 0 -> 276 bytes tests/data/acpi/riscv64/virt/MCFG | Bin 0 -> 60 bytes tests/data/acpi/riscv64/virt/RHCT | Bin 0 -> 332 bytes tests/data/acpi/riscv64/virt/SPCR | Bin 0 -> 80 bytes tests/qtest/bios-tables-test-allowed-diff.h | 6 ------ 7 files changed, 6 deletions(-) diff --git a/tests/data/acpi/riscv64/virt/APIC b/tests/data/acpi/riscv64/vi= rt/APIC index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..66a25dfd2d6ea2b607c024722b2= eab95873a01e9 100644 GIT binary patch literal 116 zcmZ<^@N_O=3DU|?X|;^gn_5v<@85#X!<1dKp25F13pfP@Mo12P{Zj?R|`s)2!c7=3Ds}J I#NvT*0o0BN0RR91 literal 0 HcmV?d00001 diff --git a/tests/data/acpi/riscv64/virt/DSDT b/tests/data/acpi/riscv64/vi= rt/DSDT index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..6a33f5647ddd6de3a0f000f718b= 58f6fff44f0fd 100644 GIT binary patch literal 3576 zcmZvfO>Y}j6o&8Elh_%5#CDu-Cr+Uf3sh+w6Os)g_Bd%=3D*~#E>8YCmRQk04kR6;38 z1tF>|_=3DwoFL2TFrkzaw3Kw`y?9SFpd4SxW3<~{d%%sFI6^31%~=3De+kk*Z0mHH-bj@ zpNvwm2lYK~Cs?V!>U%3VETt6P(>3S)@mfEq_j{*1w&%KTvcJ=3D8WNMz@gjiR}{(iH8 zbGz2fKj&PZyKX7U;>Z7W?{s7Pz}q%PuWYsVVYCX1pj&fN$-d{+ESx(*KJR2do*=3Dti zZVrZzRPS`Xi5g61C-80~vob2-W>CkyNK|R1?&w4>;qA3$W_6TFISbCL=3D}hIQ%g@G@ zWjVUnWWNzK3ahdFl#?s|I{59|`=3D7VZo_zP!_qV>W3X4`@E|xib^R2_<8+RWZz5VXd z{liD-c5?&O*6iDzu-w*eXAkAB{nzP;GweEtu5-h#Y0wB*TT~3Ow4gz{VzI(3Vnd5M zRk0dn;l!dmT;>ty9@R*Xc$CK`^RT(c3y~gnl!wne#<<5?q{mp4#~tP|&OKg?^cauw zIAIK0WsoGrqNCJXm^Cc?|KNw49okzSZI-0Rs0FVi;iYJK5* zO*UFJcY{_to<-zbb7?gPTQ_m8*LO$b7<4=3DNvQzSvr<&?Wttc0t2JYTd_tYV-icIt} z@;lwB);rGQLds4J28wM<p$GlFwQaL!0hNX|JcIA;attmK5`oOrQgzvrCboRgf8oO51q&I`_Y z$qC6h7X;^m;9QWLkeqW-a4rhYMac=3DtIZJ}GBsfcw6OwZ-3C<4`(C}KF7YH%*r(}jWhdc0{4}Ft)TGpaPSz)wD{1VN`q&%{ z1|Nm@_{K`p3#UG?1=3D9g-sk7%$sG9DR90!PI_v{B_o}QzwM|dBbPf<_=3DzP8dH)RXFi+dCw;Qyc2X#oHL literal 0 HcmV?d00001 diff --git a/tests/data/acpi/riscv64/virt/SPCR b/tests/data/acpi/riscv64/vi= rt/SPCR index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4da9daf65f71a13ac2b488d4e97= 28f194b569a43 100644 GIT binary patch literal 80 zcmWFza1IJ!U|?X{>E!S15v<@85#X!<1dKp25F12;fdT`FDF9*%FmM4$c8~z`e;@#f G!2kgKJqrN< literal 0 HcmV?d00001 diff --git a/tests/qtest/bios-tables-test-allowed-diff.h b/tests/qtest/bios= -tables-test-allowed-diff.h index 70474a097f..dfb8523c8b 100644 --- a/tests/qtest/bios-tables-test-allowed-diff.h +++ b/tests/qtest/bios-tables-test-allowed-diff.h @@ -1,7 +1 @@ /* List of comma-separated changed AML files to ignore */ -"tests/data/acpi/riscv64/virt/APIC", -"tests/data/acpi/riscv64/virt/DSDT", -"tests/data/acpi/riscv64/virt/FACP", -"tests/data/acpi/riscv64/virt/MCFG", -"tests/data/acpi/riscv64/virt/RHCT", -"tests/data/acpi/riscv64/virt/SPCR", --=20 2.43.0