All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Kyle McMartin <kyle@mcmartin.ca>
Cc: Helge Deller <deller@gmx.de>, linux-parisc@vger.kernel.org
Subject: Re: [RFT] irq changes (was Re: [git] parisc: Changes to ref refs/heads/parisc)
Date: Sun, 21 Nov 2010 11:26:49 -0600	[thread overview]
Message-ID: <1290360409.3017.4.camel@mulgrave.site> (raw)
In-Reply-To: <20101121002531.GL22651@bombadil.infradead.org>

On Sat, 2010-11-20 at 19:25 -0500, Kyle McMartin wrote:
> On Sat, Nov 20, 2010 at 04:05:59PM -0600, James Bottomley wrote:
> > commit ba20085c20f1c9e8af546dea6ad0efa421bdef32
> > Author: Kyle McMartin <kyle@dreadnought.i.jkkm.org>
> > Date:   Wed Oct 13 21:00:55 2010 -0400
> > 
> >     parisc: lay groundwork for killing __do_IRQ
> > 
> > But I haven't found the fix yet ... the commit looks to be an equivalent
> > transformation.
> > 
> 
> The only obvious thing that jumps out is that... no, set_irq_chip
> doesn't look to be doing anything awry.
> 
> But it must be something between what a 'raw' irq_desc looks like, and
> what the helpers initialize them to.

Actually, that all seems to be working.  I've traced the sym interrupt
through with a bunch of printks.  The CPU dino interrupt correctly
triggers.  It calls dino_isr which gets the right dino device and
correctly translates the pending interrupt to the right irq number (23)
in my case.  It looks like generic_handle_irq() (in dino_isr()) doesn't
call the handler, or the handler is somehow ineffective (it takes ages
to loop around and retry with the mask still pending).  That looks nuts
to me because it should be simply calling parisc_do_IRQ which is a
wrapper for the original do_IRQ ... so this should be equivalent.
Unfortunately getting on a 'plane soon and I have no access to a
remotely controllable dino system, so that's probably it for me on the
debugging front.

James



  reply	other threads:[~2010-11-21 17:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  5:31 [git] parisc: Changes to ref refs/heads/parisc Kyle McMartin
2010-10-14 15:39 ` [RFT] irq changes (was Re: [git] parisc: Changes to ref refs/heads/parisc) Kyle McMartin
2010-10-15 19:51   ` Helge Deller
2010-10-15 20:01     ` Kyle McMartin
2010-10-15 20:10       ` Helge Deller
2010-11-14 20:59   ` Helge Deller
2010-11-15 19:56     ` Kyle McMartin
2010-11-20 22:01       ` Helge Deller
2010-11-20 22:05         ` James Bottomley
2010-11-21  0:25           ` Kyle McMartin
2010-11-21 17:26             ` James Bottomley [this message]
2010-11-24 11:56     ` Kyle McMartin
2010-11-29 13:19       ` Kyle McMartin

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=1290360409.3017.4.camel@mulgrave.site \
    --to=james.bottomley@hansenpartnership.com \
    --cc=deller@gmx.de \
    --cc=kyle@mcmartin.ca \
    --cc=linux-parisc@vger.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.