linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: will_schmidt@vnet.ibm.com
Cc: Andrew Morton <akpm@osdl.org>, linuxppc-dev@ozlabs.org
Subject: Re: G5 troubles booting powerpc-git (July 6)
Date: Fri, 07 Jul 2006 08:56:27 +1000	[thread overview]
Message-ID: <1152226587.9862.19.camel@localhost.localdomain> (raw)
In-Reply-To: <1152197602.14547.10.camel@farscape.rchland.ibm.com>

If you look at arch/powerpc/kernel/irq.c from line 479:

	/* Check if mapping already exist, if it does, call
	 * host->ops->map() to update the flags
	 */
	virq = irq_find_mapping(host, hwirq);
	if (virq != IRQ_NONE) {
		pr_debug("irq: -> existing mapping on virq %d\n", virq);
		host->ops->map(host, virq, hwirq, flags);
		return virq;
	}

What if you comment out the host->ops->map(...) call in there ? Does it
help ?

I think I have a little misdesign in my new powerpc irq handling
regarding the mixing up of mapping and setting of triggers. I'm working
on a solution, hopefully patches early next week.

Ben.

  parent reply	other threads:[~2006-07-06 22:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-06 14:53 G5 troubles booting powerpc-git (July 6) Will Schmidt
2006-07-06 22:53 ` Benjamin Herrenschmidt
2006-07-06 22:56 ` Benjamin Herrenschmidt [this message]
2006-07-07  8:23   ` Andrew Morton
2006-07-07  8:27     ` Benjamin Herrenschmidt
2006-07-07  8:52       ` Andrew Morton
2006-07-07  8:57         ` Benjamin Herrenschmidt
2006-07-07  9:11           ` Andrew Morton
2006-07-07  9:24             ` Benjamin Herrenschmidt
2006-07-07 11:45             ` Benjamin Herrenschmidt
2006-07-07 18:04               ` Andrew Morton

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=1152226587.9862.19.camel@localhost.localdomain \
    --to=benh@kernel.crashing.org \
    --cc=akpm@osdl.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=will_schmidt@vnet.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;
as well as URLs for NNTP newsgroup(s).