[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f854c74c307aa8f7cf482f5e4e63cf03f3dc12ca.camel@linux.intel.com>
Date: Wed, 07 Nov 2018 15:44:10 -0800
From: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
To: Bjorn Helgaas <helgaas@...nel.org>
Cc: Borislav Petkov <bp@...en8.de>,
"Woods, Brian" <Brian.Woods@....com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>,
"x86@...nel.org" <x86@...nel.org>,
Clemens Ladisch <clemens@...isch.de>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>, Pu Wen <puwen@...on.cn>,
Jia Zhang <qianyue.zj@...baba-inc.com>,
Takashi Iwai <tiwai@...e.de>,
Andy Whitcroft <apw@...onical.com>,
Colin Ian King <colin.king@...onical.com>,
Myron Stowe <myron.stowe@...hat.com>,
Sumeet Pawnikar <sumeet.r.pawnikar@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-hwmon@...r.kernel.org" <linux-hwmon@...r.kernel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>
Subject: Re: [PATCH 2/4] x86/amd_nb: add support for newer PCI topologies
On Wed, 2018-11-07 at 15:30 -0800, Srinivas Pandruvada wrote:
> [...]
>
> > Sure, you can't *force* OEMs to supply a given ACPI device, but you
> > can certainly say "if you want this functionality, supply INT3401
> > devices." That's what you do with PNP0A03 (PCI host bridges), for
> > example. If an OEM doesn't supply PNP0A03 devices, the system can
> > boot just fine as long as you don't need PCI.
> >
> > This model of using the PCI IDs forces OS vendors to release
> > updates
> > for every new platform. I guess you must have considered that and
> > decided whatever benefit you're getting was worth the cost.
>
> Not worth cost. This is a pain. Every release we end up adding a
> single
> line change to many drivers adding a PCI device id.
> Since there is no unique class_mask for PCI device for these devices,
> we need to add device_id for each generation even if there is no
> change.
> Instead if we have some feature to say don't enumerate for PCI device
> id < X and a black list, it will save lot of work.
This still needs some work on our internal PCI device allocation scheme
, where we can reserve a block of ids for a PCI device for same
functionality from generation to generation.
Thanks,
Srinivas
Powered by blists - more mailing lists