Messages in this thread | | | From | "Longpeng(Mike)" <> | Subject | [PATCH v2 0/4] merge contiguous physical memory regions | Date | Tue, 21 Sep 2021 23:10:35 +0800 |
| |
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]
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
| |