Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp691101pxb; Tue, 1 Feb 2022 08:26:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyF8C9fv5CI90AyTxp9BDLssR6GA3PkNXCCvaye7mZ4Itxc8m3M5iuXG09RQH8p716dFiAl X-Received: by 2002:a17:902:b948:: with SMTP id h8mr26221443pls.101.1643732796036; Tue, 01 Feb 2022 08:26:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643732796; cv=none; d=google.com; s=arc-20160816; b=nfkh695+OAaICTP8BQQcjhGTf4KRRf7EJ+H2wJ6Gl0ax3pw4DjziRASDMV4tuLzJdA A3xRlXLXu+mB48s0MZXiUINIIQ+Y9bajV0e0bCde2KYOUcoVPqpzqWWFbybbej94u9AX tpvUW/hVrzMyYBnC9PpL9Y9h4aQReSCxXIIthhwIpyhVW+aspgODg64u4szi9zW0Bpdk JXMXVXxmNdxGp7JnxpzPHzZ0GF3uSNVzA6fDZ5pVqgmpnwAlSAgkyGPkLmyVqvPb/2dI qZGAE1qjWH3UiiwRvv3we4mzk2WeGFNxJtv6wC8sUehJm12MDWQKJsyQ4j060i+V5S7R ZAlg== 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:message-id:subject:to:from:dkim-signature:dkim-signature :date; bh=IvT+96WC4xlc86N7eSlAFMmOlclUSR1CkGpGq2QgIX8=; b=VHK9o1ZVyZH3e2vGM0v+FR1mU4oql7fAKfcKhkBNcTqhIm2hD5gHS2/tLHytDYcq9B R3nVN4NU2voz3KaB0wV+plzR42dB8//h9D20+CEw5vR8yTpOykMF/M9IyQtdLML05Tqp aShvQUuBcxMfahXWwgAE+MAqZ9BLFbSAMm+I5AY4xaupPS8Ys2nxI0URohi5B/KuTEmG OC6rmW9ar5C9Jg8BQdjpM7ujQR8ekmksmuNjMgLDIe69+yj6hcReIdrCC3x7lxcL32+z bhM57Y0HC19/Xp9dPd4Fz2XsEpLxjtOyo1WIzPXt92N/Pv5L4Dg+3m+Th+T3zuQBtcz1 HgqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KZMyEJRr; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=cVrD8VA+; 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=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ip10si2817685pjb.161.2022.02.01.08.26.22; Tue, 01 Feb 2022 08:26:36 -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=@linutronix.de header.s=2020 header.b=KZMyEJRr; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=cVrD8VA+; 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=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238667AbiAaKrr (ORCPT + 99 others); Mon, 31 Jan 2022 05:47:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbiAaKrj (ORCPT ); Mon, 31 Jan 2022 05:47:39 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DABE2C061714; Mon, 31 Jan 2022 02:47:38 -0800 (PST) Date: Mon, 31 Jan 2022 11:47:29 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1643626051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IvT+96WC4xlc86N7eSlAFMmOlclUSR1CkGpGq2QgIX8=; b=KZMyEJRre/OttTzp9HkeBp+HSKli3uTN429Y3mRSBq/r1Mpxrd1Ltk29IKGetZ97dQ0I2j Ga6uTRd1q1TzAkUfqqU5SpZ5bMaBwFDStAYV/5QXO1WDzMGVq36JOqnfHHvv9RC6RXKK5I ZRmJKVhJrSR/OWPcmrLv2OLnTKwexMDSzxhF3mXSTUr8V9Wmd2vDYkAkZBCsyfPwBldb6U /kvmF5kGEZdEqh1YWN8yMzfYI5LYYlfHwgHYNPZ8YnVNB3QewJ00Yj7kgfgVEkfXalxS9t tQ6pwHXaeSPRG4AnB85Kx9l8O2eTGhhPLzBpx3nf8TIssmpitr7feb+kQkvnkw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1643626051; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IvT+96WC4xlc86N7eSlAFMmOlclUSR1CkGpGq2QgIX8=; b=cVrD8VA+0PMCB+FD65Xrt8Wz4qGuljy8hfkRLVd7SpOP0A49Uyb3uF79h/L8DsKn3i3/TB ONpvSGGPh4iijGBQ== From: Sebastian Andrzej Siewior To: Wolfram Sang , 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: References: <20220127113303.3012207-1-bigeasy@linutronix.de> <20220127113303.3012207-2-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022-01-27 18:03:29 [+0100], Wolfram Sang wrote: > Hi Sebastian, Hi Wolfram, > > +/** > > + * 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. There is something later but let me reword that. > > + * 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? Yeah, will do. > Thanks for this work, > > Wolfram Sebastian