ARM: 9278/1: kfence: only handle translation faults
authorWang Kefeng <wangkefeng.wang@huawei.com>
Sun, 4 Dec 2022 03:46:20 +0000 (04:46 +0100)
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 7 Dec 2022 14:08:09 +0000 (14:08 +0000)
commit73a0b6ee5d6269f92df43e1d09b3278a2886bf8a
tree14accf9fad2832dbacac6e5fd84766f23f5997dd
parent340a982825f76f1cff0daa605970fe47321b5ee7
ARM: 9278/1: kfence: only handle translation faults

This is a similar fixup like arm64 does, only handle translation faults
in case of unexpected kfence report when alignment faults on ARM, see
more from commit 0bb1fbffc631 ("arm64: mm: kfence: only handle translation
faults").

Fixes: 75969686ec0d ("ARM: 9166/1: Support KFENCE for ARM")
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
arch/arm/mm/fault.c
arch/arm/mm/fault.h