From: Philipp Rumpf <prumpf@suse.de>
To: Grant Grundler <grundler@cup.hp.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>, parisc-linux@thepuffingroup.com
Subject: Re: [parisc-linux] Thoughts on arch/parisc/irq.c
Date: Thu, 26 Aug 1999 17:26:26 +0200 [thread overview]
Message-ID: <19990826172626.K19314@suse.de> (raw)
In-Reply-To: <199908260213.TAA11687@milano.cup.hp.com>; from Grant Grundler on Wed, Aug 25, 1999 at 07:13:04PM -0700
> > Hardware interrupt. These live in a unified space described by a cookie.
> > We map the cookie to the irq number on a PC but that is optional. Drivers
> > only know about irqs as a cookie.
> I think there is going to a problem with "cookies" on PA.
> The problem is GSC devices need to program an "EIM" register.
> (For Dino, this is IAR0). The contents of the EIM register
> are a processor HPA (bits 11-31) and EIRR bit number (bits 0-4;
the Dino documentations says bits 5-31 are HPA but as long as 5-10 are 0 we
don't have to care.
> ie a value 0-31). The location of this register is NOT
> defined by PA I/O architecture - or at least not well defined.
> Is this a real problem or not?
No. You just do
gsc_writel(0xfffe0000 + dev->irq, dev->hpa + DEVICE_SPECIFIC_OFFSET);
right after request_irq(dev->irq, ...);
> Another tidbit: I know of only one device which can use "6-bit"
> (0-63) EIRR vectors. GSC and PCI devices which are capable of mastering
> their own interrupt transactions can also use 6-bits. 6-bits is
> obviously only supportable running a 64-bit kernel binary.
Is it ok with you if we worry about SMP and PA2.0 boxes later ?
Philipp Rumpf
next prev parent reply other threads:[~1999-08-26 15:24 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <37C432D3.C9BC0D7F@thepuffingroup.com>
1999-08-26 0:49 ` [parisc-linux] Thoughts on arch/parisc/irq.c Grant Grundler
1999-08-26 1:16 ` Alan Cox
1999-08-26 2:13 ` Grant Grundler
1999-08-26 12:06 ` Alan Cox
1999-08-26 15:26 ` Philipp Rumpf [this message]
1999-08-26 16:43 ` LaMont Jones
1999-08-26 17:13 ` Grant Grundler
1999-08-26 17:48 ` Alex deVries
1999-08-26 18:12 ` Philipp Rumpf
1999-08-26 15:16 ` Philipp Rumpf
[not found] <199908261629.JAA12121@milano.cup.hp.com>
1999-08-26 16:38 ` Alan Cox
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=19990826172626.K19314@suse.de \
--to=prumpf@suse.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=grundler@cup.hp.com \
--cc=parisc-linux@thepuffingroup.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 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.