From: "Paraschiv, Andra-Irina" <andraprs@amazon.com>
To: "Longpeng(Mike)" <longpeng2@huawei.com>
Cc: <arei.gonglei@huawei.com>, <gregkh@linuxfoundation.org>,
<kamal@canonical.com>, <pbonzini@redhat.com>,
<sgarzare@redhat.com>, <stefanha@redhat.com>,
<vkuznets@redhat.com>, <linux-kernel@vger.kernel.org>,
<ne-devel-upstream@amazon.com>, <lexnv@amazon.com>,
<alcioa@amazon.com>
Subject: Re: [PATCH v3 0/4] Merge contiguous physical memory regions
Date: Mon, 11 Oct 2021 18:47:19 +0300 [thread overview]
Message-ID: <d0b1f070-e706-e298-e2fe-9a893870edc1@amazon.com> (raw)
In-Reply-To: <20211009013248.1174-1-longpeng2@huawei.com>
On 09/10/2021 04:32, Longpeng(Mike) wrote:
> From: Longpeng <longpeng2@huawei.com>
>
> 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 v2 -> v3:
> Patch 1:
> - update the commit title and commit message. [Andra]
> - use 'struct range' to instead of 'struct phys_mem_region'. [Andra, Greg KH]
> - add comments before the function definition. [Andra]
> - rename several variables, parameters and function. [Andra]
> Patch 2:
> - update the commit title and commit message. [Andra]
> - add comments before the function definition. [Andra]
> - remove 'inline' attribute of ne_sanity_check_phys_mem_region. [Andra]
> - leave a blank line before return. [Andra]
> - move sanity check in ne_merge_phys_contig_memory_regions to
> the beginning of the function. [Andra]
> - double sanity checking after the merge of physical contiguous
> memory regions has been completed. [Andra]
> Patch 3:
> - update the commit title and commit message. [Andra]
> - use "misc_dev"/"misc device"/"MISC_DEV" to be more specific. [Andra]
> Patch 4:
> - update the commit title and commit message. [Andra]
> - align the fileds in 'struct phys_regions_test'. [Andra]
> - rename 'phys_regions_testcases' to 'phys_regions_test_cases'. [Andra]
> - add comments before each test cases. [Andra]
> - initialize the variables in ne_misc_dev_test_merge_phys_contig_memory_regions. [Andra]
>
> 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 (4):
> nitro_enclaves: Merge contiguous physical memory regions
> nitro_enclaves: Sanity check physical memory regions during merging
> nitro_enclaves: Add KUnit tests setup for the misc device
> functionality
> nitro_enclaves: Add KUnit tests for contiguous physical memory regions
> merging
>
> drivers/virt/nitro_enclaves/Kconfig | 9 ++
> drivers/virt/nitro_enclaves/ne_misc_dev.c | 163 +++++++++++++++++++------
> drivers/virt/nitro_enclaves/ne_misc_dev_test.c | 153 +++++++++++++++++++++++
> 3 files changed, 285 insertions(+), 40 deletions(-)
> create mode 100644 drivers/virt/nitro_enclaves/ne_misc_dev_test.c
>
Thank you. I'll go through them till the end of this week.
Andra
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.
prev parent reply other threads:[~2021-10-11 15:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-09 1:32 [PATCH v3 0/4] Merge contiguous physical memory regions Longpeng(Mike)
2021-10-09 1:32 ` [PATCH v3 1/4] nitro_enclaves: " Longpeng(Mike)
2021-10-15 13:33 ` Paraschiv, Andra-Irina
2021-11-03 13:54 ` Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
2021-11-03 18:34 ` Paraschiv, Andra-Irina
2021-10-09 1:32 ` [PATCH v3 2/4] nitro_enclaves: Sanity check physical memory regions during merging Longpeng(Mike)
2021-10-15 13:49 ` Paraschiv, Andra-Irina
2021-10-09 1:32 ` [PATCH v3 3/4] nitro_enclaves: Add KUnit tests setup for the misc device functionality Longpeng(Mike)
2021-10-15 13:58 ` Paraschiv, Andra-Irina
2021-10-09 1:32 ` [PATCH v3 4/4] nitro_enclaves: Add KUnit tests for contiguous physical memory regions merging Longpeng(Mike)
2021-10-15 14:28 ` Paraschiv, Andra-Irina
2021-10-11 15:47 ` Paraschiv, Andra-Irina [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d0b1f070-e706-e298-e2fe-9a893870edc1@amazon.com \
--to=andraprs@amazon.com \
--cc=alcioa@amazon.com \
--cc=arei.gonglei@huawei.com \
--cc=gregkh@linuxfoundation.org \
--cc=kamal@canonical.com \
--cc=lexnv@amazon.com \
--cc=linux-kernel@vger.kernel.org \
--cc=longpeng2@huawei.com \
--cc=ne-devel-upstream@amazon.com \
--cc=pbonzini@redhat.com \
--cc=sgarzare@redhat.com \
--cc=stefanha@redhat.com \
--cc=vkuznets@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.