ahci: disable SNotification capability for ich8
authorShaohua Li <shaohua.li@intel.com>
Mon, 16 Nov 2009 01:56:05 +0000 (09:56 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 07:46:34 +0000 (02:46 -0500)
commit1b677afda44f7882b7e257d6f025d006ec5d14f9
treeaac59bb9fdb5e39b2f31c97be3bf92591a005059
parentdae77214fa71898b84514e43721fb7bf260b026a
ahci: disable SNotification capability for ich8

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>
drivers/ata/ahci.c