Re: [PATCH] x86/sev: Apply RMP table fixups for kexec.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 4/2/2024 12:45 PM, Borislav Petkov wrote:

On Tue, Apr 02, 2024 at 12:11:03PM -0500, Kalra, Ashish wrote:
And if you mean the reservation in the kernel page tables (directmap)
then that will not help as kexec uses it's own identity mapped page
tables.
So how hard would it be to *always* reserve the chunk of memory at the
2M boundary where the RMP table starts and up to the 2M boundary where
the RMP  table ends?

In *every* kernel.

But, that's what the e820 table fixup is doing, it is reserving the chunk of memory at the 2M boundary where the RMP table starts and ends in the e820. Kexec is referring to the e820 table(s) for placing it's segments in memory for the kexec boot.

Thanks, Ashish


By default.

Thx.





[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux