svn commit: r330687 - head/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Fri Mar 9 10:34:45 UTC 2018
Author: andrew
Date: Fri Mar 9 10:34:44 2018
New Revision: 330687
URL: https://svnweb.freebsd.org/changeset/base/330687
Log:
Use the correct address to write back to memory in the GICv3 ITS driver.
This seems to no be needed on supported hardware as they are cache-coherent,
however this may not be the case on all platforms.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/gicv3_its.c
Modified: head/sys/arm64/arm64/gicv3_its.c
==============================================================================
--- head/sys/arm64/arm64/gicv3_its.c Fri Mar 9 09:21:22 2018 (r330686)
+++ head/sys/arm64/arm64/gicv3_its.c Fri Mar 9 10:34:44 2018 (r330687)
@@ -567,7 +567,7 @@ gicv3_its_pendtables_init(struct gicv3_its_softc *sc)
0, LPI_PENDTAB_MAX_ADDR, LPI_PENDTAB_ALIGN, 0);
/* Flush so the ITS can see the memory */
- cpu_dcache_wb_range((vm_offset_t)sc->sc_pend_base,
+ cpu_dcache_wb_range((vm_offset_t)sc->sc_pend_base[i],
LPI_PENDTAB_SIZE);
}
}
More information about the svn-src-all
mailing list