ACK: [PATCH 1/2] acpi/method: add tests for _SLI method

ivanhu ivan.hu at canonical.com
Fri May 22 03:43:20 UTC 2020



On 5/16/20 10:17 AM, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>  src/acpi/method/method.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index cfabcaa0..9463b2a8 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -1106,6 +1106,12 @@ static int method_test_PXM(fwts_framework *fw)
>  		"_PXM", NULL, 0, fwts_method_test_integer_return, NULL);
>  }
>  
> +static int method_test_SLI(fwts_framework *fw)
> +{
> +	return method_evaluate_method(fw, METHOD_OPTIONAL,
> +		"_SLI", NULL, 0, fwts_method_test_buffer_return, NULL);
> +}
> +
>  /* Section 6.2.17 _CCA */
>  static int method_test_CCA(fwts_framework *fw)
>  {
> @@ -5571,7 +5577,7 @@ static fwts_framework_minor_test method_tests[] = {
>  	{ method_test_PRS, "Test _PRS (Possible Resource Settings)." },
>  	{ method_test_PRT, "Test _PRT (PCI Routing Table)." },
>  	{ method_test_PXM, "Test _PXM (Proximity)." },
> -	/* { method_test_SLI, "Test _SLI (System Locality Information)." }, */
> +	{ method_test_SLI, "Test _SLI (System Locality Information)." },
>  	/* { method_test_SRS, "Test _SRS (Set Resource Settings)." }, */
>  	{ method_test_CCA, "Test _CCA (Cache Coherency Attribute)." },
>  
> 

Acked-by: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list