Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1054784pxa; Sat, 22 Aug 2020 09:19:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrFGhgUki1zdnDg54JFMgyba0GCEoJy8MBzsOZ1w/3DcfcVICdXR8HNiX8G3G+pOCwVXQC X-Received: by 2002:aa7:da87:: with SMTP id q7mr7679289eds.166.1598113174867; Sat, 22 Aug 2020 09:19:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598113174; cv=none; d=google.com; s=arc-20160816; b=Wp6x/tCPvo0g78MdtiC1rxwa0dNHSkXnf1D1jI1pbaHVgZ919vmrKYqIwOoRrt8u3V EmjXiOqVMegyM+RIoDbF9RZn40VYZ/3vmpafR4ymiHazJydCmvB0QIjNlvBJMdeiwF6m TzvtWjCJ0pMxLjCO8mV4L73bBl04mPvPlQ9MyZyyCOkCw7x6j3tnf79VMzCbES1PjT1W U7q00HPJ+T48gBd5s2xcZtbVpYCUlhcsrxZX85Iot7TVRAeHN8iPIj74YIXoBr/qisk+ LmQnT2ai3Ac8RO9oogT4q7HcofzGs6B1O5mF4lwgp63VLDm7F0JLUhqdex5Imps2FOPo r1rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature; bh=vN/+a4AwSccacld7HquNcB9hFyaMzUXcSWHTfwH8ZuI=; b=wMuX0oq3cfBPj02Sv+sbXxzSwWoGyS9ToyrOhA9FzRCiA/0G0IFAcBOYeDMl+B3lg1 0lQ4RaU3373/A+tjIlIxcBaV6Zalw4L1P61RtM2FS4/M/i+MoktwTna9B5KOGAQijxA7 pKeid4WJlyvKTSdTntX0LOyG6gex1ExnsI/zAuVMB0bzBRVpvP6kdBgvAlywyaU1kXbX 1p1th9RpbEGPQ5JdAgkHqWCNxnTdSSoiuqu6msz5Fr3aVzQYzJ5U4CTGn+rE26HfjFd3 dWxGQ/ZV53jXW4JKlFivfA4eWnCyp3QblFaPqmt0H7Cyj2B6loJwCFrC1LrNdtT1LeJb IrWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=DlNp5TTi; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o6si3363821edv.566.2020.08.22.09.19.11; Sat, 22 Aug 2020 09:19:34 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=DlNp5TTi; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728494AbgHVQSD (ORCPT + 99 others); Sat, 22 Aug 2020 12:18:03 -0400 Received: from mail29.static.mailgun.info ([104.130.122.29]:38689 "EHLO mail29.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728453AbgHVQRz (ORCPT ); Sat, 22 Aug 2020 12:17:55 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1598113075; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=vN/+a4AwSccacld7HquNcB9hFyaMzUXcSWHTfwH8ZuI=; b=DlNp5TTi7T3mvfK8wpBl0YFxFFP7laxCjrPT+eNzZdZcjpKh2r4Ckj5DIkTi+YMqVrJ6ogO2 47T9TB4veh6U4DmQQ5IzBngX3unulEyydAu5BOanr0HfChcjHQfwiv5McOAecUIf3/xJu/bJ CZC8lk7ii0A5rSCJCU7HmEn79ns= X-Mailgun-Sending-Ip: 104.130.122.29 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-west-2.postgun.com with SMTP id 5f41452952709f547604e13d (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Sat, 22 Aug 2020 16:17:45 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 7E971C433B2; Sat, 22 Aug 2020 16:17:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mkshah-linux.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mkshah) by smtp.codeaurora.org (Postfix) with ESMTPSA id E4D34C43395; Sat, 22 Aug 2020 16:17:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E4D34C43395 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=mkshah@codeaurora.org From: Maulik Shah To: 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, tglx@linutronix.de, jason@lakedaemon.net, dianders@chromium.org, rnayak@codeaurora.org, ilina@codeaurora.org, lsrao@codeaurora.org, Maulik Shah Subject: [PATCH v5 5/6] irqchip: qcom-pdc: Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag Date: Sat, 22 Aug 2020 21:47:00 +0530 Message-Id: <1598113021-4149-6-git-send-email-mkshah@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1598113021-4149-1-git-send-email-mkshah@codeaurora.org> References: <1598113021-4149-1-git-send-email-mkshah@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Set IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND flag to enable/unmask the wakeirqs during suspend entry. Signed-off-by: Maulik Shah --- drivers/irqchip/qcom-pdc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/qcom-pdc.c b/drivers/irqchip/qcom-pdc.c index c1c5dfa..052a20d 100644 --- a/drivers/irqchip/qcom-pdc.c +++ b/drivers/irqchip/qcom-pdc.c @@ -207,7 +207,8 @@ static struct irq_chip qcom_pdc_gic_chip = { .irq_set_type = qcom_pdc_gic_set_type, .flags = IRQCHIP_MASK_ON_SUSPEND | IRQCHIP_SET_TYPE_MASKED | - IRQCHIP_SKIP_SET_WAKE, + IRQCHIP_SKIP_SET_WAKE | + IRQCHIP_ENABLE_WAKEUP_ON_SUSPEND, .irq_set_vcpu_affinity = irq_chip_set_vcpu_affinity_parent, .irq_set_affinity = irq_chip_set_affinity_parent, }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation