[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210921151039.1502-1-longpeng2@huawei.com>
Date: Tue, 21 Sep 2021 23:10:35 +0800
From: "Longpeng(Mike)" <longpeng2@...wei.com>
To: <andraprs@...zon.com>, <lexnv@...zon.com>, <alcioa@...zon.com>
CC: <linux-kernel@...r.kernel.org>, <arei.gonglei@...wei.com>,
<gregkh@...uxfoundation.org>, <kamal@...onical.com>,
<pbonzini@...hat.com>, <sgarzare@...hat.com>,
<stefanha@...hat.com>, <vkuznets@...hat.com>,
<ne-devel-upstream@...zon.com>,
"Longpeng(Mike)" <longpeng2@...wei.com>
Subject: [PATCH v2 0/4] merge contiguous physical memory regions
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
Powered by blists - more mailing lists