Re: [PATCH v2 0/4] merge contiguous physical memory regions

From: Paraschiv, Andra-Irina
Date: Mon Sep 27 2021 - 03:01:02 EST




On 21/09/2021 18:10, Longpeng(Mike) wrote:

Hi guys,

This patchset try to merge the contiguous physical memory regions when
set user memory regions, you can see message in PATCH 1 for details.
Please review when you free, thank!

Changes v1 -> v2:
- update the commit message as Andra's suggestion [Andra]
- remove TODO completely in ne_set_user_memory_region_ioctl [Andra]
- extract the physical memory regions setup into individual
function
- add kunit tests [Andra]

Thank you for the patch series. I'll review the patches during this week. I had a couple of days off.

Thanks,
Andra


Longpeng(Mike) (4):
nitro_enclaves: merge contiguous physical memory regions
nitro_enclaves: sanity check the physical region during setting
nitro_enclaves: add test framework for the misc functionality
nitro_enclaves: add kunit tests for physical contiguous region merging

drivers/virt/nitro_enclaves/Kconfig | 8 ++
drivers/virt/nitro_enclaves/ne_misc_dev.c | 160 ++++++++++++++++++++---------
drivers/virt/nitro_enclaves/ne_misc_test.c | 63 ++++++++++++
3 files changed, 182 insertions(+), 49 deletions(-)
create mode 100644 drivers/virt/nitro_enclaves/ne_misc_test.c

--
1.8.3.1




Amazon Development Center (Romania) S.R.L. registered office: 27A Sf. Lazar Street, UBC5, floor 2, Iasi, Iasi County, 700045, Romania. Registered in Romania. Registration number J22/2621/2005.