Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1701451rdb; Thu, 7 Dec 2023 06:43:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEhbfjhzhVjeTJcXsIQFsk9NQNaavLp1vDSlsDOeRE0L7csZu2852puzG9/uSsk/F70pXJY X-Received: by 2002:a05:6e02:17cf:b0:35d:5dc3:f7f4 with SMTP id z15-20020a056e0217cf00b0035d5dc3f7f4mr3904705ilu.58.1701960205999; Thu, 07 Dec 2023 06:43:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701960205; cv=none; d=google.com; s=arc-20160816; b=LGJc0KleHbdj92b1w76O8agiRIZeEWjVhyyY8rcmtdzXtwhXBm6KCpjqzuKFekVT+K NJu3zcy9hZy15xm1XfdVOI7AN8WxqeckNInIwxML1Ysr7dWYKea8dx+bXavUmCtKKjNK M62Xi3M6TcktBLxS59d3jgIuj0uPtB9IsWa47cMFUL9VSrIh71pydRGlQRES6Pi7IyA8 kBtIH52XQAbl66RdVAHgR33j//OODni4rYXOA6nZNDcjwQfCGq1wH83730wutZH4rITW IMn6X8+pyiycVqMZ/0Rq5oSAuyaRexJAS+TxjInySY5ds0w73xM3jjbpPH8xAUCGG4F3 cJpw== 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=jPbaaCsv0HCSG2N9ClnTs3hMaJ4tKPkQEMuIBkPptLo=; fh=fcO37pcaX70ER3pCtbLI+p1/1X6N63w6a/DFgElricQ=; b=vIPHvSktWBIsx7Bonp//W9zMf04yp1jk+S9Kg3N94lwL8IJjD1d+d8rWJQzJfLsa1X A9Yd8tahvALgDbXbN+zT2B6tNr9MjBgFbTYtOcJyyyUwNRvJNUUMpHTAbGCqXsPJSVD6 NCtkZobZ/PuB+LP/UPdV1jc1IMEpsuMxNYtPUA4bQgpFWbJF9NoTkLPmQZ/X1VmqmhH2 ujHAw0Y8gcJ6NFKSkV+Pq3kg3/Xe/TnMhQqe/OTMVk680Y/Yf6RS26zVcTighm1d39b4 V07JaV22MDrf4GAKWWbQFiY8DR/HJrvEY1DpNI2c7tiIrK8zlhA5+6bjvKiPeztkTB2z U/3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S3q88fnk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id r4-20020a655084000000b005c26e59bf98si1255088pgp.855.2023.12.07.06.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 06:43:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=S3q88fnk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id C455380A5F34; Thu, 7 Dec 2023 06:43:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443339AbjLGOnH (ORCPT + 99 others); Thu, 7 Dec 2023 09:43:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232924AbjLGOnG (ORCPT ); Thu, 7 Dec 2023 09:43:06 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55A10AC for ; Thu, 7 Dec 2023 06:43:13 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0ECA8C433C7; Thu, 7 Dec 2023 14:43:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701960193; bh=GS0pkCiCklBA0a7xl7TBuU7N9iIAAufEGuz/4h4QpeU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=S3q88fnkCsJDZ+yihqdkttJ3GffGOnFsmkywke2kTkN4KViKKNJludWPdPrA290PK P6IDDqLaELe5ah6+dl3/ULxe9DX5cOe+wx0PsDkDWjArS1IVF428O0Ii3ErtncLNhn c4XaPpSIy2Nzfmt75id2nUPRRFExIeLhWxRPRWE51M1n5hVd3QB839qnf4RQu+v4P7 Gv7rHq13RNCDb4ZXJQDYzdGVNDR6e+TGtjxnVgL9PLdfLzfgdvBsNEraV7m84KLL1v RoHxylIGPWKBZrxXpamPxteb7dcR/kYk6W8OjmCucvIS0L2ncrmXRgyjF4cfb6YpxO +Z6DcWd9980xQ== Date: Thu, 7 Dec 2023 15:43:09 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: Sjoerd Simons Cc: kernel@collabora.com, stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] bus: moxtet: Mark the irq as shared Message-ID: <20231207154309.174a0753@dellmb> In-Reply-To: <20231128213536.3764212-2-sjoerd@collabora.com> References: <20231128213536.3764212-1-sjoerd@collabora.com> <20231128213536.3764212-2-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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 07 Dec 2023 06:43:23 -0800 (PST) On Tue, 28 Nov 2023 22:35:04 +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 > Cc: stable@vger.kernel.org # v6.2+ > --- >=20 > (no changes since v1) >=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