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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4589EC4742C for ; Mon, 16 Nov 2020 12:25:59 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E39DD2224B for ; Mon, 16 Nov 2020 12:25:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E39DD2224B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.27882.56470 (Exim 4.92) (envelope-from ) id 1kedZt-0001cR-DF; Mon, 16 Nov 2020 12:25:49 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 27882.56470; Mon, 16 Nov 2020 12:25:49 +0000 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" Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kedZt-0001cK-8g; Mon, 16 Nov 2020 12:25:49 +0000 Received: by outflank-mailman (input) for mailman id 27882; Mon, 16 Nov 2020 12:25:48 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kedZs-0001cF-1O for xen-devel@lists.xenproject.org; Mon, 16 Nov 2020 12:25:48 +0000 Received: from foss.arm.com (unknown [217.140.110.172]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id cdd74c7c-d060-4720-88b2-f346a4a63bac; Mon, 16 Nov 2020 12:25:47 +0000 (UTC) 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 B8FDF101E; Mon, 16 Nov 2020 04:25:46 -0800 (PST) Received: from scm-wfh-server-rahsin01.stack04.eu02.mi.arm.com (unknown [10.58.246.76]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5E4D93F70D; Mon, 16 Nov 2020 04:25:45 -0800 (PST) Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kedZs-0001cF-1O for xen-devel@lists.xenproject.org; Mon, 16 Nov 2020 12:25:48 +0000 X-Inumbo-ID: cdd74c7c-d060-4720-88b2-f346a4a63bac Received: from foss.arm.com (unknown [217.140.110.172]) by us1-rack-iad1.inumbo.com (Halon) with ESMTP id cdd74c7c-d060-4720-88b2-f346a4a63bac; Mon, 16 Nov 2020 12:25:47 +0000 (UTC) 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 B8FDF101E; Mon, 16 Nov 2020 04:25:46 -0800 (PST) Received: from scm-wfh-server-rahsin01.stack04.eu02.mi.arm.com (unknown [10.58.246.76]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5E4D93F70D; Mon, 16 Nov 2020 04:25:45 -0800 (PST) From: Rahul Singh To: xen-devel@lists.xenproject.org Cc: bertrand.marquis@arm.com, Andrew Cooper , George Dunlap , Ian Jackson , Jan Beulich , Julien Grall , Stefano Stabellini , Wei Liu , Paul Durrant Subject: [PATCH v3 0/3] xen/arm: Make PCI passthrough code non-x86 specific Date: Mon, 16 Nov 2020 12:25:15 +0000 Message-Id: X-Mailer: git-send-email 2.17.1 This patch series is v3 of preparatory work to make PCI passthrough code non-x86 specific. Rahul Singh (3): xen/ns16550: Make ns16550 driver usable on ARM with HAS_PCI enabled. xen/pci: Move x86 specific code to x86 directory. xen/pci: solve compilation error on ARM with HAS_PCI enabled. xen/drivers/char/Kconfig | 4 + xen/drivers/char/ns16550.c | 32 ++++---- xen/drivers/passthrough/Makefile | 3 - xen/drivers/passthrough/pci.c | 86 +-------------------- xen/drivers/passthrough/x86/Makefile | 1 + xen/drivers/passthrough/{io.c => x86/hvm.c} | 66 ++++++++++++++++ xen/drivers/passthrough/x86/iommu.c | 19 +++++ xen/include/xen/iommu.h | 2 + xen/include/xen/pci.h | 2 + 9 files changed, 112 insertions(+), 103 deletions(-) rename xen/drivers/passthrough/{io.c => x86/hvm.c} (95%) -- 2.17.1