]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07c1e4078983844cbcf2dd1b9c8fbb9fe57e5e7f
treeaac59bb9fdb5e39b2f31c97be3bf92591a005059
parent1ec632bef2f61eaa20f7489261aaf6b489f38e53
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