All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] iommu/exynos: Remove invalid symbol dependency
@ 2014-05-22  4:20 Sachin Kamat
       [not found] ` <1400732456-5716-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Sachin Kamat @ 2014-05-22  4:20 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
  Cc: sachin.kamat-QSEj5FYQhm4dnm+yROfE0A,
	pullip.cho-Sze3O3UU22JBDgjK7y7TUQ,
	shaik.ameer-Sze3O3UU22JBDgjK7y7TUQ

EXYNOS_DEV_SYSMMU symbol is not defined anywhere and prevents building
the Exynos driver. Remove it.

Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
 drivers/iommu/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index df56e4c74a7e..b067a62263d1 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -178,7 +178,7 @@ config TEGRA_IOMMU_SMMU
 
 config EXYNOS_IOMMU
 	bool "Exynos IOMMU Support"
-	depends on ARCH_EXYNOS && EXYNOS_DEV_SYSMMU
+	depends on ARCH_EXYNOS
 	select IOMMU_API
 	help
 	  Support for the IOMMU(System MMU) of Samsung Exynos application
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/3] iommu/exynos: Fix trivial typo
       [not found] ` <1400732456-5716-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
@ 2014-05-22  4:20   ` Sachin Kamat
  2014-05-22  4:20   ` [PATCH 3/3] iommu/exynos: Fix checkpatch warning Sachin Kamat
  2014-05-26  9:52   ` [PATCH 1/3] iommu/exynos: Remove invalid symbol dependency Joerg Roedel
  2 siblings, 0 replies; 4+ messages in thread
From: Sachin Kamat @ 2014-05-22  4:20 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
  Cc: sachin.kamat-QSEj5FYQhm4dnm+yROfE0A,
	pullip.cho-Sze3O3UU22JBDgjK7y7TUQ,
	shaik.ameer-Sze3O3UU22JBDgjK7y7TUQ

Fix typo and add missing punctuation.

Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
 drivers/iommu/Kconfig |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index b067a62263d1..422807ff0999 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -181,10 +181,10 @@ config EXYNOS_IOMMU
 	depends on ARCH_EXYNOS
 	select IOMMU_API
 	help
-	  Support for the IOMMU(System MMU) of Samsung Exynos application
-	  processor family. This enables H/W multimedia accellerators to see
-	  non-linear physical memory chunks as a linear memory in their
-	  address spaces
+	  Support for the IOMMU (System MMU) of Samsung Exynos application
+	  processor family. This enables H/W multimedia accelerators to see
+	  non-linear physical memory chunks as linear memory in their
+	  address space.
 
 	  If unsure, say N here.
 
@@ -193,9 +193,9 @@ config EXYNOS_IOMMU_DEBUG
 	depends on EXYNOS_IOMMU
 	help
 	  Select this to see the detailed log message that shows what
-	  happens in the IOMMU driver
+	  happens in the IOMMU driver.
 
-	  Say N unless you need kernel log message for IOMMU debugging
+	  Say N unless you need kernel log message for IOMMU debugging.
 
 config SHMOBILE_IPMMU
 	bool
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 3/3] iommu/exynos: Fix checkpatch warning
       [not found] ` <1400732456-5716-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  2014-05-22  4:20   ` [PATCH 2/3] iommu/exynos: Fix trivial typo Sachin Kamat
@ 2014-05-22  4:20   ` Sachin Kamat
  2014-05-26  9:52   ` [PATCH 1/3] iommu/exynos: Remove invalid symbol dependency Joerg Roedel
  2 siblings, 0 replies; 4+ messages in thread
From: Sachin Kamat @ 2014-05-22  4:20 UTC (permalink / raw)
  To: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA
  Cc: sachin.kamat-QSEj5FYQhm4dnm+yROfE0A,
	pullip.cho-Sze3O3UU22JBDgjK7y7TUQ,
	shaik.ameer-Sze3O3UU22JBDgjK7y7TUQ

Silences the following type of warnings:
WARNING: Missing a blank line after declarations

Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
 drivers/iommu/exynos-iommu.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
index 09f69b1d80fc..99054d2c040d 100644
--- a/drivers/iommu/exynos-iommu.c
+++ b/drivers/iommu/exynos-iommu.c
@@ -268,6 +268,7 @@ static void __sysmmu_tlb_invalidate_entry(void __iomem *sfrbase,
 				sysmmu_iova_t iova, unsigned int num_inv)
 {
 	unsigned int i;
+
 	for (i = 0; i < num_inv; i++) {
 		__raw_writel((iova & SPAGE_MASK) | 1,
 				sfrbase + REG_MMU_FLUSH_ENTRY);
@@ -878,6 +879,7 @@ static sysmmu_pte_t *alloc_lv2entry(struct exynos_iommu_domain *priv,
 		 */
 		if (need_flush_flpd_cache) {
 			struct exynos_iommu_owner *owner;
+
 			spin_lock(&priv->lock);
 			list_for_each_entry(owner, &priv->clients, client)
 				sysmmu_tlb_invalidate_flpdcache(
@@ -941,6 +943,7 @@ static int lv2set_page(sysmmu_pte_t *pent, phys_addr_t paddr, size_t size,
 		*pgcnt -= 1;
 	} else { /* size == LPAGE_SIZE */
 		int i;
+
 		for (i = 0; i < SPAGES_PER_LPAGE; i++, pent++) {
 			if (WARN_ON(!lv2ent_fault(pent))) {
 				if (i > 0)
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/3] iommu/exynos: Remove invalid symbol dependency
       [not found] ` <1400732456-5716-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
  2014-05-22  4:20   ` [PATCH 2/3] iommu/exynos: Fix trivial typo Sachin Kamat
  2014-05-22  4:20   ` [PATCH 3/3] iommu/exynos: Fix checkpatch warning Sachin Kamat
@ 2014-05-26  9:52   ` Joerg Roedel
  2 siblings, 0 replies; 4+ messages in thread
From: Joerg Roedel @ 2014-05-26  9:52 UTC (permalink / raw)
  To: Sachin Kamat
  Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	pullip.cho-Sze3O3UU22JBDgjK7y7TUQ,
	shaik.ameer-Sze3O3UU22JBDgjK7y7TUQ

On Thu, May 22, 2014 at 09:50:54AM +0530, Sachin Kamat wrote:
> EXYNOS_DEV_SYSMMU symbol is not defined anywhere and prevents building
> the Exynos driver. Remove it.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

Applied all 3, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-26  9:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-22  4:20 [PATCH 1/3] iommu/exynos: Remove invalid symbol dependency Sachin Kamat
     [not found] ` <1400732456-5716-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-05-22  4:20   ` [PATCH 2/3] iommu/exynos: Fix trivial typo Sachin Kamat
2014-05-22  4:20   ` [PATCH 3/3] iommu/exynos: Fix checkpatch warning Sachin Kamat
2014-05-26  9:52   ` [PATCH 1/3] iommu/exynos: Remove invalid symbol dependency Joerg Roedel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.