Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm: pl310: fix cache sync #2035

Merged
merged 1 commit into from
Jan 13, 2018
Merged

arm: pl310: fix cache sync #2035

merged 1 commit into from
Jan 13, 2018

Commits on Jan 13, 2018

  1. arm: pl310: fix cache sync

    According to PL310 TRM:
    Atomic operations:
    The following are atomic operations:
        Clean Line by PA or by Set/Way
        Invalidate Line by PA
        Clean and Invalidate Line by PA or by Set/Way
        Cache Sync.
    These operations stall the slave ports until they are complete.
    When these registers are read, bit [0], the C flag, indicates that
    a background operation is in progress. When written, bit 0 must be
    zero.
    
    So write 1 to sync register is not correct.
    
    Signed-off-by: Peng Fan <peng.fan@nxp.com>
    Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
    Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
    MrVan committed Jan 13, 2018
    Configuration menu
    Copy the full SHA
    a6cb216 View commit details
    Browse the repository at this point in the history