Skip to content

mshv: Allow mappings that overlap in uaddr

Nuno Das Neves linux-hyperv lkml 2 versions – Applied

Status from this message: Applied to hyperv-next. Thanks.

Get series with b4
b4 am 1762467211-8213-1-git-send-email-nunodasneves@linux.microsoft.com

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v11 patch 2 repliesSuperseded

Changes in v2 from the cover letter

- Add a patch to fix the overlap checking [Michael Kelley]
- Move deletion of mshv_partition_region_by_uaddr() to the fix patch

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2mshv: Fix create memory region overlap checkdrivers/hv/mshv_root_main.c+11 -201 reply
2/2mshv: Allow mappings that overlap in uaddrdrivers/hv/mshv_root_main.c include/uapi/linux/mshv.h+3 -71 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMichael Kelley
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] mshv: Allow mappings that overlap in uaddr

Currently the MSHV driver rejects mappings that would overlap in userspace. Remove this limitation as it is overly restrictive and allowing overlap is useful for VMMs.

Before make this change, fix the region overlap checking logic which is broken.

---
Changes in v2:
- Add a patch to fix the overlap checking [Michael Kelley]
- Move deletion of mshv_partition_region_by_uaddr() to the fix patch

---
Magnus Kulke (1):
mshv: Allow mappings that overlap in uaddr

Nuno Das Neves (1):
mshv: Fix create memory region overlap check

 drivers/hv/mshv_root_main.c | 27 +++++++--------------------
 include/uapi/linux/mshv.h   |  2 +-
 2 files changed, 8 insertions(+), 21 deletions(-)
Signature · 1 line
2.34.1