From: "Nikunj A. Dadhania" <nikunj@amd.com>
To: "Ahmed S. Darwish" <darwi@linutronix.de>
Cc: <x86-cpuid@lists.linux.dev>, <bp@alien8.de>,
<thomas.lendacky@amd.com>, <santosh.shukla@amd.com>
Subject: Re: [PATCH] db/leaf_8000000a: Add Page modification logging
Date: Mon, 18 Aug 2025 10:01:30 +0530 [thread overview]
Message-ID: <78f2fe53-2e53-4cfa-b96e-ef82da444f6a@amd.com> (raw)
In-Reply-To: <aJ7erI-UKNIBehjP@lx-t490>
On 8/15/2025 12:45 PM, Ahmed S. Darwish wrote:
> Hi,
>
> On Mon, 11 Aug 2025, Nikunj A Dadhania wrote:
>>
>> Page modification logging(PML) is hardware feature designed to track
>> guest modified memory pages. PML enables the hypervisor to identify
>> which pages in a guest's memory have been changed since the last
>> checkpoint or during live migration.
>>
>> Signed-off-by: Nikunj A Dadhania <nikunj@amd.com>
>> ---
>> db/xml/leaf_8000000a.xml | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/db/xml/leaf_8000000a.xml b/db/xml/leaf_8000000a.xml
>> index 7f73318..433c4b1 100644
>> --- a/db/xml/leaf_8000000a.xml
>> +++ b/db/xml/leaf_8000000a.xml
>> @@ -14,6 +14,11 @@
>> <ebx>
>> <bit0 len="32" id="svm_nasid" desc="Number of address space identifiers (ASID)" />
>> </ebx>
>> + <ecx>
>> + <bit4 len="1" id="pml" desc="Page modification logging (PML)">
>> + <linux feature="true" proc="false" />
>> + </bit4>
>> + </ecx>
>>
>
> Thanks a lot for the patch.
>
> feature="true" means that the Linux kernel will have an X86_FEATURE_PML
> flag at some point. I've quickly searched LKML, and I didn't find any
> draft patches for such a flag.
I will be sending a patch on LKML adding X86_FEATURE_PML.
> If that feature flag is not planned, there's no need to send a v2. I'll
> just set feature="false" before merging to tip.
>
Regards,
Nikunj
next prev parent reply other threads:[~2025-08-18 4:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-11 12:52 [PATCH] db/leaf_8000000a: Add Page modification logging Nikunj A Dadhania
2025-08-15 7:15 ` Ahmed S. Darwish
2025-08-18 4:31 ` Nikunj A. Dadhania [this message]
2025-08-18 9:15 ` Ahmed S. Darwish
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=78f2fe53-2e53-4cfa-b96e-ef82da444f6a@amd.com \
--to=nikunj@amd.com \
--cc=bp@alien8.de \
--cc=darwi@linutronix.de \
--cc=santosh.shukla@amd.com \
--cc=thomas.lendacky@amd.com \
--cc=x86-cpuid@lists.linux.dev \
/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.