[PATCH] acpi: method: add _VDM voltage domain test (mantis 2374)

Ivan Hu ivan.hu at canonical.com
Thu Nov 13 06:51:40 UTC 2025


BugLink: https://bugs.launchpad.net/fwts/+bug/2131193

ACPI 6.6 introduces a voltage domain method so firmware can hint which voltage
plane a processor belongs to. Add _VDM into the method table as an optional
integer-return test.

Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
 src/acpi/method/method.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index 9e832c16..1df17492 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -261,6 +261,7 @@
  * _UPC 	 Y
  * _UPD 	 Y
  * _UPP 	 Y
+ * _VDM 	 Y
  * _VPO 	 Y
  * _WAK 	 Y
  * _WPC 	 Y
@@ -5164,6 +5165,12 @@ static int method_test_CDM(fwts_framework *fw)
 		"_CDM", NULL, 0, fwts_method_test_integer_return, NULL);
 }
 
+static int method_test_VDM(fwts_framework *fw)
+{
+	return method_evaluate_method(fw, METHOD_OPTIONAL,
+		"_VDM", NULL, 0, fwts_method_test_integer_return, NULL);
+}
+
 /*
  * Intelligent Platform Management Interface (IPMI) Specification
  */
@@ -5220,6 +5227,7 @@ static fwts_framework_minor_test method_tests[] = {
 	/* Section 6.2 Device Configurations Objects */
 
 	{ method_test_CDM, "Test _CDM (Clock Domain)." },
+	{ method_test_VDM, "Test _VDM (Voltage Domain)." },
 	{ method_test_CRS, "Test _CRS (Current Resource Settings)." },
 	{ method_test_DSD, "Test _DSD (Device Specific Data)." },
 	{ method_test_DIS, "Test _DIS (Disable)." },
-- 
2.43.0




More information about the fwts-devel mailing list