<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/nvmem, branch v4.4.25</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.4.25</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.4.25'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2016-05-11T09:21:21Z</updated>
<entry>
<title>nvmem: mxs-ocotp: fix buffer overflow in read</title>
<updated>2016-05-11T09:21:21Z</updated>
<author>
<name>Stanislav Meduna</name>
<email>stano@meduna.org</email>
</author>
<published>2016-05-02T15:05:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6e9544fb236325423d5066ebdeed577fb92be315'/>
<id>urn:sha1:6e9544fb236325423d5066ebdeed577fb92be315</id>
<content type='text'>
commit d1306eb675ad7a9a760b6b8e8e189824b8db89e7 upstream.

This patch fixes the issue where the mxs_ocotp_read is reading
the ocotp in reg_size steps but decrements the remaining size
by 1. The number of iterations is thus four times higher,
overwriting the area behind the output buffer.

Fixes: c01e9a11ab6f ("nvmem: add driver for ocotp in i.MX23 and i.MX28")
Tested-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
Signed-off-by: Stanislav Meduna &lt;stano@meduna.org&gt;
Signed-off-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge 4.3-rc5 into char-misc next</title>
<updated>2015-10-12T17:29:36Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2015-10-12T17:29:36Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4970c0cb6aa8996e39b1626887f5fb67a49f5ad1'/>
<id>urn:sha1:4970c0cb6aa8996e39b1626887f5fb67a49f5ad1</id>
<content type='text'>
We want the fixes in here as well.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>nvmem: sunxi: Check for memory allocation failure</title>
<updated>2015-10-04T11:09:43Z</updated>
<author>
<name>Maxime Ripard</name>
<email>maxime.ripard@free-electrons.com</email>
</author>
<published>2015-09-30T12:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=fb727077b04f768d0c79d9aa29e958262a9e3d9e'/>
<id>urn:sha1:fb727077b04f768d0c79d9aa29e958262a9e3d9e</id>
<content type='text'>
The sunxi_sid driver doesn't check for kmalloc return status before
derefencing the returned pointer, which could lead to a NULL pointer
dereference if kmalloc failed. Check for its return code to make sure it
deosn't happen.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Maxime Ripard &lt;maxime.ripard@free-electrons.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>nvmem: core: Fix memory leak in nvmem_cell_write</title>
<updated>2015-10-04T11:09:43Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2015-09-30T12:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ace22170655f61d82fff95e57d673bf847a32a03'/>
<id>urn:sha1:ace22170655f61d82fff95e57d673bf847a32a03</id>
<content type='text'>
A tmp buffer is allocated if cell-&gt;bit_offset || cell-&gt;nbits.
So the tmp buffer needs to be freed at the same condition to avoid leak.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>nvmem: core: Handle shift bits in-place if cell-&gt;nbits is non-zero</title>
<updated>2015-10-04T11:09:43Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2015-09-30T12:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=cbf854ab36870b931aeba4edd954015b7c3005a2'/>
<id>urn:sha1:cbf854ab36870b931aeba4edd954015b7c3005a2</id>
<content type='text'>
It's pointless to test (cell-&gt;bit_offset || cell-&gt;bit_offset).
nvmem_shift_read_buffer_in_place() should be called when
(cell-&gt;bit_offset || cell-&gt;nbits).

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>nvmem: core: fix the out-of-range leak in read/write()</title>
<updated>2015-10-04T11:09:43Z</updated>
<author>
<name>ZhengShunQian</name>
<email>zhengsq@rock-chips.com</email>
</author>
<published>2015-09-30T12:33:56Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7c806883e143dc60439e6bdb3589700ebed1efaa'/>
<id>urn:sha1:7c806883e143dc60439e6bdb3589700ebed1efaa</id>
<content type='text'>
The position to read/write must be less than max
register size.

Signed-off-by: ZhengShunQian &lt;zhengsq@rock-chips.com&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>nvmem: rockchip_efuse_regmap_config can be static</title>
<updated>2015-10-04T11:08:14Z</updated>
<author>
<name>kbuild test robot</name>
<email>lkp@intel.com</email>
</author>
<published>2015-09-30T13:46:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7e532f7925f1758369c7963297baceac3cbaefc1'/>
<id>urn:sha1:7e532f7925f1758369c7963297baceac3cbaefc1</id>
<content type='text'>
Signed-off-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>nvmem: Adding bindings for rockchip-efuse</title>
<updated>2015-10-04T11:08:14Z</updated>
<author>
<name>ZhengShunQian</name>
<email>zhengsq@rock-chips.com</email>
</author>
<published>2015-09-30T12:56:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=03a69568e07e1150e1cfdb862892798f88dafd17'/>
<id>urn:sha1:03a69568e07e1150e1cfdb862892798f88dafd17</id>
<content type='text'>
There are some SoC specified values store in eFuse,
such as the cpu_leakage and cpu_version,
this driver can expose these values to /sys base on nvmem.

Signed-off-by: Caesar Wang &lt;caesar.wang@rock-chips.com&gt;
Signed-off-by: ZhengShunQian &lt;zhengsq@rock-chips.com&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>nvmem: add driver for ocotp in i.MX23 and i.MX28</title>
<updated>2015-10-04T11:06:13Z</updated>
<author>
<name>Stefan Wahren</name>
<email>stefan.wahren@i2se.com</email>
</author>
<published>2015-09-30T12:56:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c01e9a11ab6f3096a54574c3224d8732a374f135'/>
<id>urn:sha1:c01e9a11ab6f3096a54574c3224d8732a374f135</id>
<content type='text'>
This patch brings read-only support for the On-Chip OTP cells
in the i.MX23 and i.MX28 processor. The driver implements the
new NVMEM provider API.

Signed-off-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
Reviewed-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>nvmem: imx-ocotp: Add i.MX6 OCOTP driver</title>
<updated>2015-10-04T11:06:13Z</updated>
<author>
<name>Philipp Zabel</name>
<email>p.zabel@pengutronix.de</email>
</author>
<published>2015-09-30T12:55:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3edba6b47e4265948db3a77a0137157c033d69e2'/>
<id>urn:sha1:3edba6b47e4265948db3a77a0137157c033d69e2</id>
<content type='text'>
This driver handles the i.MX On-Chip OTP Controller found in
i.MX6Q/D, i.MX6S/DL, i.MX6SL, and i.MX6SX SoCs. Currently it
just returns the values stored in the shadow registers.

Signed-off-by: Philipp Zabel &lt;p.zabel@pengutronix.de&gt;
Acked-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Srinivas Kandagatla &lt;srinivas.kandagatla@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
