[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v11 0/5] Support hiding capability when its initialization fails


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jiqian Chen <Jiqian.Chen@xxxxxxx>
  • Date: Fri, 8 Aug 2025 16:03:32 +0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=PbkZOn+6Yp13WyrcBqTHgOEVpIDCAULsuben0T5moQM=; b=tU/mDtnJ7BP6R3HHkHfQh/vqDv79j45cVIXiTY1NGFk2Hb4SccLQO8bTUzqPzWxjy6oUl1SIEfEx9GTnnNAHIiPXKgZ5Oyb+U4gAyuVrUyV9gaQxdWKTU0lwLiz9TNveQnTfusw/rpXH4vUHlgL1/p6keTim7vy8wtxtiCRVTla9Wr60iEBZJrzDkme4EMXJsmIziJhSs6XcPtyBPMqXMC9IfgLQ9jRWt7mq5EkWPNGb0SxdPt2yxxEoQFZDyK/ukMU65DY72jo/qTdrxBoTKqsxDmxenpTuyyojcR1aetB4DVKZNpKmfZS8C+bCQ61K/Z7Qw2bVuw2eVWsIxMMgZQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aXSrTRhPELm82XuCircHYQQZeyRAr5oWH/QT8NcSterq1oPBo5LX1IKmAKyPLEcGR1dYnGIv2AoFWcqtWJQzld/YuSKmMMekHmDRJJC3Fc4m+zE3/hty3FPNXoRZqB376V8EL2fI1j1ggzyTEAQUKHCKWLR4v9RkcXd8c1Jj9wi8x3tMOK4C+wLtZMZcELcrQuT++up2c0BrpkFJuKgjXTQi4guBPLgesJ9vazxbTZ2uYez83oFRG0oKIr8uFzJFHiMGDqastk79HoltnSYnH62frU5gWmNJAiHgKle/kPoewNaZBaF8bztgvnsJHxJcI+klKJ41r8a/bi39u0bJvw==
  • Cc: Huang Rui <ray.huang@xxxxxxx>, Jiqian Chen <Jiqian.Chen@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Delivery-date: Fri, 08 Aug 2025 08:04:11 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi,

This series is to
emulate extended capability list for dom0;
hide legacy and extended capability when its initialization fails;
above two parts had been merged.
remove all related registers and other resources when initializing capability 
fails, including patch #1, #2, #3, #4, #5.

Best regards,
Jiqian Chen.
---
cc: "Roger Pau Monné" <roger.pau@xxxxxxxxxx>
cc: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
Jiqian Chen (5):
  vpci: Use cleanup to free capability resource during deassign
  vpci: Refactor vpci_remove_register to remove matched registers
  vpci/rebar: Implement cleanup function for Rebar
  vpci/msi: Implement cleanup function for MSI
  vpci/msix: Implement cleanup function for MSI-X

 tools/tests/vpci/main.c  |  8 ++---
 xen/drivers/vpci/msi.c   | 49 ++++++++++++++++++++++++++-
 xen/drivers/vpci/msix.c  | 47 +++++++++++++++++++++++++-
 xen/drivers/vpci/rebar.c | 66 ++++++++++++++++++++++++++++++------
 xen/drivers/vpci/vpci.c  | 72 ++++++++++++++++++++++++----------------
 xen/include/xen/vpci.h   |  6 ++--
 6 files changed, 200 insertions(+), 48 deletions(-)

-- 
2.34.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.