Re: [PATCH 0/2] arm: allwinner: fix endianness bugs in sdhost and sun8i-emac

2023-05-02 Thread Peter Maydell
On Mon, 24 Apr 2023 at 17:50, Peter Maydell wrote: > > This patchset fixes bugs in the sd controller and ethernet controller > devices used in the orangepi-pc board model. The bug is the same in > both cases: we read and write a descriptor struct from guest memory > without byte-swapping it, so th

[PATCH 0/2] arm: allwinner: fix endianness bugs in sdhost and sun8i-emac

2023-04-24 Thread Peter Maydell
This patchset fixes bugs in the sd controller and ethernet controller devices used in the orangepi-pc board model. The bug is the same in both cases: we read and write a descriptor struct from guest memory without byte-swapping it, so the code only does the right thing on a little-endian host. The