On Wed, Nov 4, 2026 at 11:13 PM Bin Meng <[email protected]> wrote: > > Bin Meng wrote: > > The GEM MMIO callbacks ignored the low address bits and access size. > > Byte reads therefore always returned lane zero, causing guest driver > > that reads the station address byte by byte to turn four unique MAC > > addresses into the same value. Partial writes had the corresponding > > lane-selection problem. > > > > Extract the requested little-endian read lane and merge partial writes > > with the current register value. Preserve the existing read-clear, > > write-clear, and command side effects, including dynamic queue > > pointers. > > > > Fixes: e9f186e514a7 ("cadence_gem: initial version of device model") > > Signed-off-by: Bin Meng <[email protected]> > > > > --- > > > > Changes in v2: > > - drop the gem_get_register() helper > > > > hw/net/cadence_gem.c | 55 +++++++++++++++++++++++++++----------------- > > 1 file changed, 34 insertions(+), 21 deletions(-) > > Ping for review? >
Ping?
