Skip to content

openhcl/firmware_uefi: EfiDiagnostics filter known error messages #1522

@maheeraeron

Description

@maheeraeron

Certain messages like the following are flooding kmsg with OpenHCL and Hyper-V today:

[2.273523] firmware_uefi::service::diagnostics: INFO  EFI log entry debug_level=PAGE+ERROR ticks=0x18843b2 phase=DXE log_message="ConvertPages: failed to find range 180000000 - 180008FFF"

and this:

[2.273074] firmware_uefi::service::diagnostics: WARN  EFI log entry debug_level=WARNING ticks=0x187fb03 phase=DXE log_message="WARNING: There is mismatch of supported HashMask (0x2 - 0x7) between modules"
[2.273309] firmware_uefi::service::diagnostics: WARN  EFI log entry debug_level=WARNING ticks=0x187fb15 phase=DXE log_message="that are linking different HashInstanceLib instances!"

We should add code in diagnostics.rs such that known message patterns get dropped, with a TODO item to address their fixes from the UEFI side later

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions