<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/pci.h, branch v2019.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/include/pci.h?h=v2019.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/include/pci.h?h=v2019.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-05-08T05:02:10Z</updated>
<entry>
<title>Revert "pci: Scale MAX_PCI_REGIONS based on CONFIG_NR_DRAM_BANKS"</title>
<updated>2019-05-08T05:02:10Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2019-05-08T03:41:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=62c72995e3cbb2aa356da7dd403d52de47a11072'/>
<id>urn:sha1:62c72995e3cbb2aa356da7dd403d52de47a11072</id>
<content type='text'>
This reverts commit aec4298ccb337106fd0115b91d846a022fdf301d.

Unfortunately this has a dramatic impact on the pre-relocation memory
used on x86 platforms (increasing it by 2KB) since it increases the
overhead for each PCI device from 220 bytes to 412 bytes.

The offending line is in UCLASS_DRIVER(pci):

	.per_device_auto_alloc_size = sizeof(struct pci_controller),

This means that all PCI devices have the controller struct associated
with them. The solution is to move the regions[] member out of the array,
makes its size dynamic, or split UCLASS_PCI into controllers and
non-controllers, as the comment suggests.

For now, revert the commit to get things running again.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'pull-24apr19' of git://git.denx.de/u-boot-dm</title>
<updated>2019-04-24T16:27:29Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-04-24T16:27:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7d994067424776b6184872b82fcaf4c0b95528f9'/>
<id>urn:sha1:7d994067424776b6184872b82fcaf4c0b95528f9</id>
<content type='text'>
Various minor sandbox iumprovements
Fixes for tracing with sandbox
Refactoring for boot_get_fdt()
</content>
</entry>
<entry>
<title>pci: pci.h: add missing maskbit</title>
<updated>2019-04-24T02:26:43Z</updated>
<author>
<name>Ramon Fried</name>
<email>ramon.fried@gmail.com</email>
</author>
<published>2019-04-06T02:12:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8781d04f422e110fef864dd849085054fe5b0e65'/>
<id>urn:sha1:8781d04f422e110fef864dd849085054fe5b0e65</id>
<content type='text'>
PCI_MSI_FLAGS_MASKBIT was missing from include file,
add it.

Signed-off-by: Ramon Fried &lt;ramon.fried@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>pci: Scale MAX_PCI_REGIONS based on CONFIG_NR_DRAM_BANKS</title>
<updated>2019-04-23T21:57:23Z</updated>
<author>
<name>Thierry Reding</name>
<email>treding@nvidia.com</email>
</author>
<published>2019-03-15T15:32:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aec4298ccb337106fd0115b91d846a022fdf301d'/>
<id>urn:sha1:aec4298ccb337106fd0115b91d846a022fdf301d</id>
<content type='text'>
If a platform defines CONFIG_NR_DRAM_BANKS, each DRAM bank will be added
as a PCI region. The number of MAX_PCI_REGIONS therefore needs to scale
with the number of DRAM banks, otherwise we will end up with too little
space in the hose-&gt;regions array to store all system memory regions.

Signed-off-by: Thierry Reding &lt;treding@nvidia.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>pci: Add comment to mention difference in DEVFN usage in U-Boot vs Linux</title>
<updated>2019-03-22T16:15:20Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2019-02-11T07:43:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2253d648f11e844d2dcf572b3bb961e1a7a2b00b'/>
<id>urn:sha1:2253d648f11e844d2dcf572b3bb961e1a7a2b00b</id>
<content type='text'>
This patch adds a comment to the header with the PCI_foo macros related
to DEVFN to explain the difference in U-Boot vs Linux.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Simon Glass &lt;sjg@chromium.org&gt;
Cc: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>pci: Fix comment in struct pci_child_platdata</title>
<updated>2019-02-20T07:21:44Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2019-02-17T03:24:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7d38db55f70a30eaa64f91b35720abc5f595783f'/>
<id>urn:sha1:7d38db55f70a30eaa64f91b35720abc5f595783f</id>
<content type='text'>
This is platdata, not private data, so the comment is currently incorrect.
Fix it to avoid confusion.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>pci: Don't export pci_hose_config_device()</title>
<updated>2019-02-20T07:21:44Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2019-02-17T03:24:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=11503be4480d5091fb59c563a0c357b6967c24ba'/>
<id>urn:sha1:11503be4480d5091fb59c563a0c357b6967c24ba</id>
<content type='text'>
This function is not used outside this file so make it static.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>pci: Add pci_get_devfn() to extract devfn from the fdt_pci_addr</title>
<updated>2019-02-05T13:22:24Z</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2019-01-25T10:52:42Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b52142004fbdfd6db0091ba7ae33c91e3b459034'/>
<id>urn:sha1:b52142004fbdfd6db0091ba7ae33c91e3b459034</id>
<content type='text'>
This function will be used by the Marvell Armada XP/38x PCIe driver,
which is moved to DM right now. So let's extract the functionality
from pci_uclass_child_post_bind() to make it available.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: pci: Add APIs to find next capability and extended capability</title>
<updated>2018-11-14T17:16:28Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2018-10-15T09:21:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a8c5f8d3d02807f72d048950d72b0c73d55bd7fb'/>
<id>urn:sha1:a8c5f8d3d02807f72d048950d72b0c73d55bd7fb</id>
<content type='text'>
This introduces two new APIs dm_pci_find_next_capability() and
dm_pci_find_next_ext_capability() to get PCI capability address
and PCI express extended capability address for a given PCI device
starting from a given offset.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: pci: Add APIs to find capability and extended capability</title>
<updated>2018-08-08T11:49:31Z</updated>
<author>
<name>Bin Meng</name>
<email>bmeng.cn@gmail.com</email>
</author>
<published>2018-08-03T08:14:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dac01fd89d41d98cd4ce040a0d10eb67c523f63a'/>
<id>urn:sha1:dac01fd89d41d98cd4ce040a0d10eb67c523f63a</id>
<content type='text'>
This introduces two new APIs dm_pci_find_capability() and
dm_pci_find_ext_capability() to get PCI capability address and
PCI express extended capability address for a given PCI device.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
