lkml.org 
[lkml]   [2011]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ARM: Merge v6 and v7 DEBUG_LL DCC support
On Thu, Mar 17, 2011 at 07:52:00PM -0700, Stephen Boyd wrote:
> The inline assembly differences for v6 vs. v7 are purely
> optimizations. On a v7 processor, an mrc with the pc sets the
> condition codes to the 28-31 bits of the register being read. It
> just so happens that the TX/RX full bits the DCC support code is
> testing for are high enough in the register to be put into the
> condition codes. On a v6 processor, this "feature" isn't
> implemented and thus we have to do the usual read, mask, test
> operations to check for TX/RX full. Thus, we can drop the v7
> implementation and just use the v6 implementation for both.

This patch needs updating for the changes that were in my tree for many
months, and are now in mainline.


\
 
 \ /
  Last update: 2011-03-20 10:29    [W:0.035 / U:0.736 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site