Re: [PATCH 1/6] s390/alternative: use a copy of the facility bit mask

From: Cornelia Huck
Date: Wed Jan 17 2018 - 09:24:30 EST


On Wed, 17 Jan 2018 10:48:34 +0100
Martin Schwidefsky <schwidefsky@xxxxxxxxxx> wrote:

> To be able to switch off specific CPU alternatives with kernel parameters
> make a copy of the facility bit mask provided by STFLE and use the copy
> for the decision to apply an alternative.
>
> Reviewed-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>
> Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
> ---
> arch/s390/include/asm/facility.h | 18 ++++++++++++++++++
> arch/s390/include/asm/lowcore.h | 3 ++-
> arch/s390/kernel/alternative.c | 3 ++-
> arch/s390/kernel/early.c | 3 +++
> arch/s390/kernel/setup.c | 4 +++-
> arch/s390/kernel/smp.c | 4 +++-
> 6 files changed, 31 insertions(+), 4 deletions(-)

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>