Skip to content

Commit af1ae39

Browse files
Abdul Lateef Attarmergify[bot]
authored andcommitted
UefiCpuPkg/MpLib: Change print level for "5-Level Paging ="
The "5-Level Paging" debug message in FillExchangeInfoData() is printed every time APs are woken up. At DEBUG_INFO level, this creates unnecessary log noise during normal boot. Change the print level from DEBUG_INFO to DEBUG_PAGING so the message is only visible when paging-related debug logging is enabled. Signed-off-by: Abdul Lateef Attar <[email protected]>
1 parent 183b578 commit af1ae39

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • UefiCpuPkg/Library/MpInitLib

UefiCpuPkg/Library/MpInitLib/MpLib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CPU MP Initialize Library common functions.
33
44
Copyright (c) 2016 - 2024, Intel Corporation. All rights reserved.<BR>
5-
Copyright (C) 2020 - 2025 Advanced Micro Devices, Inc. All rights reserved.<BR>
5+
Copyright (C) 2020 - 2026 Advanced Micro Devices, Inc. All rights reserved.<BR>
66
77
SPDX-License-Identifier: BSD-2-Clause-Patent
88
@@ -1038,7 +1038,7 @@ FillExchangeInfoData (
10381038
//
10391039
Cr4.UintN = AsmReadCr4 ();
10401040
ExchangeInfo->Enable5LevelPaging = (BOOLEAN)(Cr4.Bits.LA57 == 1);
1041-
DEBUG ((DEBUG_INFO, "%a: 5-Level Paging = %d\n", gEfiCallerBaseName, ExchangeInfo->Enable5LevelPaging));
1041+
DEBUG ((DEBUG_PAGING, "%a: 5-Level Paging = %d\n", gEfiCallerBaseName, ExchangeInfo->Enable5LevelPaging));
10421042

10431043
ExchangeInfo->SevEsIsEnabled = CpuMpData->SevEsIsEnabled;
10441044
ExchangeInfo->SevSnpIsEnabled = CpuMpData->SevSnpIsEnabled;

0 commit comments

Comments
 (0)