[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211215141626.3090807-1-michal.winiarski@intel.com>
Date: Wed, 15 Dec 2021 15:16:24 +0100
From: Michał Winiarski <michal.winiarski@...el.com>
To: <linux-pci@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>
CC: Christian König <christian.koenig@....com>,
"Ard Biesheuvel" <ardb@...nel.org>,
"Michael J . Ruhl" <michael.j.ruhl@...el.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
Michał Winiarski <michal.winiarski@...el.com>
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.
Thanks!
-Michał
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(-)
--
2.34.0
Powered by blists - more mailing lists