[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180816203111.GB10316@bhelgaas-glaptop.roam.corp.google.com>
Date: Thu, 16 Aug 2018 15:31:11 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: "Derrick, Jonathan" <jonathan.derrick@...el.com>
Cc: "willy@...radead.org" <willy@...radead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"okaya@...nel.org" <okaya@...nel.org>,
"liudongdong3@...wei.com" <liudongdong3@...wei.com>,
"poza@...eaurora.org" <poza@...eaurora.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"Busch, Keith" <keith.busch@...el.com>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>
Subject: Re: [PATCH 1/2] PCI/DPC: Add 'nodpc' parameter
On Thu, Aug 16, 2018 at 03:50:47PM +0000, Derrick, Jonathan wrote:
> On Thu, 2018-08-16 at 08:49 -0700, Matthew Wilcox wrote:
> > On Wed, Aug 15, 2018 at 03:26:39PM -0600, Jon Derrick wrote:
> > > Some users may want to disable downstream port containment (DPC),
> > > so
> > > give them this option
> >
> > Is it possible they might only want to disable DPC on a subset of the
> > hierarchy rather than globally?
>
> Absolutely. I was hoping Logan's pci dev_str would land because I have
> a few others I want to convert to that api for granular tuning
What's the use case here? I acknowledge there are cases where we need
them, but I'm not a fan of kernel parameters in general because
they're a real hassle for users.
Is there something wrong with DPC? Is there some way we can make it
smarter so it does the right thing automatically?
I'm more OK with a blanket "nodpc" switch intended for debugging.
If we add the complexity of subsets of the hierarchy it starts
sounding like an administrative thing that makes me more hesitant.
Could this be done via a sysfs switch instead? That potentially could
work for hot-added things where a kernel parameter doesn't work so
well.
Please squash the doc patch and the code change so it's easier to keep
them together.
Bjorn
Powered by blists - more mailing lists