Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2930484pxx; Sun, 1 Nov 2020 15:56:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJw8vPm/ruCK8e/620A6aZ+Ju/BBUc8ewzeUJMiWOQ0tVyl0wbkdHub8oGLB2iURS8sr5B7l X-Received: by 2002:a05:6402:290:: with SMTP id l16mr12553378edv.104.1604274969293; Sun, 01 Nov 2020 15:56:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604274969; cv=none; d=google.com; s=arc-20160816; b=upecvjl+rz+DvqZBaUmfl8zz6SCkGv8uabXPa5Q/OKlK+VXj0wzZaVkIJEnzP2hV03 uHhu2IhMYdfSeeAYQmeW++DHDTlNoY/zXCpUVPWPFGs1SqKOp+TBJ2kqTP6gex/VAW/Z ZzxaT3djkwgOhAl7JQ6t8Q4+1KmtNadcdM/2UY3KW5yz6fedfi8uuK+TD5GY1ylWNHQM khqYdukdug1V1gtdqJKSU+nBBcL16kbCK+T9QHp4mOtfOE8Jx6+rbsvMBSpfMnQOkZc8 xOK2PqAzXEHZea+tp41uOLjcr5g7GOyj+xu1EEO/C8I545wojJVNO/av54z6rgKrrWx0 F7jg== 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=QkDBsvhGJzMj2icrQV3wqYHEkCaG2aZgcubplu0NCis=; b=hqHqHOCKGcqYbGLr72nPPLaxktk+mX2MvH0c5cvEw/F4HU2POERflM8MbaKhjFUloR QQuKAEPZMXqAekO1kAsYRhGkNno6npwreRVbX9j29Auj1Rh0ULC/zTABjMIAYTYGdOB+ oWAcTL9dQt63/u1o6q6dHzbTENHuNFStlmnB3+2ryGvT4ZTsIWmQaPvFM8qqOsY+XfuE nOeGAAwKZZWXY9Ww4ix2LLae1cGK7xTvM8ScheaziXDfIfpSHeClGWCsefaXPquvmZzx zjyu/KkIkQllNP63y+YJISZP3/I9VAI5s0ZYUHM3/x1a3p9VyTS1xNWdk2NUImW/l87B rtvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uVQ4XeCG; 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 33si7206559edq.238.2020.11.01.15.55.46; Sun, 01 Nov 2020 15:56:09 -0800 (PST) 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=default header.b=uVQ4XeCG; 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 S1727552AbgKAXw7 (ORCPT + 99 others); Sun, 1 Nov 2020 18:52:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:48262 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727119AbgKAXw6 (ORCPT ); Sun, 1 Nov 2020 18:52:58 -0500 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 50FD52076E; Sun, 1 Nov 2020 23:52:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604274778; bh=KoHBMaUwivysyYB5XJPocmNAMiyh3lNe2IVzJBdSTx4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uVQ4XeCGEemc/DLbOu2PF5x/S5hHViwTrD55+BXW4iUEYxUe9UwOhWJ0IZvdyb4Nx +ijP2Ouz3wcLeOFwcowNI8q8eDwQL/VPy8vb8/91dsXTZ3UPrBjLOH9pFApZ+uvcb6 4CCj0Uqt5sDk2XeiAcL3ofDb+SKuwbN13O6Yig84= Date: Sun, 1 Nov 2020 18:52:57 -0500 From: Sasha Levin To: Marc Zyngier Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Zhen Lei Subject: Re: [PATCH AUTOSEL 5.9 087/147] genirq: Add stub for set_handle_irq() when !GENERIC_IRQ_MULTI_HANDLER Message-ID: <20201101235257.GC2092@sasha-vm> References: <20201026234905.1022767-1-sashal@kernel.org> <20201026234905.1022767-87-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 27, 2020 at 08:51:15AM +0000, Marc Zyngier wrote: >On 2020-10-26 23:48, Sasha Levin wrote: >>From: Zhen Lei >> >>[ Upstream commit ea0c80d1764449acf2f70fdb25aec33800cd0348 ] >> >>In order to avoid compilation errors when a driver references >>set_handle_irq(), >>but that the architecture doesn't select GENERIC_IRQ_MULTI_HANDLER, >>add a stub function that will just WARN_ON_ONCE() if ever used. >> >>Signed-off-by: Zhen Lei >>[maz: commit message] >>Signed-off-by: Marc Zyngier >>Link: https://lore.kernel.org/r/20200924071754.4509-2-thunder.leizhen@huawei.com >>Signed-off-by: Sasha Levin >>--- >> include/linux/irq.h | 6 ++++++ >> 1 file changed, 6 insertions(+) >> >>diff --git a/include/linux/irq.h b/include/linux/irq.h >>index 1b7f4dfee35b3..b167baef88c0b 100644 >>--- a/include/linux/irq.h >>+++ b/include/linux/irq.h >>@@ -1252,6 +1252,12 @@ int __init set_handle_irq(void >>(*handle_irq)(struct pt_regs *)); >> * top-level IRQ handler. >> */ >> extern void (*handle_arch_irq)(struct pt_regs *) __ro_after_init; >>+#else >>+#define set_handle_irq(handle_irq) \ >>+ do { \ >>+ (void)handle_irq; \ >>+ WARN_ON(1); \ >>+ } while (0) >> #endif >> >> #endif /* _LINUX_IRQ_H */ > >What is the reason for this backport? The only user is a driver that >isn't getting backported (d59f7d159891 and following patches). I'll drop it, thanks! -- Thanks, Sasha