Re: [RFC] Simple userspace interface for PCI drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matt Porter <[email protected]> writes:
> 
> What about portable access to the PCI DMA API from userspace? 

We'll definitely need this for X11 anyways. Currently it is not
possible to run the standard X server with a IOMMU that isolates
the graphics card because it has no way to get at the GPU MMIO
registers then.

My long-term plan was to integrate it in /sys/bus/pci mmaps
(together with PAT etc.). When you mmap it there the kernel
allocates a DMA mapping and then frees it on unmap.

Then it should hopefully just work.

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux