public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Herrmann <herrmann.der.user@googlemail.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86, k8-gart: Decouple handling of garts and northbridges
Date: Mon, 30 Aug 2010 15:59:45 +0200	[thread overview]
Message-ID: <20100830135945.GA4749@loge.amd.com> (raw)
In-Reply-To: <4C77F164.8000100@zytor.com>

On Fri, Aug 27, 2010 at 10:09:56AM -0700, H. Peter Anvin wrote:
> On 08/27/2010 12:59 AM, Andreas Herrmann wrote:
> > From: Andreas Herrmann <andreas.herrmann3@amd.com>
> > 
> > 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@amd.com>
> > ---
> >  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?

Good catch.

Compiled for me after deselecting CONFIG_CPU_SUP_AMD but deselecting
PCI breaks compilation of the L3 cache index disable code. But that
stuff requires PCI support.

Will send updated patch(es) to fix this.


Thanks,

Andreas


  reply	other threads:[~2010-08-30 13:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-27  7:59 [PATCH] x86, k8-gart: Decouple handling of garts and northbridges Andreas Herrmann
2010-08-27 17:09 ` H. Peter Anvin
2010-08-30 13:59   ` Andreas Herrmann [this message]
2010-08-31  6:38 ` [PATCH 0/3] x86: misc K8_NB updates Andreas Herrmann
2010-08-31  6:41   ` [PATCH 1/3] x86, cacheinfo: Fix dependency of AMD L3 CID Andreas Herrmann
2010-08-31  6:42   ` [PATCH 2/3] x86, k8-gart: Decouple handling of garts and northbridges Andreas Herrmann
2010-08-31  6:44   ` [PATCH 3/3] x86, k8: Rename k8.[ch] to amd_nb.[ch] and CONFIG_K8_NB to CONFIG_AMD_NB Andreas Herrmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100830135945.GA4749@loge.amd.com \
    --to=herrmann.der.user@googlemail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox