<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/iommu/iommu.c, branch dev</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2015-06-29T19:57:19+00:00</updated>
<entry>
<title>iommu: Ignore -ENODEV errors from add_device call-back</title>
<updated>2015-06-29T19:57:19+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2015-06-29T08:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=38667f18900afe172a4fe44279b132b4140f920f'/>
<id>urn:sha1:38667f18900afe172a4fe44279b132b4140f920f</id>
<content type='text'>
The -ENODEV error just means that the device is not
translated by an IOMMU. We shouldn't bail out of iommu
driver initialization when that happens, as this is a common
scenario on ARM.

Not returning -ENODEV in the drivers would be a bad idea, as
the IOMMU core would have no indication whether a device is
translated or not. This indication is not used at the
moment, but will probably be in the future.

Fixes: 19762d7 ("iommu: Propagate error in add_iommu_group")
Tested-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Tested-by: Eric Auger &lt;eric.auger@linaro.org&gt;
Tested-by: Heiko Stuebner &lt;heiko@sntech.de&gt;
Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branches 'arm/rockchip', 'arm/exynos', 'arm/smmu', 'x86/vt-d', 'x86/amd', 'default-domains' and 'core' into next</title>
<updated>2015-06-19T15:17:47+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2015-06-19T15:17:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5ffde2f67181195d457b95df44b8f88e8d969d89'/>
<id>urn:sha1:5ffde2f67181195d457b95df44b8f88e8d969d89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>iommu: Checking for NULL instead of IS_ERR</title>
<updated>2015-06-11T07:42:25+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2015-06-10T10:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=409e553deeeb08d644ed1110e0f1c97b71cb6409'/>
<id>urn:sha1:409e553deeeb08d644ed1110e0f1c97b71cb6409</id>
<content type='text'>
The iommu_group_alloc() and iommu_group_get_for_dev()
functions return error pointers, they never return NULL.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
</content>
</entry>
<entry>
<title>iommu: Introduce iommu_request_dm_for_dev()</title>
<updated>2015-06-11T07:01:55+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2015-05-28T16:41:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=d290f1e70d85a9a4d124594c6a3d769329960bdc'/>
<id>urn:sha1:d290f1e70d85a9a4d124594c6a3d769329960bdc</id>
<content type='text'>
This function can be called by an IOMMU driver to request
that a device's default domain is direct mapped.

Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
</content>
</entry>
<entry>
<title>iommu: Add function to query the default domain of a group</title>
<updated>2015-06-09T06:55:24+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2015-05-28T16:41:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=6827ca83695d5e41ad31b0719788ee65f00ca4b3'/>
<id>urn:sha1:6827ca83695d5e41ad31b0719788ee65f00ca4b3</id>
<content type='text'>
This will be used to handle unity mappings in the iommu
drivers.

Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
</content>
</entry>
<entry>
<title>iommu: Create direct mappings in default domains</title>
<updated>2015-06-09T06:55:24+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2015-05-28T16:41:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=beed2821b4f42c268222c4c1f1795e53340acf64'/>
<id>urn:sha1:beed2821b4f42c268222c4c1f1795e53340acf64</id>
<content type='text'>
Use the information exported by the IOMMU drivers to create
direct mapped regions in the default domains.

Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
</content>
</entry>
<entry>
<title>iommu: Introduce direct mapped region handling</title>
<updated>2015-06-09T06:55:23+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2015-05-28T16:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=a1015c2b99b94cf521603b41debf167114031456'/>
<id>urn:sha1:a1015c2b99b94cf521603b41debf167114031456</id>
<content type='text'>
Add two new functions to the IOMMU-API to allow the IOMMU
drivers to export the requirements for direct mapped regions
per device.
This is useful for exporting the information in Intel VT-d's
RMRR entries or AMD-Vi's unity mappings.

Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
</content>
</entry>
<entry>
<title>iommu: Add iommu_get_domain_for_dev function</title>
<updated>2015-06-09T06:55:23+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2015-05-28T16:41:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=2c1296d92ac0367364bcb73a43c12a0bdfbfee75'/>
<id>urn:sha1:2c1296d92ac0367364bcb73a43c12a0bdfbfee75</id>
<content type='text'>
This function can be used to request the current domain a
device is attached to.

Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
</content>
</entry>
<entry>
<title>iommu: Make sure a device is always attached to a domain</title>
<updated>2015-06-09T06:55:22+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2015-05-28T16:41:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=e39cb8a3aa988a74433a3f26443b454cca033651'/>
<id>urn:sha1:e39cb8a3aa988a74433a3f26443b454cca033651</id>
<content type='text'>
Make use of the default domain and re-attach a device to it
when it is detached from another domain. Also enforce that a
device has to be in the default domain before it can be
attached to a different domain.

Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
</content>
</entry>
<entry>
<title>iommu: Limit iommu_attach/detach_device to devices with their own group</title>
<updated>2015-06-09T06:55:21+00:00</updated>
<author>
<name>Joerg Roedel</name>
<email>jroedel@suse.de</email>
</author>
<published>2015-05-28T16:41:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=426a273834eae65abcfc7132a21a85b3151e0bce'/>
<id>urn:sha1:426a273834eae65abcfc7132a21a85b3151e0bce</id>
<content type='text'>
This patch changes the behavior of the iommu_attach_device
and iommu_detach_device functions. With this change these
functions only work on devices that have their own group.
For all other devices the iommu_group_attach/detach
functions must be used.

Signed-off-by: Joerg Roedel &lt;jroedel@suse.de&gt;
</content>
</entry>
</feed>
