]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'pci/resources'
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 31 Jul 2025 21:11:43 +0000 (16:11 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 31 Jul 2025 21:11:43 +0000 (16:11 -0500)
- Restore VF resizable BAR state after reset (Michał Winiarski)

- Add pci_resource_num_to_vf_bar() and pci_resource_num_from_vf_bar() to
  convert between VF BAR number and the dev->resource[] index (Michał
  Winiarski)

- Allow IOV resources (VF BARs) to be resized (Michał Winiarski)

- Add pci_iov_vf_bar_set_size() so drivers can control VF BAR size (Michał
  Winiarski)

* pci/resources:
  PCI/IOV: Allow drivers to control VF BAR size
  PCI/IOV: Check that VF BAR fits within the reservation
  PCI/IOV: Allow IOV resources to be resized in pci_resize_resource()
  PCI/IOV: Add pci_resource_num_to_vf_bar() to convert VF BAR number to/from IOV resource
  PCI/IOV: Restore VF resizable BAR state after reset

1  2 
drivers/pci/pci.c
drivers/pci/pci.h
include/linux/pci.h

Simple merge
Simple merge
Simple merge