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)
commitbe66b673659116930f2da2f41ec79c9d1279cd8f
tree0c61e8313cd0c773bb4fe81e76ff219dfb364eba
parent691ac1dc5840ff0faeec82ea6e94d6b7bc187ac9
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