[PATCH v2 3/4] can: Add driver for CAST CAN Bus Controller
Marc Kleine-Budde
mkl at pengutronix.de
Mon Oct 28 08:28:43 PDT 2024
On 25.10.2024 01:45:30, Hal Feng wrote:
> On 9/23/2024 5:14 AM, Marc Kleine-Budde wrote:
> > On 22.09.2024 22:51:49, Hal Feng wrote:
> > > From: William Qiu <william.qiu at starfivetech.com>
> > >
> > > Add driver for CAST CAN Bus Controller used on StarFive JH7110 SoC.
> >
> > Have you read me review of the v1 of this series?
> >
> > https://lore.kernel.org/all/20240129-zone-defame-c5580e596f72-
> > mkl at pengutronix.de/
>
> Yes, I modify accordingly except using FIELD_GET() / FIELD_PREP(), using
> rx_offload helper and the shared interrupt flag. I found FIELD_GET() / FIELD_PREP()
> can only be used when the mask is a constant,
Do you have a non constant mask?
> and the CAN module won't
> work normally if I change the interrupt flag to 0.
What do you mean by "won't work normally"?
It makes no sense to claim that you support shared interrupts, but
print an error message, if your IP core had no active interrupt.
> I will try to using rx_offload helper
> in the next version.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20241028/e1d420e9/attachment.sig>
More information about the linux-riscv
mailing list