mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
e048834c20
The Hyper-V DRM driver tries to free MMIO region on removing
the device regardless of VM type, while Gen1 VMs don't use MMIO
and hence causing the kernel to crash on a NULL pointer dereference.
Fix this by making deallocating MMIO only on Gen2 machines and implement
removal for Gen1
Fixes:
|
||
---|---|---|
.. | ||
hyperv_drm.h | ||
hyperv_drm_drv.c | ||
hyperv_drm_modeset.c | ||
hyperv_drm_proto.c | ||
Makefile |