<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/iommu.h, branch v3.10.106</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.106</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.106'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-05-02T10:10:19Z</updated>
<entry>
<title>Merge branches 'iommu/fixes', 'x86/vt-d', 'x86/amd', 'ppc/pamu', 'core' and 'arm/tegra' into next</title>
<updated>2013-05-02T10:10:19Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2013-05-02T10:10:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0c4513be3d01a854867446ee793748409cc0ebdf'/>
<id>urn:sha1:0c4513be3d01a854867446ee793748409cc0ebdf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>iommu: Add a function to find an iommu group by id</title>
<updated>2013-04-24T17:56:51Z</updated>
<author>
<name>Alexey Kardashevskiy</name>
<email>aik@ozlabs.ru</email>
</author>
<published>2013-03-24T23:23:49Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=aa16bea929aed6ea854b55d2be8306a9fb40e694'/>
<id>urn:sha1:aa16bea929aed6ea854b55d2be8306a9fb40e694</id>
<content type='text'>
As IOMMU groups are exposed to the user space by their numbers,
the user space can use them in various kernel APIs so the kernel
might need an API to find a group by its ID.

As an example, QEMU VFIO on PPC64 platform needs it to associate
a logical bus number (LIOBN) with a specific IOMMU group in order
to support in-kernel handling of DMA map/unmap requests.

The patch adds the iommu_group_get_by_id(id) function which performs
such search.

v2: fixed reference counting.

Signed-off-by: Alexey Kardashevskiy &lt;aik@ozlabs.ru&gt;
Acked-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
</content>
</entry>
<entry>
<title>iommu: Include linux/err.h</title>
<updated>2013-04-19T19:05:10Z</updated>
<author>
<name>Wang YanQing</name>
<email>udknight@gmail.com</email>
</author>
<published>2013-04-19T01:38:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9a08d3766874835f4eba1b3d66938326c069d817'/>
<id>urn:sha1:9a08d3766874835f4eba1b3d66938326c069d817</id>
<content type='text'>
The linux/iommu.h header uses ERR_PTR defined
in linux/err.h but doesn't include it.

Cc:joro@8bytes.org
Reviewed-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
Signed-off-by: Wang YanQing &lt;udknight@gmail.com&gt;
Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
</content>
</entry>
<entry>
<title>iommu/fsl: Add the window permission flag as a parameter to iommu_window_enable API.</title>
<updated>2013-04-02T16:20:53Z</updated>
<author>
<name>Varun Sethi</name>
<email>Varun.Sethi@freescale.com</email>
</author>
<published>2013-03-28T19:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=80f97f0f73b82444f714651ea053838d27779dca'/>
<id>urn:sha1:80f97f0f73b82444f714651ea053838d27779dca</id>
<content type='text'>
Each iommu window can have access permissions associated with it. Extended the
window_enable API to incorporate window access permissions.

In case of PAMU each window can have its specific set of permissions.

Signed-off-by: Varun Sethi &lt;Varun.Sethi@freescale.com&gt;
Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
</content>
</entry>
<entry>
<title>iommu/fsl: Make iova dma_addr_t in the iommu_iova_to_phys API.</title>
<updated>2013-04-02T16:20:53Z</updated>
<author>
<name>Varun Sethi</name>
<email>Varun.Sethi@freescale.com</email>
</author>
<published>2013-03-28T19:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bb5547acfcd842950b8a22aa83f84af93388b9f2'/>
<id>urn:sha1:bb5547acfcd842950b8a22aa83f84af93388b9f2</id>
<content type='text'>
This is required in case of PAMU, as it can support a window size of up
to 64G (even on 32bit).

Signed-off-by: Varun Sethi &lt;Varun.Sethi@freescale.com&gt;
Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
</content>
</entry>
<entry>
<title>iommu: Add DOMAIN_ATTR_WINDOWS domain attribute</title>
<updated>2013-02-06T09:47:28Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2013-02-04T13:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=693567125bde1966a095267a9d8ca1b8d40f59ee'/>
<id>urn:sha1:693567125bde1966a095267a9d8ca1b8d40f59ee</id>
<content type='text'>
This attribute can be used to set and get the number of
subwindows on IOMMUs that are window-based.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
</content>
</entry>
<entry>
<title>iommu: Add domain window handling functions</title>
<updated>2013-02-06T09:47:22Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2013-01-29T13:26:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d7787d579cbef9f8079104759a2259fc916c688c'/>
<id>urn:sha1:d7787d579cbef9f8079104759a2259fc916c688c</id>
<content type='text'>
Add the iommu_domain_window_enable() and iommu_domain_window_disable()
functions to the IOMMU-API. These functions will be used to setup
domains that are based on subwindows and not on paging.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
</content>
</entry>
<entry>
<title>iommu: Implement DOMAIN_ATTR_PAGING attribute</title>
<updated>2013-02-06T09:47:11Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2013-01-29T12:49:04Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d2e121601619631517409cba34e50db3cbff5852'/>
<id>urn:sha1:d2e121601619631517409cba34e50db3cbff5852</id>
<content type='text'>
This attribute of a domain can be queried to find out if the
domain supports setting up page-tables using the iommu_map()
and iommu_unmap() functions.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
</content>
</entry>
<entry>
<title>iommu: Make sure DOMAIN_ATTR_MAX is really the maximum</title>
<updated>2013-02-06T09:46:53Z</updated>
<author>
<name>Joerg Roedel</name>
<email>joro@8bytes.org</email>
</author>
<published>2013-01-29T13:36:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a8b8a88a9e3042d41326c854272c881664acba1c'/>
<id>urn:sha1:a8b8a88a9e3042d41326c854272c881664acba1c</id>
<content type='text'>
Move it to the end of the list.

Signed-off-by: Joerg Roedel &lt;joro@8bytes.org&gt;
</content>
</entry>
<entry>
<title>iommu: static inline iommu group stub functions</title>
<updated>2012-09-25T10:14:56Z</updated>
<author>
<name>Alex Williamson</name>
<email>alex.williamson@redhat.com</email>
</author>
<published>2012-09-25T03:23:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bef83de5a0e3031ff6ff9584b458611a7ac01b85'/>
<id>urn:sha1:bef83de5a0e3031ff6ff9584b458611a7ac01b85</id>
<content type='text'>
Signed-off-by: Alex Williamson &lt;alex.williamson@redhat.com&gt;
Signed-off-by: Joerg Roedel &lt;joerg.roedel@amd.com&gt;
</content>
</entry>
</feed>
