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

Dave Hansen
2023-06-12T15:34:10Z

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?