Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4022594rwb; Tue, 20 Sep 2022 07:50:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5mzq/2NfOHAsfaQgcc7tlZyEs3m9Q+IGpysmP+IWUMvqXChhnl+UAuEKHINA/0nGfQD6nU X-Received: by 2002:a17:90b:1a8b:b0:202:971f:2a3a with SMTP id ng11-20020a17090b1a8b00b00202971f2a3amr4411704pjb.224.1663685405972; Tue, 20 Sep 2022 07:50:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663685405; cv=none; d=google.com; s=arc-20160816; b=VNeuEdde11X3W+nUGSrdJMZowgNS+DuVsJfhWKFu08muukNq74+MSLfDy8wYy7vAEi ubbpo0F9er8Oshsvl0tbwKOtQ5eNnlhGP+CXYeyUAoXywgLxj6mfooiyRY97rirm5LG7 R4MQeHHeZ2jCs+jPI5zNQGPUZsQ05KiGXo+dpdGkQbFIQs0VifK3RAv5SsiMqXoPOSp4 vi73LQXDo8xU+7S/jlf9Y8+Qr9WoVER3DiUL7IZLkhFaV4pWSuxOSHk9X6BseHqpFKER pNtK2lKA3sjzcGpMb6i1DekbSBIHcQxVlEC09vM76W4wr6n6fmRPlNr5v5xHXWSXhPdX ttWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=gwSU9hw6TvimqBoWZiboEIRnW6xJeUix7UR4c0rVKcQ=; b=Ke4vZJLRSM8rCj2cJ90zbgYuT6h1uC4SbAx2oD2n9p4h1D+GMrFoO6UgmGz53mJvJo 6fCnmRjYS/mbhgeIt4eIVx3CEjcS04j2qKeo1QGKLNeH1QYrq+Pegc/yRpJpLdqS0Th2 rKpF5YbPNDmuadJImw1VvZlJ9sWNlanXINvT0loYsz82ttQKzDDTVv2F3Z3uGNH4hmjb Y1QVQM3PepyZUtdInDK679mVN6Z5mFAGZnI16LfPVMmg3tSOKGFFVhAWhvqdmzAAn2G6 MqD8lhQEcoo775Jn3nPkxZmRh0VOTOkXiX3/91jm5cIPUI9MrUTeUS61x/Oj+aUqcdCa I1cQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=BmXPhfhg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk4-20020a17090b4a0400b002003464d815si18524696pjb.134.2022.09.20.07.49.54; Tue, 20 Sep 2022 07:50:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2022082101 header.b=BmXPhfhg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=walle.cc Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231876AbiITOZ4 (ORCPT + 99 others); Tue, 20 Sep 2022 10:25:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231852AbiITOZS (ORCPT ); Tue, 20 Sep 2022 10:25:18 -0400 Received: from mail.3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7C39226; Tue, 20 Sep 2022 07:25:10 -0700 (PDT) Received: from 3ffe.de (0001.3ffe.de [IPv6:2a01:4f8:c0c:9d57::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.3ffe.de (Postfix) with ESMTPSA id 874C11251; Tue, 20 Sep 2022 16:25:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2022082101; t=1663683906; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gwSU9hw6TvimqBoWZiboEIRnW6xJeUix7UR4c0rVKcQ=; b=BmXPhfhgoZGgy9qAIMm8clSotCFCpQOxKoXDeZxtsvC1SFZmUUgHZFf4ohld/OPBO07w5m rzJXrnMWLYGK4IN0LQl92J43cjZTRBHSqMGkDgzIYyEh8ViyjEnuB0fkBL24MPYt8QXqs7 q4R2XQCd9YnRzCc6Rrt1EiQtcMfpquitQOsM9U05fv3X+0ZCsOgqeVZH1N3n6Z7okp8iQ/ 5FJ5L7ffz5oZeJiwi8xkibyhvEraA3h+l/rHuW6rLBm1Hx0lhY/gpnIH0YQOAsULi2WKOE 7T37+9pLPyYv//28rzovXYrOwp9y66ObTxan+CYncIJhXgf54orMa695Tt2r9w== MIME-Version: 1.0 Date: Tue, 20 Sep 2022 16:25:06 +0200 From: Michael Walle To: Linus Walleij Cc: horatiu.vultur@microchip.com, UNGLinuxDriver@microchip.com, andy.shevchenko@gmail.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] pinctrl: ocelot: Fix interrupt controller In-Reply-To: References: <20220909145942.844102-1-horatiu.vultur@microchip.com> <20220920120642.690340-1-michael@walle.cc> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <8ec019b32b7221237ccf84fabf07e63d@walle.cc> X-Sender: michael@walle.cc Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 2022-09-20 14:34, schrieb Michael Walle: > Am 2022-09-20 14:28, schrieb Linus Walleij: >> Just checking: since these drivers obviously must pass pass >> IRQF_SHARED, have you also made sure that each driver also >> will properly return IRQ_HANDLED if the interrupt was for them >> (triggered by "their" hardware) but IRQ_NONE if the interrupt was >> not for them (triggered by something else)? > > Thanks, I'll check it. The gpy driver seems to handle that correctly. The micrel one introduced a regression some time ago. I've send a fix in the meantime [1], but it doesn't help for the multiple interrupts here. -michael [1] https://lore.kernel.org/netdev/20220920141619.808117-1-michael@walle.cc/