lkml.org 
[lkml]   [2008]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] disable CPU side GART accesses


    On Wed, 15 Oct 2008, Bob Montgomery wrote:
    >
    > This patch changes the initialization of the GART to set the DISGARTCPU
    > bit in the GART Aperture Control Register (AMD64_GARTAPERTURECTL).
    > Setting the bit prevents requests from the CPUs from accessing the
    > GART. In other words, CPU memory accesses to the aperture address
    > range will not cause the GART to perform an address translation.
    > The aperture area is currently being unmapped at the kernel level
    > with set_memory_np() in gart_iommu_init to prevent accesses from the
    > CPU [...]

    Would this allow us to get rid of that particular hackup code sequence
    entirely? Or do we still need them for other chip versions etc?

    Also, the whole iommu/gart thing seems to have a lot of people who have
    worked on it, are the right people cc'd? Pavel seems to have touched the
    code last, but it seems to be originally done by Andi and then with
    touches by DaveJ.

    I get the feeling that the people cc'd are kdump people, not iommu/gart
    people, which is a bit sad.

    Linus


    \
     
     \ /
      Last update: 2008-10-16 01:43    [W:2.419 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site