mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 10:10:33 +02:00
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 | ||