Re: [PATCH] x86, k8-gart: Decouple handling of garts and northbridges

From: H. Peter Anvin
Date: Fri Aug 27 2010 - 13:10:19 EST


On 08/27/2010 12:59 AM, Andreas Herrmann wrote:
> From: Andreas Herrmann <andreas.herrmann3@xxxxxxx>
>
> So far we only provide num_k8_northbridges. This is required in
> different areas (e.g. L3 cache index disable, GART). But not all AMD
> CPUs provide a GART. Thus it is useful to split off the GART handling
> from the generic caching of AMD northbridge misc devices.
>
> Signed-off-by: Andreas Herrmann <andreas.herrmann3@xxxxxxx>
> ---
> arch/x86/include/asm/k8.h | 13 +++++---
> arch/x86/kernel/cpu/intel_cacheinfo.c | 4 +-
> arch/x86/kernel/k8.c | 52 +++++++++++++++++++--------------
> arch/x86/kernel/pci-gart_64.c | 27 +++++++++++------
> drivers/char/agp/amd64-agp.c | 33 ++++++++++++++------
> drivers/edac/amd64_edac.c | 2 +-
> 6 files changed, 82 insertions(+), 49 deletions(-)
>
>
> Please apply.
>

>From just looking at it: isn't this patch going to break compiling with
CONFIG_K8_NB=n?

-hpa


--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/