HomeFreeBSD

Use mips_dcache_wbinv_range instead of mips_dcache_wb_range on CPU_XBURST

Description

Use mips_dcache_wbinv_range instead of mips_dcache_wb_range on CPU_XBURST

Ingenic CPUs treat plain cache writeback as local-only operation and do
nothing if that is a remote CPU that holds the dirty cache line. They
do broadcast invalidate and write-and-invalidate to other cores though,
so take advantage of that and use wbinv in place of wb as this still gives
us required busdma semantics. Otherwise we'd have to do IPI to remote CPU
ourselves.

Details

Provenance
kanAuthored on
Parents
rS310783: When we are sending IP fragments, update ip pointers in IP_PROBE() for
Branches
Unknown
Tags
Unknown