<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/pci/rom.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>2015-05-09T22:16:13Z</updated>
<entry>
<title>PCI: Fix infinite loop with ROM image of size 0</title>
<updated>2015-05-09T22:16:13Z</updated>
<author>
<name>Michel Dänzer</name>
</author>
<published>2015-01-19T08:53:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f50587eec5cd5e7d78744f54364a14bb6b55adcc'/>
<id>urn:sha1:f50587eec5cd5e7d78744f54364a14bb6b55adcc</id>
<content type='text'>
commit 16b036af31e1456cb69243a5a0c9ef801ecd1f17 upstream.

If the image size would ever read as 0, pci_get_rom_size() could keep
processing the same image over and over again.  Exit the loop if we ever
read a length of zero.

This fixes a soft lockup on boot when the radeon driver calls
pci_get_rom_size() on an AMD Radeon R7 250X PCIe discrete graphics card.

[bhelgaas: changelog, reference]
Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1386973
Reported-by: Federico &lt;federicotg@gmail.com&gt;
Signed-off-by: Michel Dänzer &lt;michel.daenzer@amd.com&gt;
Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>pci: Fix files needing export.h for EXPORT_SYMBOL/THIS_MODULE</title>
<updated>2011-10-31T23:31:22Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-05-27T13:37:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=363c75db1d7bbda0aa90e680565f2673bab92ee4'/>
<id>urn:sha1:363c75db1d7bbda0aa90e680565f2673bab92ee4</id>
<content type='text'>
They were implicitly getting it from device.h --&gt; module.h but
we want to clean that up.  So add the minimal header for these
macros.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>PCI: fix rom.c kernel-doc warning</title>
<updated>2009-02-13T20:01:56Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2009-02-09T17:31:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4cc59c721cba27a4644e29103afac0f91af8da3c'/>
<id>urn:sha1:4cc59c721cba27a4644e29103afac0f91af8da3c</id>
<content type='text'>
Fix PCI kernel-doc warning:

Warning(linux-2.6.29-rc4-git1/drivers/pci/rom.c:67): No description found for parameter 'pdev'

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
cc: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>PCI: return error on failure to read PCI ROMs</title>
<updated>2009-02-05T00:58:41Z</updated>
<author>
<name>Timothy S. Nelson</name>
</author>
<published>2009-01-29T19:12:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97c44836cdec1ea713a15d84098a1a908157e68f'/>
<id>urn:sha1:97c44836cdec1ea713a15d84098a1a908157e68f</id>
<content type='text'>
This patch makes the ROM reading code return an error to user space if
the size of the ROM read is equal to 0.

The patch also emits a warnings if the contents of the ROM are invalid,
and documents the effects of the "enable" file on ROM reading.

Signed-off-by: Timothy S. Nelson &lt;wayland@wayland.id.au&gt;
Acked-by: Alex Villacis-Lasso &lt;a_villacis@palosanto.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>PCI: remove excess kernel-doc notation</title>
<updated>2008-11-03T22:32:46Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2008-10-30T05:35:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f5dafca52d366ef8c6c86cbdfecc71a9a78b63a6'/>
<id>urn:sha1:f5dafca52d366ef8c6c86cbdfecc71a9a78b63a6</id>
<content type='text'>
Fix pci/rom.c kernel-doc function notation:

Warning(drivers/pci/rom.c:110): Excess function parameter or struct member 'return' description in 'pci_map_rom'
Warning(drivers/pci/rom.c:177): Excess function parameter or struct member 'return' description in 'pci_map_rom_copy'

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
</content>
</entry>
<entry>
<title>Export the ROM enable/disable helpers</title>
<updated>2008-09-27T00:59:05Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-09-23T16:25:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e416de5e61e1a9b7f987804cbb67230b5f5293c6'/>
<id>urn:sha1:e416de5e61e1a9b7f987804cbb67230b5f5293c6</id>
<content type='text'>
.... so that they can be used by MTD map drivers. Lets us close #9420

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: David Woodhouse &lt;David.Woodhouse@intel.com&gt;
</content>
</entry>
<entry>
<title>docbook: fix kernel-api source files</title>
<updated>2008-03-03T18:47:14Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2008-03-01T06:03:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0643245f595dc175c14245fa1e1e9efda3e12f2a'/>
<id>urn:sha1:0643245f595dc175c14245fa1e1e9efda3e12f2a</id>
<content type='text'>
Fix docbook problems in kernel-api.tmpl.
These cause the generated docbook to be incorrect.

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>PCI: drivers/pci/rom.c: #if 0 two functions</title>
<updated>2008-02-01T23:04:18Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2007-10-27T01:06:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b09549ef9b66b9547520572bedd7af3c1f0747d7'/>
<id>urn:sha1:b09549ef9b66b9547520572bedd7af3c1f0747d7</id>
<content type='text'>
This patch #if 0's the following unused global functions:
- rom.c: pci_map_rom_copy()
- rom.c: pci_remove_rom()

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[IA64] SN: Correct ROM resource length for BIOS copy</title>
<updated>2007-07-09T20:37:18Z</updated>
<author>
<name>John Keller</name>
</author>
<published>2007-07-09T18:42:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7ad2254fa7cc11aec3faeba076c1243f6adeb47'/>
<id>urn:sha1:d7ad2254fa7cc11aec3faeba076c1243f6adeb47</id>
<content type='text'>
On SN systems, when setting the IORESOURCE_ROM_BIOS_COPY resource flag,
the resource length should be set to the actual size of the ROM image
so that a call to pci_map_rom() returns the correct size.

Signed-off-by: John Keller &lt;jpk@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Tony Luck &lt;tony.luck@intel.com&gt;
</content>
</entry>
<entry>
<title>Altix: Initial ACPI support - ROM shadowing.</title>
<updated>2006-12-01T22:36:58Z</updated>
<author>
<name>John Keller</name>
</author>
<published>2006-10-04T21:49:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a2302c68d923537436b1114aa207787c1a31bd50'/>
<id>urn:sha1:a2302c68d923537436b1114aa207787c1a31bd50</id>
<content type='text'>
Support a shadowed ROM when running with an ACPI capable PROM.

Define a new dev.resource flag IORESOURCE_ROM_BIOS_COPY to
describe the case of a BIOS shadowed ROM, which can then
be used to avoid pci_map_rom() making an unneeded call to
pci_enable_rom().


Signed-off-by: John Keller &lt;jpk@sgi.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
</feed>
