Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1678481rdb; Thu, 7 Dec 2023 06:09:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbBJRHjNL+cFYiRh+OVIn9DAsl0Sfr1f0hVbN7ON5aoYN5W/UqW5/hjDI5wSYtMEcC8DlA X-Received: by 2002:a05:6a20:5488:b0:18f:e1af:d51b with SMTP id i8-20020a056a20548800b0018fe1afd51bmr3167492pzk.110.1701958179470; Thu, 07 Dec 2023 06:09:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701958179; cv=none; d=google.com; s=arc-20160816; b=FtLUWkYYRyc/sHH2TbfuzdLYlZideZFNMAibxch0GwPmZTaDkmVdJfEG2CJUpNry4+ Zn7Fz5m7YgHpoQ6qCo6JZeAPx/bCEhW9lH7dV3V2Og2h+i39ZHPfW6OM+V8g2jNNUFmC gMenuLa5xqlMDj4M/VlI3K7DjDAeJ+lUWSSLXYUfVXUAB696z6GSVHOeoN2in/AOu4DI CiIbPs87p0mDq2pGbwcxpcXNOmDH1Gi+fLp/pXV4UxzNSiwry0U5c9rDghloJs75Gxu7 4FMQcdvrdioNpQS63KcpioKTE4S4/K7huetoEY8JmAqKHjddg2wo1ZAIupSWHZsMnhpa CGIQ== 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:subject:cc:to:from:date :dkim-signature; bh=2Rwu63xGMwaUHVd0NHsgzEW9UIXux/MSr8B6JBdS014=; fh=lAC2b2HVVtXd5/UyQ4f+c8zFRiomUwBhgIxFmxjVl8U=; b=nYUp/N4Gi5Rf9BoKzqyW4jUg0yKpBgc5wmXVhCGsihZ5j4rV645q/aeEkukukbiT1I KITX3YqdlLYMeImHva2vnV5XJiCFdhpqCffxNRmOw4Cv03vNRGG91OejFfLbk7DaUstY CNXHoCm7RgeZVfl/j+TurNGhOsrg3MrNE7/LU+mmtsdDOryAlUsC5Vpw5sXh12uZ8FEm nTXGQowOQLdfNYk+uTFqnQj96d9Cl4QuSbVEHUp6I4OTjaBXyisGSQ3sob0sMXUFxwPz GlQTyPjegdblAmo65Umc20WOArWEahwaGR3KirrZvWsjA2ybvwYvGdKNkpV2AH0Iv5ep /LnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gXnRRnfd; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id e3-20020a654783000000b0057942bfab4dsi1225628pgs.395.2023.12.07.06.09.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:09:39 -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=@kernel.org header.s=k20201202 header.b=gXnRRnfd; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 3A1BA80423B3; Thu, 7 Dec 2023 06:09:37 -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 S1443006AbjLGOJX (ORCPT + 99 others); Thu, 7 Dec 2023 09:09:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1442978AbjLGOJV (ORCPT ); Thu, 7 Dec 2023 09:09:21 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D46AB10CB for ; Thu, 7 Dec 2023 06:09:27 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA0B9C433C7; Thu, 7 Dec 2023 14:09:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701958167; bh=H4XF+LqR6lnW5axiIdnTAEfuhRgWdQr7OOX8znjsCwQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gXnRRnfdQToNJAuodRkXasWCP48sM3fMyS8EC6ilFDSGi0arEZSYiYdJyhCZpsZbt GiRohH6K3kZYMUQOsyz7cA2QzJExNzJivnJz3T1xeCp/1gQmn/ZF/CK6YzOQpvM+QS qCjKrjtKzFOpfEpbEtkURKSIie0/P+6ptCei62sxi+rtI9wPxTe2LhI7Ku4BaqQ7DE vaT7gDjWTmBCCFdKyIcm5cZwPIpeByQe3L75Fx/JcGDUFDav5a87o2umzIF3llBWSl 9lQc/rN7NMq2IcBv3K9jejz8aLd28UkbcLrdcsbuAoewClRPn76fCMaIkwQCjPmaJm qriPrsZUgZkxw== Date: Thu, 7 Dec 2023 15:09:17 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Sjoerd Simons Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] bus: moxtet: Mark the irq as shared Message-ID: <20231207150917.6f69999c@dellmb> In-Reply-To: <20231123142403.2262032-1-sjoerd@collabora.com> References: <20231123142403.2262032-1-sjoerd@collabora.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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, 07 Dec 2023 06:09:37 -0800 (PST) On Thu, 23 Nov 2023 15:23:37 +0100 Sjoerd Simons wrote: > The Turris Mox shares the moxtet IRQ with various devices on the board, > so mark the IRQ as shared in the driver as well. >=20 > Without this loading the module will fail with: > genirq: Flags mismatch irq 40. 00002002 (moxtet) vs. 00002080 (mcp7940x) >=20 > Signed-off-by: Sjoerd Simons > --- >=20 > drivers/bus/moxtet.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 =3D ~0; > =20 > ret =3D request_threaded_irq(moxtet->dev_irq, NULL, moxtet_irq_thread_f= n, > - IRQF_ONESHOT, "moxtet", moxtet); > + IRQF_SHARED | IRQF_ONESHOT, "moxtet", moxtet); > if (ret < 0) > goto err_free; > =20 Reviewed-by: Marek Beh=C3=BAn