* [PATCH] iommu/tegra: Add missing spinlock initialization
@ 2013-02-04 12:31 Sami Liedes
[not found] ` <1359981110-9924-1-git-send-email-sliedes-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Sami Liedes @ 2013-02-04 12:31 UTC (permalink / raw)
To: iommu
Cc: Sami Liedes, Joerg Roedel, Hiroshi Doyu, Stephen Warren,
Greg Kroah-Hartman, Thierry Reding, linux-kernel
Fix tegra_smmu_probe() to initialize client_lock spinlocks in
per-address-space structures.
Signed-off-by: Sami Liedes <sliedes@nvidia.com>
---
drivers/iommu/tegra-smmu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/iommu/tegra-smmu.c b/drivers/iommu/tegra-smmu.c
index f08dbcd..46cc8cf 100644
--- a/drivers/iommu/tegra-smmu.c
+++ b/drivers/iommu/tegra-smmu.c
@@ -1,7 +1,7 @@
/*
* IOMMU API for SMMU in Tegra30
*
- * Copyright (c) 2011-2012, NVIDIA CORPORATION. All rights reserved.
+ * Copyright (c) 2011-2013, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
@@ -1217,6 +1217,7 @@ static int tegra_smmu_probe(struct platform_device *pdev)
as->pte_attr = _PTE_ATTR;
spin_lock_init(&as->lock);
+ spin_lock_init(&as->client_lock);
INIT_LIST_HEAD(&as->client);
}
spin_lock_init(&smmu->lock);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iommu/tegra: Add missing spinlock initialization
[not found] ` <1359981110-9924-1-git-send-email-sliedes-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2013-02-04 14:13 ` Joerg Roedel
0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2013-02-04 14:13 UTC (permalink / raw)
To: Sami Liedes
Cc: Stephen Warren, Greg Kroah-Hartman, Thierry Reding,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
On Mon, Feb 04, 2013 at 02:31:48PM +0200, Sami Liedes wrote:
> Fix tegra_smmu_probe() to initialize client_lock spinlocks in
> per-address-space structures.
>
> Signed-off-by: Sami Liedes <sliedes-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Applied to arm/tegra, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-04 14:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 12:31 [PATCH] iommu/tegra: Add missing spinlock initialization Sami Liedes
[not found] ` <1359981110-9924-1-git-send-email-sliedes-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-02-04 14:13 ` Joerg Roedel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).