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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
  • Date: Sat, 31 May 2025 08:53:58 -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=PFy7btpEmF4KXga9FWdbj+/uivjqM8/1W1b/KcQpMbk=; b=VxoRf778zj10/PbcSgXLjBjB7K1ghLAE1VLkRSgs++eaR84+B5GAAS2SUWunQCnOcelutIeMqd7/pxbRhz3eqVmtXtOuZh0tP2cfPDk4uqXwqqgfWKx9ud83NnT7bWh/IgVkcxAIQvFlbSR5qnbHFqcbXXFCqxRXiFrNkHmrNjApwxZkO5/weWH/mFQ1/gTIPWnmWhZhPJPBwFWYGAaZc1PlN9tv/2w7ozOtxL46h6RUa52jhKZ+dNPRJH+lICf9JGdPf8Kdwtod7I7THsyw7opoiVrR/Ai/MfCNe5gNw1Ip7I61Yp5ZTGSGK9l1K7OAGMq1NAnjxswDOC3LiFlmIw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Ntq6QnSGaM1rh7z44O2dvulKcTpdCPSm61npkA3cA4wixPvoI9Nc4TvHhquEqcU3VT3p00aetp+sPK9QaPxiIe4f9HqZNKEefAngW2JK9EqYOa+dgCb8nlvDPDikGVlUxD/YUXD6YXYJV/8zaBfkIbQeiDooS3BAdjUxdxVrOVwVtTblMqaKvJaVLDIJplMo8SdGuXW4XuV0LA97Ru5IixqcP5h+JCB6AJCAEzhbondQTLCdqcQyBcm+D4SD49UTwHR6XcrdPaSH76GMcSSXLXQIaG1op8L7vhfGfsr+Ix5HuOCKl4Hio7S5NYMgENp8eh/UwvQGKSvEb/YuJ6cm/w==
  • Cc: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Sat, 31 May 2025 12:54:34 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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

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

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

Stewart Hildebrand (5):
  vpci: const-ify some pdev instances
  vpci: rework error path in vpci_process_pending()
  vpci: introduce map_bars()
  vpci: use separate rangeset for BAR unmapping
  vpci: allow 32-bit BAR writes with memory decoding enabled

 xen/drivers/vpci/header.c | 220 ++++++++++++++++++++++++++------------
 xen/drivers/vpci/vpci.c   |   5 +-
 xen/include/xen/vpci.h    |  10 +-
 3 files changed, 162 insertions(+), 73 deletions(-)


base-commit: 96a587a057363e519ca74498882fac42d72670b6
-- 
2.49.0




 


Rackspace

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