linux/drivers/hv
Anirudh Rayabharam (Microsoft) 173d6f64f9 mshv: release mutex on region invalidation failure
In the region invalidation failure path in
mshv_region_interval_invalidate(), the region mutex is not released. Fix
it by releasing the mutex in the failure path.

Signed-off-by: Anirudh Rayabharam (Microsoft) <anirudh@anirudhrb.com>
Fixes: b9a66cd5cc ("mshv: Add support for movable memory regions")
Acked-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Reviewed-by: Roman Kisel <vdso@mailbox.org>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
2025-12-18 20:00:10 +00:00
..
Kconfig mshv: Add support for movable memory regions 2025-12-05 23:20:49 +00:00
Makefile mshv: Move region management to mshv_regions.c 2025-12-05 23:20:20 +00:00
channel.c Drivers: hv: fix missing kernel-doc description for 'size' in request_arr_init() 2025-11-15 06:18:16 +00:00
channel_mgmt.c Drivers: hv: Support confidential VMBus channels 2025-11-15 06:18:15 +00:00
connection.c Drivers: hv: Set the default VMBus version to 6.0 2025-11-15 06:18:15 +00:00
hv.c Drivers: hv: Export some symbols for mshv_vtl 2025-11-15 06:18:17 +00:00
hv_balloon.c hv_balloon: update the NR_BALLOON_PAGES state 2025-03-21 22:03:13 -07:00
hv_common.c Drivers: hv: Use kmalloc_array() instead of kmalloc() 2025-11-15 06:18:17 +00:00
hv_debugfs.c
hv_kvp.c hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h 2025-01-10 00:54:21 +00:00
hv_proc.c Drivers: hv: Fix warnings for missing export.h header inclusion 2025-07-09 23:43:52 +00:00
hv_snapshot.c hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h 2025-01-10 00:54:21 +00:00
hv_trace.c
hv_trace.h
hv_trace_balloon.h
hv_util.c Drivers: hv: use kmalloc_array() instead of kmalloc() 2025-12-05 23:16:49 +00:00
hv_utils_transport.c Drivers: hv: util: Cosmetic changes for hv_utils_transport.c 2025-09-08 22:10:55 +00:00
hv_utils_transport.h
hyperv_vmbus.h Drivers: hv: Export some symbols for mshv_vtl 2025-11-15 06:18:17 +00:00
mshv.h mshv: Use common "entry virt" APIs to do work in root before running guest 2025-09-30 22:50:48 +00:00
mshv_common.c mshv: hide x86-specific functions on arm64 2025-12-17 18:04:15 +00:00
mshv_eventfd.c mshv: adjust interrupt control structure for ARM64 2025-12-05 23:16:49 +00:00
mshv_eventfd.h Drivers: hv: Introduce mshv_root module to expose /dev/mshv to VMMs 2025-03-21 18:24:22 +00:00
mshv_irq.c mshv: adjust interrupt control structure for ARM64 2025-12-05 23:16:49 +00:00
mshv_portid_table.c Drivers: hv: Introduce mshv_root module to expose /dev/mshv to VMMs 2025-03-21 18:24:22 +00:00
mshv_regions.c mshv: release mutex on region invalidation failure 2025-12-18 20:00:10 +00:00
mshv_root.h mshv: Add support for movable memory regions 2025-12-05 23:20:49 +00:00
mshv_root_hv_call.c mshv: adjust interrupt control structure for ARM64 2025-12-05 23:16:49 +00:00
mshv_root_main.c hyperv-next for v6.19 2025-12-09 06:10:17 +09:00
mshv_synic.c Drivers: hv: Rename fields for SynIC message and event pages 2025-11-15 06:18:14 +00:00
mshv_vtl.h Drivers: hv: Introduce mshv_vtl driver 2025-12-05 23:16:26 +00:00
mshv_vtl_main.c Drivers: hv: Introduce mshv_vtl driver 2025-12-05 23:16:26 +00:00
ring_buffer.c Drivers: hv: Allocate encrypted buffers when requested 2025-11-15 06:18:15 +00:00
vmbus_drv.c hyperv-next for v6.19 2025-12-09 06:10:17 +09:00