2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/hv
Jason Wang 2608fb6531 drivers: hv: allocate synic structures before hv_synic_init()
We currently allocate synic structures in hv_sync_init(), but there's no way for
the driver to know about the allocation failure and it may continue to use the
uninitialized pointers. Solve this by introducing helpers for allocating and
freeing and doing the allocation before the on_each_cpu() call in
vmbus_bus_init().

Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-24 16:24:17 -07:00
..
channel_mgmt.c Drivers: hv: vmbus: Implement multi-channel support 2013-06-03 14:09:14 -07:00
channel.c Drivers: hv: vmbus: Implement multi-channel support 2013-06-03 14:09:14 -07:00
connection.c Drivers: hv: vmbus: Implement multi-channel support 2013-06-03 14:09:14 -07:00
hv_balloon.c Drivers: hv: Notify the host of permanent hot-add failures 2013-03-29 09:03:21 -07:00
hv_kvp.c Drivers: hv: kvp: Copy the address family information 2012-09-05 12:12:38 -07:00
hv_snapshot.c Drivers: hv: Add a new driver to support host initiated backup 2013-03-15 12:12:36 -07:00
hv_util.c Drivers: hv: Add a new driver to support host initiated backup 2013-03-15 12:12:36 -07:00
hv.c drivers: hv: allocate synic structures before hv_synic_init() 2013-06-24 16:24:17 -07:00
hyperv_vmbus.h drivers: hv: allocate synic structures before hv_synic_init() 2013-06-24 16:24:17 -07:00
Kconfig x86: Make Linux guest support optional 2013-03-04 13:14:25 -08:00
Makefile Drivers: hv: Add a new driver to support host initiated backup 2013-03-15 12:12:36 -07:00
ring_buffer.c drivers: hv: check interrupt mask before read_index 2013-06-24 16:24:17 -07:00
vmbus_drv.c drivers: hv: allocate synic structures before hv_synic_init() 2013-06-24 16:24:17 -07:00