mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
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
This commit is contained in:
parent
a3fedceefa
commit
e150585e9e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330687
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user