kernel_optimize_test/drivers/hv
Jake Oshins be000f93e5 drivers:hv: Track allocations of children of hv_vmbus in private resource tree
This patch changes vmbus_allocate_mmio() and vmbus_free_mmio() so
that when child paravirtual devices allocate memory-mapped I/O
space, they allocate it privately from a resource tree pointed
at by hyperv_mmio and also by the public resource tree
iomem_resource.  This allows the region to be marked as "busy"
in the private tree, but a "bridge window" in the public tree,
guaranteeing that no two bridge windows will overlap each other
but while also allowing the PCI device children of the bridge
windows to overlap that window.

One might conclude that this belongs in the pnp layer, rather
than in this driver.  Rafael Wysocki, the maintainter of the
pnp layer, has previously asked that we not modify the pnp layer
as it is considered deprecated.  This patch is thus essentially
a workaround.

Signed-off-by: Jake Oshins <jakeo@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-04-30 14:01:37 -07:00
..
channel_mgmt.c Drivers: hv: vmbus: avoid unneeded compiler optimizations in vmbus_wait_for_unload() 2016-03-01 16:57:20 -08:00
channel.c Drivers: hv: vmbus: Give control over how the ring access is serialized 2016-02-07 21:34:12 -08:00
connection.c Drivers: hv: vmbus: Export the vmbus_set_event() API 2016-04-30 14:00:19 -07:00
hv_balloon.c Drivers: hv: balloon: Enable dynamic memory protocol negotiation with Windows 10 hosts 2015-08-04 22:28:39 -07:00
hv_fcopy.c Drivers: hv: util: Pass the channel information during the init call 2016-03-01 16:57:20 -08:00
hv_kvp.c Drivers: hv: util: Pass the channel information during the init call 2016-03-01 16:57:20 -08:00
hv_snapshot.c Drivers: hv: util: Pass the channel information during the init call 2016-03-01 16:57:20 -08:00
hv_util.c Drivers: hv: util: Pass the channel information during the init call 2016-03-01 16:57:20 -08:00
hv_utils_transport.c Drivers: hv: utils: Remove util transport handler from list if registration fails 2016-03-01 16:57:20 -08:00
hv_utils_transport.h Drivers: hv: utils: introduce HVUTIL_TRANSPORT_DESTROY mode 2015-12-14 19:27:30 -08:00
hv.c Drivers: hv: vmbus: Support handling messages on multiple CPUs 2016-03-01 16:57:20 -08:00
hyperv_vmbus.h Drivers: hv: vmbus: Export the vmbus_set_event() API 2016-04-30 14:00:19 -07:00
Kconfig x86: Make Linux guest support optional 2013-03-04 13:14:25 -08:00
Makefile Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
ring_buffer.c Drivers: hv: vmbus: Implement APIs to support "in place" consumption of vmbus packets 2016-04-30 14:00:19 -07:00
vmbus_drv.c drivers:hv: Track allocations of children of hv_vmbus in private resource tree 2016-04-30 14:01:37 -07:00