login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
3
Re: MSI: Use correct data offset for 32-bit MSI in read_msi_msg()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Eric W. Biederman <ebiederm@...>
To: Roland Dreier <roland@...>
Cc: Greg KH <greg@...>, <linux-pci@...>, <linux-kernel@...>
Subject:
Re: MSI: Use correct data offset for 32-bit MSI in read_msi_msg()
Date: Wednesday, October 3, 2007 - 2:25 pm
Roland Dreier <roland@digitalvampire.org> writes:
quoted text
> While reading the MSI code trying to find a reason why MSI wouldn't > work for devices that have a 32-bit MSI address capability, I noticed > that read_msi_msg() seems to read the message data from the wrong > offset in this case.
Doh! Sorry about that. Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
quoted text
> Signed-off-by: Roland Dreier <roland@digitalvampire.org> > --- > Unfortunately MSI still doesn't seem to work with Intel 945GM > integrated graphics on my laptop, even with this fix.... > > drivers/pci/msi.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c > index be1df85..87e0161 100644 > --- a/drivers/pci/msi.c > +++ b/drivers/pci/msi.c > @@ -132,7 +132,7 @@ void read_msi_msg(unsigned int irq, struct msi_msg *msg) > pci_read_config_word(dev, msi_data_reg(pos, 1), &data); > } else { > msg->address_hi = 0; > - pci_read_config_word(dev, msi_data_reg(pos, 1), &data); > + pci_read_config_word(dev, msi_data_reg(pos, 0), &data); > } > msg->data = data; > break;
-
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:
Re: MSI: Use correct data offset for 32-bit MSI in read_msi_...
, Eric W. Biederman
, (Wed Oct 3, 2:25 pm)
Re: MSI: Use correct data offset for 32-bit MSI in read_msi_...
, Roland Dreier
, (Wed Oct 3, 3:13 pm)
Re: MSI: Use correct data offset for 32-bit MSI in read_msi_...
, Eric W. Biederman
, (Wed Oct 3, 3:55 pm)
Re: MSI: Use correct data offset for 32-bit MSI in read_msi_...
, Roland Dreier
, (Wed Oct 3, 4:03 pm)
Re: MSI: Use correct data offset for 32-bit MSI in read_msi_...
, Eric W. Biederman
, (Wed Oct 3, 4:34 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Andrew Morton
-mm merge plans for 2.6.23
David Miller
Re: [BUG] New Kernel Bugs
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andrew Morton
Re: Linux 2.6.21-rc4
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Natalie Protasevich
[BUG] New Kernel Bugs
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Eric W. Biederman
[PATCH] macvlan: Support creating macvlans from macvlans
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
4 users
and
826 guests
online.
Online users
swatbolish
ijango123
gregswanson4652
weighttrainith
Syndicate