* ask for help: How to make pcie-dpc detect DPC feature in platform device?
@ 2016-10-18 0:30 Wang Sheng-Hui
2016-12-07 20:44 ` Keith Busch
0 siblings, 1 reply; 2+ messages in thread
From: Wang Sheng-Hui @ 2016-10-18 0:30 UTC (permalink / raw)
To: keith.busch; +Cc: linux-pci
S2VpdGgsCgpTb3JyeSB0byB0cm91YmxlIHlvdS4KCkknbSBtYWtpbmcgdXAgYSBkcml2ZXIg
KERQQyBzdXBwb3J0ZWQgaW4gdGhlIGRldmljZSkgZm9yIG91ciBwcml2YXRlIFNvQyBzeXN0
ZW0sIAphbmQgdGhlIGRyaXZlciBpcyByZWdhcmRlZCBhcyBhIHBsYXRmb3JtIGRyaXZlci4K
Ckkgd29uZGVyIGhvdyBjYW4gSSBtYWtlIHRoZSBwY2llLWRwYyBkcml2ZXIgZGV0ZWN0IG15
IERQQy1lbmFibGVkIFNPQyBhbmQgdGlnZ2VyCnNvbWUgYWN0aW9uIGluIG15IHBsYXRmb3Jt
IGRyaXZlcj8KCkFuZCBvbmUgbW9yZSBxdWVzdGlvbjoKICAgICAgICAgICBIb3cgdG8gc2lt
dWxhdGUgRFBDIGV2ZW50IGluIHNpbXVsYXRpb24gZW52LCBlLmcgUUVNVT8KCi0tLS0tLS0t
LS0tLS0tLS0tLQpSZWdhcmRzLApXYW5nIFNoZW5nLUh1aQ==
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ask for help: How to make pcie-dpc detect DPC feature in platform device?
2016-10-18 0:30 ask for help: How to make pcie-dpc detect DPC feature in platform device? Wang Sheng-Hui
@ 2016-12-07 20:44 ` Keith Busch
0 siblings, 0 replies; 2+ messages in thread
From: Keith Busch @ 2016-12-07 20:44 UTC (permalink / raw)
To: Wang Sheng-Hui; +Cc: linux-pci
On Mon, Oct 17, 2016 at 05:30:00PM -0700, Wang Sheng-Hui wrote:
> Keith,
>
> Sorry to trouble you.
>
> I'm making up a driver (DPC supported in the device) for our private SoC system,
> and the driver is regarded as a platform driver.
>
> I wonder how can I make the pcie-dpc driver detect my DPC-enabled SOC and tigger
> some action in my platform driver?
>
> And one more question:
> How to simulate DPC event in simulation env, e.g QEMU?
Sorry for the late reply. A lot of mailing list messages have been
redirected to my spam folder for some reason.
The pcie-dpc driver, if enabled in your kernel config, automatically
binds to any pcie downstream or root port that has the DPC capability. If
your DPC capable device is not seen as a root or downstream pcie port,
then pcie-dpc won't bind to it.
I don't see why you couldn't emulate the capability in QEMU, but I don't
see it implemented in any of the emulated pcie devices, so you'd have
to get someone to implement it in one of them.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-07 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-18 0:30 ask for help: How to make pcie-dpc detect DPC feature in platform device? Wang Sheng-Hui
2016-12-07 20:44 ` Keith Busch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).