* [PATCH v2] OMAP2/3: DMA errata correction
@ 2009-08-13 2:01 Vikram Pandita
2009-08-13 14:18 ` Kevin Hilman
0 siblings, 1 reply; 3+ messages in thread
From: Vikram Pandita @ 2009-08-13 2:01 UTC (permalink / raw)
To: linux-omap; +Cc: Vikram Pandita
This errata is valid for:
OMAP2420 Errata 1.85 Impacts all 2420 ES rev
OMAP2430 Errata 1.10 Impacts only ES1.0
Description: DMA may hang when several channels are used in parallel
OMAP3430: Not impacted, so remove the errata fix for omap3
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Reviewed-by: Kamat, Nishant <nskamat@ti.com>
---
[Note: Respin of -
http://patchwork.kernel.org/patch/32513/
Incorporated Nishant's review comment]
arch/arm/plat-omap/dma.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index 34939bf..bf08634 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -946,7 +946,9 @@ void omap_start_dma(int lch)
cur_lch = next_lch;
} while (next_lch != -1);
- } else if (cpu_class_is_omap2()) {
+ } else if (cpu_is_omap242x() ||
+ (cpu_is_omap243x() && omap_type() <= OMAP2430_REV_ES1_0)) {
+
/* Errata: Need to write lch even if not using chaining */
dma_write(lch, CLNK_CTRL(lch));
}
--
1.6.3.3.334.g916e1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH v2] OMAP2/3: DMA errata correction
2009-08-13 2:01 [PATCH v2] OMAP2/3: DMA errata correction Vikram Pandita
@ 2009-08-13 14:18 ` Kevin Hilman
0 siblings, 0 replies; 3+ messages in thread
From: Kevin Hilman @ 2009-08-13 14:18 UTC (permalink / raw)
To: Vikram Pandita; +Cc: linux-omap
Vikram Pandita <vikram.pandita@ti.com> writes:
> This errata is valid for:
> OMAP2420 Errata 1.85 Impacts all 2420 ES rev
> OMAP2430 Errata 1.10 Impacts only ES1.0
> Description: DMA may hang when several channels are used in parallel
>
> OMAP3430: Not impacted, so remove the errata fix for omap3
>
> Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
> Reviewed-by: Kamat, Nishant <nskamat@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
> ---
> [Note: Respin of -
> http://patchwork.kernel.org/patch/32513/
> Incorporated Nishant's review comment]
> arch/arm/plat-omap/dma.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
> index 34939bf..bf08634 100644
> --- a/arch/arm/plat-omap/dma.c
> +++ b/arch/arm/plat-omap/dma.c
> @@ -946,7 +946,9 @@ void omap_start_dma(int lch)
>
> cur_lch = next_lch;
> } while (next_lch != -1);
> - } else if (cpu_class_is_omap2()) {
> + } else if (cpu_is_omap242x() ||
> + (cpu_is_omap243x() && omap_type() <= OMAP2430_REV_ES1_0)) {
> +
> /* Errata: Need to write lch even if not using chaining */
> dma_write(lch, CLNK_CTRL(lch));
> }
> --
> 1.6.3.3.334.g916e1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2] OMAP2/3: DMA errata correction
@ 2009-06-29 13:08 Vikram Pandita
0 siblings, 0 replies; 3+ messages in thread
From: Vikram Pandita @ 2009-06-29 13:08 UTC (permalink / raw)
To: linux-omap; +Cc: Vikram Pandita
This errata is valid for:
OMAP2420 Errata 1.85 Impacts all 2420 ES rev
OMAP2430 Errata 1.10 Impacts only ES1.0
Description: DMA may hang when several channels are used in parallel
OMAP3430: Not impacted, so remove the errata fix for omap3
Fixed issue reported on cpu_is_omap24xx check reported by Nishant Kamat
Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Reviewed-by: Nishant Kamat <nskamat@ti.com>
---
arch/arm/plat-omap/dma.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index 7677a4a..e3ac94f 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -946,7 +946,9 @@ void omap_start_dma(int lch)
cur_lch = next_lch;
} while (next_lch != -1);
- } else if (cpu_class_is_omap2()) {
+ } else if (cpu_is_omap242x() ||
+ (cpu_is_omap243x() && omap_type() <= OMAP2430_REV_ES1_0)) {
+
/* Errata: Need to write lch even if not using chaining */
dma_write(lch, CLNK_CTRL(lch));
}
--
1.6.3.3.334.g916e1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-13 14:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-13 2:01 [PATCH v2] OMAP2/3: DMA errata correction Vikram Pandita
2009-08-13 14:18 ` Kevin Hilman
-- strict thread matches above, loose matches on Subject: below --
2009-06-29 13:08 Vikram Pandita
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox