[PATCH] acpi: method: add _DSC method tests (mantis 2224)
Ivan Hu
ivan.hu at canonical.com
Fri Dec 22 10:45:49 UTC 2023
BugLink:https://bugs.launchpad.net/fwts/+bug/2047212
New _DSC(Deepest State for Configuration) method was introduced in ACPI 6.5
Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
src/acpi/method/method.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index 27e2410d..2885f3f1 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -88,6 +88,7 @@
* _DMA Y
* _DOD Y
* _DOS Y
+ * _DSC Y
* _DSD Y
* _DSM N
* _DSS Y
@@ -1540,6 +1541,7 @@ method_test_SxW(_S1W)
method_test_SxW(_S2W)
method_test_SxW(_S3W)
method_test_SxW(_S4W)
+method_test_SxW(_DSC)
static int method_test_RST(fwts_framework *fw)
{
@@ -4798,6 +4800,7 @@ static fwts_framework_minor_test method_tests[] = {
{ method_test_S4W, "Test _S4W (S4 Device Wake State)." },
{ method_test_RST, "Test _RST (Device Reset)." },
{ method_test_PRR, "Test _PRR (Power Resource for Reset)." },
+ { method_test_DSC, "Test _DSC (Deepest State for Configuration)." },
/* Section 7.3 OEM-Supplied System-Level Control Methods */
{ method_test_S0_, "Test _S0_ (S0 System State)." },
--
2.34.1
More information about the fwts-devel
mailing list