[lkml]   [2009]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Enable GART-IOMMU only after setting up protection methods
    On Wed, Apr 8, 2009 at 2:08 PM, Mark Langsdorf <> wrote:
    > The current code to set up the GART as an IOMMU enables GART
    > translations before it removes the aperture from the kernel
    > memory map, sets the GART PTEs to UC, sets up the guard and
    > scratch pages, or does a wbinvd().  This leaves the possibility
    > of cache aliasing open and can cause system crashes.
    > Re-order the code and add tlbflush so as to enable the
    > GART translations only after all safeguards are in place and
    > the tlb has been flushed.
    > AMD has tested this patch and seen no adverse effects.

    how about system with AGP card and more than 4g system RAM?

    also it seems flush_gart() in init_k8_gatt() and gart_iommu_init()
    could be removed?

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-04-09 06:47    [W:0.025 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site