Re: [PATCH] x86: Add PCI extended config space access for AMD Barcelona

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arjan van de Ven
Date: Wednesday, May 28, 2008 - 12:02 pm

On Mon, 3 Sep 2007 10:17:39 +0200
Robert Richter <robert.richter@amd.com> wrote:

Hi,

As said before, I like the general approach. I have two comments below
though...


Comment 1:
Can we make the 256/4096 thing conditional on actually having the
feature somehow? (while not making the code TOO ugly)

Comment 2: 
The cpu_has_XXX is a bit dubious; while it's dependent on your cpu
model right now, I'm a bit hesitant to consider a PCI feature something
that belongs in the cpu_has_XXX namespace. (Yes I know PCI is moving
into the cpu package, but on a logical level it seems just the wrong
place).
Do we need a platform_has_XXX namespace for things like this?


-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Enable mmconf access to PCI ECS for all AMD fam10h systems, Robert Richter, (Fri May 23, 5:46 am)
Re: Enable mmconf access to PCI ECS for all AMD fam10h systems, Arjan van de Ven, (Fri May 23, 11:18 am)
Re: [PATCH] x86: Add PCI extended config space access for ..., Arjan van de Ven, (Wed May 28, 12:02 pm)
[PATCH 1/2] x86/pci: Renaming k8-bus_64.c to amd_bus.c, Robert Richter, (Thu Jun 12, 11:19 am)
[PATCH 2/2] x86: Move PCI IO ECS code to x86/pci, Robert Richter, (Thu Jun 12, 11:19 am)
Re: [PATCH 2/2] x86: Move PCI IO ECS code to x86/pci, Yinghai Lu, (Thu Jun 12, 12:50 pm)
Re: [PATCH 1/2] x86/pci: Renaming k8-bus_64.c to amd_bus.c, Robert Richter, (Fri Jun 13, 5:47 am)
Re: [PATCH 2/2] x86: Move PCI IO ECS code to x86/pci, Robert Richter, (Fri Jun 13, 9:19 am)
Re: [PATCH 2/2] x86: Move PCI IO ECS code to x86/pci, Glauber Costa, (Fri Jun 13, 10:02 am)
Re: [PATCH 2/2] x86: Move PCI IO ECS code to x86/pci, Robert Richter, (Fri Jun 13, 11:16 am)
Re: [PATCH 2/2] x86: Move PCI IO ECS code to x86/pci, Glauber Costa, (Fri Jun 13, 11:26 am)
Re: [PATCH 2/2] x86: Move PCI IO ECS code to x86/pci, Ingo Molnar, (Wed Jun 18, 12:47 am)
Re: [PATCH 2/2] x86: Move PCI IO ECS code to x86/pci, Ingo Molnar, (Wed Jun 18, 12:51 am)
Re: [PATCH 1/2] x86/pci: Renaming k8-bus_64.c to amd_bus.c, Robert Richter, (Thu Jun 19, 9:02 am)