[lkml]   [2021]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] PCI: VF resizable BAR
For regular BAR, drivers can use pci_resize_resource to resize it to the desired
size provided that it is supported by the hardware, which the driver can query
using pci_rebar_get_possible_sizes.
This series expands the API to work with IOV BAR as well.


Michał Winiarski (2):
PCI: Add support for VF Resizable Bar extended cap
PCI: Don't fail BAR resize if nothing is reassigned

drivers/pci/pci.c | 25 ++++++++++++++--
drivers/pci/setup-res.c | 55 +++++++++++++++++++++++++++++++----
include/uapi/linux/pci_regs.h | 1 +
3 files changed, 73 insertions(+), 8 deletions(-)


 \ /
  Last update: 2021-12-15 15:17    [W:0.208 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site