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

Stefan Bader stefan.bader at canonical.com
Wed Aug 4 08:03:34 UTC 2021


On 15.07.21 21:30, 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(-)
> 
Acked-by: Stefan Bader <stefan.bader at canonical.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210804/bc61099c/attachment.sig>


More information about the kernel-team mailing list