All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/10] Support hiding capability when its initialization fails
@ 2025-05-09  9:05 Jiqian Chen
  2025-05-09  9:05 ` [PATCH v4 01/10] vpci/header: Move emulating cap list logic into new function Jiqian Chen
                   ` (9 more replies)
  0 siblings, 10 replies; 45+ messages in thread
From: Jiqian Chen @ 2025-05-09  9:05 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 dom0, including patch #1, #2, #3.
hide legacy and extended capability when its initialization fails, including patch #4, #5, #6.
remove all related registers and other resources when initializing capability fails, including patch #7, #8, #9, #10.

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 (10):
  vpci/header: Move emulating cap list logic into new function
  vpci/header: Emulate legacy capability list for dom0
  vpci/header: Emulate extended capability list for dom0
  vpci: Refactor REGISTER_VPCI_INIT
  vpci: Hide legacy capability when it fails to initialize
  vpci: Hide extended 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/drivers/vpci/header.c  | 187 +++++++++++++--------
 xen/drivers/vpci/msi.c     |  22 ++-
 xen/drivers/vpci/msix.c    |  29 +++-
 xen/drivers/vpci/rebar.c   |  35 ++--
 xen/drivers/vpci/vpci.c    | 325 ++++++++++++++++++++++++++++++++-----
 xen/include/xen/pci_regs.h |   5 +-
 xen/include/xen/vpci.h     |  38 +++--
 xen/include/xen/xen.lds.h  |   2 +-
 9 files changed, 505 insertions(+), 142 deletions(-)

-- 
2.34.1



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

end of thread, other threads:[~2025-05-22  7:27 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-09  9:05 [PATCH v4 00/10] Support hiding capability when its initialization fails Jiqian Chen
2025-05-09  9:05 ` [PATCH v4 01/10] vpci/header: Move emulating cap list logic into new function Jiqian Chen
2025-05-09  9:05 ` [PATCH v4 02/10] vpci/header: Emulate legacy capability list for dom0 Jiqian Chen
2025-05-15 16:29   ` Roger Pau Monné
2025-05-16  2:33     ` Chen, Jiqian
2025-05-09  9:05 ` [PATCH v4 03/10] vpci/header: Emulate extended " Jiqian Chen
2025-05-18 14:20   ` Jan Beulich
2025-05-19  6:43     ` Chen, Jiqian
2025-05-19  6:56       ` Jan Beulich
2025-05-19  7:13         ` Chen, Jiqian
2025-05-19 13:10           ` Jan Beulich
2025-05-19 13:21             ` Roger Pau Monné
2025-05-21  6:08               ` Chen, Jiqian
2025-05-21  6:25                 ` Jan Beulich
2025-05-21  6:44                   ` Chen, Jiqian
2025-05-09  9:05 ` [PATCH v4 04/10] vpci: Refactor REGISTER_VPCI_INIT Jiqian Chen
2025-05-18 14:34   ` Jan Beulich
2025-05-19  6:56     ` Chen, Jiqian
2025-05-19 13:07       ` Jan Beulich
2025-05-09  9:05 ` [PATCH v4 05/10] vpci: Hide legacy capability when it fails to initialize Jiqian Chen
2025-05-18 14:44   ` Jan Beulich
2025-05-19  7:35     ` Chen, Jiqian
2025-05-19 10:04       ` Roger Pau Monné
2025-05-09  9:05 ` [PATCH v4 06/10] vpci: Hide extended " Jiqian Chen
2025-05-18 14:47   ` Jan Beulich
2025-05-19  7:41     ` Chen, Jiqian
2025-05-19 13:12       ` Jan Beulich
2025-05-09  9:05 ` [PATCH v4 07/10] vpci: Refactor vpci_remove_register to remove matched registers Jiqian Chen
2025-05-19  6:30   ` Jan Beulich
2025-05-19  7:44     ` Chen, Jiqian
2025-05-19 10:24     ` Roger Pau Monné
2025-05-09  9:05 ` [PATCH v4 08/10] vpci/rebar: Remove registers when init_rebar() fails Jiqian Chen
2025-05-19  6:54   ` Jan Beulich
2025-05-19  7:49     ` Chen, Jiqian
2025-05-09  9:05 ` [PATCH v4 09/10] vpci/msi: Free MSI resources when init_msi() fails Jiqian Chen
2025-05-20  6:40   ` Jan Beulich
2025-05-20  9:09     ` Roger Pau Monné
2025-05-20  9:14       ` Jan Beulich
2025-05-20  9:43         ` Roger Pau Monné
2025-05-21  7:00           ` Chen, Jiqian
2025-05-21 11:23             ` Roger Pau Monné
2025-05-22  2:21               ` Chen, Jiqian
2025-05-22  7:12                 ` Roger Pau Monné
2025-05-22  7:27                   ` Chen, Jiqian
2025-05-09  9:05 ` [PATCH v4 10/10] vpci/msix: Add function to clean MSIX resources Jiqian Chen

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.