So when there is no broadcast next event to set on hardware, we need
to set software next_event to KTIME_MAX.
Signed-off-by: Qiao Zhou <qiaoz...@asrmicro.com>
---
kernel/time/tick-broadcast.c | 8
1 file changed, 8 insertions(+)
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tic
So when there is no broadcast next event to set on hardware, we need
to set software next_event to KTIME_MAX.
Signed-off-by: Qiao Zhou
---
kernel/time/tick-broadcast.c | 8
1 file changed, 8 insertions(+)
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index b398c2e..
later also needs it, then it would deadlock.
The first panic will not be executed.
So here disable irq for the whole flow of die().
Signed-off-by: Qiao Zhou <qiaoz...@asrmicro.com>
---
arch/arm64/kernel/traps.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git
later also needs it, then it would deadlock.
The first panic will not be executed.
So here disable irq for the whole flow of die().
Signed-off-by: Qiao Zhou
---
arch/arm64/kernel/traps.c | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/kernel/traps.c b/arch
irq, and let the panic
flow execute correctly. Not sure this patch is suitable or there is better
way to solve it. Please help to give some comments. Thanks in advance.
Qiao Zhou (1):
arm64: traps: disable irq in die()
arch/arm64/kernel/traps.c | 8 ++--
1 file changed, 6 insertions(+), 2
later also needs it, then it would deadlock.
The first panic will not be executed.
So here disable irq for the whole flow of die().
Signed-off-by: Qiao Zhou <qiaoz...@asrmicro.com>
---
arch/arm64/kernel/traps.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git
irq, and let the panic
flow execute correctly. Not sure this patch is suitable or there is better
way to solve it. Please help to give some comments. Thanks in advance.
Qiao Zhou (1):
arm64: traps: disable irq in die()
arch/arm64/kernel/traps.c | 8 ++--
1 file changed, 6 insertions(+), 2
later also needs it, then it would deadlock.
The first panic will not be executed.
So here disable irq for the whole flow of die().
Signed-off-by: Qiao Zhou
---
arch/arm64/kernel/traps.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/kernel/traps.c b
On 03/03/2015 12:56 AM, Vinod Koul wrote:
And that is why people use git-send email and don't copy patches. Pls resend
again, as your MUA has wrapped this so cant apply
Thanks for correcting and I'll pay attention to it in future. The patch
is re-sent via git-send email.
--
Best Regards
Qiao
.
This is inaccurate/insufficient for some high-quality audio APP.
Since interrupt bottom half handler has variable schedule delay,
it causes big error when calculating sample delay. Read the actual
HW pointer and feedback can improve the accuracy.
3. Do some minor code clean.
Signed-off-by: Qiao Zhou
---
drivers
.
This is inaccurate/insufficient for some high-quality audio APP.
Since interrupt bottom half handler has variable schedule delay,
it causes big error when calculating sample delay. Read the actual
HW pointer and feedback can improve the accuracy.
3. Do some minor code clean.
Signed-off-by: Qiao Zhou zhouq
On 03/03/2015 12:56 AM, Vinod Koul wrote:
And that is why people use git-send email and don't copy patches. Pls resend
again, as your MUA has wrapped this so cant apply
Thanks for correcting and I'll pay attention to it in future. The patch
is re-sent via git-send email.
--
Best Regards
Qiao
On 02/23/2015 07:23 PM, Vinod Koul wrote:
On Thu, Feb 05, 2015 at 08:54:19PM +0800, Qiao Zhou wrote:
Below are the refinements.
1. Set DMA abort bit when disabling dma channel. This will clear
the remaining data in dma FIFO, to fix channel-swap issue.
2. Read DMA HW pointer when updating DMA
On 02/23/2015 07:23 PM, Vinod Koul wrote:
On Thu, Feb 05, 2015 at 08:54:19PM +0800, Qiao Zhou wrote:
Below are the refinements.
1. Set DMA abort bit when disabling dma channel. This will clear
the remaining data in dma FIFO, to fix channel-swap issue.
2. Read DMA HW pointer when updating DMA
.
This is inaccurate/insufficient for some high-quality audio APP.
Since interrupt bottom half handler has variable schedule delay,
it causes big error when calculating sample delay. Read the actual
HW pointer and feedback can improve the accuracy.
3. Do some minor code clean.
Signed-off-by: Qiao Zhou
---
drivers
.
This is inaccurate/insufficient for some high-quality audio APP.
Since interrupt bottom half handler has variable schedule delay,
it causes big error when calculating sample delay. Read the actual
HW pointer and feedback can improve the accuracy.
3. Do some minor code clean.
Signed-off-by: Qiao Zhou zhouq
ignore it.
Signed-off-by: Qiao Zhou
---
drivers/dma/mmp_pdma.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
index 8b8952f..68ab55f 100644
--- a/drivers/dma/mmp_pdma.c
+++ b/drivers/dma/mmp_pdma.c
@@ -219,6 +219,9 @@ static irqreturn_t
ignore it.
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
drivers/dma/mmp_pdma.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c
index 8b8952f..68ab55f 100644
--- a/drivers/dma/mmp_pdma.c
+++ b/drivers/dma/mmp_pdma.c
@@ -219,6 +219,9
mach-mmp also uses ssp request/free APIs. Add mach-mmp support.
Otherwise there will be redefinition error.
Signed-off-by: Qiao Zhou
---
include/linux/pxa2xx_ssp.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/pxa2xx_ssp.h b/include/linux/pxa2xx_ssp.h
mach-mmp also uses ssp request/free APIs. Add mach-mmp support.
Otherwise there will be redefinition error.
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
include/linux/pxa2xx_ssp.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/pxa2xx_ssp.h b/include
On 12/05/2013 03:17 AM, Dan Williams wrote:
On Wed, Dec 4, 2013 at 3:24 AM, Qiao Zhou wrote:
On 12/04/2013 07:17 PM, Haojian Zhuang wrote:
Dan indicated that you could pack these two patches into one. Whatever
it's also OK to use two patches.
Misunderstood it... Thanks for correcting
ave a changelog and is the only user of the
>enabling in patch1
V1 -> V0:
No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA
text in Kconfig.
Qiao Zhou (1):
arm: mmp: build sram driver alone
arch/arm/mach-mmp/Kconfig |3 +++
arch/arm/mach-mmp/Makefile |3 ++-
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone. Also need to select MMP_SRAM for MMP_TDMA driver.
Reported-by: Dan Williams
Signed-off-by: Qiao Zhou
---
arch/arm/mach-mmp/Kconfig |3 +++
arch/arm/mach-mmp/Makefile |3 ++-
drivers/dma/Kconfig
On 12/04/2013 07:17 PM, Haojian Zhuang wrote:
Dan indicated that you could pack these two patches into one. Whatever
it's also OK to use two patches.
Misunderstood it... Thanks for correcting.
--
Best Regards
Qiao
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Reported-by: Dan Williams
Signed-off-by: Qiao Zhou
---
drivers/dma/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index dd2874e..599f0ae 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -288,9 +288,11
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone.
Reported-by: Dan Williams
Signed-off-by: Qiao Zhou
---
arch/arm/mach-mmp/Kconfig |3 +++
arch/arm/mach-mmp/Makefile |3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mmp
V1 -> V0:
No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA
text in Kconfig.
Qiao Zhou (2):
arm: mmp: build sram driver alone
dma: mmp-tdma: select sram driver
arch/arm/mach-mmp/Kconfig |3 +++
arch/arm/mach-mmp/Makefile |3 ++-
drivers/dma/Kcon
On 12/04/2013 03:56 PM, Dan Williams wrote:
On Tue, Dec 3, 2013 at 11:05 PM, Qiao Zhou wrote:
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone.
Reported-by: Dan Williams
Signed-off-by: Qiao Zhou
---
arch/arm/mach-mmp/Kconfig |5 +
arch/arm/mach-mmp
On 12/04/2013 03:56 PM, Dan Williams wrote:
On Tue, Dec 3, 2013 at 11:05 PM, Qiao Zhou zhouq...@marvell.com wrote:
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone.
Reported-by: Dan Williams dan.j.willi...@intel.com
Signed-off-by: Qiao Zhou zhouq...@marvell.com
V1 - V0:
No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA
text in Kconfig.
Qiao Zhou (2):
arm: mmp: build sram driver alone
dma: mmp-tdma: select sram driver
arch/arm/mach-mmp/Kconfig |3 +++
arch/arm/mach-mmp/Makefile |3 ++-
drivers/dma/Kconfig
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone.
Reported-by: Dan Williams dan.j.willi...@intel.com
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
arch/arm/mach-mmp/Kconfig |3 +++
arch/arm/mach-mmp/Makefile |3 ++-
2 files changed, 5 insertions(+), 1
Reported-by: Dan Williams dan.j.willi...@intel.com
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
drivers/dma/Kconfig |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index dd2874e..599f0ae 100644
--- a/drivers/dma/Kconfig
On 12/04/2013 07:17 PM, Haojian Zhuang wrote:
Dan indicated that you could pack these two patches into one. Whatever
it's also OK to use two patches.
Misunderstood it... Thanks for correcting.
--
Best Regards
Qiao
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone. Also need to select MMP_SRAM for MMP_TDMA driver.
Reported-by: Dan Williams dan.j.willi...@intel.com
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
arch/arm/mach-mmp/Kconfig |3 +++
arch/arm/mach-mmp/Makefile
user of the
enabling in patch1
V1 - V0:
No need for help text for MMP_SRAM in Kconfig and move it into MMP_TDMA
text in Kconfig.
Qiao Zhou (1):
arm: mmp: build sram driver alone
arch/arm/mach-mmp/Kconfig |3 +++
arch/arm/mach-mmp/Makefile |3 ++-
drivers/dma/Kconfig|2 ++
3
On 12/05/2013 03:17 AM, Dan Williams wrote:
On Wed, Dec 4, 2013 at 3:24 AM, Qiao Zhou zhouq...@marvell.com wrote:
On 12/04/2013 07:17 PM, Haojian Zhuang wrote:
Dan indicated that you could pack these two patches into one. Whatever
it's also OK to use two patches.
Misunderstood it... Thanks
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone.
Reported-by: Dan Williams
Signed-off-by: Qiao Zhou
---
arch/arm/mach-mmp/Kconfig |5 +
arch/arm/mach-mmp/Makefile |3 ++-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mmp
Reported-by: Dan Williams
Signed-off-by: Qiao Zhou
---
drivers/dma/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index dd2874e..4e41b69 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -288,6 +288,7
sram driver can be used by many chips besides CPU_MMP2, and so build
it alone.
Reported-by: Dan Williams dan.j.willi...@intel.com
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
arch/arm/mach-mmp/Kconfig |5 +
arch/arm/mach-mmp/Makefile |3 ++-
2 files changed, 7 insertions(+), 1
Reported-by: Dan Williams dan.j.willi...@intel.com
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
drivers/dma/Kconfig |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index dd2874e..4e41b69 100644
--- a/drivers/dma/Kconfig
+++ b
On 10/10/2013 09:54 PM, zhangfei gao wrote:
On Wed, Oct 9, 2013 at 1:40 PM, Qiao Zhou wrote:
add multiple burst size support for 910-squ.
Signed-off-by: Qiao Zhou
---
drivers/dma/mmp_tdma.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git
add multiple burst size support for 910-squ.
Signed-off-by: Qiao Zhou
---
drivers/dma/mmp_tdma.c | 30 +-
1 files changed, 29 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c
index 38cb517..f6b9ec7 100644
--- a/drivers/dma
v1: add multiple burst size support. remove previous fixed 32-byte setting.
v2: correct some missing definition.
Qiao Zhou (1):
dma: mmp_tdma: add multiple burst size support for 910-squ
drivers/dma/mmp_tdma.c | 25 -
1 files changed, 24 insertions(+), 1 deletions
add multiple burst size support for 910-squ.
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
drivers/dma/mmp_tdma.c | 30 +-
1 files changed, 29 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c
index 38cb517..f6b9ec7
v1: add multiple burst size support. remove previous fixed 32-byte setting.
v2: correct some missing definition.
Qiao Zhou (1):
dma: mmp_tdma: add multiple burst size support for 910-squ
drivers/dma/mmp_tdma.c | 25 -
1 files changed, 24 insertions(+), 1 deletions
On 10/10/2013 09:54 PM, zhangfei gao wrote:
On Wed, Oct 9, 2013 at 1:40 PM, Qiao Zhou zhouq...@marvell.com wrote:
add multiple burst size support for 910-squ.
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
drivers/dma/mmp_tdma.c | 25 -
1 files changed, 24
add multiple burst size support for 910-squ.
Signed-off-by: Qiao Zhou
---
drivers/dma/mmp_tdma.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c
index 38cb517..d84354b 100644
--- a/drivers/dma
v1: add multiple burst size support. remove previous fixed 32-byte setting.
Qiao Zhou (1):
dma: mmp_tdma: add multiple burst size support for 910-squ
drivers/dma/mmp_tdma.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
--
To unsubscribe from this list
v1: add multiple burst size support. remove previous fixed 32-byte setting.
Qiao Zhou (1):
dma: mmp_tdma: add multiple burst size support for 910-squ
drivers/dma/mmp_tdma.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
--
To unsubscribe from this list
add multiple burst size support for 910-squ.
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
drivers/dma/mmp_tdma.c | 25 -
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c
index 38cb517..d84354b 100644
mask dma irq when disabling dma channel, so that interrupt status
will not be set and interrupt won't come again.
Signed-off-by: Qiao Zhou
---
drivers/dma/mmp_tdma.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c
index
ask the interrupt when dma channel is disabled.
Qiao Zhou (1):
dma: mmp_tdma: disable irq when disabling dma channel
drivers/dma/mmp_tdma.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
the interrupt when dma channel is disabled.
Qiao Zhou (1):
dma: mmp_tdma: disable irq when disabling dma channel
drivers/dma/mmp_tdma.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message
mask dma irq when disabling dma channel, so that interrupt status
will not be set and interrupt won't come again.
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
drivers/dma/mmp_tdma.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/dma/mmp_tdma.c b/drivers
kill tasklet task when free dam channel, otherwise the task may
run after related resource is released, then unknown things may
happen.
Signed-off-by: Qiao Zhou
---
drivers/dma/mmp_tdma.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/dma/mmp_tdma.c b/drivers
kill tasklet task when free dam channel, otherwise the task may
run after related resource is released, then unknown things may
happen.
Signed-off-by: Qiao Zhou zhouq...@marvell.com
---
drivers/dma/mmp_tdma.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/dma
On 07/11/2012 09:48 AM, Axel Lin wrote:
This fixes below section mismatch warning:
LD drivers/mfd/built-in.o
WARNING: drivers/mfd/built-in.o(.devinit.text+0x46c): Section mismatch in
reference from the function pm800_probe() to the function
.devexit.text:pm80x_deinit()
The function
On 07/11/2012 09:27 AM, Axel Lin wrote:
Check the return value of regmap_read() rather than the read value.
Signed-off-by: Axel Lin
---
drivers/mfd/88pm800.c | 16 +---
drivers/mfd/88pm805.c |5 +++--
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git
On 07/11/2012 09:27 AM, Axel Lin wrote:
Check the return value of regmap_read() rather than the read value.
Signed-off-by: Axel Lin axel@gmail.com
---
drivers/mfd/88pm800.c | 16 +---
drivers/mfd/88pm805.c |5 +++--
2 files changed, 12 insertions(+), 9 deletions(-)
On 07/11/2012 09:48 AM, Axel Lin wrote:
This fixes below section mismatch warning:
LD drivers/mfd/built-in.o
WARNING: drivers/mfd/built-in.o(.devinit.text+0x46c): Section mismatch in
reference from the function pm800_probe() to the function
.devexit.text:pm80x_deinit()
The function
60 matches
Mail list logo