All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Nick Piggin <npiggin@suse.de>
Cc: Yinghai Lu <yinghai@kernel.org>,
	tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com,
	linux-kernel@vger.kernel.org, Cliff Wickman <cpw@sgi.com>,
	Jack Steiner <steiner@sgi.com>, Russ Anderson <rja@sgi.com>
Subject: Re: [patch] x86: make UV support optional
Date: Tue, 6 Jan 2009 10:01:38 +0100	[thread overview]
Message-ID: <20090106090138.GD29917@elte.hu> (raw)
In-Reply-To: <20090106064433.GB16738@wotan.suse.de>


* Nick Piggin <npiggin@suse.de> wrote:

> On Mon, Jan 05, 2009 at 10:38:17PM -0800, Yinghai Lu wrote:
> > On Mon, Jan 5, 2009 at 10:03 PM, Nick Piggin <npiggin@suse.de> wrote:
> > > UV is fairly rare.... and much of the support is already there to cope with
> > > 32-bit builds. So this makes sense I think.
> > >
> > > --
> > > Make X86 SGI Ultraviolet support configurable. Saves about 13K of text size
> > > on my modest config.
> > >
> > >   text    data     bss     dec     hex filename
> > > 6770537 1158680  694356 8623573  8395d5 vmlinux
> > > 6757492 1157664  694228 8609384  835e68 vmlinux.nouv
> > >
> > > Signed-off-by: Nick Piggin <npiggin@suse.de>
> > > ---
> > >  arch/x86/Kconfig                  |    7 +++++++
> > >  arch/x86/include/asm/genapic.h    |   24 ++++++++++++++++++++++++
> > >  arch/x86/include/asm/genapic_32.h |    7 -------
> > >  arch/x86/include/asm/genapic_64.h |    9 ---------
> > >  arch/x86/kernel/Makefile          |    5 +++--
> > >  arch/x86/kernel/entry_64.S        |    2 ++
> > >  arch/x86/kernel/genapic_64.c      |    3 ++-
> > >  arch/x86/kernel/io_apic.c         |    2 +-
> > >  8 files changed, 39 insertions(+), 20 deletions(-)
> > 
> > how about
> > kernel/efi.c:                   efi.uv_systab = config_tables[i].table;
> > ?
> 
> Good point, I missed that. Will resend a patch with that ifdef'ed 
> tomorrow unless any serious objections are raised.

Looks good to me, but please also extend the Makefile changes to 
kernel/tlb_uv.c, ./kernel/uv_sysfs.c, kernel/uv_irq.c, kernel/bios_uv.c - 
UV not just the genapic bits. Perhaps do it via gradual patches.

	Ingo

  reply	other threads:[~2009-01-06  9:02 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-06  6:03 [patch] x86: make UV support optional Nick Piggin
2009-01-06  6:38 ` Yinghai Lu
2009-01-06  6:44   ` Nick Piggin
2009-01-06  9:01     ` Ingo Molnar [this message]
2009-01-06 12:23       ` Nick Piggin
2009-01-06 12:31         ` Ingo Molnar
2009-01-06 14:33 ` Jack Steiner
2009-01-06 14:48   ` Nick Piggin
2009-01-06 15:05     ` Mike Travis
2009-01-06 15:30       ` Nick Piggin
2009-01-11 18:39       ` Pavel Machek
2009-01-06 14:54   ` Mike Travis
2009-01-06 15:04     ` Nick Piggin
2009-01-06 15:28     ` Ingo Molnar
2009-01-06 15:31       ` Mike Travis

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=20090106090138.GD29917@elte.hu \
    --to=mingo@elte.hu \
    --cc=cpw@sgi.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=npiggin@suse.de \
    --cc=rja@sgi.com \
    --cc=steiner@sgi.com \
    --cc=tglx@linutronix.de \
    --cc=yinghai@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.