Re: [PATCH] rust: pl011: fix device id matching

2024-11-07 Thread Paolo Bonzini
On Thu, Nov 7, 2024 at 2:10 PM Manos Pitsidianakis wrote: > On Wed, 06 Nov 2024 22:56, Philippe Mathieu-Daudé wrote: > >On 6/11/24 18:51, Paolo Bonzini wrote: > >> The offset that is compared against 0x3f8..0x400 is not shifted right. > >> Adjust the pattern matching. > >> > >> Cc: Pierrick Bouvi

Re: [PATCH] rust: pl011: fix device id matching

2024-11-07 Thread Manos Pitsidianakis
On Wed, 06 Nov 2024 22:56, Philippe Mathieu-Daudé wrote: On 6/11/24 18:51, Paolo Bonzini wrote: The offset that is compared against 0x3f8..0x400 is not shifted right. Adjust the pattern matching. Cc: Pierrick Bouvier Cc: Manos Pitsidianakis Signed-off-by: Paolo Bonzini --- rust/hw/char/pl

Re: [PATCH] rust: pl011: fix device id matching

2024-11-06 Thread Philippe Mathieu-Daudé
On 6/11/24 18:51, Paolo Bonzini wrote: The offset that is compared against 0x3f8..0x400 is not shifted right. Adjust the pattern matching. Cc: Pierrick Bouvier Cc: Manos Pitsidianakis Signed-off-by: Paolo Bonzini --- rust/hw/char/pl011/src/device.rs | 2 +- 1 file changed, 1 insertion(+),

[PATCH] rust: pl011: fix device id matching

2024-11-06 Thread Paolo Bonzini
The offset that is compared against 0x3f8..0x400 is not shifted right. Adjust the pattern matching. Cc: Pierrick Bouvier Cc: Manos Pitsidianakis Signed-off-by: Paolo Bonzini --- rust/hw/char/pl011/src/device.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/hw/char/pl