Re: [libgpiod][PATCH] tests: add enable_debounce_then_edge_detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Tue, 14 May 2024 00:00:31 +0800, Kent Gibson wrote:
> A bug was recently discovered in the kernel that can result in the edge
> event fifo not being correctly initialised and stack contents being
> returned in edge events. The trigger for the bug is requesting a line with
> debounce, but not edge detection, and then reconfiguring the line to
> enable edge detection.
> 
> Add a test case that triggers the bug.  This will fail on kernels that
> do not contain the fix for the bug.  The test is located in a new test
> file, tests-kernel-uapi.c, intended to contain tests specifically
> testing some aspect of the kernel uAPI, not libgpiod itself.
> 
> [...]

Applied, thanks!

[1/1] tests: add enable_debounce_then_edge_detection
      commit: 0a552e7908896b7b96fd502052fa7289af9f6e7b

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux