[PATCH] acpi: dbg2: update the subtype RISC-V SBI console for DBG2

Ivan Hu ivan.hu at canonical.com
Mon Jan 29 08:45:54 UTC 2024


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

Update the Microsoft Debug Port Table 2(DBG2) table base on the release
April 10, 2023 - Added new serial debugging subtype (RISC-V) and added
clarifying information on 16550-compatible subtypes
https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/acpi-debug-port-table

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

diff --git a/src/acpi/dbg2/dbg2.c b/src/acpi/dbg2/dbg2.c
index e26e39f1..ea63c61b 100644
--- a/src/acpi/dbg2/dbg2.c
+++ b/src/acpi/dbg2/dbg2.c
@@ -233,6 +233,9 @@ static int dbg2_test1(fwts_framework *fw)
 			case 0x0014:
 				subport = "Intel LPSS";
 				break;
+			case 0x0015:
+				subport = "RISC-V SBI console (any supported SBI mechanism)";
+				break;
 			default:
 				break;
 			}
-- 
2.34.1




More information about the fwts-devel mailing list