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 C17C8C433F5 for ; Sat, 27 Nov 2021 12:13:57 +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=lLckxfZ51FxBYIJwhRae1i83vlDMchYJywK+o0+mrc4=; b=IQoQou05YUyeNR LlvqpU6n+fTnvZKBtzuqchUcgBiqjBLWRNVCF4+gTpnxWOgpwFFn/kotGV+r9mdi0WhDXhsORnupF idvYsN9YmFTW4k/4SU4CfP3rYGJWvUAk0evi500neSsrWWag5sp3f+p3gkCiBTkuzCibkFYFtP3zt ga6JDErPZcrE/jlQmVv1BlnpHF1MpQvYyMedfsdK7TENOrjeixOblrvAHakgzGbHnMt50wxl2iT3B MDcZKlulNJzXbgkaXUEexVmkJEDpI6DYTWCBzuId9lM4UcVeJf//YxN6nrl96hkrQshxj1mUi/Jxr uJR/svEqSbFT38meODXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqwZP-00DYzy-9i; Sat, 27 Nov 2021 12:12:43 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mqwZL-00DYyh-Bq for linux-arm-kernel@lists.infradead.org; Sat, 27 Nov 2021 12:12:40 +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 dfw.source.kernel.org (Postfix) with ESMTPS id EA58F60B12; Sat, 27 Nov 2021 12:12:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CACCC53FAD; Sat, 27 Nov 2021 12:12:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1638015158; bh=Nsypz1pbkrnBiWqd93zUKpPoJWu4uG4aFKzWclKNc9A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=zzMjx7oKYUBaSqI7Q8w0u1AgdSfR07MfyEkU7XIvbNq5Z99yeq3J4Ls/QMed/W4SP Eba1zDMeN9zfI4spkq4X+daCizQux5tAT+r3n8r6Ku+d9bimqPGycb4C4JVbp6uXIm qSTj78+6e5GnhJjPjP0rbDK368g5U+kzGjFnnUew= Date: Sat, 27 Nov 2021 13:12:35 +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, 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, x86@kernel.org, Vinod Koul , Mark Rutland , Will Deacon , Sinan Kaya Subject: Re: [patch 02/37] device: Add device::msi_data pointer and struct msi_device_data Message-ID: References: <20211126224100.303046749@linutronix.de> <20211126230524.045836616@linutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211126230524.045836616@linutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211127_041239_465846_C267E3A0 X-CRM114-Status: GOOD ( 13.12 ) 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 Sat, Nov 27, 2021 at 02:20:09AM +0100, Thomas Gleixner wrote: > Create struct msi_device_data and add a pointer of that type to struct > dev_msi_info, which is part of struct device. Provide an allocator function > which can be invoked from the MSI interrupt allocation code pathes. > > Signed-off-by: Thomas Gleixner > --- > include/linux/device.h | 5 +++++ > include/linux/msi.h | 12 +++++++++++- > kernel/irq/msi.c | 33 +++++++++++++++++++++++++++++++++ > 3 files changed, 49 insertions(+), 1 deletion(-) 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