lkml.org 
[lkml]   [2008]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: RFC: banning device driver reserved resources from /dev/mem
    > I think the proper solution is to make /dev/mem pure diagnostic tool.
    > Drivers should use /sys mappings of pci devices to access their iomem

    Only a tiny fraction of devices in the world are PCI, and those platforms
    where you most what /dev/mem type debugging tools are often those without
    PCI

    > , or even better they should not touch pci mappings
    > directly at all, but talk to kernel, and if xorg needs access
    > to video memory it should talk to drm and get its mapping from there.

    Most video cards don't use DRM, but the kernel does have the same video
    memory mapped for text consoles.

    Alan


    \
     
     \ /
      Last update: 2008-10-06 15:51    [W:0.114 / U:90.484 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site