twx-linux/arch
Helge Deller dfbaecb2b7 parisc: Remap hugepage-aligned pages in set_kernel_text_rw()
The alternative coding patch for parisc in kernel 4.20 broke booting
machines with PA8500-PA8700 CPUs. The problem is, that for such machines
the parisc kernel automatically utilizes huge pages to access kernel
text code, but the set_kernel_text_rw() function, which is used shortly
before applying any alternative patches, didn't used the correctly
hugepage-aligned addresses to remap the kernel text read-writeable.

Fixes: 3847dab77421 ("parisc: Add alternative coding infrastructure")
Cc: <stable@vger.kernel.org>	[4.20]
Signed-off-by: Helge Deller <deller@gmx.de>
2019-01-05 00:39:30 +01:00
..
alpha Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
arc Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
arm Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
arm64 Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
c6x Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
csky Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
h8300 Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
hexagon Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
ia64 Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
m68k Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
microblaze Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
mips Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
nds32 Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
nios2 Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
openrisc Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
parisc parisc: Remap hugepage-aligned pages in set_kernel_text_rw() 2019-01-05 00:39:30 +01:00
powerpc Fix access_ok() fallout for sparc32 and powerpc 2019-01-04 09:58:25 -08:00
riscv Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
s390 Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
sh Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
sparc Fix access_ok() fallout for sparc32 and powerpc 2019-01-04 09:58:25 -08:00
um Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
unicore32 Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
x86 Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
xtensa Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
.gitignore
Kconfig