From: kettenis Date: Mon, 26 Feb 2024 21:41:24 +0000 (+0000) Subject: Enable MSIs on RK3588. We have a U-Boot package with device trees that X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=edf526fef7066f3c73ec2f0b88ca2e7a6ae1d3a5;p=openbsd Enable MSIs on RK3588. We have a U-Boot package with device trees that work now. ok patrick@ --- diff --git a/sys/dev/fdt/dwpcie.c b/sys/dev/fdt/dwpcie.c index df11a4c04c5..278d48c8595 100644 --- a/sys/dev/fdt/dwpcie.c +++ b/sys/dev/fdt/dwpcie.c @@ -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 * @@ -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);