xen/arm: allow PCI host bridge to have private data

Some of the PCI host bridges require private data. Add priv field
to struct pci_host_bridge, so such bridges may populate it with
their private data.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Mykyta Poturai <mykyta_poturai@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Oleksandr Andrushchenko authored and Stefano Stabellini committed 2025-06-17 15:32:31 -07:00
1 parent 108308feef
commit 92b72ab868
1 file changed
+1
+1
View File
@@ -68,6 +68,7 @@ struct pci_host_bridge {
uint16_t segment; /* Segment number */
struct pci_config_window* cfg; /* Pointer to the bridge config window */
const struct pci_ops *ops;
void *priv; /* Private data of the bridge. */
};
struct pci_ops {
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.