From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3FDEC433E3 for ; Sat, 25 Jul 2020 14:23:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A29062070E for ; Sat, 25 Jul 2020 14:23:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595687031; bh=gHxfx7OPA5x5BkafsPOgmHBkYQoEY8AtzlacoZATrgI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=CHhoKFXWA3OuC3jrHqkeQ2IK8fVPdHGxrNr/dhUhWCtyTOkUNuKyyjLChKYz8prR3 MO0FBPtfVEAKWwiDuWTQdMV5R2SzxyqNFHhAr64JyL2DGxoIktxV7kVoGis1Kxxliu iLz6KdvGcAJblxW/twnV3Ijk7Wu3B6m7M8DjZxPk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727107AbgGYOXu (ORCPT ); Sat, 25 Jul 2020 10:23:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:41970 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726652AbgGYOXu (ORCPT ); Sat, 25 Jul 2020 10:23:50 -0400 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (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 B0680206C1; Sat, 25 Jul 2020 14:23:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595687029; bh=gHxfx7OPA5x5BkafsPOgmHBkYQoEY8AtzlacoZATrgI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mIY3s6DgqCJR2qfz8vcX2kJNJyqa2lni/ckRLWoCpJnVdyurtu2fhvgfsEcaSNMQB Ol3h0U3qH+GlX8O6Pjjac6BEDawEUChJ2GdTt6TZ76Udy654eqiOud+XfR5Qe9kMe9 /5vpJDxMeqLeQYM8P52aY++l+FmyAkuaMihkkE4Y= Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=wait-a-minute.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzL5Y-00Er45-96; Sat, 25 Jul 2020 15:23:48 +0100 From: Marc Zyngier To: Jason Cooper , Alexandre Torgue , Thomas Gleixner Cc: linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, marex@denx.de, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2] irqchip/stm32-exti: map direct event to irq parent Date: Sat, 25 Jul 2020 15:23:31 +0100 Message-Id: <159568680935.564881.645108348883393903.b4-ty@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200717140717.29606-1-alexandre.torgue@st.com> References: <20200717140717.29606-1-alexandre.torgue@st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: jason@lakedaemon.net, alexandre.torgue@st.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, marex@denx.de, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 17 Jul 2020 16:07:17 +0200, Alexandre Torgue wrote: > EXTI lines are mainly used to wake-up system from CStop low power mode. > Currently, if a device wants to use a EXTI (direct) line as wakeup line, > it has to declare 2 interrupts: > - one for EXTI used to wake-up system (with dedicated_wake_irq api). > - one for GIC used to get the wake up reason inside the concerned IP. > > This split is not really needed as each EXTI line is actually "linked " to > a GIC. So to avoid this useless double interrupt management in each > wake-up driver, this patch lets the STM32 EXTI driver abstract it by > mapping each EXTI line to his corresponding GIC. Applied to irq/irqchip-5.9, thanks! [1/1] irqchip/stm32-exti: map direct event to irq parent commit: 99e05524bc722c8d3c1ab9c817afcb6829dbded3 Cheers, M. -- Without deviation from the norm, progress is not possible.