[PARISC] 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)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 May 2012 09:52:17 +0000 (10:52 +0100)
commit2f649c1f6f0fef445ce79a19b79e5ce8fe9d7f19
tree21cf299abdaf27bddc86a8177f99f1bb178ab4a4
parented5fb2471b7060767957fb964eb1aaec71533ab1
[PARISC] fix TLB fault path on PA2.0 narrow systems

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>
Cc: stable@vger.kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
arch/parisc/kernel/entry.S