Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2344641ybt; Tue, 16 Jun 2020 03:42:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKp03RPWXZ8f9y04uRdjiXjxs2sFXvKu7uu7VGyZf3edEur7QK4xSnhzeIepJfaE0wW3sn X-Received: by 2002:a17:906:af6b:: with SMTP id os11mr2245901ejb.291.1592304165385; Tue, 16 Jun 2020 03:42:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592304165; cv=none; d=google.com; s=arc-20160816; b=Ic2mifNZVqumLaD+lUkssz524e4V1oAhayOL9YhcBhVF/yOvMvC2dK/zE7PtgA9IIS myJhZnYQ8LhlS4VYfdo4j8WhAycXAN38Ndh5oTIQmgjf4aDVOondHrzY/xzKyHE05Hdm RkjK/Shl9HsPadXkZjGtPw8qZvbJNbLgqsULlPfmOLr9b9/Ycoh9swi46tfOmvtVJnoI YsG2/EgNDSrqcXC8n7YNv2qQJoawWXWjvGhfi0pqEbAHyQ3kQhvOLkP7/wv4qlBJ4RH0 wuC+6td5giRZ6BjtqnVCmH3d/qYO/5rWsb1ubLUVsOj1D4F5iHeOGrxvGxe4/7wgQWc9 C0sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=TtFdP6RGgd+quW7OdzOBpcAtsmVP0ZIcQ3A+TxB5OuE=; b=XgPLBH+l8vUs0GX9I1J9UFxrEtKmncM2JaFW1gDPbBRXKf5B8NIeOdJNtgTFnCWRII IRvzMHCU+9wa2+HIgNvGaNeqdYompGo/BWMVHetJE75zXWk1aEmRmwQBbLM6t1aGfwLP TUucvcZwZuRgEJK4YYUTVNqxRXJf/mKy0sIs0cdvKR0re3hYA+ySBrV3jljJ4c/OWsqq WQqMsgWY+TU6o0SGv2Sg91Y2JZmrSk8qufIT74QS5jFQzgzc+oZ98oFxywpAB855or6a tkZOcYT7yNNRULge9jtGjw7fP8B9YWsUjZdLdjDS04KvO/svBiA2r4LEXvRX5Zwv70Bx MLow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s3YG0XKI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ss4si10692185ejb.645.2020.06.16.03.42.21; Tue, 16 Jun 2020 03:42:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s3YG0XKI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728367AbgFPKkF (ORCPT + 99 others); Tue, 16 Jun 2020 06:40:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:56088 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbgFPKj7 (ORCPT ); Tue, 16 Jun 2020 06:39:59 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3EA0320786; Tue, 16 Jun 2020 10:39:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592303998; bh=7dldRWO7gGRPlZ/8sV26jPzle1h5yQEqABWokXqyW38=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=s3YG0XKIGUKezsbFPu+LsttzfENLcVz6uOAgoe8u3j2JVe5uZvas/7wxHmBbu6K9t ALdsxYeae+Xo/DSQ0UB0LtxZzXhGyfjKzGlO9MCz7WZaFInHWsgW/aTqaIQ1kR92IS kp6WqPseGrtvHr9CykwXRzc0VOenTXqXbSlzpie0= Date: Tue, 16 Jun 2020 11:39:56 +0100 From: Mark Brown To: Krzysztof Kozlowski Cc: Thomas Gleixner , Vladimir Oltean , linux-spi@vger.kernel.org, "linux-kernel@vger.kernel.org" , Marc Kleine-Budde , Wolfram Sang , kernel@pengutronix.de Subject: Re: [PATCH v2 3/3] genirq: Do not test disabled IRQs with DEBUG_SHIRQ Message-ID: <20200616103956.GL4447@sirena.org.uk> References: <1592208439-17594-1-git-send-email-krzk@kernel.org> <1592208439-17594-3-git-send-email-krzk@kernel.org> <20200615120844.GL4447@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/0D4jGRsNl8cPNu/" Content-Disposition: inline In-Reply-To: X-Cookie: Offer may end without notice. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --/0D4jGRsNl8cPNu/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jun 16, 2020 at 12:11:17PM +0200, Krzysztof Kozlowski wrote: > On Mon, Jun 15, 2020 at 01:08:44PM +0100, Mark Brown wrote: > > On Mon, Jun 15, 2020 at 10:07:19AM +0200, Krzysztof Kozlowski wrote: > > > Testing events during freeing of disabled shared interrupts > > > (CONFIG_DEBUG_SHIRQ) leads to false positives. The driver disabled > > > interrupts on purpose to be sure that they will not fire during device > > > removal. > > Surely the whole issue with shared IRQs that's being tested for here is > > that when the interrupt is shared some other device connected to the > > same interrupt line may trigger an interrupt regardless of what's going > > on with this device? > Yes. However if that device disabled the interrupt, it should not be > fired for other users. In such case the testing does not point to a > real issue. To be honest I'd say that if you're disabling a shared interrupt that's a bit of an issue regardless of anything else that's going on, it'll disrupt other devices connected to it. --/0D4jGRsNl8cPNu/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7ooXsACgkQJNaLcl1U h9DoHgf+JwvDuPobncELlcEI/vWSGXCrDuPyH/+FJU0Ji63DjRavjk3dt7UI1UsD m70QleSoyhqku2gmsEnWKgRz08Y3KD8XCX6L/LwqmB2GKuZLlV2qHdgr6UkJ1UQ1 XOF2w75Vip+CnBp6AlVuEGyJ9k32y6VGDXyAe8nkFZU1teHMEZ2BPv8ZwrtHIgjs /Mq6GUrSDXYSWkDD1AhLBG+ZjuCWm/UBy5anxCbAcnlIADxHVfLLzL58CPtOYNpy 03RoSphUoITpHPlTssE5VGdByMnxY7116n0XbiCsP6+mVmm/KU9FpHwOYN5qmFWS hFrkjmbsmqNIpLXjzKQBxAiyDk5G0g== =x0XR -----END PGP SIGNATURE----- --/0D4jGRsNl8cPNu/--