From patchwork Wed Jul 7 06:20:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 12361831 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1767C07E95 for ; Wed, 7 Jul 2021 06:21:54 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91CAB61C9D for ; Wed, 7 Jul 2021 06:21:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91CAB61C9D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=BqvCsqe+uHQ90YGeeTPWbmXggftHbCxe7kpRiGGCvX0=; b=i/jrdjoUJv7fIO uojGUw3MEc8w7YmAngAy6PkzwSkuxcu1D+eBADEWD5sgFEwAML/BB9yEppBspTPvxnhRph2Gp0M/7 E6s8DRcF33NbTJaNs7lTdZcbp0MWdRwODTAcQ3Ve6hhdPhjgHq4ewNESITQ7knBQYSusEppZ3Y8G1 UT72SsoQg9FHO1KAAKet0vChEXBmQaLy2Ybu6+pkBThRao0DuCi5hE3QM2EoiYgV8BB5aXWrLZweU 8BoyYo4yBqC1iEUwUePKCuA3vtzlxmDySdumrCNbf1+L2ccPv/S6rAmxDmNDYOYHv9dgLqffP/P/Y 9f3Ud1QpsydzdOIu4JUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m10v4-00DeBl-DA; Wed, 07 Jul 2021 06:20:26 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m10v0-00DeAv-4V for linux-arm-kernel@lists.infradead.org; Wed, 07 Jul 2021 06:20:23 +0000 Received: by mail-wr1-x42e.google.com with SMTP id a13so1615973wrf.10 for ; Tue, 06 Jul 2021 23:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=h2fXCkouqdbmp7Z9kcktP6xNq2Is38h9hhTT8ja6vbA=; b=qV6gbaTvUDysv+HSNan2FtngVDQtVQrUXZ/X1dux1FK0m6QFr94lHhiJ4srmN18ykj iYbNH9Vuyp7b27GrhLJMKBgS9PSK+oCyk/g7MADW8F8k6n4+un2nLXDsuYq+i4a9iZUs T9Net+M32qbBZ35Y3AFPS0+UxEreFAABG8cZNRt62qt+FaulDdPnA5iI1RJGXm0Hhp0Y 1JGsjTwgh+CwtiFymOrsgs36RkmsfAQcgQjvyFPXIUbqTanBz2w7uABP29CVh5T3g1Ek 8y8G6ZsTqUTNJHtuZnw/SjH1wUdpndcfLXyaTTJdYvY9OU/EyE4r3CBAY9rZDRc2WORH J8ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=h2fXCkouqdbmp7Z9kcktP6xNq2Is38h9hhTT8ja6vbA=; b=tE6NQGh74n8cRM451PgQxJLRnJ1orD/hgHEul42HQ8ZS+basgPmPD8mayPu76y0VDv wUl3TIrcsPTozU09fYaPuyEt7lNSRRJqxYDnhYuFttM5zkkKsauMohelnCHtVd7BYfIr 9o9rFeZlzrNjopz7quvDTzUeZvnCHATvX9X0/eCD8lcin2pdVojsk1lzgJz+c0BIoVv9 +6ZkecuQvEHsKcG2fhZ0Y7Z2kJrazmYUwmPsF7cULzffkHLacC6y05sZhuRrV4T5yLkx 1KjINoyoAlSqi7Rgv1lDriJ2dcWkPH+q3cTZ6SQzlzLHMufn8GQz2bsRGALZHRctlcC9 ZIng== X-Gm-Message-State: AOAM533jlIkT66oBMU8nH6iRAYXqyBw4sirGtI4bPvQpugHw50xyWGDB nc10vU5IjbBHyMVnKwLTPLY6Yg== X-Google-Smtp-Source: ABdhPJyHZyPpfw9rgdM//da0+Xu1NXtYBTAkrJqPRUpIxzxoXzD1vo5ETbR1R0EfjK52LM0WlppMqg== X-Received: by 2002:adf:ebd2:: with SMTP id v18mr26800136wrn.248.1625638819834; Tue, 06 Jul 2021 23:20:19 -0700 (PDT) Received: from blmsp.lan ([2a02:2454:3e6:c900::97e]) by smtp.gmail.com with ESMTPSA id g1sm5264463wmh.30.2021.07.06.23.20.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 23:20:19 -0700 (PDT) From: Markus Schneider-Pargmann To: Marc Zyngier Cc: Matthias Brugger , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Markus Schneider-Pargmann Subject: [PATCH] irqchip: mtk-sysirq: Skip setting irq-wake Date: Wed, 7 Jul 2021 08:20:04 +0200 Message-Id: <20210707062004.782787-1-msp@baylibre.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210706_232022_201551_D5A746DC X-CRM114-Status: GOOD ( 10.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org mtk-sysirq doesn't require specific logic to work with wakeup IRQs. To allow registered IRQs to be used as a wakeup-source, add the flag IRQCHIP_SKIP_SET_WAKE. Signed-off-by: Markus Schneider-Pargmann --- drivers/irqchip/irq-mtk-sysirq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/irqchip/irq-mtk-sysirq.c b/drivers/irqchip/irq-mtk-sysirq.c index 6ff98b87e5c0..586e52d5442b 100644 --- a/drivers/irqchip/irq-mtk-sysirq.c +++ b/drivers/irqchip/irq-mtk-sysirq.c @@ -65,6 +65,7 @@ static struct irq_chip mtk_sysirq_chip = { .irq_set_type = mtk_sysirq_set_type, .irq_retrigger = irq_chip_retrigger_hierarchy, .irq_set_affinity = irq_chip_set_affinity_parent, + .flags = IRQCHIP_SKIP_SET_WAKE, }; static int mtk_sysirq_domain_translate(struct irq_domain *d,