public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] [2.6.37] ARM: tegra: fix regression from addruart rewrite
@ 2010-12-07  1:36 Olof Johansson
  2010-12-07  1:40 ` Colin Cross
  0 siblings, 1 reply; 5+ messages in thread
From: Olof Johansson @ 2010-12-07  1:36 UTC (permalink / raw)
  To: linux-arm-kernel

0ea1293009826da45e1019f45dfde1e557bb30df took out the test for
MMU on/off but didn't switch the ldr instructions to no longer be
conditionals based on said test.

Fix that.

Signed-off-by: Olof Johansson <olof@lixom.net>
---
 arch/arm/mach-tegra/include/mach/debug-macro.S |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-tegra/include/mach/debug-macro.S b/arch/arm/mach-tegra/include/mach/debug-macro.S
index 8ea3bff..a0e7c12 100644
--- a/arch/arm/mach-tegra/include/mach/debug-macro.S
+++ b/arch/arm/mach-tegra/include/mach/debug-macro.S
@@ -21,8 +21,8 @@
 #include <mach/io.h>
 
 	.macro  addruart, rp, rv
-        ldreq   \rp, =IO_APB_PHYS       @ physical
-        ldrne   \rv, =IO_APB_VIRT        @ virtual
+        ldr     \rp, =IO_APB_PHYS       @ physical
+        ldr     \rv, =IO_APB_VIRT        @ virtual
 #if defined(CONFIG_TEGRA_DEBUG_UART_NONE)
 #error "A debug UART must be selected in the kernel config to use DEBUG_LL"
 #elif defined(CONFIG_TEGRA_DEBUG_UARTA)
-- 
1.7.3.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] [2.6.37] ARM: tegra: fix regression from addruart rewrite
  2010-12-07  1:36 [PATCH] [2.6.37] ARM: tegra: fix regression from addruart rewrite Olof Johansson
@ 2010-12-07  1:40 ` Colin Cross
  2010-12-07  1:41   ` Olof Johansson
  0 siblings, 1 reply; 5+ messages in thread
From: Colin Cross @ 2010-12-07  1:40 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Dec 6, 2010 at 5:36 PM, Olof Johansson <olof@lixom.net> wrote:
> 0ea1293009826da45e1019f45dfde1e557bb30df took out the test for
> MMU on/off but didn't switch the ldr instructions to no longer be
> conditionals based on said test.
>
> Fix that.

This is fixed in the uart macro consolidation patch I posted yesterday.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] [2.6.37] ARM: tegra: fix regression from addruart rewrite
  2010-12-07  1:40 ` Colin Cross
@ 2010-12-07  1:41   ` Olof Johansson
  2010-12-07  1:44     ` Colin Cross
  0 siblings, 1 reply; 5+ messages in thread
From: Olof Johansson @ 2010-12-07  1:41 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Dec 06, 2010 at 05:40:01PM -0800, Colin Cross wrote:
> On Mon, Dec 6, 2010 at 5:36 PM, Olof Johansson <olof@lixom.net> wrote:
> > 0ea1293009826da45e1019f45dfde1e557bb30df took out the test for
> > MMU on/off but didn't switch the ldr instructions to no longer be
> > conditionals based on said test.
> >
> > Fix that.
> 
> This is fixed in the uart macro consolidation patch I posted yesterday.

Yep, which is scheduled for .38, not .37. I'm actually trying to boot
a mainline kernel instead of the one from the android tree right now,
so I hit this...


-Olof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] [2.6.37] ARM: tegra: fix regression from addruart rewrite
  2010-12-07  1:41   ` Olof Johansson
@ 2010-12-07  1:44     ` Colin Cross
  2010-12-07  2:04       ` Colin Cross
  0 siblings, 1 reply; 5+ messages in thread
From: Colin Cross @ 2010-12-07  1:44 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Dec 6, 2010 at 5:41 PM, Olof Johansson <olof@lixom.net> wrote:
> On Mon, Dec 06, 2010 at 05:40:01PM -0800, Colin Cross wrote:
>> On Mon, Dec 6, 2010 at 5:36 PM, Olof Johansson <olof@lixom.net> wrote:
>> > 0ea1293009826da45e1019f45dfde1e557bb30df took out the test for
>> > MMU on/off but didn't switch the ldr instructions to no longer be
>> > conditionals based on said test.
>> >
>> > Fix that.
>>
>> This is fixed in the uart macro consolidation patch I posted yesterday.
>
> Yep, which is scheduled for .38, not .37. I'm actually trying to boot
> a mainline kernel instead of the one from the android tree right now,
> so I hit this...

Ah, I forgot that problem was introduced in .37.
Ack, I'll put it in a tegra-fixes branch and send a .37 pull request.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] [2.6.37] ARM: tegra: fix regression from addruart rewrite
  2010-12-07  1:44     ` Colin Cross
@ 2010-12-07  2:04       ` Colin Cross
  0 siblings, 0 replies; 5+ messages in thread
From: Colin Cross @ 2010-12-07  2:04 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Dec 6, 2010 at 5:44 PM, Colin Cross <ccross@android.com> wrote:
> On Mon, Dec 6, 2010 at 5:41 PM, Olof Johansson <olof@lixom.net> wrote:
>> On Mon, Dec 06, 2010 at 05:40:01PM -0800, Colin Cross wrote:
>>> On Mon, Dec 6, 2010 at 5:36 PM, Olof Johansson <olof@lixom.net> wrote:
>>> > 0ea1293009826da45e1019f45dfde1e557bb30df took out the test for
>>> > MMU on/off but didn't switch the ldr instructions to no longer be
>>> > conditionals based on said test.
>>> >
>>> > Fix that.
>>>
>>> This is fixed in the uart macro consolidation patch I posted yesterday.
>>
>> Yep, which is scheduled for .38, not .37. I'm actually trying to boot
>> a mainline kernel instead of the one from the android tree right now,
>> so I hit this...
>
> Ah, I forgot that problem was introduced in .37.
> Ack, I'll put it in a tegra-fixes branch and send a .37 pull request.
>

I see this went directly to Linus, so I won't send a pull request.
Acked-by: Colin Cross <ccross@android.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-07  2:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-07  1:36 [PATCH] [2.6.37] ARM: tegra: fix regression from addruart rewrite Olof Johansson
2010-12-07  1:40 ` Colin Cross
2010-12-07  1:41   ` Olof Johansson
2010-12-07  1:44     ` Colin Cross
2010-12-07  2:04       ` Colin Cross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox