]> git.baikalelectronics.ru Git - kernel.git/commit
[PARISC] fix crash in flush_icache_page_asm on PA1.1
authorJohn David Anglin <dave.anglin@bell.net>
Wed, 16 May 2012 09:14:52 +0000 (10:14 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 16 May 2012 12:15:06 +0000 (13:15 +0100)
commit03909059d90549f563728ec56eee52142ca29500
treec598fc21706f110c7a1578ef3bf17b9fd01005df
parent45f16ef46bb22c57464e796de49a318d89950fa3
[PARISC] fix crash in flush_icache_page_asm on PA1.1

As pointed out by serveral people, PA1.1 only has a type 26 instruction
meaning that the space register must be explicitly encoded.  Not giving an
explicit space means that the compiler uses the type 24 version which is PA2.0
only resulting in an illegal instruction crash.

This regression was caused by

    commit b2482eb22c5a728cb6df57fb675a2c6d15ab7a3e
    Author: James Bottomley <James.Bottomley@HansenPartnership.com>
    Date:   Wed Dec 22 10:22:11 2010 -0600

        parisc: flush pages through tmpalias space

Reported-by: Helge Deller <deller@gmx.de>
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: stable@vger.kernel.org #2.6.39+
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
arch/parisc/kernel/pacache.S