<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in Makefile</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>015d239a - uacce: add uacce driver</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/misc/uacce/Makefile#015d239a</link>
        <description>uacce: add uacce driverUacce (Unified/User-space-access-intended Accelerator Framework) targets toprovide Shared Virtual Addressing (SVA) between accelerators and processes.So accelerator can access any data structure of the main cpu.This differs from the data sharing between cpu and io device, which shareonly data content rather than address.Since unified address, hardware and user space of process can share thesame virtual address in the communication.Uacce create a chrdev for every registration, the queue is allocated tothe process when the chrdev is opened. Then the process can access thehardware resource by interact with the queue file. By mmap the queuefile space to user space, the process can directly put requests to thehardware without syscall to the kernel space.The IOMMU core only tracks mm&lt;-&gt;device bonds at the moment, because itonly needs to handle IOTLB invalidation and PASID table entries. Howeveruacce needs a finer granularity since multiple queues from the samedevice can be bound to an mm. When the mm exits, all bound queues mustbe stopped so that the IOMMU can safely clear the PASID table entry andreallocate the PASID.An intermediate struct uacce_mm links uacce devices and queues.Note that an mm may be bound to multiple devices but an uacce_mmstructure only ever belongs to a single device, because we don&apos;t needanything more complex (if multiple devices are bound to one mm, thenwe&apos;ll create one uacce_mm for each bond).        uacce_device --+-- uacce_mm --+-- uacce_queue                       |              &apos;-- uacce_queue                       |                       &apos;-- uacce_mm --+-- uacce_queue                                      +-- uacce_queue                                      &apos;-- uacce_queueReviewed-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;Reviewed-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;Signed-off-by: Kenneth Lee &lt;liguozhu@hisilicon.com&gt;Signed-off-by: Zaibo Xu &lt;xuzaibo@huawei.com&gt;Signed-off-by: Zhou Wang &lt;wangzhou1@hisilicon.com&gt;Signed-off-by: Jean-Philippe Brucker &lt;jean-philippe@linaro.org&gt;Signed-off-by: Zhangfei Gao &lt;zhangfei.gao@linaro.org&gt;Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;

            List of files:
            /linux-6.15/drivers/misc/uacce/Makefile</description>
        <pubDate>Tue, 11 Feb 2020 07:54:23 +0000</pubDate>
        <dc:creator>Kenneth Lee &lt;liguozhu@hisilicon.com&gt;</dc:creator>
    </item>
</channel>
</rss>
