提交 3ec8b78f 编写于 作者: M Mahesh Salgaonkar 提交者: Benjamin Herrenschmidt

powerpc/pseries: Disable relocation on exception while going down during crash.

Disable relocation on exception while going down even in kdump case. This
is because we are about clear htab mappings while kexec-ing into kdump
kernel and we may run into issues if we still have AIL ON.
Signed-off-by: NMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 8cc6b6cd
...@@ -430,8 +430,7 @@ static void pSeries_machine_kexec(struct kimage *image) ...@@ -430,8 +430,7 @@ static void pSeries_machine_kexec(struct kimage *image)
{ {
long rc; long rc;
if (firmware_has_feature(FW_FEATURE_SET_MODE) && if (firmware_has_feature(FW_FEATURE_SET_MODE)) {
(image->type != KEXEC_TYPE_CRASH)) {
rc = pSeries_disable_reloc_on_exc(); rc = pSeries_disable_reloc_on_exc();
if (rc != H_SUCCESS) if (rc != H_SUCCESS)
pr_warning("Warning: Failed to disable relocation on " pr_warning("Warning: Failed to disable relocation on "
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册