[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] hw/char/pl011: Add support for loopback
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2] hw/char/pl011: Add support for loopback |
Date: |
Mon, 4 Mar 2024 15:02:25 +0000 |
On Tue, 27 Feb 2024 at 05:48, Tong Ho <tong.ho@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.ho@amd.com>
> Signed-off-by: Francisco Iglesias <francisco.iglesias@amd.com>
Applied to target-arm.next, thanks.
-- PMM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH v2] hw/char/pl011: Add support for loopback,
Peter Maydell <=