Author: jhibbits
Date: Wed Jun 10 04:04:59 2020
New Revision: 362002
URL: https://svnweb.freebsd.org/changeset/base/362002
Log:
powerpc/mpc85xx: Don't use the quantum cache in vmem for MPIC MSIs
The qcache is unnecessary for this purpose, it's only needed when there are
lots of concurrent allocations.
Reported by: markj
Modified:
head/sys/powerpc/mpc85xx/pci_mpc85xx.c
Modified: head/sys/powerpc/mpc85xx/pci_mpc85xx.c
==============================================================================
--- head/sys/powerpc/mpc85xx/pci_mpc85xx.c Wed Jun 10 03:57:10 2020
(r362001)
+++ head/sys/powerpc/mpc85xx/pci_mpc85xx.c Wed Jun 10 04:04:59 2020
(r362002)
@@ -896,7 +896,7 @@ fsl_msi_attach(device_t dev)
sc = device_get_softc(dev);
if (msi_vmem == NULL)
- msi_vmem = vmem_create("MPIC MSI", 0, 0, 1, 1, M_BESTFIT |
M_WAITOK);
+ msi_vmem = vmem_create("MPIC MSI", 0, 0, 1, 0, M_BESTFIT |
M_WAITOK);
/* Manually play with resource entries. */
sc->sc_base = bus_get_resource_start(dev, SYS_RES_MEMORY, 0);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"