freebsd-skq/sys/powerpc/booke
marcel 51bb720939 o Introduce vm_sync_icache() for making the I-cache coherent with
the memory or D-cache, depending on the semantics of the platform.
    vm_sync_icache() is basically a wrapper around pmap_sync_icache(),
    that translates the vm_map_t argumument to pmap_t.
o   Introduce pmap_sync_icache() to all PMAP implementation. For powerpc
    it replaces the pmap_page_executable() function, added to solve
    the I-cache problem in uiomove_fromphys().
o   In proc_rwmem() call vm_sync_icache() when writing to a page that
    has execute permissions. This assures that when breakpoints are
    written, the I-cache will be coherent and the process will actually
    hit the breakpoint.
o   This also fixes the Book-E PMAP implementation that was missing
    necessary locking while trying to deal with the I-cache coherency
    in pmap_enter() (read: mmu_booke_enter_locked).

The key property of this change is that the I-cache is made coherent
*after* writes have been done. Doing it in the PMAP layer when adding
or changing a mapping means that the I-cache is made coherent *before*
any writes happen. The difference is key when the I-cache prefetches.
2009-10-21 18:38:02 +00:00
..
clock.c Improve style(9), clean up. 2009-05-21 12:05:15 +00:00
copyinout.c
interrupt.c Minor clean up of BookE/MPC85XX: iprove naming and style(9). 2008-12-17 15:31:15 +00:00
locore.S Improve style(9), clean up. 2009-05-21 12:05:15 +00:00
machdep.c Introduce support for cpufreq on PowerPC with the dynamic frequency 2009-05-31 09:01:23 +00:00
mp_cpudep.c Initial support for SMP on PowerPC MPC85xx. 2009-05-21 11:43:37 +00:00
platform_bare.c Discover and handle the number of E500 CPUs in run time. 2009-06-05 09:46:00 +00:00
pmap.c o Introduce vm_sync_icache() for making the I-cache coherent with 2009-10-21 18:38:02 +00:00
swtch.S Minor style consistency fix. 2009-04-22 13:18:04 +00:00
trap_subr.S Initial support for SMP on PowerPC MPC85xx. 2009-05-21 11:43:37 +00:00
trap.c Make Book-E debug register state part of the PCB context. 2009-02-27 12:08:24 +00:00
vm_machdep.c Improve style(9), clean up. 2009-05-21 12:05:15 +00:00