ACK: [PATCH 1/3] acpi: method: add _GAI control method test (LP: #1249894)

Colin Ian King colin.king at canonical.com
Mon Nov 11 09:14:10 UTC 2013


On 11/11/13 05:05, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>  src/acpi/method/method.c | 13 +++++++++++--
>  1 file changed, 11 insertions(+), 2 deletions(-)
> 
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index f46fdff..14a908a 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -100,7 +100,7 @@
>   * _FPS  11.3.1.2	N
>   * _FSL  11.3.1.3	Y
>   * _FST  11.3.1.4	Y
> - * _GAI  10.4.5		N
> + * _GAI  10.4.5		Y
>   * _GCP  9.18.2		Y
>   * _GHL  10.4.7		N
>   * _GL   5.7.1		n/a
> @@ -3993,6 +3993,15 @@ static int method_test_PIF(fwts_framework *fw)
>  		"_PIF", NULL, 0, method_test_PIF_return, NULL);
>  }
>  
> +/*
> + * Section 10.4 Power Meters 
> + */
> +
> +static int method_test_GAI(fwts_framework *fw)
> +{
> +	return method_evaluate_method(fw, METHOD_OPTIONAL,
> +		"_GAI", NULL, 0, method_test_integer_return, NULL);
> +}
>  
>  /*
>   * Section 11.3 Fan Devices
> @@ -5002,7 +5011,7 @@ static fwts_framework_minor_test method_tests[] = {
>  	{ method_test_PSR, "Check _PSR (Power Source)." },
>  
>  	/* Section 10.4 Power Meters */
> -	/* { method_test_GAI, "Check _GAI (Get Averaging Level)." }, */
> +	{ method_test_GAI, "Check _GAI (Get Averaging Level)." },
>  	/* { method_test_GHL, "Check _GHL (Get Harware Limit)." }, */
>  	/* { method_test_PAI, "Check _PAI (Power Averaging Interval)." }, */
>  	/* { method_test_PMC, "Check _PMC (Power Meter Capabilities)." }, */
> 

Acked-by: Colin Ian King <colin.king at canonical.com>



More information about the fwts-devel mailing list