]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: hv: Use page allocation for hbus structure
authorJork Loeser <jloeser@microsoft.com>
Wed, 24 May 2017 20:41:25 +0000 (13:41 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Sun, 2 Jul 2017 23:43:08 +0000 (18:43 -0500)
commit6487b032790787b10759b34a4dc9a0d209258190
tree0c61e8313cd0c773bb4fe81e76ff219dfb364eba
parent67ce5f27031273cafbd28c487e2500f2aeeafa30
PCI: hv: Use page allocation for hbus structure

The hv_pcibus_device structure contains an in-memory hypercall argument
that must not cross a page boundary.  Allocate the structure as a page to
ensure that.

Signed-off-by: Jork Loeser <jloeser@microsoft.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
drivers/pci/host/pci-hyperv.c