Re: [PATCH v4 2/4] can: m_can: Add hrtimer to generate software interrupt

From
Judith Mendez <jm@ti.com>
Date
2023-05-02 18:09:41
Also in
linux-arm-kernel, linux-can, lkml, netdev
Reply to
Marc Kleine-Budde, 2023-05-02
Hello Marc

On 5/2/23 01:37, Marc Kleine-Budde wrote:
On 01.05.2023 17:46:22, Judith Mendez wrote:
quoted
Add an hrtimer to MCAN class device. Each MCAN will have its own
hrtimer instantiated if there is no hardware interrupt found and
poll-interval property is defined in device tree M_CAN node.

The hrtimer will generate a software interrupt every 1 ms. In
hrtimer callback, we check if there is a transaction pending by
reading a register, then process by calling the isr if there is.

Signed-off-by: Judith Mendez <jm@ti.com>
I think this patch is as good as it gets, given the HW and SW
limitations of the coprocessor.

Some minor nitpicks inline. No need to resend from my point of view,
I'll fixup while applying the patch.
Thanks Marc, really appreciate your feedback and attention.

Same to everyone who helped make these patches better. (:

regards,
Judith
Thread (15 messages) 15 messages, 5 authors, last reply 2023-05-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help