Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4063944pxk; Tue, 29 Sep 2020 13:20:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznIp1aGvdv0UujKl1fahLtaV3rLr8xlAa8NN5EAWOGBBuZOMGzI0UXLIoYzZb0xKytYlpA X-Received: by 2002:a50:c94c:: with SMTP id p12mr2485314edh.182.1601410813292; Tue, 29 Sep 2020 13:20:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601410813; cv=none; d=google.com; s=arc-20160816; b=vd4IvPMSESKFH5jzBvYXuyxRijrJ1TQYkNYlAoFTh01c9tfhljn24rtlgZo999XQqg oJsYA10H6i6TuD3YrOVXcVKnCnLV4FeP9xjxOuT/81y443Isw0mCJkPfJsTkSuZMQvUj n3G4Qe6JypEKJnbTNynol2jwcC+HcKxaxzpPN/Mx6sZfTsIoZgUbEJdntSGLmWdzTs1c 5JPsGyE6voSOqIsdiL0UxowfELQGCqfMJQd7pEVjqQ3EPdY3jEyWEnfo9utMH5xIEwlb eHdSCXdPHZ/D1BWhdDxnGAtE5Mlr2P9N9DTul0Q4aSngPv53TlfboB4KAfRLEbIlrTCQ rjJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=Pj/AnET6K2ikj6QYuS+2QSiV5RX6buJM7xQj08RtiL4=; b=b7y0NF0C6OTkQdy1GFiiNkiHbUq72TDJyWIwbMsWcnHhzjPY1XKt06riz6W9eqgFA3 2IUCSlFAZWVLoRQ6rDGi7durykoC6s6OaoPGPPM5XtPVBeHlTaaWGdEqzVLeYUZaWMwv HsxwoBmlSRsn1iCZSMQUxfwwKe2l/N4ajP5jp9QmFogMK3q1c5du3Z6K4e5XFw+4foLF 930fnJ71ksT6S+94T0544rJi6Td6Li2/44A0LABW1EsreVZS3L4RUidPQhkp0vP0X9IE tEM0Py0JNpu+i0Rj8OpNJvmZttyqs8ZaynIEJL4JDFASPeFtzEVKooyrsBESQg9pb/Yg ooTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=eBbWH0Hv; 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 h16si3621470edq.10.2020.09.29.13.19.50; Tue, 29 Sep 2020 13:20:13 -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=eBbWH0Hv; 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 S1729125AbgI2USL (ORCPT + 99 others); Tue, 29 Sep 2020 16:18:11 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:48276 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728396AbgI2USL (ORCPT ); Tue, 29 Sep 2020 16:18:11 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1601410689; 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: in-reply-to:in-reply-to:references:references; bh=Pj/AnET6K2ikj6QYuS+2QSiV5RX6buJM7xQj08RtiL4=; b=eBbWH0Hvtgziun5H3+8oJajDinjb97RPHGA+sr06/dpXffEcYW2CQB37ZG4hqMmqFsTJ78 xVa2/DzupJd5PkkKPHeIpISBG/UCmAfrdFkdRAUf/fDACAtqId/j2w3x2mDRgChBREmitG JXybAF5NZoobS/mLJLej2Ha/8ZE5Xjlo2FSsdS+zlY3Oc0twCw/KDGNLdeOHal+nZXol3W b7fu+OXS7KfcamW+ogOthJ2e8Qa+qF2X4CE5rvIQvbTlVhIYXb4nIEjaVw6d3wubALlrQR oqqWNNa2fngQlsMsiY+TY1CIZ0vnMYSg0QBOqzbRQj94ShKjdKvfENB+jb51zQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1601410689; 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: in-reply-to:in-reply-to:references:references; bh=Pj/AnET6K2ikj6QYuS+2QSiV5RX6buJM7xQj08RtiL4=; b=ZM7olWDrYZ03zI4j64JvJZYVqN5qowG2/msK44+4vSnXjch3U9qL72KmYt+vlOQvkA18+t y2nYA8F/swV4hMAw== To: Maulik Shah , bjorn.andersson@linaro.org, maz@kernel.org, linus.walleij@linaro.org, swboyd@chromium.org, evgreen@chromium.org, mka@chromium.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, agross@kernel.org, jason@lakedaemon.net, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, Maulik Shah Subject: Re: [PATCH v6 3/6] genirq/PM: Introduce IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag In-Reply-To: <1601267524-20199-4-git-send-email-mkshah@codeaurora.org> References: <1601267524-20199-1-git-send-email-mkshah@codeaurora.org> <1601267524-20199-4-git-send-email-mkshah@codeaurora.org> Date: Tue, 29 Sep 2020 22:18:08 +0200 Message-ID: <87zh58ibgf.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 28 2020 at 10:02, Maulik Shah wrote: > An interrupt that is disabled/masked but set for wakeup still needs to > be able to wake up the system from sleep states like "suspend to RAM". > > This change introduces IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag. If > irqchip s/This change introduces/Introduce/ git grep 'This patch' Documentation/process/ > have this flag set then irq PM will enable/unmask irqs that are marked > for wakeup but are in disabled state. > > On resume such irqs will be restored back to disabled state. > > Suggested-by: Thomas Gleixner > Signed-off-by: Maulik Shah I assume Marc will pick that lot up. So: Reviewed-by: Thomas Gleixner