On Tue, 2011-11-22 at 23:30 -0800, cody wrote: > I have a question, Intel VT-d manual says the coherency bit is "RO", how > can it be configurable by the BIOS? Or there's another way to configure > the IOMMU to be coherent or non-coherent? (I didn't find such info in > the manual. I missed it?) It's not in the manual. We hide it so that only the BIOS can set it. It's only read-only to *you*, the operating system that's supposed to have control of the hardware. You might think that we should expose it to the OS so that it can be set according to the *usage* — so perhaps you'd set it non-coherent for VM use (where you rarely modify the page tables) and coherent for host-based DMA protection (where the constant clflushes in the fast path cause a 10% performance hit on network bandwidth testing). However, that would not be consistent with our goal of ensuring that the BIOS can *always* screw you over as much as possible. -- dwmw2 -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html