edk2/MdeModulePkg/Universal
Laszlo Ersek cfa6ffb113 MdeModulePkg/VariableLock: downgrade compatibility warnings to DEBUG_WARN
Commit a18a9bde36 ("MdeModulePkg/Variable/RuntimeDxe: Restore Variable
Lock Protocol behavior", 2020-12-15), for bug 3111, added two such sets of
debug messages that:

(a) are relevant for developers,

(b) yet should not necessarily poke end-users, because no functionality
suffers in practice.

Both message sets are in function VariableLockRequestToLock(): the first
is a generic interface deprecation warning; the second is the
double-locking situation, which we permit for compatibility (return status
EFI_SUCCESS).

Both message sets should be emitted with the DEBUG_WARN mask, not the most
serious DEBUG_ERROR mask. On some platforms, the serial console carries
both terminal traffic, and grave (DEBUG_ERROR-only) log messages. On such
platforms, both message sets may be perceived as a nuisance by end-users,
as there is nothing they can do, and there's nothing they *should* do --
in practice, nothing malfunctions.

(Such a platform is ArmVirtQemu, built with "-D
DEBUG_PRINT_ERROR_LEVEL=0x80000000".)

Cc: Bret Barkelew <bret.barkelew@microsoft.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3410
Fixes: a18a9bde36
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20210521204037.11980-1-lersek@redhat.com>
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2021-05-23 12:06:55 +00:00
..
Acpi MdeModulePkg: FirmwarePerformanceDataTable: Added StandaloneMm support 2021-02-01 10:01:04 -08:00
BdsDxe MdeModulePkg/BdsDxe: Fix spelling mistake 2020-08-03 19:06:05 +00:00
BootManagerPolicyDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
CapsuleOnDiskLoadPei MdeModulePkg: Add CapsuleOnDiskLoadPei PEIM. 2019-06-26 15:10:42 +08:00
CapsulePei MdeModulePkg: Add missing header files in INF files 2019-08-13 17:16:14 +08:00
CapsuleRuntimeDxe MdeModulePkg/CapsuleRuntimeDxe: Add RISCV64 architecture 2020-05-07 03:17:15 +00:00
Console MdeModulePkg/TerminalDxe: Terminal fifo buffer overflow. 2021-02-03 01:56:42 +00:00
DebugPortDxe MdeModulePkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
DebugServicePei MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
DebugSupportDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
DevicePathDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Disk Revert "MdeModulePkg/PartitionDxe: Fix the incorrect LBA size in child ..." 2020-10-20 06:12:12 +00:00
DisplayEngineDxe MdeModulePkg DisplayEngineDxe: Correct the local variable name. 2020-11-12 14:32:44 +00:00
DriverHealthManagerDxe MdeModulePkg: strip trailing whitespace 2019-10-04 11:18:32 +01:00
DriverSampleDxe MdeModulePkg: Fix various typos 2021-05-17 02:10:31 +00:00
EbcDxe MdeModulePkg: Fix various typos 2021-05-17 02:10:31 +00:00
EsrtDxe MdeModulePkg/EsrtDxe: Add check for EsrtRepository 2019-11-06 13:26:21 +08:00
EsrtFmpDxe MdeModulePkg/EsrtFmpDxe: Enhance ESRT to support multiple controllers 2019-08-07 13:18:32 +08:00
FaultTolerantWriteDxe MdeModulePkg/FaultTolerantWriteSmmDxe: switch to MM communicate 2 2020-05-12 19:23:44 +00:00
FaultTolerantWritePei MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
FileExplorerDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
FvSimpleFileSystemDxe MdeModulePkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
HiiDatabaseDxe MdeModulePkg/HiiDatabase: Do not modify CONST string 2020-10-07 04:20:56 +00:00
HiiResourcesSampleDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
LegacyRegion2Dxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
LoadFileOnFv2 MdeModulePkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
LockBox/SmmLockBox MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
MemoryTest MdeModulePkg: Fix spelling mistake for occurred 2020-08-19 00:54:23 +00:00
Metronome MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
MonotonicCounterRuntimeDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PCD MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PcatSingleSegmentPciCfg2Pei MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PlatformDriOverrideDxe MdeModulePkg/PlatformDriOverrideDxe: Fix overflow condition check 2021-05-21 08:31:39 +00:00
PrintDxe MdeModulePkg: Remove code wrapped by DISABLE_NEW_DEPRECATED_INTERFACES 2020-10-13 01:35:03 +00:00
RegularExpressionDxe MdeModulePkg: Fix SetMem parameter in OnigurumaUefiPort 2020-12-14 02:11:33 +00:00
ReportStatusCodeRouter MdeModulePkg: ReportStatusCodeRouter: Support StandaloneMm RSC Router 2021-02-01 10:01:04 -08:00
ResetSystemPei MdeModulePkg/ResetSystemPei: Change comments of ResetSystem2 2019-04-28 09:40:15 +08:00
ResetSystemRuntimeDxe MdeModulePkg/ResetSystemRuntimeDxe: Change comments 2019-04-28 09:40:15 +08:00
SectionExtractionDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
SectionExtractionPei MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
SecurityStubDxe MdeModulePkg/SecurityStubDxe: Mark the File parameter as OPTIONAL 2020-04-22 01:55:34 +00:00
SerialDxe MdeModulePkg SerialDxe.inf: Fix wrong FILE_GUID format 2019-09-17 15:10:25 +08:00
SetupBrowserDxe MdeModulePkg/SetupBrowserDxe: Do not reconnect driver with form-update 2020-06-10 04:25:47 +00:00
SmbiosDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
SmbiosMeasurementDxe MdeModulePkg/Smbios: Add TCG PFP rev 105 support. 2020-01-06 06:23:19 +00:00
SmmCommunicationBufferDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
StatusCodeHandler MdeModulePkg: StatusCodeHandler: StatusCodeHandler driver in StandaloneMm 2021-02-01 10:01:03 -08:00
TimestampDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Variable MdeModulePkg/VariableLock: downgrade compatibility warnings to DEBUG_WARN 2021-05-23 12:06:55 +00:00
WatchdogTimerDxe MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00