Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp463442pxb; Fri, 28 Jan 2022 03:10:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxitRRlsYJC49tiezsIqxLj526JG3crfqiWT6V3ZEcM1zQlX+bogLSN1LeIdtMVfEChv6d8 X-Received: by 2002:a17:906:58c7:: with SMTP id e7mr5958372ejs.743.1643368222151; Fri, 28 Jan 2022 03:10:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643368222; cv=none; d=google.com; s=arc-20160816; b=sy/ZqULAKZEFBsDcGWomkRGKYsbLwvlv2xwQF6At9jFsgfMzLqpx4IBEv0Q66mhnyJ jBe9s7scye/zsOL5rFqaLgdovNuYoCWGtERESnzE2KPl2xhDl2mFdEpRNxs7xezh7xrT tNh9xha3Rq6KT015fXYGr1XuhJ4PFQK92aKlnZzqN7acRvhYu5kYvO/+e22FeoaxDJ/q 5G2/d5dHnW7wfM9t0XubMLfVyTi80NWX0AQ+91boOw+Rdn16g/qCTaZrM9U41bnywxi5 Sh7Nvr74TEPv/M4urmcij8QcDJBUFQ5bbdndRwucmpLGOqoa9mU0dIoYujH3yTtYF1EH 7nVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=xZSHF9JuRBWpaiRuw5JZUGfyE0YjJ7ROLk1CoFaZe3w=; b=iXHfq90iY8oFYkvfGgDGCOK7zRMDJJ0QiVNqBVQCmYQ7iLqpF+IE1QHd2ltdTFCSkw XRY2QohSnQDXR05b8uOyaN3sms+Sz98cl2lP/CFk9a3yThXqpZRMOUdxrB8n80CN4Usi ubu9umYn5my2V8YhSTmbMP22cMjIJlG90duYvq3XxeO/xxzMW/JHGMs8orv9TecPRYvY YpDxe8KlKU0CNyVl6KYicZ6TYchdnpFjlSrGGqrYYDIY4dnNuqyaeEe+SryIphF252NL 6k6rK9qI44otohZjwEQJm8c+W+ATXwLfpS2KwzK1pp45WJIdL+ik422X9MU1FxX6ryLU cc1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wmf8Qp2U; 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 hz6si3128742ejc.881.2022.01.28.03.09.49; Fri, 28 Jan 2022 03:10:22 -0800 (PST) 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=k20201202 header.b=Wmf8Qp2U; 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 S244277AbiA0RDj (ORCPT + 99 others); Thu, 27 Jan 2022 12:03:39 -0500 Received: from sin.source.kernel.org ([145.40.73.55]:35978 "EHLO sin.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244258AbiA0RDh (ORCPT ); Thu, 27 Jan 2022 12:03:37 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 4A35CCE22BD; Thu, 27 Jan 2022 17:03:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBA39C340E4; Thu, 27 Jan 2022 17:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643303013; bh=94at8KQ2mwsXO6lk24alNapdJfEz9l+tLpUbw2MGJvE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Wmf8Qp2UPnOHrkmSywJK8a/3xwloHfqdLJaQGPzTEyXHv1ngZEGOfUey0llaGmUtJ 9bRxfCFiIfdU+SSAmIA/XMy6r1dtROtxkgGUUOb22VZSFd/DWpPzz5YgFLHhSRxYAf SDy2sm7w6olVU7bBXg8q/RTximr2sx7SGgW0HD8rTWlL3B5nGjp7HuoEcZ1EP5jJZ0 CpinGI4Yg6vIgl/XXcyRP8O7VKL8KPQBAMrUTXwdcKW5U5BXcVA4G4AoiWAA5qw9sQ gfTDs41o4tX2M2glfUB8hlmgtgt4ScJq8Vx0JbT04x+QbE4qPoIeo83WpH3a8cPlX8 rhB18IUNLt0hg== Date: Thu, 27 Jan 2022 18:03:29 +0100 From: Wolfram Sang To: Sebastian Andrzej Siewior Cc: greybus-dev@lists.linaro.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-usb@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Alex Elder , Arnd Bergmann , Greg Kroah-Hartman , Hans de Goede , Jakub Kicinski , Johan Hovold , Lee Jones , Rui Miguel Silva , Thomas Gleixner , UNGLinuxDriver@microchip.com, Woojung Huh Subject: Re: [PATCH 1/7] genirq: Provide generic_handle_irq_safe(). Message-ID: Mail-Followup-To: Wolfram Sang , Sebastian Andrzej Siewior , greybus-dev@lists.linaro.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, linux-usb@vger.kernel.org, netdev@vger.kernel.org, "David S. Miller" , Alex Elder , Arnd Bergmann , Greg Kroah-Hartman , Hans de Goede , Jakub Kicinski , Johan Hovold , Lee Jones , Rui Miguel Silva , Thomas Gleixner , UNGLinuxDriver@microchip.com, Woojung Huh References: <20220127113303.3012207-1-bigeasy@linutronix.de> <20220127113303.3012207-2-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="isj9qhmX5nh2QcHe" Content-Disposition: inline In-Reply-To: <20220127113303.3012207-2-bigeasy@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --isj9qhmX5nh2QcHe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Sebastian, > +/** > + * generic_handle_irq_safe - Invoke the handler for a particular irq This is the same desc as for generic_handle_irq(). I suggest to add something like "from any context" to have some distinction. > + * This function must be called either from an IRQ context with irq regs > + * initialized or with care from any context. I think "with care" is not obvious enough. Can you describe it a little? Thanks for this work, Wolfram --isj9qhmX5nh2QcHe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmHy0F0ACgkQFA3kzBSg KbYGfg/8DbJCFJiQlAG3Yv27Ey+1jfWpgmNZZdoSSO8hcxHmT8ATT7qQPDNw1JXL Q0dObGbaNCO1fyflMSd/VBwblWRgGeN6Y7oOgdC5EMTuwAeyvimXPi5rXdEw+xjN +Hn0VMPv7QIlqyU8a4E3pew1u07eW9drEah3FB/hrWmouw2lAbE6/p4q5JEkhzUN /WG8yZzNR8EBUPHQ2eX3Mt2rFViy26AhI+Z0dmJ0O+63CCd6B53RV7AloT/+aGWn 0XN/CqEKg9I7A22st4lC9nlhhmdviksGYmZiIzbsTLwH+eZBjnQv4eZ4XAHYQEUn 7Brexu5x9VpcSa668q7AhdbAzBbeo5K2hT0/i1H+HCSqfmIiY039H5mD+fF5m4xd C7a4zBBDA5aj0U4Yf3a8pz3DGW7l1196nYET9nC8DN6t97xbaXVeGG2UzYybKv8X Oq1rruBjdjf2exYIzHAWZ0OBDdn+OfzixKn9MgG/GNS2JJhoIq8s0nt2zbHLkR86 cTRblvFyxk4CZ7cRnglREQAWQTd8MElkFNwIlE4dBQ4FYFkpTdOG3URgZu/m7Gly 8D4B9fMVaoZ6WtzrZ8qZn4zJ5Qm7InR/3C9+TBxPsB2L3vXXOHSYaJYKlUS2OUOZ 5KNoLxPEoRXl0NSvTv5bsRER+Dvlezf4x/F5nQPkgdq5lNcdRgE= =I3gu -----END PGP SIGNATURE----- --isj9qhmX5nh2QcHe--