[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aRRgSsOFGlt76E7o@vps.markoturk.info>
Date: Wed, 12 Nov 2025 11:24:10 +0100
From: Marko Turk <marko@...koturk.info>
To: Dirk Behme <dirk.behme@...bosch.com>
Cc: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>, 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 11:16:40AM +0100, Dirk Behme wrote:
> On 12/11/2025 10:37, Miguel Ojeda wrote:
> > 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.
>
>
> Hmm, I can't find the initial patch in my Inbox. Even
>
> https://lore.kernel.org/rust-for-linux/aRRJPZVkCv2i7kt2@vps.markoturk.info/
>
> doesn't seem to have it?
Initially I didn't send to rust-for-linux mailing list. It's here on lkml:
https://lore.kernel.org/lkml/20251101214629.10718-1-mt@markoturk.info/
Marko
Powered by blists - more mailing lists