Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1173855pxk; Mon, 31 Aug 2020 11:50:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwwx7FxOMg5ylaxIfX+pDrIKNR1gP8HqOUdErt48k1m4i+RkAS8z09dQeCqtpWbIT8HPMA X-Received: by 2002:a17:906:9591:: with SMTP id r17mr2340982ejx.424.1598899801151; Mon, 31 Aug 2020 11:50:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598899801; cv=none; d=google.com; s=arc-20160816; b=Zpiu93DtNCU0G25qZqHzeAOAXFk4oLpM8RxAWextr9XbbwXm/ENoyBoisjeM63SpNl kfxFqbmbBrK1oDrRnm3kwQAiMIWGli+8ROSLyBWpLQgBybFhTC6eALIY6KqQWVMBkapw aoVAb8089rr8i0fjgmEsc3FR7jadiPiAQt1WYzoGA25s9hbL1qGFs3LL6H+bp05bLcG5 VoWsOTFn81bCePoz7h9yKxDhIPKMnZGbhIG+nngDzGjkErpqBvqMZSPfyBopyapJACix fUa7DsrKr5R0SQ8bkrXroMiVz3DC2txQ9CEMDkl8TNDEcxdsDenWJA/OBKjRHvh+SEYj etQg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=c6QYBdNOp5Yyu9XTq8m5IspiS+avSM+l3xplZZRnIo8=; b=UeTwT13EEyRVEsRk7HnGv58WNeqNiCaPVxMzYeMwGpqUMQhy2GAvd1Eo3619J3C3Ep Frg5wKaXgvGTBbNubMOXdbJHGRMwQnasfTY1Xl9hsXlzbpb4t+aLEiwb44wqNIbGMdQj gKWGItFjI2zjo7FR3KvPEQkmftUUDUbssV8hGKzwKgynPuEhb4ZBDRlpaWd+XvA/uTAY QYUiTUJQPHjD9cEvPijLm3vMsNjfDTjp0lXcLkY2DpDFY7UcfjqTdD6otK5NRYoQtX3I o89DfBIbqTK8QW/IwF9poVZMS+RB6+pdxrnX098fddh8PT9rS2WD0C6pOvnD0cywgrML GX3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=z1S2WPVi; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by16si838131edb.294.2020.08.31.11.49.38; Mon, 31 Aug 2020 11:50:01 -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=z1S2WPVi; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728621AbgHaPaY (ORCPT + 99 others); Mon, 31 Aug 2020 11:30:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:39258 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728572AbgHaPaS (ORCPT ); Mon, 31 Aug 2020 11:30:18 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3184020936; Mon, 31 Aug 2020 15:30:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598887817; bh=x2ZL+9z3yoSFuBrSRbMbhuMdewZjuNnz87joNEjtnKk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=z1S2WPViwO+9R9v7+6iY6J5FIryhTWCP+3jJ8VkJ+ZWgxwIUXgld1YJsHinSZMX87 FVj1pb4ALZ2CxujurIBz7kufboRygKh4O1UGQtc5lkB3hA+VcyEKNLHDnBQHAmkTTp ZwzHiCnwI5LfkgSNCgTBVL1Q9RLkePx4pImbqgEU= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Paul Cercueil , Marc Zyngier , Sasha Levin Subject: [PATCH AUTOSEL 5.8 29/42] irqchip/ingenic: Leave parent IRQ unmasked on suspend Date: Mon, 31 Aug 2020 11:29:21 -0400 Message-Id: <20200831152934.1023912-29-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200831152934.1023912-1-sashal@kernel.org> References: <20200831152934.1023912-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore 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