we don't have an msi-map pointing us to the GIC-MSI. This enables MSIs
on the Snapdragon X Elite or the Lenovo x13s in case it's running an
unpatched DTB.
ok kettenis@
-/* $OpenBSD: dwpcie.c,v 1.54 2024/07/02 19:44:37 patrick Exp $ */
+/* $OpenBSD: dwpcie.c,v 1.55 2024/07/05 22:52:25 patrick Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
{
sc->sc_num_viewport = 8;
+ if (OF_getproplen(sc->sc_node, "msi-map") <= 0)
+ return dwpcie_msi_init(sc);
+
return 0;
}