Re: [PATCH] x86/boot: Fix zap_low_mappings() to map less of the trampoline

2025-01-06 Thread Jan Beulich
On 06.01.2025 12:26, Andrew Cooper wrote: > Regular data access into the trampoline is via the directmap. > > As now discussed quite extensively in asm/trampoline.h, the trampoline is > arranged so that only the AP and S3 paths need an identity mapping, and that > they fit within a single page. >

[PATCH] x86/boot: Fix zap_low_mappings() to map less of the trampoline

2025-01-06 Thread Andrew Cooper
Regular data access into the trampoline is via the directmap. As now discussed quite extensively in asm/trampoline.h, the trampoline is arranged so that only the AP and S3 paths need an identity mapping, and that they fit within a single page. Right now, PFN_UP(trampoline_end - trampoline_start)