All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/8] Support hiding capability when its initialization fails
@ 2025-04-09  6:45 Jiqian Chen
  2025-04-09  6:45 ` [PATCH v2 1/8] driver/pci: Get next capability without passing caps Jiqian Chen
                   ` (7 more replies)
  0 siblings, 8 replies; 41+ messages in thread
From: Jiqian Chen @ 2025-04-09  6:45 UTC (permalink / raw)
  To: xen-devel
  Cc: Huang Rui, Jiqian Chen, Andrew Cooper, Anthony PERARD,
	Michal Orzel, Jan Beulich, Julien Grall, Roger Pau Monné,
	Stefano Stabellini

Hi,

This series is to
emulate legacy and extended capability list for host, including patch #1, #2, #3,
hide capability when its initialization fails, including patch #4,
remove all related registers and other resources when failure, including patch #5, #6, #7, #8.

Best regards,
Jiqian Chen.
---
cc: Andrew Cooper <andrew.cooper3@citrix.com>
cc: Anthony PERARD <anthony.perard@vates.tech>
cc: Michal Orzel <michal.orzel@amd.com>
cc: Jan Beulich <jbeulich@suse.com>
cc: Julien Grall <julien@xen.org>
cc: "Roger Pau Monné" <roger.pau@citrix.com>
cc: Stefano Stabellini <sstabellini@kernel.org>
---
Jiqian Chen (8):
  driver/pci: Get next capability without passing caps
  vpci/header: Emulate legacy capability list for host
  vpci/header: Emulate extended capability list for host
  vpci: Hide capability when it fails to initialize
  vpci: Refactor vpci_remove_register to remove matched registers
  vpci/rebar: Remove registers when init_rebar() fails
  vpci/msi: Free MSI resources when init_msi() fails
  vpci/msix: Add function to clean MSIX resources

 tools/tests/vpci/main.c           |   4 +-
 xen/arch/x86/hvm/intercept.c      |  44 +++++++
 xen/arch/x86/include/asm/hvm/io.h |   3 +
 xen/drivers/pci/pci.c             |   6 +-
 xen/drivers/vpci/header.c         | 180 ++++++++++++++++-----------
 xen/drivers/vpci/msi.c            |  49 ++++++--
 xen/drivers/vpci/msix.c           |  67 +++++++++-
 xen/drivers/vpci/rebar.c          |  27 ++--
 xen/drivers/vpci/vpci.c           | 198 ++++++++++++++++++++++++------
 xen/include/xen/pci.h             |   2 +-
 xen/include/xen/pci_regs.h        |   1 +
 xen/include/xen/vpci.h            |  30 +++--
 xen/include/xen/xen.lds.h         |   2 +-
 13 files changed, 461 insertions(+), 152 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2025-04-17  7:38 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09  6:45 [PATCH v2 0/8] Support hiding capability when its initialization fails Jiqian Chen
2025-04-09  6:45 ` [PATCH v2 1/8] driver/pci: Get next capability without passing caps Jiqian Chen
2025-04-10 12:34   ` Jan Beulich
2025-04-11  2:51     ` Chen, Jiqian
2025-04-11  8:00       ` Jan Beulich
2025-04-11  8:08         ` Chen, Jiqian
2025-04-09  6:45 ` [PATCH v2 2/8] vpci/header: Emulate legacy capability list for host Jiqian Chen
2025-04-10 12:40   ` Jan Beulich
2025-04-11  2:54     ` Chen, Jiqian
2025-04-11  8:01       ` Jan Beulich
2025-04-15  9:25   ` Roger Pau Monné
2025-04-15 10:07     ` Chen, Jiqian
2025-04-15 10:08       ` Jan Beulich
2025-04-15 10:23         ` Chen, Jiqian
2025-04-15 10:50       ` Roger Pau Monné
2025-04-15 10:10   ` Roger Pau Monné
2025-04-16  2:51     ` Chen, Jiqian
2025-04-16  7:32       ` Roger Pau Monné
2025-04-09  6:45 ` [PATCH v2 3/8] vpci/header: Emulate extended " Jiqian Chen
2025-04-15  9:42   ` Roger Pau Monné
2025-04-15 10:11     ` Chen, Jiqian
2025-04-15  9:49   ` Jan Beulich
2025-04-15 10:18     ` Chen, Jiqian
2025-04-15 10:20       ` Jan Beulich
2025-04-09  6:45 ` [PATCH v2 4/8] vpci: Hide capability when it fails to initialize Jiqian Chen
2025-04-15 10:47   ` Roger Pau Monné
2025-04-16  6:07     ` Chen, Jiqian
2025-04-09  6:45 ` [PATCH v2 5/8] vpci: Refactor vpci_remove_register to remove matched registers Jiqian Chen
2025-04-15 11:06   ` Roger Pau Monné
2025-04-09  6:45 ` [PATCH v2 6/8] vpci/rebar: Remove registers when init_rebar() fails Jiqian Chen
2025-04-15 12:59   ` Roger Pau Monné
2025-04-09  6:45 ` [PATCH v2 7/8] vpci/msi: Free MSI resources when init_msi() fails Jiqian Chen
2025-04-15 13:29   ` Roger Pau Monné
2025-04-16  6:16     ` Chen, Jiqian
2025-04-16  7:47       ` Roger Pau Monné
2025-04-09  6:45 ` [PATCH v2 8/8] vpci/msix: Add function to clean MSIX resources Jiqian Chen
2025-04-15 13:45   ` Roger Pau Monné
2025-04-16  6:20     ` Chen, Jiqian
2025-04-16  7:54       ` Roger Pau Monné
2025-04-17  7:34   ` Jan Beulich
2025-04-17  7:38     ` Chen, Jiqian

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.