mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: yhlu <yhlu.kernel@gmail.com>
To: "Muli Ben-Yehuda" <muli@il.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	"Andi Kleen" <ak@suse.de>
Subject: Re: [PATCH] x86-64: typo in __assign_irq_vector when updating pos for vector and offset
Date: Sun, 22 Oct 2006 09:19:09 -0700	[thread overview]
Message-ID: <86802c440610220919h5e2fb98axb5ba4dd4d073171@mail.gmail.com> (raw)
In-Reply-To: <86802c440610220902q648a7fc8p38fd9a3391f5bc5d@mail.gmail.com>

andi,

the per_cpu only can be used with online cpus?

YH

On 10/22/06, yhlu <yhlu.kernel@gmail.com> wrote:
> You must have NR_CPUS=4.
>
> Also you genapic is running on flat. (logical)
>
> Can you try to set NR_CPUS=8 and without this patch?
>
> YH
>
> On 10/22/06, Muli Ben-Yehuda <muli@il.ibm.com> wrote:
> > On Sun, Oct 22, 2006 at 01:28:03AM -0700, Yinghai Lu wrote:
> > > On 10/21/06, Muli Ben-Yehuda <muli@il.ibm.com> wrote:
> > > >>
> > > >> typo with cpu instead of new_cpu
> > > >
> > > >This patch breaks my x366 machine:
> > > >
> > > >aic94xx: device 0000:01:02.0: SAS addr 5005076a0112df00, PCBA SN , 8 phys,
> > > >8 enabled phys, flash present, BIOS build 1323
> > > >aic94xx: couldn't get irq 25 for 0000:01:02.0
> > > >ACPI: PCI interrupt for device 0000:01:02.0 disabled
> > > >aic94xx: probe of 0000:01:02.0 failed with error -38
> > > >
> > > >Reverting it allows it to boot again. Since the patch is "obviously
> > > >correct", it must be uncovering some other problem with the genirq
> > > >code.
> > > >
> > >
> > > can you try attached patch? it use cpu_online_map instead of 0xff.
> >
> > Works!
> >
> > Thanks,
> > Muli
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> > Please read the FAQ at  http://www.tux.org/lkml/
> >
>

  reply	other threads:[~2006-10-22 16:19 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200610212100.k9LL0GtC018787@hera.kernel.org>
2006-10-22  3:51 ` Muli Ben-Yehuda
2006-10-22  5:13   ` Yinghai Lu
2006-10-22  6:55   ` yhlu
2006-10-22  8:50     ` Muli Ben-Yehuda
2006-10-22  8:50     ` Eric W. Biederman
2006-10-22  8:28   ` Yinghai Lu
2006-10-22  8:50     ` Muli Ben-Yehuda
2006-10-22  8:58       ` Eric W. Biederman
2006-10-22 16:02       ` yhlu
2006-10-22 16:19         ` yhlu [this message]
2006-10-22 21:33           ` Andi Kleen
2006-10-22 16:20         ` Muli Ben-Yehuda
2006-10-22 16:28           ` yhlu
2006-10-22  8:35   ` Eric W. Biederman
2006-10-22  8:52     ` Muli Ben-Yehuda
2006-10-22  9:10       ` Eric W. Biederman
2006-10-23  4:32       ` [PATCH 1/2] x86_64 irq: Simplify the vector allocator Eric W. Biederman
2006-10-23  4:35         ` [PATCH 2/2] x86_64 irq: Only look at per_cpu data for online cpus Eric W. Biederman
2006-10-23  6:17           ` yhlu
2006-10-23  8:14           ` Muli Ben-Yehuda
2006-10-23  6:15         ` [PATCH 1/2] x86_64 irq: Simplify the vector allocator yhlu
2006-10-24  5:29         ` Andi Kleen
2006-10-22 13:29   ` [PATCH] x86-64: typo in __assign_irq_vector when updating pos for vector and offset Andi Kleen
2006-10-22 16:31     ` Muli Ben-Yehuda

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=86802c440610220919h5e2fb98axb5ba4dd4d073171@mail.gmail.com \
    --to=yhlu.kernel@gmail.com \
    --cc=ak@suse.de \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=muli@il.ibm.com \
    /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

all inboxes | Powered by JetHome®