lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5938604.DvuYhMxLoT@jernej-laptop>
Date: Sun, 16 Nov 2025 18:46:51 +0100
From: Jernej Škrabec <jernej.skrabec@...il.com>
To: Marc Kleine-Budde <mkl@...gutronix.de>
Cc: Vincent Mailhol <mailhol@...nel.org>, Chen-Yu Tsai <wens@...e.org>,
 Samuel Holland <samuel@...lland.org>,
 Gerhard Bertelsmann <info@...hard-bertelsmann.de>,
 Maxime Ripard <mripard@...nel.org>, kernel@...gutronix.de,
 linux-can@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
 linux-sunxi@...ts.linux.dev, linux-kernel@...r.kernel.org,
 stable@...r.kernel.org,
 Thomas Mühlbacher <tmuehlbacher@...teo.net>
Subject:
 Re: [PATCH can] can: sun4i_can: sun4i_can_interrupt(): fix max irq loop
 handling

Hi!

Dne nedelja, 16. november 2025 ob 17:26:07 Srednjeevropski standardni čas je Marc Kleine-Budde napisal(a):
> On 16.11.2025 17:20:37, Jernej Škrabec wrote:
> > Dne nedelja, 16. november 2025 ob 16:55:26 Srednjeevropski standardni čas je Marc Kleine-Budde napisal(a):
> > > Reading the interrupt register `SUN4I_REG_INT_ADDR` causes all of its bits
> > > to be reset. If we ever reach the condition of handling more than
> > > `SUN4I_CAN_MAX_IRQ` IRQs, we will have read the register and reset all its
> > > bits but without actually handling the interrupt inside of the loop body.
> > >
> > > This may, among other issues, cause us to never `netif_wake_queue()` again
> > > after a transmission interrupt.
> > >
> > > Fixes: 0738eff14d81 ("can: Allwinner A10/A20 CAN Controller support - Kernel module")
> > > Cc: stable@...r.kernel.org
> > > Co-developed-by: Thomas Mühlbacher <tmuehlbacher@...teo.net>
> > > Signed-off-by: Thomas Mühlbacher <tmuehlbacher@...teo.net>
> > > Signed-off-by: Marc Kleine-Budde <mkl@...gutronix.de>
> > > ---
> > > I've ported the fix from the sja1000 driver to the sun4i_can, which based
> > > on the sja1000 driver.
> >
> > Acked-by: Jernej Skrabec <jernej.skrabec@...il.com>
> 
> Thank you very much! I have seen a lot of feedback from you about the
> sun4i driver. Would you like to become the maintainer of the driver?

As a Allwinner (sunxi) maintainer, it is somehow implied that I help with
reviewing such drivers, right?

However, while I never used sun4i_can driver, I know CAN protocol well
as I work with SJA1000 compatible controllers at work, so I can help with
maintaining it.

Best regards,
Jernej



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ