Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
  • [parent not found: <20240227212452.3228893-9-kirill.shutemov@linux.intel.com>]
  • [parent not found: <20240227212452.3228893-10-kirill.shutemov@linux.intel.com>]
  • [parent not found: <20240227212452.3228893-11-kirill.shutemov@linux.intel.com>]
  • [parent not found: <20240227212452.3228893-7-kirill.shutemov@linux.intel.com>]
  • * Re: [PATCHv8 00/17, CORRECTED] x86/tdx: Add kexec support
           [not found] <20240227212452.3228893-1-kirill.shutemov@linux.intel.com>
                       ` (4 preceding siblings ...)
           [not found] ` <20240227212452.3228893-7-kirill.shutemov@linux.intel.com>
    @ 2024-03-06 15:02 ` Kirill A. Shutemov
      2024-03-07  6:57   ` Tao Liu
      2024-03-18  7:02 ` [PATCH v2 0/3] x86/snp: " Ashish Kalra
      6 siblings, 1 reply; 17+ messages in thread
    From: Kirill A. Shutemov @ 2024-03-06 15:02 UTC (permalink / raw)
      To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen, x86
      Cc: Rafael J. Wysocki, Peter Zijlstra, Adrian Hunter,
    	Kuppuswamy Sathyanarayanan, Elena Reshetova, Jun Nakajima,
    	Rick Edgecombe, Tom Lendacky, Kalra, Ashish, Sean Christopherson,
    	Huang, Kai, Baoquan He, kexec, linux-coco, linux-kernel
    
    On Tue, Feb 27, 2024 at 11:24:35PM +0200, Kirill A. Shutemov wrote:
    > The patchset adds bits and pieces to get kexec (and crashkernel) work on
    > TDX guest.
    > 
    > The last patch implements CPU offlining according to the approved ACPI
    > spec change poposal[1]. It unlocks kexec with all CPUs visible in the target
    > kernel. It requires BIOS-side enabling. If it missing we fallback to booting
    > 2nd kernel with single CPU.
    > 
    > Please review. I would be glad for any feedback.
    
    Thomas, Ingo, Borislav, Dave,
    
    Any feedback?
    
    Is there anything else I can do to get the patchset moving?
    
    -- 
      Kiryl Shutsemau / Kirill A. Shutemov
    
    _______________________________________________
    kexec mailing list
    kexec@lists.infradead.org
    http://lists.infradead.org/mailman/listinfo/kexec
    
    ^ permalink raw reply	[flat|nested] 17+ messages in thread
  • * [PATCH v2 0/3] x86/snp: Add kexec support
           [not found] <20240227212452.3228893-1-kirill.shutemov@linux.intel.com>
                       ` (5 preceding siblings ...)
      2024-03-06 15:02 ` [PATCHv8 00/17, CORRECTED] x86/tdx: Add kexec support Kirill A. Shutemov
    @ 2024-03-18  7:02 ` Ashish Kalra
      2024-03-18  7:02   ` [PATCH v2 1/3] efi/x86: skip efi_arch_mem_reserve() in case of kexec Ashish Kalra
                         ` (2 more replies)
      6 siblings, 3 replies; 17+ messages in thread
    From: Ashish Kalra @ 2024-03-18  7:02 UTC (permalink / raw)
      To: tglx, mingo, dave.hansen
      Cc: rafael, peterz, adrian.hunter, sathyanarayanan.kuppuswamy,
    	elena.reshetova, jun.nakajima, rick.p.edgecombe, thomas.lendacky,
    	seanjc, michael.roth, kai.huang, bhe, kexec, linux-coco,
    	linux-kernel, kirill.shutemov, bdas, vkuznets, dionnaglaze,
    	anisinha, jroedel
    
    From: Ashish Kalra <ashish.kalra@amd.com>
    
    The patchset adds bits and pieces to get kexec (and crashkernel) work on
    SNP guest.
    
    v2:
    - address zeroing of unaccepted memory table mappings at all page table levels
      adding phys_pte_init(), phys_pud_init() and phys_p4d_init().
    - include skip efi_arch_mem_reserve() in case of kexec as part of this 
      patch set.
    - rename last_address_shd_kexec to a more appropriate 
      kexec_last_address_to_make_private.
    - remove duplicate code shared with TDX and use common interfaces
      defined for SNP and TDX for kexec/kdump.
    - remove set_pte_enc() dependency on pg_level_to_pfn() and make the 
      function simpler.
    - rename unshare_pte() to make_pte_private().
    - clarify and make the comment for using kexec_last_address_to_make_private  
      more understandable.
    - general cleanup. 
    
    Ashish Kalra (3):
      efi/x86: skip efi_arch_mem_reserve() in case of kexec.
      x86/mm: Do not zap page table entries mapping unaccepted memory table
        during kdump.
      x86/snp: Convert shared memory back to private on kexec
    
     arch/x86/include/asm/probe_roms.h |   1 +
     arch/x86/include/asm/sev.h        |   4 +
     arch/x86/kernel/probe_roms.c      |  16 +++
     arch/x86/kernel/sev.c             | 169 ++++++++++++++++++++++++++++++
     arch/x86/mm/init_64.c             |  16 ++-
     arch/x86/mm/mem_encrypt_amd.c     |   3 +
     arch/x86/platform/efi/quirks.c    |  10 ++
     7 files changed, 215 insertions(+), 4 deletions(-)
    
    -- 
    2.34.1
    
    
    _______________________________________________
    kexec mailing list
    kexec@lists.infradead.org
    http://lists.infradead.org/mailman/listinfo/kexec
    
    ^ permalink raw reply	[flat|nested] 17+ messages in thread

  • end of thread, other threads:[~2024-03-24 22:33 UTC | newest]
    
    Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20240227212452.3228893-1-kirill.shutemov@linux.intel.com>
         [not found] ` <20240227212452.3228893-18-kirill.shutemov@linux.intel.com>
    2024-02-27 21:30   ` [PATCHv8 17/17] ACPI: tables: Print MULTIPROC_WAKEUP when MADT is parsed Kuppuswamy Sathyanarayanan
    2024-02-27 22:08   ` Huang, Kai
    2024-02-28 15:22     ` Kirill A. Shutemov
    2024-02-28 21:19       ` Huang, Kai
         [not found] ` <20240227212452.3228893-9-kirill.shutemov@linux.intel.com>
    2024-02-27 23:12   ` [PATCHv8 08/17] x86/tdx: Account shared memory Huang, Kai
         [not found] ` <20240227212452.3228893-10-kirill.shutemov@linux.intel.com>
    2024-02-27 23:16   ` [PATCHv8 09/17] x86/mm: Adding callbacks to prepare encrypted memory for kexec Huang, Kai
         [not found] ` <20240227212452.3228893-11-kirill.shutemov@linux.intel.com>
    2024-02-27 23:30   ` [PATCHv8 10/17] x86/tdx: Convert shared memory back to private on kexec Huang, Kai
         [not found] ` <20240227212452.3228893-7-kirill.shutemov@linux.intel.com>
    2024-02-27 23:33   ` [PATCHv8 06/17] x86/mm: Make x86_platform.guest.enc_status_change_*() return errno Huang, Kai
    2024-03-06 15:02 ` [PATCHv8 00/17, CORRECTED] x86/tdx: Add kexec support Kirill A. Shutemov
    2024-03-07  6:57   ` Tao Liu
    2024-03-18  7:02 ` [PATCH v2 0/3] x86/snp: " Ashish Kalra
    2024-03-18  7:02   ` [PATCH v2 1/3] efi/x86: skip efi_arch_mem_reserve() in case of kexec Ashish Kalra
    2024-03-19  4:00     ` Dave Young
    2024-03-24 22:32       ` Kalra, Ashish
    2024-03-18  7:02   ` [PATCH v2 2/3] x86/mm: Do not zap page table entries mapping unaccepted memory table during kdump Ashish Kalra
    2024-03-21 14:58     ` Kirill A. Shutemov
    2024-03-18  7:02   ` [PATCH v2 3/3] x86/snp: Convert shared memory back to private on kexec Ashish Kalra
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox