Nick,
I applied your patch into linux kernel 4.13, rebuild it, installed it, then had a test, still can not boot OS. System hung here, the same as before.
Would you please have a look?
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
[ 104.755810] kexec_core: Starting new kernel
[ 126.157029744,5] OPAL: Switch to big-endian OS
Sent SIGTERM to all processes
Sent SIGKILL to all processes
[ 104.755810] kexec_core: Starting new kernel
[ 126.157029744,5] OPAL: Switch to big-endian OS
Best Regards!
Meng Li
IBM OpenPOWER Application Engineer
Meng Li
IBM OpenPOWER Application Engineer
----- Original message -----
From: Nicholas Piggin <npig...@gmail.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: Nicholas Piggin <npig...@gmail.com>, Jeremy Kerr <j...@ozlabs.org>, Meng YK Li <shlim...@cn.ibm.com>
Subject: [PATCH] powerpc/powernv: Use early_radix_enabled in POWER9 tlb flush
Date: Wed, Sep 27, 2017 1:46 PM
This code is used at boot and machine checks, so it should be using
early_radix_enabled() (which is usable any time).
Signed-off-by: Nicholas Piggin <npig...@gmail.com>
---
arch/powerpc/kernel/mce_power.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/kernel/mce_power.c b/arch/powerpc/kernel/mce_power.c
index b76ca198e09c..d37e612050b5 100644
--- a/arch/powerpc/kernel/mce_power.c
+++ b/arch/powerpc/kernel/mce_power.c
@@ -128,7 +128,7 @@ void __flush_tlb_power9(unsigned int action)
{
unsigned int num_sets;
- if (radix_enabled())
+ if (early_radix_enabled())
num_sets = POWER9_TLB_SETS_RADIX;
else
num_sets = POWER9_TLB_SETS_HASH;
--
2.13.3