From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5B55C433F5 for ; Tue, 7 Dec 2021 07:53:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z8P0rYtFetQIVA28tSNTbNPcogCGGXaIAqEaW631KcE=; b=wwyevmQZdWW2Ug G1O3VCMBs6Vggf2CAGqeeJ7mlRvV3cySzEadbztlpjT8Wy8FcvP7r31MwAdSJFHoJkxyMWX3HVU9X VDZovYERfLAW8oplOfTuHxPHk8eh9B5jyjQJs1HUn/NAT2hJ8E4wFofAbDyso6SqXz+3WRPANyywv G4oeXuFzs48qJrcOJQhi7gYeGgfcAHOcE6+GpIOsAcmMDiWMb2/oXYRwbhbZaHGaWyQWt+y9Ri/ty U3PW51pEpUGVWtZ2tPnUIR3FW5zFG03O3rmp5luy8wJEzQ9LxGcm/apdUj8fyqb/uEJUjfR31HEyJ UaZuM2AzT/oQdrkxiBew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muVGe-007IB6-7u; Tue, 07 Dec 2021 07:52:04 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muVGY-007I9G-QY for linux-arm-kernel@lists.infradead.org; Tue, 07 Dec 2021 07:52:00 +0000 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 ams.source.kernel.org (Postfix) with ESMTPS id 7AAC8B80E8C; Tue, 7 Dec 2021 07:51:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A6A69C341C3; Tue, 7 Dec 2021 07:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1638863516; bh=jJB7V/1FDjCODHYTLlFlS5enXptOdG8ZYS3VC4cWcVw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vRE24ncYXDsRhhK2eQiUlxP7Y8oQsTsshV3hfVEv8bGtSxchPZ8/SkzPNYE1E38An aOvrifHb/I9rQaWzQ07/d2NwtcfBxBO7tW7Ohdsq63Q2QKH1LNL+bVYpuGXJT676qi Uz/SbFs2qPx/iZd1dSkcACeZlmJJNSFCfEQlT6xo= Date: Tue, 7 Dec 2021 08:51:53 +0100 From: Greg Kroah-Hartman To: Thomas Gleixner Cc: LKML , Bjorn Helgaas , Marc Zygnier , Alex Williamson , Kevin Tian , Jason Gunthorpe , Megha Dey , Ashok Raj , linux-pci@vger.kernel.org, Cedric Le Goater , xen-devel@lists.xenproject.org, Juergen Gross , Will Deacon , Santosh Shilimkar , iommu@lists.linux-foundation.org, dmaengine@vger.kernel.org, Stuart Yoder , Laurentiu Tudor , Nishanth Menon , Tero Kristo , linux-arm-kernel@lists.infradead.org, Vinod Koul , Mark Rutland , Robin Murphy , Sinan Kaya Subject: Re: [patch V2 27/36] genirq/msi: Provide interface to retrieve Linux interrupt number Message-ID: References: <20211206210307.625116253@linutronix.de> <20211206210439.128089025@linutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211206210439.128089025@linutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211206_235159_049223_FF7E6EC0 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Dec 06, 2021 at 11:39:39PM +0100, Thomas Gleixner wrote: > This allows drivers to retrieve the Linux interrupt number instead of > fiddling with MSI descriptors. > > msi_get_virq() returns the Linux interrupt number or 0 in case that there > is no entry for the given MSI index. > > Signed-off-by: Thomas Gleixner Reviewed-by: Greg Kroah-Hartman _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel