ARM: tegra: move all APB DMA client to dmaengine based driver
Subsystems (7)
Laxman Dewangan
maintainercover ARM: tegra: move all APB DMA client to dmaengine based driver
This patch series enable the dmaengine based Tegra APB DMA driver and remove the support code for the legacy dma driver from different APB DMA clients.
Patch 1 enable the dmaengine based dma drie and disable the legacy dma driver
in config file.
Patch 2 remove the legacy dma driver.
Patch 3,4, 5 remove the support code from different APB DMA clients to support
legacy dma driver.
Please note that this series will depends on patch
dma: tegra: enable/disable dma clock
which is not in 3.6-rc1 but will be available in next RC (rc2) of 3.6 as part of fixes.
Laxman Dewangan (5):
ARM: tegra: config: enable dmaengine based APB DMA driver
ARM: tegra: dma: remove legacy APB DMA driver
ARM: tegra: apbio: remove support of legacy DMA driver based access
spi: tegra: remove support of legacy DMA driver based access
ASoC: tegra: remove support of legacy DMA driver based access
arch/arm/configs/tegra_defconfig | 3 + arch/arm/mach-tegra/Kconfig | 7 - arch/arm/mach-tegra/Makefile | 1 - arch/arm/mach-tegra/apbio.c | 118 +----- arch/arm/mach-tegra/dma.c | 823 -------------------------------- arch/arm/mach-tegra/include/mach/dma.h | 97 ---- drivers/spi/Kconfig | 2 +- drivers/spi/spi-tegra.c | 55 +-- sound/soc/tegra/Kconfig | 2 +- sound/soc/tegra/tegra_pcm.c | 232 --------- sound/soc/tegra/tegra_pcm.h | 14 - 11 files changed, 7 insertions(+), 1347 deletions(-) delete mode 100644 arch/arm/mach-tegra/dma.c
Laxman Dewangan
maintainerPATCH 1/5 ARM: tegra: config: enable dmaengine based APB DMA driver
Enable config for dmaengine based Tegra APB DMA driver and disable the legacy APB DMA driver (SYSTEM_DMA).
--- arch/arm/configs/tegra_defconfig | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
arch/arm/configs/tegra_defconfig +3 -0
@@ -29,6 +29,7 @@ CONFIG_ARCH_TEGRA_2x_SOC=y CONFIG_ARCH_TEGRA_3x_SOC=y CONFIG_TEGRA_PCI=y CONFIG_TEGRA_DEBUG_UART_AUTO_ODMDATA=y +# CONFIG_TEGRA_SYSTEM_DMA is not set CONFIG_TEGRA_EMC_SCALING_ENABLE=y CONFIG_SMP=y CONFIG_PREEMPT=y
@@ -148,6 +149,8 @@ CONFIG_RTC_CLASS=y CONFIG_RTC_DRV_MAX8907=y CONFIG_RTC_DRV_EM3027=y CONFIG_RTC_DRV_TEGRA=y +CONFIG_DMADEVICES=y +CONFIG_TEGRA20_APB_DMA=y CONFIG_STAGING=y CONFIG_SENSORS_ISL29018=y CONFIG_SENSORS_ISL29028=y
Signature · 9 lines
1.7.1.1 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Re: [PATCH 1/5] ARM: tegra: config: enable dmaengine based APB DMA driver
Quoted 2 lines · Laxman Dewangan
Enable config for dmaengine based Tegra APB DMA driver and disable the legacy APB DMA driver (
SYSTEM_DMA).
Laxman, if I apply this series to next-20120816 (plus a few patches in my local work branch plus the CPU hotplug patches from Joseph, although I suspect none of that matters), then audio playback on Tegra20 is broken; the pitch is far too high. Audio playback on Tegra30 works as expected.
Laxman Dewangan
maintainerRe: [PATCH 1/5] ARM: tegra: config: enable dmaengine based APB DMA driver
Quoted 8 lines · Stephen Warren
Quoted 2 lines · Laxman Dewangan
Enable config for dmaengine based Tegra APB DMA driver and disable the legacy APB DMA driver (
SYSTEM_DMA).Laxman, if I apply this series to next-20120816 (plus a few patches in my local work branch plus the CPU hotplug patches from Joseph, although I suspect none of that matters), then audio playback on Tegra20 is broken; the pitch is far too high. Audio playback on Tegra30 works as expected.
I run the test again on ventana and did not see any issue. I play one song and saw similar behavior with/without this series.
With this series:
--------------------
ubuntu@tegra-ubuntu:/home$ aplay "1-04 Hungry Like The Wolf.wav" Playing WAVE '1-04 Hungry Like The Wolf.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo underrun!!! (at least 5039.388 ms long) underrun!!! (at least 60.601 ms long) underrun!!! (at least 3027.668 ms long) underrun!!! (at least 2063.667 ms long) underrun!!! (at least 1062.503 ms long) underrun!!! (at least 5073.551 ms long) underrun!!! (at least 6.461 ms long) underrun!!! (at least 4075.519 ms long) underrun!!! (at least 78.731 ms long) underrun!!! (at least 4042.804 ms long) underrun!!! (at least 28.395 ms long) underrun!!! (at least 5076.706 ms long) underrun!!! (at least 6043.105 ms long) underrun!!! (at least 24.857 ms long) underrun!!! (at least 5023.783 ms long) ubuntu@tegra-ubuntu:/home$
And on tot:
--------------
ubuntu@tegra-ubuntu:/home$ aplay "1-04 Hungry Like The Wolf.wav" Playing WAVE '1-04 Hungry Like The Wolf.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo underrun!!! (at least 17098.259 ms long) underrun!!! (at least 5042.101 ms long) underrun!!! (at least 87.446 ms long) underrun!!! (at least 4084.481 ms long) underrun!!! (at least 4035.531 ms long) underrun!!! (at least 1026.132 ms long) underrun!!! (at least 3096.078 ms long) underrun!!! (at least 1007.028 ms long) underrun!!! (at least 1034.265 ms long) underrun!!! (at least 2092.453 ms long) underrun!!! (at least 1029.957 ms long) underrun!!! (at least 3076.209 ms long) underrun!!! (at least 52.042 ms long) underrun!!! (at least 1001.812 ms long) underrun!!! (at least 3083.294 ms long) ubuntu@tegra-ubuntu:/home$
Re: [PATCH 1/5] ARM: tegra: config: enable dmaengine based APB DMA driver
Quoted 4 lines · Laxman Dewangan
Quoted 3 lines · Stephen Warren
Quoted 2 lines · Laxman Dewangan
Enable config for dmaengine based Tegra APB DMA driver and disable the legacy APB DMA driver (
SYSTEM_DMA).
Quoted 8 lines
Quoted 5 lines
Laxman, if I apply this series to next-20120816 (plus a few patches in my local work branch plus the CPU hotplug patches from Joseph, although I suspect none of that matters), then audio playback on Tegra20 is broken; the pitch is far too high. Audio playback on Tegra30 works as expected.
I run the test again on ventana and did not see any issue. I play one song and saw similar behavior with/without this series.
OK, I'll test some other boards. I tested Whistler, although all the clocking logic is identical between all Tegra20 boards.
Quoted 8 lines
With this series:
--------------------ubuntu@tegra-ubuntu:/home$ aplay "1-04 Hungry Like The Wolf.wav" Playing WAVE '1-04 Hungry Like The Wolf.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo underrun!!! (at least 5039.388 ms long)
Why are you getting all these underruns? I almost never see this, except when something else is hammering the SD card containing the .wav file. If I saw those, I'd count it as a test failure.
Re: [PATCH 1/5] ARM: tegra: config: enable dmaengine based APB DMA driver
Quoted 11 lines · Stephen Warren
Quoted 10 lines · Laxman Dewangan
Quoted 8 lines · Stephen Warren
Quoted 2 lines · Laxman Dewangan
Enable config for dmaengine based Tegra APB DMA driver and disable the legacy APB DMA driver (
SYSTEM_DMA).Laxman, if I apply this series to next-20120816 (plus a few patches in my local work branch plus the CPU hotplug patches from Joseph, although I suspect none of that matters), then audio playback on Tegra20 is broken; the pitch is far too high. Audio playback on Tegra30 works as expected.
Quoted 5 lines
Quoted 2 lines
I run the test again on ventana and did not see any issue. I play one song and saw similar behavior with/without this series.
OK, I'll test some other boards. I tested Whistler, although all the clocking logic is identical between all Tegra20 boards.
I tested both 3.6-rc2 and next-20120816, and they both work fine on Ventana.
I then applied this patch series to both (plus your "dma: tegra:
enable/disable dma clock" for 3.6-rc2) and it causes (or at least exposes) the problem.
All testing was with a full git clean, using tegra_defconfig, and with no other patches applied.
If you're not seeing this problem, are you sure you're executing the kernel you think you are, and that it got correctly switched to the new dmaengine driver, and rebuilt after applying your patches?
Laxman Dewangan
maintainerRe: [PATCH 1/5] ARM: tegra: config: enable dmaengine based APB DMA driver
Quoted 21 lines · Stephen Warren
Quoted 10 lines · Stephen Warren
Quoted 9 lines · Laxman Dewangan
Quoted 8 lines · Stephen Warren
Quoted 2 lines · Laxman Dewangan
Enable config for dmaengine based Tegra APB DMA driver and disable the legacy APB DMA driver (
SYSTEM_DMA).Laxman, if I apply this series to next-20120816 (plus a few patches in my local work branch plus the CPU hotplug patches from Joseph, although I suspect none of that matters), then audio playback on Tegra20 is broken; the pitch is far too high. Audio playback on Tegra30 works as expected.
Quoted 4 lines
Quoted 2 lines
I run the test again on ventana and did not see any issue. I play one song and saw similar behavior with/without this series.
OK, I'll test some other boards. I tested Whistler, although all the clocking logic is identical between all Tegra20 boards.
I tested both 3.6-rc2 and next-20120816, and they both work fine on Ventana.
I then applied this patch series to both (plus your "dma: tegra:
enable/disable dma clock" for 3.6-rc2) and it causes (or at least exposes) the problem.
Quoted 6 lines
All testing was with a full git clean, using
tegra_defconfig, and with no other patches applied.If you're not seeing this problem, are you sure you're executing the kernel you think you are, and that it got correctly switched to the new dmaengine driver, and rebuilt after applying your patches?
I generally clean, remove .config and then generate .config , build and test whenever any branch change or want to remove any change. I tested in next-20120816. Let me take help from other team member for test it if I am missing anything here.
Laxman Dewangan
maintainerPATCH 2/5 ARM: tegra: dma: remove legacy APB DMA driver
In reply to Laxman DewanganRemove the legacy APB dma driver. The APB DMA support is moved to dmaengine based Tegra APB DMA driver. All clients are also moved to dmaengine based APB DMA driver.
--- arch/arm/mach-tegra/Kconfig | 7 - arch/arm/mach-tegra/Makefile | 1 - arch/arm/mach-tegra/dma.c | 823 -------------------------------- arch/arm/mach-tegra/include/mach/dma.h | 97 ---- 4 files changed, 0 insertions(+), 928 deletions(-) delete mode 100644 arch/arm/mach-tegra/dma.c
arch/arm/mach-tegra/Kconfig +0 -7
@@ -117,13 +117,6 @@ config TEGRA_DEBUG_UART_AUTO_SCRATCH endchoice -config TEGRA_SYSTEM_DMA - bool "Enable system DMA driver for NVIDIA Tegra SoCs" - default y - help - Adds system DMA functionality for NVIDIA Tegra SoCs, used by - several Tegra device drivers - config TEGRA_EMC_SCALING_ENABLE bool "Enable scaling the memory frequency"
arch/arm/mach-tegra/Makefile +0 -1
@@ -20,7 +20,6 @@ obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += tegra30_clocks_data.o obj-$(CONFIG_SMP) += platsmp.o headsmp.o obj-$(CONFIG_SMP) += reset.o obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o -obj-$(CONFIG_TEGRA_SYSTEM_DMA) += dma.o obj-$(CONFIG_CPU_FREQ) += cpu-tegra.o obj-$(CONFIG_TEGRA_PCI) += pcie.o obj-$(CONFIG_USB_SUPPORT) += usb_phy.o
arch/arm/mach-tegra/dma.c deleted +0 -823
823 lines not on this page · raw message
arch/arm/mach-tegra/include/mach/dma.h +0 -97
101 lines not on this page · raw message
Signature · 9 lines
1.7.1.1 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Laxman Dewangan
maintainerPATCH 3/5 ARM: tegra: apbio: remove support of legacy DMA driver based access
In reply to Laxman DewanganRemove the support code which uses the legacy APB DMA driver for accessing the apbio register.
The driver will use the dmaengine based APB DMA driver for accessing apbio register.
--- arch/arm/mach-tegra/apbio.c | 118 +------------------------------------------ 1 files changed, 1 insertions(+), 117 deletions(-)
arch/arm/mach-tegra/apbio.c +1 -117
@@ -28,7 +28,7 @@#include "apbio.h" -#if defined(CONFIG_TEGRA_SYSTEM_DMA ) || defined(CONFIG_TEGRA20_APB_DMA ) +#if defined(CONFIG_TEGRA20_APB_DMA )static DEFINE_MUTEX (tegra_apb_dma_lock);static u32 *tegra_apb_bb;static dma_addr_t tegra_apb_bb_phys;
@@ -37,121 +37,6 @@ static DECLARE_COMPLETION(tegra_apb_wait);static u32 tegra_apb_readl_direct (unsigned long offset);static void tegra_apb_writel_direct (u32 value,unsigned long offset); -#if defined(CONFIG_TEGRA_SYSTEM_DMA ) -static struct tegra_dma_channel *tegra_apb_dma; - -bool tegra_apb_init (void ) -{ -struct tegra_dma_channel *ch; - -mutex_lock (&tegra_apb_dma_lock); - -/* Check to see if we raced to setup */ -if (tegra_apb_dma) - goto out; - - ch =tegra_dma_allocate_channel (TEGRA_DMA_MODE_ONESHOT | -TEGRA_DMA_SHARED ); - -if (!ch) - goto out_fail; - - tegra_apb_bb =dma_alloc_coherent (NULL ,sizeof (u32), - &tegra_apb_bb_phys,GFP_KERNEL ); -if (!tegra_apb_bb) { -pr_err ("%s: can not allocate bounce buffer\n" , __func__); -tegra_dma_free_channel (ch); - goto out_fail; - } - - tegra_apb_dma = ch; -out: -mutex_unlock (&tegra_apb_dma_lock); -return true; - -out_fail: -mutex_unlock (&tegra_apb_dma_lock); -return false; -} - -static void apb_dma_complete (struct tegra_dma_req *req) -{ -complete (&tegra_apb_wait); -} - -static u32 tegra_apb_readl_using_dma (unsigned long offset) -{ -struct tegra_dma_req req; -int ret; - -if (!tegra_apb_dma && !tegra_apb_init ()) -return tegra_apb_readl_direct (offset); - -mutex_lock (&tegra_apb_dma_lock); - req.complete = apb_dma_complete; - req.to_memory =1 ; - req.dest_addr = tegra_apb_bb_phys; - req.dest_bus_width =32 ; - req.dest_wrap =1 ; - req.source_addr = offset; - req.source_bus_width =32 ; - req.source_wrap =4 ; - req.req_sel =TEGRA_DMA_REQ_SEL_CNTR ; - req.size =4 ; - -INIT_COMPLETION (tegra_apb_wait); - -tegra_dma_enqueue_req (tegra_apb_dma, &req); - - ret =wait_for_completion_timeout (&tegra_apb_wait, -msecs_to_jiffies (50 )); - -if (WARN (ret ==0 ,"apb read dma timed out" )) { -tegra_dma_dequeue_req (tegra_apb_dma, &req); - *(u32 *)tegra_apb_bb =0 ; - } - -mutex_unlock (&tegra_apb_dma_lock); -return *((u32 *)tegra_apb_bb); -} - -static void tegra_apb_writel_using_dma (u32 value,unsigned long offset) -{ -struct tegra_dma_req req; -int ret; - -if (!tegra_apb_dma && !tegra_apb_init ()) { -tegra_apb_writel_direct (value, offset); -return ; - } - -mutex_lock (&tegra_apb_dma_lock); - *((u32 *)tegra_apb_bb) = value; - req.complete = apb_dma_complete; - req.to_memory =0 ; - req.dest_addr = offset; - req.dest_wrap =4 ; - req.dest_bus_width =32 ; - req.source_addr = tegra_apb_bb_phys; - req.source_bus_width =32 ; - req.source_wrap =1 ; - req.req_sel =TEGRA_DMA_REQ_SEL_CNTR ; - req.size =4 ; - -INIT_COMPLETION (tegra_apb_wait); - -tegra_dma_enqueue_req (tegra_apb_dma, &req); - - ret =wait_for_completion_timeout (&tegra_apb_wait, -msecs_to_jiffies (50 )); - -if (WARN (ret ==0 ,"apb write dma timed out" )) -tegra_dma_dequeue_req (tegra_apb_dma, &req); - -mutex_unlock (&tegra_apb_dma_lock); -} - -#else static struct dma_chan *tegra_apb_dma_chan;static struct dma_slave_config dma_sconfig;
@@ -279,7 +164,6 @@ static void tegra_apb_writel_using_dma(u32 value, unsigned long offset)pr_err ("error in writing offset 0x%08lx using dma\n" , offset); mutex_unlock(&tegra_apb_dma_lock); } -#endif #else #define tegra_apb_readl_using_dma tegra_apb_readl_direct#define tegra_apb_writel_using_dma tegra_apb_writel_direct
Signature · 9 lines
1.7.1.1 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Laxman Dewangan
maintainerPATCH 4/5 spi: tegra: remove support of legacy DMA driver based access
In reply to Laxman DewanganRemove the support code which uses the legacy APB DMA driver for accessing the SPI FIFO.
The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to SPI FIFO.
--- drivers/spi/Kconfig | 2 +- drivers/spi/spi-tegra.c | 55 +---------------------------------------------- 2 files changed, 2 insertions(+), 55 deletions(-)
drivers/spi/Kconfig +1 -1
@@ -366,7 +366,7 @@ config SPI_STMP3XXX config SPI_TEGRA tristate "Nvidia Tegra SPI controller" - depends on ARCH_TEGRA && (TEGRA_SYSTEM_DMA || TEGRA20_APB_DMA) + depends on ARCH_TEGRA && TEGRA20_APB_DMA help SPI driver for NVidia Tegra SoCs
drivers/spi/spi-tegra.c +1 -54
138 lines not on this page · raw message
Signature · 9 lines
1.7.1.1 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Re: [PATCH 4/5] spi: tegra: remove support of legacy DMA driver based access
Quoted 6 lines · Laxman Dewangan
Remove the support code which uses the legacy APB DMA driver for accessing the SPI FIFO.
The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to SPI FIFO.Signed-off-by Laxman Dewangan <[email protected]>
Grant, Mark,
I'd like to take this patch through the Tegra tree, since it relies on the previous Tegra patches to convert to dmaengine. Could I please get an ack if that's OK? Thanks.
Re: [PATCH 4/5] spi: tegra: remove support of legacy DMA driver based access
Quoted 10 lines · Stephen Warren
Quoted 4 lines · Laxman Dewangan
Remove the support code which uses the legacy APB DMA driver for accessing the SPI FIFO.
The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to SPI FIFO.I'd like to take this patch through the Tegra tree, since it relies on the previous Tegra patches to convert to dmaengine. Could I please get an ack if that's OK? Thanks.
I don't seem to have the patch for review, not sure why.
Re: [PATCH 4/5] spi: tegra: remove support of legacy DMA driver based access
In reply to Stephen WarrenQuoted 6 lines · Stephen Warren
Quoted 5 lines · Laxman Dewangan
Remove the support code which uses the legacy APB DMA driver for accessing the SPI FIFO.
The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to SPI FIFO.
Quoted 7 lines
Quoted 1 line
Signed-off-by Laxman Dewangan <[email protected]>Grant, Mark,
I'd like to take this patch through the Tegra tree, since it relies on the previous Tegra patches to convert to dmaengine. Could I please get an ack if that's OK? Thanks.
I'm still looking for an ack.
Re: [PATCH 4/5] spi: tegra: remove support of legacy DMA driver based access
Quoted 7 lines · Stephen Warren
Quoted 3 lines · Stephen Warren
I'd like to take this patch through the Tegra tree, since it relies on the previous Tegra patches to convert to dmaengine. Could I please get an ack if that's OK? Thanks.
I'm still looking for an ack.
Again, I don't have this patch.
Re: [PATCH 4/5] spi: tegra: remove support of legacy DMA driver based access
In reply to Laxman DewanganQuoted 6 lines · Laxman Dewangan
Remove the support code which uses the legacy APB DMA driver for accessing the SPI FIFO.
The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to SPI FIFO.Signed-off-by Laxman Dewangan <[email protected]>
Please note that I've applied this to Tegra's for-3.7/dmaengine branch, even though it hasn't been ack'd by an SPI maintainer.
Laxman Dewangan
maintainerPATCH 5/5 ASoC: tegra: remove support of legacy DMA driver based access
In reply to Laxman DewanganRemove the support code which uses the legacy APB DMA driver for accessing the I2S FIFO.
The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to I2S FIFO.
--- sound/soc/tegra/Kconfig | 2 +- sound/soc/tegra/tegra_pcm.c | 232 ------------------------------------------- sound/soc/tegra/tegra_pcm.h | 14 --- 3 files changed, 1 insertions(+), 247 deletions(-)
sound/soc/tegra/Kconfig +1 -1
@@ -1,6 +1,6 @@ config SND_SOC_TEGRA tristate "SoC Audio for the Tegra System-on-Chip" - depends on ARCH_TEGRA && (TEGRA_SYSTEM_DMA || TEGRA20_APB_DMA) + depends on ARCH_TEGRA && TEGRA20_APB_DMA select REGMAP_MMIO select SND_SOC_DMAENGINE_PCM if TEGRA20_APB_DMA help
sound/soc/tegra/tegra_pcm.c +0 -232
244 lines not on this page · raw message
sound/soc/tegra/tegra_pcm.h +0 -14
@@ -40,20 +40,6 @@ struct tegra_pcm_dma_params {unsigned long req_sel; }; -#if defined(CONFIG_TEGRA_SYSTEM_DMA ) -struct tegra_runtime_data { -struct snd_pcm_substream *substream; -spinlock_t lock; -int running; -int dma_pos; -int dma_pos_end; -int period_index; -int dma_req_idx; -struct tegra_dma_req dma_req[2 ]; -struct tegra_dma_channel *dma_chan; -}; -#endif -int tegra_pcm_platform_register (struct device *dev);void tegra_pcm_platform_unregister (struct device *dev);
Signature · 9 lines
1.7.1.1 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Re: [PATCH 5/5] ASoC: tegra: remove support of legacy DMA driver based access
Quoted 6 lines · Laxman Dewangan
Remove the support code which uses the legacy APB DMA driver for accessing the I2S FIFO.
The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to I2S FIFO.Signed-off-by Laxman Dewangan <[email protected]>
Mark, Liam,
I'd like to take this patch through the Tegra tree, since it relies on the previous Tegra patches to convert to dmaengine. Could I please get an ack if that's OK? Thanks.
Re: [PATCH 5/5] ASoC: tegra: remove support of legacy DMA driver based access
Quoted 6 lines · Stephen Warren
Quoted 5 lines · Laxman Dewangan
Remove the support code which uses the legacy APB DMA driver for accessing the I2S FIFO.
The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to I2S FIFO.
Quoted 7 lines
Quoted 1 line
Signed-off-by Laxman Dewangan <[email protected]>Mark, Liam,
I'd like to take this patch through the Tegra tree, since it relies on the previous Tegra patches to convert to dmaengine. Could I please get an ack if that's OK? Thanks.
I'm still looking for an ack.
Re: [PATCH 5/5] ASoC: tegra: remove support of legacy DMA driver based access
Quoted 7 lines · Stephen Warren
Quoted 3 lines · Stephen Warren
I'd like to take this patch through the Tegra tree, since it relies on the previous Tegra patches to convert to dmaengine. Could I please get an ack if that's OK? Thanks.
I'm still looking for an ack.
As with all the others here I need to see this so it can get reviewed, the previous review was that the patch didn't work. In general contentless pings like this aren't terribly helpful...
Re: [PATCH 5/5] ASoC: tegra: remove support of legacy DMA driver based access
In reply to Laxman DewanganQuoted 6 lines · Laxman Dewangan
Remove the support code which uses the legacy APB DMA driver for accessing the I2S FIFO.
The driver will use the dmaengine based APB DMA driver for accessing reqding/writing to I2S FIFO.Signed-off-by Laxman Dewangan <[email protected]>
Please note that I've applied this to Tegra's for-3.7/dmaengine branch, even though it hasn't been ack'd by an ASoC maintainer.
Re: [PATCH 5/5] ASoC: tegra: remove support of legacy DMA driver based access
Quoted 2 lines · Stephen Warren
Please note that I've applied this to Tegra's for-3.7/dmaengine branch, even though it hasn't been ack'd by an ASoC maintainer.
Please don't apply this without review, we've got quite enough problems with the dmaengine stuff as it is unfortunately so I want to keep a handle on what's going on. I didn't look at it since when it was originally posted people found problems in testing so I was expecting a respin of the series.
Re: [PATCH 5/5] ASoC: tegra: remove support of legacy DMA driver based access
Quoted 10 lines · Mark Brown
Quoted 2 lines · Stephen Warren
Please note that I've applied this to Tegra's for-3.7/dmaengine branch, even though it hasn't been ack'd by an ASoC maintainer.
Please don't apply this without review, we've got quite enough problems with the dmaengine stuff as it is unfortunately so I want to keep a handle on what's going on. I didn't look at it since when it was originally posted people found problems in testing so I was expecting a respin of the series.
OK, I'll remove the series from next then.
But do note that I pinged 8 days ago for an ack, and received no objections, and you were well aware that the bug was fixed since you applied the fix to the Tegra ASoC PCM driver yourself, and we had discussed this being a dependency for the dmaengine patches, and you'd told me to just base the Tegra branch on top of your tree until a signed tag was available for me to base upon.
Re: [PATCH 5/5] ASoC: tegra: remove support of legacy DMA driver based access
Quoted 2 lines · Stephen Warren
But do note that I pinged 8 days ago for an ack, and received no objections, and you were well aware that the bug was fixed since you
I didn't read these mails enough to notice that they were asking for an ack, they were followups to already discarded patches (the were discarded due to the testing problems). One of the things I do to deal with mail overload is to drop followups to patches that I don't remember reviewing (as in this case where the negative test reports arrived before I saw the patches) or where I remember I was already happy.
Quoted 4 lines
applied the fix to the Tegra ASoC PCM driver yourself, and we had discussed this being a dependency for the dmaengine patches, and you'd told me to just base the Tegra branch on top of your tree until a signed tag was available for me to base upon.
I knew it was a dependency, I didn't know that there were no further changes required to the series - your note when you posted the patch didn't mention anything.
Quoted 9 lines · Laxman Dewangan
This patch series enable the dmaengine based Tegra APB DMA driver and remove the support code for the legacy dma driver from different APB DMA clients.
Patch 1 enable the dmaengine based dma drie and disable the legacy dma driver
in config file.
Patch 2 remove the legacy dma driver.
Patch 3,4, 5 remove the support code from different APB DMA clients to support
legacy dma driver.
Quoted 4 lines
Please note that this series will depends on patch
dma: tegra: enable/disable dma clock
which is not in 3.6-rc1 but will be available in next RC (rc2) of 3.6 as part of fixes.
I have applied this series to Tegra's for-3.7/dmaengine branch. Right now, that branch is based directly on Mark Brown's ASoC for-3.6 branch in order to pick up the fix it depends on. However, I'll rebase on the 3.6 pull request tag he sends for that branch as soon as it's available.