All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikunj A Dadhania <nikunj@amd.com>
To: <x86-cpuid@lists.linux.dev>, <bp@alien8.de>
Cc: <nikunj@amd.com>, <thomas.lendacky@amd.com>, <santosh.shukla@amd.com>
Subject: [PATCH] db/leaf_8000000a: Add Page modification logging
Date: Mon, 11 Aug 2025 18:22:36 +0530	[thread overview]
Message-ID: <20250811125236.2606331-1-nikunj@amd.com> (raw)

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>
     <edx>
       <desc>SVM feature flags</desc>
       <bit0  len="1"  id="nested_pt"               desc="Nested paging">
-- 
2.43.0


             reply	other threads:[~2025-08-11 12:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-11 12:52 Nikunj A Dadhania [this message]
2025-08-15  7:15 ` [PATCH] db/leaf_8000000a: Add Page modification logging Ahmed S. Darwish
2025-08-18  4:31   ` Nikunj A. Dadhania
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=20250811125236.2606331-1-nikunj@amd.com \
    --to=nikunj@amd.com \
    --cc=bp@alien8.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.