Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4298430pxj; Wed, 12 May 2021 02:26:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJywC1l67PoO5dFkC5HKuTwk5UiYvZbtjdrj0K2rKXruunMf42C5jyeDvtadh9rnYLfFZz5m X-Received: by 2002:a17:906:d28e:: with SMTP id ay14mr36393893ejb.33.1620811611282; Wed, 12 May 2021 02:26:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620811611; cv=none; d=google.com; s=arc-20160816; b=Li0EM1YPCroalrFqVJ+8ITqB0aoOiSFMuQEtm6V0/2BQbxKbMOYjuH5ZNzhHTnNU2Z JeuQGPjgo2NQPswY9W6d4LhDtADexx8vxKr+x7DilNPNdj8Kl2zncWxozk47Dl79nbgK XRWVc5zPMpsm8dkLuOq6ohY1SHUw9jQx0iAzHdxC7u4IokivbQ2IRu3nYVR7jROMCh7f 2kSS2wbDJHUGYSXwbGJVKIz4pNV92GYIegl2p6OPB/SHTZDbvNzjnwcJM7lQ6krOBo4v o+cWLSkiLNmqEZYb+VultysoSdboXZouD3ZhdaGxeNHWPeA20ubaabFyF9XsFLCUrCO/ Oc3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BQjFvb143aTmUaIxfUXb48V/B3l/sa5vBo2i5dSaI8Y=; b=p8Rmya8YlTAyuPdtgmIuRkuumq87SFHeDxKTeqJsmR8++pQsGkIGujAD365axoESg2 VFI8LTPdQoaGY/ZrLrULqLDhAcGF8S/N3T8CNnyeZsuj8KcFIxG4VQvKt2HOsCWrIhc9 h91g6fUMSnvv6AN5Kb0TKC6kBzWwDIbX5osFHUNemjiIMqB2KoWPqTSEwB0T0yXTsxZr DU366j5u9DcXqrkt6IkhU7kx0RZVU89NYloNdcGqXNKPzBtQM9Sep0H/ou4Ci9h44UZW QKwUaC9rKrdxGCNfbKDeZrVSnHLm5FaaytBpNTFJEtK4alY/zGvV5hHlyMRVH9uadGPw EQ3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NxArUJtX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n26si18765020edd.370.2021.05.12.02.26.28; Wed, 12 May 2021 02:26:51 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NxArUJtX; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230196AbhELJ0k (ORCPT + 99 others); Wed, 12 May 2021 05:26:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:41182 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229968AbhELJ0j (ORCPT ); Wed, 12 May 2021 05:26:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 879E4611C9; Wed, 12 May 2021 09:25:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620811531; bh=BQjFvb143aTmUaIxfUXb48V/B3l/sa5vBo2i5dSaI8Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NxArUJtXnJa9fHVJbkO5DvlyGNgOgynv1uSld38p+wpZEqTCMFc52KuY9ujAL/Squ 9T3U6W3rSEw4Hna+G4Qg+hIStCgSjRjAM3h9jTnFMQLFbI3R7sD7vEel5+9EA/3AnB cgLpVX2Fxp9XqEYCU6dzaYv7aEA01CCb1V0l3b6bYCyhqzuO8ua7r1Rs2+/g1Lo9Rb XnJWu8wyiDVuM6/9kVbw+y4Ei+Rmf4TYD2xY6HbeZ8fqvQNoOjTAU83BbETTQVmy/H 0kzZ8Pywuq7Q+xnA6tvqjAWcfMWAKes9X8XPZKsvWjPNGyLw6RaS78SjmFHOX8pyty i9CatXKspVv6Q== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1lgl7V-00047D-N5; Wed, 12 May 2021 11:25:34 +0200 Date: Wed, 12 May 2021 11:25:33 +0200 From: Johan Hovold To: Michael Walle Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , Angelo Dureghello , Fugang Duan , Philippe Schenker Subject: Re: [PATCH 3/8] serial: fsl_lpuart: don't restore interrupt state in ISR Message-ID: References: <20210511200148.11934-1-michael@walle.cc> <20210511200148.11934-4-michael@walle.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210511200148.11934-4-michael@walle.cc> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 11, 2021 at 10:01:43PM +0200, Michael Walle wrote: > Since commit 81e2073c175b ("genirq: Disable interrupts for force > threaded handlers") interrupt handlers that are not explicitly requested > as threaded are always called with interrupts disabled and there is no > need to save the interrupt state when taking the port lock. Since you've copied the above words verbatim from commit 75f4e830fa9c ("serial: do not restore interrupt state in sysrq helper") I'd expect you to use quotes or at least refer to the commit you copied the rationale from. > This is a preparation for sysrq handling which uses > uart_unlock_and_check_sysrq(); Johan