<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/fmc, branch v3.12.10</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/fmc?h=v3.12.10</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/fmc?h=v3.12.10'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-08-12T22:45:40Z</updated>
<entry>
<title>FMC: Staticize local symbols</title>
<updated>2013-08-12T22:45:40Z</updated>
<author>
<name>Jingoo Han</name>
<email>jg1.han@samsung.com</email>
</author>
<published>2013-08-12T03:35:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3d04dd2f960aa01a09593576f4df56a052ef32a7'/>
<id>urn:sha1:3d04dd2f960aa01a09593576f4df56a052ef32a7</id>
<content type='text'>
This local symbol is used only in this file.
Fix the following sparse warnings:

drivers/fmc/fmc-write-eeprom.c:106:5: warning: symbol 'fwe_probe' was not declared. Should it be static?
drivers/fmc/fmc-write-eeprom.c:147:5: warning: symbol 'fwe_remove' was not declared. Should it be static?

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>FMC: fix locking in sample chardev driver</title>
<updated>2013-07-25T05:56:52Z</updated>
<author>
<name>Alessandro Rubini</name>
<email>rubini@gnudd.com</email>
</author>
<published>2013-07-16T10:58:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=783c2fb1b8ba2f057a26f881aa452d4aa8e4b3f4'/>
<id>urn:sha1:783c2fb1b8ba2f057a26f881aa452d4aa8e4b3f4</id>
<content type='text'>
The fmc-chardev module was over-locking, by calling misc
register/unregister while holding its spinlock.  This reported a
"scheduling while atomic" error.

Since the misc driver already serializes operations internally, this
commit downgrades the fmc-chardev lock to just cover its own list.

Reported-by: Sasha Levin &lt;sasha.levin@oracle.com&gt;
Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>FMC: fix error handling in probe() function</title>
<updated>2013-06-24T23:23:25Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-06-20T08:10:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4640a3f2bff64b808bdedadcddf882aa4606f374'/>
<id>urn:sha1:4640a3f2bff64b808bdedadcddf882aa4606f374</id>
<content type='text'>
The call to kzalloc() wasn't checked.
The dev_info() message dereferenced freed memory on error.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>fmc: avoid readl/writel namespace conflict</title>
<updated>2013-06-20T03:30:32Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2013-06-19T10:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c2955da0e101c3432ae21945e5d77786adf1f094'/>
<id>urn:sha1:c2955da0e101c3432ae21945e5d77786adf1f094</id>
<content type='text'>
The use of the 'readl' and 'writel' identifiers here causes build errors on
architectures where those are macros. This renames the fields to read32/write32
to avoid the problem.

Reported-by: kbuild test robot &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>FMC: NULL dereference on allocation failure</title>
<updated>2013-06-20T03:30:31Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-06-19T16:01:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e42d50baf43120a78985f13f6e9c8f92fae091c2'/>
<id>urn:sha1:e42d50baf43120a78985f13f6e9c8f92fae091c2</id>
<content type='text'>
If we don't allocate "arr" then the cleanup path will dereference it and
oops.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>FMC: add a char-device mezzanine driver</title>
<updated>2013-06-18T22:42:15Z</updated>
<author>
<name>Alessandro Rubini</name>
<email>rubini@gnudd.com</email>
</author>
<published>2013-06-18T21:48:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4debfe409b6e550032bfef9733e9f6f7c5613617'/>
<id>urn:sha1:4debfe409b6e550032bfef9733e9f6f7c5613617</id>
<content type='text'>
This driver exports the memory area associated with the mezzanine card
as a misc device, so users can access registers.

Signed-off-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Acked-by: Juan David Gonzalez Cobas &lt;dcobas@cern.ch&gt;
Acked-by: Emilio G. Cota &lt;cota@braap.org&gt;
Acked-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>FMC: add a driver to write mezzanine EEPROM</title>
<updated>2013-06-18T22:42:15Z</updated>
<author>
<name>Alessandro Rubini</name>
<email>rubini@gnudd.com</email>
</author>
<published>2013-06-18T21:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6007b1bd0f752a5c022f7944c65fb96c39d6db3d'/>
<id>urn:sha1:6007b1bd0f752a5c022f7944c65fb96c39d6db3d</id>
<content type='text'>
This driver allows to reprogram the EEPROM in a mezzanine, to store
its own identifiers during manufacturing or to save other useful data.

Signed-off-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Acked-by: Juan David Gonzalez Cobas &lt;dcobas@cern.ch&gt;
Acked-by: Emilio G. Cota &lt;cota@braap.org&gt;
Acked-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>FMC: add a software mezzanine driver</title>
<updated>2013-06-18T22:41:04Z</updated>
<author>
<name>Alessandro Rubini</name>
<email>rubini@gnudd.com</email>
</author>
<published>2013-06-18T21:47:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=056d83f3c30c398f14eb879f1d1707e3a7808f4a'/>
<id>urn:sha1:056d83f3c30c398f14eb879f1d1707e3a7808f4a</id>
<content type='text'>
This simple do-nothing mezzanine driver shows how to write a mezzanine
driver, that can also handle interrupts reported by the carrier.

Signed-off-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Acked-by: Juan David Gonzalez Cobas &lt;dcobas@cern.ch&gt;
Acked-by: Emilio G. Cota &lt;cota@braap.org&gt;
Acked-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>FMC: add a software carrier driver</title>
<updated>2013-06-18T22:41:04Z</updated>
<author>
<name>Alessandro Rubini</name>
<email>rubini@gnudd.com</email>
</author>
<published>2013-06-18T21:47:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6c62a895e572145f8aa24f2040d1bb8eff473313'/>
<id>urn:sha1:6c62a895e572145f8aa24f2040d1bb8eff473313</id>
<content type='text'>
This fake carrier is designed to help FMC users understand how a
carrier driver works, and to experiment the behaviour with EEPROM
reprogramming (with a mezzanine driver commited later). This carrier
can register up to 4 (fake) mezzanines.

We have real carriers (both on PCI-E and VME), but they are bigger
things and are not part of this submission.

Signed-off-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Acked-by: Juan David Gonzalez Cobas &lt;dcobas@cern.ch&gt;
Acked-by: Emilio G. Cota &lt;cota@braap.org&gt;
Acked-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>FMC: add core bus driver</title>
<updated>2013-06-18T22:36:56Z</updated>
<author>
<name>Alessandro Rubini</name>
<email>rubini@gnudd.com</email>
</author>
<published>2013-06-18T21:47:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=77864f2e0a824a92bd93b4c9ad22c31d28ff55a6'/>
<id>urn:sha1:77864f2e0a824a92bd93b4c9ad22c31d28ff55a6</id>
<content type='text'>
This module offers registration services for both carriers
(i.e. devices) and mezzanines (i.e. drivers). The matching for devices
and drivers is performed according to the IPMI standard for FRU
devices (Field Replaceable Units).

The code includes support for parsing an SDB tree if present in the FPGA,
and dumping it for diagnostics. SDB is not mandatory.

Files in this commit correspond to commit ab23167f in the master branch
of the project hosted on ohwr.org.

Signed-off-by: Alessandro Rubini &lt;rubini@gnudd.com&gt;
Acked-by: Juan David Gonzalez Cobas &lt;dcobas@cern.ch&gt;
Acked-by: Emilio G. Cota &lt;cota@braap.org&gt;
Acked-by: Samuel Iglesias Gonsalvez &lt;siglesias@igalia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
