opnsense-src/sys/powerpc/aim
Marcel Moolenaar dbb95048da Add cpu_flush_dcache() for use after non-DMA based I/O so that a
possible future I-cache coherency operation can succeed. On ARM
for example the L1 cache can be (is) virtually mapped, which
means that any I/O that uses temporary mappings will not see the
I-cache made coherent. On ia64 a similar behaviour has been
observed. By flushing the D-cache, execution of binaries backed
by md(4) and/or NFS work reliably.
For Book-E (powerpc), execution over NFS exhibits SIGILL once in
a while as well, though cpu_flush_dcache() hasn't been implemented
yet.

Doing an explicit D-cache flush as part of the non-DMA based I/O
read operation eliminates the need to do it as part of the
I-cache coherency operation itself and as such avoids pessimizing
the DMA-based I/O read operations for which D-cache are already
flushed/invalidated. It also allows future optimizations whereby
the bcopy() followed by the D-cache flush can be integrated in a
single operation, which could be implemented using on-chips DMA
engines, by-passing the D-cache altogether.
2009-05-18 18:37:18 +00:00
..
clock.c PowerPC common SMP startup and time base rework. 2009-05-14 16:48:25 +00:00
copyinout.c Fix remaining compile error. 2006-10-18 19:56:20 +00:00
interrupt.c Trace interrupts with KTR_INTR. 2008-08-31 23:54:22 +00:00
locore.S Modularize the Open Firmware client interface to allow run-time switching 2008-12-20 00:33:10 +00:00
machdep.c Add cpu_flush_dcache() for use after non-DMA based I/O so that a 2009-05-18 18:37:18 +00:00
mmu_oea.c Factor out platform dependent things unrelated to device drivers into a 2009-05-14 00:34:26 +00:00
mmu_oea64.c Factor out platform dependent things unrelated to device drivers into a 2009-05-14 00:34:26 +00:00
mp_cpudep.c Factor out platform dependent things unrelated to device drivers into a 2009-05-14 00:34:26 +00:00
nexus.c Convert PowerPC AIM PCI and nexus busses to standard OFW bus interface. This 2008-10-14 14:54:14 +00:00
ofw_machdep.c Factor out platform dependent things unrelated to device drivers into a 2009-05-14 00:34:26 +00:00
ofwmagic.S Instead of "OpenFirmware", "openfirmware", etc. use the official spelling 2004-08-16 15:45:27 +00:00
platform_chrp.c Factor out platform dependent things unrelated to device drivers into a 2009-05-14 00:34:26 +00:00
swtch.S Perform a dummy stwcx. when we switch contexts. The context 2009-04-04 22:23:03 +00:00
trap.c Fix a typo in the SRR1 comparison for program exceptions. While here, 2009-04-19 06:30:00 +00:00
trap_subr.S Changing the overflow trap to use bla to branch to dbtrap in r190946 was 2009-04-14 04:15:56 +00:00
uma_machdep.c Add support for 64-bit PowerPC CPUs operating in the 64-bit bridge mode 2009-04-04 00:22:44 +00:00
vm_machdep.c Factor out platform dependent things unrelated to device drivers into a 2009-05-14 00:34:26 +00:00