From: York Sun <york.sun@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] pcie/layerscape: fix bug in bus number computation when setting msi-map
Date: Fri, 3 Jun 2016 22:05:40 -0700 [thread overview]
Message-ID: <575261A4.1030509@nxp.com> (raw)
In-Reply-To: <1463469520-705-1-git-send-email-bogdan.purcareata@nxp.com>
On 05/17/2016 03:52 AM, Bogdan Purcareata wrote:
> When multiple PCI cards are present in an ls2080a board, the second
> card does not get its msi-map set up properly due to a bug in computing
> the bus number.
>
> The bus number returned by PCI_BDF() is not the actual PCI bus
> number, but instead represents a global u-boot PCI bus number. A given
> bus number is relative to hose->first_busno, so that has to be subtracted
> from the PCI device id.
>
> Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
> Acked-by: Stuart Yoder <stuart.yoder@nxp.com>
> ---
> drivers/pci/pcie_layerscape.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
Applied to fsl-qoriq master branch. Awaiting upstream.
Thanks.
York
prev parent reply other threads:[~2016-06-04 5:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-17 7:18 [U-Boot] [PATCH] pcie/layerscape: fix bug in bus number computation when setting msi-map Bogdan Purcareata
2016-06-03 11:19 ` Bogdan Purcareata
2016-06-03 16:31 ` York Sun
2016-06-04 5:05 ` York Sun [this message]
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=575261A4.1030509@nxp.com \
--to=york.sun@nxp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox