[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6df930b0-e0aa-67c3-357b-a366319c2f5d@deltatee.com>
Date: Mon, 18 Jun 2018 17:11:22 -0600
From: Logan Gunthorpe <logang@...tatee.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>,
Alex Williamson <alex.williamson@...hat.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-pci@...r.kernel.org,
Linux Documentation List <linux-doc@...r.kernel.org>,
Stephen Bates <sbates@...thlin.com>,
Christoph Hellwig <hch@....de>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Jonathan Corbet <corbet@....net>,
Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
Marc Zyngier <marc.zyngier@....com>,
Kai-Heng Feng <kai.heng.feng@...onical.com>,
Frederic Weisbecker <frederic@...nel.org>,
Dan Williams <dan.j.williams@...el.com>,
Jérôme Glisse <jglisse@...hat.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Christian König <christian.koenig@....com>
Subject: Re: [PATCH v3 1/3] PCI: Make specifying PCI devices in kernel
parameters reusable
On 18/06/18 05:06 PM, Andy Shevchenko wrote:
> On Tue, Jun 19, 2018 at 12:44 AM, Alex Williamson
>> There's probably really no path to resolve these, but acknowledging the
>> difference in this comment block might be helpful in the future.
>
> ...or introduce a parser part to allow user supply "any" instead of
> numeric value.
I think the main difficulty is maintaining backwards compatibility. If
anyone is already using zero as a parameter then we will break their system.
>>> + pr_info("PCI: Can't parse resource_alignment parameter: pci:%s\n",
>
>> The "pci:" prefix on %s doesn't make sense now, it was used above when
>> the pointer was already advanced past this token, now I believe it would
>> lead to "pci:pci:xxxx:yyyy" or "pci:xx:yy.z". Thanks,
>
> I'm just wondering if we can use pci_info() here, Or it makes no sense?
> Also, the original loglevel was an "error".
Yeah, I don't think pci_info() makes sense as it's not attached to a
specific device.
Not sure how I messed up the log level, but I'll fix it for v4.
Thanks,
Logan
Powered by blists - more mailing lists