On Fri, Oct 25, 2024 at 06:01:50PM +0200, Paolo Bonzini wrote: > Date: Fri, 25 Oct 2024 18:01:50 +0200 > From: Paolo Bonzini <[email protected]> > Subject: [PATCH 05/23] rust/pl011: add TYPE_PL011_LUMINARY device > X-Mailer: git-send-email 2.47.0 > > From: Manos Pitsidianakis <[email protected]> > > Add a device specialization for the Luminary UART device. > > This commit adds a DeviceId enum that utilizes the Index trait to return > different bytes depending on what device id the UART has (Arm -default- > or Luminary) > > Signed-off-by: Manos Pitsidianakis <[email protected]> > Signed-off-by: Paolo Bonzini <[email protected]> > Link: > https://lore.kernel.org/r/[email protected] > --- > rust/hw/char/pl011/src/device.rs | 77 ++++++++++++++++++++++++++++++-- > rust/hw/char/pl011/src/lib.rs | 1 + > 2 files changed, 75 insertions(+), 3 deletions(-)
Great! All tests passed on my side (x86 platform). Tested-by: Zhao Liu <[email protected]>
