Re: [PATCH 0/3] KASAN: clean stale poison upon cold re-entry to kernel

2016-03-03 Thread Andrey Ryabinin
On 03/03/2016 05:49 PM, Mark Rutland wrote: > On Thu, Mar 03, 2016 at 05:30:17PM +0300, Andrey Ryabinin wrote: >> On 03/03/2016 03:38 PM, Mark Rutland wrote: >>> On Thu, Mar 03, 2016 at 01:02:27PM +0100, Ingo Molnar wrote: > > Mark Rutland (3): > kasan: add functions to clear stack

Re: Q: why didn't GCC warn about this uninitialized variable? (was: Re: [PATCH] perf tests: initialize sa.sa_flags)

2016-03-03 Thread Ingo Molnar
* Jakub Jelinek wrote: > On Thu, Mar 03, 2016 at 02:47:16PM +0100, Ingo Molnar wrote: > > I tried to distill a testcase out of it, and the following silly hack seems > > to > > trigger it: > > ... > > This is a known issue, which we don't have a solution for yet. > The thing is, GCC has 2 un

Re: [PATCH 03/17] dt-bindings: Add PLX Technology RPS IRQ Controller bindings

2016-03-03 Thread Andrew Lunn
On Thu, Mar 03, 2016 at 12:39:56PM +0100, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong > --- > .../bindings/interrupt-controller/plxtech,rps-irq.txt | 17 > + > 1 file changed, 17 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/interrupt-contro

Re: [PATCH 4/4] leds: Replace dedicated SN3218 driver with IS31FL32XX driver

2016-03-03 Thread Jacek Anaszewski
Hi David, I'll wait for Tested-by from Stefan before applying this patch. If Stefan will have managed to test your driver with his hardware by the end of this cycle, it will suffice for this patch to contain only leds-is31fl32xx extension part. leds-sn3218 hasn't been merged to mainline yet, so

Re: [PATCH 3/4] leds: Add driver for the ISSI IS31FL32xx family of LED controllers

2016-03-03 Thread Jacek Anaszewski
Hi David, Thanks for the update. Two remarks in the code. On 03/03/2016 04:01 AM, David Rivshin (Allworx) wrote: From: David Rivshin The IS31FL32xx family of LED controllers are I2C devices with multiple constant-current channels, each with independent 256-level PWM control. Datasheets: http

Re: [PATCH 0/3] KASAN: clean stale poison upon cold re-entry to kernel

2016-03-03 Thread Mark Rutland
On Thu, Mar 03, 2016 at 05:30:17PM +0300, Andrey Ryabinin wrote: > On 03/03/2016 03:38 PM, Mark Rutland wrote: > > On Thu, Mar 03, 2016 at 01:02:27PM +0100, Ingo Molnar wrote: > >>> > >>> Mark Rutland (3): > >>> kasan: add functions to clear stack poison > >>> sched/kasan: remove stale KASAN po

[RFC][PATCH v3 3/5] mm/zsmalloc: introduce zs_huge_object()

2016-03-03 Thread Sergey Senozhatsky
zsmalloc knows the watermark after which classes are considered to be ->huge -- every object stored consumes the entire zspage (which consist of a single order-0 page). On x86_64, PAGE_SHIFT 12 box, the first non-huge class size is 3264, so starting down from size 3264, objects share page(-s) and t

[RFC][PATCH v3 2/5] mm/zsmalloc: remove shrinker compaction callbacks

2016-03-03 Thread Sergey Senozhatsky
Do not register shrinker compaction callbacks anymore, since now we shedule class compaction work each time its fragmentation value goes above the watermark. Signed-off-by: Sergey Senozhatsky --- mm/zsmalloc.c | 72 --- 1 file changed, 72 d

[RFC][PATCH v3 4/5] zram: use zs_huge_object()

2016-03-03 Thread Sergey Senozhatsky
From: Sergey Senozhatsky zram should stop enforcing its own 'bad' object size watermark, and start using zs_huge_object(). zsmalloc really knows better. Drop `max_zpage_size' and use zs_huge_object() instead. Signed-off-by: Sergey Senozhatsky --- drivers/block/zram/zram_drv.c | 2 +- drivers/

[RFC][PATCH v3 5/5] mm/zsmalloc: reduce the number of huge classes

2016-03-03 Thread Sergey Senozhatsky
From: Sergey Senozhatsky The existing limit of max 4 pages per zspage sets a tight limit on ->huge classes, which results in increased memory consumption. On x86_64, PAGE_SHIFT 12, ->huge class_size range is 3280-4096. Each ->huge zspage has only one order-0 page and can store only one object, s

[RFC][PATCH v3 1/5] mm/zsmalloc: introduce class auto-compaction

2016-03-03 Thread Sergey Senozhatsky
zsmalloc classes are known to be affected by internal fragmentation. For example, /sys/kernel/debug/zsmalloc/zramX/classes class size almost_full almost_empty obj_allocated obj_used pages_used pages_per_zspage freeable 54 896 1 12 117 57 26

[RFC][PATCH v3 0/5] mm/zsmalloc: rework compaction and increase density

2016-03-03 Thread Sergey Senozhatsky
Hello, RFC Posting as an early preview of zsmalloc compaction and density improvements. The patch set will be rebased once Minchan posts his zsmalloc rework. zsmalloc knows the watermark after which classes are considered to be huge - every object stored consumes the entire zspage (whi

Re: [PATCH V2] acpi, pci, irq: account for early penalty assignment

2016-03-03 Thread Sinan Kaya
Taking another stab at it. On 3/2/2016 10:14 PM, Sinan Kaya wrote: > Taking a step back here and also some inspiration from your code, why don't we > fix the actual problem instead of redesigning the whole thing? I read your email multiple times. I think you want to move the x86 specific pieces

Re: allocate an official device major number for virtio device?

2016-03-03 Thread One Thousand Gnomes
On Thu, 3 Mar 2016 03:52:20 + "Ning, Yu" wrote: > Well, virtio_blk does use dynamic major number allocation, but the allocated > block major just happens to fall in the "experimental" range (240-254)... > > In more detail: > > virtio_blk calls register_blkdev() with major = 0 in init() >

[PATCH 0/4 v2] drm: Add support of ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
This series add support of ARC PGU display controller. ARC PGU is a quite simple byte streamer that gets data from the framebuffer and pushes it to hte connected encoder (DP or HDMI). It was tested on ARC SDP boards (axs101 in particular). Changes v1 -> v2: * Clean-up of DT bindings documentatio

[PATCH 1/4 v2] drm: Add support of ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
ARC PGU could be found on some development boards from Synopsys. This is a simple byte streamer that reads data from a framebuffer and sends data to the single encoder. Signed-off-by: Alexey Brodkin Cc: David Airlie Cc: dri-de...@lists.freedesktop.org Cc: linux-snps-...@lists.infradead.org ---

[PATCH 3/4 v2] arc: axs10x - add support of ARC PGU

2016-03-03 Thread Alexey Brodkin
Synopsys DesignWare ARC SDP boards sport ARC SDP display controller attached to ADV7511 HDMI encoder. That change adds desctiption of both ARC PGU and ADV7511 in ARC SDP'd base-board Device Tree. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell C

[PATCH 4/4 v2] MAINTAINERS: Add maintainer for ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
This updates MAINTEINERS file with information about maintainer of ARC PGU display controller driver. Signed-off-by: Alexey Brodkin Cc: linux-snps-...@lists.infradead.org --- No changes since v1. MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS in

[PATCH 2/4 v2] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
This add DT bindings documentation for ARC PGU display controller. Signed-off-by: Alexey Brodkin Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: devicet...@vger.kernel.org Cc: linux-snps-...@lists.infradead.org --- Changes v1 -> v2: * Clean-up .../devi

Re: Q: why didn't GCC warn about this uninitialized variable? (was: Re: [PATCH] perf tests: initialize sa.sa_flags)

2016-03-03 Thread Ingo Molnar
* Jakub Jelinek wrote: > On Thu, Mar 03, 2016 at 02:47:16PM +0100, Ingo Molnar wrote: > > I tried to distill a testcase out of it, and the following silly hack seems > > to > > trigger it: > > ... > > This is a known issue, which we don't have a solution for yet. > The thing is, GCC has 2 un

Re: [GIT PULL 00/11] perf/core improvements and fixes

2016-03-03 Thread Arnaldo Carvalho de Melo
524d15fc4e1: perf: Export perf_event_sysfs_show() (2016-02-29 09:35:27 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160303 for you to fetch changes up to fb4605ba47e772f

[PATCH] staging/android: add flags member to sync ioctl structs

2016-03-03 Thread Gustavo Padovan
From: Gustavo Padovan Play safe and add flags member to all structs. So we don't need to break API or create new IOCTL in the future if new features that requires flags arises. v2: check if flags are valid (zero, in this case) v3: return -EINVAL if flags are not zero'ed v4: add padding for 64-

Re: linux-next: Tree for Mar 3

2016-03-03 Thread Josh Poimboeuf
On Thu, Mar 03, 2016 at 04:48:01PM +0530, Sudip Mukherjee wrote: > On Thu, Mar 03, 2016 at 04:30:18PM +0530, Sudip Mukherjee wrote: > > On Thu, Mar 03, 2016 at 05:09:26PM +1100, Stephen Rothwell wrote: > > > Hi all, > > > > > > Changes since 20160302: > > > > With next-20160301 and next-20160302

Re: [PATCH v3] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-03-03 Thread Shanker Donthineni
Hi Marc, Do you have any comments on this patch? On 03/01/2016 06:55 AM, Shanker Donthineni wrote: > We are not checking whether the requested device identifier fits into > the device table memory or not. The function its_create_device() > assumes that enough memory has been allocated for whole D

Re: Kernel docs: muddying the waters a bit

2016-03-03 Thread One Thousand Gnomes
> DocBook is a means to an end; nobody really wants DocBook itself as far > as I can tell. We only have docbook because it was the tool of choice rather a lot of years ago to then get useful output formats. It was just inherited when borrowed the original scripts from Gnome/Gtk. It's still the mo

[PATCH] staging/android: refactor SYNC_IOC_FILE_INFO

2016-03-03 Thread Gustavo Padovan
From: Gustavo Padovan Change SYNC_IOC_FILE_INFO behaviour to avoid future API breaks and optimize buffer Now num_fences can be filled by the caller to inform how many fences it wants to retrieve from the kernel. If the num_fences passed is greater than zero info->sync_fence_info should point to

Re: [PATCH 07/17] dt-bindings: Add PLX Technology Reset Controller bindings

2016-03-03 Thread Philipp Zabel
Am Donnerstag, den 03.03.2016, 15:24 +0100 schrieb Neil Armstrong: > On 03/03/2016 03:21 PM, Philipp Zabel wrote: > > Am Donnerstag, den 03.03.2016, 12:40 +0100 schrieb Neil Armstrong: > >> Signed-off-by: Neil Armstrong > > > > Is there a list of the reset bits in this register? > > > > regards

Re: [PATCH 3/4] Remove dl_new

2016-03-03 Thread luca abeni
Hi Steven, On Thu, 3 Mar 2016 09:23:44 -0500 Steven Rostedt wrote: > On Thu, 3 Mar 2016 09:28:01 + > Juri Lelli wrote: > > > That's the one that I use, and I'm not seeing any problems with it. > > I'll send you the binary in private. > > That's the one I use too. Juri provided me with a w

Re: [PATCH 3/3] arm64: kasan: clear stale stack poison

2016-03-03 Thread Lorenzo Pieralisi
On Thu, Mar 03, 2016 at 02:14:29PM +, Mark Rutland wrote: > On Wed, Mar 02, 2016 at 02:26:18PM +, Mark Rutland wrote: > > Functions which the compiler has instrumented for ASAN place poison on > > the stack shadow upon entry and remove this poison prior to returning. > > > > In the case of

Re: [PATCH 0/3] KASAN: clean stale poison upon cold re-entry to kernel

2016-03-03 Thread Andrey Ryabinin
On 03/03/2016 03:38 PM, Mark Rutland wrote: > On Thu, Mar 03, 2016 at 01:02:27PM +0100, Ingo Molnar wrote: >>> >>> Mark Rutland (3): >>> kasan: add functions to clear stack poison >>> sched/kasan: remove stale KASAN poison after hotplug >>> arm64: kasan: clear stale stack poison >>> >>> arch

Re: [PATCH 06/17] reset: Add PLX Technology Reset Controller driver

2016-03-03 Thread Neil Armstrong
On 03/03/2016 03:18 PM, Philipp Zabel wrote: > Hi Neil, > >> +config RESET_OXNAS >> +bool >> +select MFD_SYSCON > > I'd prefer not to select MFD_SYSCON here, but rather let ARCH_OXNAS do > that. > OK. >> +#include > > Is there any need to include linux/io.h ? No, dropping. >> +stati

Re: [PATCH v3 16/16] KVM: document KVM_REINJECT_CONTROL ioctl

2016-03-03 Thread Paolo Bonzini
On 02/03/2016 22:56, Radim Krčmář wrote: > + > +pit_reinject = 0 (!reinject mode) is recommended. What about: pit_reinject = 0 (!reinject mode) is recommended, unless running an old operating system that uses the PIT for timing (e.g. Linux 2.4.x). Paolo

Re: [PATCH] net/ethoc: do not free array priv->mdio->irq

2016-03-03 Thread Andrew Lunn
On Thu, Mar 03, 2016 at 01:43:34PM +, Colin King wrote: > From: Colin Ian King > > priv->mdio->irq used to be allocated and required freeing, but it > is now a fixed sized array and should no longer be free'd. > > Issue detected using static analysis with CoverityScan > > Fixes: e7f4dc3536a

Re: [RFC/RFT][PATCH 0/1] cpufreq: New governor based on scheduler-provided utilization data

2016-03-03 Thread Ingo Molnar
So I wanted to give you some feedback for this, from the scheduler maintainer's POV. Looks like there are two cpufreq modernization efforts, one is this series, the other is Steve Muckle's: [RFCv7 PATCH 00/10] sched: scheduler-driven CPU frequency selection What I'd like to see from a sched

Re: [PATCH v5 22/22] sound/usb: Use Media Controller API to share media resources

2016-03-03 Thread Shuah Khan
On 03/03/2016 03:36 AM, Dan Carpenter wrote: > On Wed, Mar 02, 2016 at 03:57:03PM -0700, Shuah Khan wrote: >> On 03/02/2016 01:41 PM, Dan Carpenter wrote: >>> On Wed, Mar 02, 2016 at 09:50:31AM -0700, Shuah Khan wrote: + mctl = kzalloc(sizeof(*mctl), GFP_KERNEL); + if (!mctl) +

Re: [PATCH] asix: do not free array priv->mdio->irq

2016-03-03 Thread Andrew Lunn
On Thu, Mar 03, 2016 at 01:27:56PM +, Colin King wrote: > From: Colin Ian King > > Used to be allocated and required freeing, but now > priv->mdio->irq is now a fixed sized array and should no longer be > free'd. > > Issue detected using static analysis with CoverityScan > > Fixes: e7f4dc35

Re: [PATCH V5 00/15] MMCONFIG refactoring and support for ARM64 PCI hostbridge init based on ACPI

2016-03-03 Thread Sinan Kaya
On 3/3/2016 6:23 AM, Lorenzo Pieralisi wrote: > x86 and IA64 claim PCI resources on boot and live with that (well, minus > the gazillions x86 pci= parameters that change the PCI resources assignment > one way or another), comments very welcome in particular on the pci=realloc > option and its usage

Re: [PATCH 07/17] dt-bindings: Add PLX Technology Reset Controller bindings

2016-03-03 Thread Neil Armstrong
On 03/03/2016 03:21 PM, Philipp Zabel wrote: > Am Donnerstag, den 03.03.2016, 12:40 +0100 schrieb Neil Armstrong: >> Signed-off-by: Neil Armstrong > > Is there a list of the reset bits in this register? > > regards > Philipp > Yes, should I add it to the bindings ? Neil

Re: [PATCH 04/14] power: pm2301-charger: use __maybe_unused to hide pm functions

2016-03-03 Thread Sebastian Reichel
Hi, On Wed, Mar 02, 2016 at 04:58:56PM +0100, Arnd Bergmann wrote: > The pm2301 charger driver uses nested #ifdefs to check for both > CONFIG_PM and CONFIG_PM_SLEEP in an attempt to hide its > suspend and runtime-pm operations when they are unused, but > it does not hide the clear_lpn_pin() functi

Re: [PATCH 03/14] power: ipaq-micro-battery: use __maybe_unused to hide pm functions

2016-03-03 Thread Sebastian Reichel
Hi, On Wed, Mar 02, 2016 at 04:58:55PM +0100, Arnd Bergmann wrote: > The ipaq micro battery driver has suspend/resume functions that > are accessed using SIMPLE_DEV_PM_OPS, which hide the reference > when CONFIG_PM_SLEEP is not set, resulting in a warning about > unused functions: > > drivers/pow

Re: [PATCH] of/overlay: add of overlay notifications

2016-03-03 Thread Rob Herring
On Wed, Mar 2, 2016 at 12:49 PM, atull wrote: > On Wed, 2 Mar 2016, Rob Herring wrote: > >> On Fri, Feb 26, 2016 at 3:44 PM, Alan Tull >> wrote: >> > This patch add of overlay notifications. >> > >> > When DT overlays are being added, some drivers/subsystems >> > need to see device tree overlays

Re: [PATCH 3/4] Remove dl_new

2016-03-03 Thread Steven Rostedt
On Thu, 3 Mar 2016 09:28:01 + Juri Lelli wrote: > That's the one that I use, and I'm not seeing any problems with it. I'll > send you the binary in private. That's the one I use too. BTW, Juri, do you plan on submitting patches to schedtool upstream? -- Steve

Re: [PATCH 07/17] dt-bindings: Add PLX Technology Reset Controller bindings

2016-03-03 Thread Philipp Zabel
Am Donnerstag, den 03.03.2016, 12:40 +0100 schrieb Neil Armstrong: > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/reset/plxtech,reset.txt| 25 > ++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/reset/plxtech,re

Re: [PATCH] power_supply: 88pm860x_charger: do not pass NULL to power_supply_put

2016-03-03 Thread Sebastian Reichel
Hi, On Sun, Feb 28, 2016 at 07:57:58PM +, Colin King wrote: > In the case where power_supply_get_by_name returns NULL the current > error return path calls power_supply_put with a NULL psy which will > cause a null pointer dereference. Avoid this with an immediate > return. Thanks, queued.

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-03-03 Thread Gabriele Paoloni
Hi Lorenzo, many thanks for replying > -Original Message- > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > Sent: 29 February 2016 11:38 > To: Gabriele Paoloni > Cc: Bjorn Helgaas; 'Mark Rutland'; Guohanjun (Hanjun Guo); Wangzhou > (B); liudongdong (C); Linuxarm; qiujiang; 'bh

Re: [PATCH] jz4740-battery: Correct voltage change check

2016-03-03 Thread Sebastian Reichel
Hi, On Sun, Feb 28, 2016 at 05:05:48PM +0100, Maarten ter Huurne wrote: > The check is supposed to avoid redundant update notifications, so it > should check for the difference between old and new voltage exceeding > a threshold. > > Also make sure the result of a failed read is never stored. Th

Re: [RFCv7 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2016-03-03 Thread Ingo Molnar
* Steve Muckle wrote: > From: Michael Turquette > > Scheduler-driven CPU frequency selection hopes to exploit both > per-task and global information in the scheduler to improve frequency > selection policy, achieving lower power consumption, improved > responsiveness/performance, and less reli

Re: [PATCH RT 07/17] arm64: replace read_lock to rcu lock in call_step_hook

2016-03-03 Thread Steven Rostedt
On Thu, 3 Mar 2016 09:12:50 -0500 Steven Rostedt wrote: > > I think, this got wrong during backporting, no? > > Should have been > > -DEFINE_RWLOCK(step_hook_lock); > > > Below is the new patch. Total -rc2 patch: https://www.kernel.org/pub/linux/kernel/projects/rt/3.14/patch-3.14.61-rt6

Re: [PATCH] power_supply: lp8788-charger: initialize boolean 'found'

2016-03-03 Thread Sebastian Reichel
Hi, On Sat, Feb 27, 2016 at 12:54:11PM +, Colin King wrote: > The boolean 'found' is not initialized and hence garbage. It should > be initialized as false. > > Found with static analysis using CoverityScan Thanks, queued. -- Sebastian signature.asc Description: PGP signature

Re: [PATCH] net/ethoc: do not free array priv->mdio->irq

2016-03-03 Thread Tobias Klauser
On 2016-03-03 at 14:43:34 +0100, Colin King wrote: > From: Colin Ian King > > priv->mdio->irq used to be allocated and required freeing, but it > is now a fixed sized array and should no longer be free'd. > > Issue detected using static analysis with CoverityScan > > Fixes: e7f4dc3536a400 ("md

Re: Q: why didn't GCC warn about this uninitialized variable? (was: Re: [PATCH] perf tests: initialize sa.sa_flags)

2016-03-03 Thread Jakub Jelinek
On Thu, Mar 03, 2016 at 02:47:16PM +0100, Ingo Molnar wrote: > I tried to distill a testcase out of it, and the following silly hack seems > to > trigger it: ... This is a known issue, which we don't have a solution for yet. The thing is, GCC has 2 uninitialized warning passes, one is done very

Re: [PATCH 06/17] reset: Add PLX Technology Reset Controller driver

2016-03-03 Thread Philipp Zabel
Hi Neil, Am Donnerstag, den 03.03.2016, 12:39 +0100 schrieb Neil Armstrong: > Add System reset controller driver for PLX Technology OXNAS SoC Family. > > CC: Ma Haijun > Signed-off-by: Neil Armstrong > --- > drivers/reset/Kconfig | 4 ++ > drivers/reset/Makefile | 1 + > drivers

Re: [PATCH v9 3/3] add support for DWC UFS Host Controller

2016-03-03 Thread Joao Pinto
On 3/3/2016 2:12 PM, Arnd Bergmann wrote: > On Thursday 03 March 2016 13:52:39 Joao Pinto wrote: >> >> config SCSI_UFS_DWC >> bool >> >> config SCSI_UFS_DWC_TC_PLATFORM >> tristate "DesignWare platform support using a G210 Test Chip" >> depends on SCSI_UFSHCD_PLATFORM >>

Re: [PATCH 0/3] OOM detection rework v4

2016-03-03 Thread Joonsoo Kim
2016-03-03 18:26 GMT+09:00 Michal Hocko : > On Wed 02-03-16 23:34:21, Joonsoo Kim wrote: >> 2016-03-02 23:06 GMT+09:00 Michal Hocko : >> > On Wed 02-03-16 22:32:09, Joonsoo Kim wrote: >> >> 2016-03-02 18:50 GMT+09:00 Michal Hocko : >> >> > On Wed 02-03-16 11:19:54, Joonsoo Kim wrote: >> >> >> On Mo

Re: [PATCH 3/3] arm64: kasan: clear stale stack poison

2016-03-03 Thread Mark Rutland
On Wed, Mar 02, 2016 at 02:26:18PM +, Mark Rutland wrote: > Functions which the compiler has instrumented for ASAN place poison on > the stack shadow upon entry and remove this poison prior to returning. > > In the case of cpuidle, CPUs exit the kernel a number of levels deep > in C code. Any

Re: [PATCH v2] locktorture: Fix NULL pointer when torture_type is invalid

2016-03-03 Thread Paul E. McKenney
On Thu, Mar 03, 2016 at 09:37:42AM +0800, Kefeng Wang wrote: > > > On 2016/3/3 5:12, Paul E. McKenney wrote: > > On Wed, Mar 02, 2016 at 11:55:43AM -0800, Davidlohr Bueso wrote: > >> On Tue, 02 Feb 2016, Davidlohr Bueso wrote: > >> > >> I've just hit this issue myself and remembered this thread :

Re: [PATCH v9 3/3] add support for DWC UFS Host Controller

2016-03-03 Thread Arnd Bergmann
On Thursday 03 March 2016 13:52:39 Joao Pinto wrote: > > config SCSI_UFS_DWC > bool > > config SCSI_UFS_DWC_TC_PLATFORM > tristate "DesignWare platform support using a G210 Test Chip" > depends on SCSI_UFSHCD_PLATFORM > select SCSI_UFS_DWC > ---help--- >

Re: [tip:core/objtool] objtool: Add CONFIG_STACK_VALIDATION option

2016-03-03 Thread Sebastian Andrzej Siewior
On 2016-02-29 03:01:35 [-0800], tip-bot for Josh Poimboeuf wrote: > Gitweb: http://git.kernel.org/tip/b9ab5ebb14ec389bd80f66613f1fe3f8f65f2521 > Author: Josh Poimboeuf > objtool: Add CONFIG_STACK_VALIDATION option > > Add a CONFIG_STACK_VALIDATION option which will run "objtool check" for

Re: [PATCH RT 07/17] arm64: replace read_lock to rcu lock in call_step_hook

2016-03-03 Thread Steven Rostedt
On Thu, 3 Mar 2016 09:53:00 +0530 Pratyush Anand wrote: > > diff --git a/arch/arm64/kernel/debug-monitors.c > > b/arch/arm64/kernel/debug-monitors.c > > index 636ba8b6240b..f66d668ffce9 100644 > > --- a/arch/arm64/kernel/debug-monitors.c > > +++ b/arch/arm64/kernel/debug-monitors.c > > @@ -190,1

Re: Kernel docs: muddying the waters a bit

2016-03-03 Thread Jonathan Corbet
On Thu, 03 Mar 2016 16:03:14 +0200 Jani Nikula wrote: > This stalled a bit, but the waters are still muddy... I've been dealing with real-world obnoxiousness, something which won't come to an immediate end, unfortunately. But I have been taking some time to mess with things, and hope to have so

Re: [PATCH V3] net: ezchip: adapt driver to little endian architecture

2016-03-03 Thread Arnd Bergmann
On Thursday 03 March 2016 17:07:46 Lada Trimasova wrote: > From: Lada Trimasova > To: net...@vger.kernel.org > CC: linux-kernel@vger.kernel.org, Lada Trimasova > , Alexey Brodkin , > Noam Camus , Tal Zilcer , Arnd Bergmann > > Date: Today 15:07:46 > Since ezchip network driver is written w

Re: [tip:smp/hotplug] cpu/hotplug: Plug death reporting race

2016-03-03 Thread Paul E. McKenney
On Thu, Mar 03, 2016 at 02:03:35AM -0800, tip-bot for Thomas Gleixner wrote: > Commit-ID: 71f87b2fc64c2e9b6d53cb817f28711b959d3dfe > Gitweb: http://git.kernel.org/tip/71f87b2fc64c2e9b6d53cb817f28711b959d3dfe > Author: Thomas Gleixner > AuthorDate: Thu, 3 Mar 2016 10:52:10 +0100 > Committe

[PATCH V3] net: ezchip: adapt driver to little endian architecture

2016-03-03 Thread Lada Trimasova
Since ezchip network driver is written with big endian EZChip platform it is necessary to add support for little endian architecture. The first issue is that the order of the bits in a bit field is implementation specific. So all the bit fields are removed. Named constants are used to access neces

[PATCH 1/5] lightnvm: specify target's logical address area

2016-03-03 Thread Matias Bjørling
From: Wenwei Tao We can create more than one target on a lightnvm device by specifying its begin lun and end lun. But only specify the physical address area is not enough, we need to get the corresponding non- intersection logical address area division from the backend device's logcial address s

[PATCH 4/5] lightnvm: do not reserve lun on l2p loading

2016-03-03 Thread Matias Bjørling
From: Javier González When the l2p table is loaded, addresses are checked for the lun they belong to and luns are reserved accordingly. This assumes that metadata is being stored in the backend device to recover the previous target configuration. Since this is not yet implemented, this check coll

[PATCH 5/5] lightnvm: do not load L2P table if not supported

2016-03-03 Thread Matias Bjørling
From: Javier González An Open-Channel SSD can work on two modes: (i) hybrid mode, where the L2P table is maintained both by the host and by the device; and (ii) full host-based, where the L2P table is uniquely maintained by the host. In the advent of a new target implementing the full host-based

[PATCH 3/5] nvme: lightnvm: return ppa completion status

2016-03-03 Thread Matias Bjørling
PPAs sent to device is separately acknowledge in a 64bit status variable. The status is stored in DW0 and DW1 of the completion queue entry. Store this status inside the nvm_rq for further processing. This can later be used to implement retry techniques for failed writes and reads. Reviewed-by: C

[PATCH 2/5] lightnvm: add a bitmap of luns

2016-03-03 Thread Matias Bjørling
From: Wenwei Tao Add a bitmap of luns to indicate the status of luns: inuse/available. When create targets do the necessary check to avoid allocating luns that are already allocated. Signed-off-by: Wenwei Tao Freed dev->lun_map if nvm_core_init later failed in the init process. Signed-off-by: M

[PATCH 0/5] LightNVM fixes for 4.6

2016-03-03 Thread Matias Bjørling
Hi Jens, A collection of fixes and features destined for 4.6. They contain: - Two fixes from Javier regarding logical to physical table loading. - Wenwei implemented support for multiple targets and luns in the rrpc target. - Small patch from me that exposes the completion bits for target

[GIT PULL] late GPIO fix for v4.5

2016-03-03 Thread Linus Walleij
Hi Linus, regressions never arrive when you want them to, so here is a late fix for the Renesas RCAR GPIO driver. It only affects that driver on the very specific Renesas platforms. Please pull it in. Yours, Linus Walleij The following changes since commit 81f70ba233d5f660e1ea5fe23260ee323af5d5

Re: Q: why didn't GCC warn about this uninitialized variable? (was: Re: [PATCH] perf tests: initialize sa.sa_flags)

2016-03-03 Thread Ingo Molnar
* Jakub Jelinek wrote: > On Thu, Mar 03, 2016 at 02:24:34PM +0100, Ingo Molnar wrote: > > 6 hours of PeterZ time translates to quite a bit of code restructuring > > overhead to > > eliminate false positive warnings... > > I'll file a bugzilla enhancement request for this (with new attribute),

Re: Kernel docs: muddying the waters a bit

2016-03-03 Thread Jani Nikula
On Sat, 13 Feb 2016, Jonathan Corbet wrote: > So can we discuss? I'm not saying we have to use Sphinx, but, should we > choose not to, we should do so with open eyes and good reasons for the > course we do take. What do you all think? This stalled a bit, but the waters are still muddy... Is th

Re: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-03 Thread Roman Kagan
On Thu, Mar 03, 2016 at 06:44:24PM +0800, Liang Li wrote: > The current QEMU live migration implementation mark the all the > guest's RAM pages as dirtied in the ram bulk stage, all these pages > will be processed and that takes quit a lot of CPU cycles. > > From guest's point of view, it doesn't

Re: [PATCH 6/6] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-03 Thread Vincent Guittot
On 2 March 2016 at 23:49, Rafael J. Wysocki wrote: > On Wed, Mar 2, 2016 at 6:58 PM, Rafael J. Wysocki wrote: >> On Wed, Mar 2, 2016 at 6:10 PM, Vincent Guittot >> wrote: >>> Hi Rafael, >>> >>> >>> On 2 March 2016 at 03:27, Rafael J. Wysocki wrote: From: Rafael J. Wysocki Add a

Re: [PATCH 2/4] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-03 Thread Alexey Brodkin
Hi Rob, On Tue, 2016-02-23 at 14:38 -0600, Rob Herring wrote: > On Fri, Feb 19, 2016 at 04:03:52PM +0300, Alexey Brodkin wrote: > > > > This add DT bindings documentation for ARC PGU display controller. > > > > Signed-off-by: Alexey Brodkin > > Cc: Rob Herring > > Cc: Pawel Moll > > Cc: Mark

Re: [PATCH v9 3/3] add support for DWC UFS Host Controller

2016-03-03 Thread Joao Pinto
Hi, On 3/3/2016 12:04 PM, Arnd Bergmann wrote: > On Thursday 03 March 2016 11:39:05 Joao Pinto wrote: >> Hi Arnd, >> >> On 3/2/2016 7:55 PM, Arnd Bergmann wrote: >>> On Wednesday 02 March 2016 16:46:47 Joao Pinto wrote: On 2/19/2016 3:03 PM, Arnd Bergmann wrote: > On Thursday 18 February

Re: [PATCH] of: add 'const' for of_property_*_string*() parameter '*np'

2016-03-03 Thread Rob Herring
On Wed, Mar 2, 2016 at 3:35 PM, David Rivshin (Allworx) wrote: > From: David Rivshin > > The of_property_{read,count,match}_string* family of functions never > modify the struct device_node pointer that is passed in, so there is no > reason for it to be non-const. Equivalent functions for all oth

Re: [PULL] NBD for 4.6

2016-03-03 Thread Jens Axboe
On 03/03/2016 12:48 AM, Markus Pargmann wrote: Hi Jens, On Sunday, February 21, 2016 03:01:20 PM Markus Pargmann wrote: Hi Jens, This pull request contains 7 patches for 4.6. any news on this pull request? Sorry for the delay, pulled in, thanks. -- Jens Axboe

[git pull] IOMMU Fixes for Linux v4.5-rc6

2016-03-03 Thread Joerg Roedel
Hi Linus, The following changes since commit 81f70ba233d5f660e1ea5fe23260ee323af5d53a: Linux 4.5-rc5 (2016-02-20 13:39:35 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.5-rc6 for you to fetch changes up to e6

Re: [PATCH v13 4/6] arm64: Move unflatten_device_tree() call earlier.

2016-03-03 Thread Rob Herring
On Wed, Mar 2, 2016 at 4:56 PM, David Daney wrote: > From: David Daney > > In order to extract NUMA information from the device tree, we need to > have the tree in its unflattened form. > > Move the call to unflatten_device_tree() into paging_init(). This > puts it before the call to bootmem_ini

[PATCH] net: eth: altera: do not free array priv->mdio->irq

2016-03-03 Thread Colin King
From: Colin Ian King priv->mdio->irq used to be allocated and required freeing, but it is now a fixed sized array and should no longer be free'd. Issue detected using static analysis with CoverityScan Fixes: e7f4dc3536a400 ("mdio: Move allocation of interrupts into core") Signed-off-by: Colin I

Re: Q: why didn't GCC warn about this uninitialized variable? (was: Re: [PATCH] perf tests: initialize sa.sa_flags)

2016-03-03 Thread Ingo Molnar
* Ingo Molnar wrote: > So it's all highly inefficient and fragile. > > There's also another cost, the cost of finding the bugs themselves - for > example > here's a recent upstream kernel fix: > > commit e01d8718de4170373cd7fbf5cf6f9cb61cebb1e9 > Author: Peter Zijlstra > Date: Wed J

Re: Q: why didn't GCC warn about this uninitialized variable? (was: Re: [PATCH] perf tests: initialize sa.sa_flags)

2016-03-03 Thread Jakub Jelinek
On Thu, Mar 03, 2016 at 02:24:34PM +0100, Ingo Molnar wrote: > 6 hours of PeterZ time translates to quite a bit of code restructuring > overhead to > eliminate false positive warnings... I'll file a bugzilla enhancement request for this (with new attribute), perhaps we could do it in FRE that is

Re: [PATCH 08/27] mm, vmscan: Make kswapd reclaim in terms of nodes

2016-03-03 Thread Vlastimil Babka
On 02/23/2016 04:04 PM, Mel Gorman wrote: > -static bool zone_balanced(struct zone *zone, int order, bool highorder, > +static bool zone_balanced(struct zone *zone, int order, > unsigned long balance_gap, int classzone_idx) > { > unsigned long mark = high_wmark_pages(zo

Re: [patch] tcm_loop: use after free on error

2016-03-03 Thread Tomas Henzl
On 2.3.2016 11:09, Dan Carpenter wrote: > We dereference "tl_nexus" to get the error code. > > Fixes: 1b418a8fcbc0 ('target: Convert demo-mode only drivers to > target_alloc_session') > Signed-off-by: Dan Carpenter Reviewed-by: Tomas Henzl

[PATCH] net/ethoc: do not free array priv->mdio->irq

2016-03-03 Thread Colin King
From: Colin Ian King priv->mdio->irq used to be allocated and required freeing, but it is now a fixed sized array and should no longer be free'd. Issue detected using static analysis with CoverityScan Fixes: e7f4dc3536a400 ("mdio: Move allocation of interrupts into core") Signed-off-by: Colin I

Re: [PATCH 12/17] arm: Add new mach-oxnas

2016-03-03 Thread Arnd Bergmann
On Thursday 03 March 2016 13:29:56 Russell King - ARM Linux wrote: > On Thu, Mar 03, 2016 at 01:56:56PM +0100, Arnd Bergmann wrote: > > As Russell mentioned, the entire file is not really needed either, but > > so far we have left the trivial per-platform files in place generally. > > I think that

Re: [RFC PATCH 2/4] mmc: core: implement enhanced strobe support

2016-03-03 Thread Adrian Hunter
On 03/03/16 04:36, Shawn Lin wrote: > Controllers use data strobe line to latch data from devices > under hs400 mode, but not for cmd line. So from emmc 5.1, JEDEC > introduces enhanced strobe mode for latching cmd response from > emmc devices to host controllers. This new feature is optional. As

Re: [PATCH 2/8] perf tools: Introduce perf_hpp__setup_hists_formats()

2016-03-03 Thread Jiri Olsa
On Thu, Mar 03, 2016 at 01:12:02AM +0900, Namhyung Kim wrote: SNIP > +struct perf_hpp_fmt *perf_hpp_fmt__copy(struct perf_hpp_fmt *fmt); > + > int hist_entry__filter(struct hist_entry *he, int type, const void *arg); > > static inline bool perf_hpp__should_skip(struct perf_hpp_fmt *format, >

Re: [PATCH v3 4/4] mtd: spi-nor: Disable Micron flash HW protection

2016-03-03 Thread beanhuo
> From: Yunhui Cui > To: , , > > Cc: , , > , , Yunhui > Cui > > Subject: [PATCH v3 4/4] mtd: spi-nor: Disable Micron flash HW > protection > Message-ID: <1456988044-37061-4-git-send-email-b56...@freescale.com> > Content-Type: text/plain > > From: Yunhui Cui > > For Mic

Re: [PATCH 2/8] perf tools: Introduce perf_hpp__setup_hists_formats()

2016-03-03 Thread Jiri Olsa
On Thu, Mar 03, 2016 at 01:12:02AM +0900, Namhyung Kim wrote: > The perf_hpp__setup_hists_formats() is to build hists-specific output > formats (and sort keys). Currently it's only used in order to build the > output format in a hierarchy with same sort keys, but it could be used > with different

Re: [PATCH net] net: hns: fix the bug about loopback

2016-03-03 Thread Andy Shevchenko
On Thu, 2016-03-03 at 20:02 +0800, Kejian Yan wrote: > It will always be passed if the soc is tested the loopback cases. > This > patch will fix this bug. Few style related comments. > @@ -686,6 +690,10 @@ static int hns_ae_config_loopback(struct > hnae_handle *handle, >   default: >  

Re: [PATCH 14/17] arm: boot: dts: Add PLX Technology OX810SE dtsi

2016-03-03 Thread Neil Armstrong
On 03/03/2016 01:15 PM, Arnd Bergmann wrote: > On Thursday 03 March 2016 12:40:07 Neil Armstrong wrote: >> + >> +aliases { >> +serial0 = &uart0; >> +serial1 = &uart1; >> +serial2 = &uart2; >> +serial3 = &uart3; >> +gpio0 = &gpio0; >> +

[PATCH] ASoC: pcm3168a: remove unused variable

2016-03-03 Thread Sudip Mukherjee
While building we were getting build warning about: sound/soc/codecs/pcm3168a.c:403:21: warning: variable 'channels' set but not used The variable channels were being assigned some value but that was never reused. Signed-off-by: Sudip Mukherjee --- Its upto you now. If you dont want to accept

Re: [PATCH 02/17] irqchip: Add PLX Technology RPS IRQ Controller

2016-03-03 Thread Russell King - ARM Linux
On Thu, Mar 03, 2016 at 02:08:19PM +0100, Arnd Bergmann wrote: > On Thursday 03 March 2016 13:01:13 Marc Zyngier wrote: > > > +/* Routines to acknowledge, disable and enable interrupts */ > > > +static void rps_mask_irq(struct irq_data *d) > > > +{ > > > + u32 mask = BIT(d->hwirq); > > > + > >

Re: [PATCH] Revert "mmc: block: don't use parameter prefix if built as module"

2016-03-03 Thread Ulf Hansson
On 12 February 2016 at 17:32, Greg KH wrote: > On Fri, Feb 12, 2016 at 11:06:03AM +0100, Ulf Hansson wrote: >> On 11 February 2016 at 18:19, Greg KH wrote: >> > On Thu, Feb 11, 2016 at 04:54:11PM +0100, Ulf Hansson wrote: >> >> This reverts commit 829b6962f7e3cfc06f7c5c26269fd47ad48cf503. >> >> >

Re: [PATCH 12/17] arm: Add new mach-oxnas

2016-03-03 Thread Russell King - ARM Linux
On Thu, Mar 03, 2016 at 01:56:56PM +0100, Arnd Bergmann wrote: > As Russell mentioned, the entire file is not really needed either, but > so far we have left the trivial per-platform files in place generally. I think that's something we should be looking to remove: if the per-platform files give n

Re: [PATCH] mvumi: fix build warning

2016-03-03 Thread Johannes Thumshirn
On Thu, Mar 03, 2016 at 06:36:53PM +0530, Sudip Mukherjee wrote: > While building tilepro allmodconfig we were getting build warning: > drivers/scsi/mvumi.c:2632:12: warning: 'mvumi_suspend' defined but not used > drivers/scsi/mvumi.c:2651:12: warning: 'mvumi_resume' defined but not used > > mvumi

[PATCH] asix: do not free array priv->mdio->irq

2016-03-03 Thread Colin King
From: Colin Ian King Used to be allocated and required freeing, but now priv->mdio->irq is now a fixed sized array and should no longer be free'd. Issue detected using static analysis with CoverityScan Fixes: e7f4dc3536a400 ("mdio: Move allocation of interrupts into core") Signed-off-by: Colin

Re: Q: why didn't GCC warn about this uninitialized variable? (was: Re: [PATCH] perf tests: initialize sa.sa_flags)

2016-03-03 Thread Ingo Molnar
* Jakub Jelinek wrote: > On Thu, Mar 03, 2016 at 01:19:44PM +0100, Ingo Molnar wrote: > > struct sigaction sa; > > > > ... > > > > sigfillset(&sa.sa_mask); > > sa.sa_sigaction = segfault_handler; > > sigaction(SIGSEGV, &sa, NULL); > > > > ... which uninitia

<    3   4   5   6   7   8   9   10   11   12   >