Sometimes we will use the memory dump to figure out what has happened.
Flush the local cache is needed to make the memory content be updated.
Signed-off-by: Neil Zhang
---
kernel/panic.c |3 +++
1 file changed, 3 insertions(+)
diff --git a/kernel/panic.c b/kernel/panic.c
index 8136ad7
0 0
0 0 0 0 0
[ 806.653113@1] Isolate: 0 0 0 0 0 0
0 0 0 0 0
Signed-off-by: Neil Zhang
---
mm/internal.h |2 ++
mm/page_alloc.c | 55 ++-
mm
show detailed free pages per each migrate type in show_free_areas.
Signed-off-by: Neil Zhang
---
mm/internal.h |2 ++
mm/page_alloc.c | 55 ++-
mm/vmstat.c | 13 -
3 files changed, 28 insertions(+), 42 deletions
one more info as following before crash.
[83321.794602] c1 230 (DispSync) BUG: Bad rss-counter state
mm:ec376200 idx:0 val:2497
[83321.795281] c0 2084 (v.airplayserver) Unable to handle kernel NULL
pointer dereference at virtual address 0008
2014-12-29 9:56 GMT+08:00 Neil Zhang :
> D
Does anyone ever encountered it?
Please give your help if any.
Thanks in advanced!
Best Regards,
Neil Zhang
2014-12-26 17:37 GMT+08:00 Neil Zhang :
> Hi All,
> I encountered the following crash in 3.10.24.
>
> The panic log is as following.
> The strange thing is that the nr_ru
Hi All,
I encountered the following crash in 3.10.24.
The panic log is as following.
The strange thing is that the nr_running change to NULL after pass the
check in the beginning of pick_next_task_fair.
So it seems there are race condition in the code.
Seems no related patch to fix it in the mainl
> -Original Message-
> From: Andrzej Pietrasiewicz [mailto:andrze...@samsung.com]
> Sent: 2014年10月28日 21:10
> To: Neil Zhang; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org
> Cc: ba...@ti.com; gre...@linuxfoundation.org
> Subject: Re: [PATCH] usb: gadget
Dan,
> -Original Message-
> From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan
> Streetman
> Sent: 2014年10月30日 5:52
> To: Rafael J. Wysocki
> Cc: Rafael J. Wysocki; Neil Zhang; linux-kernel; Greg Kroah-Hartman;
> nf...@linux.vnet.ibm.com
> Subjec
Rafael,
> -Original Message-
> From: Rafael J. Wysocki [mailto:r...@rjwysocki.net]
> Sent: 2014年10月30日 5:47
> To: Dan Streetman
> Cc: Rafael J. Wysocki; Neil Zhang; linux-kernel; Greg Kroah-Hartman;
> nf...@linux.vnet.ibm.com
> Subject: Re: [PATCH V2] Driver cpu: upda
Don't create new usb_gadget_string_container if the current strings are
already exist in the usb_composite_dev.
Otherwise the ids_tab will overflow soon if we bind / unbind usb
functions frequently like android does.
Signed-off-by: Neil Zhang
---
drivers/usb/gadget/composite.c |6
pfns are unsigned long, but PHYS_PFN_OFFSET is phys_addr_t. This leads
to page_to_pfn() returning phys_addr_t which cause type mismatches in
some print statements.
Signed-off-by: Neil Zhang
---
arch/arm64/include/asm/memory.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
se generic offline/online for CPU offline/online)
CC: Rafael J. Wysocki
Tested-by: Dan Streetman
Signed-off-by: Neil Zhang
---
drivers/base/cpu.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c
index 006b1bc..9d61824 10
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: 2014年10月27日 10:27
> To: Neil Zhang
> Cc: Dan Streetman; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug
>
> On Sun, Oc
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: 2014年10月27日 9:59
> To: Neil Zhang
> Cc: Dan Streetman; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug
>
> On Sun, Oct 26,
Greg,
> -Original Message-
> From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan
> Streetman
> Sent: 2014年10月21日 1:03
> To: Neil Zhang
> Cc: Greg KH; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] drivers: base: update cpu offline info when d
Dan,
> -Original Message-
> From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan
> Streetman
> Sent: 2014年10月21日 21:03
> To: Neil Zhang
> Cc: linux-kernel; Greg Kroah-Hartman
> Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplu
> -Original Message-
> From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com]
> Sent: 2014年10月21日 11:27
> To: Neil Zhang; Dan Streetman
> Cc: Greg KH; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug
&
Yasuaki,
> -Original Message-
> From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com]
> Sent: 2014年10月21日 10:57
> To: Dan Streetman; Neil Zhang
> Cc: Greg KH; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] drivers: base: update cpu offline info when do ho
Dan,
> -Original Message-
> From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan
> Streetman
> Sent: 2014年10月21日 1:03
> To: Neil Zhang
> Cc: Greg KH; linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] drivers: base: update cpu offline info when do
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年10月20日 17:20
> To: Sudeep Holla
> Cc: Neil Zhang; 'li...@arm.linux.org.uk'; 'linux-arm-
> ker...@lists.infradead.org'; 'linux-kernel@vger.kernel.org
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年7月4日 1:57
> To: Neil Zhang
> Cc: Sudeep Holla; 'li...@arm.linux.org.uk'; 'linux-arm-
> ker...@lists.infradead.org'; 'linux-kernel@vger.kernel.org';
>
Greg,
-Original Message-
From: Greg KH [mailto:gre...@linuxfoundation.org]
Sent: 2014年10月20日 14:48
To: Neil Zhang
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug
On Sun, Oct 19, 2014 at 11:39:23PM -0700, Neil Zhang wrote
Greg,
-Original Message-
From: Greg KH [mailto:gre...@linuxfoundation.org]
Sent: 2014年10月20日 12:44
To: Neil Zhang
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug
On Mon, Oct 20, 2014 at 11:29:08AM +0800, Neil Zhang wrote
The current per-cpu offline info won't be updated if it is
hotplugged in/out by a kernel governer.
Let's update it via cpu notifier.
Signed-off-by: Neil Zhang
---
drivers/base/cpu.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/base/cpu.c
> -Original Message-
> From: Sudeep Holla [mailto:sudeep.ho...@arm.com]
> Sent: 2014年8月15日 16:45
> To: Neil Zhang; li...@arm.linux.org.uk
> Cc: Sudeep Holla; linux-kernel@vger.kernel.org;
> linux-arm-ker...@lists.infradead.org
> Subject: Re: [PATCH] arm: irq:
target CPU again, then the interrupt won't be migrated
correctly.
Signed-off-by: Neil Zhang
---
arch/arm/kernel/irq.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c
index 2c42576..6f5a878 100644
--- a/arch/arm/kernel/i
Fix coccinelle warnings.
Signed-off-by: Neil Zhang
---
kernel/printk/printk.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 13e839d..89894e5 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
> -Original Message-
> From: Neil Zhang
> Sent: 2014年5月14日 15:52
> To: Neil Zhang; linux-arm-ker...@lists.infradead.org;
> linux-kernel@vger.kernel.org
> Cc: rmk+ker...@arm.linux.org.uk
> Subject: RE: [PATCH] ARM: remove redundant code in machine_halt
>
&
Sudeep & Will,
> -Original Message-
> From: Neil Zhang
> Sent: 2014年5月21日 19:47
> To: 'Sudeep Holla'; Will Deacon
> Cc: 'li...@arm.linux.org.uk'; 'linux-arm-ker...@lists.infradead.org';
> 'linux-kernel@vger.kernel.org';
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年6月20日 16:40
> To: Neil Zhang
> Cc: Catalin Marinas; linux-kernel@vger.kernel.org;
> linux-arm-ker...@lists.infradead.org
> Subject: Re: [PATCH] arm64: add the ability to hook the fault
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年6月20日 16:26
> To: Neil Zhang
> Cc: Catalin Marinas; linux-arm-ker...@lists.infradead.org;
> linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] arm64: add the ability to hook the fault
Add the ability to hook the fault code for future use.
Signed-off-by: Neil Zhang
---
arch/arm64/include/asm/system_misc.h |4
arch/arm64/mm/fault.c| 12
2 files changed, 16 insertions(+)
diff --git a/arch/arm64/include/asm/system_misc.h
b/arch/arm64
Sudeep,
> -Original Message-
> From: Sudeep Holla [mailto:sudeep.ho...@arm.com]
> Sent: 2014年5月14日 17:32
> To: Neil Zhang; Will Deacon
> Cc: Sudeep Holla; 'li...@arm.linux.org.uk';
> 'linux-arm-ker...@lists.infradead.org'; 'linux-kernel@vger
> -Original Message-
> From: Neil Zhang [mailto:zhan...@marvell.com]
> Sent: 2014年5月7日 13:50
> To: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org
> Cc: rmk+ker...@arm.linux.org.uk; Neil Zhang
> Subject: [PATCH] ARM: remove redundant code in machine_hal
> -Original Message-
> From: Neil Zhang [mailto:zhan...@marvell.com]
> Sent: 2014年5月14日 11:00
> To: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org
> Cc: catalin.mari...@arm.com; will.dea...@arm.com; Neil Zhang
> Subject: [PATCH] ARM64: kernel: add
Print the necessary features in order to be backwards compatible with
ARMv7 and earlier version.
Signed-off-by: Neil Zhang
---
arch/arm64/kernel/setup.c |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 7ec7846..a09ecfe
Print the necessary features in order to be backwards compatable with
ARMv7 and earlier version.
Signed-off-by: Neil Zhang
---
arch/arm64/kernel/setup.c |5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
index 7ec7846..a09ecfe
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年5月14日 2:45
> To: Neil Zhang
> Cc: Sudeep Holla; 'li...@arm.linux.org.uk';
> 'linux-arm-ker...@lists.infradead.org'; 'linux-kernel@vger.kernel.org';
>
Will & Sudeep,
> -Original Message-
> From: Neil Zhang
> Sent: 2014年5月5日 14:28
> To: Sudeep Holla; Will Deacon
> Cc: li...@arm.linux.org.uk; linux-arm-ker...@lists.infradead.org;
> linux-kernel@vger.kernel.org; devicet...@vger.kernel.org
> Subject: RE: [PATCH v4
There is no need to call local_irq_disable twice.
Signed-off-by: Neil Zhang
---
arch/arm/kernel/process.c |1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c
index 81ef686..18cfce4 100644
--- a/arch/arm/kernel/process.c
+++ b/arch/arm
Sudeep,
> -Original Message-
> From: Sudeep Holla [mailto:sudeep.ho...@arm.com]
> Sent: 2014年4月30日 21:31
> To: Neil Zhang; Will Deacon
> Cc: Sudeep Holla; li...@arm.linux.org.uk;
> linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org;
> devicet...@vger
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年4月24日 1:08
> To: Neil Zhang
> Cc: li...@arm.linux.org.uk; linux-arm-ker...@lists.infradead.org;
> linux-kernel@vger.kernel.org; Sudeep Holla; devicet...@vger.kernel.org
> Subject: Re:
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年4月22日 18:37
> To: Neil Zhang
> Cc: li...@arm.linux.org.uk; linux-arm-ker...@lists.infradead.org;
> linux-kernel@vger.kernel.org; Sudeep Holla; devicet...@vger.kernel.org
> Subject: Re:
> -Original Message-
> From: Neil Zhang [mailto:zhan...@marvell.com]
> Sent: 2014年4月21日 19:09
> To: will.dea...@arm.com; li...@arm.linux.org.uk
> Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Neil
> Zhang; Sudeep KarkadaNagesha
> Subject:
working on Marvell's CA7 based SoCs.
And it has consulted Sudeep KarkadaNagesha's patch set for multiple PMUs.
Thanks Will and Sudeep's suggestion to only save / restore used events.
Cc: Sudeep KarkadaNagesha
Signed-off-by: Neil Zhang
---
arch/arm/include/asm/pmu.h |4 +++
on our CA7 based SoCs.
And it is based on Sudeep KarkadaNagesha's patch set for multiple PMUs.
Thanks Will and Sudeep's suggestion to only save / restore used events.
Cc: Sudeep KarkadaNagesha
Signed-off-by: Neil Zhang
---
arch/arm/include/asm/pmu.h |4 ++
arch/arm/kernel/pe
Hi Sudeep,
> -Original Message-
> From: Sudeep Holla [mailto:sudeep.ho...@arm.com]
> Sent: 2014年4月15日 21:06
> To: Neil Zhang
> Cc: Will Deacon; li...@arm.linux.org.uk; Sudeep Holla;
> linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org
> Subject: Re:
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年4月15日 20:50
> To: Neil Zhang
> Cc: li...@arm.linux.org.uk; linux-arm-ker...@lists.infradead.org;
> linux-kernel@vger.kernel.org; Sudeep Holla
> Subject: Re: [PATCH v2] ARM: perf: save/
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年4月15日 20:41
> To: Neil Zhang
> Cc: li...@arm.linux.org.uk; linux-arm-ker...@lists.infradead.org;
> linux-kernel@vger.kernel.org; Sudeep Holla
> Subject: Re: [PATCH v2] ARM: perf: save/
Will,
Thanks for the comments!
> -Original Message-
> From: Will Deacon [mailto:will.dea...@arm.com]
> Sent: 2014年4月15日 16:48
> To: Neil Zhang
> Cc: li...@arm.linux.org.uk; linux-arm-ker...@lists.infradead.org;
> linux-kernel@vger.kernel.org; Sudeep Holla
> Subjec
found that DS-5 not work on our CA7 based SoCs.
After debuging, found PMU registers were lost because of core power down.
Then i found Sudeep had a patch to fix it about two years ago but not in
the mainline, just port it.
Signed-off-by: Sudeep KarkadaNagesha
Signed-off-by: Neil Zhang
---
arch/arm
Stephen,
> -Original Message-
> From: Stephen Boyd [mailto:sb...@codeaurora.org]
> Sent: 2014年4月12日 2:32
> To: Neil Zhang
> Cc: will.dea...@arm.com; li...@arm.linux.org.uk; Sudeep KarkadaNagesha;
> linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org
>
found that DS-5 not work on our CA7 based SoCs.
After debuging, found PMU registers were lost because of core power down.
Then i found Sudeep had a patch to fix it about two years ago but not in
the mainline, just port it.
Signed-off-by: Sudeep KarkadaNagesha
Signed-off-by: Neil Zhang
---
arch/arm
Add sleep time into timestamp to reflect the actual time since
sched_clock will be stopped during suspend.
Thanks John Stultz for suggestion to use monotonic_to_bootbased.
Signed-off-by: Neil Zhang
---
kernel/printk/printk.c | 16 ++--
1 file changed, 14 insertions(+), 2
> -Original Message-
> From: John Stultz [mailto:john.stu...@linaro.org]
> Sent: 2014年3月29日 1:37
> To: Neil Zhang
> Cc: Andrew Morton; Linux Kernel Mailing List
> Subject: Re: [PATCH] printk: add sleep time into timestamp
>
> On 03/27/2014 11:45 PM, Ne
John,
> -Original Message-
> From: johnstul.l...@gmail.com [mailto:johnstul.l...@gmail.com] On Behalf
> Of John Stultz
> Sent: 2014年3月28日 11:18
> To: Neil Zhang
> Cc: Andrew Morton; Linux Kernel Mailing List
> Subject: Re: [PATCH] printk: add sleep time into timestam
> -Original Message-
> From: John Stultz [mailto:john.stu...@linaro.org]
> Sent: 2014年3月28日 1:26
> To: Neil Zhang; t...@linutronix.de
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] timekeeping: check params before use them
>
> On 03/27/2014 01
Add sleep time into timestamp to reflect the actual time since
sched_clock will be stopped during suspend.
This patch depends on the following patch.
timekeeping: check params before use them
Signed-off-by: Neil Zhang
---
kernel/printk/printk.c | 15 +--
1 file changed, 13
Sometimes we won't need all the information from
get_xtime_and_monotonic_and_sleep_offset(),
so let's check the params before assign the value to them.
Signed-off-by: Neil Zhang
---
kernel/time/timekeeping.c |9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --gi
Signed-off-by: Neil Zhang
---
Documentation/arm64/memory.txt |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/arm64/memory.txt b/Documentation/arm64/memory.txt
index 5e054bf..c2765e2 100644
--- a/Documentation/arm64/memory.txt
+++ b/Documentation/arm64
> -Original Message-
> From: Felipe Balbi [mailto:ba...@ti.com]
> Sent: 2014年2月26日 23:19
> To: Neil Zhang
> Cc: ba...@ti.com; Peter Chen; gre...@linuxfoundation.org;
> linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Alexander Shishkin
> Subject: Re: [P
> -Original Message-
> From: Felipe Balbi [mailto:ba...@ti.com]
> Sent: 2014年2月26日 2:13
> To: Peter Chen
> Cc: Neil Zhang; ba...@ti.com; gre...@linuxfoundation.org;
> linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Alexander Shishkin
> Subject: Re: [PATCH 2/6
> -Original Message-
> From: Peter Chen [mailto:peter.c...@freescale.com]
> Sent: 2014年2月25日 9:59
> To: Neil Zhang
> Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Subject: Re: [PATCH 3/6] usb: gadget: mv_udc
> -Original Message-
> From: Peter Chen [mailto:peter.c...@freescale.com]
> Sent: 2014年2月25日 12:18
> To: Neil Zhang
> Cc: Matthieu CASTET; ba...@ti.com; gre...@linuxfoundation.org;
> linux-...@vger.kernel.org; linux-kernel@vger.kernel.org
> Subject: Re: [P
> -Original Message-
> From: Peter Chen [mailto:peter.c...@freescale.com]
> Sent: 2014年2月25日 12:19
> To: Neil Zhang
> Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Subject: Re: [PATCH 5/6] USB: gadget:
> -Original Message-
> From: Peter Chen [mailto:peter.c...@freescale.com]
> Sent: 2014年2月25日 13:15
> To: Neil Zhang
> Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Subject: RE: [PATCH 2/6] usb: gadget: mv_ud
> -Original Message-
> From: Peter Chen [mailto:peter.c...@freescale.com]
> Sent: 2014年2月25日 9:19
> To: Neil Zhang
> Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Subject: Re: [PATCH 2/6] usb: gadget: mv_ud
> -Original Message-
> From: Matthieu CASTET [mailto:matthieu.cas...@parrot.com]
> Sent: 2014年2月24日 18:32
> To: Neil Zhang
> Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Subject: Re: [PATCH 0/6] bug fix for
This patch set is mainly for bug fix.
Neil Zhang (6):
usb: gadget: mv_udc: remove redundant pull up in udc_start
usb: gadget: mv_udc: disable HW zlt for ep0
usb: gadget: mv_udc: clear corresponding interrupt when flush fifo
usb: gadget: mv_udc: check endpoint before queue dtd
USB
Romove redundant pull up in udc_start since function udc_bind_to_driver
in udc-core.c will do it for us.
Signed-off-by: Neil Zhang
---
drivers/usb/gadget/mv_udc_core.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c
need clear the pending corresponding interrupt
as well as flush
endpoint.
Signed-off-by: Neil Zhang
---
drivers/usb/gadget/mv_udc_core.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/gadget/mv_udc_core.c b/drivers/usb/gadget/mv_udc_core.c
index 657ac5c..d5a9bdf 100644
--
Hardware zlt will try to send the zero length packet automatically
when the data transferd is multiple times of max packet, this will
cause issues on Windows.
So let's disable HW zlt by default.
Signed-off-by: Neil Zhang
---
drivers/usb/gadget/mv_udc_core.c |2 +-
1 file chang
There is a corner case that endpoint is disabled by system shutdown
between check ep->desc and hold spin lock in mv_ep_queue. In this
case ep->ep.desc will be NULL and occur kernel panic when access
it in build_dtd.
Signed-off-by: Neil Zhang
---
drivers/usb/gadget/mv_udc_core.c
eqh_status (56), and release_prime_mask
(42) states. As shown in the waveform, the ep_addtd_tripwire_clr signal
is not set to clear the tripwire bit in these states.
Signed-off-by: Neil Zhang
---
drivers/usb/gadget/mv_udc_core.c | 20
1 file changed, 20 insertions(+)
di
When the missing dTD issue is triggerred, queue_dtd may prime the new
request instead of the missing dTD.
We can just add the request to the queue end and jump out if there are
more than one request in the queue already.
Signed-off-by: Neil Zhang
---
drivers/usb/gadget/mv_udc_core.c | 12
> -Original Message-
> From: Linus Walleij [mailto:linus.wall...@linaro.org]
> Sent: 2014年1月15日 15:58
> To: Neil Zhang
> Cc: Alexandre Courbot; linux-g...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Subject: Re: [PATCH] gpio: pxa: normalize the return value for
Commit 64681787 (arm64: let the core code deal with preempt_count)
changed the code, but left the comments unchanged, fix it.
Signed-off-by: Neil Zhang
---
arch/arm64/kernel/entry.S |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64
It would be convenient to normalize the return value for gpio_get.
I have checked mach-mmp / mach-pxa / plat-pxa / plat-orion / mach-orion5x.
It's OK for all of them to change this function to return 0 and 1.
Signed-off-by: Neil Zhang
---
drivers/gpio/gpio-pxa.c |3 ++-
1 file chang
Gerhard
Firstly thanks for your comments.
> -Original Message-
> From: Gerhard Sittig [mailto:g...@denx.de]
> Sent: 2014年1月9日 18:46
> To: Neil Zhang
> Cc: linus.wall...@linaro.org; gnu...@gmail.com; linux-g...@vger.kernel.org;
> linux-kernel@vger.kernel.org
> Subj
> -Original Message-
> From: Neil Zhang [mailto:zhan...@marvell.com]
> Sent: 2014年1月9日 17:26
> To: linus.wall...@linaro.org; gnu...@gmail.com; linux-g...@vger.kernel.org;
> linux-ker...@vger.kernel.or
> Cc: Neil Zhang
> Subject: [PATCH] gpio: pxa: fix bu
Thomas,
> -Original Message-
> From: Neil Zhang
> Sent: 2013年12月13日 13:36
> To: Neil Zhang; t...@linutronix.de; haojian.zhu...@gmail.com;
> linux-kernel@vger.kernel.org
> Subject: RE: [PATCH v3] irqchip: mmp: avoid use head file in a specific arch
>
> Thomas,
>
Thomas,
> -Original Message-
> From: Neil Zhang [mailto:zhan...@marvell.com]
> Sent: 2013年12月6日 18:47
> To: t...@linutronix.de; haojian.zhu...@gmail.com;
> linux-kernel@vger.kernel.org
> Cc: Neil Zhang
> Subject: [PATCH v3] irqchip: mmp: avoid use head file in a s
> -Original Message-
> From: Neil Zhang [mailto:zhan...@marvell.com]
> Sent: 2013年12月11日 14:18
> To: ba...@ti.com; gre...@linuxfoundation.org
> Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Neil Zhang
> Subject: [PATCH] usb: phy: initilize the notifier
We need to initilize the notifer before use it.
So lets initilize it when add a new phy device to reduce the code
redundance.
Signed-off-by: Neil Zhang
---
drivers/usb/phy/phy-ab8500-usb.c|2 --
drivers/usb/phy/phy-generic.c |1 -
drivers/usb/phy/phy-gpio-vbus-usb.c |2
> -Original Message-
> From: Neil Zhang [mailto:zhan...@marvell.com]
> Sent: 2013年12月11日 13:05
> To: ba...@ti.com; gre...@linuxfoundation.org
> Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Neil Zhang
> Subject: [PATCH] usb: phy: Initilize the spinlock i
We need to initilize the notifer before use it.
So lets initilize it when add a new phy device to reduce the code
redundance.
Signed-off-by: Neil Zhang
---
drivers/usb/phy/phy-ab8500-usb.c|2 --
drivers/usb/phy/phy-generic.c |1 -
drivers/usb/phy/phy-gpio-vbus-usb.c |2
We need to initilize every spinlock before use it.
So lets initilize the spinlock in notifier when add a new phy device.
Signed-off-by: Neil Zhang
---
drivers/usb/phy/phy.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c
index 1b74523
For example, arm64 doesn't have mach/irq.h.
Signed-off-by: Neil Zhang
Acked-by: Haojian Zhuang
---
drivers/irqchip/irq-mmp.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c
index 2cb7cd0..470c5de 100644
--- a/dr
Some of the Marvell SoCs use GIC as its interrupt controller,and ICU
only used as wakeup logic. When AP subsystem is powered off, GIC will
lose its context, the PMU will need ICU to wakeup the AP subsystem.
So add wakeup entry for such kind of usage.
Signed-off-by: Neil Zhang
---
.../devicetree
Mark,
Sorry for reply late.
> -Original Message-
> From: Mark Rutland [mailto:mark.rutl...@arm.com]
> Sent: 2013年11月15日 20:50
> To: Neil Zhang
> Cc: Haojian Zhuang; devicet...@vger.kernel.org; linux-kernel@vger.kernel.org;
> Thomas Gleixner
> Subject: Re: [PATCH 2/2
> -Original Message-
> From: Mark Rutland [mailto:mark.rutl...@arm.com]
> Sent: 2013年11月14日 20:28
> To: Haojian Zhuang
> Cc: Neil Zhang; devicet...@vger.kernel.org; linux-kernel@vger.kernel.org;
> Thomas Gleixner
> Subject: Re: [PATCH 2/2 v2] irqchip: mmp: add
Haojian,
> -Original Message-
> From: Neil Zhang
> Sent: 2013年10月18日 17:50
> To: Neil Zhang; linux-kernel@vger.kernel.org
> Cc: haojian.zhu...@gmail.com; t...@linutronix.de
> Subject: RE: [PATCH 2/2 v2] irqchip: mmp: add dt support for wakeup
>
> Ping ?
>
Ping ?
> -Original Message-
> From: Neil Zhang [mailto:zhan...@marvell.com]
> Sent: 2013年10月11日 16:24
> To: linux-kernel@vger.kernel.org
> Cc: haojian.zhu...@gmail.com; t...@linutronix.de; Neil Zhang
> Subject: [PATCH 2/2 v2] irqchip: mmp: add dt support for wakeu
> -Original Message-
> From: Catalin Marinas [mailto:catalin.mari...@arm.com]
> Sent: 2013年10月16日 21:21
> To: Rob Herring
> Cc: Neil Zhang; linux-kernel@vger.kernel.org; Yu Tang; Zhou Zhu; Will Deacon
> Subject: Re: [Question] Ask for arm arch timer
>
> On Wed, Oc
: Rob Herring
Date: Wed Apr 10 18:27:51 2013 -0500
ARM: convert arm/arm64 arch timer to use CLKSRC_OF init
Best Regards,
Neil Zhang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo inf
changelog:
V2:
add the missing head file.
Neil Zhang (2):
irqchip: mmp: avoid use head file in a specific arch
irqchip: mmp: add dt support for wakeup
.../devicetree/bindings/arm/mrvl/intc.txt | 14 ++-
drivers/irqchip/irq-mmp.c | 126
Some of the Marvell SoCs use GIC as its interrupt controller,and ICU
only used as wakeup logic. When AP subsystem is powered off, GIC will
lose its context, the PMU will need ICU to wakeup the AP subsystem.
So add wakeup entry for such kind of usage.
Signed-off-by: Neil Zhang
---
.../devicetree
For example, arm64 doesn't have mach/irq.h.
Signed-off-by: Neil Zhang
---
drivers/irqchip/irq-mmp.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c
index 2cb7cd0..470c5de 100644
--- a/drivers/irqchip/irq-mmp.c
Some of the Marvell SoCs use GIC as its interrupt controller, and ICU
only used as wakeup logic. When AP subsystem is powered off, GIC will
lose its context, the PMU will need ICU to wakeup the AP subsystem.
So add wakeup entry for such kind of usage.
Signed-off-by: Neil Zhang
For example, arm64 doesn't have mach/irq.h.
Signed-off-by: Neil Zhang
---
drivers/irqchip/irq-mmp.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c
index 2cb7cd0..470c5de 100644
--- a/drivers/irqchip/irq-mmp.c
1 - 100 of 142 matches
Mail list logo