Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753273AbeAQOY0 (ORCPT + 1 other); Wed, 17 Jan 2018 09:24:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34108 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752778AbeAQOYY (ORCPT ); Wed, 17 Jan 2018 09:24:24 -0500 Date: Wed, 17 Jan 2018 15:24:13 +0100 From: Cornelia Huck To: Martin Schwidefsky Cc: linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, kvm@vger.kernel.org, Heiko Carstens , Paolo Bonzini , Greg Kroah-Hartman , Jon Masters , Marcus Meissner , Jiri Kosina Subject: Re: [PATCH 1/6] s390/alternative: use a copy of the facility bit mask Message-ID: <20180117152413.312ee2fe.cohuck@redhat.com> In-Reply-To: <1516182519-10623-2-git-send-email-schwidefsky@de.ibm.com> References: <1516182519-10623-1-git-send-email-schwidefsky@de.ibm.com> <1516182519-10623-2-git-send-email-schwidefsky@de.ibm.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 17 Jan 2018 14:24:24 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, 17 Jan 2018 10:48:34 +0100 Martin Schwidefsky 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 > Signed-off-by: Martin Schwidefsky > --- > 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