On Tue, 27 Feb 2024 at 05:48, Tong Ho <tong...@amd.com> wrote: > > This patch adds loopback for sent characters, sent BREAK, > and modem-control signals. > > Loopback of send and modem-control is often used for uart > self tests in real hardware but missing from current pl011 > model, resulting in self-test failures when running in QEMU. > > This implementation matches what is observed in real pl011 > hardware placed in loopback mode: > 1. Input characters and BREAK events from serial backend > are ignored, but > 2. Both TX characters and BREAK events are still sent to > serial backend, in addition to be looped back to RX. > > Signed-off-by: Tong Ho <tong...@amd.com> > Signed-off-by: Francisco Iglesias <francisco.igles...@amd.com>
Applied to target-arm.next, thanks. -- PMM