From patchwork Tue Feb 15 15:25:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Singh X-Patchwork-Id: 12747233 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 lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 94F8CC433F5 for ; Tue, 15 Feb 2022 15:25:46 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.273309.468442 (Exim 4.92) (envelope-from ) id 1nJzhu-0000fe-VC; Tue, 15 Feb 2022 15:25:34 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 273309.468442; Tue, 15 Feb 2022 15:25:34 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nJzhu-0000fX-R1; Tue, 15 Feb 2022 15:25:34 +0000 Received: by outflank-mailman (input) for mailman id 273309; Tue, 15 Feb 2022 15:25:33 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nJzht-0000fR-HH for xen-devel@lists.xenproject.org; Tue, 15 Feb 2022 15:25:33 +0000 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by se1-gles-sth1.inumbo.com (Halon) with ESMTP id 834485fc-8e73-11ec-8eb8-a37418f5ba1a; Tue, 15 Feb 2022 16:25:32 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 305511396; Tue, 15 Feb 2022 07:25:31 -0800 (PST) Received: from e109506.cambridge.arm.com (e109506.cambridge.arm.com [10.1.199.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E06133F66F; Tue, 15 Feb 2022 07:25:29 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 834485fc-8e73-11ec-8eb8-a37418f5ba1a From: Rahul Singh To: xen-devel@lists.xenproject.org Cc: bertrand.marquis@arm.com, rahul.singh@arm.com, Jan Beulich , Andrew Cooper , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Wei Liu , George Dunlap , Julien Grall , Stefano Stabellini Subject: [PATCH v2 0/3] xen/vpci: msix: Make VPCI MSI-X code non-x86 specific Date: Tue, 15 Feb 2022 15:25:15 +0000 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 This patch series is v2 of preparatory work to make VPCI MSI-X code non-x86 specific. Rahul Singh (3): xen/vpci: msix: move x86 specific code to x86 file xen/vpci: msix: change return value of vpci_msix_{read,write} xen/vpci: msix: move read/write call to MSI-X PBA entry to arch file xen/arch/x86/hvm/vmsi.c | 155 +++++++++++++++++++++++++++ xen/arch/x86/include/asm/msi.h | 28 ----- xen/arch/x86/msi.c | 2 +- xen/drivers/passthrough/amd/iommu.h | 1 + xen/drivers/vpci/msi.c | 3 +- xen/drivers/vpci/msix.c | 158 +++------------------------- xen/include/xen/msi.h | 28 +++++ xen/include/xen/vpci.h | 19 ++++ 8 files changed, 222 insertions(+), 172 deletions(-)