Re: [PATCH v2 10/11] gpiolib: add new ioctl() for monitoring changes in line info

From: Andy Shevchenko
Date: Thu Dec 05 2019 - 12:02:34 EST


On Thu, Dec 5, 2019 at 3:47 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> czw., 5 gru 2019 o 11:27 Andy Shevchenko <andy.shevchenko@xxxxxxxxx> napisaÅ(a):
> > On Thu, Dec 5, 2019 at 11:42 AM Bartosz Golaszewski
> > <bgolaszewski@xxxxxxxxxxxx> wrote:
> > > År., 4 gru 2019 o 23:34 Andy Shevchenko <andy.shevchenko@xxxxxxxxx> napisaÅ(a):
> > > > On Wed, Dec 4, 2019 at 6:03 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:

> > So, the test cases, I can imagine of, should include (k - kernel, u - user):
> > - 64k-64u: LE and BE
> > - 64k-32u: LE and BE
> > - 32k-32u: LE and BE
>
> I usually use qemu VMs built with yocto for testing but I don't see
> any way of creating a 32-bit user-space with 64-bit kernel. Any ideas
> on how to prepare a testing environment?

In my case it's very easy. I do
- compile kernel as 64-bit separately;
- compile initramfs of Buildroot distro with external kernel build provided.

That's setup in which I observed the issue.

--
With Best Regards,
Andy Shevchenko