On Thu, Mar 22, 2007 at 01:15:31AM -0700, Steve Langasek wrote:
> In the meantime, I don't see any reason why we shouldn't patch the kernel to
> disable hw iommu on nvidia systems only. I believe the attached patch
> should do this. Are you in a position to confirm that this does disable hw
> iommu for you?
The kernel already includes similar code for VIA chipsets. Why is this
snippet slightly different to the original one?
Upstream head uses
| static void __init via_bugs(void)
| {
| #ifdef CONFIG_IOMMU
| if ((end_pfn > MAX_DMA32_PFN || force_iommu) &&
| !iommu_aperture_allowed) {
| printk(KERN_INFO
| "Looks like a VIA chipset. Disabling IOMMU. Override with iommu=allowed\n");
| iommu_aperture_disabled = 1;
| }
| #endif
| }
Bastian
--
If some day we are defeated, well, war has its fortunes, good and bad.
-- Commander Kor, "Errand of Mercy", stardate 3201.7
Attachment:
signature.asc
Description: Digital signature