lkml.org 
[lkml]   [2023]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 10/13] x86/tdx: Convert shared memory back to private on kexec
    On Sun, Oct 08, 2023 at 04:35:27PM +0800, Baoquan He wrote:
    > On 10/05/23 at 04:13pm, Kirill A. Shutemov wrote:
    > > TDX guests allocate shared buffers to perform I/O. It is done by
    > > allocating pages normally from the buddy allocator and converting them
    > > to shared with set_memory_decrypted().
    > >
    > > The target kernel has no idea what memory is converted this way. It only
    > ~~~~~~~~~~~~~
    > > sees E820_TYPE_RAM.
    >
    > I finally realized it means the 2nd kernel of kexec rebooting. Maybe we
    > can call it 2nd kernel always, it works for both kexec and kdump
    > jumping.

    Okay. Will fix. I am new to kexec and I don't know proper terminology :)

    --
    Kiryl Shutsemau / Kirill A. Shutemov

    \
     
     \ /
      Last update: 2023-10-09 15:35    [W:4.253 / U:0.088 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site