Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp161490imm; Fri, 10 Aug 2018 09:10:55 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxG0zYZFlwIU6nbpraaQXxKSEnzJ1+kRmIhuwviSvy4YqD78jdXs0LEgKGZ//gbvVvhUFnS X-Received: by 2002:a17:902:7088:: with SMTP id z8-v6mr6608012plk.303.1533917455425; Fri, 10 Aug 2018 09:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533917455; cv=none; d=google.com; s=arc-20160816; b=oaI1xl2CZ2bacNTn6b+IJvcJPhqZabNfp5d04V6dt5nh5eedqEium5jxWBu1irnFb3 3RkuslP7F913TtM7y/z5SGBvFYihACG3hjUwm/0+0dbl7MW27eY8rVK3A/JVK4ZHApjI MZ9aIY9Uep59zejITW80n99pWg8g1e98hoXkt1N6rTzvLb1ENJM35buNKoGmQd5Vph74 FK0VL5BnNvayw6OWKC1XHPa+2FkzeAg+xWOSUFL1OVkhDtm7zS3SoT+Vv1xAD8A0xAOk /N8oTtTVx0GT1NvsB084WuiHOvlpL8y1lFTHZ9ROKV7U4YKLDylkClyG4l/YCWmhS8bL 5ILg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=RzBJh2pCesdUeThBNw6Tgs3r6tBnzuw7rOd88a3tkVs=; b=e9lH7mV09g7M4+oxyihfQ7ii/gTP25pQnSxJnrm/3jxK1w1PjscGRIXHZWaFXZTnul 5jeNeHz+Jfrzf5R1gSWhHJvhA6mSuhb8Hz0N/+TfYW+PEtpUn1ZBZzkUeF8I1wXXuUzl iN8cHIxghjwoXsIzteFBRe1T4bY+wsPJt2Bq+LLbbQaILvBIZOKgisPaWuqzcuL2lusD zwsiXE8U1b+dlEMx3wwY6IiVd+L456r+L+WR0FQOSwCBiv7nj63s+lgfrtKA2QQSDKq0 TbF16oGCFnPUr+ykEaPBTf141P7elH9aEOLBqLzhA1PWzj39qGpuJiE14fhkIZOxpQnx wlxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eIWlKhBm; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 32-v6si9682424plf.0.2018.08.10.09.10.40; Fri, 10 Aug 2018 09:10:55 -0700 (PDT) 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; dkim=pass header.i=@chromium.org header.s=google header.b=eIWlKhBm; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727666AbeHJRgr (ORCPT + 99 others); Fri, 10 Aug 2018 13:36:47 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38806 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727432AbeHJRgr (ORCPT ); Fri, 10 Aug 2018 13:36:47 -0400 Received: by mail-pf1-f194.google.com with SMTP id x17-v6so4664970pfh.5 for ; Fri, 10 Aug 2018 08:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:content-transfer-encoding:to:from:in-reply-to:cc :references:message-id:user-agent:subject:date; bh=RzBJh2pCesdUeThBNw6Tgs3r6tBnzuw7rOd88a3tkVs=; b=eIWlKhBmzgpWrTPuxeJ7JKmpLZmIUC4lGzns/FkNCpCaq1HSC49Nkm+Q9G8w3XYyi9 jbI+LHwz9LrKKqlgOSZ2G/XXOkp7t89/S55edk+9HBt7n/W8MUC7tfA/yc1oMl7k1tHk ILkqzdlhZOL90r5Ha0cyGOLV0bv0cSKIujTGI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:content-transfer-encoding:to:from :in-reply-to:cc:references:message-id:user-agent:subject:date; bh=RzBJh2pCesdUeThBNw6Tgs3r6tBnzuw7rOd88a3tkVs=; b=o4tzqtjsqsmmvVMj5A6A1diE4kbvztoW3fetuiYKTzNsuh9amLNmo2RZu+3I+aSmeq Wm/v2esUEwOfmuIdIpXE9Ccen1/nxOA3wznA75l87TKJyNKPzAYOyOxcR4tkRuciL8qh n8I8WcnjQqB5hs3oOvzHm4iLyiRwwWv40UDy4074pmFuTGgh11l6J69RUHeT+FJ2bl6X QJRxF1wh+e8Q8htIMeGWxLkJapeZxCEm4gQDzSkOLrNYQiMFjPxvWNeGZkE1Dd07Dpnj gRrzH8sdMkPf3YMj/fIJML3SBnqY8muvwxneomzZiyhmQ7miZdkD9ivCNn34kOzbNo71 fZLA== X-Gm-Message-State: AOUpUlE1/v1ZSUlm+DxrOKOwTNEV6UFtqlaaLG25x5YuNSLFDbRLRp+m vVf+Ip6KWUHcsSeW/6dpWTu0gg== X-Received: by 2002:a63:e318:: with SMTP id f24-v6mr6729153pgh.175.1533913592167; Fri, 10 Aug 2018 08:06:32 -0700 (PDT) Received: from localhost ([2620:15c:202:201:7e28:b9f3:6afc:5326]) by smtp.gmail.com with ESMTPSA id l71-v6sm17976327pgd.70.2018.08.10.08.06.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Aug 2018 08:06:31 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Marc Zyngier From: Stephen Boyd In-Reply-To: <86wosypsvr.wl-marc.zyngier@arm.com> Cc: Lina Iyer , evgreen@chromium.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org, rplsssn@codeaurora.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, rnayak@codeaurora.org, devicetree@vger.kernel.org References: <20180801020021.9782-1-ilina@codeaurora.org> <20180801194538.GA6422@codeaurora.org> <86wot9wb9u.wl-marc.zyngier@arm.com> <20180802065104.GA27850@codeaurora.org> <86sh3xw7m9.wl-marc.zyngier@arm.com> <20180802125827.GB27850@codeaurora.org> <153370830708.220756.4595316550560511917@swboyd.mtv.corp.google.com> <20180808072632.21f076b6@why.wild-wind.fr.eu.org> <153383585322.220756.9422019201626837843@swboyd.mtv.corp.google.com> <86wosypsvr.wl-marc.zyngier@arm.com> Message-ID: <153391359077.37448.3410612264580038499@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH RESEND RFC 1/4] drivers: pinctrl: qcom: add wakeup capability to GPIO Date: Fri, 10 Aug 2018 08:06:30 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Marc Zyngier (2018-08-10 00:45:12) > On Thu, 09 Aug 2018 18:30:53 +0100, > Stephen Boyd wrote: > > = > > Quoting Marc Zyngier (2018-08-07 23:26:32) > > > = > > > Level interrupts should be taken care of without doing anything, by t= he > > > very nature of being a level signal. > > = > > Right. I suspect we'll still need to configure the PDC to actually wake > > up on the level triggered signal though so PDC needs to be told to > > unmask the line. > = > Surely this can be done at suspend time with the PDC driver tracking > the interrupts that are configured as a wake-up source (although it > needs to track an interrupt that is logically connected to the TLMM, > which sucks). The PDC also needs to be configured for wakeups from deep CPU idle states where the GIC and TLMM are powered down. Lina, can you confirm this? Hooking system suspend in that case won't work. Is your hope that we can avoid using hierarchical irqdomains here entirely?