Merge tag 'efi-next-for-v6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi

Pull EFI updates from Ard Biesheuvel:

- Document what OVMF stands for (Open Virtual Machine Firmware)

- Clear NX restrictions also from 'more reliable' type memory when
using the DXE service API

* tag 'efi-next-for-v6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi:
efi/x86: Memory protection on EfiGcdMemoryTypeMoreReliable
efi: Explain OVMF acronym in OVMF_DEBUG_LOG help text

+10 -7
+4 -3
drivers/firmware/efi/Kconfig
··· 267 bool "Expose OVMF firmware debug log via sysfs" 268 depends on EFI 269 help 270 - Recent OVMF versions (edk2-stable202508 + newer) can write 271 - their debug log to a memory buffer. This driver exposes the 272 - log content via sysfs (/sys/firmware/efi/ovmf_debug_log). 273 274 config UNACCEPTED_MEMORY 275 bool
··· 267 bool "Expose OVMF firmware debug log via sysfs" 268 depends on EFI 269 help 270 + Recent versions of the Open Virtual Machine Firmware 271 + (edk2-stable202508 + newer) can write their debug log to a memory 272 + buffer. This driver exposes the log content via sysfs 273 + (/sys/firmware/efi/ovmf_debug_log). 274 275 config UNACCEPTED_MEMORY 276 bool
+6 -4
drivers/firmware/efi/libstub/x86-stub.c
··· 300 return EFI_SUCCESS; 301 302 /* 303 - * Don't modify memory region attributes, they are 304 * already suitable, to lower the possibility to 305 * encounter firmware bugs. 306 */ ··· 315 next = desc.base_address + desc.length; 316 317 /* 318 - * Only system memory is suitable for trampoline/kernel image placement, 319 - * so only this type of memory needs its attributes to be modified. 320 */ 321 322 - if (desc.gcd_memory_type != EfiGcdMemoryTypeSystemMemory || 323 (desc.attributes & (EFI_MEMORY_RO | EFI_MEMORY_XP)) == 0) 324 continue; 325
··· 300 return EFI_SUCCESS; 301 302 /* 303 + * Don't modify memory region attributes, if they are 304 * already suitable, to lower the possibility to 305 * encounter firmware bugs. 306 */ ··· 315 next = desc.base_address + desc.length; 316 317 /* 318 + * Only system memory and more reliable memory are suitable for 319 + * trampoline/kernel image placement. So only those memory types 320 + * may need to have attributes modified. 321 */ 322 323 + if ((desc.gcd_memory_type != EfiGcdMemoryTypeSystemMemory && 324 + desc.gcd_memory_type != EfiGcdMemoryTypeMoreReliable) || 325 (desc.attributes & (EFI_MEMORY_RO | EFI_MEMORY_XP)) == 0) 326 continue; 327