<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/mtd/chips, branch v3.0.86</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/mtd/chips?h=v3.0.86</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/mtd/chips?h=v3.0.86'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-05-25T01:11:13Z</updated>
<entry>
<title>mtd: remove duplicate assignment of chip-&gt;state</title>
<updated>2011-05-25T01:11:13Z</updated>
<author>
<name>Tadashi Abe</name>
<email>tabe@mvista.com</email>
</author>
<published>2011-05-19T07:17:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5c8d2607756a63ddf5b2f2dd368851b8febe4e72'/>
<id>urn:sha1:5c8d2607756a63ddf5b2f2dd368851b8febe4e72</id>
<content type='text'>
This is a trivial patch which removes unnecessary assignment of chip-&gt;state
in put_chip(). It's duplicated.

Signed-off-by: Tadashi Abe &lt;tabe@mvista.com&gt;
Acked-by: Joakim Tjernlund &lt;joakim.tjernlund@transmode.se&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: fix hang-up in cfi erase and read contention</title>
<updated>2011-05-25T01:11:11Z</updated>
<author>
<name>Tadashi Abe</name>
<email>tabe@mvista.com</email>
</author>
<published>2011-05-19T06:58:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=100f2341e305f98de3aa12fb472771ab029cbda7'/>
<id>urn:sha1:100f2341e305f98de3aa12fb472771ab029cbda7</id>
<content type='text'>
cfi erase command hangs up when erase and read contention occurs.
If read runs at the same address as erase operation, read issues
Erase-Suspend via get_chip() and the erase goes into sleep in wait queue.
But in this case, read operation exits by time-out without waking it up.

I think the other variants (0001, 0020 and lpddr) have the same problem too.
Tested and verified the patch only on CFI-0002 flash, though.

Signed-off-by: Tadashi Abe &lt;tabe@mvista.com&gt;
Acked-by: Joakim Tjernlund &lt;joakim.tjernlund@transmode.se&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: cmdset_0002: add CFI 1.5 support for S29GL-S</title>
<updated>2011-05-25T00:51:35Z</updated>
<author>
<name>Gernot Hoyler</name>
<email>Gernot.Hoyler@spansion.com</email>
</author>
<published>2011-04-11T13:53:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c9ddab25d1b62baead4b0c5de562f1fce026dcfd'/>
<id>urn:sha1:c9ddab25d1b62baead4b0c5de562f1fce026dcfd</id>
<content type='text'>
This patch adds CFI 1.5 support for the new Spansion S29GL-S device family.
For details, see the data sheet on the Spansion web site:
http://www.spansion.com/Support/Datasheets/S29GL_128S_01GS_00_02_e.pdf

Signed-off-by: Gernot Hoyler &lt;Gernot.Hoyler@spansion.com&gt;
Acked-by: Guillaume LECERF &lt;glecerf@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>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1:25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>mtd: cfi: add support for AMIC flashes (e.g. A29L160AT)</title>
<updated>2011-03-11T14:27:01Z</updated>
<author>
<name>Steffen Sledz</name>
<email>sledz@dresearch.de</email>
</author>
<published>2011-03-10T08:05:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1065cda8a1a57d0d3bfccdce1a655a84439d24e0'/>
<id>urn:sha1:1065cda8a1a57d0d3bfccdce1a655a84439d24e0</id>
<content type='text'>
Signed-off-by: Steffen Sledz &lt;sledz@dresearch.de&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>mtd: cfi: fix writebufsize initialization</title>
<updated>2011-03-11T14:22:46Z</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2011-02-10T15:01:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=13ce77f46c79a3839e4c2ff9722c9416c165f498'/>
<id>urn:sha1:13ce77f46c79a3839e4c2ff9722c9416c165f498</id>
<content type='text'>
When initializing mtd-&gt;writebufsize, we must take into account
possible flash chip interleaving. Wrong writebufsize initialization
caused UBIFS recovery issues resulting in unmountable UBIFS file
system on NOR flash partitions.

Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Acked-by: Guillaume LECERF &lt;glecerf@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>
</entry>
<entry>
<title>mtd: fix race in cfi_cmdset_0001 driver</title>
<updated>2011-03-11T12:09:07Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-02-07T16:07:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ecf3fde07c8dcb92a1bf3fbdfe70905d85cd00e1'/>
<id>urn:sha1:ecf3fde07c8dcb92a1bf3fbdfe70905d85cd00e1</id>
<content type='text'>
As inval_cache_and_wait_for_operation() drop and reclaim the lock
to invalidate the cache, some other thread may suspend the operation
before reaching the for(;;) loop. Therefore the loop must start with
checking the chip-&gt;state before reading status from the chip.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Acked-by: Michael Cashwell &lt;mboards@prograde.net&gt;
Acked-by: Stefan Bigler &lt;stefan.bigler@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;
Cc: stable@kernel.org
</content>
</entry>
<entry>
<title>mtd: jedec_probe: initialise make sector erase command variable</title>
<updated>2011-03-11T12:05:54Z</updated>
<author>
<name>Antony Pavlov</name>
<email>antony@niisi.msk.ru</email>
</author>
<published>2011-02-11T10:00:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ceabebb2bd2672f709e4454e16bc6042732e2dfe'/>
<id>urn:sha1:ceabebb2bd2672f709e4454e16bc6042732e2dfe</id>
<content type='text'>
In the commit 08968041bef437ec363623cd3218c2b083537ada
 (mtd: cfi_cmdset_0002: make sector erase command variable)
introdused a field sector_erase_cmd. In the same commit initialisation
of cfi-&gt;sector_erase_cmd made in cfi_chip_setup()
(file drivers/mtd/chips/cfi_probe.c), so the CFI chip has no problem:

...
        cfi-&gt;cfi_mode = CFI_MODE_CFI;
        cfi-&gt;sector_erase_cmd = CMD(0x30);
...

But for the JEDEC chips this initialisation is not carried out,
so the JEDEC chips have sector_erase_cmd == 0.

This patch adds the missing initialisation.

Signed-off-by: Antony Pavlov &lt;antony@niisi.msk.ru&gt;
Acked-by: Guillaume LECERF &lt;glecerf@gmail.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
CC: stable@kernel.org
</content>
</entry>
<entry>
<title>mtd: jedec_probe: Change variable name from cfi_p to cfi</title>
<updated>2011-03-11T12:05:24Z</updated>
<author>
<name>Antony Pavlov</name>
<email>antony@niisi.msk.ru</email>
</author>
<published>2011-02-11T10:00:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=efba2e313ea1b1bd69a7c4659263becf43bb1adc'/>
<id>urn:sha1:efba2e313ea1b1bd69a7c4659263becf43bb1adc</id>
<content type='text'>
In the following commit, we'll need to use the CMD() macro in order to
fix the initialisation of the sector_erase_cmd field. That requires the
local variable to be called 'cfi', so change it first in a simple patch.

Signed-off-by: Antony Pavlov &lt;antony@niisi.msk.ru&gt;
Acked-by: Guillaume LECERF &lt;glecerf@gmail.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
CC: stable@kernel.org
</content>
</entry>
<entry>
<title>mtd: cfi: add writebufsize initialization</title>
<updated>2011-01-06T15:35:53Z</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2010-12-16T22:42:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d261c72ae03066dc4798c085e904f7dc996a10fb'/>
<id>urn:sha1:d261c72ae03066dc4798c085e904f7dc996a10fb</id>
<content type='text'>
Initialize mtd-&gt;writebufsize to the value obtained
by CFI query command at probe time.

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>
</feed>
