Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp70566pxb; Thu, 12 Aug 2021 11:00:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy91mIAXR61oc6th5bVRpYo8rQ7WGbA8zulrmOLTXrwg+8w1gLzQ5t/mlDVMxJC2ZgTjD91 X-Received: by 2002:a17:906:3812:: with SMTP id v18mr4862184ejc.399.1628791236733; Thu, 12 Aug 2021 11:00:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628791236; cv=none; d=google.com; s=arc-20160816; b=GdH+8ngynVgyruhn+JZylVxI45lX0abkrm+iB7GM0Q98Pzy6pm0c5EISSktiZTBFGp K8WYHK/I0TLltrKnmdJ+BnJNDdjmwQCMcIQV4xHuzBeeoGRXdw3OLTTEN8bIMmQ5F98L +PTGO+D9V2Q83yZF2TgSQ+fepH3kSY3BeQ9+USxwWwOQi6UKJhNYtEHKGp6W4210bpPG ghXKamwXO1SuU721p9GsS5hOdlNXY9YXiPI1i6DJPXoY3kXp1uCt2QcMyKCQHNZ/DQ0m Qbg9DWgyAecT3uQFFO1qQCjkzeav3R6vx+IUsF1jk9X6EWbXr6Eg9wYXG73mT3K+RWRV qQwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=W9zD7qsU6xCiIp3ij/D4IVVbD/VnOOH/3efjUA33Y2w=; b=CLC4/qEO1aPsD717FCwi3cqAseJC2HPy/0A1YFdEPiZBMel6D1KRBR2VHV4Nw2cJjb 6S4JC7c8PyGlpZUrSWze+7P0TdUJTJbkXbmJRxQ3QoCWaHTczwr0bl2TRFdybHEAkw+5 0STr92YOewh5E5fTvMU8oZvxMVljhHVO1z+dkseFbrKLfG9uP1YVpGapDe9zu/cYQuU2 g5oTwXcamK3VOWrNZ2WiwZHTHBGnnz/0ACmlCnVR0fqMEKc6dwRTL04iopFo8cV4h7Gy sFJ7IKxIdwLaj8EUA+tume2Xsx08bQw84dd5cCUx6SuRh5c2mbXmwJBUwfmQ79y5UzVs 5ngQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=kztLoXQJ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nd15si2680773ejc.463.2021.08.12.11.00.12; Thu, 12 Aug 2021 11:00:36 -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=@linutronix.de header.s=2020 header.b=kztLoXQJ; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238434AbhHLPNv (ORCPT + 99 others); Thu, 12 Aug 2021 11:13:51 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:59138 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237876AbhHLPN3 (ORCPT ); Thu, 12 Aug 2021 11:13:29 -0400 Date: Thu, 12 Aug 2021 15:13:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1628781183; h=from:from:sender:sender:reply-to: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=W9zD7qsU6xCiIp3ij/D4IVVbD/VnOOH/3efjUA33Y2w=; b=kztLoXQJQAzQ8SC+r3wWYaycqrrL5rx2XHYPSgKyHdEmcmYuEMOv1zCiDwF3hVQyp10j4o WGBJASRsXwXxYKKIDcw5gPLfL56fPccjOhGNGjk+fQZJFvKsC9rnuoyc5hqCpC3tlqBpxJ d1weDyznTsBfQ6rOIUGGZPtmMy1jf7mbm+WnMPrnxCY0Er1iUB/mLca8aPeOq2xoJzscHc ne8IUKHbx20NRUCtHxbimFDSTrOJxa63zl8PHCfJP7j5zAy6UdP1rLt3XTrKg23ibP3+py /40CdKU3iwYB4Iq/DeckF1x5rK3nZadXKkq0SZbwM+/WXhKyQgfzjOa6O+xOrQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1628781183; h=from:from:sender:sender:reply-to: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=W9zD7qsU6xCiIp3ij/D4IVVbD/VnOOH/3efjUA33Y2w=; b=Z9j1tXWU19Bb0XFbUeVQXRC8EV97qOb7kiS2oNcKC7CZ+/e92vA1H7rwnt1Lbt/NYrbkWl C9fN01uiBtaSnCAg== From: "irqchip-bot for Valentin Schneider" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] genirq: Let purely flow-masked ONESHOT irqs through unmask_threaded_irq() Cc: Valentin Schneider , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20210629125010.458872-6-valentin.schneider@arm.com> References: <20210629125010.458872-6-valentin.schneider@arm.com> MIME-Version: 1.0 Message-ID: <162878118220.395.5938591294324520076.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: a4ea2933cc4581e70203a48c60bc26b69a936eeb Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/a4ea2933cc4581e70203a48c60bc26b69a936eeb Author: Valentin Schneider AuthorDate: Tue, 29 Jun 2021 13:50:02 +01:00 Committer: Marc Zyngier CommitterDate: Thu, 12 Aug 2021 15:48:20 +01:00 genirq: Let purely flow-masked ONESHOT irqs through unmask_threaded_irq() A subsequent patch will let IRQs end up in irq_finalize_oneshot() without IRQD_IRQ_MASKED, but with IRQD_IRQ_FLOW_MASKED set instead. Let such IRQs receive their final ->irq_eoi(). Signed-off-by: Valentin Schneider Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20210629125010.458872-6-valentin.schneider@arm.com --- kernel/irq/manage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index ef30b47..e6d6d32 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -1107,7 +1107,7 @@ again: desc->threads_oneshot &= ~action->thread_mask; if (!desc->threads_oneshot && !irqd_irq_disabled(&desc->irq_data) && - irqd_irq_masked(&desc->irq_data)) + (irqd_irq_masked(&desc->irq_data) | irqd_irq_flow_masked(&desc->irq_data))) unmask_threaded_irq(desc); out_unlock: