Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4309797pxj; Wed, 12 May 2021 02:45:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4K/hB2oPtwOCV5ngRyB4Fpg6x7hiwKrM5EQkuHW2KHFzKWb7HSV4vCWGrqzZHnVp+/29F X-Received: by 2002:a05:6402:354b:: with SMTP id f11mr43123105edd.139.1620812759135; Wed, 12 May 2021 02:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620812759; cv=none; d=google.com; s=arc-20160816; b=K0pbPk3R8PVwobRbflqQi61i6jdxaGjZxxHSKltWmUm1CCVxXy2NHo5tF+PcfCHPGt Q418Fi9hqsSPCS8Um3m4yndBIgmKfz3w9fTUN4qkJuFEUDPIQFEvBgSl+W8eF38M2/VW wq3gKnYz3cFy+guRlyrAYHQY+R1e97NHWkQPvdvZYT5J7wyt8kig8bnJSPoST2VCQFrT 5PHGceyDuMtPeT21wjdfZOUMLiCbsBVvJaD22nxp0WaNHbCCIsrQ8OCwHVhUrxBfCvsx snlTKY8rz4K/gV9m8v8XtHH3oHw1b4AYCFWAlaWj8StxA0rKkBIB1bXHXGUOOdQsfl/X wiOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=7nbJoxdcCMrYIOrc92gWt54SLeKp48Z204OCdEftvl0=; b=AoTQCIMeLFgOqVOcw/Ee20Lb3bLmHFJvdJWfoBn9tTxoEpwSAsLGDgIEeKOW4KyQfs Ucp1y9SwA2xh13xeVIoBUzaa307z0xNXnbjkWhcgBtMx4d/hHkMryN7225I7lJ63Entf rZL7Uxtf4Qwpgy6GSvtmE+5FEiyLUvUniY8BhXSFz+lTTdcmZTU8sceLQKAhbidIWGpI 0CaeKuxDnBj9a1GDMDsuzewIO43EvcZ6FR+/k1RLY9G3uPTl5P43M5XIBIsidvnIq5xT Hug4AsV0RiYtOWUY+kPP0CFG09hLGGTdRTtAWQ0CuYdMMa68BCbJ1cw/XQzW5JmbdLZX cHgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=HUG8c5HP; 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 g3si2606744edr.171.2021.05.12.02.45.35; Wed, 12 May 2021 02:45:59 -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=@walle.cc header.s=mail2016061301 header.b=HUG8c5HP; 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 S230126AbhELJnw (ORCPT + 99 others); Wed, 12 May 2021 05:43:52 -0400 Received: from ssl.serverraum.org ([176.9.125.105]:47681 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230097AbhELJnv (ORCPT ); Wed, 12 May 2021 05:43:51 -0400 Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 8131C22256; Wed, 12 May 2021 11:42:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1620812562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7nbJoxdcCMrYIOrc92gWt54SLeKp48Z204OCdEftvl0=; b=HUG8c5HPusvlbffhInmTzgSsB9Zk1zS+jfhFM27xyPWX/6io6+QSUuDX9HgyG9apKZe398 cfLTDZ1me2+a1Tv1Bnh25YSTk+eMD4k56OA/ZXN5wVFYkCFCHY9EnYUFBKyd24hA5jyGhl bAlITeQeOlyrHrjqFzytgeNlR5Kq8h4= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 12 May 2021 11:42:42 +0200 From: Michael Walle To: Johan Hovold 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 In-Reply-To: References: <20210511200148.11934-1-michael@walle.cc> <20210511200148.11934-4-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <875e14fc65df5612f9bee6aeaa33b2a2@walle.cc> X-Sender: michael@walle.cc Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2021-05-12 11:25, schrieb Johan Hovold: > 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. Sure, sorry. >> This is a preparation for sysrq handling which uses >> uart_unlock_and_check_sysrq(); -michael