RE: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-13 Thread Jason Liu
> -Original Message- > From: Marc Zyngier > Sent: Thursday, August 6, 2020 8:26 PM > To: Jason Liu > Cc: Sudeep Holla ; catalin.mari...@arm.com; > w...@kernel.org; sas...@kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org > Subjec

RE: arm64: imx8qm: tlb SW workaround for IMX8QM

2020-08-10 Thread Jason Liu
> -Original Message- > From: Oliver Graute > Sent: Monday, August 10, 2020 2:13 PM > To: Jason Liu > Cc: Anson Huang ; Aisheng Dong > ; catalin.mari...@arm.com; w...@kernel.org; > dl-linux-imx ; linux-kernel@vger.kernel.org > Subject: Re: arm64: imx8qm: tlb

RE: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-06 Thread Jason Liu
> -Original Message- > From: Sudeep Holla > Sent: Wednesday, August 5, 2020 4:48 PM > To: Jason Liu > Cc: Marc Zyngier ; catalin.mari...@arm.com; > w...@kernel.org; sas...@kernel.org; linux-kernel@vger.kernel.org; Sudeep > Holla ; linux-arm-ker...@lists.infrad

RE: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-06 Thread Jason Liu
> -Original Message- > From: Marc Zyngier > Sent: Wednesday, August 5, 2020 4:18 PM > To: Jason Liu > Cc: Sudeep Holla ; catalin.mari...@arm.com; > w...@kernel.org; sas...@kernel.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org > Subjec

RE: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-05 Thread Jason Liu
> -Original Message- > From: Sudeep Holla > Sent: Tuesday, August 4, 2020 7:39 PM > To: Marc Zyngier > Cc: Jason Liu ; catalin.mari...@arm.com; > w...@kernel.org; linux-kernel@vger.kernel.org; Sudeep Holla > ; linux-arm-ker...@lists.infradead.org > Subject: Re:

RE: [PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-05 Thread Jason Liu
> -Original Message- > From: Sudeep Holla > Sent: Tuesday, August 4, 2020 6:20 PM > To: Jason Liu > Cc: w...@kernel.org; catalin.mari...@arm.com; as...@kernel.org; > m...@kernel.org; linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org > Subjec

[PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-08-04 Thread Jason Liu
op.0+0x68/0x160 [ 178.067821] el0_svc_handler+0x20/0x80 [ 178.071573] el0_svc+0x8/0xc [ 178.074463] Code: 93407e73 91001273 aa0003e1 8b130053 (b9400260) [ 178.080567] ---[ end trace 652333f6c6d6b05d ]--- Signed-off-by: Jason Liu Cc: Cc: Catalin Marinas Cc: Will Deacon Cc: Sasha Levin --- a

[PATCH 1/1] arm64: kexec: no need to do irq_chip->irq_mask if it already masked

2020-07-02 Thread Jason Liu
op.0+0x68/0x160 [ 178.067821] el0_svc_handler+0x20/0x80 [ 178.071573] el0_svc+0x8/0xc [ 178.074463] Code: 93407e73 91001273 aa0003e1 8b130053 (b9400260) [ 178.080567] ---[ end trace 652333f6c6d6b05d ]--- Signed-off-by: Jason Liu Cc: Catalin Marinas Cc: Will Deacon Cc: Sasha Levin --- arch/arm

Re: [PATCH 1/1] of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory

2016-12-15 Thread Jason Liu
2016-12-15 21:54 GMT+08:00 Rob Herring <robh...@kernel.org>: > On Wed, Dec 14, 2016 at 4:21 PM, Laura Abbott <labb...@redhat.com> wrote: >> On 12/14/2016 12:45 PM, Rob Herring wrote: >>> On Wed, Nov 23, 2016 at 5:37 AM, Jason Liu <jason.hui@nxp.com> wrot

Re: [PATCH 1/1] of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory

2016-12-15 Thread Jason Liu
2016-12-15 21:54 GMT+08:00 Rob Herring : > On Wed, Dec 14, 2016 at 4:21 PM, Laura Abbott wrote: >> On 12/14/2016 12:45 PM, Rob Herring wrote: >>> On Wed, Nov 23, 2016 at 5:37 AM, Jason Liu wrote: >>>> Need ensure the cma reserved region not cross the low/high m

Re: [PATCH 1/1] of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory

2016-12-09 Thread Jason Liu
2016-11-23 19:37 GMT+08:00 Jason Liu <jason.hui@nxp.com>: > Need ensure the cma reserved region not cross the low/high memory boundary > when using the dynamic allocation methond through device-tree, otherwise, > kernel will fail to boot up when cma reserved region cro

Re: [PATCH 1/1] of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory

2016-12-09 Thread Jason Liu
2016-11-23 19:37 GMT+08:00 Jason Liu : > Need ensure the cma reserved region not cross the low/high memory boundary > when using the dynamic allocation methond through device-tree, otherwise, > kernel will fail to boot up when cma reserved region cross how/high mem. > > Signed-of

[PATCH 1/1] of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory

2016-11-23 Thread Jason Liu
Need ensure the cma reserved region not cross the low/high memory boundary when using the dynamic allocation methond through device-tree, otherwise, kernel will fail to boot up when cma reserved region cross how/high mem. Signed-off-by: Jason Liu <jason.hui@nxp.com> Cc: Laura Abbott

[PATCH 1/1] of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory

2016-11-23 Thread Jason Liu
Need ensure the cma reserved region not cross the low/high memory boundary when using the dynamic allocation methond through device-tree, otherwise, kernel will fail to boot up when cma reserved region cross how/high mem. Signed-off-by: Jason Liu Cc: Laura Abbott Cc: Frank Rowand Cc: Rob

RE: [PATCH 1/1] drivers: dma-contiguous: Ensure cma reserve region never cross the low/high mem boundary

2016-11-17 Thread Jason Liu
> -Original Message- > From: Laura Abbott [mailto:labb...@redhat.com] > Sent: Thursday, November 17, 2016 4:00 AM > To: Jason Liu <jason.hui@nxp.com>; linux-arm-ker...@lists.infradead.org > Cc: gre...@linuxfoundation.org; iamjoonsoo@lge.com; linux- >

RE: [PATCH 1/1] drivers: dma-contiguous: Ensure cma reserve region never cross the low/high mem boundary

2016-11-17 Thread Jason Liu
> -Original Message- > From: Laura Abbott [mailto:labb...@redhat.com] > Sent: Thursday, November 17, 2016 4:00 AM > To: Jason Liu ; linux-arm-ker...@lists.infradead.org > Cc: gre...@linuxfoundation.org; iamjoonsoo@lge.com; linux- > ker...@vger.kernel.org; m.szyp

[PATCH 1/1] drivers: dma-contiguous: Ensure cma reserve region never cross the low/high mem boundary

2016-11-16 Thread Jason Liu
If the cma reserve region goes through the device-tree method, also need ensure the cma reserved region not cross the low/high mem boundary. This patch did the similar fix as commit:16195dd ("mm: cma: Ensure that reservations never cross the low/high mem boundary") Signed-off-by:

[PATCH 1/1] drivers: dma-contiguous: Ensure cma reserve region never cross the low/high mem boundary

2016-11-16 Thread Jason Liu
If the cma reserve region goes through the device-tree method, also need ensure the cma reserved region not cross the low/high mem boundary. This patch did the similar fix as commit:16195dd ("mm: cma: Ensure that reservations never cross the low/high mem boundary") Signed-off-by: Jas

[PATCH 1/1] arm: dts: imx6ul: 14x14-evk: add the optee node

2016-10-22 Thread Jason Liu
This patch adds the optee node for the i.MX6UL 14x14 evk board Signed-off-by: Jason Liu <jason.hui@nxp.com> --- arch/arm/boot/dts/imx6ul-14x14-evk.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-e

[PATCH 1/1] arm: dts: imx6ul: 14x14-evk: add the optee node

2016-10-22 Thread Jason Liu
This patch adds the optee node for the i.MX6UL 14x14 evk board Signed-off-by: Jason Liu --- arch/arm/boot/dts/imx6ul-14x14-evk.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dts b/arch/arm/boot/dts/imx6ul-14x14-evk.dts index e281d50..e68dc19

Re: [RESEND][PATCH] drivers: of: of_reserved_mem: fixup the CMA alignment not to affect dma-coherent

2016-05-31 Thread Jason Liu
gt; > --- > drivers/of/of_reserved_mem.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > Acked-by: Jason Liu <r64...@freescale.com> Jason Liu > diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c > index ed01c01..45b873e 100644 > ---

Re: [RESEND][PATCH] drivers: of: of_reserved_mem: fixup the CMA alignment not to affect dma-coherent

2016-05-31 Thread Jason Liu
not only dma-contiguous(CMA) but also > dma-coherent which has no that requirement. > > This patch checks more to distinguish dma-contiguous(CMA) from dma-coherent. > > Signed-off-by: Jaewon Kim > --- > drivers/of/of_reserved_mem.c | 5 - > 1 file changed, 4 insertions(+

[PATCH 1/1] dmaengine: imx-sdma: remove __init annotation on sdma_event_remap

2015-11-11 Thread Jason Liu
.init.text:sdma_event_remap() The function sdma_probe() references the function __init sdma_event_remap(). This is often because sdma_probe lacks a __init annotation or the annotation of sdma_event_remap is wrong. Remove the __init annotation on sdma_event_remap to kill this build warning Signed-off-by: Jason

[PATCH 1/1] dmaengine: imx-sdma: remove __init annotation on sdma_event_remap

2015-11-11 Thread Jason Liu
.init.text:sdma_event_remap() The function sdma_probe() references the function __init sdma_event_remap(). This is often because sdma_probe lacks a __init annotation or the annotation of sdma_event_remap is wrong. Remove the __init annotation on sdma_event_remap to kill this build warning Signed-off-by: Jason

[PATCH 1/1] drivers: of: of_reserved_mem: fixup the alignment with CMA setup

2015-11-10 Thread Jason Liu
setup. This patch is to fixup the alignment to meet the CMA setup required. Mailing-list-thread: https://lkml.org/lkml/2015/11/9/138 Signed-off-by: Jason Liu Cc: Marek Szyprowski Cc: Grant Likely Cc: Rob Herring --- drivers/of/of_reserved_mem.c | 4 1 file changed, 4 insertions(+) diff

[PATCH 1/1] drivers: of: of_reserved_mem: fixup the alignment with CMA setup

2015-11-10 Thread Jason Liu
setup. This patch is to fixup the alignment to meet the CMA setup required. Mailing-list-thread: https://lkml.org/lkml/2015/11/9/138 Signed-off-by: Jason Liu <r64...@freescale.com> Cc: Marek Szyprowski <m.szyprow...@samsung.com> Cc: Grant Likely <grant.lik...@linaro.org> Cc: Rob Her

[PATCH] ath6kl: sdio: fix system panic when doing wifi stress test

2013-11-11 Thread Jason Liu
and interate it, then, GCC 4.8.1 will do the full for-loop correctly. (Note: This issue not observed with GCC 4.7.2, only found on the GCC 4.8.1) This patch does not change any function logic and no any performance downgrade. Cc: Kalle Valo Cc: "John W. Linville" Cc: linux-wirel...@vge

[PATCH] ath6kl: sdio: fix system panic when doing wifi stress test

2013-11-11 Thread Jason Liu
...@tuxdriver.com Cc: linux-wirel...@vger.kernel.org Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Jason Liu r64...@freescale.com --- drivers/net/wireless/ath/ath6kl/sdio.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/ath

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-24 Thread Jason Liu
Thomas, 2013/2/23 Thomas Gleixner : > On Fri, 22 Feb 2013, Lorenzo Pieralisi wrote: >> On Fri, Feb 22, 2013 at 03:03:02PM +, Thomas Gleixner wrote: >> > On Fri, 22 Feb 2013, Lorenzo Pieralisi wrote: >> > > On Fri, Feb 22, 2013 at 12:07:30PM +, Thomas Gleixner wrote: >> > > > Now we could

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-24 Thread Jason Liu
Thomas, 2013/2/23 Thomas Gleixner t...@linutronix.de: On Fri, 22 Feb 2013, Lorenzo Pieralisi wrote: On Fri, Feb 22, 2013 at 03:03:02PM +, Thomas Gleixner wrote: On Fri, 22 Feb 2013, Lorenzo Pieralisi wrote: On Fri, Feb 22, 2013 at 12:07:30PM +, Thomas Gleixner wrote: Now we

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-22 Thread Jason Liu
Thomas, 2013/2/21 Thomas Gleixner : > Jason, > > On Thu, 21 Feb 2013, Jason Liu wrote: >> 2013/2/21 Thomas Gleixner : >> > Now your explanation makes sense. >> > >> > I have no fast solution for this, but I think that I have an idea how >> &g

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-22 Thread Jason Liu
Thomas, 2013/2/21 Thomas Gleixner t...@linutronix.de: Jason, On Thu, 21 Feb 2013, Jason Liu wrote: 2013/2/21 Thomas Gleixner t...@linutronix.de: Now your explanation makes sense. I have no fast solution for this, but I think that I have an idea how to fix it. Stay tuned. Thanks

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-21 Thread Jason Liu
2013/2/21 Thomas Gleixner : > On Thu, 21 Feb 2013, Jason Liu wrote: >> 2013/2/20 Thomas Gleixner : >> > On Wed, 20 Feb 2013, Jason Liu wrote: >> >> void arch_idle(void) >> >> { >> >> >> >> clockevents_notify(CL

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-21 Thread Jason Liu
2013/2/21 Lorenzo Pieralisi : > Hi Jason, > > On Thu, Feb 21, 2013 at 06:16:51AM +0000, Jason Liu wrote: >> 2013/2/20 Thomas Gleixner : >> > On Wed, 20 Feb 2013, Jason Liu wrote: >> >> void arch_idle(void) >> >> { >> >> ..

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-21 Thread Jason Liu
2013/2/21 Lorenzo Pieralisi lorenzo.pieral...@arm.com: Hi Jason, On Thu, Feb 21, 2013 at 06:16:51AM +, Jason Liu wrote: 2013/2/20 Thomas Gleixner t...@linutronix.de: On Wed, 20 Feb 2013, Jason Liu wrote: void arch_idle(void) { clockevents_notify

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-21 Thread Jason Liu
2013/2/21 Thomas Gleixner t...@linutronix.de: On Thu, 21 Feb 2013, Jason Liu wrote: 2013/2/20 Thomas Gleixner t...@linutronix.de: On Wed, 20 Feb 2013, Jason Liu wrote: void arch_idle(void) { clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, cpu); enter_the_wait_mode

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-20 Thread Jason Liu
2013/2/20 Thomas Gleixner : > On Wed, 20 Feb 2013, Jason Liu wrote: >> void arch_idle(void) >> { >> >> clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, ); >> >> enter_the_wait_mode(); >> >> clockevents_notify(CLOCK_EVT_NOTIFY_BRO

too many timer retries happen when do local timer swtich with broadcast timer

2013-02-20 Thread Jason Liu
-<-enter idle <- reprogram the expired loc timer --< I have run into the worst case on my project. I think this is the common issue on ARM platform. What do you think how we can fix this problem? Thanks you. Best Regards, Jason Liu -- To unsubscribe from

too many timer retries happen when do local timer swtich with broadcast timer

2013-02-20 Thread Jason Liu
loc timer -- I have run into the worst case on my project. I think this is the common issue on ARM platform. What do you think how we can fix this problem? Thanks you. Best Regards, Jason Liu -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-20 Thread Jason Liu
2013/2/20 Thomas Gleixner t...@linutronix.de: On Wed, 20 Feb 2013, Jason Liu wrote: void arch_idle(void) { clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_ENTER, cpu); enter_the_wait_mode(); clockevents_notify(CLOCK_EVT_NOTIFY_BROADCAST_EXIT, cpu); } when the broadcast timer

[PATCH] mm: compaction: fix echo 1 > compact_memory return error issue

2013-01-05 Thread Jason Liu
action_nodes finished. Suggested-by:David Rientjes Cc:Mel Gorman Cc:Andrew Morton Cc:Rik van Riel Cc:Minchan Kim Cc:KAMEZAWA Hiroyuki Signed-off-by: Jason Liu --- mm/compaction.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/mm/compaction.c b/mm/compactio

[PATCH] mm: compaction: fix echo 1 compact_memory return error issue

2013-01-05 Thread Jason Liu
Rientjes rient...@google.com Cc:Mel Gorman mgor...@suse.de Cc:Andrew Morton a...@linux-foundation.org Cc:Rik van Riel r...@redhat.com Cc:Minchan Kim minc...@kernel.org Cc:KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com Signed-off-by: Jason Liu r64...@freescale.com --- mm/compaction.c |6