Commit a85b073b authored by Helge Deller's avatar Helge Deller Committed by Zheng Zengkai
Browse files

parisc: Prevent booting 64-bit kernels on PA1.x machines

stable inclusion
from stable-v6.6.3
commit e5f12229d9541c38a813002a0a8faaf637430b77
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8LBQP

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



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

commit a406b8b424fa01f244c1aab02ba186258448c36b upstream.

Bail out early with error message when trying to boot a 64-bit kernel on
32-bit machines. This fixes the previous commit to include the check for
true 64-bit kernels as well.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Fixes: 591d2108 ("parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines")
Cc:  <stable@vger.kernel.org> # v6.0+
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 6b920835
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment