]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/8xx: Invalidate non present TLB as early as possible
authorLEROY Christophe <christophe.leroy@c-s.fr>
Fri, 19 Sep 2014 08:36:10 +0000 (10:36 +0200)
committerScott Wood <scottwood@freescale.com>
Sat, 8 Nov 2014 00:10:45 +0000 (18:10 -0600)
commita44f76103646a70a6c1a668723d92574cfba5435
tree0ff47308ec2dbb867a316d3eaf57d2e965041922
parent0cc923dcb8a18f7f90b2bf507e618a736e66757e
powerpc/8xx: Invalidate non present TLB as early as possible

8xx sometimes need to load a invalid/non-present TLBs in
it DTLB asm handler.

These must be invalidated separaly as linux mm doesn't.

Commit f8c48ef6f9ef225c38e562aae06c4e3d99463817 was invalidating them in
arch/powerpc/mm/fault.c.
This patch does the invalidation earlier in order to free the TLB as soon as
possible. This also has the advantage of removing some 8xx specific code from
fault.c

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/head_8xx.S
arch/powerpc/mm/fault.c