lkml.org 
[lkml]   [2004]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: PAT support
    From
    Date
    Terence Ripperda <tripperda@nvidia.com> writes:

    Hi Terence,

    > this current patch includes the original PAT support and the new
    > cachemap mechanism. note that the cachemap mechanism does not
    > actually change any caching attributes, it only keeps track of the
    > attributes and tests regions. I think the end idea would be that
    > drivers would use the normal
    > ioremap/change_page_attr/remap_page_range mechanisms like they
    > already do, and these mechanisms would in turn use cachemap to make
    > sure there's no conflicts. I'm completely open to how any specific
    > details should work, and any changes needed to be made.

    Looks good for starting. The patch could use some minor cleanup still,
    but it should be good enough for testing.

    As for an interface - i still think it would be cleaner to just
    call it from change_page_attr(). Then other users only need to
    call a single function. But that's easily changed.

    To make it really useful I think we need ioremap_wrcomb() and support
    in the bus/pci mmap function (the PCI layer already has ioctls for this,
    they are just ignored on i386 right). Then the X server could
    start using it.

    Without any users the testing coverage would be probably not too good,
    but it needs some testing in the real world before it could
    be merged first. Maybe it could be simply hooked into the AGP
    driver and into some DRM driver. Then people would start testing
    it at least.

    -Andi

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:02    [W:9.123 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site