Enable MSIs on RK3588. We have a U-Boot package with device trees that
authorkettenis <kettenis@openbsd.org>
Mon, 26 Feb 2024 21:41:24 +0000 (21:41 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 26 Feb 2024 21:41:24 +0000 (21:41 +0000)
work now.

ok patrick@

sys/dev/fdt/dwpcie.c

index df11a4c..278d48c 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: dwpcie.c,v 1.51 2024/02/03 10:37:26 kettenis Exp $    */
+/*     $OpenBSD: dwpcie.c,v 1.52 2024/02/26 21:41:24 kettenis Exp $    */
 /*
  * Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
  *
@@ -733,10 +733,6 @@ dwpcie_attach_deferred(struct device *self)
        if (OF_getproplen(sc->sc_node, "msi-map") > 0)
                pba.pba_flags |= PCI_FLAGS_MSIVEC_ENABLED;
 
-       /* XXX No working MSI on RK3588 yet. */
-       if (OF_is_compatible(sc->sc_node, "rockchip,rk3588-pcie"))
-               pba.pba_flags &= ~PCI_FLAGS_MSI_ENABLED;
-
        pci_dopm = 1;
 
        config_found(self, &pba, NULL);