linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Wrong cache flush function used in arch/arm/boot/compressed/head.S?
@ 2010-03-12 10:05 Sascha Hauer
  2010-03-12 15:51 ` Catalin Marinas
  0 siblings, 1 reply; 3+ messages in thread
From: Sascha Hauer @ 2010-03-12 10:05 UTC (permalink / raw)
  To: linux-arm-kernel


Hi,

0e056f20f18d0efa5da920f3cf8532adc56d5779 contains the following hunk:

 		.word	0x00060000		@ ARMv5TEJ
 		.word	0x000f0000
-		b	__armv4_mmu_cache_on
-		b	__armv4_mmu_cache_off
-		b	__armv5tej_mmu_cache_flush
+		W(b)	__armv4_mmu_cache_on
+		W(b)	__armv4_mmu_cache_off
+		W(b)	__armv4_mmu_cache_flush

Is this intentional? I do not see any problems in my kernel, but I
use the same code in my bootloader and it doesn't seem to work correctly
on my arm926 based system.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* Wrong cache flush function used in arch/arm/boot/compressed/head.S?
  2010-03-12 10:05 Wrong cache flush function used in arch/arm/boot/compressed/head.S? Sascha Hauer
@ 2010-03-12 15:51 ` Catalin Marinas
  2010-03-15 14:15   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Catalin Marinas @ 2010-03-12 15:51 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, 2010-03-12 at 10:05 +0000, Sascha Hauer wrote:
> 0e056f20f18d0efa5da920f3cf8532adc56d5779 contains the following hunk:
> 
>                 .word   0x00060000              @ ARMv5TEJ
>                 .word   0x000f0000
> -               b       __armv4_mmu_cache_on
> -               b       __armv4_mmu_cache_off
> -               b       __armv5tej_mmu_cache_flush
> +               W(b)    __armv4_mmu_cache_on
> +               W(b)    __armv4_mmu_cache_off
> +               W(b)    __armv4_mmu_cache_flush
> 
> Is this intentional? I do not see any problems in my kernel, but I
> use the same code in my bootloader and it doesn't seem to work correctly
> on my arm926 based system.

It wasn't intentional. I think I got it wrong when trying to solve a
merge conflict and I just added the original hunk.

Thanks.

-- 
Catalin

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

* Wrong cache flush function used in arch/arm/boot/compressed/head.S?
  2010-03-12 15:51 ` Catalin Marinas
@ 2010-03-15 14:15   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2010-03-15 14:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Mar 12, 2010 at 03:51:56PM +0000, Catalin Marinas wrote:
> On Fri, 2010-03-12 at 10:05 +0000, Sascha Hauer wrote:
> > 0e056f20f18d0efa5da920f3cf8532adc56d5779 contains the following hunk:
> > 
> >                 .word   0x00060000              @ ARMv5TEJ
> >                 .word   0x000f0000
> > -               b       __armv4_mmu_cache_on
> > -               b       __armv4_mmu_cache_off
> > -               b       __armv5tej_mmu_cache_flush
> > +               W(b)    __armv4_mmu_cache_on
> > +               W(b)    __armv4_mmu_cache_off
> > +               W(b)    __armv4_mmu_cache_flush
> > 
> > Is this intentional? I do not see any problems in my kernel, but I
> > use the same code in my bootloader and it doesn't seem to work correctly
> > on my arm926 based system.
> 
> It wasn't intentional. I think I got it wrong when trying to solve a
> merge conflict and I just added the original hunk.

Ok, I just sent a patch to the patch system.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

end of thread, other threads:[~2010-03-15 14:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-12 10:05 Wrong cache flush function used in arch/arm/boot/compressed/head.S? Sascha Hauer
2010-03-12 15:51 ` Catalin Marinas
2010-03-15 14:15   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).