* [PATCH] powerpc/powernv: Use early_radix_enabled in POWER9 tlb flush
@ 2017-09-27 5:45 Nicholas Piggin
2017-09-28 9:24 ` Meng YK Li
2017-10-05 4:21 ` Michael Ellerman
0 siblings, 2 replies; 3+ messages in thread
From: Nicholas Piggin @ 2017-09-27 5:45 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Nicholas Piggin, Jeremy Kerr, Meng YK Li
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 <npiggin@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] powerpc/powernv: Use early_radix_enabled in POWER9 tlb flush
2017-09-27 5:45 [PATCH] powerpc/powernv: Use early_radix_enabled in POWER9 tlb flush Nicholas Piggin
@ 2017-09-28 9:24 ` Meng YK Li
2017-10-05 4:21 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Meng YK Li @ 2017-09-28 9:24 UTC (permalink / raw)
To: npiggin; +Cc: jk, linuxppc-dev, npiggin, Frank J Yu
[-- Attachment #1: Type: text/html, Size: 3154 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: powerpc/powernv: Use early_radix_enabled in POWER9 tlb flush
2017-09-27 5:45 [PATCH] powerpc/powernv: Use early_radix_enabled in POWER9 tlb flush Nicholas Piggin
2017-09-28 9:24 ` Meng YK Li
@ 2017-10-05 4:21 ` Michael Ellerman
1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2017-10-05 4:21 UTC (permalink / raw)
To: Nicholas Piggin, linuxppc-dev; +Cc: Meng YK Li, Jeremy Kerr, Nicholas Piggin
On Wed, 2017-09-27 at 05:45:58 UTC, Nicholas Piggin wrote:
> 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 <npiggin@gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/969a86a2855d484a00205a424df1c6
cheers
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-05 4:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-27 5:45 [PATCH] powerpc/powernv: Use early_radix_enabled in POWER9 tlb flush Nicholas Piggin
2017-09-28 9:24 ` Meng YK Li
2017-10-05 4:21 ` Michael Ellerman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.