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

[PATCH v3 0/4] vpci: allow 32-bit BAR writes with memory decoding enabled


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
  • Date: Mon, 23 Mar 2026 23:04:57 -0400
  • 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=qCPS1SVhJTxdoO7vExSmXHAYtVEIATcEae7Zxk/11k4=; b=XBB8b/2Eln7+NoTGAGBw4btBsM9J48tecTWWgWLwxMWaTIc92dggpVcbcTAW+YO3z7YzxyzpXSqYWDn2g7swoTjAT8vVJYPH/z98T7k1ADFB1yuonhOGPGtmqrbmKy/XyzGeiaTa4fPssZcYGpD3EUos9AtKVYVR5kGgP8/ThWHJxwi+fKrOcUNyf/5I+8bfwb09i+/Hjk7K8NY7VdtwKSqGAaliigL1BnNBhYVj3sUWWN6zdAYwqgQUzNwMUQjzOCETO2vwfoqWewlrjcVZuXecbJq3AnQqjNPUyckW8MZZghpJCHOfv2ngyaj1P3Gn+kYxwU8ShspQt6QAG2OdEg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=q73XTm3s1NyQ/qWRUoKrfzeUfyFCd23z7NjWDltvRPnOocdgfXvMaEmgEpeArHumDOigtSrOlL5gAnprauuYksEl8S40SugKWHdm+99FGlkAvGB514XEHT/oMNyaKYop181QdqinAxWT+D5GoWE9I0I1M7rZHLa20wqGPZbuflpuK/Cj5KzEDXdo0UBFrrRl7F23w3CJ8Cj3BdMs8+xUKQxf/zQaAeytJFO/+Im8SWcwoi5A+7zrPyz9hAL60ZWuR54T3Y8AgnJqqQoor6nYBer0uVv0BcpzFi6WEMB4V95suuEMUHiqLbBtsIW5AeQsJjsAKDHK7VWvHNPPiPXoyA==
  • Cc: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, 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>
  • Delivery-date: Tue, 24 Mar 2026 03:05:46 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Pipeline: 
https://gitlab.com/xen-project/people/stewarthildebrand/xen/-/pipelines/2404206419

v2->v3:
* add ("vpci: Use pervcpu ranges for BAR mapping")
* rework with fixed array of map/unmap slots

v2: 
https://lore.kernel.org/xen-devel/20250723163744.13095-1-stewart.hildebrand@xxxxxxx/T/#t

v1->v2:
* new approach with queued p2m operations

RFC->v1:
* rework BAR mapping machinery to support unmap-then-map operation

Mykyta Poturai (1):
  vpci: Use pervcpu ranges for BAR mapping

Stewart Hildebrand (3):
  vpci: allow queueing of mapping operations
  vpci: allow BAR map/unmap without affecting memory decoding bit
  vpci: allow 32-bit BAR writes with memory decoding enabled

 xen/common/domain.c        |   5 +
 xen/drivers/vpci/header.c  | 258 +++++++++++++++++++++----------------
 xen/drivers/vpci/vpci.c    |  43 ++++++-
 xen/include/xen/rangeset.h |   7 +
 xen/include/xen/vpci.h     |  24 +++-
 5 files changed, 214 insertions(+), 123 deletions(-)


base-commit: efacf86685912a9249e5cd7f2ef748f0d02b9e23
-- 
2.53.0




 


Rackspace

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