Re: [PATCH] x86: Disable HPET MSI on ATI SB700/SB800

From: Linus Torvalds
Date: Mon May 17 2010 - 21:04:53 EST




On Mon, 17 May 2010, Robert Hancock wrote:
>
> If one wanted, you could disable HPET MSI on this chipset only when a driver
> requests an ISA DMA channel. Then if there's no floppy or other LPC DMA device
> present, it can stay enabled. I don't know if it's worth the trouble, though.

Nope, that wouldn't work.

Imagine a driver that already loaded, and is already using MSI (say,
network device). What happens now if you want to access the floppy and
load the floppy module? Oh, you can't? Need to bring down the network
interface, unload that module first? Not practical.

Sure, in theory we can do some crazy callback for "you now need to re-do
your interrupt registration" for all devices. In practice, I can onyl say
"not going to happen".

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/