ACK: [SRU][F/G][PATCH] Fix Sony Dualshock 4 crashes systems

Tim Gardner tim.gardner at canonical.com
Mon Jul 19 14:16:39 UTC 2021


Acked-by: Tim Gardner <tim.gardner at canonical.com>

On 7/15/21 1:30 PM, Alex Hung wrote:
> BugLink: https://bugs.launchpad.net/bugs/1935846
> 
> [Impact]
> 
> Sony Dualshock 4 controller crashes systems. This is the result of a
> divide by zero when the driver processes requests from Steam and returns
> invalid data. More details are in the patch description.
> 
> [Fix]
> 
> Check whether data is valid and retry up to 3 times if needed.
> 
> [Test Case]
> 
> Tested by the bug reporter of LP:1935846. No more crashes after applying
> this patch.
> 
> [Where problems could occur]
> 
> None. The patch checks whether data is valid and retry 3 times before
> return -EILSEQ if it still fails.
> 
> Roderick Colenbrander (1):
>    HID: sony: Workaround for DS4 dongle hotplug kernel crash.
> 
>   drivers/hid/hid-sony.c | 34 ++++++++++++++++++++++++++++------
>   1 file changed, 28 insertions(+), 6 deletions(-)
> 

-- 
-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list