]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: Improve the logging of disabling KASLR
authorYuqian Yang <yangyuqian@uniontech.com>
Wed, 22 Apr 2026 07:45:11 +0000 (15:45 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 22 Apr 2026 07:45:11 +0000 (15:45 +0800)
commit847634955b0810d0b93382a588312f745a5947be
tree2edc9533bcd718c5d7ebf1986bc49dc69057a584
parente3f4591f7920ce169f2f78fa5a89639ada7d7058
LoongArch: Improve the logging of disabling KASLR

Whether KASLR is disabled is not handled in nokaslr() which is the early
param "nokaslr" setup function, but in kaslr_disabled(). However, the
logging was previously done in nokaslr() and lack detail. So we move the
logging to the right place and add more specific infomation about why it
is disabled.

Suggested-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Yuqian Yang <yangyuqian@uniontech.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kernel/relocate.c