From patchwork Tue Jun 29 10:10:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Bernacki X-Patchwork-Id: 1498275 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=fwts-devel-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=semihalf-com.20150623.gappssmtp.com header.i=@semihalf-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=Rk86W4Hr; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GDgH63lTrz9sWD for ; Tue, 29 Jun 2021 20:11:14 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1lyAhz-0002be-NT; Tue, 29 Jun 2021 10:11:11 +0000 Received: from mail-lj1-f179.google.com ([209.85.208.179]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lyAhx-0002ai-Ed for fwts-devel@lists.ubuntu.com; Tue, 29 Jun 2021 10:11:09 +0000 Received: by mail-lj1-f179.google.com with SMTP id q4so21923067ljp.13 for ; Tue, 29 Jun 2021 03:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ELvGZ4hMjfdFW4xj7f2zUWKgns8CwYVLoYI/IoXfm0I=; b=Rk86W4HrancmEfb8skD4VQcXxzsOMX6p1pcTVQIEUZ8bmLHUkTFa8hdtYDOr6u2tZc 3zHGuTZfbHpZz71uMJCmavc8WVZQhTfF9en8rnQhMsfu66sK/ZtASyppuF/T28v9PDwu SNL+nFAVZydJrGJvm0ySPr3UuWjqn5eoxVylhGH9+527MZljAgc2l8xEUbmRBnj0SJua 96hUxPl0geMwXFdDfSNlKRpdclyI+ue3DIIyiaSvvVS0L1fyPZqukyHEH9qm06B3DIr7 2NoQgs/vxCCyWP2Mz6RMOqBR1R47NWgzuro6d/60eB+meoAtGtTkYlHHetKm/NFuSpPq hp1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ELvGZ4hMjfdFW4xj7f2zUWKgns8CwYVLoYI/IoXfm0I=; b=dqSqIEM5xQd1TAJAkOj6OEpm+818NibKjwPeZM+oSArAEwW4NO0HkkqzKVUVYQ1vUy Z4P6U6ykSaAkIGE5Q5DNoNKbfjEPAW+B2nGtIJ9TRYOMwFDALFfKBetXnt/NlsAlSNB9 vntXTExXD4C1eUdajqZ2VadNzlv2O0REQ0CXholbQwUR9eL/lcE4AsPhy89DKQBPTdGL t+CL7/f+c4o0ZmMBz/r7iWJ6SwJs5vGzETZp6mcjEqCD3fKcJOtw2tfbgyTXhoBmBhFR 0NDbBiwpxj4QtOxLUlDrkT5crGX5AiXFlNHwIfxy0uIV2iyiYPnWcTd2ccjBeXzXApjB qnLg== X-Gm-Message-State: AOAM530QHeefHo9AhZ0R/2xCaP76FJpmxCpJSJsAut7bcJhPxAzywe3E /6G4XNhn0H8WXeyE7fcSOU9Ijg1olmL/UQQV X-Google-Smtp-Source: ABdhPJxRPCfJCy8GJTBo9UCYltP6Meppd531OnprjuHjhWeSzBHqZY2AyhxqAxYW0zPjHs516asqNg== X-Received: by 2002:a05:651c:a08:: with SMTP id k8mr3318417ljq.391.1624961468554; Tue, 29 Jun 2021 03:11:08 -0700 (PDT) Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id h63sm1707368lfd.200.2021.06.29.03.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 03:11:08 -0700 (PDT) From: Grzegorz Bernacki To: fwts-devel@lists.ubuntu.com Subject: [PATCH] sbbr: Make _AEI test optional for SBBR. Date: Tue, 29 Jun 2021 12:10:48 +0200 Message-Id: <20210629101048.933733-3-gjb@semihalf.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20210629101048.933733-1-gjb@semihalf.com> References: <20210629101048.933733-1-gjb@semihalf.com> MIME-Version: 1.0 X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samer.El-Haj-Mahmoud@arm.com, upstream@semihalf.com Errors-To: fwts-devel-bounces@lists.ubuntu.com Sender: "fwts-devel" BBR 1.0 specifies that _AEI method is not mandatory. According to chapter 8.2 either GPIO-signaled events or Interrupt-signaled events must be provided. BugLink: https://bugs.launchpad.net/fwts/+bug/1933495 Signed-off-by: Grzegorz Bernacki Acked-by: Alex Hung --- src/acpi/method/method.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c index 9200f7d4..c3532b67 100644 --- a/src/acpi/method/method.c +++ b/src/acpi/method/method.c @@ -566,12 +566,8 @@ static void method_test_AEI_return( static int method_test_AEI(fwts_framework *fw) { - if (fw->flags & FWTS_FLAG_SBBR) - return method_evaluate_method(fw, METHOD_MANDATORY, - "_AEI", NULL, 0, method_test_AEI_return, NULL); - else - return method_evaluate_method(fw, METHOD_OPTIONAL, - "_AEI", NULL, 0, method_test_AEI_return, NULL); + return method_evaluate_method(fw, METHOD_OPTIONAL, + "_AEI", NULL, 0, method_test_AEI_return, NULL); } static void check_evt_event (