First one is a real bug-fix for POWER8 and earlier CPUs, second I'm not exactly sure how POWER9's ERAT behaves in this situation but it seems to match what we do in other places.
Thanks, Nick Nicholas Piggin (2): powerpc/64s/hash: do not use PPC_INVALIDATE_ERAT on CPUs before POWER9 powerpc/64s/radix: Explicitly flush ERAT with local LPID invalidation arch/powerpc/kernel/mce_power.c | 7 +++++++ arch/powerpc/mm/hash_native_64.c | 4 ++-- arch/powerpc/mm/tlb-radix.c | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) -- 2.18.0