Re: [PATCH] efi: memmap insertion should adjust the vaddr as well

2021-03-07 Thread Ard Biesheuvel
On Wed, 24 Feb 2021 at 19:43, Kairui Song wrote: > > Currently when efi_memmap_insert is called, only the > physical memory addresses are re-calculated. The virt > addresses of the split entries are untouched. > > If any later operation depends on the virt_addaress info, things > will go wrong.

[PATCH] efi: memmap insertion should adjust the vaddr as well

2021-02-24 Thread Kairui Song
Currently when efi_memmap_insert is called, only the physical memory addresses are re-calculated. The virt addresses of the split entries are untouched. If any later operation depends on the virt_addaress info, things will go wrong. One case it may fail is kexec on x86, after kexec, efi is