Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2017911ybc; Wed, 20 Nov 2019 07:41:20 -0800 (PST) X-Google-Smtp-Source: APXvYqwssqsjv2vGTDT5Fy8C5tXp3NGFiW+Jj59m05gA5E8Y8mEuGK9oEIaSn5RdHztHI9jOeA9E X-Received: by 2002:a1c:6588:: with SMTP id z130mr3690767wmb.87.1574264480511; Wed, 20 Nov 2019 07:41:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574264480; cv=none; d=google.com; s=arc-20160816; b=UPj/7tHxUyQ96vxknHBwfEGs+vO8hrGQQs4iYIlHoVH7gqPQ8r805fyPejvupoyMi8 GOqcC778rEAg6u8NBu4cMjefeF4yW+js2csVMmi/HC6CaYlXjWfve/9KdPmO0J2nV5Nf sIWGdBJwinsXbo53+g4J7rvbIfVucLuIlUNTSTl5li7f7nUgJxOdiWouHyIXN3I9Qh+H UfioFc4m4ViVgBJOYCy+xAMhkaWM+sm/cGdDoqtXQuIE7JhDllZkoeM1iQLuzg/YN6+q Gwe9MHa17t89t0O9ePw4gtlLTnpzI8AvqBOfj9txSSVGDK4oHdW72fN/oykIl803qSE+ MG3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=uNoucs3eIVbC+431sBDExAhcfLiOKY+ZgTwFIsnnuPA=; b=iRMrQ6y8jvQNkANKo7mfnk3pMJEsLyuP7YCE3Iv06UjbmaZ+pPCzgrA0n5xIONJEKH 8l0OZyLPDVH6EKvJMzlWIVriKA8PN75SpqnMZNLrb2Ne1MnXld+g+Lc0uvomxJxa23gQ huGLWFFDamN6yQ+3Dti7X6BvOhB2mJWZtGsD+gvtdn0boTcp9E/gNeVR5pbDlSkXGX8Q 4/AIMySv0O6R51hW5/wdOVijJhHaYVaYI3RtK3mCuv3iK8NcdOFOs/sn7NVB7wf5+uc4 WkpOd7A1mShyPj+ZF/BS7iah4tiqyGSt10HaAOGHrs32ot2TQrhHv26qP7xtQ9vONIic 1nUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p17si16866596edm.269.2019.11.20.07.40.55; Wed, 20 Nov 2019 07:41:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730294AbfKTNV1 (ORCPT + 99 others); Wed, 20 Nov 2019 08:21:27 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:56758 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730216AbfKTNVS (ORCPT ); Wed, 20 Nov 2019 08:21:18 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iXPut-00075R-16; Wed, 20 Nov 2019 14:21:07 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id ABECC1C1998; Wed, 20 Nov 2019 14:21:01 +0100 (CET) Date: Wed, 20 Nov 2019 13:21:01 -0000 From: "tip-bot2 for Lina Iyer" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] irqdomain: Add bus token DOMAIN_BUS_WAKEUP Cc: Stephen Boyd , Lina Iyer , Marc Zyngier , Ingo Molnar , Borislav Petkov , linux-kernel@vger.kernel.org In-Reply-To: <1573855915-9841-2-git-send-email-ilina@codeaurora.org> References: <1573855915-9841-2-git-send-email-ilina@codeaurora.org> MIME-Version: 1.0 Message-ID: <157425606157.12247.11399374334124634860.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/core branch of tip: Commit-ID: d46bca2b5d06cbb5f3e66945080f275bcfab7181 Gitweb: https://git.kernel.org/tip/d46bca2b5d06cbb5f3e66945080f275bcfab7181 Author: Lina Iyer AuthorDate: Fri, 15 Nov 2019 15:11:44 -07:00 Committer: Marc Zyngier CommitterDate: Sat, 16 Nov 2019 10:18:52 irqdomain: Add bus token DOMAIN_BUS_WAKEUP A single controller can handle normal interrupts and wake-up interrupts independently, with a different numbering space. It is thus crucial to allow the driver for such a controller discriminate between the two. A simple way to do so is to tag the wake-up irqdomain with a "bus token" that indicates the wake-up domain. This slightly abuses the notion of bus, but also radically simplifies the design of such a driver. Between two evils, we choose the least damaging. Suggested-by: Stephen Boyd Signed-off-by: Lina Iyer Signed-off-by: Marc Zyngier Reviewed-by: Stephen Boyd Link: https://lore.kernel.org/r/1573855915-9841-2-git-send-email-ilina@codeaurora.org --- include/linux/irqdomain.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h index 583e7ab..3c340db 100644 --- a/include/linux/irqdomain.h +++ b/include/linux/irqdomain.h @@ -83,6 +83,7 @@ enum irq_domain_bus_token { DOMAIN_BUS_IPI, DOMAIN_BUS_FSL_MC_MSI, DOMAIN_BUS_TI_SCI_INTA_MSI, + DOMAIN_BUS_WAKEUP, }; /**