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

Re: [PATCH v2 2/8] vpci: rename and export vpci_guest_mem_bar_{read,write}


  • To: Mykyta Poturai <Mykyta_Poturai@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Stewart Hildebrand <stewart.hildebrand@xxxxxxx>
  • Date: Mon, 16 Mar 2026 17:04:50 -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=kGh0AX302Hg/MgMyDPISw9Gh+5rLTH/67c0brE04ato=; b=k1xwtCuk5iU0HMHj0fMmDOddmIjmc1WWkqS4nrIqa19VVFREANb0UDlfBAUx6twANC3WjN02GB46GcLtpBD9Rlt64sZd9CN98/LbOI9LAoNjh5+XUGCKj5oOXZXTytoSUskodKPlgV600L/o4u6c1sy+TtBwBFlc8nF1iTds7ApqZTYYmL6s2RUNIsqU5HOP2xtsSCl46OAnh4U5tToxEQkDAPDwhalZpYagtGvvO2WKeUBfFyV/ZIFLG/nkBEe/3nvrQuxeYza6mm2Lv/UZsIaWYg52u14dgJcHHH+NxNJz1V9sZnloqX1WtVgtNOY3Z8dHNJPWjtu813JwUz24Vw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sEAOf0A12cqQ6a2hOnxbEkQqalRX0qWZSb9+rdH7RVqqDNMp3lfCM6qVuiiGCHnBkjS0ZU6oOGzQO+Fd434PIuce/dgQxgFJ0PvLGZc2eWRpXVOSRZojvyQxa4KDotiJPWoiI5kF17JkY64qNk0qqLH9vclS5jSCKvRa5WIo0huhcHfFXZ95FJJS1gmd7MzOcc4W/nPQS7R48F18594Mf5S3tYMiQQel4wBpGJHngKayChl7BCOn3N8xa1SIkV4wQ8hv8GDPb4CelKyQBBG0Y05LCEMK43UsLuU6vNHN0QRkU7x0jihQfSe1pFoeLexVf6wf2LNxpnxVXr6XdfM6ag==
  • Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Teddy Astie <teddy.astie@xxxxxxxxxx>
  • Delivery-date: Mon, 16 Mar 2026 21:05:28 +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 a98ddbb32e..dd233b8b03 100644
> --- a/xen/include/xen/vpci.h
> +++ b/xen/include/xen/vpci.h
> @@ -78,6 +78,12 @@ void vpci_write(pci_sbdf_t sbdf, unsigned int reg, 
> unsigned int size,
>  uint32_t cf_check vpci_read_val(
>      const struct pci_dev *pdev, unsigned int reg, void *data);
>  
> +void cf_check vpci_guest_mem_bar_write(const struct pci_dev *pdev,
> +                                       unsigned int reg, uint32_t val,
> +                                       void *data);
> +uint32_t cf_check vpci_guest_mem_bar_read(const struct pci_dev *pdev,
> +                                          unsigned int reg, void *data);
> +

These prototypes should be moved to private.h

>  /* Passthrough handlers. */
>  uint32_t cf_check vpci_hw_read8(
>      const struct pci_dev *pdev, unsigned int reg, void *data);




 


Rackspace

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