[PATCH v2] crash: Export PAGE_UNACCEPTED_MAPCOUNT_VALUE to vmcoreinfo

2025-01-06 Thread Zhiquan Li
.kernel.org/all/20240809114854.3745464-5-kirill.shute...@linux.intel.com/ Signed-off-by: Zhiquan Li Reviewed-by: Kirill A. Shutemov --- V1: https://lore.kernel.org/all/20250103074941.3651765-1-zhiquan1...@intel.com/ Changes since V1: - Rebase to v6.13-rc6. - Added document into admin-guide/kdump/vmcoreinfo

[PATCH] crash: Export PAGE_UNACCEPTED_MAPCOUNT_VALUE to vmcoreinfo

2025-01-02 Thread Zhiquan Li
ll be wasted in proportion. In fact, as a special kind of free page the unaccepted pages should be excluded, like the real free pages. Export the page type PAGE_UNACCEPTED_MAPCOUNT_VALUE to vmcoreinfo, so that dump tool can identify whether a page is unaccepted. Signed-off-by: Zhiquan

Re: [PATCH] crash: Export PAGE_UNACCEPTED_MAPCOUNT_VALUE to vmcoreinfo

2025-01-02 Thread Zhiquan Li
On 2025/1/3 15:18, Dave Young wrote: > Please add into admin-guide/kdump/vmcoreinfo.rst if you add more vmcoreinfo. > No problem, the changes as below will be added in V2. Thanks for the comments. --- a/Documentation/admin-guide/kdump/vmcoreinfo.rst +++ b/Documentation/admin-guide/kdump/vmcor

[PATCH v2 RESEND] crash: Export PAGE_UNACCEPTED_MAPCOUNT_VALUE to vmcoreinfo

2025-02-16 Thread Zhiquan Li
.kernel.org/all/20240809114854.3745464-5-kirill.shute...@linux.intel.com/ Signed-off-by: Zhiquan Li Reviewed-by: Kirill A. Shutemov --- V2 RESEND note: - No changes on this, just rebasd to v6.14-rc3. V1: https://lore.kernel.org/all/20250103074941.3651765-1-zhiquan1...@intel.com/ Changes since V1: -

[PATCH v3] crash: Export PAGE_UNACCEPTED_MAPCOUNT_VALUE to vmcoreinfo

2025-04-04 Thread Zhiquan Li
.kernel.org/all/20240809114854.3745464-5-kirill.shute...@linux.intel.com/ Signed-off-by: Zhiquan Li Reviewed-by: Kirill A. Shutemov Acked-by: Baoquan He --- Vmcore size statistic of a freshly booted TD VM with different memory sizes: VM.mem | Before After ---+ 512G

[PATCH v2 RESEND] crash: Export PAGE_UNACCEPTED_MAPCOUNT_VALUE to vmcoreinfo

2025-03-03 Thread Zhiquan Li
.kernel.org/all/20240809114854.3745464-5-kirill.shute...@linux.intel.com/ Signed-off-by: Zhiquan Li Reviewed-by: Kirill A. Shutemov --- V2 RESEND note: - No changes on this, just rebasd to v6.14-rc5. V1: https://lore.kernel.org/all/20250103074941.3651765-1-zhiquan1...@intel.com/ Changes since V1: -

[PATCH v2 RESEND] crash: Export PAGE_UNACCEPTED_MAPCOUNT_VALUE to vmcoreinfo

2025-04-02 Thread Zhiquan Li
.kernel.org/all/20240809114854.3745464-5-kirill.shute...@linux.intel.com/ Signed-off-by: Zhiquan Li Reviewed-by: Kirill A. Shutemov --- Vmcore size statistic of a freshly booted TD VM with different memory sizes: VM.mem | Before After ---+ 512G | ~4.9G ~2.0G 256G

Re: [PATCH makedumpfile] Add confidential VM unaccepted free pages support on Linux 6.16 and later

2025-06-23 Thread Zhiquan Li
On 2025/6/9 13:02, Zhiquan Li wrote: > UEFI Specification version 2.9 introduces the concept of memory > acceptance: some Virtual Machine platforms, such as Intel TDX or AMD > SEV-SNP, requiring memory to be accepted before it can be used by the > guest. Accepting happens vi

[PATCH makedumpfile] Add confidential VM unaccepted free pages support on Linux 6.16 and later

2025-06-08 Thread Zhiquan Li
el.org/all/20240809114854.3745464-5-kirill.shute...@linux.intel.com/ [3] https://lore.kernel.org/all/20250405060610.860465-1-zhiquan1...@intel.com/ Signed-off-by: Zhiquan Li --- makedumpfile.c | 14 ++ makedumpfile.h | 3 +++ 2 files changed, 17 insertions(+) diff --git a/makedu

Re: [PATCH makedumpfile] Add confidential VM unaccepted free pages support on Linux 6.16 and later

2025-06-30 Thread Zhiquan Li
On 2025/6/30 18:15, YAMAZAKI MASAMITSU(山崎 真光) wrote: >>> UEFI Specification version 2.9 introduces the concept of memory >>> acceptance: some Virtual Machine platforms, such as Intel TDX or AMD >>> SEV-SNP, requiring memory to be accepted before it can be used by the >>> guest. Accepting happen

Re: [PATCH makedumpfile] Add confidential VM unaccepted free pages support on Linux 6.16 and later

2025-06-29 Thread Zhiquan Li
On 2025/6/30 12:05, HAGIO KAZUHITO(萩尾 一仁) wrote: > Hi, > > thank you for the patch, and sorry for the long delay.. > Thanks for your time to review this patch. There is a lot of background knowledge behind this feature, it really needs a long time to digest them. >> @@ -6630,6 +6633,17 @@ ch