-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update fwts patches for IORT updates
- CANWBS flag is added in IORT E.f specification, fwts test updated. Fixes : #216 Signed-off-by: Amrathesh <[email protected]> Change-Id: I1b0d8b1548780495949293749bf08ba737d5e2a9
- Loading branch information
Showing
6 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
30 changes: 30 additions & 0 deletions
30
common/patches/0008-acpi-iort-memory-access-flag-update.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From ec761526eaad78ca12ea888dc58c1ed906b5a5a2 Mon Sep 17 00:00:00 2001 | ||
From: Simon Wang <[email protected]> | ||
Date: Fri, 1 Nov 2024 04:17:17 -0700 | ||
Subject: acpi: iort: memory access flag update. | ||
|
||
BugLink: https://bugs.launchpad.net/fwts/+bug/2086029 | ||
Update the reserved bits of memory access flag with IORT spec E.f. | ||
|
||
Signed-off-by: Simon Wang <[email protected]> | ||
Acked-by: Ivan Hu <[email protected]> | ||
--- | ||
src/acpi/iort/iort.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/acpi/iort/iort.c b/src/acpi/iort/iort.c | ||
index e586e2ca..82933083 100644 | ||
--- a/src/acpi/iort/iort.c | ||
+++ b/src/acpi/iort/iort.c | ||
@@ -405,7 +405,7 @@ static void iort_memory_access_properties_check( | ||
fwts_acpi_reserved_zero("IORT", field, properties->reserved, passed); | ||
|
||
snprintf(field, sizeof(field), "%s Memory Access Flags", name); | ||
- fwts_acpi_reserved_bits("IORT", field, properties->memory_access_flags, 2, 7, passed); | ||
+ fwts_acpi_reserved_bits("IORT", field, properties->memory_access_flags, 3, 7, passed); | ||
|
||
cca = properties->cache_coherent & 1; | ||
cpm = properties->memory_access_flags & 1; | ||
-- | ||
cgit v1.2.3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters