Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 7baa358e2cdde7a36cbed47da8ffd67f0f842243
      
https://github.com/tianocore/edk2/commit/7baa358e2cdde7a36cbed47da8ffd67f0f842243
  Author: kavipriyankp <[email protected]>
  Date:   2026-02-13 (Fri, 13 Feb 2026)

  Changed paths:
    M ArmPlatformPkg/Library/PL011UartLib/PL011UartLib.c

  Log Message:
  -----------
  ArmPlatformPkg/PL011UartLib : Fix incorrect control bit validation

REF: [e092122]
(PR #12085)

The current logic in ArmPlatformPkg/PL011UartLib performs
control-bit checks intended to align with the UEFI specification.
However, it incorrectly validates control bits that
cannot be set through SetControl(), resulting in failures
in the SetControl() SCT test.

According to the UEFI specification,
the valid control bits that can be set are:

EFI_SERIAL_REQUEST_TO_SEND
EFI_SERIAL_DATA_TERMINAL_READY
EFI_SERIAL_HARDWARE_LOOPBACK_ENABLE
EFI_SERIAL_SOFTWARE_LOOPBACK_ENABLE
EFI_SERIAL_HARDWARE_FLOW_CONTROL_ENABLE

This patch updates mAllowedControlBits so that only these
valid control bits are accepted during validation.

Cc: Sachin Ganesh <[email protected]>
Signed-off-by: Kavipriyan K P <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to