<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/can/c_can, branch linux-3.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-05-19T07:03:06Z</updated>
<entry>
<title>can: c_can: remove obsolete STRICT_FRAME_ORDERING Kconfig option</title>
<updated>2014-05-19T07:03:06Z</updated>
<author>
<name>Oliver Hartkopp</name>
</author>
<published>2014-05-06T17:45:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=524369e2391f4b422d0efdd11d526a373a11a43a'/>
<id>urn:sha1:524369e2391f4b422d0efdd11d526a373a11a43a</id>
<content type='text'>
In 2b9aecdce2 ("can: c_can: Disable rx split as workaround") a new Kconfig
option was introduced as a workaround. The tests performed by Alexander Stein
confirmed this option to be obsolete with all the other cleanups and fixes
that had been discussed that time:
http://marc.info/?l=linux-can&amp;m=139746476821294&amp;w=2

Both (author and tester) agreed to remove this Kconfig option again:
http://marc.info/?l=linux-can&amp;m=139883820714229&amp;w=2

As some more cleanups took place since then a simple revert is not possible.
This patch removes the entire option as it would behave when disabled.
Further beautification’s can be done later.

Signed-off-by: Oliver Hartkopp &lt;socketcan@hartkopp.net&gt;
Tested-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: c_can_pci: enable PCI bus master only for MSI</title>
<updated>2014-04-24T20:22:52Z</updated>
<author>
<name>Wolfgang Grandegger</name>
</author>
<published>2014-04-03T18:41:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78c181bc8a75d3f0624eaf24aa8265d441990c8c'/>
<id>urn:sha1:78c181bc8a75d3f0624eaf24aa8265d441990c8c</id>
<content type='text'>
Coverity complains that c_can_pci_probe() calls pci_enable_msi() without
checking the result:

CID 712278 (#1 of 1): Unchecked return value (CHECKED_RETURN) 3. check_return:
Calling pci_enable_msi_block without checking return value (as is done
elsewhere 88 out of 105 times).
 88        pci_enable_msi(pdev);

This is CID 712278.

Signed-off-by: Wolfgang Grandegger &lt;wg@grandegger.com&gt;
Reported-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: c_can: use proper type for 'instance'</title>
<updated>2014-04-24T20:09:01Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2014-04-17T08:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f323d7a1d2868c00b2604dca36ad82e8ecbe4270'/>
<id>urn:sha1:f323d7a1d2868c00b2604dca36ad82e8ecbe4270</id>
<content type='text'>
Commit 6439fbce1075 (can: c_can: fix error checking of priv-&gt;instance in
probe()) found the warning but applied a suboptimal solution. Since, both
pdev-&gt;id and of_alias_get_id() return integers, it makes sense to convert the
variable to an integer and avoid the cast.

Signed-off-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: c_can: Speed up tx buffer invalidation</title>
<updated>2014-04-24T20:09:01Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2014-04-11T08:13:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=939415973fdfb2c16a474e2575ba2581b828ccac'/>
<id>urn:sha1:939415973fdfb2c16a474e2575ba2581b828ccac</id>
<content type='text'>
It's suffcient to kill the TXIE bit in the message control register
even if the documentation of C and D CAN says that it's not allowed to
do that while MSGVAL is set. Reality tells a different story and this
change gives us another 2% of CPU back for not waiting on I/O.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: c_can: Remove tx locking</title>
<updated>2014-04-24T20:09:01Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2014-04-11T08:13:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35bdafb576c5c0a06815e7a681571c3ab950ff7e'/>
<id>urn:sha1:35bdafb576c5c0a06815e7a681571c3ab950ff7e</id>
<content type='text'>
Mark suggested to use one IF for the softirq and the other for the
xmit function to avoid the xmit lock.

That requires to write the frame into the interface first, then handle
the echo skb and store the dlc before committing the TX request to the
message ram.

We use an atomic to handle the active buffers instead of reading the
MSGVAL register as thats way faster especially on PCH/x86.

Suggested-by: Mark &lt;mark5@del-llc.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: c_can: Use proper u32 variables in c_can_write_msg_object()</title>
<updated>2014-04-24T20:09:01Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2014-04-11T08:13:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d48071be6cb94912cf3c3ac0b4d520438fab4778'/>
<id>urn:sha1:d48071be6cb94912cf3c3ac0b4d520438fab4778</id>
<content type='text'>
Instead of obfuscating the code by artificial 16 bit splits use the
proper 32 bit assignments and split the result when writing to the
interface.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: c_can: Cleanup c_can_write_msg_object()</title>
<updated>2014-04-24T20:09:01Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2014-04-11T08:13:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23ef0a895dd3f115909ca70958aeb3d04f374b0d'/>
<id>urn:sha1:23ef0a895dd3f115909ca70958aeb3d04f374b0d</id>
<content type='text'>
Remove the MASK from the TX transfer side.

Make the code readable and get rid of the annoying IFX_WRITE_XXX_16BIT
macros which are just obfuscating the code.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: c_can: Cleanup c_can_msg_obj_put/get()</title>
<updated>2014-04-24T20:09:00Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2014-04-11T08:13:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7af28630b87d0b2eefeee8547ad52df7e0e1b1c4'/>
<id>urn:sha1:7af28630b87d0b2eefeee8547ad52df7e0e1b1c4</id>
<content type='text'>
Sigh!

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: c_can: Cleanup c_can_inval_msg_object()</title>
<updated>2014-04-24T20:09:00Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2014-04-11T08:13:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b07faaaf1f60c2b76604917fc5a9937974d78e92'/>
<id>urn:sha1:b07faaaf1f60c2b76604917fc5a9937974d78e92</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
<entry>
<title>can: c_can: Cleanup setup of receive buffers</title>
<updated>2014-04-24T20:09:00Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2014-04-11T08:13:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ff2de0fb41560cfdf072eb41b5a5b4799d126ea'/>
<id>urn:sha1:8ff2de0fb41560cfdf072eb41b5a5b4799d126ea</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Tested-by: Alexander Stein &lt;alexander.stein@systec-electronic.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
</content>
</entry>
</feed>
