• Richard Woodruff's avatar
    ARM: OMAP: Use posted mode for dmtimer · 7622c363
    Richard Woodruff authored
    This patch adds the use of write posting for the timer.  Previously, every
    write could lock the requestor for almost 3x32KHz cycles.  This patch only
    synchronizes before writes and reads instead of after them and it does
    it on per register basis.  Doing it this way there is some chance to hide
    some of the sync latency.  It also removes some needless reads when
    non-posted mode is there.  With out this fix the read/writes take almost
    2% CPU load @500MHz just waiting on tick timer registers.
    
    Also define new 34xx only registers.
    Signed-off-by: default avatarRichard Woodruff <r-woodruff2@ti.com>
    Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
    7622c363
dmtimer.c 18.9 KB