From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Borntraeger Subject: Re: [PATCH/RFC] s390/kernel: use stnsm instead of stosm Date: Tue, 16 Dec 2014 10:31:59 +0100 Message-ID: <548FFC0F.9010605@de.ibm.com> References: <1418722232-37902-1-git-send-email-borntraeger@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: KVM , Alexander Graf , Cornelia Huck , Jens Freimann , linux-s390 , heiko.carstens@de.ibm.com, schwidefsky@de.ibm.com To: Paolo Bonzini Return-path: Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:52695 "EHLO e06smtp15.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750857AbaLPJcF (ORCPT ); Tue, 16 Dec 2014 04:32:05 -0500 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 16 Dec 2014 09:32:03 -0000 In-Reply-To: <1418722232-37902-1-git-send-email-borntraeger@de.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Paolo, sorry, should have only go to Martin and Heiko. Nothing to worry about from your side. :-) Am 16.12.2014 um 10:30 schrieb Christian Borntraeger: > At least on z196 stnsm is faster than stosm. > > Signed-off-by: Christian Borntraeger > --- > arch/s390/include/asm/irqflags.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/s390/include/asm/irqflags.h b/arch/s390/include/asm/irqflags.h > index 37b9091..16aa0c7 100644 > --- a/arch/s390/include/asm/irqflags.h > +++ b/arch/s390/include/asm/irqflags.h > @@ -36,7 +36,7 @@ static inline notrace void __arch_local_irq_ssm(unsigned long flags) > > static inline notrace unsigned long arch_local_save_flags(void) > { > - return __arch_local_irq_stosm(0x00); > + return __arch_local_irq_stnsm(0xff); > } > > static inline notrace unsigned long arch_local_irq_save(void) >