Commit cf815dc4 authored by Helge Deller's avatar Helge Deller Committed by Jialin Zhang
Browse files

parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines

stable inclusion
from stable-v5.10.143
commit 96d206d0a14ea89bdd896f5d8ed2f29c4f0fee6e
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0U6

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=96d206d0a14ea89bdd896f5d8ed2f29c4f0fee6e



--------------------------------

[ Upstream commit 591d2108 ]

If a 32-bit kernel was compiled for PA2.0 CPUs, it won't be able to run
on machines with PA1.x CPUs. Add a check and bail out early if a PA1.x
machine is detected.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent dfdb38d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment