From patchwork Wed Jun 30 05:45:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Bernacki X-Patchwork-Id: 1498738 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=TzEOb9di; 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 4GF9Ll5qqJz9sVt for ; Wed, 30 Jun 2021 15:46:06 +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 1lyT2x-0003O4-9i; Wed, 30 Jun 2021 05:46:03 +0000 Received: from mail-lf1-f54.google.com ([209.85.167.54]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lyT2v-0003Mx-74 for fwts-devel@lists.ubuntu.com; Wed, 30 Jun 2021 05:46:01 +0000 Received: by mail-lf1-f54.google.com with SMTP id f30so2891273lfj.1 for ; Tue, 29 Jun 2021 22:46:01 -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=TzEOb9diwVT00bdLFCEmbu+G5HI2iWFLswpzdPlkGAQyIbXLDwepEFKH0LUKUtFWAL i4/Omy51meJOC+XStTXmJUYj6ez3Z5zLQuOzkKPouV54HzUPWIR+CrwoQiuu+vNeGbc9 2dfC23lxogRw75Kwdh54JegSCuFqjGeLsMfbNsvIuYrk09b7iZRFHxth9xVFpWn9FzvF 2367lSG+PezM84r0aTS0TaQZ/6iqLHMN3s4st1jzS+UnxrUAMcWtvx4QZYUnf50NFuM/ OaFIWMyMesjHt4ZRhimhbxvyRuoOwQGjvS9apg0K3lSYQda7lcxfEnby4lzEgwt6AAWR D6dA== 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=PHdsHyW9JuR2EvSqI3DvvQqtoQ5QcnynAAUHTExXRQX+Y500v92bt4tCgbrfib3F1l 4Gh09GmMf0vH6WmDS0bvT9l2kI93LSuxhbr6pV/pzNoIIwRcLf88HIRbK6XbazghasbB ADfPzJiximSGCjOwll4lngJTvdAuiMmVVrbkbYYn9fvkAElh1xbgbwL/p1A79sGWZ9U1 lEchWFJyLX/F07CFgsmfNKXpg/hSc8GY6HGT64KNBGtj4rJDsYDdnpaIs8hy1GA7U7CJ svRwjWV7yAAohk/6kcZ9OXabi3+ff/F34UBX+FQtfOTY/ajSfs2G+jSBWqefEd7FDXNF VODQ== X-Gm-Message-State: AOAM532CK0jWcJoq5pWaqbwzxW3d+CO+KEaA5CUIHoj4Nm0YQhl8r0JU pRuQX6ztHlvkaTnxDZdIeyWTtTXYrjs6jg== X-Google-Smtp-Source: ABdhPJyhtZqBXEsLe7Vd6azDEBV9aXse/xUvRp1bzqNU3HExSoAfEiuxn8hls0plBklmLHsQ/843UQ== X-Received: by 2002:a05:6512:1294:: with SMTP id u20mr25053979lfs.138.1625031960364; Tue, 29 Jun 2021 22:46:00 -0700 (PDT) Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id d29sm1179946lfv.20.2021.06.29.22.45.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 22:46:00 -0700 (PDT) From: Grzegorz Bernacki To: fwts-devel@lists.ubuntu.com Subject: [PATCH v2] acpi: method: Make _AEI test optional for SBBR. Date: Wed, 30 Jun 2021 07:45:45 +0200 Message-Id: <20210630054545.959797-3-gjb@semihalf.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20210630054545.959797-1-gjb@semihalf.com> References: <20210630054545.959797-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 Acked-by: Colin Ian King --- 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 (