ahci: disable SNotification capability for ich8
authorShaohua Li <shaohua.li@intel.com>
Mon, 16 Nov 2009 01:56:05 +0000 (09:56 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Jan 2010 23:02:15 +0000 (15:02 -0800)
commit3de08a120ab3ac85bfc31e03b5d2dc2758a3bd21
tree402e73b80587bd13130b833386685972f797b973
parentc817c1975bd7d46bc8af3ccacde8d86353bed02a
ahci: disable SNotification capability for ich8

commit 1b677afda44f7882b7e257d6f025d006ec5d14f9 upstream.

I obseved there is a sata_async_notification() for every ahci
interrupt. But the async notification does nothing (this is hard
disk drive and no pmp). This cause cpu wastes some time on sntf
register access.

It appears ICH AHCI doesn't support SNotification register, but the
controller reports it does. After quirking it, the async notification
disappears.

PS. it appears all ICH don't support SNotification register from ICH
manual, don't know if we need quirk all ICH. I don't have machines
with all kinds of ICH.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ata/ahci.c