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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 30 May 2012 23:43:17 +0000 (00:43 +0100)
commite2dfd3b4f88dcf13061ecffe0506a9785445f5d7
tree68952ce2e387e37e8a82a85a49f5e123085a0811
parent2140e2b9aaae02d1feb95fc64cf2e7fe522674b9
fix crash in flush_icache_page_asm on PA1.1

commit 207f583d7179f707f402c36a7bda5ca1fd03ad5b upstream.

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 f311847c2fcebd81912e2f0caf8a461dec28db41
    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>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/parisc/kernel/pacache.S