From patchwork Wed Sep 19 17:53:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 185119 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 9ABFA2C0081 for ; Thu, 20 Sep 2012 03:54:04 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TEORH-00036m-28; Wed, 19 Sep 2012 17:51:55 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1TEORE-000362-3C for fwts-devel@lists.ubuntu.com; Wed, 19 Sep 2012 17:51:52 +0000 Received: from cpc3-craw6-2-0-cust180.croy.cable.virginmedia.com ([77.100.248.181] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TEOTI-0007Dx-EC for fwts-devel@lists.ubuntu.com; Wed, 19 Sep 2012 17:54:00 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH 5/8] acpi: method: Add check for GSB Date: Wed, 19 Sep 2012 18:53:54 +0100 Message-Id: <1348077237-3143-6-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1348077237-3143-1-git-send-email-colin.king@canonical.com> References: <1348077237-3143-1-git-send-email-colin.king@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Signed-off-by: Colin Ian King Acked-by: Keng-Yu Lin Acked-by: Ivan Hu --- src/acpi/method/method.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c index 272b662..e38b830 100644 --- a/src/acpi/method/method.c +++ b/src/acpi/method/method.c @@ -107,7 +107,7 @@ * _GPD B.4.4 Y * _GPE 5.3.1, 12.11 N * _GRT 9.18.3 Y - * _GSB 6.2.6 N + * _GSB 6.2.6 Y * _GTF 9.8.1.1 N * _GTM 9.8.2.1.1 N * _GTS 7.3.3 deprecated @@ -946,6 +946,12 @@ static int method_test_DIS(fwts_framework *fw) "_DIS", NULL, 0, method_test_NULL_return, NULL); } +static int method_test_GSB(fwts_framework *fw) +{ + return method_evaluate_method(fw, METHOD_OPTIONAL, + "_GSB", NULL, 0, method_test_integer_return, NULL); +} + static int method_test_PXM(fwts_framework *fw) { return method_evaluate_method(fw, METHOD_OPTIONAL, @@ -3084,7 +3090,7 @@ static fwts_framework_minor_test method_tests[] = { { method_test_DIS, "Check _DIS (Disable)." }, { method_test_DMA, "Check _DMA (Direct Memory Access)." }, /* { method_test_FIX, "Check _FIX (Fixed Register Resource Provider)." }, */ - /* { method_test_GSB, "Check _GSB (Global System Interrupt Base)." }, */ + { method_test_GSB, "Check _GSB (Global System Interrupt Base)." }, /* { method_test_HPP, "Check _HPP (Hot Plug Parameters)." }, */ /* { method_test_HPX, "Check _HPX (Hot Plug Extensions)." }, */ /* { method_test_MAT, "Check _MAT (Multiple APIC Table Entry)." }, */