<feed xmlns='http://www.w3.org/2005/Atom'>
<title>litmus-rt.git/drivers/mtd, branch wip-default-clustering</title>
<subtitle>The LITMUS^RT kernel.</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/'/>
<entry>
<title>mxc_nand: do not depend on disabling the irq in the interrupt handler</title>
<updated>2010-10-18T20:09:05+00:00</updated>
<author>
<name>Sascha Hauer</name>
<email>s.hauer@pengutronix.de</email>
</author>
<published>2010-10-18T08:16:26+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=63f1474c69c061f923068a25f136dca0c49cd478'/>
<id>63f1474c69c061f923068a25f136dca0c49cd478</id>
<content type='text'>
This patch reverts the driver to enabling/disabling the NFC interrupt
mask rather than enabling/disabling the system interrupt.  This cleans
up the driver so that it doesn't rely on interrupts being disabled
within the interrupt handler.

For i.MX21 we keep the current behaviour, that is calling
enable_irq/disable_irq_nosync to enable/disable interrupts.  This patch
is based on earlier work by John Ogness.

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Acked-by: John Ogness &lt;john.ogness@linutronix.de&gt;
Tested-by: John Ogness &lt;john.ogness@linutronix.de&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch reverts the driver to enabling/disabling the NFC interrupt
mask rather than enabling/disabling the system interrupt.  This cleans
up the driver so that it doesn't rely on interrupts being disabled
within the interrupt handler.

For i.MX21 we keep the current behaviour, that is calling
enable_irq/disable_irq_nosync to enable/disable interrupts.  This patch
is based on earlier work by John Ogness.

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Acked-by: John Ogness &lt;john.ogness@linutronix.de&gt;
Tested-by: John Ogness &lt;john.ogness@linutronix.de&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix OMAP2 MTD build failure</title>
<updated>2010-09-29T20:17:56+00:00</updated>
<author>
<name>Daniel J Blueman</name>
<email>daniel.blueman@gmail.com</email>
</author>
<published>2010-09-29T20:01:55+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=f12f662f29d5801e598c6bb4a71e54b2de218f72'/>
<id>f12f662f29d5801e598c6bb4a71e54b2de218f72</id>
<content type='text'>
Fix build failure from recent interface change and merge.

Tested on OMAP3430.

Signed-off-by: Daniel J Blueman &lt;daniel.blueman@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix build failure from recent interface change and merge.

Tested on OMAP3430.

Signed-off-by: Daniel J Blueman &lt;daniel.blueman@gmail.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge git://git.infradead.org/mtd-2.6</title>
<updated>2010-09-15T00:05:39+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2010-09-15T00:05:39+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=65e0b598bdb3fe1122ab9a9708fc785e7ac41671'/>
<id>65e0b598bdb3fe1122ab9a9708fc785e7ac41671</id>
<content type='text'>
* git://git.infradead.org/mtd-2.6:
  mtd: pxa3xx: fix build error when CONFIG_MTD_PARTITIONS is not defined
  mtd: mxc_nand: configure pages per block for v2 controller
  mtd: OneNAND: Fix loop hang when DMA error at Samsung SoCs
  mtd: OneNAND: Fix 2KiB pagesize handling at Samsung SoCs
  mtd: Blackfin NFC: fix invalid free in remove()
  mtd: Blackfin NFC: fix build error after nand_scan_ident() change
  mxc_nand: Do not do byte accesses to the NFC buffer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* git://git.infradead.org/mtd-2.6:
  mtd: pxa3xx: fix build error when CONFIG_MTD_PARTITIONS is not defined
  mtd: mxc_nand: configure pages per block for v2 controller
  mtd: OneNAND: Fix loop hang when DMA error at Samsung SoCs
  mtd: OneNAND: Fix 2KiB pagesize handling at Samsung SoCs
  mtd: Blackfin NFC: fix invalid free in remove()
  mtd: Blackfin NFC: fix build error after nand_scan_ident() change
  mxc_nand: Do not do byte accesses to the NFC buffer.
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: pxa3xx: fix build error when CONFIG_MTD_PARTITIONS is not defined</title>
<updated>2010-09-13T07:50:42+00:00</updated>
<author>
<name>Mark F. Brown</name>
<email>mark.brown314@gmail.com</email>
</author>
<published>2010-08-26T08:56:51+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=99d389640b58052884fb231bce9dbffb4f595aa4'/>
<id>99d389640b58052884fb231bce9dbffb4f595aa4</id>
<content type='text'>
Signed-off-by: Mark F. Brown &lt;mark.brown314@gmail.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mark F. Brown &lt;mark.brown314@gmail.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: mxc_nand: configure pages per block for v2 controller</title>
<updated>2010-09-13T07:50:34+00:00</updated>
<author>
<name>Sascha Hauer</name>
<email>s.hauer@pengutronix.de</email>
</author>
<published>2010-08-09T13:04:19+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=b8db2f51dcccbaf4d23ed44cd0c64856c58a16c0'/>
<id>b8db2f51dcccbaf4d23ed44cd0c64856c58a16c0</id>
<content type='text'>
This patch initializes the pages per block field in CONFIG1 for
v2 controllers. It also sets the FP_INT field. This is the last
field not correctly initialized, so we can switch from
read/modify/write the CONFIG1 reg to just write the correct
value.

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Acked-by: John Ogness &lt;john.ogness@linutronix.de&gt;
Tested-by: John Ogness &lt;john.ogness@linutronix.de&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch initializes the pages per block field in CONFIG1 for
v2 controllers. It also sets the FP_INT field. This is the last
field not correctly initialized, so we can switch from
read/modify/write the CONFIG1 reg to just write the correct
value.

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Acked-by: John Ogness &lt;john.ogness@linutronix.de&gt;
Tested-by: John Ogness &lt;john.ogness@linutronix.de&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: OneNAND: Fix loop hang when DMA error at Samsung SoCs</title>
<updated>2010-09-13T07:49:45+00:00</updated>
<author>
<name>Kyungmin Park</name>
<email>kyungmin.park@samsung.com</email>
</author>
<published>2010-08-27T02:55:37+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=53d1e137d5ddd8a1c5ec54c5375cb2832e1cbcd1'/>
<id>53d1e137d5ddd8a1c5ec54c5375cb2832e1cbcd1</id>
<content type='text'>
When DMA error occurs. it's loop hang since it can't exit the loop.
and it's the right DMA handling code as Spec.

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When DMA error occurs. it's loop hang since it can't exit the loop.
and it's the right DMA handling code as Spec.

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: OneNAND: Fix 2KiB pagesize handling at Samsung SoCs</title>
<updated>2010-09-13T07:49:18+00:00</updated>
<author>
<name>Kyungmin Park</name>
<email>kyungmin.park@samsung.com</email>
</author>
<published>2010-08-27T02:55:44+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=9aba97ad004ed0cde9747a9daf5b1484edb746cd'/>
<id>9aba97ad004ed0cde9747a9daf5b1484edb746cd</id>
<content type='text'>
Wrong assumption bufferram can be switched between BufferRAM0 and BufferRAM1

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wrong assumption bufferram can be switched between BufferRAM0 and BufferRAM1

Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: Blackfin NFC: fix invalid free in remove()</title>
<updated>2010-09-13T07:49:03+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-08-28T20:42:04+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=8b865d5efd9205b131dd9a43a6f450c05d38aaa1'/>
<id>8b865d5efd9205b131dd9a43a6f450c05d38aaa1</id>
<content type='text'>
Since info-&gt;mtd isn't dynamically allocated, we shouldn't attempt to
kfree() it.  Otherwise we get random fun corruption when unloading
the driver built as a module.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since info-&gt;mtd isn't dynamically allocated, we shouldn't attempt to
kfree() it.  Otherwise we get random fun corruption when unloading
the driver built as a module.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mtd: Blackfin NFC: fix build error after nand_scan_ident() change</title>
<updated>2010-09-13T07:48:50+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-08-28T05:45:00+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=eac15a429a27cb74115daaf4c1127c5e854d50e4'/>
<id>eac15a429a27cb74115daaf4c1127c5e854d50e4</id>
<content type='text'>
Seems some patches got out sync when being merged.  The Blackfin NFC
driver was updated to use nand_scan_ident(), but it missed the change
where nand_scan_ident() now takes 3 arguments.  So update this driver
to fix build failures.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems some patches got out sync when being merged.  The Blackfin NFC
driver was updated to use nand_scan_ident(), but it missed the change
where nand_scan_ident() now takes 3 arguments.  So update this driver
to fix build failures.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>UBI: do not oops when erroneous PEB is scheduled for scrubbing</title>
<updated>2010-08-30T10:32:31+00:00</updated>
<author>
<name>Artem Bityutskiy</name>
<email>Artem.Bityutskiy@nokia.com</email>
</author>
<published>2010-08-29T20:34:44+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/litmus-rt.git/commit/?id=d3f6e6c666c0f68991d785177c4c62fcd1d651f2'/>
<id>d3f6e6c666c0f68991d785177c4c62fcd1d651f2</id>
<content type='text'>
When an erroneous PEB is scheduling for scrubbing, we end up with the
following oops:

[&lt;c0162404&gt;] (prot_queue_del+0x0/0x50) from [&lt;c01635b4&gt;] (ubi_wl_scrub_peb+0xec/0x13c)
[&lt;c01634c8&gt;] (ubi_wl_scrub_peb+0x0/0x13c) from [&lt;c01603bc&gt;] (ubi_eba_read_leb+0x200/0x428)
[&lt;c01601bc&gt;] (ubi_eba_read_leb+0x0/0x428) from [&lt;c015e3c0&gt;] (ubi_leb_read+0xe8/0x138)
[&lt;c015e2d8&gt;] (ubi_leb_read+0x0/0x138) from [&lt;c00d6918&gt;] (ubifs_start_scan+0x7c/0xf4)
[&lt;c00d689c&gt;] (ubifs_start_scan+0x0/0xf4) from [&lt;c00e3650&gt;] (ubifs_recover_leb+0x3c/0x730)
[&lt;c00e3614&gt;] (ubifs_recover_leb+0x0/0x730) from [&lt;c00e444c&gt;] (ubifs_recover_log_leb+0xc8/0x2dc)
[&lt;c00e4384&gt;] (ubifs_recover_log_leb+0x0/0x2dc) from [&lt;c00d7c20&gt;] (ubifs_replay_journal+0xb90/0x13a4)
[&lt;c00d7090&gt;] (ubifs_replay_journal+0x0/0x13a4) from [&lt;c00cdd68&gt;] (ubifs_fill_super+0xb84/0x1054)
[&lt;c00cd1e4&gt;] (ubifs_fill_super+0x0/0x1054) from [&lt;c00ced04&gt;] (ubifs_get_sb+0xc4/0x2ac)
[&lt;c00cec40&gt;] (ubifs_get_sb+0x0/0x2ac) from [&lt;c007f04c&gt;] (vfs_kern_mount+0x58/0x94)
[&lt;c007eff4&gt;] (vfs_kern_mount+0x0/0x94) from [&lt;c007f0e8&gt;] (do_kern_mount+0x40/0xe8)
[&lt;c007f0a8&gt;] (do_kern_mount+0x0/0xe8) from [&lt;c0095628&gt;] (do_new_mount+0x68/0x8c)
[&lt;c00955c0&gt;] (do_new_mount+0x0/0x8c) from [&lt;c00957a8&gt;] (do_mount+0x15c/0x1b8)
[&lt;c009564c&gt;] (do_mount+0x0/0x1b8) from [&lt;c0095890&gt;] (sys_mount+0x8c/0xd4)
[&lt;c0095804&gt;] (sys_mount+0x0/0xd4) from [&lt;c0023c00&gt;] (ret_fast_syscall+0x0/0x2c)
Kernel panic - not syncing: Fatal exception

The problem is that 'ubi_wl_scrub_peb()' does not expect that PEBs may
be in the erroneous tree, which is a bug. This patch fixes the bug
and adds corresponding check to 'ubi_wl_scrub_peb()'. Now it will simply
ignore erroneous PEBs, instead of causing an oops.

Reported-by: Matthieu CASTET &lt;matthieu.castet@parrot.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When an erroneous PEB is scheduling for scrubbing, we end up with the
following oops:

[&lt;c0162404&gt;] (prot_queue_del+0x0/0x50) from [&lt;c01635b4&gt;] (ubi_wl_scrub_peb+0xec/0x13c)
[&lt;c01634c8&gt;] (ubi_wl_scrub_peb+0x0/0x13c) from [&lt;c01603bc&gt;] (ubi_eba_read_leb+0x200/0x428)
[&lt;c01601bc&gt;] (ubi_eba_read_leb+0x0/0x428) from [&lt;c015e3c0&gt;] (ubi_leb_read+0xe8/0x138)
[&lt;c015e2d8&gt;] (ubi_leb_read+0x0/0x138) from [&lt;c00d6918&gt;] (ubifs_start_scan+0x7c/0xf4)
[&lt;c00d689c&gt;] (ubifs_start_scan+0x0/0xf4) from [&lt;c00e3650&gt;] (ubifs_recover_leb+0x3c/0x730)
[&lt;c00e3614&gt;] (ubifs_recover_leb+0x0/0x730) from [&lt;c00e444c&gt;] (ubifs_recover_log_leb+0xc8/0x2dc)
[&lt;c00e4384&gt;] (ubifs_recover_log_leb+0x0/0x2dc) from [&lt;c00d7c20&gt;] (ubifs_replay_journal+0xb90/0x13a4)
[&lt;c00d7090&gt;] (ubifs_replay_journal+0x0/0x13a4) from [&lt;c00cdd68&gt;] (ubifs_fill_super+0xb84/0x1054)
[&lt;c00cd1e4&gt;] (ubifs_fill_super+0x0/0x1054) from [&lt;c00ced04&gt;] (ubifs_get_sb+0xc4/0x2ac)
[&lt;c00cec40&gt;] (ubifs_get_sb+0x0/0x2ac) from [&lt;c007f04c&gt;] (vfs_kern_mount+0x58/0x94)
[&lt;c007eff4&gt;] (vfs_kern_mount+0x0/0x94) from [&lt;c007f0e8&gt;] (do_kern_mount+0x40/0xe8)
[&lt;c007f0a8&gt;] (do_kern_mount+0x0/0xe8) from [&lt;c0095628&gt;] (do_new_mount+0x68/0x8c)
[&lt;c00955c0&gt;] (do_new_mount+0x0/0x8c) from [&lt;c00957a8&gt;] (do_mount+0x15c/0x1b8)
[&lt;c009564c&gt;] (do_mount+0x0/0x1b8) from [&lt;c0095890&gt;] (sys_mount+0x8c/0xd4)
[&lt;c0095804&gt;] (sys_mount+0x0/0xd4) from [&lt;c0023c00&gt;] (ret_fast_syscall+0x0/0x2c)
Kernel panic - not syncing: Fatal exception

The problem is that 'ubi_wl_scrub_peb()' does not expect that PEBs may
be in the erroneous tree, which is a bug. This patch fixes the bug
and adds corresponding check to 'ubi_wl_scrub_peb()'. Now it will simply
ignore erroneous PEBs, instead of causing an oops.

Reported-by: Matthieu CASTET &lt;matthieu.castet@parrot.com&gt;
Signed-off-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
