From: Vladimir Olovyannikov <vladimir.olovyannikov@broadcom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/3] Introduce APIs for multi PCIe host controller platforms
Date: Fri, 22 Nov 2019 14:23:20 -0800 [thread overview]
Message-ID: <20191122222323.28898-1-vladimir.olovyannikov@broadcom.com> (raw)
This patch set contains proposed API changes to the pci uclass for
multi PCIe host controller platforms.
1. Add changes to fix bus number of a host bridge
Differentiate bus numbers hierarchy for root bridges.
All bus numbers are device sequence numbers minus
root bridge sequence number.
This way, every root bridge and its downstream EPs bus
numbers start from 0.
Thus, root bridges are different hierarchy of bus numbers.
2. Get next device fail with driver probe fail
In Multi PCIe host controller platforms, if one PCIe host driver
probe fails for any reason, the next PCIe host controller device
pointer should be tried with its driver probe. Instead, currently
the code simply stops enumeration. Add the feature described above.
3. Add ability to parse dma-regions given in PCIe host controller's
DT node.
Srinath Mannam (3):
drivers: pci: Fix Host bridge bus number issue
drivers: core: uclass: Get next device fail with driver probe fail
drivers: pci: pci-uclass: Get PCI dma regions support
drivers/core/uclass.c | 2 +-
drivers/pci/pci-uclass.c | 49 +++++++++++++++++++++++++++++++++++++---
drivers/pci/pci_auto.c | 6 ++++-
include/pci.h | 2 ++
4 files changed, 54 insertions(+), 5 deletions(-)
--
2.17.1
next reply other threads:[~2019-11-22 22:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-22 22:23 Vladimir Olovyannikov [this message]
2019-11-22 22:23 ` [U-Boot] [PATCH 1/3] drivers: pci: Fix Host bridge bus number issue Vladimir Olovyannikov
2019-11-23 12:54 ` Bin Meng
2019-11-22 22:23 ` [U-Boot] [PATCH 2/3] drivers: core: uclass: Get next device fail with driver probe fail Vladimir Olovyannikov
2019-11-23 12:54 ` Bin Meng
2019-11-22 22:23 ` [U-Boot] [PATCH 3/3] drivers: pci: pci-uclass: Get PCI dma regions support Vladimir Olovyannikov
2019-11-23 12:54 ` Bin Meng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191122222323.28898-1-vladimir.olovyannikov@broadcom.com \
--to=vladimir.olovyannikov@broadcom.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.