Re: [PATCH] powerpc/pseries: Fix update of LPAR security flavor after LPM

2021-08-13 Thread Michael Ellerman
On Thu, 5 Aug 2021 17:23:08 +0200, Laurent Dufour wrote: > After LPM, when migrating from a system with security mitigation enabled to > a system with mitigation disabled, the security flavor exposed in /proc is > not correctly set back to 0. > > Do not assume the value of the security flavor is

[PATCH] powerpc/pseries: Fix update of LPAR security flavor after LPM

2021-08-05 Thread Laurent Dufour
After LPM, when migrating from a system with security mitigation enabled to a system with mitigation disabled, the security flavor exposed in /proc is not correctly set back to 0. Do not assume the value of the security flavor is set to 0 when entering init_cpu_char_feature_flags(), so when