[coreboot-gerrit] Patch merged into coreboot/master: b58f9e3 cbmem: stop assuming 1MiB of memory can be mapped

gerrit at coreboot.org gerrit at coreboot.org
Sat Mar 21 08:45:04 CET 2015


the following patch was just integrated into master:
commit b58f9e3a305e8bcef95f8c466f388746e7cbfb51
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Tue Oct 7 14:56:35 2014 -0500

    cbmem: stop assuming 1MiB of memory can be mapped
    
    The default mapping size is 1MiB of ram. However, not
    all systems allow 1MiB of memory to mapped depending on
    the kernel's memory map. Therefore, be explicit about
    the sizes to mmap().
    
    The only path that wasn't cleaned up was the coverage path
    as that needs to handle dynamic cbmem. The correct way to
    fix that is to add a global like the timestamps that is set
    while parsing cbtable.
    
    BUG=chrome-os-partner:31355
    BRANCH=None
    TEST=Can cbmem -ltc on ryu.
    
    Change-Id: I548afa5ddbe0a859f52bc2ab2d0931186ee378a5
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Original-Commit-Id: df4991ce1da7f0c25e99d84222cbc8d3189d0d66
    Original-Change-Id: I27b70ae8a8fba168d1c1829bbef0135c7b651eac
    Original-Signed-off-by: Aaron Durbin <adurbin at chromium.org>
    Original-Reviewed-on: https://chromium-review.googlesource.com/221971
    Original-Reviewed-by: Furquan Shaikh <furquan at chromium.org>
    Original-Tested-by: Furquan Shaikh <furquan at chromium.org>
    Original-Commit-Queue: Furquan Shaikh <furquan at chromium.org>
    Reviewed-on: http://review.coreboot.org/8829
    Tested-by: build bot (Jenkins)
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


See http://review.coreboot.org/8829 for details.

-gerrit



More information about the coreboot-gerrit mailing list