projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a62ced
)
iommu/dart: Clean up IOVA cookie crumbs
author
Robin Murphy
<robin.murphy@arm.com>
Mon, 13 Sep 2021 12:40:05 +0000
(13:40 +0100)
committer
Joerg Roedel
<jroedel@suse.de>
Tue, 28 Sep 2021 09:20:41 +0000
(11:20 +0200)
The addition of the DART driver crossed over with moving IOVA cookie
management into core code; clean up the now-unnecessary remnants here.
Acked-by: Sven Peter <sven@svenpeter.dev>
Tested-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link:
https://lore.kernel.org/r/edb72b4965baa8999dd70b8294785d6deebd4183.1631531973.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/apple-dart.c
patch
|
blob
|
history
diff --git
a/drivers/iommu/apple-dart.c
b/drivers/iommu/apple-dart.c
index 559db9259e65c76ebf1eef2e02dd2c61be2de929..cdc2e83b21864b99db8b7dbb31a21b6cc277c5bd 100644
(file)
--- a/
drivers/iommu/apple-dart.c
+++ b/
drivers/iommu/apple-dart.c
@@
-15,7
+15,6
@@
#include <linux/bitfield.h>
#include <linux/clk.h>
#include <linux/dev_printk.h>
-#include <linux/dma-iommu.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/interrupt.h>
@@
-596,7
+595,6
@@
static struct iommu_domain *apple_dart_domain_alloc(unsigned int type)
if (!dart_domain)
return NULL;
- iommu_get_dma_cookie(&dart_domain->domain);
mutex_init(&dart_domain->init_lock);
/* no need to allocate pgtbl_ops or do any other finalization steps */