Re: [PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful

2016-08-25 Thread Josh Poimboeuf
On Thu, Aug 25, 2016 at 09:40:12PM -0700, Linus Torvalds wrote: > On Thu, Aug 25, 2016 at 8:19 PM, Josh Poimboeuf wrote: > > So yes, dmesg_restrict sounds useful to me. It's a way to prevent users > > from seeing kernel addresses without affecting my ability to debug > >

Re: [PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful

2016-08-25 Thread Josh Poimboeuf
On Thu, Aug 25, 2016 at 09:40:12PM -0700, Linus Torvalds wrote: > On Thu, Aug 25, 2016 at 8:19 PM, Josh Poimboeuf wrote: > > So yes, dmesg_restrict sounds useful to me. It's a way to prevent users > > from seeing kernel addresses without affecting my ability to debug > > issues. For a locked

Re: [PATCH v8 1/2 RESEND] Add bio/request flags to issue ZBC/ZAC commands

2016-08-25 Thread Shaun Tancheff
On Thu, Aug 25, 2016 at 9:31 PM, Damien Le Moal wrote: > > Shaun, > > On 8/25/16 05:24, Shaun Tancheff wrote: >> >> (RESENDING to include f2fs, fs-devel and dm-devel) >> >> Add op flags to access to zone information as well as open, close >> and reset zones: >> -

Re: [PATCH v8 1/2 RESEND] Add bio/request flags to issue ZBC/ZAC commands

2016-08-25 Thread Shaun Tancheff
On Thu, Aug 25, 2016 at 9:31 PM, Damien Le Moal wrote: > > Shaun, > > On 8/25/16 05:24, Shaun Tancheff wrote: >> >> (RESENDING to include f2fs, fs-devel and dm-devel) >> >> Add op flags to access to zone information as well as open, close >> and reset zones: >> - REQ_OP_ZONE_REPORT - Query zone

Re: Capturing crash with 4.6.0 and above kernel does not work

2016-08-25 Thread Baoquan He
On 08/25/16 at 05:45pm, Himanshu Madhani wrote: > crashkernel has been reserved successfully. Aug 25 10:36:44 dut4062 kernel: Reserving 512MB of memory at 368MB for crashkernel (System RAM: 130847MB) So what's the result of executing "grep Crash /porc/iomem" on your system? > > On 8/25/16,

Re: Capturing crash with 4.6.0 and above kernel does not work

2016-08-25 Thread Baoquan He
On 08/25/16 at 05:45pm, Himanshu Madhani wrote: > crashkernel has been reserved successfully. Aug 25 10:36:44 dut4062 kernel: Reserving 512MB of memory at 368MB for crashkernel (System RAM: 130847MB) So what's the result of executing "grep Crash /porc/iomem" on your system? > > On 8/25/16,

Re: [RFC PATCH] powerpc: fsl_pci: fix inbound ATMU entries for systems with >4G RAM

2016-08-25 Thread Tillmann Heidsieck
Hello Scott, thanks for the fast reply! On 2016-08-24 23:39, Scott Wood wrote: [..] The second inbound window is at 256G, and it maps all of RAM. Note that for accesses in this window, the PCI address is different from the host address. I probably really misunderstand the manual here ...

Re: [RFC PATCH] powerpc: fsl_pci: fix inbound ATMU entries for systems with >4G RAM

2016-08-25 Thread Tillmann Heidsieck
Hello Scott, thanks for the fast reply! On 2016-08-24 23:39, Scott Wood wrote: [..] The second inbound window is at 256G, and it maps all of RAM. Note that for accesses in this window, the PCI address is different from the host address. I probably really misunderstand the manual here ...

Re: [PATCH v2 1/3] tracing: Deference pointers without RCU checks

2016-08-25 Thread Binoy Jayan
On 26 August 2016 at 07:19, Masami Hiramatsu wrote: > On Wed, 24 Aug 2016 16:47:28 +0530 >> "__local_bh_enable() tests if this is the last SOFTIRQ_OFFSET, if so it >> tells lockdep softirqs are enabled with trace_softirqs_on() after that >> we go an actually modify the

Re: [PATCH v2 1/3] tracing: Deference pointers without RCU checks

2016-08-25 Thread Binoy Jayan
On 26 August 2016 at 07:19, Masami Hiramatsu wrote: > On Wed, 24 Aug 2016 16:47:28 +0530 >> "__local_bh_enable() tests if this is the last SOFTIRQ_OFFSET, if so it >> tells lockdep softirqs are enabled with trace_softirqs_on() after that >> we go an actually modify the preempt_count with

[PATCH] IB/mlx5: Fix a parameter of find_first_bit

2016-08-25 Thread Christophe JAILLET
The 2nd parameter of 'find_first_bit' is the number of bits to search. In this case, we are passing 'sizeof(tmp)' which is likely to be 4 or 8 because 'tmp' is an 'unsigned long'. It is likely that the number of bits of 'tmp' was expected here. So use BITS_PER_LONG instead. It has been spotted

[PATCH] IB/mlx5: Fix a parameter of find_first_bit

2016-08-25 Thread Christophe JAILLET
The 2nd parameter of 'find_first_bit' is the number of bits to search. In this case, we are passing 'sizeof(tmp)' which is likely to be 4 or 8 because 'tmp' is an 'unsigned long'. It is likely that the number of bits of 'tmp' was expected here. So use BITS_PER_LONG instead. It has been spotted

Re: [PATCH] scsi: not need to alloc zero buffer for local_atto_ioctl

2016-08-25 Thread Martin K. Petersen
> "Shawn" == Shawn Lin writes: Shawn> We don't need to use kzalloc as we will always memset the Shawn> local_atto_ioctl later. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: not need to alloc zero buffer for local_atto_ioctl

2016-08-25 Thread Martin K. Petersen
> "Shawn" == Shawn Lin writes: Shawn> We don't need to use kzalloc as we will always memset the Shawn> local_atto_ioctl later. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

RE: [PATCH] ARM: imx: add cpuidle support for i.mx6ul

2016-08-25 Thread Yongcai Huang
Best Regards! Anson Huang > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: 2016-08-25 3:09 PM > To: Yongcai Huang > Cc: linux-arm-ker...@lists.infradead.org; lkml ; > Fabio Estevam

RE: [PATCH] ARM: imx: add cpuidle support for i.mx6ul

2016-08-25 Thread Yongcai Huang
Best Regards! Anson Huang > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: 2016-08-25 3:09 PM > To: Yongcai Huang > Cc: linux-arm-ker...@lists.infradead.org; lkml ; > Fabio Estevam ; shawn...@kernel.org; > li...@armlinux.org.uk; ker...@pengutronix.de >

Re: Capturing crash with 4.6.0 and above kernel does not work

2016-08-25 Thread Dave Young
On 08/25/16 at 05:45pm, Himanshu Madhani wrote: > > > On 8/25/16, 1:10 AM, "Michal Hocko" wrote: > > >[Let's add kdump people] > > > >On Wed 24-08-16 16:38:56, Himanshu Madhani wrote: > >> Hello list, > >> > >> I am wondering if anybody has issue capturing crash dump with

Re: Capturing crash with 4.6.0 and above kernel does not work

2016-08-25 Thread Dave Young
On 08/25/16 at 05:45pm, Himanshu Madhani wrote: > > > On 8/25/16, 1:10 AM, "Michal Hocko" wrote: > > >[Let's add kdump people] > > > >On Wed 24-08-16 16:38:56, Himanshu Madhani wrote: > >> Hello list, > >> > >> I am wondering if anybody has issue capturing crash dump with the 4.6.0 > >> and

RE: [PATCH] megaraid_sas: Fix the search of first memory bar

2016-08-25 Thread Sumit Saxena
>-Original Message- >From: Christophe JAILLET [mailto:christophe.jail...@wanadoo.fr] >Sent: Sunday, August 21, 2016 1:58 PM >To: kashyap.de...@avagotech.com; sumit.sax...@avagotech.com; >uday.ling...@avagotech.com; j...@linux.vnet.ibm.com; >martin.peter...@oracle.com >Cc:

RE: [PATCH] megaraid_sas: Fix the search of first memory bar

2016-08-25 Thread Sumit Saxena
>-Original Message- >From: Christophe JAILLET [mailto:christophe.jail...@wanadoo.fr] >Sent: Sunday, August 21, 2016 1:58 PM >To: kashyap.de...@avagotech.com; sumit.sax...@avagotech.com; >uday.ling...@avagotech.com; j...@linux.vnet.ibm.com; >martin.peter...@oracle.com >Cc:

Re: [PATCH v2 3/6] dt/bindings: Add bindings for Tegra GMI controller

2016-08-25 Thread Mirza Krak
2016-08-24 21:54 GMT+02:00 Mirza Krak : > 2016-08-24 17:56 GMT+02:00 Jon Hunter : > + >>> +Example with two SJA1000 CAN controllers connected to the GMI bus. We wrap >>> the >>> +controllers with a simple-bus node since they are all connected to the

Re: [PATCH v2 3/6] dt/bindings: Add bindings for Tegra GMI controller

2016-08-25 Thread Mirza Krak
2016-08-24 21:54 GMT+02:00 Mirza Krak : > 2016-08-24 17:56 GMT+02:00 Jon Hunter : > + >>> +Example with two SJA1000 CAN controllers connected to the GMI bus. We wrap >>> the >>> +controllers with a simple-bus node since they are all connected to the same >>> +chip-select (CS4), in this example

[PATCH 2/2] IB/hfi1: Clean up type used and casting

2016-08-25 Thread Christophe JAILLET
In all other places in this file where 'find_first_bit' is called, port_num is defined as a 'u8' and no casting is done. Do the same here in order to be more consistent. Signed-off-by: Christophe JAILLET --- drivers/infiniband/hw/hfi1/mad.c | 4 ++-- 1 file

Re: [PATCH 2/3] qemu: Implement virtio-pstore device

2016-08-25 Thread Namhyung Kim
Hi Daniel, On Wed, Aug 24, 2016 at 06:00:51PM -0400, Daniel P. Berrange wrote: > > > diff --git a/hw/virtio/virtio-pstore.c b/hw/virtio/virtio-pstore.c > > new file mode 100644 > > index 000..b8fb4be > > --- /dev/null > > +++ b/hw/virtio/virtio-pstore.c > > @@ -0,0 +1,699 @@ > > +/* > > + *

Re: [PATCH v1 net-next 1/1] fs: gfs2: Check if the return value of rhashtable_walk_start is -EAGAIN

2016-08-25 Thread Feng Gao
On Tue, Aug 23, 2016 at 10:18 PM, wrote: > From: Gao Feng > > When rhashtable_walk_start returns -EAGAIN, it means the resize event > happened but the iterator still could be used. So it should not be > treated as an error in gfs2_glock_seq_start. > >

[PATCH 2/2] IB/hfi1: Clean up type used and casting

2016-08-25 Thread Christophe JAILLET
In all other places in this file where 'find_first_bit' is called, port_num is defined as a 'u8' and no casting is done. Do the same here in order to be more consistent. Signed-off-by: Christophe JAILLET --- drivers/infiniband/hw/hfi1/mad.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH 2/3] qemu: Implement virtio-pstore device

2016-08-25 Thread Namhyung Kim
Hi Daniel, On Wed, Aug 24, 2016 at 06:00:51PM -0400, Daniel P. Berrange wrote: > > > diff --git a/hw/virtio/virtio-pstore.c b/hw/virtio/virtio-pstore.c > > new file mode 100644 > > index 000..b8fb4be > > --- /dev/null > > +++ b/hw/virtio/virtio-pstore.c > > @@ -0,0 +1,699 @@ > > +/* > > + *

Re: [PATCH v1 net-next 1/1] fs: gfs2: Check if the return value of rhashtable_walk_start is -EAGAIN

2016-08-25 Thread Feng Gao
On Tue, Aug 23, 2016 at 10:18 PM, wrote: > From: Gao Feng > > When rhashtable_walk_start returns -EAGAIN, it means the resize event > happened but the iterator still could be used. So it should not be > treated as an error in gfs2_glock_seq_start. > > Signed-off-by: Gao Feng > --- >

[PATCH 1/2] IB/hfi1: Fix a parameter of find_first_bit.

2016-08-25 Thread Christophe JAILLET
The 2nd parameter of 'find_first_bit' is the number of bits to search. In this case, we are passing 'sizeof(unsigned long)' which is likely to be 4 or 8. It is likely that the number of bits of 'port_mask' was expected here. This variable is a 'u64', so use 64 instead. It has been spotted by the

[PATCH 1/2] IB/hfi1: Fix a parameter of find_first_bit.

2016-08-25 Thread Christophe JAILLET
The 2nd parameter of 'find_first_bit' is the number of bits to search. In this case, we are passing 'sizeof(unsigned long)' which is likely to be 4 or 8. It is likely that the number of bits of 'port_mask' was expected here. This variable is a 'u64', so use 64 instead. It has been spotted by the

Re: [PATCH] sched: Fix rt_task to work properly

2016-08-25 Thread Andreas Mohr
Hi, [no properly binding reference via In-Reply-To: available thus manually re-creating, sorry] > +++ b/include/linux/sched/deadline.h > @@ -1,13 +1,7 @@ > #ifndef _SCHED_DEADLINE_H > #define _SCHED_DEADLINE_H > > -/* > - * SCHED_DEADLINE tasks has negative priorities, reflecting > - * the

Re: [PATCH] sched: Fix rt_task to work properly

2016-08-25 Thread Andreas Mohr
Hi, [no properly binding reference via In-Reply-To: available thus manually re-creating, sorry] > +++ b/include/linux/sched/deadline.h > @@ -1,13 +1,7 @@ > #ifndef _SCHED_DEADLINE_H > #define _SCHED_DEADLINE_H > > -/* > - * SCHED_DEADLINE tasks has negative priorities, reflecting > - * the

Re: [PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful

2016-08-25 Thread Linus Torvalds
On Thu, Aug 25, 2016 at 8:19 PM, Josh Poimboeuf wrote: > For an oops, there are other opportunities for address leakage besides > the stack trace function addresses. There's the raw stack dump which > dumps the first 12 stack entries. And there's the register dump. I'm >

Re: [PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful

2016-08-25 Thread Linus Torvalds
On Thu, Aug 25, 2016 at 8:19 PM, Josh Poimboeuf wrote: > For an oops, there are other opportunities for address leakage besides > the stack trace function addresses. There's the raw stack dump which > dumps the first 12 stack entries. And there's the register dump. I'm > pretty sure we don't

Re: [PATCH] net: phy: micrel: remove suspend/resume

2016-08-25 Thread Florian Fainelli
Le 24/08/2016 à 07:14, Christophe Leroy a écrit : > > > Le 23/08/2016 à 21:03, Florian Fainelli a écrit : >> +others, >> >> On 08/23/2016 04:13 AM, Christophe Leroy wrote: >>> In ERRATA DS8700A dated 05 May 2016, Microship recommends to >>> not use software power down mode on KSZ8041 family.

Re: [PATCH] net: phy: micrel: remove suspend/resume

2016-08-25 Thread Florian Fainelli
Le 24/08/2016 à 07:14, Christophe Leroy a écrit : > > > Le 23/08/2016 à 21:03, Florian Fainelli a écrit : >> +others, >> >> On 08/23/2016 04:13 AM, Christophe Leroy wrote: >>> In ERRATA DS8700A dated 05 May 2016, Microship recommends to >>> not use software power down mode on KSZ8041 family.

Re: [PATCH] scsi: don't reinitialize adapter's req_table

2016-08-25 Thread Martin K. Petersen
> "Shawn" == Shawn Lin writes: Shawn> req_table is allocate by kzalloc, so we don't need to zero it Shawn> again anyway. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: don't reinitialize adapter's req_table

2016-08-25 Thread Martin K. Petersen
> "Shawn" == Shawn Lin writes: Shawn> req_table is allocate by kzalloc, so we don't need to zero it Shawn> again anyway. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH 1/2] perf: add container identifier entry in perf sample data

2016-08-25 Thread Ananth N Mavinakayanahalli
On Thu, Aug 25, 2016 at 10:50:18PM +0530, Hari Bathini wrote: > > > On Thursday 25 August 2016 06:31 PM, Peter Zijlstra wrote: > >On Thu, Aug 25, 2016 at 05:27:54PM +0530, Hari Bathini wrote: > > > >>diff --git a/include/uapi/linux/perf_event.h > >>b/include/uapi/linux/perf_event.h > >>index

Re: [PATCH 1/2] perf: add container identifier entry in perf sample data

2016-08-25 Thread Ananth N Mavinakayanahalli
On Thu, Aug 25, 2016 at 10:50:18PM +0530, Hari Bathini wrote: > > > On Thursday 25 August 2016 06:31 PM, Peter Zijlstra wrote: > >On Thu, Aug 25, 2016 at 05:27:54PM +0530, Hari Bathini wrote: > > > >>diff --git a/include/uapi/linux/perf_event.h > >>b/include/uapi/linux/perf_event.h > >>index

Re: [PATCH v2 6/8] i2c: mux: inform the i2c mux core about how it is used

2016-08-25 Thread Peter Rosin
On 2016-08-25 18:19, Wolfram Sang wrote: > >> diff --git a/drivers/i2c/muxes/i2c-mux-pca9541.c >> b/drivers/i2c/muxes/i2c-mux-pca9541.c >> index 3cb8af635db5..f052c3067791 100644 >> --- a/drivers/i2c/muxes/i2c-mux-pca9541.c >> +++ b/drivers/i2c/muxes/i2c-mux-pca9541.c >> @@ -349,7 +349,8 @@

Re: [PATCH v2 6/8] i2c: mux: inform the i2c mux core about how it is used

2016-08-25 Thread Peter Rosin
On 2016-08-25 18:19, Wolfram Sang wrote: > >> diff --git a/drivers/i2c/muxes/i2c-mux-pca9541.c >> b/drivers/i2c/muxes/i2c-mux-pca9541.c >> index 3cb8af635db5..f052c3067791 100644 >> --- a/drivers/i2c/muxes/i2c-mux-pca9541.c >> +++ b/drivers/i2c/muxes/i2c-mux-pca9541.c >> @@ -349,7 +349,8 @@

[PATCH 3/3] ARM: imx: add SMP support for i.MX7D

2016-08-25 Thread Anson Huang
i.MX7D has 2 cortex-a7 ARM core, add support for booting up SMP kernel with 2 CPUs. The existing i.MX SMP code is designed for i.MX6 series SoCs which have cortex-a9 ARM core, but i.MX7D has 2 cortex-a7 ARM core, so we need to add runtime check for those differences between cortex-a9 and

[PATCH 3/3] ARM: imx: add SMP support for i.MX7D

2016-08-25 Thread Anson Huang
i.MX7D has 2 cortex-a7 ARM core, add support for booting up SMP kernel with 2 CPUs. The existing i.MX SMP code is designed for i.MX6 series SoCs which have cortex-a9 ARM core, but i.MX7D has 2 cortex-a7 ARM core, so we need to add runtime check for those differences between cortex-a9 and

Re: linux-next: build warnings after merge of the kbuild tree

2016-08-25 Thread Nicholas Piggin
On Mon, 22 Aug 2016 20:47:58 +1000 Nicholas Piggin wrote: > On Fri, 19 Aug 2016 20:44:55 +1000 > Nicholas Piggin wrote: > > > On Fri, 19 Aug 2016 10:37:00 +0200 > > Michal Marek wrote: > > > > > On 2016-08-19 07:09, Stephen Rothwell

Re: linux-next: build warnings after merge of the kbuild tree

2016-08-25 Thread Nicholas Piggin
On Mon, 22 Aug 2016 20:47:58 +1000 Nicholas Piggin wrote: > On Fri, 19 Aug 2016 20:44:55 +1000 > Nicholas Piggin wrote: > > > On Fri, 19 Aug 2016 10:37:00 +0200 > > Michal Marek wrote: > > > > > On 2016-08-19 07:09, Stephen Rothwell wrote: > > [snip] > > > > > > > > > I may be

[PATCH 1/3] ARM: dts: imx7: support SMP boot up

2016-08-25 Thread Anson Huang
This patch adds GPC module, i.MX7 has a different design of GPC module from i.MX6, so we call it GPCV2, booting up secondary CPUs needs to access GPCV2 to enable secondary CPUs' power. Also, adds "arm,cpu-registers-not-fw-configured" property, interrupt parent and clock rate to arch timer.

[PATCH 1/3] ARM: dts: imx7: support SMP boot up

2016-08-25 Thread Anson Huang
This patch adds GPC module, i.MX7 has a different design of GPC module from i.MX6, so we call it GPCV2, booting up secondary CPUs needs to access GPCV2 to enable secondary CPUs' power. Also, adds "arm,cpu-registers-not-fw-configured" property, interrupt parent and clock rate to arch timer.

Re: [PATCH 2/2] mm/usercopy: enable usercopy size checking for modern versions of gcc

2016-08-25 Thread Josh Poimboeuf
On Thu, Aug 25, 2016 at 10:14:36PM -0400, Kees Cook wrote: > On Thu, Aug 25, 2016 at 4:47 PM, Josh Poimboeuf wrote: > > On Tue, Aug 23, 2016 at 10:37:43PM -0400, Kees Cook wrote: > >> On Tue, Aug 23, 2016 at 3:28 PM, Josh Poimboeuf > >> wrote: > >> >

Re: [PATCH 2/2] mm/usercopy: enable usercopy size checking for modern versions of gcc

2016-08-25 Thread Josh Poimboeuf
On Thu, Aug 25, 2016 at 10:14:36PM -0400, Kees Cook wrote: > On Thu, Aug 25, 2016 at 4:47 PM, Josh Poimboeuf wrote: > > On Tue, Aug 23, 2016 at 10:37:43PM -0400, Kees Cook wrote: > >> On Tue, Aug 23, 2016 at 3:28 PM, Josh Poimboeuf > >> wrote: > >> > This is a revert of: > >> > > >> >

[PATCH v2] i2c: move locking operations to their own struct

2016-08-25 Thread Peter Rosin
This makes it trivial to constify them, so do that. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_dp_helper.c | 10 +++--- drivers/i2c/i2c-core.c | 13 - drivers/i2c/i2c-mux.c | 25 - include/linux/i2c.h

[PATCH v2] i2c: move locking operations to their own struct

2016-08-25 Thread Peter Rosin
This makes it trivial to constify them, so do that. Signed-off-by: Peter Rosin --- drivers/gpu/drm/drm_dp_helper.c | 10 +++--- drivers/i2c/i2c-core.c | 13 - drivers/i2c/i2c-mux.c | 25 - include/linux/i2c.h | 25

Re: [BUG] perf tool: uprobe displays wrong argument value

2016-08-25 Thread Namhyung Kim
Hello, On Thu, Aug 25, 2016 at 04:11:47PM +0300, Yauheni Kaliuta wrote: > Hi, Jiri! > > > On Thu, 25 Aug 2016 14:02:50 +0200, Jiri Olsa wrote: > > [...] > > > Now here's where I got confused.. please continue reading only on your > own risk ;-) > > > The uprobe_events shows following

Re: [BUG] perf tool: uprobe displays wrong argument value

2016-08-25 Thread Namhyung Kim
Hello, On Thu, Aug 25, 2016 at 04:11:47PM +0300, Yauheni Kaliuta wrote: > Hi, Jiri! > > > On Thu, 25 Aug 2016 14:02:50 +0200, Jiri Olsa wrote: > > [...] > > > Now here's where I got confused.. please continue reading only on your > own risk ;-) > > > The uprobe_events shows following

[PATCH 0/3] Add SMP support for i.MX7D

2016-08-25 Thread Anson Huang
i.MX7D has 2 Cortex-A7 ARM cores, and it has a different GPC design than i.MX6, so this patch set adds a new GPCV2 driver for i.MX7D, and also adds runtime check in SMP code to support both Cortex-A9 and Cortex-A7 ARM cores. With this patch set, i.MX7D can boot up SMP kernel with 2 CPUs. Anson

[PATCH 0/3] Add SMP support for i.MX7D

2016-08-25 Thread Anson Huang
i.MX7D has 2 Cortex-A7 ARM cores, and it has a different GPC design than i.MX6, so this patch set adds a new GPCV2 driver for i.MX7D, and also adds runtime check in SMP code to support both Cortex-A9 and Cortex-A7 ARM cores. With this patch set, i.MX7D can boot up SMP kernel with 2 CPUs. Anson

Re: [PATCH] MAINTAINERS: add tree entry for ARM/UniPhier architecture

2016-08-25 Thread Olof Johansson
On Thu, Aug 18, 2016 at 03:08:22AM +0900, Masahiro Yamada wrote: > Add T: entry for a new git tree, which I expect UniPhier SoC > updates will be pulled from. > > Signed-off-by: Masahiro Yamada Applied. Thanks. -Olof

Re: [PATCH] MAINTAINERS: add tree entry for ARM/UniPhier architecture

2016-08-25 Thread Olof Johansson
On Thu, Aug 18, 2016 at 03:08:22AM +0900, Masahiro Yamada wrote: > Add T: entry for a new git tree, which I expect UniPhier SoC > updates will be pulled from. > > Signed-off-by: Masahiro Yamada Applied. Thanks. -Olof

Re: [PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful

2016-08-25 Thread Josh Poimboeuf
On Thu, Aug 25, 2016 at 02:23:35PM -0700, Linus Torvalds wrote: > On Aug 25, 2016 2:08 PM, "Josh Poimboeuf" wrote: > > > > Ah, the plot thickens. I didn't know about 'dmesg_restrict'. So I > > guess we don't have to restrict the stack dump addresses after all, > > since the

Re: [PATCH 3/6] x86/dumpstack: make printk_stack_address() more generally useful

2016-08-25 Thread Josh Poimboeuf
On Thu, Aug 25, 2016 at 02:23:35PM -0700, Linus Torvalds wrote: > On Aug 25, 2016 2:08 PM, "Josh Poimboeuf" wrote: > > > > Ah, the plot thickens. I didn't know about 'dmesg_restrict'. So I > > guess we don't have to restrict the stack dump addresses after all, > > since the entire dmesg buffer

Re: [RFC][PATCH -v2 1/4] locking/drm/i915: Kill mutex trickery

2016-08-25 Thread Andreas Mohr
Hi, [no properly binding reference via In-Reply-To: available thus manually re-creating, sorry] > > But initerim I guess we could set our own owner field and check that > > to keep the duct-tape from getting off completely. > > -Daniel > > Another alternative is to provide a standard mutex API

Re: [PATCH 0/2] ibmvfc: FC-TAPE Support

2016-08-25 Thread Martin K. Petersen
> "Tyrel" == Tyrel Datwyler writes: Tyrel> This patchset introduces optional FC-TAPE/FC Class 3 Error Tyrel> Recovery to the ibmvfc client driver. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [RFC][PATCH -v2 1/4] locking/drm/i915: Kill mutex trickery

2016-08-25 Thread Andreas Mohr
Hi, [no properly binding reference via In-Reply-To: available thus manually re-creating, sorry] > > But initerim I guess we could set our own owner field and check that > > to keep the duct-tape from getting off completely. > > -Daniel > > Another alternative is to provide a standard mutex API

Re: [PATCH 0/2] ibmvfc: FC-TAPE Support

2016-08-25 Thread Martin K. Petersen
> "Tyrel" == Tyrel Datwyler writes: Tyrel> This patchset introduces optional FC-TAPE/FC Class 3 Error Tyrel> Recovery to the ibmvfc client driver. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

[PATCH v4 1/2] PCI: altera: Rework configs accessors

2016-08-25 Thread Ley Foon Tan
Rework configs accessors so a future patch can use them in _probe() with struct altera_pcie instead of struct pci_bus. Signed-off-by: Ley Foon Tan --- drivers/pci/host/pcie-altera.c | 64 +++--- 1 file changed, 41 insertions(+), 23

[PATCH v4 1/2] PCI: altera: Rework configs accessors

2016-08-25 Thread Ley Foon Tan
Rework configs accessors so a future patch can use them in _probe() with struct altera_pcie instead of struct pci_bus. Signed-off-by: Ley Foon Tan --- drivers/pci/host/pcie-altera.c | 64 +++--- 1 file changed, 41 insertions(+), 23 deletions(-) diff --git

Re: [PATCH] aic94xx: Add missing error code assignment before test

2016-08-25 Thread Martin K. Petersen
> "Christophe" == Christophe JAILLET writes: Christophe> It is likely that checking the result of Christophe> 'pci_write_config_dword' is expected here. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] aic94xx: Add missing error code assignment before test

2016-08-25 Thread Martin K. Petersen
> "Christophe" == Christophe JAILLET writes: Christophe> It is likely that checking the result of Christophe> 'pci_write_config_dword' is expected here. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH v3 2/2] powerpc/fadump: parse fadump reserve memory size based on memory range

2016-08-25 Thread Dave Young
On 08/25/16 at 11:00pm, Hari Bathini wrote: > > > On Thursday 25 August 2016 12:31 PM, Dave Young wrote: > > On 08/10/16 at 03:35pm, Hari Bathini wrote: > > > When fadump is enabled, by default 5% of system RAM is reserved for > > > fadump kernel. While that works for most cases, it is not good

Re: [PATCH v3 2/2] powerpc/fadump: parse fadump reserve memory size based on memory range

2016-08-25 Thread Dave Young
On 08/25/16 at 11:00pm, Hari Bathini wrote: > > > On Thursday 25 August 2016 12:31 PM, Dave Young wrote: > > On 08/10/16 at 03:35pm, Hari Bathini wrote: > > > When fadump is enabled, by default 5% of system RAM is reserved for > > > fadump kernel. While that works for most cases, it is not good

Re: [GIT PULL] ARM: exynos: Fixes for v4.8

2016-08-25 Thread Olof Johansson
On Thu, Aug 18, 2016 at 08:31:55AM +0200, Krzysztof Kozlowski wrote: > Hi, > > A fix and a maintainers update for current release cycle (v4.8). > > Best regards, > Krzysztof > > > The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: > > Linux 4.8-rc1 (2016-08-07

Re: [GIT PULL] ARM: exynos: Fixes for v4.8

2016-08-25 Thread Olof Johansson
On Thu, Aug 18, 2016 at 08:31:55AM +0200, Krzysztof Kozlowski wrote: > Hi, > > A fix and a maintainers update for current release cycle (v4.8). > > Best regards, > Krzysztof > > > The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: > > Linux 4.8-rc1 (2016-08-07

Re: [PATCH 1/1] sched: apply ifdef CONFIG_SMP to meaningful code only on SMP system

2016-08-25 Thread Byungchul Park
On Thu, Aug 25, 2016 at 03:56:59PM +0900, Byungchul Park wrote: > On Sun, Jul 05, 2015 at 06:43:31PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > Hello, > > This patch was rejected and the next version having tried to apply what > peterz recommanded,

Re: [PATCH 1/1] sched: apply ifdef CONFIG_SMP to meaningful code only on SMP system

2016-08-25 Thread Byungchul Park
On Thu, Aug 25, 2016 at 03:56:59PM +0900, Byungchul Park wrote: > On Sun, Jul 05, 2015 at 06:43:31PM +0900, byungchul.p...@lge.com wrote: > > From: Byungchul Park > > Hello, > > This patch was rejected and the next version having tried to apply what > peterz recommanded, was almost ignored last

Re: [PATCH 2/3] f2fs: schedule in between two continous batch discards

2016-08-25 Thread Jaegeuk Kim
On Fri, Aug 26, 2016 at 08:50:50AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On 2016/8/26 0:57, Jaegeuk Kim wrote: > > Hi Chao, > > > > On Thu, Aug 25, 2016 at 05:22:29PM +0800, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2016/8/24 0:53, Jaegeuk Kim wrote: > >>> Hi Chao, > >>> > >>> On Sun, Aug

Re: [PATCH 2/3] f2fs: schedule in between two continous batch discards

2016-08-25 Thread Jaegeuk Kim
On Fri, Aug 26, 2016 at 08:50:50AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On 2016/8/26 0:57, Jaegeuk Kim wrote: > > Hi Chao, > > > > On Thu, Aug 25, 2016 at 05:22:29PM +0800, Chao Yu wrote: > >> Hi Jaegeuk, > >> > >> On 2016/8/24 0:53, Jaegeuk Kim wrote: > >>> Hi Chao, > >>> > >>> On Sun, Aug

Re: [Nios2-dev] [PATCH] nios2: use of_property_read_bool

2016-08-25 Thread Ley Foon Tan
On Wed, Aug 10, 2016 at 8:27 PM, Tobias Klauser wrote: > Use of_property_read_bool instead of open-coding it as fpcu_has. Convert > the members of struct cpuinfo from u32 to bool accordingly as they are > only used as boolean anyhow. > > Signed-off-by: Tobias Klauser

Re: [Nios2-dev] [PATCH] nios2: use of_property_read_bool

2016-08-25 Thread Ley Foon Tan
On Wed, Aug 10, 2016 at 8:27 PM, Tobias Klauser wrote: > Use of_property_read_bool instead of open-coding it as fpcu_has. Convert > the members of struct cpuinfo from u32 to bool accordingly as they are > only used as boolean anyhow. > > Signed-off-by: Tobias Klauser Acked-by: Ley Foon Tan

RE: Re: [PATCH] PM / devfreq: fix Kconfig indent style

2016-08-25 Thread MyungJoo Ham
> Hi Jisheng, > > Looks good to me. But, you need to rebase it > on latest devfreq.git because the related patch > is already merged[1] for COMPILE_TEST. > So, the merge conflict may happen. > > [1] >

RE: Re: [PATCH] PM / devfreq: fix Kconfig indent style

2016-08-25 Thread MyungJoo Ham
> Hi Jisheng, > > Looks good to me. But, you need to rebase it > on latest devfreq.git because the related patch > is already merged[1] for COMPILE_TEST. > So, the merge conflict may happen. > > [1] >

Re: [PATCH] PM / devfreq: fix Kconfig indent style

2016-08-25 Thread Jisheng Zhang
Hi MyungJoo, Chanwoo, On Fri, 26 Aug 2016 02:42:05 + MyungJoo Ham wrote: > > Hi Jisheng, > > > > Looks good to me. But, you need to rebase it > > on latest devfreq.git because the related patch > > is already merged[1] for COMPILE_TEST. > > So, the merge conflict may happen. > > > > [1] >

[PATCH 1/3] dt-bindings: Add Japan Display Inc vendor id

2016-08-25 Thread Vinay Simha BN
Add vendor id for Japan Display Inc. Cc: Archit Taneja Cc: John Stultz Cc: Thierry Reding Cc: Sumit Semwal Signed-off-by: Vinay Simha BN Acked-by: Rob Herring

Re: [PATCH] PM / devfreq: fix Kconfig indent style

2016-08-25 Thread Jisheng Zhang
Hi MyungJoo, Chanwoo, On Fri, 26 Aug 2016 02:42:05 + MyungJoo Ham wrote: > > Hi Jisheng, > > > > Looks good to me. But, you need to rebase it > > on latest devfreq.git because the related patch > > is already merged[1] for COMPILE_TEST. > > So, the merge conflict may happen. > > > > [1] >

[PATCH 1/3] dt-bindings: Add Japan Display Inc vendor id

2016-08-25 Thread Vinay Simha BN
Add vendor id for Japan Display Inc. Cc: Archit Taneja Cc: John Stultz Cc: Thierry Reding Cc: Sumit Semwal Signed-off-by: Vinay Simha BN Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v2 0/8] hisi_sas internal abort support

2016-08-25 Thread Martin K. Petersen
> "John" == John Garry writes: John> This patchset introduces support for the internal abort feature John> for the HiSilicon SAS controller. John> The internal abort feature allows commands which are active in the John> controller to be aborted before being sent to

Re: [PATCH v2 0/8] hisi_sas internal abort support

2016-08-25 Thread Martin K. Petersen
> "John" == John Garry writes: John> This patchset introduces support for the internal abort feature John> for the HiSilicon SAS controller. John> The internal abort feature allows commands which are active in the John> controller to be aborted before being sent to the slave device. John>

Re: [PATCH v2 6/8] i2c: mux: inform the i2c mux core about how it is used

2016-08-25 Thread Peter Rosin
On 2016-08-25 18:24, Wolfram Sang wrote: > On Thu, Aug 25, 2016 at 06:22:37PM +0200, Peter Rosin wrote: >> On 2016-08-25 18:19, Wolfram Sang wrote: >>> diff --git a/drivers/i2c/muxes/i2c-mux-pca9541.c b/drivers/i2c/muxes/i2c-mux-pca9541.c index 3cb8af635db5..f052c3067791 100644

Re: [PATCH v2 6/8] i2c: mux: inform the i2c mux core about how it is used

2016-08-25 Thread Peter Rosin
On 2016-08-25 18:24, Wolfram Sang wrote: > On Thu, Aug 25, 2016 at 06:22:37PM +0200, Peter Rosin wrote: >> On 2016-08-25 18:19, Wolfram Sang wrote: >>> diff --git a/drivers/i2c/muxes/i2c-mux-pca9541.c b/drivers/i2c/muxes/i2c-mux-pca9541.c index 3cb8af635db5..f052c3067791 100644

[PATCH v10 3/3] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-08-25 Thread Vinay Simha BN
Add support for the JDI LT070ME05000 WUXGA DSI panel used in Nexus 7 2013 devices. Programming sequence for the panel is was originally found in the android-msm-flo-3.4-lollipop-release branch from: https://android.googlesource.com/kernel/msm.git And video mode setting is from

[PATCH v3 2/3] dt-bindings: Add jdi lt070me05000 panel bindings

2016-08-25 Thread Vinay Simha BN
Add documentation for lt070me05000 panel Cc: Archit Taneja Cc: John Stultz Cc: Thierry Reding Cc: Sumit Semwal Signed-off-by: Vinay Simha BN Acked-by: Rob Herring

[PATCH v10 3/3] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-08-25 Thread Vinay Simha BN
Add support for the JDI LT070ME05000 WUXGA DSI panel used in Nexus 7 2013 devices. Programming sequence for the panel is was originally found in the android-msm-flo-3.4-lollipop-release branch from: https://android.googlesource.com/kernel/msm.git And video mode setting is from

[PATCH v3 2/3] dt-bindings: Add jdi lt070me05000 panel bindings

2016-08-25 Thread Vinay Simha BN
Add documentation for lt070me05000 panel Cc: Archit Taneja Cc: John Stultz Cc: Thierry Reding Cc: Sumit Semwal Signed-off-by: Vinay Simha BN Acked-by: Rob Herring --- v2: * incorporated rob herring and thierry reviews gpio to gpios, gpio to regulator using fixed regulators and pwm

include/linux/radix-tree.h:199:16: sparse: expression using sizeof(void)

2016-08-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 61c04572de404e52a655a36752e696bbcb483cf5 commit: 112dc0c8069e5554e0ad29c58228f1e6ca49e13d locking/barriers: Suppress sparse warnings in lockless_dereference() date: 8 days ago reproduce: # apt-get

include/linux/radix-tree.h:199:16: sparse: expression using sizeof(void)

2016-08-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 61c04572de404e52a655a36752e696bbcb483cf5 commit: 112dc0c8069e5554e0ad29c58228f1e6ca49e13d locking/barriers: Suppress sparse warnings in lockless_dereference() date: 8 days ago reproduce: # apt-get

Re: [PATCH] megaraid_sas: Fix the search of first memory bar

2016-08-25 Thread Martin K. Petersen
> "Christophe" == Christophe JAILLET writes: Christophe> The 2nd parameter of 'find_first_bit' is the number of bits Christophe> to search. In this case, we are passing 'sizeof(unsigned Christophe> long)' which is likely to be 4. Kashyap? Sumit? -- Martin

Re: [PATCH] megaraid_sas: Fix the search of first memory bar

2016-08-25 Thread Martin K. Petersen
> "Christophe" == Christophe JAILLET writes: Christophe> The 2nd parameter of 'find_first_bit' is the number of bits Christophe> to search. In this case, we are passing 'sizeof(unsigned Christophe> long)' which is likely to be 4. Kashyap? Sumit? -- Martin K. Petersen Oracle Linux

Re: [PATCH v8 1/2 RESEND] Add bio/request flags to issue ZBC/ZAC commands

2016-08-25 Thread Damien Le Moal
Shaun, On 8/25/16 05:24, Shaun Tancheff wrote: (RESENDING to include f2fs, fs-devel and dm-devel) Add op flags to access to zone information as well as open, close and reset zones: - REQ_OP_ZONE_REPORT - Query zone information (Report zones) - REQ_OP_ZONE_OPEN - Explicitly open a zone for

Re: [PATCH v8 1/2 RESEND] Add bio/request flags to issue ZBC/ZAC commands

2016-08-25 Thread Damien Le Moal
Shaun, On 8/25/16 05:24, Shaun Tancheff wrote: (RESENDING to include f2fs, fs-devel and dm-devel) Add op flags to access to zone information as well as open, close and reset zones: - REQ_OP_ZONE_REPORT - Query zone information (Report zones) - REQ_OP_ZONE_OPEN - Explicitly open a zone for

Re: [RFC v2 09/10] landlock: Handle cgroups

2016-08-25 Thread Alexei Starovoitov
On Thu, Aug 25, 2016 at 12:32:44PM +0200, Mickaël Salaün wrote: > Add an eBPF function bpf_landlock_cmp_cgroup_beneath(opt, map, map_op) > to compare the current process cgroup with a cgroup handle, The handle > can match the current cgroup if it is the same or a child. This allows > to make

Re: [RFC v2 09/10] landlock: Handle cgroups

2016-08-25 Thread Alexei Starovoitov
On Thu, Aug 25, 2016 at 12:32:44PM +0200, Mickaël Salaün wrote: > Add an eBPF function bpf_landlock_cmp_cgroup_beneath(opt, map, map_op) > to compare the current process cgroup with a cgroup handle, The handle > can match the current cgroup if it is the same or a child. This allows > to make

  1   2   3   4   5   6   7   8   9   10   >