From: Bjorn Helgaas <helgaas@kernel.org>
To: "Tang, CQ" <cq.tang@intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
Lance Ortiz <lance.ortiz@hpe.com>,
Betty Dall <betty.dall@hpe.com>,
Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>,
Chen Gong <gong.chen@linux.intel.com>,
"KeithBuschkeith.busch@intel.com"
<KeithBuschkeith.busch@intel.com>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Shuah Khan <shuahkh@osg.samsung.com>,
"Huang, Ying" <ying.huang@intel.com>,
Vijay Mohan Pandarathil <vijaymohan.pandarathil@hpe.com>,
"Derrick, Jonathan" <jonathan.derrick@intel.com>
Subject: Re: [PATCH 0/2] PCI/AER: Remove module parameters
Date: Mon, 19 Sep 2016 13:11:48 -0500 [thread overview]
Message-ID: <20160919181148.GC13775@localhost> (raw)
In-Reply-To: <1D440B9B88E22A4ABEF89F9F1F81BC2949120D8F@FMSMSX106.amr.corp.intel.com>
On Sat, Sep 17, 2016 at 04:49:11AM +0000, Tang, CQ wrote:
> Bjorn,
> Can we extend this aerdriver to support AER from a root complex integrated endpoint? Root complex event collector has the same job as root port in this case.
Seems like a reasonable idea.
> It looks that both port driver and aer driver check PCI_EXP_TYPE_ROOT_PORT/PCI_EXP_TYPE_UPSTREAM/PCI_EXP_TYPE_DOWNSTREAM only.
> portdrv_pci.c:127, aerdrv.c:86
>
> Is it just a simple addition of PCI_EXP_TYPE_RC_EC to above two places? Is there any difference to recover a root complex integrated endpoint? (compared with devices connected to root port).
It may well be that the extension would be as simple as you suggest.
If you want to test and post a patch to that effect, I'll review it
more carefully.
Bjorn
> > -----Original Message-----
> > From: linux-pci-owner@vger.kernel.org [mailto:linux-pci-
> > owner@vger.kernel.org] On Behalf Of Bjorn Helgaas
> > Sent: Wednesday, September 14, 2016 1:30 PM
> > To: Bjorn Helgaas <bhelgaas@google.com>
> > Cc: linux-pci@vger.kernel.org; Lance Ortiz <lance.ortiz@hpe.com>; Betty Dall
> > <betty.dall@hpe.com>; Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>;
> > Chen Gong <gong.chen@linux.intel.com>; KeithBuschkeith.busch@intel.com;
> > Rafael J. Wysocki <rjw@rjwysocki.net>; linux-kernel@vger.kernel.org; Shuah
> > Khan <shuahkh@osg.samsung.com>; Huang, Ying <ying.huang@intel.com>;
> > Vijay Mohan Pandarathil <vijaymohan.pandarathil@hpe.com>; Derrick,
> > Jonathan <jonathan.derrick@intel.com>
> > Subject: Re: [PATCH 0/2] PCI/AER: Remove module parameters
> >
> > On Tue, Sep 06, 2016 at 05:19:22PM -0500, Bjorn Helgaas wrote:
> > > I'd like to remove the aerdriver.nosourceid and aerdriver.forceload
> > > kernel parameters. They seem like basically debugging things that are
> > > not really supportable upstream.
> > >
> > > "nosourceid" may have some legitimate uses, but I'd rather it were
> > > done via quirks with the flag Jon Derrick recently added so it happens
> > > automatically, without users having to specify the parameter.
> > >
> > > I don't *know* of any actual users of either of these, but obviously
> > > that doesn't mean there are none. Comments welcome.
> > >
> > > ---
> > >
> > > Bjorn Helgaas (2):
> > > PCI/AER: Remove aerdriver.nosourceid kernel parameter
> > > PCI/AER: Remove aerdriver.forceload kernel parameter
> > >
> > >
> > > Documentation/PCI/pcieaer-howto.txt | 26 +++++++++-----------------
> > > drivers/pci/pcie/aer/aerdrv.c | 7 +------
> > > drivers/pci/pcie/aer/aerdrv.h | 8 --------
> > > drivers/pci/pcie/aer/aerdrv_core.c | 31 ++++---------------------------
> > > 4 files changed, 14 insertions(+), 58 deletions(-)
> >
> > I'm going to go out on a limb a little bit and apply these to pci/aer for v4.9.
> > Please let me know if you trip over any issues.
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-pci" in the
> > body of a message to majordomo@vger.kernel.org More majordomo info at
> > http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2016-09-19 18:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-06 22:19 [PATCH 0/2] PCI/AER: Remove module parameters Bjorn Helgaas
2016-09-06 22:19 ` [PATCH 1/2] PCI/AER: Remove aerdriver.nosourceid kernel parameter Bjorn Helgaas
2016-09-06 22:20 ` [PATCH 2/2] PCI/AER: Remove aerdriver.forceload " Bjorn Helgaas
2016-09-14 20:30 ` [PATCH 0/2] PCI/AER: Remove module parameters Bjorn Helgaas
2016-09-17 4:49 ` Tang, CQ
2016-09-19 18:11 ` Bjorn Helgaas [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=20160919181148.GC13775@localhost \
--to=helgaas@kernel.org \
--cc=KeithBuschkeith.busch@intel.com \
--cc=betty.dall@hpe.com \
--cc=bhelgaas@google.com \
--cc=cq.tang@intel.com \
--cc=gong.chen@linux.intel.com \
--cc=jonathan.derrick@intel.com \
--cc=lance.ortiz@hpe.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=seto.hidetoshi@jp.fujitsu.com \
--cc=shuahkh@osg.samsung.com \
--cc=vijaymohan.pandarathil@hpe.com \
--cc=ying.huang@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).