]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8613/1: Fix the uaccess crash on PB11MPCore
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 13 Sep 2016 11:31:17 +0000 (12:31 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 16 Jan 2017 17:30:46 +0000 (17:30 +0000)
commit1c042334c0c079ef99cae48a16464999ce133165
tree28645784d7674fb594905f085659af10079499eb
parentafd0d0432d26a2d007193f2975e312bc2aa12683
ARM: 8613/1: Fix the uaccess crash on PB11MPCore

The following patch was sketched by Russell in response to my
crashes on the PB11MPCore after the patch for software-based
priviledged no access support for ARMv8.1. See this thread:
http://marc.info/?l=linux-arm-kernel&m=144051749807214&w=2

I am unsure what is going on, I suspect everyone involved in
the discussion is. I just want to repost this to get the
discussion restarted, as I still have to apply this patch
with every kernel iteration to get my PB11MPCore Realview
running.

Testing by Neil Armstrong on the Oxnas NAS has revealed that
this bug exist also on that widely deployed hardware, so
we are probably currently regressing all ARM11MPCore systems.

Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Fixes: 0bac703e02ae ("ARM: software-based priviledged-no-access support")
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp_tlb.c