From: Daniel Hellstrom <daniel@gaisler.com>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH] sparc32,leon: need VIRQ:IRQ 1:1, don't mask/ack IRQ Controller
Date: Thu, 31 Mar 2011 15:13:35 +0000 [thread overview]
Message-ID: <4D949A1F.8020403@gaisler.com> (raw)
In-Reply-To: <1300290864-20678-1-git-send-email-daniel@gaisler.com>
David Miller wrote:
>From: Daniel Hellstrom <daniel@gaisler.com>
>Date: Wed, 30 Mar 2011 14:41:45 +0200
>
>
>
>>I see, however that is almost as bad because that would also require
>>one driver per core but in the LEON IRQ layer of Linux.
>>
>>
>
>This is absolutely unavoidable since the firmware device tree doesn't
>pass along the proper set of IRQs. You have to fixup your tree,
>because it is broken.
>
>
This is sad, as we have designed all LEON architecture to be Plug&Play
as far as possible, and it will be software that limits it in the end. I
think it is quite uncommon (if not unique) to do plug&play on the most
low-level stuff such as timers and IRQ Controller etc., I believe that
part of the idea with the OpenBoot tree is to provide that low-level
plug&play to Linux and LEON that has true PnP in hardware can not do
that fully. I'm starting to think virtual IRQ is a bad thing.. :)
I will give it another thought tomorrow before doing anything. A part of
me thinks that the bootloader should be modified to report the correct
information, however that requires changes to u-boot as well.
Daniel
next prev parent reply other threads:[~2011-03-31 15:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 15:54 [PATCH] sparc32,leon: need VIRQ:IRQ 1:1, don't mask/ack IRQ Controller Daniel Hellstrom
2011-03-30 9:23 ` [PATCH] sparc32,leon: need VIRQ:IRQ 1:1, don't mask/ack IRQ David Miller
2011-03-30 10:00 ` [PATCH] sparc32,leon: need VIRQ:IRQ 1:1, don't mask/ack IRQ Controller Daniel Hellstrom
2011-03-30 10:34 ` [PATCH] sparc32,leon: need VIRQ:IRQ 1:1, don't mask/ack IRQ David Miller
2011-03-30 12:41 ` [PATCH] sparc32,leon: need VIRQ:IRQ 1:1, don't mask/ack IRQ Controller Daniel Hellstrom
2011-03-30 22:41 ` [PATCH] sparc32,leon: need VIRQ:IRQ 1:1, don't mask/ack IRQ David Miller
2011-03-31 15:13 ` Daniel Hellstrom [this message]
2011-03-31 23:57 ` David Miller
2011-04-01 8:17 ` [PATCH] sparc32,leon: need VIRQ:IRQ 1:1, don't mask/ack IRQ Controller Daniel Hellstrom
2011-04-11 15:30 ` Daniel Hellstrom
2011-04-11 19:59 ` [PATCH] sparc32,leon: need VIRQ:IRQ 1:1, don't mask/ack IRQ David Miller
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=4D949A1F.8020403@gaisler.com \
--to=daniel@gaisler.com \
--cc=sparclinux@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.