Re: [PATCH -v2 0/5] AMD L3 cache index disable fixes for .35

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: H. Peter Anvin
Date: Friday, April 23, 2010 - 11:06 am

On 04/23/2010 07:09 AM, Borislav Petkov wrote:

I have to say I think that's pretty ridiculous for someone who cares so
much about size that they have disabled CONFIG_PCI that they can just
add another half-kilobyte of code that is going to do absolutely
nothing.  Think about the kind of x86 CPUs that could even consider
disabling CONFIG_PCI -- we're talking pretty deep embedded by now.

So, no, I don't think this is an option.  Force-enabling CONFIG_PCI on
x86 would be a more realistic option, and I honestly don't know how many
people would object to that, but not right now.

The obvious answer instead is to augment the list of stubs in
<asm/k8.h>.  In particular, move num_k8_northbridges into the #ifdef and
just #define num_k8_northbridges 0 in the other clause.

	-hpa


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH -v2 0/5] AMD L3 cache index disable fixes for .35, Borislav Petkov, (Thu Apr 22, 7:06 am)
Re: [PATCH -v2 0/5] AMD L3 cache index disable fixes for .35, Borislav Petkov, (Thu Apr 22, 11:50 pm)
Re: [PATCH -v2 0/5] AMD L3 cache index disable fixes for .35, Borislav Petkov, (Fri Apr 23, 7:09 am)
Re: [PATCH -v2 0/5] AMD L3 cache index disable fixes for .35, H. Peter Anvin, (Fri Apr 23, 11:06 am)
Re: [PATCH -v2 0/5] AMD L3 cache index disable fixes for .35, Borislav Petkov, (Sat Apr 24, 1:21 am)
Re: [PATCH -v2 0/5] AMD L3 cache index disable fixes for .35, Borislav Petkov, (Mon May 3, 11:20 am)
[tip:x86/cpu] x86, cacheinfo: Unify AMD L3 cache index dis ..., tip-bot for Borislav ..., (Mon May 3, 3:39 pm)
[tip:x86/cpu] x86, cacheinfo: Disable index in all four su ..., tip-bot for Borislav ..., (Mon May 3, 3:40 pm)