All of lore.kernel.org
 help / color / mirror / Atom feed
From: phorton@bitbox.co.uk (Peter Horton)
To: linux-arm-kernel@lists.infradead.org
Subject: MX51: add FIQ support for TZIC
Date: Fri, 26 Nov 2010 10:09:52 +0000	[thread overview]
Message-ID: <4CEF8770.90201@bitbox.co.uk> (raw)
In-Reply-To: <20101125203819.GK4693@pengutronix.de>

On 25/11/2010 20:38, Uwe Kleine-K?nig wrote:
>> +
>> +	return 0;
>> +}
>> +
>> +EXPORT_SYMBOL(mxc_set_irq_fiq);
> Hmm, I guess this makes it impossible to compile avic.c and tzic.c with
> FIQ=y into a single binary.
>

What about adding a local IRQ_TYPE_FAST and implementing 
irq_chip.set_type(), for both the AVIC and the TZIC, to do the switch 
between IRQ and FIQ mode ?

mxc_set_irq_fiq() would then just become a wrapper round irq_set_type().

P.

      parent reply	other threads:[~2010-11-26 10:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25 15:19 MX51: add FIQ support for TZIC Peter Horton
2010-11-25 20:38 ` Uwe Kleine-König
2010-11-25 23:30   ` Peter Horton
2010-11-26 10:09   ` Peter Horton [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=4CEF8770.90201@bitbox.co.uk \
    --to=phorton@bitbox.co.uk \
    --cc=linux-arm-kernel@lists.infradead.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.