Re: [PATCH] can: rcar_canfd: fix channel specific IRQ handling for RZ/G2L

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

 



On Mon, Oct 31, 2022 at 02:43:17PM +0000, Biju Das wrote:
> commit d887087c896881715c1a82f1d4f71fbfe5344ffd upstream.
> 
> RZ/G2L has separate channel specific IRQs for transmit and error
> interrupts. But the IRQ handler processes both channels, even if there
> no interrupt occurred on one of the channels.
> 
> This patch fixes the issue by passing a channel specific context
> parameter instead of global one for the IRQ register and the IRQ
> handler, it just handles the channel which is triggered the interrupt.
> 
> Fixes: 76e9353a80e9 ("can: rcar_canfd: Add support for RZ/G2L family")
> Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> Link: https://lore.kernel.org/all/20221025155657.1426948-3-biju.das.jz@xxxxxxxxxxxxxx
> Cc: stable@xxxxxxxxxxxxxxx
> [mkl: adjust commit message]
> Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
> [biju: fixed the conflicts manually]
> Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> ---
> Resending to 5.15 with conflicts[1] fixed
> [1] https://lore.kernel.org/stable/1667194217249235@xxxxxxxxx/T/#u
> ---
>  drivers/net/can/rcar/rcar_canfd.c | 18 +++++++-----------
>  1 file changed, 7 insertions(+), 11 deletions(-)

Now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux