LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Yinghai Lu" <yhlu.kernel@gmail.com>
To: "Ingo Molnar" <mingo@elte.hu>
Cc: "Greg KH" <gregkh@suse.de>, "Muli Ben-Yehuda" <muli@il.ibm.com>,
	"Zhao Yakui" <yakui.zhao@intel.com>,
	lenb@kernel.org, linux-acpi@vger.kernel.org,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ACPI: Unneccessary to scan the PCI bus already scanned.
Date: Mon, 3 Mar 2008 02:30:19 -0800	[thread overview]
Message-ID: <86802c440803030230j2819d519v7db0a741c740c1cc@mail.gmail.com> (raw)
In-Reply-To: <20080303101151.GH18281@elte.hu>

On Mon, Mar 3, 2008 at 2:11 AM, Ingo Molnar <mingo@elte.hu> wrote:
>
>  i also had to hand-merge the x86.git#testing patch below - could you
>  double-check that it's needed in this form?
>
>         Ingo
>
>  ----------->
>  Subject: x86/acpi: make dev_to_node return online node
>  From: Yinghai Lu <Yinghai.Lu@Sun.COM>
>  Date: Wed, 20 Feb 2008 12:41:52 -0800
>
>  some numa system (with multi HT chains) may return node without ram. aka it
>  is not online. Try to get an online node, otherwise return -1
>
>  Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
>  Signed-off-by: Ingo Molnar <mingo@elte.hu>
>  ---
>   arch/x86/pci/acpi.c |    3 +++
>   1 file changed, 3 insertions(+)
>
>  Index: linux-x86.q/arch/x86/pci/acpi.c
>  ===================================================================
>  --- linux-x86.q.orig/arch/x86/pci/acpi.c
>  +++ linux-x86.q/arch/x86/pci/acpi.c
>  @@ -213,6 +213,9 @@ struct pci_bus * __devinit pci_acpi_scan
>                 set_mp_bus_to_node(busnum, node);
>         else
>                 node = get_mp_bus_to_node(busnum);
>  +
>  +       if (node != -1 && !node_online(node))
>  +               node = -1;
>   #endif

still needed...

YH

      reply	other threads:[~2008-03-03 10:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1204525186.4080.11.camel@yakui_zhao.sh.intel.com>
     [not found] ` <20080303073214.GA5934@elte.hu>
     [not found]   ` <86802c440803030006m1879838awc238f07bc98ed43e@mail.gmail.com>
     [not found]     ` <86802c440803030030p4ff9cec5tdb25d1cdc131d377@mail.gmail.com>
2008-03-03 10:01       ` Yinghai Lu
2008-03-03 10:10         ` Ingo Molnar
2008-03-03 10:33           ` Yinghai Lu
2008-03-03 11:11             ` Ingo Molnar
2008-03-03 18:57               ` Yinghai Lu
2008-03-04 19:28                 ` Yinghai Lu
2008-03-04 19:34                   ` Yinghai Lu
2008-03-04 21:23                     ` Ingo Molnar
2008-03-03 10:11         ` Ingo Molnar
2008-03-03 10:30           ` Yinghai Lu [this message]

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=86802c440803030230j2819d519v7db0a741c740c1cc@mail.gmail.com \
    --to=yhlu.kernel@gmail.com \
    --cc=gregkh@suse.de \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=muli@il.ibm.com \
    --cc=yakui.zhao@intel.com \
    --subject='Re: [PATCH] ACPI: Unneccessary to scan the PCI bus already scanned.' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).