<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mtd/mtdconcat.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-09-21T06:19:06Z</updated>
<entry>
<title>mtd: utilize `mtd_is_*()' functions</title>
<updated>2011-09-21T06:19:06Z</updated>
<author>
<name>Brian Norris</name>
</author>
<published>2011-09-21T01:34:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d57f40544a41fdfe90fd863b6865138c5a82f1cc'/>
<id>urn:sha1:d57f40544a41fdfe90fd863b6865138c5a82f1cc</id>
<content type='text'>
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: spelling fixes</title>
<updated>2011-09-11T12:02:16Z</updated>
<author>
<name>Brian Norris</name>
</author>
<published>2011-07-20T16:53:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92394b5c2be774425f255b5c7afbd8b19978fe12'/>
<id>urn:sha1:92394b5c2be774425f255b5c7afbd8b19978fe12</id>
<content type='text'>
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;artem.bityutskiy@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: mtdconcat: fix NAND OOB write</title>
<updated>2011-05-25T00:54:50Z</updated>
<author>
<name>Felix Radensky</name>
</author>
<published>2011-04-24T22:57:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=431e1ecabddcd7cbba237182ddf431771f98bb4c'/>
<id>urn:sha1:431e1ecabddcd7cbba237182ddf431771f98bb4c</id>
<content type='text'>
Currently mtdconcat is broken for NAND. An attemtpt to create
JFFS2 filesystem on concatenation of several NAND devices fails
with OOB write errors. This patch fixes that problem.

Signed-off-by: Felix Radensky &lt;felix@embedded-sol.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Cc: stable@kernel.org
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: adapt writebufsize calculation for concat</title>
<updated>2011-03-11T14:22:42Z</updated>
<author>
<name>Holger Brunck</name>
</author>
<published>2011-01-24T16:45:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=771df61949cf2d6ae9ff07e209c80693cdbc9302'/>
<id>urn:sha1:771df61949cf2d6ae9ff07e209c80693cdbc9302</id>
<content type='text'>
If different chips with different writebufsize are concatenated,
the writebufsize from the concat device has to be taken from
the device with the largest writebuffer. This writebufsize
is used later on in the UBI layer for the min I/O size.

Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: initialize writebufsize in the MTD object of a partition</title>
<updated>2011-01-06T15:35:58Z</updated>
<author>
<name>Anatolij Gustschin</name>
</author>
<published>2010-12-16T22:42:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7fa33ac0a7e24a1b8bd71be5c47a17423c62fbda'/>
<id>urn:sha1:7fa33ac0a7e24a1b8bd71be5c47a17423c62fbda</id>
<content type='text'>
Propagate the writebufsize to the partition's MTD object so
that UBI can set correct value for it's minimal I/O size
using the writebufsize field of MTD object of the partition.

By previous patches we added proper writebufsize field
initialization. Next patch can now change UBI to use
this field for setting the minimal I/O size.

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: Update copyright notices</title>
<updated>2010-08-08T19:58:20Z</updated>
<author>
<name>David Woodhouse</name>
</author>
<published>2010-08-08T19:58:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1452a3771c4eb85bd779790b040efdc36f4274e'/>
<id>urn:sha1:a1452a3771c4eb85bd779790b040efdc36f4274e</id>
<content type='text'>
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>mtd: mtdconcat: fix bug with uninitialized lock and unlock functions</title>
<updated>2010-08-02T08:04:20Z</updated>
<author>
<name>Martin Krause</name>
</author>
<published>2010-06-22T13:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1d0fe3cddf2306e3ac32569aa152f1909c9b46e'/>
<id>urn:sha1:e1d0fe3cddf2306e3ac32569aa152f1909c9b46e</id>
<content type='text'>
Test if a lock or unlock function is present (pointer not NULL) before
calling it, to prevent a kernel dump.

Artem: removed extra blank lines

Signed-off-by: Martin Krause &lt;martin.krause@tqs.de&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>drivers/mtd: Use kmemdup</title>
<updated>2010-05-15T22:07:01Z</updated>
<author>
<name>Julia Lawall</name>
</author>
<published>2010-05-15T21:23:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d80f2666b5373f195deae57c9f33a5abb8053d37'/>
<id>urn:sha1:d80f2666b5373f195deae57c9f33a5abb8053d37</id>
<content type='text'>
Use kmemdup when some other buffer is immediately copied into the
allocated region.

A simplified version of the semantic patch that makes this change is as
follows: (http://coccinelle.lip6.fr/)

// &lt;smpl&gt;
@@
expression from,to,size,flag;
statement S;
@@

-  to = \(kmalloc\|kzalloc\)(size,flag);
+  to = kmemdup(from,size,flag);
   if (to==NULL || ...) S
-  memcpy(to, from, size);
// &lt;/smpl&gt;

Signed-off-by: Julia Lawall &lt;julia@diku.dk&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: mtdconcat: prevent a read from eraseregions[-1]</title>
<updated>2009-09-19T18:18:46Z</updated>
<author>
<name>Roel Kluin</name>
</author>
<published>2009-09-18T19:51:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ebf2e93036907fe2a7ddab942aa63d35f97f3b2b'/>
<id>urn:sha1:ebf2e93036907fe2a7ddab942aa63d35f97f3b2b</id>
<content type='text'>
If the erase region was found in the first iteration we read from
eraseregions[-1]

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>NOMMU: Add support for direct mapping through mtdconcat if possible</title>
<updated>2009-03-24T09:01:08Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2009-02-12T10:40:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e232cfce35a20a8702d9ac7709d35030c1b3271'/>
<id>urn:sha1:6e232cfce35a20a8702d9ac7709d35030c1b3271</id>
<content type='text'>
Add support for direct mapping through mtdconcat, if possible, by attaching the
samebacking_dev_info structure to the master.

It has some restrictions:

 (1) It won't permit direct mapping of concatenated devices that have differing
     BDIs.

 (2) It doesn't support maps that span the 'gap' between devices, although it
     possibly could if the devices spanned across return compatible
     (ie. contiguous) addresses from their get_unmapped_area() ops.

Signed-off-by: Gavin Lambert &lt;gavinl@compacsort.com&gt;
Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
Tested-by: Bernd Schmidt &lt;bernd.schmidt@analog.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
</feed>
