bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cache coherency in DMA and MMIO


From: Samuel Thibault
Subject: Re: cache coherency in DMA and MMIO
Date: Thu, 22 Apr 2010 16:51:38 +0200
User-agent: Mutt/1.5.12-2006-07-14

Hello,

Da Zheng, le Thu 22 Apr 2010 22:37:51 +0800, a écrit :
> So does the driver need to consider about cache coherency problems on PC when
> interacting with the external device?

Yes (since you can not rely on the BIOS), you need to remap the mmio
range with cache disabled: INTEL_PTE_NCACHE|INTEL_PTE_WTHRU. This should
already be done by pmap_enter().

Samuel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]