]> err.no Git - linux-2.6/commit
[PATCH] PCI: Change MSI to use physical delivery mode always
authorAshok Raj <ashok.raj@intel.com>
Wed, 9 Nov 2005 05:42:33 +0000 (21:42 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2005 00:09:18 +0000 (16:09 -0800)
commitb4033c1715cb5aa1dcb1a25bdaf71fea908bb3f1
treecf9ba9ae7999573a507df301faf34170ab08e2c3
parent48b19148733b4826eeedfd8be9f19b61c8d010b1
[PATCH] PCI: Change MSI to use physical delivery mode always

MSI hardcoded delivery mode to use logical delivery mode. Recently
x86_64 moved to use physical mode addressing to support physflat mode.
With this mode enabled noticed that my eth with MSI werent working.

msi_address_init()  was hardcoded to use logical mode for i386 and x86_64.
So when we switch to use physical mode, things stopped working.

Since anyway we dont use lowest priority delivery with MSI, its always
directed to just a single CPU. Its safe  and simpler to use
physical mode always, even when we use logical delivery mode for IPI's
or other ioapic RTE's.

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/msi.c
include/asm-i386/msi.h
include/asm-i386/smp.h
include/asm-ia64/msi.h
include/asm-x86_64/msi.h
include/asm-x86_64/smp.h