OSDN Git Service

powerpc/book3e: Fix check for linear mapping in TLB miss handler
authorBenjamin Krill <ben@codiert.org>
Thu, 27 Feb 2014 14:49:21 +0000 (15:49 +0100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 7 Mar 2014 04:54:51 +0000 (15:54 +1100)
commit60b962239a0837869be3e9192003fb8076068b91
tree76c3ae723ca0c4950656a638342b456b9966d1f9
parenteb3b80f676c8b610bcf5e3ba58d2876a04f74b16
powerpc/book3e: Fix check for linear mapping in TLB miss handler

The previous code added wrong TLBs and causes machine check errors if
a driver accessed passed the end of the linear mapping instead of
a clean page fault.

Signed-off-by: Ralph E. Bellofatto <ralphbel@us.ibm.com>
Signed-off-by: Benjamin Krill <ben@codiert.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/tlb_low_64e.S