<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/ubi/io.c, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-10-22T21:43:24Z</updated>
<entry>
<title>UBI: Validate data_size</title>
<updated>2015-10-22T21:43:24Z</updated>
<author>
<name>Richard Weinberger</name>
</author>
<published>2015-09-22T21:58:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=189c815c3535412f80f3cc628149aa8dda50b3d2'/>
<id>urn:sha1:189c815c3535412f80f3cc628149aa8dda50b3d2</id>
<content type='text'>
commit 281fda27673f833a01d516658a64d22a32c8e072 upstream.

Make sure that data_size is less than LEB size.
Otherwise a handcrafted UBI image is able to trigger
an out of bounds memory access in ubi_compare_lebs().

Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
Reviewed-by: David Gstir &lt;david@sigma-star.at&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>UBI: power cut emulation for testing</title>
<updated>2015-04-13T19:05:17Z</updated>
<author>
<name>david.oberhollenzer@sigma-star.at</name>
</author>
<published>2015-03-26T22:59:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=502690674281a047abd45f81e64c498bc23a8bb3'/>
<id>urn:sha1:502690674281a047abd45f81e64c498bc23a8bb3</id>
<content type='text'>
Emulate random power cuts by switching device to ro after a number of
writes to allow simple power cut testing with nand-sim.

Maximum and minimum number of successful writes before power cut and
what kind of writes (EC header, VID header or none) to interrupt
configurable via debugfs.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>UBI: extend UBI layer debug/messaging capabilities - cosmetics</title>
<updated>2015-01-28T15:09:09Z</updated>
<author>
<name>Tanya Brokhman</name>
</author>
<published>2014-11-09T11:06:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45fc5c81d03601da36e8217e9830d053ef2d7db6'/>
<id>urn:sha1:45fc5c81d03601da36e8217e9830d053ef2d7db6</id>
<content type='text'>
Some cosmetic fixes to the patch "UBI: Extend UBI layer debug/messaging
capabilities".

Signed-off-by: Tanya Brokhman &lt;tlinder@codeaurora.org&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: Extend UBI layer debug/messaging capabilities</title>
<updated>2014-11-07T10:08:51Z</updated>
<author>
<name>Tanya Brokhman</name>
</author>
<published>2014-10-20T16:57:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=326087033108e7806e24974f2c8271f95cddaf3a'/>
<id>urn:sha1:326087033108e7806e24974f2c8271f95cddaf3a</id>
<content type='text'>
If there is more then one UBI device mounted, there is no way to
distinguish between messages from different UBI devices.
Add device number to all ubi layer message types.

The R/O block driver messages were replaced by pr_* since
ubi_device structure is not used by it.

Amended a bit by Artem.

Signed-off-by: Tanya Brokhman &lt;tlinder@codeaurora.org&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: avoid program operation on NOR flash after erasure interrupted</title>
<updated>2014-01-09T16:25:38Z</updated>
<author>
<name>Qi Wang 王起 (qiwang)</name>
</author>
<published>2014-01-01T13:06:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c7ca5cc3624e05a5235f70039adce30725972d6'/>
<id>urn:sha1:2c7ca5cc3624e05a5235f70039adce30725972d6</id>
<content type='text'>
nor_erase_prepare() will be called before erase a NOR flash, it will program '0'
into a block to mark this block. But program data into a erasure interrupted block
can cause program timtout(several minutes at most) error, could impact other
operation on NOR flash. So UBIFS can read this block first to avoid unneeded
program operation.

This patch try to put read operation at head of write operation in
nor_erase_prepare(), read out the data.
If the data is already corrupt, then no need to program any data into this block,
just go to erase this block.

This patch is validated on Micron NOR flash, part number is：JS28F512M29EWHA

Signed-off-by: Qi Wang &lt;qiwang@micron.com&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: introduce helpers dbg_chk_{io, gen}</title>
<updated>2012-12-10T11:38:59Z</updated>
<author>
<name>Ezequiel Garcia</name>
</author>
<published>2012-11-28T12:18:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=64575574f26d7969713ede9bde750c979da4037e'/>
<id>urn:sha1:64575574f26d7969713ede9bde750c979da4037e</id>
<content type='text'>
With this patch code is a bit more readable and there's no
generated code or functionality impact.
Furthermore, this abstracts implementation details and
will allow to change ubi_debug_info in a less invasive way.

Signed-off-by: Ezequiel Garcia &lt;elezegarcia@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: print less</title>
<updated>2012-09-04T06:39:02Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-08-27T14:14:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=719bb84017fcfc949a77e150dd5b045e90a4ebc9'/>
<id>urn:sha1:719bb84017fcfc949a77e150dd5b045e90a4ebc9</id>
<content type='text'>
UBI currently prints a lot of information when it mounts a volume, which
bothers some people. Make it less chatty - print only important information
by default.

Get rid of 'dbg_msg()' macro completely.

Reported-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: comply with coding style</title>
<updated>2012-09-04T06:39:01Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-08-27T11:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=049333cecbde11988c49ad4d7861eefbc3534422'/>
<id>urn:sha1:049333cecbde11988c49ad4d7861eefbc3534422</id>
<content type='text'>
Join all the split printk lines in order to stop checkpatch complaining.

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: amend comments after all the renamings</title>
<updated>2012-05-20T17:26:04Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-17T13:12:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fbd0107f4d33be01c9fb2c630036bd66b7e3d4dc'/>
<id>urn:sha1:fbd0107f4d33be01c9fb2c630036bd66b7e3d4dc</id>
<content type='text'>
This patch amends commentaries in scan.[ch] to match the new logic. Reminder -
we did the restructuring to prepare the code for adding the fastmap. This patch
also renames a couple of functions - it was too difficult to separate out that
change and I decided that it is not too bad to have it in the same patch with
commentaries changes.

Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>UBI: rename few functions for consistency</title>
<updated>2012-05-20T17:26:01Z</updated>
<author>
<name>Artem Bityutskiy</name>
</author>
<published>2012-05-16T16:29:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97d6104bac24c30258748e200065559cd53b4b02'/>
<id>urn:sha1:97d6104bac24c30258748e200065559cd53b4b02</id>
<content type='text'>
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@linux.intel.com&gt;
</content>
</entry>
</feed>
