From: Stewart Hildebrand <stewart.hildebrand@amd.com>
To: <xen-devel@lists.xenproject.org>
Cc: Rahul Singh <rahul.singh@arm.com>,
Stefano Stabellini <sstabellini@kernel.org>,
Julien Grall <julien@xen.org>,
Bertrand Marquis <bertrand.marquis@arm.com>,
Michal Orzel <michal.orzel@amd.com>,
"Volodymyr Babchuk" <Volodymyr_Babchuk@epam.com>,
Stefano Stabellini <stefano.stabellini@amd.com>,
Stewart Hildebrand <stewart.hildebrand@amd.com>,
Julien Grall <jgrall@amazon.com>
Subject: [PATCH v6 1/5] xen/arm: pci: introduce PCI_PASSTHROUGH Kconfig option
Date: Mon, 13 Nov 2023 17:21:10 -0500 [thread overview]
Message-ID: <20231113222118.825758-2-stewart.hildebrand@amd.com> (raw)
In-Reply-To: <20231113222118.825758-1-stewart.hildebrand@amd.com>
From: Rahul Singh <rahul.singh@arm.com>
Setting CONFIG_PCI_PASSTHROUGH=y will enable PCI passthrough on ARM, even though
the feature is not yet complete in the current upstream codebase. The purpose of
this is to make it easier to enable the necessary configs (HAS_PCI, HAS_VPCI) for
testing and development of PCI passthrough on ARM.
Since PCI passthrough on ARM is still work in progress at this time, make it
depend on EXPERT.
Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@amd.com>
Signed-off-by: Stewart Hildebrand <stewart.hildebrand@amd.com>
Acked-by: Julien Grall <jgrall@amazon.com>
---
(cherry picked from commit 9a08f1f7ce28ec619640ba9ce11018bf443e9a0e from the
downstream branch [1])
v5->v6:
* no change
v4->v5:
* no change
v3->v4:
* no change
v2->v3:
* add Julien's A-b
v1->v2:
* drop "ARM" naming since it is already in an ARM category
* depend on EXPERT instead of UNSUPPORTED
Changes from downstream to v1:
* depends on ARM_64 (Stefano)
* Don't select HAS_VPCI_GUEST_SUPPORT since this config option is not currently
used in the upstream codebase. This will want to be re-added here once the
vpci series [2] is merged.
* Don't select ARM_SMMU_V3 since this option can already be selected
independently. While PCI passthrough on ARM depends on an SMMU, it does not
depend on a particular version or variant of an SMMU.
* Don't select HAS_ITS since this option can already be selected independently.
HAS_ITS may want to be added here once the MSI series [1] is merged.
* Don't select LATE_HWDOM since this option is unrelated to PCI passthrough.
[1] https://gitlab.com/xen-project/people/bmarquis/xen-arm-poc/-/commits/poc/pci-passthrough
[2] https://lists.xenproject.org/archives/html/xen-devel/2023-10/msg00660.html
---
xen/arch/arm/Kconfig | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
index 2939db429b78..5ff68e5d5979 100644
--- a/xen/arch/arm/Kconfig
+++ b/xen/arch/arm/Kconfig
@@ -190,6 +190,15 @@ config STATIC_SHM
help
This option enables statically shared memory on a dom0less system.
+config PCI_PASSTHROUGH
+ bool "PCI passthrough" if EXPERT
+ depends on ARM_64
+ select HAS_PCI
+ select HAS_VPCI
+ default n
+ help
+ This option enables PCI device passthrough
+
endmenu
menu "ARM errata workaround via the alternative framework"
--
2.42.0
next prev parent reply other threads:[~2023-11-13 22:22 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-13 22:21 [PATCH v6 0/5] Kconfig for PCI passthrough on ARM Stewart Hildebrand
2023-11-13 22:21 ` Stewart Hildebrand [this message]
2023-11-13 22:21 ` [PATCH v6 2/5] xen/vpci: move xen_domctl_createdomain vPCI flag to common Stewart Hildebrand
2023-11-14 9:11 ` Jan Beulich
2023-11-29 21:25 ` Stewart Hildebrand
2023-12-15 9:36 ` Rahul Singh
2023-12-19 18:55 ` Stewart Hildebrand
2023-11-13 22:21 ` [PATCH v6 3/5] [FUTURE] xen/arm: enable vPCI for dom0 Stewart Hildebrand
2023-11-13 22:21 ` [PATCH v6 4/5] [FUTURE] xen/arm: enable vPCI for domUs Stewart Hildebrand
2023-11-14 9:13 ` Jan Beulich
2023-11-30 2:47 ` Stewart Hildebrand
2023-11-30 8:33 ` Jan Beulich
2023-11-30 17:06 ` Stewart Hildebrand
2023-12-01 6:57 ` Jan Beulich
2023-12-01 9:16 ` Roger Pau Monné
2023-12-02 2:56 ` Stefano Stabellini
2023-12-04 3:54 ` Stewart Hildebrand
2023-12-04 8:24 ` Jan Beulich
2023-12-04 10:58 ` Roger Pau Monné
2023-12-04 19:09 ` Stewart Hildebrand
2023-12-04 22:07 ` Stefano Stabellini
2023-12-05 11:08 ` Roger Pau Monné
2023-12-05 16:27 ` Stewart Hildebrand
2023-12-05 17:09 ` Roger Pau Monné
2023-12-05 17:36 ` Stewart Hildebrand
2023-12-05 23:25 ` Stefano Stabellini
2023-12-05 19:01 ` Stewart Hildebrand
2023-12-11 9:42 ` Roger Pau Monné
2023-12-06 2:34 ` Stefano Stabellini
2023-12-11 10:36 ` Roger Pau Monné
2023-12-12 1:34 ` Stefano Stabellini
2023-11-13 22:21 ` [PATCH v6 5/5] [FUTURE] tools/arm: " Stewart Hildebrand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231113222118.825758-2-stewart.hildebrand@amd.com \
--to=stewart.hildebrand@amd.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=bertrand.marquis@arm.com \
--cc=jgrall@amazon.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=rahul.singh@arm.com \
--cc=sstabellini@kernel.org \
--cc=stefano.stabellini@amd.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.