[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72kfy3RvCwxp7Y++fKTMrviP5CqC_Zts_NjtEtNCnpU3Mg@mail.gmail.com>
Date: Wed, 12 Nov 2025 10:37:22 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Marko Turk <mt@...koturk.info>, Dirk Behme <dirk.behme@...bosch.com>
Cc: dakr@...nel.org, bhelgaas@...gle.com, kwilczynski@...nel.org,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
rust-for-linux@...r.kernel.org
Subject: Re: [PATCH] samples: rust: fix endianness issue in rust_driver_pci
On Wed, Nov 12, 2025 at 9:47 AM Marko Turk <mt@...koturk.info> wrote:
>
> On Sat, Nov 01, 2025 at 10:46:54PM +0100, Marko Turk wrote:
> > QEMU PCI test device specifies all registers as little endian. OFFSET
> > register is converted properly, but the COUNT register is not.
> >
> > Apply the same conversion to the COUNT register also.
> >
> > Signed-off-by: Marko Turk <mt@...koturk.info>
> > Fixes: 685376d18e9a ("samples: rust: add Rust PCI sample driver")
>
> Can someone take a look?
Your message was in my spam folder -- that may be affecting who saw it.
>From https://www.qemu.org/docs/master/specs/pci-testdev.html:
"All registers are little endian."
So this seems right. A couple tags:
Cc: stable@...r.kernel.org
Link: https://www.qemu.org/docs/master/specs/pci-testdev.html
Cc'ing Dirk, since he tested the sample originally.
Thanks!
Cheers,
Miguel
Powered by blists - more mailing lists