EFI: reduce memory map logging level
PATCH 1/1 EFI: reduce memory map logging level
With the release build default now being INFO, the typically long EFI memory map will want logging at DEBUG level only.
xen/common/efi/boot.c +3 -3
@@ -1677,7 +1677,7 @@ void __init efi_init_memory(void)if ( !efi_enabled (EFI_BOOT ) )return ; -printk (XENLOG_INFO "EFI memory map:%s\n" , +printk (XENLOG_DEBUG "EFI memory map:%s\n" , map_bs ?" (mapping BootServices)" :"" );for ( i =0 ; i < efi_memmap_size; i += efi_mdesc_size ) {
@@ -1688,8 +1688,8 @@ void __init efi_init_memory(void)paddr_t mem_base;unsigned long mem_npages; -printk (XENLOG_INFO " %013" PRIx64"-%013" PRIx64 -" type=%u attr=%016" PRIx64"\n" , +printk (XENLOG_DEBUG " %013" PRIx64"-%013" PRIx64 +" type=%u attr=%016" PRIx64"\n" , desc->PhysicalStart, desc->PhysicalStart + len -1 , desc->Type, desc->Attribute);
Quoted 4 lines · Jan Beulich
With the release build default now being INFO, the typically long EFI memory map will want logging at DEBUG level only.
Signed-off-by Jan Beulich <[email protected]>
Honestly, we need more pruning because we end up printing this twice, but that's not a change suitable for 4.18 at this juncture.
Hi Andrew, Jan,
Quoted 9 lines · Andrew Cooper
Quoted 4 lines · Jan Beulich
With the release build default now being INFO, the typically long EFI memory map will want logging at DEBUG level only.
Signed-off-by Jan Beulich <[email protected]>Acked-by Andrew Cooper <[email protected]>
Kind regards,
Henry
Quoted 7 lines · Andrew Cooper
Quoted 4 lines · Jan Beulich
With the release build default now being INFO, the typically long EFI memory map will want logging at DEBUG level only.
Signed-off-by Jan Beulich <[email protected]>Acked-by Andrew Cooper <[email protected]>
Thanks.
Quoted 2 lines
Honestly, we need more pruning because we end up printing this twice, but that's not a change suitable for 4.18 at this juncture.
Hmm, I've not seen us print this twice. Can you give a little more detail? Maybe I simply misunderstand what you mean.
Jan