]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Show if a bad page fault on data is read or write.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 21 Aug 2019 15:21:55 +0000 (15:21 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Nov 2019 11:27:51 +0000 (22:27 +1100)
commitd419ba88dbda0d0cf4d8d9c156f3059caae1f72b
tree3bc0f24c22f19196f817336e1eacc8d2dc997ab9
parentbb984cd9fb3a19b933bf8d4af34a9485dc13bf24
powerpc/mm: Show if a bad page fault on data is read or write.

DSISR (or ESR on some CPUs) has a bit to tell if the fault is due to a
read or a write.

Display it.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Santosh Sivaraj <santosh@fossix.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/4f88d7e6fda53b5f80a71040ab400242f6c8cb93.1566400889.git.christophe.leroy@c-s.fr
arch/powerpc/mm/fault.c