<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/can/flexcan.c, branch linux-4.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-03-03T12:00:07Z</updated>
<entry>
<title>can: flexcan: fix typo in comment</title>
<updated>2017-03-03T12:00:07Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2017-03-02T14:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=66ddb82129df66a94219844c509074adb4330a28'/>
<id>urn:sha1:66ddb82129df66a94219844c509074adb4330a28</id>
<content type='text'>
This patch fixes the typo "Disble" -&gt; "Disable".

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: switch imx6 and vf610 to timestamp based offloading</title>
<updated>2017-02-06T14:13:45Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2015-09-01T08:28:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=096de07f1d7156e500dec5abe89e9b44314e38e5'/>
<id>urn:sha1:096de07f1d7156e500dec5abe89e9b44314e38e5</id>
<content type='text'>
This patch switches the imx6 and vf610 based SoCs from the hardware FIFO
to the timestamp based rx offloading.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: add support for timestamp based rx-offload</title>
<updated>2017-02-06T14:13:44Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2015-09-01T07:00:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3cf53e988cedb11a407d65abafca836da78b7c9'/>
<id>urn:sha1:b3cf53e988cedb11a407d65abafca836da78b7c9</id>
<content type='text'>
The flexcan IP core has 64 mailboxes. For now they are configured for
RX as a hardware FIFO. This FIFO has a fixed depth of 6 CAN frames. In
some high load scenarios it turns out thas this buffer is too small.

In order to have a buffer larger than the 6 frames FIFO, this patch adds
support for timestamp based offloading via the generic rx-offload
infrastructure.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: add quirk FLEXCAN_QUIRK_ENABLE_EACEN_RRS</title>
<updated>2017-02-06T14:13:42Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2015-09-01T06:57:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9eb7aa891101a4a09114ff3191f9877ea35eae06'/>
<id>urn:sha1:9eb7aa891101a4a09114ff3191f9877ea35eae06</id>
<content type='text'>
In order to receive RTR frames in the non HW FIFO mode the RSS and EACEN bits
of the reg_ctrl2 have to be activated. As this has no side effect in the FIFO
mode, we do this unconditionally on cores with the reg_ctrl2.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: activate individual RX masking and initialize reg_rximr</title>
<updated>2017-02-06T14:13:41Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2015-08-31T19:03:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4bd888a80b1d48dbd83f1cbf806e923a30051958'/>
<id>urn:sha1:4bd888a80b1d48dbd83f1cbf806e923a30051958</id>
<content type='text'>
Modern flexcan IP cores support two RX modes. One is using the 6 fames deep
hardware FIFO, the other is using up to 64 mailboxes (in non FIFO mode). For
now only the HW FIFO mode is activated.

In order to make use of the RX mailboxes the individual RX masking feature has
to be activated, otherwise matching mailboxes are overwritten during the
reception process. This however switches on the individual RX masking, which
uses reg_rximr registers for masking.

This patch activates the individual RX masking feature unconditionally and
initializes the mask registers (reg_rximr) with 0x0 == "don't care", which
switches off any filtering.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: make use of rx-offload's irq_offload_fifo</title>
<updated>2017-02-06T14:13:39Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2015-05-10T13:26:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=30164759db1bb1062bdf0f92451f57ed295cfa48'/>
<id>urn:sha1:30164759db1bb1062bdf0f92451f57ed295cfa48</id>
<content type='text'>
This patch converts the flexcan driver to make use of the rx-offload
can_rx_offload_irq_offload_fifo() helper function. The idea is to read
the CAN frames already in the interrupt context, as the depth of the
flexcan HW FIFO is too shallow, resulting in too many missed frames.
During a normal NAPI poll the frames are the pushed into the upper
layers.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: make TX mailbox selectable during runtime</title>
<updated>2017-02-06T14:13:37Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2015-07-11T22:47:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b93917c3700636dadc6688144e7d55e07699367b'/>
<id>urn:sha1:b93917c3700636dadc6688144e7d55e07699367b</id>
<content type='text'>
This patch makes the TX mailbox selectable duing runtime. This is a preparation
patch to use of the hardware FIFO selectable via runtime. As the TX mailbox
number is different in HW FIFO and normal mode.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: calculate default value for imask1 during runtime</title>
<updated>2017-02-06T14:13:36Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2015-08-04T11:46:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=28ac7dcd5b1354e46f5f28a53b5a6b443fcc88ed'/>
<id>urn:sha1:28ac7dcd5b1354e46f5f28a53b5a6b443fcc88ed</id>
<content type='text'>
This patch converts the define FLEXCAN_IFLAG_DEFAULT into the runtime
calculated value priv-&gt;reg_imask1_default. This is a preparation patch to make
the TX mailbox selectable during runtime, too.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: flexcan_irq(): don't unconditionally return IRQ_HANDLED</title>
<updated>2017-02-06T14:13:35Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2017-01-18T10:45:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd2f122a96ea041679f46c063a18145a7cf6ff5f'/>
<id>urn:sha1:dd2f122a96ea041679f46c063a18145a7cf6ff5f</id>
<content type='text'>
This patch changes the flexcan_irq() function to only return
IRQ_HANDLED, if the interrupt really has been handled, otherwise
IRQ_NONE is returned.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: flexcan: flexcan_poll_bus_err(): fold in do_bus_err()</title>
<updated>2017-02-06T14:13:34Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2017-01-18T10:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5c02f668c36c05fbbb29d157507be4868ecd176'/>
<id>urn:sha1:a5c02f668c36c05fbbb29d157507be4868ecd176</id>
<content type='text'>
This patch folds in the do_bus_err() function into
flexcan_poll_bus_err().

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
</feed>
