Re: [PATCH] mm: clarify COMPACTION Kconfig text

2016-08-25 Thread Michal Hocko
On Thu 25-08-16 15:34:54, David Rientjes wrote: > On Thu, 25 Aug 2016, Michal Hocko wrote: > > > > I don't believe it has been an issue in the past for any archs that > > > don't use thp. > > > > Well, fragmentation is a real problem and order-0 reclaim will be never > > anywhere close to reliabl

Re: [PATCH v6 2/7] perf annotate: Add cross arch annotate support

2016-08-25 Thread Namhyung Kim
Hi, On Tue, Aug 23, 2016 at 03:36:17PM -0500, Kim Phillips wrote: > On Tue, 23 Aug 2016 11:17:16 +0900 > Namhyung Kim wrote: > > > On Tue, Aug 23, 2016 at 8:01 AM, Kim Phillips wrote: > > > On Fri, 19 Aug 2016 18:29:33 +0530 > > > Ravi Bangoria wrote: > > > > > >> Changes in v6: > > >> - Ins

[PATCH] arm64: dts: rockchip: fix the address map for WDT0 and WDT1

2016-08-25 Thread Xing Zheng
Dues to incorrect description in the TRM, the WDTs base address should be fixed and swap them like this: WDT0 - 0xff848000 WDT1 - 0xff84 And, it is right that only WDT0 can generate global software reset. We will update the TRM to fix it. Signed-off-by: Xing Zheng --- arch/arm64/boot/dts/r

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

2016-08-25 Thread Nicholas Mc Guire
On Fri, Aug 26, 2016 at 01:58:03PM +1000, Nicholas Piggin wrote: > 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-

Re: OOM detection regressions since 4.7

2016-08-25 Thread Michal Hocko
On Thu 25-08-16 13:30:23, Ralf-Peter Rohbeck wrote: [...] > This worked for me for about 12 hours of my torture test. Logs are at > https://filebin.net/2rfah407nbhzs69e/OOM_4.8.0-rc2_p1.tar.bz2. Thanks! Can we add your Tested-by: Ralf-Peter Rohbeck to the patch? -- Michal Hocko SUSE Labs

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

2016-08-25 Thread Christophe Leroy
Le 26/08/2016 à 06:35, Florian Fainelli a écrit : 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

[PATCH] locking/barriers: don't use sizeof(void) in lockless_dereference()

2016-08-25 Thread Johannes Berg
From: Johannes Berg My previous commit 112dc0c8069e ("locking/barriers: Suppress sparse warnings in lockless_dereference()") caused sparse to complain that (in radix-tree.h) we use sizeof(void) since that rcu_dereference()s a void *. Really, all we need is to have the expression *p in here somew

Re: [PATCH RFC RESEND] Perf: lookup dwarf unwind stack info in debug file pointed by .gnu_debuglink

2016-08-25 Thread Namhyung Kim
On Tue, Aug 23, 2016 at 01:22:04PM +0200, Jiri Olsa wrote: > On Tue, Aug 23, 2016 at 07:09:18AM +0200, Matija Glavinic Pecotic wrote: > > On 22/08/16 17:19, Jiri Olsa wrote: > > > should you also set following? > > > > > > *offset = ofs > > > dso->debug_frame_offset = ofs; > > > > > > I guess

drm/mediatek: fixed the calc method of data rate per lane

2016-08-25 Thread Jitao Shi
Tune dsi frame rate by pixel clock, dsi add some extra signal (i.e. Tlpx, Ths-prepare, Ths-zero, Ths-trail,Ths-exit) when enter and exit LP mode, this signal will cause h-time larger than normal and reduce FPS. Need to multiply a coefficient to offset the extra signal's effect. coefficient = ((htot

[PATCH] fix:mtip32xx: mark symbols static where possible

2016-08-25 Thread Baoyou Xie
We get 1 warning when biuld kernel with W=1: drivers/block/mtip32xx/mtip32xx.c:3689:6: warning: no previous prototype for 'mtip_block_release' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static. so th

[PATCH 2/3] ARM: imx: add gpcv2 support

2016-08-25 Thread Anson Huang
i.MX7's GPC(general power controller) module is different from i.MX6, name it as GPCV2 and add its driver for SMP support, as secondary CPUs boot up will need GPC to enable power. Signed-off-by: Anson Huang --- arch/arm/mach-imx/Kconfig | 4 +++ arch/arm/mach-imx/Makefile | 1 + arch/arm/mach

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 dow

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, 1

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 preempt_count with preempt_c

[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 by

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 ; shawn...@kernel.org; > li...@armlinux.org.uk; ker...@pengutronix.de > Su

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 a

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: megaraidlinux@

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 ext

[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 deletions

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 @@ > > +/* > > + * V

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 > --- > fs/gfs2/gl

[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 fact

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 wa

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 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 c66

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 @@ stati

[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 cortex-a7

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 missin

[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. Signed

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: > >> > > >> > 2fb0815c

[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

[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 Hu

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 entire dmesg buffer i

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 deletions(-) diff --git a/d

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 e

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 18:18

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 21

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 Than

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] > https://git.kernel.org/cgit/linux/kernel/git/mzx/devfreq.git/commit/?h=for-rc&id=c2f9bf4e49c12a

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 a/Documentation/devicetr

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> O

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 dsi-panel-jdi-d

[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 ba

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 K. Petersen Oracle Linux Eng

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 condit

[PATCH v4 0/2] PCI: altera: Retrain link in rootport mode only

2016-08-25 Thread Ley Foon Tan
Altera PCIe IP can be configured as rootport or device and they might have same vendor ID. It will cause the system hang issue if Altera PCIe is in endpoint mode and work with other PCIe rootport that from other vendors. This series of patch rework configs accessors and move retrain function from

Plan to support Rockchip VPU in DRM, is it a good idea

2016-08-25 Thread Randy Li
Hello, We always use some kind of hack work to make our Video Process Unit(Multi-format Video Encoder/Decoder) work in kernel. From a customize driver(vpu service) to the customize V4L2 driver. The V4L2 subsystem is really not suitable for the stateless Video process or it could make driver

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

2016-08-25 Thread Chanwoo Choi
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] https://git.kernel.org/cgit/linux/kernel/git/mzx/devfreq.git/commit/?h=for-rc&id=c2f9bf4e49c12a3d9fcbee2cd48c9f5d

Re: [PATCH v2] locking/percpu-rwsem: Optimize readers and reduce global impact

2016-08-25 Thread John Stultz
On Wed, Aug 24, 2016 at 2:30 PM, Tejun Heo wrote: > Hello, John. > > On Wed, Aug 24, 2016 at 02:16:52PM -0700, John Stultz wrote: >> Hey Peter, Tejun, Oleg, >> So while you're tweaks for the percpu-rwsem have greatly helped the >> regression folks were seeing (many thanks, by the way), as noted

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

2016-08-25 Thread Kees Cook
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: >> > >> > 2fb0815c9ee6 ("gcc4: disable __compiletime_object_size for GCC 4.6+") >> > >> > The g

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

2016-08-25 Thread Kees Cook
On Thu, Aug 25, 2016 at 5:23 PM, 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 is protected

[PATCH v4 2/2] PCI: altera: Move retrain from _FIXUP to altera_pcie_host_init()

2016-08-25 Thread Ley Foon Tan
Altera PCIe IP can be configured as rootport or device and they might have same vendor ID. It will cause the system hang issue if Altera PCIe is in endpoint mode and work with other PCIe rootport that from other vendors. Move link retrain function from _FIXUP to altera_pcie_host_init(). Signed-of

[RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs)

2016-08-25 Thread Dmitry Safonov
This patches set is cleanly RFC and is not supposed to be applied. Also for RFC time it builds only on x86_64. So, in a mail thread Oleg told that it would be worth to introduce vm_file for vdso mappings as currently uprobes can not be placed on vDSO VMAs [1]. In this patches set I introduce in-ke

RE: [PATCH v7 5/8] PM / devfreq: event: support rockchip dfi controller

2016-08-25 Thread MyungJoo Ham
> on rk3399 platform, there is dfi conroller can monitor > ddr load, base on this result, we can do ddr freqency > scaling. > > Signed-off-by: Lin Huang > Acked-by: Chanwoo Choi LGTM Signed-off-by: MyungJoo Ham

Re: [PATCH v10 1/2] printk: Make printk() completely async

2016-08-25 Thread Sergey Senozhatsky
On (08/25/16 23:10), Petr Mladek wrote: [..] > I was so taken by the idea of temporary forcing a lockless and > "trivial" printk implementation that I missed one thing. > > Your patch use the alternative printk() variant around logbuf_lock. > But this is not the problem with wake_up_process(). pri

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

2016-08-25 Thread Masami Hiramatsu
On Wed, 24 Aug 2016 16:47:28 +0530 Binoy Jayan wrote: > From: Daniel Wagner > > The tracepoint can't be used in code section where we are in the > middle of a state transition. > > For example if we place a tracepoint inside start/stop_critical_section(), > lockdep complains with > > [0.0

Re: DT connectors, thoughts

2016-08-25 Thread Stephen Boyd
Quoting David Gibson (2016-07-21 21:25:56) > On Thu, Jul 21, 2016 at 02:15:57PM -0500, Rob Herring wrote: > > On Mon, Jul 18, 2016 at 9:20 AM, David Gibson > > wrote: > > > > I understand how you are using i2c alias, but not the intc. It would > > help if the same names were not used in multiple

[PATCH v3 2/5] powerpc: kexec_file: Add buffer hand-over support for the next kernel

2016-08-25 Thread Thiago Jung Bauermann
The buffer hand-over mechanism allows the currently running kernel to pass data to kernel that will be kexec'd via a kexec segment. The second kernel can check whether the previous kernel sent data and retrieve it. This is the architecture-specific part. Signed-off-by: Thiago Jung Bauermann ---

Re: [PATCH v3 0/5] kexec_file: Add buffer hand-over for the next kernel

2016-08-25 Thread Thiago Jung Bauermann
Am Donnerstag, 25 August 2016, 14:12:43 schrieb Andrew Morton: > I grabbed these two patch series. I also merged the "IMA: > Demonstration code for kexec buffer passing." demonstration patch just > to get things a bit of testing. Thank you very much! > I assume that once the "ima: carry the > me

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

2016-08-25 Thread MyungJoo Ham
> Use tab rather than space to indent, and tab + two spaces to indent > help message. > > Signed-off-by: Jisheng Zhang > --- > drivers/devfreq/Kconfig | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > Thanks! Signed-off-by: MyungJoo Ham Cheers, MyungJoo

Re: [PATCH v5 19/19] iommu/dma: Add support for mapping MSIs

2016-08-25 Thread Robin Murphy
Hi Eric, On Fri, 26 Aug 2016 00:25:34 +0200 Auger Eric wrote: > Hi Robin, > > On 23/08/2016 21:05, Robin Murphy wrote: > > When an MSI doorbell is located downstream of an IOMMU, attaching > > devices to a DMA ops domain and switching on translation leads to a > > rude shock when their attempt

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Sören Brinkmann
On Thu, 2016-08-25 at 17:23:47 +0200, Lars-Peter Clausen wrote: > On 08/25/2016 05:10 PM, Sören Brinkmann wrote: > > On Wed, 2016-08-24 at 18:23:03 -0500, Zach Brown wrote: > >> The sdhci controller on xilinx zynq devices will not function unless > >> the cd bit is provided. http://www.xilinx.com/s

[PATCH] f2fs: add noinline_dentry mount option

2016-08-25 Thread Chao Yu
This patch adds noinline_dentry mount option. Signed-off-by: Chao Yu --- Documentation/filesystems/f2fs.txt | 1 + fs/f2fs/super.c| 7 +++ 2 files changed, 8 insertions(+) diff --git a/Documentation/filesystems/f2fs.txt b/Documentation/filesystems/f2fs.txt index ecd8080

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

2016-08-25 Thread Chao Yu
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 21, 2016 at 11:21:30PM +0800, Chao Yu wrote: From: Chao Yu In batch

[PATCH] fix:random:add missing header dependencies

2016-08-25 Thread Baoyou Xie
We get 1 warning when biuld kernel with W=1: drivers/char/random.c:2126:6: warning: no previous prototype for 'add_hwgenerator_randomness' [-Wmissing-prototypes] In fact, this function is declared in hw_random.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie --- drive

Re: [PATCH v9 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-25 Thread Zhou, Wenjian/周文剑
Hi Baoquan, Sorry, I misunderstood it before. Thanks for your detailed explanation. Hi Jon and Baoquan, I'm confused about how to adjust the kdump.txt. Does the patch set v9 still OK? -- Thanks Zhou On 08/24/2016 01:06 PM, Baoquan He wrote: On 08/22/16 at 09:14am, "Zhou, Wenjian/周文剑" wrote:

Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs)

2016-08-25 Thread H. Peter Anvin
On August 25, 2016 3:53:43 PM PDT, Dmitry Safonov <0x7f454...@gmail.com> wrote: >2016-08-25 23:49 GMT+03:00 H. Peter Anvin : >> On August 25, 2016 8:21:07 AM PDT, Dmitry Safonov > wrote: >>>This patches set is cleanly RFC and is not supposed to be applied. >>>Also for RFC time it builds only on x86

Re: [PATCH v3] PCI: altera: Retrain link in rootport mode only

2016-08-25 Thread Ley Foon Tan
On Thu, Aug 25, 2016 at 9:56 PM, Bjorn Helgaas wrote: > On Thu, Aug 25, 2016 at 01:59:56PM +0800, Ley Foon Tan wrote: >> Altera PCIe IP can be configured as rootport or device and they might have >> same vendor ID. It will cause the system hang issue if Altera PCIe is in >> endpoint mode and work

Re: [PATCH] net: hns: dereference ppe_cb->ppe_common_cb if it is non-null

2016-08-25 Thread Yisen Zhuang
在 2016/8/25 14:51, Colin King 写道: > From: Colin Ian King > > ppe_cb->ppe_common_cb is being dereferenced before a null check is > being made on it. If ppe_cb->ppe_common_cb is null then we end up > with a null pointer dereference when assigning dsaf_dev. Fix this > by moving the initialisatio

Re: MAINTAINERS without commits in the last 3 years

2016-08-25 Thread Joe Perches
On Thu, 2016-08-25 at 16:58 -0400, Greg KH wrote: > On Wed, Aug 24, 2016 at 04:33:45PM -0700, Joe Perches wrote: > > Many email addresses in MAINTAINERS no longer work so many > > sections in MAINTAINERS could likely be considered either > > obsolete or unmaintained. > > > secur...@kernel.org > Yo

Re: Entropy sources

2016-08-25 Thread H. Peter Anvin
On 08/25/16 16:35, Sandy Harris wrote: > On Thu, Aug 25, 2016 at 5:30 PM, H. Peter Anvin wrote: > >> The network stack is a good source of entropy, *once it is online*. >> However, the most serious case is while the machine is still booting, >> when the network will not have enabled yet. >> >>

[PATCH] usb: gadget: goku_udc: fix memory leak in goku_probe()

2016-08-25 Thread Alexey Khoroshilov
Memory allocated for goku_udc device is not deallocated at error paths in goku_probe(), because gadget_release() destructor is not registered yet. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/usb/gadget/udc/goku_udc.c | 2 ++ 1 fil

Re: [PATCH v2] net: macb: Increase DMA TX buffer size

2016-08-25 Thread David Miller
From: Xander Huff Date: Wed, 24 Aug 2016 17:25:39 -0500 > From: Nathan Sullivan > > In recent testing with the RT patchset, we have seen cases where the > transmit ring can fill even with up to 200 txbds in the ring. Increase the > size of the DMA TX ring to avoid overruns. > > Signed-off-by:

Re: [PATCH v2] Revert "phy: IRQ cannot be shared"

2016-08-25 Thread David Miller
From: Xander Huff Date: Wed, 24 Aug 2016 16:47:53 -0500 > This reverts: > commit 33c133cc7598 ("phy: IRQ cannot be shared") > > On hardware with multiple PHY devices hooked up to the same IRQ line, allow > them to share it. > > Sergei Shtylyov says: > "I'm not sure now what was the reason I

Re: [RFC 0/3] Put vdso in ramfs-like filesystem (vdsofs)

2016-08-25 Thread Dmitry Safonov
2016-08-25 23:49 GMT+03:00 H. Peter Anvin : > On August 25, 2016 8:21:07 AM PDT, Dmitry Safonov > wrote: >>This patches set is cleanly RFC and is not supposed to be applied. >>Also for RFC time it builds only on x86_64. >> >>So, in a mail thread Oleg told that it would be worth to introduce >>vm_

[PATCH v2] Staging: wlan-ng: removed duplicate code in p80211req.c

2016-08-25 Thread Claudiu Beznea
This patch removes duplicate code in p80211req_mibset_mibget() by adding p80211req_handle_action() function. Changes since v1: Removed prototype of p80211req_handle_action() from the prototype list and add directly the function definition. Signed-off-by: Claudiu Beznea --- drivers/staging/wlan-

Re: chipidea: udc: kernel panic in isr_setup_status_phase

2016-08-25 Thread Clemens Gruber
On Wed, Aug 24, 2016 at 04:11:02PM +0800, Peter Chen wrote: > UEI is an error interrupt, and software have not handled it, so it will > not affect ci->status. > > > Should we only call isr_tr_complete_handler if UI && !UEI ? > > > > Or would adding a check for ci->status == NULL in isr_setup-stat

Re: [patch 2/2] i2c: mux: mellanox: add driver

2016-08-25 Thread Peter Rosin
On 2016-08-24 18:20, Vadim Pasternak wrote: > Hi Peter, > > Thank you very much for your review. > >> -Original Message- >> From: Peter Rosin [mailto:p...@axentia.se] >> Sent: Wednesday, August 24, 2016 4:55 PM >> To: Vadim Pasternak ; w...@the-dreams.de >> Cc: linux-...@vger.kernel.org;

Re: Entropy sources (was: /dev/random - a new approach)

2016-08-25 Thread Sandy Harris
On Thu, Aug 25, 2016 at 5:30 PM, H. Peter Anvin wrote: > The network stack is a good source of entropy, *once it is online*. > However, the most serious case is while the machine is still booting, > when the network will not have enabled yet. > > -hpa One possible solution is at: https:/

Re: [PATCH] arm: sys_oabi-compat: Use kmalloc_array() in two functions

2016-08-25 Thread Russell King - ARM Linux
On Thu, Aug 25, 2016 at 05:50:36PM +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 25 Aug 2016 17:45:23 +0200 > > Multiplications for the size determination of memory allocations > indicated that array data structures should be processed. I'm afraid the above comment doesn't

[PATCH v2 2/2] sdhci-of-arasan: Set controller to test mode when Card Detection is broken.

2016-08-25 Thread Zach Brown
The sdhci controller on xilinx zynq devices will not function unless the CD bit is provided. http://www.xilinx.com/support/answers/61064.html In cases where it is impossible to provide the CD bit in hardware, setting the controller to test mode and then setting inserted to true will get the control

[PATCH v2 1/2] sdhci-of-arasan: Modify arasan sdhci documentation about broken-cd and non-removable properties.

2016-08-25 Thread Zach Brown
The sdhci controller on xilinx zynq devices will not function unless the CD bit is provided. http://www.xilinx.com/support/answers/61064.html In cases where it is impossible to provide the CD bit in hardware, setting the controller to test mode and then setting inserted to true will get the control

Re: [RESEND PATCH] staging: octeon: Use IS_ENABLED() instead of checking for built-in or module

2016-08-25 Thread Javier Martinez Canillas
Hello David, On 08/25/2016 12:01 PM, David Daney wrote: > On 08/25/2016 06:55 AM, Javier Martinez Canillas wrote: >> The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either >> built-in or as a module, use that macro instead of open coding the same. >> >> Using the macro makes the

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

2016-08-25 Thread Hari Bathini
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 c66a485..fb4f902 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/

  1   2   3   4   5   6   7   8   >