Merge branch 'pci/controller/hyperv'

- Fix ring buffer size at 16KB (not 4 pages), which reduces memory usage by
  128KBytes with 64KB pages (Michael Kelley)

* pci/controller/hyperv:
  PCI: hv: Fix ring buffer size calculation
This commit is contained in:
Bjorn Helgaas 2024-03-12 12:14:25 -05:00
commit 0b5ce6b2f7

View File

@ -49,6 +49,7 @@
#include <linux/refcount.h>
#include <linux/irqdomain.h>
#include <linux/acpi.h>
#include <linux/sizes.h>
#include <asm/mshyperv.h>
/*
@ -465,7 +466,7 @@ struct pci_eject_response {
u32 status;
} __packed;
static int pci_ring_size = (4 * PAGE_SIZE);
static int pci_ring_size = VMBUS_RING_SIZE(SZ_16K);
/*
* Driver specific state.