Bug 209735

Summary: using asus_wmi_send_event()/asus_wmi_evaluate_method() within hid-asus leads to kernel crash
Product: Drivers Reporter: zappel
Component: OtherAssignee: drivers_other
Status: RESOLVED DOCUMENTED    
Severity: normal CC: rui.zhang
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.9.1 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg from the moment the kernel crashes

Description zappel 2020-10-19 00:20:41 UTC
Created attachment 293053 [details]
dmesg from the moment the kernel crashes

Hi, 
hopefully someone can help us out.. we're currently busy on a patch for ASUS ROG series notebooks on hid (asus-hid) level, and we're facing a strange behavior if we're calling asus_wmi_send_event. this issue reproducable causes a kernel crash...

The patch this is relaying on is: https://lkml.org/lkml/2020/9/23/1061

what we're doing:
we're trying to forward a raw event to an wmi event, which mostly works.. until you're pressing the key multiple times within a second (or slower but continously). 

as far as we digged through this might be caused by ACPI.. but we're really unsure.

it happend during calling `asus_wmi_send_event(drvdata, 0xae)`, pls see attached log.


maybe someone has a clou what we're doing wrong - or ist it a bug?


cheers.
Comment 1 Zhang Rui 2020-11-02 03:39:31 UTC
as you already have a patch, why not submit the patch to the mailing list directly?

run ./scripts/get_maintainer.pl your-patch first
and submit your patch out.
Bugzilla is not a good place for people to review your patch.
Bug report closed.