Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp889119ybm; Wed, 27 May 2020 10:24:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+wkV5r4wNDPmToHD+XCQvKunnDypFdsHamffXQFQe1ZMyBYhaiiA6LYDLjcYPZee7nIZm X-Received: by 2002:a05:6402:154b:: with SMTP id p11mr25179741edx.355.1590600257907; Wed, 27 May 2020 10:24:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590600257; cv=none; d=google.com; s=arc-20160816; b=B2b02iQCJqURv8m1k3qAP4AgtryJLCFEcrqCEBJseZ1vbLOGSN8BSsgi2uiYtgDssY r6V9rsjcvL/ZISrHQ6QXvwIYa6diZsOLiHwwxEILFcCr2fczXzrNockZ/eNfMPIxFn55 IrgiXv3g+z4eIVFyNlcKJXohShB52jaPaImF1zc2QFTMgr/yMxRifLGGqSZtqWHbyt3n Ly5aByk4w6iCJuiVu8xSjuID4QNB9oXhWMuAfq9aoKLcQPi/GvziPLRj+3zvKywF1SFd em390i9UzFCpe3icKutnui7KAai5s4UET+qX4HYm6aN0tHzZFyhF2s47M9JfAxQFiO+p k64Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=dS0QPCdHXCWkHW2eorTFmwcQBeL+v/U0pP2kJi5UYAs=; b=OoLTU7KCYeO/zeg0MiCdCoMo9nn/J7FmuGaA1fyWtMY4xcYYPB/j5L4qWYEczfsE2C jdZHPhQVp2vo8/8xMvIYTxCG5l5gfLsjCzMp3sOXMsbWLG7z83EvG3GRxkkKECarXNRJ itkgyHTUSTVC+qEhgQGQHEmWjZMPyQIMrdPTkoq5cuSl8tFuKjwaCpxfaoh+j0krvPLS a8IzM1cDIdFtFoHwG2kmDE9DSj+DoeX3js3tmm4/uQ73G/ZT2y6zcIpYTNX1ZVmpw46x EcgICs9RDLLOyKMKX/UjuvdYcS3MJ+nf4wVj1W5u2IGDQ7LoPopducqSiGLD7u9uqc/q WFWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y5si1943798edu.171.2020.05.27.10.23.41; Wed, 27 May 2020 10:24:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730093AbgE0Lih (ORCPT + 99 others); Wed, 27 May 2020 07:38:37 -0400 Received: from elvis.franken.de ([193.175.24.41]:41062 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727902AbgE0Lia (ORCPT ); Wed, 27 May 2020 07:38:30 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jduO3-00011U-04; Wed, 27 May 2020 13:38:19 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 6DC72C0594; Wed, 27 May 2020 13:35:27 +0200 (CEST) Date: Wed, 27 May 2020 13:35:27 +0200 From: Thomas Bogendoerfer To: YuanJunQing Cc: paulburton@kernel.org, chenhc@lemote.com, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, liulichao@loongson.cn Subject: Re: [PATCH] MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe() Message-ID: <20200527113527.GE13537@alpha.franken.de> References: <20200527061130.15618-1-yuanjunqing66@163.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200527061130.15618-1-yuanjunqing66@163.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 27, 2020 at 02:11:30PM +0800, YuanJunQing wrote: > Register "a1" is unsaved in this function, > when CONFIG_TRACE_IRQFLAGS is enabled, > the TRACE_IRQS_OFF macro will call trace_hardirqs_off(), > and this may change register "a1". > The changed register "a1" as argument will be send > to do_fpe() and do_msa_fpe(). > > Signed-off-by: YuanJunQing > --- > arch/mips/kernel/genex.S | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]