<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/soc/fsl/dpio, branch linux-5.3.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-5.3.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-5.3.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2019-05-20T19:28:16+00:00</updated>
<entry>
<title>soc: fsl: dpio: Add support for memory backed QBMan portals</title>
<updated>2019-05-20T19:28:16+00:00</updated>
<author>
<name>Roy Pledge</name>
<email>roy.pledge@nxp.com</email>
</author>
<published>2019-04-05T14:41:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5842efa41f57a9efef95a3741bea0a6954033f4e'/>
<id>urn:sha1:5842efa41f57a9efef95a3741bea0a6954033f4e</id>
<content type='text'>
NXP devices with QBMan version 5 and above can enable software
portals that are memory backed. This allows the portal to be
mapped as cacheable/sharable (same as all normal memory) so
that portals can freely migrate between cores and clusters
in the SoC. The driver will enable this mode by default when
appropriate HW support is detected.

Signed-off-by: Youri Querry &lt;youri.querry_1@nxp.com&gt;
Signed-off-by: Roy Pledge &lt;roy.pledge@nxp.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>soc: fsl: dpio: Increase timeout for QBMan Management Commands</title>
<updated>2019-05-20T19:28:15+00:00</updated>
<author>
<name>Youri Querry</name>
<email>youri.querry_1@nxp.com</email>
</author>
<published>2019-03-11T17:30:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d31beda2bcea55461289ebe73fb7fe11658b1c45'/>
<id>urn:sha1:d31beda2bcea55461289ebe73fb7fe11658b1c45</id>
<content type='text'>
The timeout for QBMan Management Commands can falsely trigger on a
busy system. This patch doubles the timeout to avoid the
false error reports

Signed-off-by: Youri Querry &lt;youri.querry_1@nxp.com&gt;
Signed-off-by: Roy Pledge &lt;roy.pledge@nxp.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>soc: fsl: dpio: configure cache stashing destination</title>
<updated>2019-02-26T20:53:30+00:00</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2019-02-23T08:48:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=51da14e96e9b5187bd42148e37628e59486e267f'/>
<id>urn:sha1:51da14e96e9b5187bd42148e37628e59486e267f</id>
<content type='text'>
Depending on the SoC version and the CPU id, configure the cache
stashing destination for a specific dpio.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>soc: fsl: dpio: enable frame data cache stashing per software portal</title>
<updated>2019-02-26T20:53:30+00:00</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2019-02-23T08:48:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=390bf02d275cee595d551fc041bb62d71728cbfa'/>
<id>urn:sha1:390bf02d275cee595d551fc041bb62d71728cbfa</id>
<content type='text'>
Enable cache stashing on the frame data dequeued using this software
portal. Also, enable dropping a stash request transaction when the
target request queue is almost full.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>soc: fsl: dpio: fix memory leak of a struct qbman on error exit path</title>
<updated>2019-02-19T20:59:39+00:00</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2019-02-19T14:05:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bd3bd3b36df725645036748e58a8c35c8d2cbf91'/>
<id>urn:sha1:bd3bd3b36df725645036748e58a8c35c8d2cbf91</id>
<content type='text'>
Currently the error check for a null reg leaks a struct qbman
that was allocated earlier. Fix this by kfree'ing p on the error exit
path.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>soc: fsl: dpio: Use after free in dpaa2_dpio_remove()</title>
<updated>2019-02-04T20:58:49+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2019-02-04T14:10:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=c1959066ac02bd123201352ff5a8c506469a1645'/>
<id>urn:sha1:c1959066ac02bd123201352ff5a8c506469a1645</id>
<content type='text'>
The dpaa2_io_down(priv-&gt;io) call frees "priv-&gt;io" so I've shifted the
code around a little bit to avoid the use after free.

Fixes: 991e873223e9 ("soc: fsl: dpio: use a cpumask to identify which cpus are unused")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>soc: fsl: dpio: Change bpid type to u16</title>
<updated>2019-01-11T21:06:54+00:00</updated>
<author>
<name>Ioana Ciocoi Radulescu</name>
<email>ruxandra.radulescu@nxp.com</email>
</author>
<published>2018-12-14T16:04:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8a533a7de21aa69cf9a3e55223c819858fbc7da2'/>
<id>urn:sha1:8a533a7de21aa69cf9a3e55223c819858fbc7da2</id>
<content type='text'>
In all QBMan registers, the buffer pool id field is two bytes long.
The low level qbman APIs reflect this, but the high level DPIO ones
use u32. Modify them in order to avoid implicit downcasts.

Signed-off-by: Ioana Radulescu &lt;ruxandra.radulescu@nxp.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>soc: fsl: dpio: Add prefetch instruction</title>
<updated>2019-01-11T21:06:54+00:00</updated>
<author>
<name>Ioana Ciocoi Radulescu</name>
<email>ruxandra.radulescu@nxp.com</email>
</author>
<published>2018-12-14T16:04:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=f1e250bf365962519c96a1255b2fe34b6c0d6c60'/>
<id>urn:sha1:f1e250bf365962519c96a1255b2fe34b6c0d6c60</id>
<content type='text'>
In dpaa2_io_store_next(), if the current dequeue entry is not
the last, prefetch the next one as most likely it will be
requested shortly by the consumer driver.

This brings a ~3% improvement for dpaa2 ethernet driver
IP forwarding with small size frames.

Signed-off-by: Ioana Radulescu &lt;ruxandra.radulescu@nxp.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>soc: fsl: dpio: add a device_link at dpaa2_io_service_register</title>
<updated>2019-01-11T21:06:54+00:00</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2018-12-10T16:50:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=47441f7f73b7cf0c2d6e7d6372f026ea81193fd6'/>
<id>urn:sha1:47441f7f73b7cf0c2d6e7d6372f026ea81193fd6</id>
<content type='text'>
Automatically add a device link between the actual device requesting the
dpaa2_io_service_register and the underlying dpaa2_io used. This link
will ensure that when a DPIO device, which is indirectly used by other
devices, is unbound any consumer devices will be also unbound from their
drivers.

For example, any DPNI, bound to the dpaa2-eth driver, which is using
DPIO devices will be unbound before its supplier device.

Also, add a new parameter to the dpaa2_io_service_[de]register functions
to specify the requesting device (ie the consumer).

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Reviewed-by: Horia Geanta &lt;horia.geanta@nxp.com&gt;
Reviewed-by: Ioana Radulescu &lt;ruxandra.radulescu@nxp.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
<entry>
<title>soc: fsl: dpio: store a backpointer to the device backing the dpaa2_io</title>
<updated>2019-01-11T21:06:54+00:00</updated>
<author>
<name>Ioana Ciornei</name>
<email>ioana.ciornei@nxp.com</email>
</author>
<published>2018-12-10T16:50:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cf9ff75d15a9bbd625519997c2ca864d1fa80227'/>
<id>urn:sha1:cf9ff75d15a9bbd625519997c2ca864d1fa80227</id>
<content type='text'>
Add a new field in the dpaa2_io structure to hold a backpointer to the
actual DPIO device.

Signed-off-by: Ioana Ciornei &lt;ioana.ciornei@nxp.com&gt;
Signed-off-by: Li Yang &lt;leoyang.li@nxp.com&gt;
</content>
</entry>
</feed>
