login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2011
»
January
»
4
Re: [PATCH 3/3] hvc_dcc: Simplify assembly for v6 and v7 ARM
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
[view in full thread]
From: Tony Lindgren
Subject:
Re: [PATCH 3/3] hvc_dcc: Simplify assembly for v6 and v7 ARM
Date: Tuesday, January 4, 2011 - 11:52 am
* Nicolas Pitre <nico@fluxnic.net> [101220 13:44]:
quoted text
> On Mon, 20 Dec 2010, Stephen Boyd wrote: > > > The inline assembly differences for v6 vs. v7 in the hvc_dcc > > driver 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 > > driver 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. > > > > Since we already test the RX/TX full bits before calling > > __dcc_getchar() and __dcc_putchar() we don't actually need to do > > anything special for v7 over v6. The only difference is in > > hvc_dcc_get_chars(). We would test RX full, poll RX full, and > > then read a character from the buffer, whereas now we will test > > RX full, read a character from the buffer, and then test RX full > > again for the second iteration of the loop. It doesn't seem > > possible for the buffer to go from full to empty between testing > > the RX full and reading a character. Therefore, replace the v7 > > versions with the v6 versions and everything works the same. > > > > Cc: Tony Lindgren <tony@atomide.com> > > Cc: Arnd Bergmann <arnd@arndb.de> > > Cc: Nicolas Pitre <nicolas.pitre@linaro.org> > > Cc: Daniel Walker <dwalker@codeaurora.org> > > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> > > Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Tony Lindgren <tony@atomide.com> --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
Messages in current thread:
[PATCH] drivers: char: hvc: add arm JTAG DCC console support
, Daniel Walker
, (Tue Nov 30, 12:25 pm)
Re: [PATCH] drivers: char: hvc: add arm JTAG DCC console s ...
, Nicolas Pitre
, (Tue Nov 30, 12:57 pm)
Re: [PATCH] drivers: char: hvc: add arm JTAG DCC console s ...
, Arnd Bergmann
, (Tue Nov 30, 2:17 pm)
Re: [PATCH] drivers: char: hvc: add arm JTAG DCC console s ...
, Stephen Boyd
, (Tue Nov 30, 10:30 pm)
Re: [PATCH] drivers: char: hvc: add arm JTAG DCC console s ...
, Daniel Walker
, (Wed Dec 1, 11:54 am)
Re: [PATCH] drivers: char: hvc: add arm JTAG DCC console s ...
, Greg KH
, (Wed Dec 1, 12:28 pm)
Re: [PATCH] drivers: char: hvc: add arm JTAG DCC console s ...
, Stephen Boyd
, (Wed Dec 1, 1:20 pm)
Re: [PATCH] drivers: char: hvc: add arm JTAG DCC console s ...
, Stephen Boyd
, (Tue Dec 7, 12:10 pm)
[PATCH] hvc_dcc: Simplify assembly for v6 and v7 ARM
, Stephen Boyd
, (Fri Dec 17, 10:16 pm)
Re: [PATCH] hvc_dcc: Simplify assembly for v6 and v7 ARM
, Daniel Walker
, (Mon Dec 20, 10:51 am)
Re: [PATCH] hvc_dcc: Simplify assembly for v6 and v7 ARM
, Stephen Boyd
, (Mon Dec 20, 11:39 am)
Re: [PATCH] hvc_dcc: Simplify assembly for v6 and v7 ARM
, Nicolas Pitre
, (Mon Dec 20, 11:46 am)
[PATCH 0/3] hvc_dcc cleanups and fixes
, Stephen Boyd
, (Mon Dec 20, 1:08 pm)
[PATCH 1/3] hvc_dcc: Fix bad code generation by marking as ...
, Stephen Boyd
, (Mon Dec 20, 1:08 pm)
[PATCH 2/3] hvc_dcc: Simplify put_chars()/get_chars() loops
, Stephen Boyd
, (Mon Dec 20, 1:08 pm)
[PATCH 3/3] hvc_dcc: Simplify assembly for v6 and v7 ARM
, Stephen Boyd
, (Mon Dec 20, 1:08 pm)
Re: [PATCH 1/3] hvc_dcc: Fix bad code generation by markin ...
, Nicolas Pitre
, (Mon Dec 20, 2:39 pm)
Re: [PATCH 3/3] hvc_dcc: Simplify assembly for v6 and v7 ARM
, Nicolas Pitre
, (Mon Dec 20, 2:44 pm)
Re: [PATCH 1/3] hvc_dcc: Fix bad code generation by markin ...
, Arnaud Lacombe
, (Mon Dec 20, 2:49 pm)
Re: [PATCH 1/3] hvc_dcc: Fix bad code generation by markin ...
, Stephen Boyd
, (Mon Dec 20, 2:52 pm)
Re: [PATCH 1/3] hvc_dcc: Fix bad code generation by markin ...
, Nicolas Pitre
, (Mon Dec 20, 3:10 pm)
Re: [PATCH 1/3] hvc_dcc: Fix bad code generation by markin ...
, Pavel Machek
, (Sun Jan 2, 2:00 am)
Re: [PATCH 1/3] hvc_dcc: Fix bad code generation by markin ...
, David Brown
, (Sun Jan 2, 11:49 am)
Re: [PATCH 1/3] hvc_dcc: Fix bad code generation by markin ...
, Pavel Machek
, (Sun Jan 2, 10:50 pm)
Re: [PATCH 1/3] hvc_dcc: Fix bad code generation by markin ...
, Tony Lindgren
, (Tue Jan 4, 11:49 am)
Re: [PATCH 3/3] hvc_dcc: Simplify assembly for v6 and v7 ARM
, Tony Lindgren
, (Tue Jan 4, 11:52 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Dmitry Torokhov
Re: Clarifying platform_device_unregister
Theodore Tso
Re: [RFC] [PATCH 3/3] Recursive mtime for ext3
Kevin Cernekee
[PATCH 7/7] MIPS: Fix regression on BCM4710 processor detection
Eric W. Biederman
Re: [PATCH] task containersv11 add tasks file interface fix for cpusets
Volker Sauer
Re: D-Link DFE-580TX and snmpd problems, who's maintainer of sundance.c ?
git
:
Jeff King
Re: [PATCH] git-name-rev: accept list of refs from user
Johan Herland
Re: Empty directories...
Brandon Casey
[PATCH v3] t7700: demonstrate mishandling of objects in packs with a .keep file
Steffen Prohaska
[PATCH] user-manual: mention git gui citool (commit, amend)
Krzysztof Halasa
Re: [PATCH] Change "refs/" references to symbolic constants
linux-netdev
:
Eric Dumazet
Re: tun: Use netif_receive_skb instead of netif_rx
Stephen Hemminger
Re: [PATCH] make TLLAO option for NA packets configurable
Eric Dumazet
[PATCH] net: fix rtable leak in net/ipv4/route.c
Ira Snyder
Re: [PATCH RFC v2] net: add PCINet driver
Stephen Hemminger
[PATCH] netfilter: use per-cpu recursive lock (v13)
git-commits-head
:
Linux Kernel Mailing List
nfsd race fixes: ext2
Linux Kernel Mailing List
m68knommu: MCF5307 PIT GENERIC_CLOCKEVENTS support
Linux Kernel Mailing List
Remove the macro get_personality
Linux Kernel Mailing List
perf counters: add prctl interface to disable/enable counters
Linux Kernel Mailing List
Staging: rtl8192su: fix test for negative error in rtl8192_rx_isr()
openbsd-misc
:
Miod Vallat
Re: No Blob without Puffy
Henning Brauer
Re: Resilient RAID
Paul M
Re: WAY OT: Have you hugged your local OpenBSD dev lately?
Fred Crowson
Re: need help --reboot of newly installed OpenBSD 4.7 on Toshiba Libretto 70 neds...
E.T
Processeur Atom ?
Colocation donated by:
Syndicate