* [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