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 X-Spam-Level: X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C777EC433E0 for ; Sun, 17 Jan 2021 11:54:43 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 65C99208DB for ; Sun, 17 Jan 2021 11:54:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 65C99208DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:57904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l16dm-0006WO-49 for qemu-devel@archiver.kernel.org; Sun, 17 Jan 2021 06:54:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l16WA-0001qh-Fr for qemu-devel@nongnu.org; Sun, 17 Jan 2021 06:46:50 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:30074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1l16W5-0008Gz-5C for qemu-devel@nongnu.org; Sun, 17 Jan 2021 06:46:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1610884003; 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=MqQtAiWC5T/ws37y6nXf0OqujwVirS3Y8UGvrA7Ic9M=; b=KPkkxrYJViwa1P4YpmNQJSJ1vqJHt2Esrd6LObwUIhDeFSTJgcqWt55K41dVyIORAjPNDm cGHxbDcUYkCkDfiOvuRwBcoyXrmXrUdEd0zPnNYf16wLjTsw9HBNAf2E5+N3yd4mz09Lum a0c9k4htT0rWLUy4baaBVJcYAn/2/rE= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-500-4yAPnoY9M9qvGnTwBXSAig-1; Sun, 17 Jan 2021 06:46:41 -0500 X-MC-Unique: 4yAPnoY9M9qvGnTwBXSAig-1 Received: by mail-wr1-f72.google.com with SMTP id v7so6734200wra.3 for ; Sun, 17 Jan 2021 03:46:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=MqQtAiWC5T/ws37y6nXf0OqujwVirS3Y8UGvrA7Ic9M=; b=QW4GuPbmcaDq5oFvXKMHXynhFIYdB8haT1E6PuOCFOl5L8xZlpk0sBlk9u3cK4yVvr SFd0TA/Y62lsHM4OlufZ1mv6WmJLJtaqxGytM91fPLtYNaX1mIFSesDGipjSj/FzNXrH WWaBrAL7to00k9uvc23r7pyDXQfqg2pQJjy1/lO0Utn5wcgpac+yvwGsdVtb2cuYbEBi Li1tKM0XVR+deXQyTGbf+QvnC8r4rF/Y2Hij5AnvL6WNixL0b/7f71/N4G7aBGbPY0yv 3oCOyr0q53LRBtP2YlTTcsbhQePCrLNxUxWTdW3Y5+8QZmyXqe3oISezcYo1wKdDYE6C /f+w== X-Gm-Message-State: AOAM530QYF7z7o/gUohyYqylFUp1Uq4NJrM7jmS10YVvTABewyXE7TEq 806W2HzSN+Mm8j+744T5WOPkuTg5k0P+W4V+jWQJrf6JmJUBZeWzqAyQ87IHsKTnSi2vkzxXt2E +RxArx0XqbGYdPQNv6/ogCrEAFTXkFEF6A70+el/fpl2WAvKEZUA+LHevw//v X-Received: by 2002:a5d:47ae:: with SMTP id 14mr21013439wrb.378.1610883999715; Sun, 17 Jan 2021 03:46:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKNVRsBIXxYuKmHrxr/5tSRtxZmi+9Tj6HTOP8jzaSlPjEUMe1VyE1R/avdmeIA/usEpkh/w== X-Received: by 2002:a5d:47ae:: with SMTP id 14mr21013429wrb.378.1610883999553; Sun, 17 Jan 2021 03:46:39 -0800 (PST) Received: from redhat.com (bzq-79-176-30-58.red.bezeqint.net. [79.176.30.58]) by smtp.gmail.com with ESMTPSA id i5sm18085138wmq.27.2021.01.17.03.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Jan 2021 03:46:38 -0800 (PST) Date: Sun, 17 Jan 2021 06:46:37 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL 09/10] acpi: Enable pxb unit-test for ARM virt machine Message-ID: <20210117114519.539647-10-mst@redhat.com> References: <20210117114519.539647-1-mst@redhat.com> MIME-Version: 1.0 In-Reply-To: <20210117114519.539647-1-mst@redhat.com> X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mst@redhat.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=63.128.21.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.252, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Jiahui Cen , Igor Mammedov Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Jiahui Cen No matter whether the pxb is enabled or not, the CONFIG_PXB macro in test would keep undefined. And since pxb is now enabled for ARM Virt machine by default, let's enable pxb unit-test by removing the CONFIG_PXB. Acked-by: Igor Mammedov Signed-off-by: Jiahui Cen Message-Id: <20210114100643.10617-8-cenjiahui@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- tests/qtest/bios-tables-test.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c index 4e026f90d0..669202fc95 100644 --- a/tests/qtest/bios-tables-test.c +++ b/tests/qtest/bios-tables-test.c @@ -1196,7 +1196,6 @@ static void test_acpi_virt_tcg_numamem(void) } -#ifdef CONFIG_PXB static void test_acpi_virt_tcg_pxb(void) { test_data data = { @@ -1228,7 +1227,6 @@ static void test_acpi_virt_tcg_pxb(void) free_test_data(&data); } -#endif static void test_acpi_tcg_acpi_hmat(const char *machine) { @@ -1342,9 +1340,7 @@ int main(int argc, char *argv[]) qtest_add_func("acpi/virt", test_acpi_virt_tcg); qtest_add_func("acpi/virt/numamem", test_acpi_virt_tcg_numamem); qtest_add_func("acpi/virt/memhp", test_acpi_virt_tcg_memhp); -#ifdef CONFIG_PXB qtest_add_func("acpi/virt/pxb", test_acpi_virt_tcg_pxb); -#endif } ret = g_test_run(); boot_sector_cleanup(disk); -- MST