Re: [PATCH RFC v9 07/51] x86/sev: Add the host SEV-SNP initialization support

From: Dave Hansen
Date: Mon Jun 12 2023 - 11:34:10 EST


On 6/11/23 21:25, Michael Roth wrote:
> + /*
> + * Calculate the amount the memory that must be reserved by the BIOS to
> + * address the whole RAM, including the bookkeeping area. The RMP itself
> + * must also be covered.
> + */
> + max_rmp_pfn = max_pfn;
> + if (PHYS_PFN(rmp_end) > max_pfn)
> + max_rmp_pfn = PHYS_PFN(rmp_end);

Could you say a little here about how this deals with memory hotplug?