git: b549c8f9e6e0 - stable/13 - gicv3: Add a verbose message for unknown tables
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Sep 2023 11:01:15 UTC
The branch stable/13 has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=b549c8f9e6e093fbbddd1a160ef61351d0fe5110
commit b549c8f9e6e093fbbddd1a160ef61351d0fe5110
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-08-22 11:30:50 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-09-25 10:50:36 +0000
gicv3: Add a verbose message for unknown tables
Add a message under bootverbose when we find a gicv3 its table type
that is unknown.
Reviewed by: gallatin, imp
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D41553
(cherry picked from commit 629734783de5212ea2a7cdc6a8fb7cf6834b1344)
---
sys/arm64/arm64/gicv3_its.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/arm64/arm64/gicv3_its.c b/sys/arm64/arm64/gicv3_its.c
index 59fce650c47e..74f2894d0a2c 100644
--- a/sys/arm64/arm64/gicv3_its.c
+++ b/sys/arm64/arm64/gicv3_its.c
@@ -534,6 +534,9 @@ gicv3_its_table_init(device_t dev, struct gicv3_its_softc *sc)
its_tbl_size = page_size;
break;
default:
+ if (bootverbose)
+ device_printf(dev, "Unhandled table type %lx\n",
+ type);
continue;
}
npages = howmany(its_tbl_size, PAGE_SIZE);