[PATCH v4 0/6] Add GPIO chardev ioctl decoding
Dmitry V. Levin
ldv at altlinux.org
Sun Jan 24 15:39:21 UTC 2021
On Sat, Jan 23, 2021 at 09:56:39AM +0800, Kent Gibson wrote:
> This patch set implements decoding of the GPIO character device ioctls
> first added in Linux v4.8, extended in v5.5 and v5.7, and the v2 ioctls
> added in v5.10, and a minor update for v5.11.
>
> The first patch adds a helper method used to print arrays of uint8,
> as found in the GPIO API.
> The second and third patches add the decoding of the GPIO ioctls and
> corresponding tests.
> the fourth and fifth patches add the decoding of the GPIO v2 ioctls and
> corresponding tests.
> The sixth patch adds decoding of the
> GPIO_V2_LINE_FLAG_EVENT_CLOCK_REALTIME flag which is on track to be added
> in Linux v5.11.
>
> Cheers,
> Kent.
While testing this, I found some portability issues, I commented them
in separate messages. I've also pushed a separate branch (ldv/gpio)
where I tried to address these issues, apparently it passes CI tests.
Thanks,
--
ldv
More information about the Strace-devel
mailing list