Re: [PATCH] hw/usb/hcd-ehci.c: print diagnostics when cpage out of range

2022-06-09 Thread Arnout Engelen
On Thu, Jun 9, 2022, at 12:09, Gerd Hoffmann wrote: > Hi, > > > if (cpage > 4) { > > fprintf(stderr, "cpage out of range (%u)\n", cpage); > > +bytes = get_field(p->qtd.token, QTD_TOKEN_TBYTES); > > +offset = p->qtd.bufptr[0] & ~QTD_BUFPTR_MASK; > >

[PATCH] hw/usb/hcd-ehci: fix writeback order

2022-05-08 Thread Arnout Engelen
s) This problem was previously reported as a seabios problem in https://mail.coreboot.org/hyperkitty/list/seab...@seabios.org/thread/OUTHT5ISSQJGXPNTUPY3O5E5EPZJCHM3/ and as a nixos CI build failure in https://github.com/NixOS/nixpkgs/issues/170803 Signed-off-by: Arnout Engelen --- hw/usb/hcd-ehci.c | 5

[PATCH] hw/usb/hcd-ehci.c: print diagnostics when cpage out of range

2022-04-30 Thread Arnout Engelen
Making it easier to diagnose what is going on when it happens Signed-off-by: Arnout Engelen --- hw/usb/hcd-ehci.c | 5 + 1 file changed, 5 insertions(+) diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 33a8a377bd..8e2f6578c2 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c