Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4159919rdh; Tue, 28 Nov 2023 13:35:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFe3WSPnL0xVgz5inmiMNhXgQhkgUne3tb3ysJItfdBsUX+EP2bAuQ0a0S8R+ZTHmubKh/N X-Received: by 2002:a17:90b:4c4d:b0:280:280c:efe3 with SMTP id np13-20020a17090b4c4d00b00280280cefe3mr21900918pjb.14.1701207359514; Tue, 28 Nov 2023 13:35:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701207359; cv=none; d=google.com; s=arc-20160816; b=GJG8r1qEUep1ss7DuamOqOwUVqksCU3oWCi44mMsI60PrB39qpHi/A70aBB+auPqgv Cf6kWwn5+/WI2K9NM+SmLveJ3+ZilFtry1cBWRg7gdL5/Tl5Byvl4qTTutg/WBD6O+Nj t0tR5E7zVfr5UAlTEVC7YWjCxMkV/OWFO7RlrmNanPMNmNuquJh7EFNYwW71Ic0lFowH 3hU5I7b1ftaC9WLiRB9N7H6lLES7zJtn3O1QtrQ5rK9S4A2Xgs9FA/y5Lc4K+UUnqeuD oVQnF9PHUVbfYoWGHztYmyfYPk+/nh+Gj7ZGKxUrEavJf6WWLONyWdPsrs7kiMCb2Ech 8zXg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EVF0ikNq+P7yxIv8mNO9bwzRTR0KJDz2LrJYmtD92k8=; fh=KY6mB7md1Yx0RlCao+ccTFYsYK1rkvLMVu5l+4Mpcws=; b=Ip2s6q0WBTwvs0cjyIw5527/Oc+aF4Hs3B/3K7+Z5wQyieNtMu9QFApc8hkgAuIHPU Tyj+nrMDj+tZB7LrYQPM/1S736PWINVrFsRfWn24zdQhxWWCoHi5mSD0yH6Q4t/hRsfW uGlQCRMwfGbBw+kd0zgH6omrvTv9szM9KAPyxeVZDEb7s32QxbTSXeu3pfcL9jYCJ1Ij gecH0TjaN8qZd1SIT6SfBJn8DOp+LullNx2zNu48LsqnvZXP2xR/EfSHYAYp1KnfK2yA FxGuEZNu+sTwDzyqjhv1aZZLJa8iV30LEkeUeNKPrzcaiIaE1v1sav2IuYSfB0L7UgQa IlAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=khtNOesD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id k1-20020a17090a3e8100b00285156d2619si12466554pjc.127.2023.11.28.13.35.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:35:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=khtNOesD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 032B68328AE4; Tue, 28 Nov 2023 13:35:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345321AbjK1Vfh (ORCPT + 99 others); Tue, 28 Nov 2023 16:35:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbjK1Vff (ORCPT ); Tue, 28 Nov 2023 16:35:35 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EADBD63; Tue, 28 Nov 2023 13:35:40 -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 DDB496602F24; Tue, 28 Nov 2023 21:35:38 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701207339; bh=67uH3wWuxI9nNHNPdHxCUf8N5hbi47QYbIBUACpFrkY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=khtNOesDlK2le5wbv0ZMy887UBOAZ36fL0jPVecU7ugeEmY+aX5RgaAYA0R3fwBOm hx+bpW/rRLZl+Y0wZRHlW3oqZDXtPryVFMvIpvKMTzDKNDp0ECeI4a83Drd4MXvC09 KXLtD6WeiXdz/lx91N/PGNWKF1kXdlc+SOBH2q0jdb8B82JRFG5n1cG0KzzJvsbRVz ip1VRknzrYMxYPY5N3bAjsligu4PGW/N5p1c+aZehVnfX5lPxeMaY7//RFJFahucfi U3TyDcEK2KlGyf2jtx+STyXQKMHv8efs1HN+rxgaGh0es1GMvrFeEIqxIMAl3QNiEd aRbAXVi8khXCQ== Received: by beast.luon.net (Postfix, from userid 1000) id 203179676CFA; Tue, 28 Nov 2023 22:35:37 +0100 (CET) From: Sjoerd Simons To: =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: =?UTF-8?q?Pali=20Roh=C3=A1r?= , kernel@collabora.com, stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] bus: moxtet: Mark the irq as shared Date: Tue, 28 Nov 2023 22:35:04 +0100 Message-ID: <20231128213536.3764212-2-sjoerd@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231128213536.3764212-1-sjoerd@collabora.com> References: <20231128213536.3764212-1-sjoerd@collabora.com> 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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 28 Nov 2023 13:35:53 -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 Cc: stable@vger.kernel.org # v6.2+ --- (no changes since v1) 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.43.0