From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:49638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMD4e-0005VS-Sb for qemu-devel@nongnu.org; Thu, 02 May 2019 10:52:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMD4d-00030j-TH for qemu-devel@nongnu.org; Thu, 02 May 2019 10:52:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56328) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMD4b-0002yx-Sa for qemu-devel@nongnu.org; Thu, 02 May 2019 10:52:35 -0400 From: Igor Mammedov Date: Thu, 2 May 2019 16:51:58 +0200 Message-Id: <1556808723-226478-11-git-send-email-imammedo@redhat.com> In-Reply-To: <1556808723-226478-1-git-send-email-imammedo@redhat.com> References: <1556808723-226478-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v4 10/15] tests: acpi: ignore SMBIOS tests when UEFI firmware is used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Laszlo Ersek , "Michael S. Tsirkin" , Gonglei , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Shannon Zhao , Wei Yang , Andrew Jones , Shameer Kolothum , Ben Warren , xuwei5@hisilicon.com, xuwei5@huawei.com, linuxarm@huawei.com once FW provides a pointer to SMBIOS entry point like it does for RSDP it should be possible to enable this one the same way. Signed-off-by: Igor Mammedov Reviewed-by: Laszlo Ersek --- v3: - add ref to a uefi-test-tools feature req into comment (Laszlo) --- tests/bios-tables-test.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 84e1ce2..8302ffc 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -569,8 +569,15 @@ static void test_acpi_one(const char *params, test_data *data) } } - test_smbios_entry_point(data); - test_smbios_structs(data); + /* + * TODO: make SMBIOS tests work with UEFI firmware, + * Bug on uefi-test-tools to provide entry point: + * https://bugs.launchpad.net/qemu/+bug/1821884 + */ + if (!use_uefi) { + test_smbios_entry_point(data); + test_smbios_structs(data); + } assert(!global_qtest); qtest_quit(data->qts); -- 2.7.4 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=-6.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED 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 657ADC04AA9 for ; Thu, 2 May 2019 15:09:04 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3847C2085A for ; Thu, 2 May 2019 15:09:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3847C2085A 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 ([127.0.0.1]:52787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMDKZ-0002E5-ET for qemu-devel@archiver.kernel.org; Thu, 02 May 2019 11:09:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMD4e-0005VS-Sb for qemu-devel@nongnu.org; Thu, 02 May 2019 10:52:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMD4d-00030j-TH for qemu-devel@nongnu.org; Thu, 02 May 2019 10:52:36 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56328) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMD4b-0002yx-Sa for qemu-devel@nongnu.org; Thu, 02 May 2019 10:52:35 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 947258831D; Thu, 2 May 2019 14:52:31 +0000 (UTC) Received: from dell-r430-03.lab.eng.brq.redhat.com (dell-r430-03.lab.eng.brq.redhat.com [10.37.153.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2B4A671C80; Thu, 2 May 2019 14:52:28 +0000 (UTC) From: Igor Mammedov To: qemu-devel@nongnu.org Date: Thu, 2 May 2019 16:51:58 +0200 Message-Id: <1556808723-226478-11-git-send-email-imammedo@redhat.com> In-Reply-To: <1556808723-226478-1-git-send-email-imammedo@redhat.com> References: <1556808723-226478-1-git-send-email-imammedo@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 02 May 2019 14:52:31 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v4 10/15] tests: acpi: ignore SMBIOS tests when UEFI firmware is used X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jones , Ben Warren , "Michael S. Tsirkin" , Laszlo Ersek , linuxarm@huawei.com, Shameer Kolothum , Shannon Zhao , Gonglei , Wei Yang , xuwei5@huawei.com, xuwei5@hisilicon.com, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190502145158.r5W-1_jVzAu4j3BF7hXxyjQTbLx8u5f_9RmMaon6k7c@z> once FW provides a pointer to SMBIOS entry point like it does for RSDP it should be possible to enable this one the same way. Signed-off-by: Igor Mammedov Reviewed-by: Laszlo Ersek --- v3: - add ref to a uefi-test-tools feature req into comment (Laszlo) --- tests/bios-tables-test.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 84e1ce2..8302ffc 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -569,8 +569,15 @@ static void test_acpi_one(const char *params, test_data *data) } } - test_smbios_entry_point(data); - test_smbios_structs(data); + /* + * TODO: make SMBIOS tests work with UEFI firmware, + * Bug on uefi-test-tools to provide entry point: + * https://bugs.launchpad.net/qemu/+bug/1821884 + */ + if (!use_uefi) { + test_smbios_entry_point(data); + test_smbios_structs(data); + } assert(!global_qtest); qtest_quit(data->qts); -- 2.7.4 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=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 E29BBC04AAF for ; Thu, 16 May 2019 12:38:17 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B816620815 for ; Thu, 16 May 2019 12:38:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B816620815 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 ([127.0.0.1]:54105 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRFeL-0008HN-0r for qemu-devel@archiver.kernel.org; Thu, 16 May 2019 08:38:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRFNg-00020r-GM for qemu-devel@nongnu.org; Thu, 16 May 2019 08:21:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRFNd-000310-EO for qemu-devel@nongnu.org; Thu, 16 May 2019 08:21:04 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:45503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRFNd-00030l-BV for qemu-devel@nongnu.org; Thu, 16 May 2019 08:21:01 -0400 Received: by mail-qt1-f195.google.com with SMTP id t1so3513946qtc.12 for ; Thu, 16 May 2019 05:21:01 -0700 (PDT) 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:content-transfer-encoding :in-reply-to; bh=O6n0khQFEgae8Zf5gTf32VcUPNdO94dtxMG+VrGCx/0=; b=iT6HadnegvUbEGp1TvyoQhsRsUO7ZZTzOZlWtqR1Y7v5bKJp1WJn19OtW+pzO5QCdI eCP1tt07LVpWkYp116GN+N+T6pvDJ/cSt+5RqfmXIx+7Fk2K65GESWfInrn65h54Jty0 tOXyj/z55K6yxFjEuy9QKorGHZqfpWGtKZsBgdggFIipn6D4bG6XQrJXUNWzh3njaSB0 wkrfUBa5rO8JdXVm1bAkrUvVQsMP+QeTynPQkmAakmvGtSAY8HxS/kqs/wg+9+4a5au8 zTJV1CQnyY5KRApvkJyF1DMKFhlHFmSPnFLEYQ0x8NN3zTLLcyOMC1KMQCuR6GAmm+rd 5tIQ== X-Gm-Message-State: APjAAAXHovQ4f+UEADom3DaxpoDs870yDUid/k9RBRVQZrT0h+QRbZmv ULlVeWUCaBJxZhBiWuF1Ehb8HNp7/9w= X-Google-Smtp-Source: APXvYqyLch0baUZCR76c4Q/F+Nz4Dts5TiAFP47+rkYXqdQx5bNr9nPBBWpmY2gA6KVqP/se90J8bg== X-Received: by 2002:a0c:814d:: with SMTP id 71mr39809452qvc.47.1558009260688; Thu, 16 May 2019 05:21:00 -0700 (PDT) Received: from redhat.com ([185.54.206.10]) by smtp.gmail.com with ESMTPSA id b27sm3156376qtb.53.2019.05.16.05.20.58 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 16 May 2019 05:20:59 -0700 (PDT) Date: Thu, 16 May 2019 08:20:52 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1556808723-226478-11-git-send-email-imammedo@redhat.com> References: <20190515121146.7248-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190515121146.7248-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.160.195 Subject: [Qemu-devel] [PULL 32/37] tests: acpi: ignore SMBIOS tests when UEFI firmware is used X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Peter Maydell , Thomas Huth , Laszlo Ersek , Paolo Bonzini , Igor Mammedov , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190516122052.6dsFhNS3gJfH5D_5gkwuNmJSox_YmdoYf2CRotRcxXs@z> From: Igor Mammedov once FW provides a pointer to SMBIOS entry point like it does for RSDP it should be possible to enable this one the same way. Signed-off-by: Igor Mammedov Reviewed-by: Laszlo Ersek Message-Id: <1556808723-226478-11-git-send-email-imammedo@redhat.com> Tested-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- tests/bios-tables-test.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 84e1ce2972..8302ffc2cd 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -569,8 +569,15 @@ static void test_acpi_one(const char *params, test_data *data) } } - test_smbios_entry_point(data); - test_smbios_structs(data); + /* + * TODO: make SMBIOS tests work with UEFI firmware, + * Bug on uefi-test-tools to provide entry point: + * https://bugs.launchpad.net/qemu/+bug/1821884 + */ + if (!use_uefi) { + test_smbios_entry_point(data); + test_smbios_structs(data); + } assert(!global_qtest); qtest_quit(data->qts); -- MST 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=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,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 03EAAC04AAC for ; Mon, 20 May 2019 23:47:22 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C6C7A21479 for ; Mon, 20 May 2019 23:47:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C6C7A21479 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 ([127.0.0.1]:43852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSs01-0002XH-5F for qemu-devel@archiver.kernel.org; Mon, 20 May 2019 19:47:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSrRY-0008AQ-UY for qemu-devel@nongnu.org; Mon, 20 May 2019 19:11:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSrRR-0008Og-IE for qemu-devel@nongnu.org; Mon, 20 May 2019 19:11:39 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:42746) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSrRN-0008Mc-MV for qemu-devel@nongnu.org; Mon, 20 May 2019 19:11:33 -0400 Received: by mail-qk1-f195.google.com with SMTP id d4so9898068qkc.9 for ; Mon, 20 May 2019 16:11:31 -0700 (PDT) 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:content-transfer-encoding :in-reply-to; bh=O6n0khQFEgae8Zf5gTf32VcUPNdO94dtxMG+VrGCx/0=; b=V3Thkzrtod4U08vcnHOjxc4I5ajtQCiDCQtKKsrnhANnTypiumLCkvRO716PxaVOH1 k6aFbqRBI7Jm+kGobuV4WbjbtD7tXfVdQK+KEVLvVCxuiJEv3yi28R6l9MhpQ4PG/Gmt gZ0+l/wwsCygbF69a1e7eLlUziamJAOJnPnvsPlIn2jPMXCEfudshu0Uh0P0sNJvs3fz 6JmdBT/TMwBLj7AmU5x2EVpD9+MusNajPlAOyOveuPn2GDsP7NjBvrAHSwIz4B1d32gv irkrcnjoCqFxYlethlkmY2N123voo/PgHJjWKmWLLnOefpUhR5116kmfoF8G0tB5fx3B xqlw== X-Gm-Message-State: APjAAAXPnEMTPbS2jizXPZAU9tVlu31XdmtJbVZjSymGfnywXKLTv0e/ T2Rq15f25/jgb3q0VhrC2+Pbny1Pv9c= X-Google-Smtp-Source: APXvYqwVa6ENFueyW98YWb0rRgThjxJXZvwZu/FPi0w4UGHoIpKTG3lbSQrlG9Ic761VVCgFO+AExA== X-Received: by 2002:a37:dcc4:: with SMTP id v187mr27360335qki.290.1558393891002; Mon, 20 May 2019 16:11:31 -0700 (PDT) Received: from redhat.com (pool-173-76-105-71.bstnma.fios.verizon.net. [173.76.105.71]) by smtp.gmail.com with ESMTPSA id f21sm8286074qkl.72.2019.05.20.16.11.29 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 20 May 2019 16:11:30 -0700 (PDT) Date: Mon, 20 May 2019 19:11:29 -0400 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Message-ID: <1556808723-226478-11-git-send-email-imammedo@redhat.com> References: <20190520231008.20140-1-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190520231008.20140-1-mst@redhat.com> X-Mailer: git-send-email 2.17.1.1206.gb667731e2e.dirty X-Mutt-Fcc: =sent X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.222.195 Subject: [Qemu-devel] [PULL v2 31/36] tests: acpi: ignore SMBIOS tests when UEFI firmware is used X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Peter Maydell , Thomas Huth , Laszlo Ersek , Paolo Bonzini , Igor Mammedov , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190520231129.oPaBiUVWn_TlKHbV-d5t_C8hc4ys7suqr4TOJ0ag3-c@z> From: Igor Mammedov once FW provides a pointer to SMBIOS entry point like it does for RSDP it should be possible to enable this one the same way. Signed-off-by: Igor Mammedov Reviewed-by: Laszlo Ersek Message-Id: <1556808723-226478-11-git-send-email-imammedo@redhat.com> Tested-by: Philippe Mathieu-Daudé Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- tests/bios-tables-test.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 84e1ce2972..8302ffc2cd 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -569,8 +569,15 @@ static void test_acpi_one(const char *params, test_data *data) } } - test_smbios_entry_point(data); - test_smbios_structs(data); + /* + * TODO: make SMBIOS tests work with UEFI firmware, + * Bug on uefi-test-tools to provide entry point: + * https://bugs.launchpad.net/qemu/+bug/1821884 + */ + if (!use_uefi) { + test_smbios_entry_point(data); + test_smbios_structs(data); + } assert(!global_qtest); qtest_quit(data->qts); -- MST