[coreboot] Patch merged into coreboot/master: bba8090 armv7/exynos/snow: new cache maintenance API

gerrit at coreboot.org gerrit at coreboot.org
Tue Mar 19 22:23:46 CET 2013

the following patch was just integrated into master:
commit bba809042191bd3e421bdec0b974ce697e85bcba
Author: David Hendricks <dhendrix at chromium.org>
Date:   Thu Mar 14 15:24:57 2013 -0700

    armv7/exynos/snow: new cache maintenance API
    This adds a new API for cache maintenance operations. The idea is
    to be more explicit about operations that are going on so it's easier
    to manage branch predictor, cache, and TLB cleans and invalidations.
    Also, this adds some operations that were missing but required early
    on, such as branch predictor invalidation. Instruction and sync
    barriers were wrong earlier as well since the imported API assumed
    we compield with -march=armv5 (which we don't) and was missing
    wrappers for the native ARMv7 ISB/DSB/DMB instructions.
    For now, this is a start and it gives us something we can easily use
    in libpayload for doing things like cleaning and invalidating dcache
    when doing DMA transfers.
    - Set cache policy explicitly before re-enabling. Right now it's left
      at default.
    - Finish deprecating old cache maintenance API.
    - We do an extra icache/dcache flush when going from bootblock to
    Change-Id: I7390981190e3213f4e1431f8e56746545c5cc7c9
    Signed-off-by: David Hendricks <dhendrix at chromium.org>
    Reviewed-on: http://review.coreboot.org/2729
    Tested-by: build bot (Jenkins)
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>

Build-Tested: build bot (Jenkins) at Tue Mar 19 20:03:30 2013, giving +1
Reviewed-By: Ronald G. Minnich <rminnich at gmail.com> at Tue Mar 19 22:23:45 2013, giving +2
See http://review.coreboot.org/2729 for details.


More information about the coreboot mailing list