<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/net/dsa/b53, branch linux-5.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-08-26T09:49:18Z</updated>
<entry>
<title>net: dsa: b53: check for timeout</title>
<updated>2020-08-26T09:49:18Z</updated>
<author>
<name>Tom Rix</name>
</author>
<published>2020-08-21T13:56:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3489cea04a4bf0632dddd34424d0fe07d6d02f5b'/>
<id>urn:sha1:3489cea04a4bf0632dddd34424d0fe07d6d02f5b</id>
<content type='text'>
[ Upstream commit 774d977abfd024e6f73484544b9abe5a5cd62de7 ]

clang static analysis reports this problem

b53_common.c:1583:13: warning: The left expression of the compound
  assignment is an uninitialized value. The computed value will
  also be garbage
        ent.port &amp;= ~BIT(port);
        ~~~~~~~~ ^

ent is set by a successful call to b53_arl_read().  Unsuccessful
calls are caught by an switch statement handling specific returns.
b32_arl_read() calls b53_arl_op_wait() which fails with the
unhandled -ETIMEDOUT.

So add -ETIMEDOUT to the switch statement.  Because
b53_arl_op_wait() already prints out a message, do not add another
one.

Fixes: 1da6df85c6fb ("net: dsa: b53: Implement ARL add/del/dump operations")
Signed-off-by: Tom Rix &lt;trix@redhat.com&gt;
Acked-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: remove redundant premature assignment to new_pvid</title>
<updated>2020-05-27T18:28:23Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2020-05-27T12:01:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f01a71c5cbec10b851588457089d17c20dc5a40'/>
<id>urn:sha1:9f01a71c5cbec10b851588457089d17c20dc5a40</id>
<content type='text'>
Variable new_pvid is being assigned with a value that is never read,
the following if statement updates new_pvid with a new value in both
of the if paths. The assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Acked-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2020-05-24T20:47:27Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2020-05-24T20:47:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=13209a8f7304a34158f4366e8ea07a1965c05ac7'/>
<id>urn:sha1:13209a8f7304a34158f4366e8ea07a1965c05ac7</id>
<content type='text'>
The MSCC bug fix in 'net' had to be slightly adjusted because the
register accesses are done slightly differently in net-next.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: Fix return value about devm_platform_ioremap_resource()</title>
<updated>2020-05-23T23:28:25Z</updated>
<author>
<name>Tiezhu Yang</name>
</author>
<published>2020-05-22T11:03:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef24d6c3d6965158dfe23ae961d87e9a343e18a2'/>
<id>urn:sha1:ef24d6c3d6965158dfe23ae961d87e9a343e18a2</id>
<content type='text'>
When call function devm_platform_ioremap_resource(), we should use IS_ERR()
to check the return value and return PTR_ERR() if failed.

Signed-off-by: Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Remove is_static argument to b53_read_op()</title>
<updated>2020-05-01T00:43:29Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-04-30T18:49:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef2a0bd99b1549a3a4253355be247d5dff25d720'/>
<id>urn:sha1:ef2a0bd99b1549a3a4253355be247d5dff25d720</id>
<content type='text'>
This argument is not used.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Bound check ARL searches</title>
<updated>2020-05-01T00:43:29Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-04-30T18:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd169d799beeb738fa2d3e891960924cdcaf8414'/>
<id>urn:sha1:cd169d799beeb738fa2d3e891960924cdcaf8414</id>
<content type='text'>
ARL searches are done by reading two ARL entries at a time, do not cap
the search at 1024 which would only limit us to half of the possible ARL
capacity, but use b53_max_arl_entries() instead which does the right
multiplication between bins and indexes.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Provide number of ARL buckets</title>
<updated>2020-05-01T00:43:29Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-04-30T18:49:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e3da4038f4ca1094596a7604c6edac4a6a4f6ee9'/>
<id>urn:sha1:e3da4038f4ca1094596a7604c6edac4a6a4f6ee9</id>
<content type='text'>
In preparation for doing proper upper bound checking of FDB/MDB entries
being added to the ARL, provide the number of ARL buckets for each
switch chip we support. All chips have 1024 buckets, except 7278 which
has only 256.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: Rename num_arl_entries to num_arl_bins</title>
<updated>2020-05-01T00:43:29Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-04-30T18:49:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=673e69a67dd63fc3b40f109d1677a5dc72185fbb'/>
<id>urn:sha1:673e69a67dd63fc3b40f109d1677a5dc72185fbb</id>
<content type='text'>
The variable currently holds the number of ARL bins per ARL buckets,
which is different from the number of ARL entries which would be bins
times buckets. We will be adding a num_arl_buckets in a subsequent patch
so get variables straight now.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Reviewed-by: Andrew Lunn &lt;andrew@lunn.ch&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2020-04-26T03:18:53Z</updated>
<author>
<name>David S. Miller</name>
</author>
<published>2020-04-26T02:24:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d483389678f9e03d53f226641ea39679debcbc81'/>
<id>urn:sha1:d483389678f9e03d53f226641ea39679debcbc81</id>
<content type='text'>
Simple overlapping changes to linux/vermagic.h

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL</title>
<updated>2020-04-22T19:50:41Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2020-04-21T03:26:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64fec9493f7dc9bdd7233bcfe98985c45bd0e3c1'/>
<id>urn:sha1:64fec9493f7dc9bdd7233bcfe98985c45bd0e3c1</id>
<content type='text'>
Flip the IVL_SVL_SELECT bit correctly based on the VLAN enable status,
the default is to perform Shared VLAN learning instead of Individual
learning.

Fixes: 1da6df85c6fb ("net: dsa: b53: Implement ARL add/del/dump operations")
Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
