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

Re: [PATCH v2 1/8] vpci: rename and export vpci_modify_bars


  • To: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
  • Date: Mon, 16 Mar 2026 17:03:29 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=epam.com 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=2VJ2/ZaIa1tp7HHB3+IanEReRu7K+Mb6xw3f4L1LBWw=; b=hfSl9zgcnNyY7vmQ4gsO8udU3Wg1lcphwQ8wNJ/ee25Q8EoylW0u+/JFaR2E109vBVrgZspl+37cn7LACLhI7XDz607+eNnOHd7jwQNEQ8YspWGea5LSv+mjPE8GboDDhr5raxZT3onP5qB/6QFvKqfd77etSpSnBhuHrO7FkMdU93nvW19HIQBB0n6nwidZupyYnPO5nFPWC7hsUVDTREbPJxe72Sq/FKBajSfbvdMge9d9fYM9HlNg1j11Jlps7pTNJl76obi64C5wujXX7VflZuY6DaUyjZW/iiKpiQdF6OB2dJT8NV5GhurnD7nc+XMn1BZ22cSdwbsNz+uWlQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NOAc80PM1Yj+l4g4sE7WkZexS9RlTzhgokyCtFRYewg7B8MwHsNL+Q4Sl6WnMZJ3PDUqHfvmbK8J54TKDggS8ZWT2nN/aYDQRqsymwLCbNB376Hl/aP+ggzJxJzctN2yIos3/FqZbUEf3yuGW4fP+URRdhYkGSwwaAM0ZjTgbpqc+neR9S30freoR+WYGKyXjiE4E1mUSp1EjI08MhAhpkeOB3efvkjIshxfTK2vQgCAYDnuLmTUWYAZTS5/AIzJfHB6M423/9AByGnUIAHiEjTq0VCDzOAyT9CBwQ8J+PO7FDU/BMLGjSUMz6XocImOcMGIK77J2cwOEbeEeinfYQ==
  • Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Teddy Astie <teddy.astie@xxxxxxxxxx>
  • Delivery-date: Mon, 16 Mar 2026 21:03:50 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 3/9/26 07:08, Mykyta Poturai wrote:
> diff --git a/xen/include/xen/vpci.h b/xen/include/xen/vpci.h
> index d6310104ea..a98ddbb32e 100644
> --- a/xen/include/xen/vpci.h
> +++ b/xen/include/xen/vpci.h
> @@ -295,6 +295,9 @@ bool vpci_ecam_write(pci_sbdf_t sbdf, unsigned int reg, 
> unsigned int len,
>  bool vpci_ecam_read(pci_sbdf_t sbdf, unsigned int reg, unsigned int len,
>                      unsigned long *data);
>  
> +/* Map/unmap the BARs of a vPCI device. */
> +int vpci_modify_bars(const struct pci_dev *pdev, uint16_t cmd, bool 
> rom_only);

This prototype should be moved to private.h

> +
>  #endif /* __XEN__ */
>  
>  #else /* !CONFIG_HAS_VPCI */




 


Rackspace

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