Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2328745ybt; Tue, 16 Jun 2020 03:13:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyTBumSdWmM3Kh29A0K7NFFRf6rtx5cnbWTcLQeHdLFwEEOyOvOXtIxCZDOdfP3JJT6NaQd X-Received: by 2002:a17:907:9f0:: with SMTP id ce16mr1974502ejc.476.1592302431929; Tue, 16 Jun 2020 03:13:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592302431; cv=none; d=google.com; s=arc-20160816; b=o+ZT1j669a6xAmGwIoiW8/6g9jNNBIhKOL7lKN8LcrvxLOtZp2B6r9JdqRKGkVThaj uE8+WSEpqjm6U05u4tAmHfdtJvJ+obXceWhXItGrAnAoRFu/Yppnweorl2VctJNWWo0O ngjPbK7sTtZTZsvxvy8T072n2VUo91GH7siaTHfunz74Ax8Dp/b13RveYlJ78ZsxwQge mPmj+P2T1CdZFgaPKdm8RpecVMKM30EzDcx/mntv9Rg3NFAdE/Gw0W48jgh4wya6aUaQ 20jChpI19w4NsaiGSwU7bMYlz7lHv92iyy+dEbavHAsrMw11UiFHlug9V42Dr4i9V3NB 4HEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=M7v6RyesxPY4tB9UqKwltA6gqS4zzBxy5eYluuSqy/w=; b=itw0SEHdkLnptayJao6SlkGWZSMCInlsMGFkqnVu6UFjLt3t5r3FcLdXNSE7ccP3z2 DZAE8lnYUgRqsUZGW0eayRfqyhveL1m7noFgLurWM80hqw2gP/zntHka/A/zjw/9eWjy KjmeXJSXFVRIjHOofobvNOmvy/1wzZPeQcAARwXSI0NYAgJyqKu5+SIs91q9HJgd59dr itwad/X6XG8dFPE3hg0x/fFBDpclw3pv2j5DJx1Zb1nP0PRMN4xOEi5DNBz3blh+m7vV 9By+YWVbREc51CSOSoCw0lmRGwqXl222rgKGTFlS/cMP8AvwV7hhOmdOYJ5PeuspjD9o liMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yQX0vQg4; 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 v24si10805321ejx.374.2020.06.16.03.13.28; Tue, 16 Jun 2020 03:13:51 -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=yQX0vQg4; 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 S1728038AbgFPKLc (ORCPT + 99 others); Tue, 16 Jun 2020 06:11:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:39976 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726052AbgFPKLc (ORCPT ); Tue, 16 Jun 2020 06:11:32 -0400 Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 437AC20767; Tue, 16 Jun 2020 10:11:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592302291; bh=zSfipJoycycqxaCuBeGKMu4P0mp1YuiXVf5MlZ2int8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=yQX0vQg4a9u7aEyGEEQsDZWSPBXYmyM4crsvvDVQ+54+Tba2Hzpo13qtwvHu4uS69 Lh2Ai8QKoeQwojqNVCU3Xiu1jtCNOg7hwP6iJ3NiQXaseMZQtYA4aZP22RBom9m71c AwR9KutXIggbu+DV83G+OphS5XkM1VlhgZNc1EQU= Received: by mail-lj1-f179.google.com with SMTP id q19so22831328lji.2; Tue, 16 Jun 2020 03:11:31 -0700 (PDT) X-Gm-Message-State: AOAM530i7NljY9E4km03W7Gw9Mdk5s2h8/2LpLYMj0ziRShC6oNFDhjd f+ezBy2mJkT7vFjgUjzVzB/qTWxX9T9G3xeZpxM= X-Received: by 2002:a2e:8651:: with SMTP id i17mr1061792ljj.45.1592302289579; Tue, 16 Jun 2020 03:11:29 -0700 (PDT) MIME-Version: 1.0 References: <1592208439-17594-1-git-send-email-krzk@kernel.org> <1592208439-17594-3-git-send-email-krzk@kernel.org> <20200615120844.GL4447@sirena.org.uk> In-Reply-To: <20200615120844.GL4447@sirena.org.uk> From: Krzysztof Kozlowski Date: Tue, 16 Jun 2020 12:11:17 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 3/3] genirq: Do not test disabled IRQs with DEBUG_SHIRQ To: Mark Brown Cc: Thomas Gleixner , Vladimir Oltean , linux-spi@vger.kernel.org, "linux-kernel@vger.kernel.org" , Marc Kleine-Budde , Wolfram Sang , kernel@pengutronix.de Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Anyway, this patch is not necessary with my v3 approach to SPI shared interrupts issue. Best regards, Krzysztof