]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: move the hash fault handling logic to C
authorNicholas Piggin <npiggin@gmail.com>
Sat, 30 Jan 2021 13:08:15 +0000 (23:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 8 Feb 2021 13:02:08 +0000 (00:02 +1100)
commit8d3bbf8580b137d8d06519a366a53504d2f3ab4c
treee66d67c74cd372f72142ddf7c148504ebd5470ef
parentd344a2c9f10cffc4291bd0aff05305af33d564c3
powerpc/64s: move the hash fault handling logic to C

The fault handling still has some complex logic particularly around
hash table handling, in asm. Implement most of this in C.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210130130852.2952424-6-npiggin@gmail.com
arch/powerpc/include/asm/book3s/64/mmu-hash.h
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/mm/book3s64/hash_utils.c