[PATCH 0/1] [Artful/linux-oem] Fix i2c touchpad freeze on AMD laptops
Kai Heng Feng
kai.heng.feng at canonical.com
Thu Feb 1 08:07:39 UTC 2018
Looks like this patch doesn’t get merged to Artful.
> On Nov 29, 2017, at 5:22 PM, Kai-Heng Feng <kai.heng.feng at canonical.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/1732056
This fix is still needed for all AMD laptops.
>
> [Impact]
> Touchpad freezes after a brief usage.
>
> [Fix]
> Quote from the commit log:
> "The stale cached value written at the final stage undoes the masking.
> Fix this by re-reading the register before clearing the interrupt.
>
> I also spotted that the interrupt-clearing code can race against
> amd_gpio_irq_mask() / amd_gpio_irq_unmask(), so add locking there.
> Presumably this race was leading to the loss of interrupts."
>
> [Test Case]
> Touchpad no longer freezes on ideapad 320-15ABR, a new Dell Latitude and
> a new Dell Inspiron.
>
> [Regression Potential]
> Low. It limits to AMD laptops
>
> Daniel Drake (1):
> pinctrl/amd: fix masking of GPIO interrupts
>
> drivers/pinctrl/pinctrl-amd.c | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> --
> 2.14.1
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
More information about the kernel-team
mailing list