Re: [PATCH] Input: synaptics-rmi4 - Avoid processing unknown IRQs

2019-10-17 Thread Dmitry Torokhov
On Fri, Oct 11, 2019 at 09:46:56PM +, Andrew Duggan wrote: > Hi Evan, > > On 10/8/19 3:36 PM, Evan Green wrote: > > rmi_process_interrupt_requests() calls handle_nested_irq() for > > each interrupt status bit it finds. If the irq domain mapping for > > this bit had not yet been set up, then it

Re: [PATCH] Input: synaptics-rmi4 - Avoid processing unknown IRQs

2019-10-11 Thread Andrew Duggan
Hi Evan, On 10/8/19 3:36 PM, Evan Green wrote: > rmi_process_interrupt_requests() calls handle_nested_irq() for > each interrupt status bit it finds. If the irq domain mapping for > this bit had not yet been set up, then it ends up calling > handle_nested_irq(0), which causes a NULL pointer derefe

[PATCH] Input: synaptics-rmi4 - Avoid processing unknown IRQs

2019-10-08 Thread Evan Green
rmi_process_interrupt_requests() calls handle_nested_irq() for each interrupt status bit it finds. If the irq domain mapping for this bit had not yet been set up, then it ends up calling handle_nested_irq(0), which causes a NULL pointer dereference. There's already code that masks the irq_status b