Patchwork [4/5] acpi: method: add new _AEI check

login
register
mail settings
Submitter Colin King
Date July 2, 2012, 12:15 p.m.
Message ID <1341231311-12557-5-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/168584/
State Accepted
Headers show

Comments

Colin King - July 2, 2012, 12:15 p.m.
From: Colin Ian King <colin.king@canonical.com>

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/acpi/method/method.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)
Alex Hung - July 3, 2012, 6:24 a.m.
On 07/02/2012 08:15 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/acpi/method/method.c |   12 ++++++++++++
>   1 file changed, 12 insertions(+)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 57215ef..6d8ab1c 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -37,6 +37,7 @@
>    * Name	 APCI Spec.	Tested
>    *	 section
>    * _ADR  6.1.1, B.6.1,	Y
> + * _AEI  5.6.5.2	Y
>    * _ALx  11.4.2		N
>    * _BBN  6.5.5		Y
>    * _BCL  B.6.2 		Y
> @@ -2015,6 +2016,13 @@ static int method_test_PSS(fwts_framework *fw)
>   	return method_evaluate_method(fw, METHOD_OPTIONAL, "_PSS", NULL, 0, method_test_PSS_return, NULL);
>   }
>
> +/* Section 5.6 */
> +
> +static int method_test_AEI(fwts_framework *fw)
> +{
> +	return method_evaluate_method(fw, METHOD_OPTIONAL, "_AEI", NULL, 0, method_test_buffer_return, NULL);
> +}
> +
>   /* Tests */
>
>   static fwts_framework_minor_test method_tests[] = {
> @@ -2088,6 +2096,10 @@ static fwts_framework_minor_test method_tests[] = {
>   	{ method_test_TST, "Check _TST (Temperature Sensor Threshold) Object." },
>   	{ method_test_TZP, "Check _TZP (Thermal Zone Polling) Object." },
>
> +	/* Section 5.6 */
> +
> +	{ method_test_AEI, "Check _AEI." },
> +
>   	/* Section 6.1 */
>
>   	{ method_test_SUN, "Check _SUN (Slot User Number)." },
>
Acked-by: Alex Hung <alex.hung@canonical.com>
Keng-Yu Lin - July 4, 2012, 7:32 a.m.
On Mon, Jul 2, 2012 at 8:15 PM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/acpi/method/method.c |   12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index 57215ef..6d8ab1c 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -37,6 +37,7 @@
>   * Name         APCI Spec.     Tested
>   *      section
>   * _ADR  6.1.1, B.6.1, Y
> + * _AEI  5.6.5.2       Y
>   * _ALx  11.4.2                N
>   * _BBN  6.5.5         Y
>   * _BCL  B.6.2                 Y
> @@ -2015,6 +2016,13 @@ static int method_test_PSS(fwts_framework *fw)
>         return method_evaluate_method(fw, METHOD_OPTIONAL, "_PSS", NULL, 0, method_test_PSS_return, NULL);
>  }
>
> +/* Section 5.6 */
> +
> +static int method_test_AEI(fwts_framework *fw)
> +{
> +       return method_evaluate_method(fw, METHOD_OPTIONAL, "_AEI", NULL, 0, method_test_buffer_return, NULL);
> +}
> +
>  /* Tests */
>
>  static fwts_framework_minor_test method_tests[] = {
> @@ -2088,6 +2096,10 @@ static fwts_framework_minor_test method_tests[] = {
>         { method_test_TST, "Check _TST (Temperature Sensor Threshold) Object." },
>         { method_test_TZP, "Check _TZP (Thermal Zone Polling) Object." },
>
> +       /* Section 5.6 */
> +
> +       { method_test_AEI, "Check _AEI." },
> +
>         /* Section 6.1 */
>
>         { method_test_SUN, "Check _SUN (Slot User Number)." },
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>

Patch

diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index 57215ef..6d8ab1c 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -37,6 +37,7 @@ 
  * Name	 APCI Spec.	Tested
  *	 section
  * _ADR  6.1.1, B.6.1,	Y
+ * _AEI  5.6.5.2	Y
  * _ALx  11.4.2		N
  * _BBN  6.5.5		Y
  * _BCL  B.6.2 		Y
@@ -2015,6 +2016,13 @@  static int method_test_PSS(fwts_framework *fw)
 	return method_evaluate_method(fw, METHOD_OPTIONAL, "_PSS", NULL, 0, method_test_PSS_return, NULL);
 }
 
+/* Section 5.6 */
+
+static int method_test_AEI(fwts_framework *fw)
+{
+	return method_evaluate_method(fw, METHOD_OPTIONAL, "_AEI", NULL, 0, method_test_buffer_return, NULL);
+}
+
 /* Tests */
 
 static fwts_framework_minor_test method_tests[] = {
@@ -2088,6 +2096,10 @@  static fwts_framework_minor_test method_tests[] = {
 	{ method_test_TST, "Check _TST (Temperature Sensor Threshold) Object." },
 	{ method_test_TZP, "Check _TZP (Thermal Zone Polling) Object." },
 
+	/* Section 5.6 */
+
+	{ method_test_AEI, "Check _AEI." },
+
 	/* Section 6.1 */
 
 	{ method_test_SUN, "Check _SUN (Slot User Number)." },