Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp277011ybt; Sat, 13 Jun 2020 04:15:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrwnmh0fstiErZzjJXGdGc2ilboMJHCuga9wT2fxlnPlGEpgHF6G9kOT8ivJmm/iyVpLhH X-Received: by 2002:a50:9556:: with SMTP id v22mr15345443eda.291.1592046947315; Sat, 13 Jun 2020 04:15:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592046947; cv=none; d=google.com; s=arc-20160816; b=DtxFgf7Bn1NdUaMBYe0jq6eAAWVzgMtWjkL587BMcE4imzaNAr5SIlLerxuWr/RPWC N73HJsAbkITjMHsyswlmIe61DOBTOxb4lllAPrHBUtRJAT9KnkRsa/iZ9Y0FHxvCx8+s vBoLvA2lOi8DcXR7r9sHX6G4Zo0t2h05iGrNnCMvQX2Y08GMBijI/GcE3OnE/bI9l4qb gZ9ri4A46Ko0FNtJHbk2zRyiBUCenIONYNpRMQZWV+YBIMd6KfI0187mIXDtxP6GXcWm olr/MAdjVXD1kh064pTLt9FSzXmLaFBAJ78hGce6w0R7luHGMkMuT1q4wi7ENRYt84rO iySQ== 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=j/TGhDnUmXe+dQywFvMJ+UQjU1pTW/aTR3c8S3kN/vc=; b=HaySZVL/APwjACE9lnDMJqQJCyfXKEdrpRP2H1VmlSUzCSsDKdJOngFqXBrsu21ut5 gNAY7ZMB5yBkdsB/S5JHRipvjvupMl0POk/c70KoYDjStBJ0oWff11KuoTIebwBAg1hX oQSL/X2mzAKqP/FFesNxXtsChV9bjrYS7R6KmggRNudClf8WfvVr8oZgqDpB0ObMQDZ6 uSRPXf1ZxHvbS1YQkpxDwC9Xsy8ySCyj+0nKnU+b61SdXnc/u6ZGhwhyGb9sNlHYxGe0 CCohYeBc2IUDRgJ74VPEwSHaCKYQlepujm4b+PT1BWbMb5P5VXsh3hsZxcjRUgzrDTvO 2Dbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="NS/37sQ6"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si5700914ejj.410.2020.06.13.04.15.24; Sat, 13 Jun 2020 04:15:47 -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=@gmail.com header.s=20161025 header.b="NS/37sQ6"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726277AbgFMLLs (ORCPT + 99 others); Sat, 13 Jun 2020 07:11:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725812AbgFMLLr (ORCPT ); Sat, 13 Jun 2020 07:11:47 -0400 Received: from mail-pj1-x1044.google.com (mail-pj1-x1044.google.com [IPv6:2607:f8b0:4864:20::1044]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FB73C03E96F; Sat, 13 Jun 2020 04:11:47 -0700 (PDT) Received: by mail-pj1-x1044.google.com with SMTP id jz3so4706651pjb.0; Sat, 13 Jun 2020 04:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j/TGhDnUmXe+dQywFvMJ+UQjU1pTW/aTR3c8S3kN/vc=; b=NS/37sQ6kCt0foJykakL9Kfn5mruX4+OEMrRW/04pdApBfwk9WS/8XdjkOksS4U1Oz EZ7UgJwZUiUWNmpoSgJE9wo4Ee1fjnxxBfSRoN4qA+cFCQaipSRzdg2Mlzri/p0WZnHX izPCvDrufcJXGmao3F5B/SKiOE5oesKR4HFDXKfCZCtaVnvkvFbcz+UM/yrKOI+cGRXQ 7NeLLX385S5TouBfa+QQ/O20HwAy2WmoprqmhAGIBh614p4/9hinzLx/pgGX1v5mVbAq XOZPT36kbPaasMiP1ex0mBxTSMVfCcQDTZexTT26ykKPHlftl9OxSCBXw7KqE49zJaJ1 NDZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j/TGhDnUmXe+dQywFvMJ+UQjU1pTW/aTR3c8S3kN/vc=; b=ssq0lkA3rFXWuj5dQpVkzP2kQSmwK7mpvT1WWheiziqj41Plf8DhGRaaSPfHz8xLJp w7wWD3bkvQrCkT2v3LSqPwaqM+A+D4C+God3SzdywfL4VlcWg1YAAOBzRxT+Y/r2xGIC j/Ek/E2Q9Cj4E1o2xXPtfU2ZDoiZFZfzdZnqTJ+rX+jDd/+nJX8BTiQJSoRDYel4YrCc hBShgAGF859vQo7zSqR0af6b/iklhSC8W9un3IVtZZV5uf5Rwp8HZ4YilgTdPPe1u3Dc A8GjeJky/Sj7a7qppHPUdHwcnV4DlrxHeUYzvuVg9EDrBz/E3RbZbPvZyoIWRYp91fEJ haNw== X-Gm-Message-State: AOAM530a2rFmbvGPAJkin/JXFkInM6imDpMsVeAr0fAoJuU2wDUEK4aD 2hM5rvoeTmSoOCsiLFmgBJyPqpCrQrJnjT4XE30= X-Received: by 2002:a17:902:7288:: with SMTP id d8mr12934597pll.18.1592046707124; Sat, 13 Jun 2020 04:11:47 -0700 (PDT) MIME-Version: 1.0 References: <20200612124844.19422-1-wsa+renesas@sang-engineering.com> In-Reply-To: <20200612124844.19422-1-wsa+renesas@sang-engineering.com> From: Andy Shevchenko Date: Sat, 13 Jun 2020 14:11:30 +0300 Message-ID: Subject: Re: [PATCH] lib: update DEBUG_SHIRQ docs to match reality To: Wolfram Sang Cc: Linux Kernel Mailing List , Linux-Renesas , Krzysztof Kozlowski , Oleksij Rempel , Marc Kleine-Budde , Thomas Gleixner 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 Fri, Jun 12, 2020 at 3:54 PM Wolfram Sang wrote: > > There is no extra interrupt when registering a shared interrupt handler > since 2011. Update the Kconfig text to make it clear and to avoid wrong > assumptions when debugging issues found by it. > I'm not sure. I have recently fixed a bug in the IIO sensor during ->probe() due to an issued test interrupt exactly as soon as the handler is registered. ... > - Enable this to generate a spurious interrupt as soon as a shared > - interrupt handler is registered, and just before one is deregistered. > - Drivers ought to be able to handle interrupts coming in at those > - points; some don't and need to be caught. > + Enable this to generate a spurious interrupt just before a shared > + interrupt handler is deregistered (generating one when registering > + is currently disabled). Drivers need to handle this correctly. Some > + don't and need to be caught. -- With Best Regards, Andy Shevchenko