Merge tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux
Pull Hyper-V updates from Sasha Levin: - support for new VMBus protocols (Andrea Parri) - hibernation support (Dexuan Cui) - latency testing framework (Branden Bonaby) - decoupling Hyper-V page size from guest page size (Himadri Pandya) * tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux: (22 commits) Drivers: hv: vmbus: Fix crash handler reset of Hyper-V synic drivers/hv: Replace binary semaphore with mutex drivers: iommu: hyperv: Make HYPERV_IOMMU only available on x86 HID: hyperv: Add the support of hibernation hv_balloon: Add the support of hibernation x86/hyperv: Implement hv_is_hibernation_supported() Drivers: hv: balloon: Remove dependencies on guest page size Drivers: hv: vmbus: Remove dependencies on guest page size x86: hv: Add function to allocate zeroed page for Hyper-V Drivers: hv: util: Specify ring buffer size using Hyper-V page size Drivers: hv: Specify receive buffer size using Hyper-V page size tools: hv: add vmbus testing tool drivers: hv: vmbus: Introduce latency testing video: hyperv: hyperv_fb: Support deferred IO for Hyper-V frame buffer driver video: hyperv: hyperv_fb: Obtain screen resolution from Hyper-V host hv_netvsc: Add the support of hibernation hv_sock: Add the support of hibernation video: hyperv_fb: Add the support of hibernation scsi: storvsc: Add the support of hibernation Drivers: hv: vmbus: Add module parameter to cap the VMBus version ...
Этот коммит содержится в:
@@ -922,6 +922,24 @@ static int hvs_remove(struct hv_device *hdev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* hv_sock connections can not persist across hibernation, and all the hv_sock
|
||||
* channels are forced to be rescinded before hibernation: see
|
||||
* vmbus_bus_suspend(). Here the dummy hvs_suspend() and hvs_resume()
|
||||
* are only needed because hibernation requires that every vmbus device's
|
||||
* driver should have a .suspend and .resume callback: see vmbus_suspend().
|
||||
*/
|
||||
static int hvs_suspend(struct hv_device *hv_dev)
|
||||
{
|
||||
/* Dummy */
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int hvs_resume(struct hv_device *dev)
|
||||
{
|
||||
/* Dummy */
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* This isn't really used. See vmbus_match() and vmbus_probe() */
|
||||
static const struct hv_vmbus_device_id id_table[] = {
|
||||
{},
|
||||
@@ -933,6 +951,8 @@ static struct hv_driver hvs_drv = {
|
||||
.id_table = id_table,
|
||||
.probe = hvs_probe,
|
||||
.remove = hvs_remove,
|
||||
.suspend = hvs_suspend,
|
||||
.resume = hvs_resume,
|
||||
};
|
||||
|
||||
static int __init hvs_init(void)
|
||||
|
Ссылка в новой задаче
Block a user