login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
May
»
27
Re: PCIE
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Manu Abraham <abraham.manu@...>
To: David Miller <davem@...>
Cc: <hpa@...>, <rdreier@...>, <greg@...>, <linux-pci@...>, <linux-kernel@...>
Subject:
Re: PCIE
Date: Sunday, May 27, 2007 - 4:31 pm
David Miller wrote:
quoted text
> From: "H. Peter Anvin" <hpa@zytor.com> > Date: Sat, 26 May 2007 19:34:26 -0700 > >> There are systems which only get a single bit indication that an MSI has >> happened. >> >> Presumably we need something like IRQF_MSI which can be set as >> appropriate depending on the architecture? > > Although I don't want to make the IRQ handling subsystems any more > complicated than they already are, one idea I floated around is that > we could seperate CPU irq numbers (the things we pass around today) > and MSI vector numbers. > > But I immediately understand how that is unnecessary to some extent, > any platform which needs to deal with that kind of distinction can use > virtual IRQ numbers like sparc64 and powerpc do. > > Sparc64 PCI-E controllers, for example, allow you to group several > MSIs into a 'group', and the interrupt source is for the group rather > than the individual MSIs. When the MSI group interrupt arrives, you > get a descriptor in a per-MSI-group ring buffer that describes the MSI > that arrived. > > This descriptor in fact passes on a ton of interesting information, > see arch/sparc64/kernel/pci_sun4v.c:pci_sun4v_msiq_entry. > > It gives you the type, the system TSC value at the time of interrupt > arrival (so you could do incredibly cool profiling with this), > the PCI bus/device/fn that generated the MSI vector, the MSI address > that was signalled, the MSI data field, and full information for PCI-E > MSG packets including bus/dev/fn of target, the message routing code, > and the message code. > > But we use none of these facilities currently because it's either > impossible or too cumbersome to be useful at the moment. >
I think it is better to use IRQF_MSI as HPA suggested, since IRQF_SHARED is a bit confusing thing altogether since MSI doesn't share interrupts. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
PCIE
, Manu Abraham
, (Wed May 23, 8:15 am)
Re: PCIE
, Greg KH
, (Wed May 23, 11:59 am)
Re: PCIE
, Manu Abraham
, (Wed May 23, 4:59 pm)
Re: PCIE
, Roland Dreier
, (Wed May 23, 5:10 pm)
Re: PCIE
, Manu Abraham
, (Wed May 23, 6:11 pm)
Re: PCIE
, Roland Dreier
, (Wed May 23, 6:23 pm)
Re: PCIE
, Manu Abraham
, (Wed May 23, 7:03 pm)
Re: PCIE
, Roland Dreier
, (Wed May 23, 7:51 pm)
Re: PCIE
, Manu Abraham
, (Thu May 24, 6:32 pm)
Re: PCIE
, Roland Dreier
, (Thu May 24, 11:25 pm)
Re: PCIE
, Manu Abraham
, (Sat May 26, 11:03 am)
Re: PCIE
, David Miller
, (Sat May 26, 6:49 pm)
Re: PCIE
, Roland Dreier
, (Sun May 27, 9:03 pm)
Re: PCIE
, H. Peter Anvin
, (Mon May 28, 1:22 am)
Re: PCIE
, Grant Grundler
, (Mon May 28, 12:18 am)
Re: PCIE
, H. Peter Anvin
, (Mon May 28, 1:23 am)
Re: PCIE
, David Miller
, (Sun May 27, 10:54 pm)
Re: PCIE
, H. Peter Anvin
, (Sat May 26, 10:34 pm)
Re: PCIE
, Roland Dreier
, (Sun May 27, 9:05 pm)
Re: PCIE
, David Miller
, (Sun May 27, 3:40 am)
Re: PCIE
, Manu Abraham
, (Sun May 27, 4:31 pm)
Re: PCIE
, Grant Grundler
, (Sat May 26, 7:55 pm)
Re: PCIE
, David Miller
, (Sat May 26, 8:00 pm)
Re: PCIE
, Roland Dreier
, (Sun May 27, 9:10 pm)
Re: PCIE
, Grant Grundler
, (Sat May 26, 8:16 pm)
Re: PCIE
, David Miller
, (Sat May 26, 8:30 pm)
Re: PCIE
, Manu Abraham
, (Sat May 26, 9:01 pm)
Re: PCIE
, Grant Grundler
, (Sat May 26, 9:49 pm)
Re: PCIE
, Manu Abraham
, (Sun May 27, 4:28 pm)
Re: PCIE
, Manu Abraham
, (Sat May 26, 6:57 pm)
Re: PCIE
, Grant Grundler
, (Sat May 26, 2:28 pm)
Re: PCIE
, Manu Abraham
, (Sat May 26, 3:27 pm)
Re: PCIE
, Roland Dreier
, (Sun May 27, 9:15 pm)
Re: PCIE
, Manu Abraham
, (Sun May 27, 10:04 pm)
Re: PCIE
, Roland Dreier
, (Sun May 27, 10:24 pm)
Re: PCIE
, Manu Abraham
, (Sun May 27, 10:47 pm)
Re: PCIE
, Manu Abraham
, (Sun May 27, 9:25 pm)
Re: PCIE
, Manu Abraham
, (Wed May 23, 8:07 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
James Bottomley
Re: Announce: Linux-next (Or Andrew's dream :-))
Trent Piepho
Re: [PATCH] fakephp: Allocate PCI resources before adding the device
linux-netdev
:
Antonio Almeida
HTB accuracy for high speed
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
git
:
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
702 guests
online.
Online users
sarahlonech32x
jennyrock
operacjeplastyc
maricar555
Syndicate