[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 0/3] dom0less pci passthrough support on Arm part 1
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>
- Date: Fri, 1 Aug 2025 09:22:42 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Dtx8p9qHm8yinBn9Qrplu2+CNXgBCVcnXs1ePwe02dA=; b=sbwuAp64lp6E0CIFjaLPt2tRVp3b31msygZTrnyRvJRWzqFIaG9CCnkaQyGyBa6im/g9nSQ5AEJg/dJpi1HM2j78m6qtEheR9+hTRGRZ+I+xdaLx/t1sXwzaZ2UIJmsuEm0+/894vNJNdHiln7ToyHah0741tHZ+ApJHdRisKrc0Lkb1VyyEstsMQEYW8h/QKG2G0OpYApAu9n2A5uOg8ooDnX8A6qMaV/gTzx/SuMJLO3lr0SbgfA1aJ2htUvaSEn3MaJZjW0zu3KHl/BZqlqCr741YXsXDfuZkiBFYirDZ1fELgGEMWWGa05O+e6h0yPuxW7Q05rf1+FX642xD/A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wOdqgXYZkxcTQR75XTMrOwVzDYH0LzfbrJXPtnoGcdSQgv8XUFUAvsMCSDkF3o+Eb0bhZ0ECBVVu3EZ/SEUsBH+Hcrk+DnuRCcuc4Qbl1jqGr8MvqTNZ65w35pj4eMhnMHXGu+OOdadL7EDtVhBHAObHuznLLdHWHH38Wi5QO2MSm7R/UHoz2KOwhSycKJpUP7E8uwLEVOgY/0xX3SIqf/DtwoG4L2SJuqBNni1GrR9aDip5ggZMuoFQTDPGMhF0aO7140r9wR6v+BFmAJGGHrqPKcKZdnozJ03aKyUvcO8vVaTjKFVzzztyIYv/9DQcTm6ciIJ1Vd35bOHPWOrLSg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Fri, 01 Aug 2025 09:22:57 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHcAsXVF02fN3kgykGEDkz2yi/slw==
- Thread-topic: [PATCH v1 0/3] dom0less pci passthrough support on Arm part 1
This series adds basic PCI device enumeration in Xen. This will allow us to not
rely on Dom0 enumeration for supported controllers, which will enable PCI
passthrough for dom0less setups.
Enumeration is disabled by default and can be enabled with "pci-scan" cmdline
option. Discovered devices are added to Xen and assigned to dom_io by default.
Edward Pickup (1):
arm/pci: Add pci-scan boot argument
Luca Fancellu (2):
xen/pci: modify pci_add_device to handle device add by Xen
xen/pci: add discovered PCI device at boot
docs/misc/xen-command-line.pandoc | 7 ++++
xen/arch/arm/include/asm/pci.h | 11 ++++++
xen/arch/arm/pci/pci-host-common.c | 1 +
xen/arch/arm/pci/pci.c | 27 ++++++++++++-
xen/arch/x86/physdev.c | 9 ++---
xen/drivers/passthrough/pci.c | 62 +++++++++++++++++++++++-------
xen/drivers/pci/physdev.c | 3 +-
xen/include/xen/pci.h | 4 +-
8 files changed, 102 insertions(+), 22 deletions(-)
--
2.34.1
|