All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aaron Williams <Aaron.Williams@cavium.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Ordering PCI device probes
Date: Sat, 18 Aug 2018 17:05:14 -0700	[thread overview]
Message-ID: <1960735.NRycAWjXYn@flash> (raw)

Hi all,

I am trying to port our OcteonTX Linux NAND driver to U-Boot and am running 
into an issue with ordering. We have a bch engine which consists of a pf and a 
vf and uses SRIOV to activate the vf.

The problem is that the nand device is probed before the BCH engine is probed 
and the NAND driver depends on the BCH driver.

In Linux, this is handled by having the NAND driver probe function return 
EPROBE_DEFER which causes the probe function to be called later after all of 
the other probe functions have been called. U-Boot does not use EPROBE_DEFER 
so is there some other way I can do this or otherwise change the ordering of 
the probes?

-Aaron

             reply	other threads:[~2018-08-19  0:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-19  0:05 Aaron Williams [this message]
2018-08-19  8:58 ` [U-Boot] Ordering PCI device probes Marek Vasut

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=1960735.NRycAWjXYn@flash \
    --to=aaron.williams@cavium.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.