Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4186392pxk; Tue, 8 Sep 2020 12:58:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfApqBF3gquXSRQR1B4gaxkrw3t9c2RdXH2jy6scz10x97UVr72Odn7WzRn1QqFueime5B X-Received: by 2002:a17:906:3494:: with SMTP id g20mr102580ejb.486.1599595136393; Tue, 08 Sep 2020 12:58:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599595136; cv=none; d=google.com; s=arc-20160816; b=xMPq14H6fgDPmnCBzqzNY4xs0rX9HtfvheNFUQYTxDiilpIe50uN0IW4XCtX0RyrsV EbR3W585da9RsSnb+aXxYD8m3FCcsEKvwrTm7wnfYiQwITscEEa0CeHDecSZH6kTWTII vhtqBf92J5z4pFXaVyqt7wISKjw67+8OPQlcxkSmC3CivCnIfb3+O4pVLFNkJvDFYkGq 4vDcTfXFPT1boVUWqU9QqsSEQGQ+tGO+vr7QoDcYcw1PYlAZTZ5T4WhRQOd66ZsvQ+42 umj7xkSncnvE0xquj2xRQkxVXxKbpn0upJpL8ezDZv/KrY/nyfKJmSMWzMMxyFGoScwS Pu4g== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=c6QYBdNOp5Yyu9XTq8m5IspiS+avSM+l3xplZZRnIo8=; b=Rh169i4tZlwQLER6aCYIfRTwDFkuuTpoHVK+ZUoGryrg62Tb3p+ywCijutOWMDZZBo 60nT3tletPX626zPGU4PbBHdErh/oT+CDNFx+2Uagy91m+nu8PIrx+40lWjzv/9PhGT8 GOsmWo2VujpmyykFGW+Bab1pztb9+hS3g+cNmkBNtpV8Cd39uf+IX1tP5AIMHetpHRSU VmvZupl2MdKiCKmXCwfiXPgdtxAMI94FWEEg0hkELP0QBbiKv6TciK+FuUPNO9h61DBc zxkO0T+D1wqJDIs1DEopzXEv2YiIaLgViEvpPROSdipQKrIMuavW4nFV7Sd4bIjBgG/V NzLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=nEwdlOp5; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si38073edv.594.2020.09.08.12.58.33; Tue, 08 Sep 2020 12:58:56 -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=@kernel.org header.s=default header.b=nEwdlOp5; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732548AbgIHT57 (ORCPT + 99 others); Tue, 8 Sep 2020 15:57:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:60648 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730554AbgIHPfu (ORCPT ); Tue, 8 Sep 2020 11:35:50 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (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 86E8E22574; Tue, 8 Sep 2020 15:35:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599579311; bh=x2ZL+9z3yoSFuBrSRbMbhuMdewZjuNnz87joNEjtnKk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nEwdlOp55irkDpVXzVxRSBrLbgdBgxtEY2TnGjziiXcOIogy2Y8McUN1E9pOFT+XN Td7DMctcsmesQ6v7HoKKpD88DqO6E8fRi/3FnaqCyTvEV80zC0F7G0VguGHmfk5nMi XVMuzfjlP6Cd4elazCP284ltH0CoEKga3lBBBaa8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Paul Cercueil , Marc Zyngier , Sasha Levin Subject: [PATCH 5.8 025/186] irqchip/ingenic: Leave parent IRQ unmasked on suspend Date: Tue, 8 Sep 2020 17:22:47 +0200 Message-Id: <20200908152242.875259657@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200908152241.646390211@linuxfoundation.org> References: <20200908152241.646390211@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Paul Cercueil [ Upstream commit 821fc9e261f3af235752f46e59084467cfd440c4 ] All the wakeup sources we possibly want will go through the interrupt controller, so the parent IRQ must not be masked during suspend, or there won't be any way to wake up the system. Signed-off-by: Paul Cercueil Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20200819180602.136969-1-paul@crapouillou.net Signed-off-by: Sasha Levin --- drivers/irqchip/irq-ingenic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-ingenic.c b/drivers/irqchip/irq-ingenic.c index 9f3da4260ca65..b61a8901ef722 100644 --- a/drivers/irqchip/irq-ingenic.c +++ b/drivers/irqchip/irq-ingenic.c @@ -125,7 +125,7 @@ static int __init ingenic_intc_of_init(struct device_node *node, irq_reg_writel(gc, IRQ_MSK(32), JZ_REG_INTC_SET_MASK); } - if (request_irq(parent_irq, intc_cascade, 0, + if (request_irq(parent_irq, intc_cascade, IRQF_NO_SUSPEND, "SoC intc cascade interrupt", NULL)) pr_err("Failed to register SoC intc cascade interrupt\n"); return 0; -- 2.25.1