Re: [PATCH] (Longhaul 1/5) PCI: Protect bus master DMA from Longhaulby rw semaphores

From: Rafał Bilski
Date: Thu Jun 29 2006 - 08:49:40 EST


Bart Hartgers napisał(a):
> Alan Cox wrote:
>> Ar Mer, 2006-06-28 am 20:25 +0200, ysgrifennodd Rafał Bilski:
>>> AUTOHALT, this means interrupts must be disabled except for the time tick,
>>> which should be reset to >=1ms. Care must be taken to avoid other system events
>>> that could interfere with this operation. A few examples are snooping, NMI,
>>> INIT, SMI and FLUSH."
>> "snooping". So we do need the cache sorting out.
>>
>
> If I understand correctly, trouble occurs when the processor tries to
> snoop? Would disabling (via MSR) and flushing the caches before changing
> the frequency help in that case?
>
> Groeten,
> Bart
>

I will check that. If this was so simple all this time...
I hope this "few examples" aren't many more.

Rafał


----------------------------------------------------------------------
PS. Fajny portal... >>> http://link.interia.pl/f196a

-
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/