<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/dma/ste_dma40.c, branch linux-3.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-03-07T06:06:29Z</updated>
<entry>
<title>dma: ste_dma40: don't dereference free:d descriptor</title>
<updated>2014-03-07T06:06:29Z</updated>
<author>
<name>Linus Walleij</name>
</author>
<published>2014-02-13T09:39:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa9d53380e63a462329b54bfb00c9f9d5288cf46'/>
<id>urn:sha1:aa9d53380e63a462329b54bfb00c9f9d5288cf46</id>
<content type='text'>
commit e9baa9d9d520fb0e24cca671e430689de2d4a4b2 upstream.

It appears that in the DMA40 driver the DMA tasklet will very
often dereference memory for a descriptor just free:d from the
DMA40 slab. Nothing happens because no other part of the driver
has yet had a chance to claim this memory, but it's really
nasty to dereference free:d memory, so let's check the flag
before the descriptor is free and store it in a bool variable.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>dmaengine: ste: use DMA_COMPLETE for dma completion status</title>
<updated>2013-10-25T05:46:15Z</updated>
<author>
<name>Vinod Koul</name>
</author>
<published>2013-10-16T15:34:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2360adb4a75a0cd05a7481219b2d7318a062ce7'/>
<id>urn:sha1:e2360adb4a75a0cd05a7481219b2d7318a062ce7</id>
<content type='text'>
Acked-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>DMA: ste_dma40: use a power of 2 check</title>
<updated>2013-10-07T02:11:39Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
</author>
<published>2013-09-18T07:33:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c95905a6a36858122afe1c334eba64499b39d7a2'/>
<id>urn:sha1:c95905a6a36858122afe1c334eba64499b39d7a2</id>
<content type='text'>
dst_addr_width and src_addr_width should be a power of 2. Currently the
driver checks, that they both lie between 1 and 8 and that they are equal
to 1 or even. This however leaves an invalid value of 6 uncaught. Use an
explicit power of 2 check instead.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski+renesas@gmail.com&gt;
[typo fix on changelog]
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dma: ste_dma40: Fix potential null pointer dereference</title>
<updated>2013-09-02T12:06:00Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2013-09-02T08:14:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ec7e2e7b5f41a09264abc6dbcfd3fdc9a1edfd5'/>
<id>urn:sha1:2ec7e2e7b5f41a09264abc6dbcfd3fdc9a1edfd5</id>
<content type='text'>
kcalloc can return NULL. Check the pointer before dereferencing.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dma: ste_dma40: Remove duplicate const</title>
<updated>2013-09-02T12:05:59Z</updated>
<author>
<name>Sachin Kamat</name>
</author>
<published>2013-09-02T08:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cbbe13ea097e635ddebcc5937c5cdce16f351447'/>
<id>urn:sha1:cbbe13ea097e635ddebcc5937c5cdce16f351447</id>
<content type='text'>
'const' was added twice.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dmaengine: ste_dma40: off by one in d40_of_probe()</title>
<updated>2013-08-25T10:53:32Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2013-08-23T09:23:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5be2190af4b03be5959684f7336c8da62606809e'/>
<id>urn:sha1:5be2190af4b03be5959684f7336c8da62606809e</id>
<content type='text'>
If "num_disabled" is equal to STEDMA40_MAX_PHYS (32) then we would write
one space beyond the end of the pdata-&gt;disable_channels[] array.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dma: ste_dma: Fix warning when CONFIG_ARM_LPAE=y</title>
<updated>2013-08-25T10:47:27Z</updated>
<author>
<name>Fabio Estevam</name>
</author>
<published>2013-08-22T00:34:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a919d5b43e459517492eb0f664b120877dfdd79'/>
<id>urn:sha1:3a919d5b43e459517492eb0f664b120877dfdd79</id>
<content type='text'>
When CONFIG_ARM_LPAE=y the following build warning are generated:

drivers/dma/ste_dma40.c:3228:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' [-Wformat]
drivers/dma/ste_dma40.c:3582:3: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' [-Wformat]
drivers/dma/ste_dma40.c:3582:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t' [-Wformat]
drivers/dma/ste_dma40.c:3593:5: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t' [-Wformat]

According to Documentation/printk-formats.txt '%pa' can be used to properly
print 'resource_size_t'.

Also, for printing memory region the '%pr' is more convenient.

Reported-by: Kevin Hilman &lt;khilman@linaro.org&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Acked-by: Kevin Hilman &lt;khilman@linaro.org&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dma: use dev_get_platdata()</title>
<updated>2013-08-13T11:26:41Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2013-07-30T08:09:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4adcc0160404c3237fe6ffa09dd2dd039dd3975'/>
<id>urn:sha1:d4adcc0160404c3237fe6ffa09dd2dd039dd3975</id>
<content type='text'>
Use the wrapper function for retrieving the platform data instead of
accessing dev-&gt;platform_data directly.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'ux500-dma40-for-arm-soc-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/drivers</title>
<updated>2013-06-25T18:20:15Z</updated>
<author>
<name>Olof Johansson</name>
</author>
<published>2013-06-25T18:20:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5c913a9a9772f4b434aaea7328836419287b5d1c'/>
<id>urn:sha1:5c913a9a9772f4b434aaea7328836419287b5d1c</id>
<content type='text'>
From Linus Walleij:
DMA40 fixes for earlier submitted driver patches:
- Fix various error path and sparse bugs in the DMA40 driver
- Fix various compile errors in the ux500 crypto driver
  (dependent on the DMA40 changes).

* tag 'ux500-dma40-for-arm-soc-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
  crypto: ux500: use dmaengine_submit API
  crypto: ux500: use dmaengine_prep_slave_sg API
  crypto: ux500: use dmaengine_device_control API
  crypto: ux500/crypt: add missing __iomem qualifiers
  crypto: ux500/hash: add missing static qualifiers
  crypto: ux500/hash: use readl on iomem addresses
  dmaengine: ste_dma40: Declare memcpy config as static
  dmaengine: ste_dma40: fix error return code in d40_probe()

Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
</content>
</entry>
<entry>
<title>dmaengine: ste_dma40: Declare memcpy config as static</title>
<updated>2013-06-24T11:48:39Z</updated>
<author>
<name>Fabio Baltieri</name>
</author>
<published>2013-06-20T09:17:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4a1ccdf27d140394250ddeeb274deeddc9a9b2e'/>
<id>urn:sha1:b4a1ccdf27d140394250ddeeb274deeddc9a9b2e</id>
<content type='text'>
Fix sparse warnings:

drivers/dma/ste_dma40.c:81:26: warning: symbol 'dma40_memcpy_conf_phy' was not declared. Should it be static?
drivers/dma/ste_dma40.c:95:26: warning: symbol 'dma40_memcpy_conf_log' was not declared. Should it be static?

Signed-off-by: Fabio Baltieri &lt;fabio.baltieri@linaro.org&gt;
Acked-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
</feed>
