Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp376325rdh; Thu, 23 Nov 2023 06:24:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IElWDZpvZIObN5Zs3zs3A8zM4zcPlEIughFF+HuXfCeGDzn4L73+NKltF8hwZ8HpCylecL9 X-Received: by 2002:a17:902:8341:b0:1c3:1f0c:fb82 with SMTP id z1-20020a170902834100b001c31f0cfb82mr4640628pln.41.1700749460346; Thu, 23 Nov 2023 06:24:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700749460; cv=none; d=google.com; s=arc-20160816; b=CL0IiY+mNbixwx5Vz/daJCmDRB6b07iqXUsG8xuVs6DLrVjO1psUzWRq1eZSVNxptL h7T0yCmRA+BiNo8fsc1xLHdaj7RWSdhTYVslHVErNOPiAnlAX2S9dj0lR5rvmQ79P505 kyMF54nvWmmDncgE1OX/nbjvB1FfoRzatJOOb/YlPJicesUM+2hAqv0pfBem4RNH5ywY M+DFYpEKsjnMzhkYGB9p7Oafl+ta4u7vdBGaCiEfNV5t7dmqs55rTVHgzS8Q00UoXAd0 GrDlSa1XCDl7w+ZTaqaqLigpsYpylISV05pyZe7bm1cVosZaoqsvZvcL9kZzegi3qO17 fXeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=kjz3ecPiLgZc5ytAIJe7cxGm7GSM2hQX7bECS7lQymU=; fh=rmgknCjgm6p6GyN0bd26uBLrWuPrro0NIU2ZlfQAOyA=; b=m9o2t2CSpZEUhssAR3v7fd1v07ZvVVs40XRBMANFYbe/YwLcFCaS8g7AT5L9Ly3pBV N68yD6mKlUzgTiTLDAF6eJ0uw88nNGN94vbe31V6r1k4RD0tD6Wn5mEJP79jBnfsqDKA IbeZqkdjVDGL1/AvrVlHNfX6/Qg48PtvBhDc42nBK30PwxcBdREamfoxn3cuCAsfnFJe rYf8xrpsBSLy0SjIyhIwI3vMhZ05u2KNLN41ymeqMPZsFAXNs+fVwH3jPZQ/+4TlFksF 8La5paKHpW+OYF4QY6ahC0TWvLiaEeGGEfOVpTIh2j4gBY0UszmkA+2pJkPMBVZ05L1h Esuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=S96rS86x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id o5-20020a170902d4c500b001cf837c953fsi1213747plg.410.2023.11.23.06.24.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 06:24:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=S96rS86x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0F6298116E5F; Thu, 23 Nov 2023 06:24:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345751AbjKWOYC (ORCPT + 99 others); Thu, 23 Nov 2023 09:24:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345739AbjKWOYA (ORCPT ); Thu, 23 Nov 2023 09:24:00 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E18CFB9 for ; Thu, 23 Nov 2023 06:24:06 -0800 (PST) Received: from beast.luon.net (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sjoerd) by madras.collabora.co.uk (Postfix) with ESMTPSA id AA02D66073C1; Thu, 23 Nov 2023 14:24:05 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1700749445; bh=XLlFUppiZTcE2XT8hs3mPsepvnwkxkup7a8IWuwxykY=; h=From:To:Cc:Subject:Date:From; b=S96rS86xzISdPqFqxaW44mm5z/lwt02xU0tdo6ebhLqaRyllxm5aIWlHz57FV+aOW M+WLrowBRHPxOWKCHI1QVvTz9JPuHv7yeAa5ucj6jCDTLesgxu9953lzkizayyq8Ae MQrA5iEL/JIOqAdzWR3eo8M5c/MyuLCA+i65YJ6M7S8eTCiFW78abNUi+m/Lqq6G85 d6yoKwqD6vprXGEuK6OMsH6bAQ9i9nnL0/DF/44h+6+fI15vFcP0CtsCy+Y63dnc9h RCuvO+hejVYlB/zsqT+bM2v/9bTqhcuOdw5n09tgMrVbvzZOmTbxLuX7hv8uly1JQH TGSFoD0+CYxVQ== Received: by beast.luon.net (Postfix, from userid 1000) id 1BA3395B3A93; Thu, 23 Nov 2023 15:24:03 +0100 (CET) From: Sjoerd Simons To: =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/2] bus: moxtet: Mark the irq as shared Date: Thu, 23 Nov 2023 15:23:37 +0100 Message-ID: <20231123142403.2262032-1-sjoerd@collabora.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 23 Nov 2023 06:24:16 -0800 (PST) The Turris Mox shares the moxtet IRQ with various devices on the board, so mark the IRQ as shared in the driver as well. Without this loading the module will fail with: genirq: Flags mismatch irq 40. 00002002 (moxtet) vs. 00002080 (mcp7940x) Signed-off-by: Sjoerd Simons --- drivers/bus/moxtet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/moxtet.c b/drivers/bus/moxtet.c index 5eb0fe73ddc4..48c18f95660a 100644 --- a/drivers/bus/moxtet.c +++ b/drivers/bus/moxtet.c @@ -755,7 +755,7 @@ static int moxtet_irq_setup(struct moxtet *moxtet) moxtet->irq.masked = ~0; ret = request_threaded_irq(moxtet->dev_irq, NULL, moxtet_irq_thread_fn, - IRQF_ONESHOT, "moxtet", moxtet); + IRQF_SHARED | IRQF_ONESHOT, "moxtet", moxtet); if (ret < 0) goto err_free; -- 2.42.0