[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002537: linux-image-5.15.0-2-rt-amd64: RT kernel does not support touchpad/trackpoint on Thinkpad L15



Thanks Sebastian!

Hichael, it would be great if you can test this to verify the issue is
fixed:

On Thu, Dec 23, 2021 at 09:53:52PM +0100, Sebastian Andrzej Siewior wrote:
> control: tags -1 patch
> 
> On 2021-12-23 21:30:28 [+0100], Michael Below wrote:
> > [   20.096966] CPU: 2 PID: 223 Comm: irq/16-i801_smb Not tainted 5.15.0-2-rt-amd64 #1  Debian 5.15.5-1
> 
> The hunk at the bottom should cure it.
> 
> diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
> index 1f929e6c30bea..6723af1057b69 100644
> --- a/drivers/i2c/busses/i2c-i801.c
> +++ b/drivers/i2c/busses/i2c-i801.c
> @@ -1849,7 +1849,7 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
>  		init_completion(&priv->done);
>  
>  		err = devm_request_irq(&dev->dev, dev->irq, i801_isr,
> -				       IRQF_SHARED, DRV_NAME, priv);
> +				       IRQF_SHARED | IRQF_NO_THREAD, DRV_NAME, priv);
>  		if (err) {
>  			dev_err(&dev->dev, "Failed to allocate irq %d: %d\n",
>  				dev->irq, err);

https://kernel-team.pages.debian.net/kernel-handbook/ch-common-tasks.html#s4.2.2
(use the flag to choose to build for the rt featureset) should help t
get you binary packages with on top the above applied.

Regards,
Salvatore


Reply to: