fix TLB fault path on PA2.0 narrow systems
authorJames Bottomley <JBottomley@Parallels.com>
Mon, 21 May 2012 06:49:01 +0000 (07:49 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 10 Jun 2012 13:41:40 +0000 (14:41 +0100)
commit0d9dc2404a634843a3325377f0b26186937a6f39
tree2ce415c862eb604d8746f8ac2937defc9701cd62
parentde05eed7bd858c12fa0e350763db47da0a3b9adb
fix TLB fault path on PA2.0 narrow systems

commit 2f649c1f6f0fef445ce79a19b79e5ce8fe9d7f19 upstream.

commit 5e185581d7c46ddd33cd9c01106d1fc86efb9376
Author: James Bottomley <JBottomley@Parallels.com>

    [PARISC] fix PA1.1 oops on boot

Didn't quite fix the crash on boot.  It moved it from PA1.1 processors to
PA2.0 narrow kernels.  The final fix is to make sure the [id]tlb_miss_20 paths
also work.  Even on narrow systems, these paths require using the wide
instructions becuase the tlb insertion format is wide.  Fix this by
conditioning the dep[wd],z on whether we're being called from _11 or _20[w]
paths.

Tested-by: Helge Deller <deller@gmx.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/parisc/kernel/entry.S