ACK with comments: [PATCH] sbbr: Make _AEI test optional for SBBR.

Alex Hung alex.hung at canonical.com
Tue Jun 29 19:15:00 UTC 2021


The subject should be the names of the subsystems, i.e.
	acpi: method: Make _AEI test optional for SBBR

but I can fix this when applying.

On 2021-06-29 4:10 a.m., Grzegorz Bernacki wrote:
> 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 <gjb at semihalf.com>
> ---
>  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 (
> 

Acked-by: Alex Hung <alex.hung at canonical.com>



More information about the fwts-devel mailing list