git: 629734783de5 - main - gicv3: Add a verbose message for unknown tables

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Wed, 23 Aug 2023 16:39:01 UTC
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=629734783de5212ea2a7cdc6a8fb7cf6834b1344

commit 629734783de5212ea2a7cdc6a8fb7cf6834b1344
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-08-22 11:30:50 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-08-23 16:38:20 +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
---
 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 ef73c76d2062..cc743e72b032 100644
--- a/sys/arm64/arm64/gicv3_its.c
+++ b/sys/arm64/arm64/gicv3_its.c
@@ -537,6 +537,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);