[PATCH 0/7] kasan: various fixes

2015-09-03 Thread Andrey Konovalov
This patchset contains various fixes for KASAN. That includes: 1. Improving reported bug types. Making KASAN distinguish and report the following types of bugs: slab-out-of-bounds, stack-out-of-bounds, global-out-of-bounds use-after-free, null-ptr-deref, user-memory-access, wild-memory-access. 2

[PATCH 1/7] kasan: update reported bug types for not user nor kernel memory accesses

2015-09-03 Thread Andrey Konovalov
Each access with address lower than kasan_shadow_to_mem(KASAN_SHADOW_START) is reported as user-memory-access. This is not always true, the accessed address might not be in user space. Fix this by reporting such accesses as null-ptr-derefs or wild-memory-accesses. There's another reason for this c

[PATCH 2/7] kasan: update reported bug types for kernel memory accesses

2015-09-03 Thread Andrey Konovalov
Update the names of the bad access types to better reflect the type of the access that happended and make these error types "literals" that can be used for classification and deduplication in scripts. Signed-off-by: Andrey Konovalov --- mm/kasan/report.c | 18 +++--- 1 file changed,

[PATCH 6/7] kasan: move KASAN_SANITIZE in arch/x86/boot/Makefile

2015-09-03 Thread Andrey Konovalov
Move KASAN_SANITIZE in arch/x86/boot/Makefile above the comment related to SVGA_MODE, since the comment refers to 'the next line'. Signed-off-by: Andrey Konovalov --- arch/x86/boot/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/boot/Makefile b/arch/x86/

[PATCH 4/7] kasan: update log messages

2015-09-03 Thread Andrey Konovalov
We decided to use KASAN as the short name of the tool and KernelAddressSanitizer as the full one. Update log messages according to that. Signed-off-by: Andrey Konovalov --- arch/x86/mm/kasan_init_64.c | 2 +- mm/kasan/kasan.c| 2 +- mm/kasan/report.c | 4 ++-- 3 files chang

[PATCH 5/7] kasan: various fixes in documentation

2015-09-03 Thread Andrey Konovalov
Signed-off-by: Andrey Konovalov --- Documentation/kasan.txt | 43 ++- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/Documentation/kasan.txt b/Documentation/kasan.txt index 0d32355..d2f4c8f 100644 --- a/Documentation/kasan.txt +++ b/Documen

[PATCH 7/7] kasan: update reference to kasan prototype repo

2015-09-03 Thread Andrey Konovalov
Update the reference to the kasan prototype repository on github, since it was renamed. Signed-off-by: Andrey Konovalov --- mm/kasan/kasan.c | 2 +- mm/kasan/report.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/kasan/kasan.c b/mm/kasan/kasan.c index 61c9620..48fe48

Re: [PATCH 2/2] PCI: Add support for Enhanced Allocation devices

2015-09-03 Thread Bjorn Helgaas
On Wed, Sep 02, 2015 at 05:29:38PM -0700, Sean O. Stalley wrote: > On Wed, Sep 02, 2015 at 04:21:59PM -0500, Bjorn Helgaas wrote: > > On Wed, Sep 02, 2015 at 01:01:27PM -0700, Sean O. Stalley wrote: > > > On Wed, Sep 02, 2015 at 02:25:50PM -0500, Bjorn Helgaas wrote: > > > > On Wed, Sep 2, 2015 at

Re: [PATCH] ARM: dts: Add ddc i2c reference to veyron

2015-09-03 Thread Rob Herring
On Thu, Sep 3, 2015 at 3:22 AM, Russell King - ARM Linux wrote: > On Wed, Sep 02, 2015 at 07:13:24PM -0500, Rob Herring wrote: >> On Wed, Sep 2, 2015 at 4:25 PM, Douglas Anderson >> wrote: >> > The ddc-i2c-bus property was missing from the veyron dtsi file since >> > downstream the ddc-i2c-bus w

Re: [PATCH] xen/p2m: fix extra memory regions accounting

2015-09-03 Thread David Vrabel
On 03/09/15 15:38, Roger Pau Monné wrote: > El 03/09/15 a les 14.25, Juergen Gross ha escrit: >> On 09/03/2015 02:05 PM, Roger Pau Monne wrote: >>> On systems with memory maps with ranges that don't end at page >>> boundaries, >>> like: >>> >>> [...] >>> (XEN) 0010 - dfdf9c00 (

Re: [PATCH] xen/p2m: fix extra memory regions accounting

2015-09-03 Thread Roger Pau Monné
El 03/09/15 a les 14.25, Juergen Gross ha escrit: > On 09/03/2015 02:05 PM, Roger Pau Monne wrote: >> On systems with memory maps with ranges that don't end at page >> boundaries, >> like: >> >> [...] >> (XEN) 0010 - dfdf9c00 (usable) >> (XEN) dfdf9c00 - dfe4bc

Re: [GIT PULL] SG changes for 4.3

2015-09-03 Thread Jens Axboe
On 09/02/2015 10:28 PM, Ming Lin wrote: On Wed, Sep 2, 2015 at 3:50 PM, Jens Axboe wrote: On 09/02/2015 04:41 PM, Jens Axboe wrote: On 09/02/2015 04:34 PM, Linus Torvalds wrote: Jens, On Wed, Sep 2, 2015 at 9:58 AM, Jens Axboe wrote: This pull request contains a set of scatter-gather r

[PATCH] net: tipc: fix stall during bclink wakeup procedure

2015-09-03 Thread Kolmakov Dmitriy
From: Dmitry S Kolmakov If an attempt to wake up users of broadcast link is made when there is no enough place in send queue than it may hang up inside the tipc_sk_rcv() function since the loop breaks only after the wake up queue becomes empty. This can lead to complete CPU stall with the follow

[PATCH v6 04/10] lib: time handling (kernel glue code)

2015-09-03 Thread Hajime Tazaki
timer related (internal) functions such as add_timer(), do_gettimeofday() of kernel are trivially reimplemented for libos. these eventually call the functions registered by lib_init() API. Signed-off-by: Hajime Tazaki --- arch/lib/hrtimer.c | 117 ++ arch/lib/tasklet-hrti

Re: [PATCH v3 4/4] arm64: dts: Drop linux,pci-probe-only from the Seattle DTS

2015-09-03 Thread Suthikulpanit, Suravee
Hi Marc On 9/3/2015 7:16 PM, Marc Zyngier wrote: The linux,pci-probe-only property mandates an argument to indicate whether or not to engage the "probe-only" mode, but the Seattle DTS just provides a naked property, which is illegal. Also, it turns out that the board is perfectly happy without

Re: [PATCH] ARM: dts: keystone: use one to one address translations under netcp

2015-09-03 Thread Tony Lindgren
* santosh shilimkar [150902 08:55]: > > I suspected the same. I know back then we started with SERDES code > with NETCP but as you already know, its a separate block which > is needed for NIC card to work. Its more of phy and hence its > having different address space is not surprising. The point

Re: [PATCH] usb/gadget/function/u_ether.c: Allow jumbo frames

2015-09-03 Thread Greg KH
On Thu, Sep 03, 2015 at 11:36:15AM +0200, Mike Looijmans wrote: > I'd like to bring this to your attention again please. > > If there is something wrong about this patch, please tell me so. It's the middle of the merge window and we can't do anything with new patches at the moment until 4.3-rc1

Re: [PATCH] usb/gadget/function/u_ether.c: Allow jumbo frames

2015-09-03 Thread Mike Looijmans
I'd like to bring this to your attention again please. If there is something wrong about this patch, please tell me so. And also note that this patch does not enable jumbo frames on itself, it just removes the artificial limits in the kernel prohibiting mtus above 1500. The MTU can be set fro

Re: [PATCH v2] staging/wilc1000: Use %pM format specifier to print mac address

2015-09-03 Thread Greg Kroah-Hartman
On Thu, Sep 03, 2015 at 02:05:42PM +0600, Alexander Kuleshov wrote: > printk() supports %pM format specifier for printing 6-byte MAC/FDDI > addresses in hex notation small buffers, let's use it intead of %x:%x... > > Signed-off-by: Alexander Kuleshov > --- > drivers/staging/wilc1000/host_interfa

[PATCH v6 08/10] lib: auxiliary files for auto-generated asm-generic files of libos

2015-09-03 Thread Hajime Tazaki
these files works as stubs in order to transparently run the other kernel part (e.g., net/) on libos environment. Signed-off-by: Hajime Tazaki --- arch/lib/include/asm/Kbuild | 57 arch/lib/include/asm/atomic.h | 62 +

[PATCH v6 05/10] lib: context and scheduling functions (kernel glue code) for libos

2015-09-03 Thread Hajime Tazaki
context primitives of kernel such as soft interrupts, scheduling, tasklet are implemented for libos. these functions eventually call the functions registered by lib_init() API as well. Signed-off-by: Hajime Tazaki --- arch/lib/sched.c | 406 +++

[PATCH v6 09/10] lib: libos build scripts and documentation

2015-09-03 Thread Hajime Tazaki
document and build scripts for libos architecture. Signed-off-by: Hajime Tazaki Signed-off-by: Ryo Nakamura --- Documentation/virtual/libos-howto.txt | 144 MAINTAINERS | 9 + arch/lib/.gitignore | 3 + arch/lib/Kconfig

[PATCH v6 07/10] lib: other kernel glue layer code

2015-09-03 Thread Hajime Tazaki
These files are used to provide the same function calls so that other network stack code keeps untouched. Signed-off-by: Hajime Tazaki Signed-off-by: Christoph Paasch --- arch/lib/capability.c | 25 + arch/lib/filemap.c| 32 ++ arch/lib/fs.c | 70 + arch/lib/g

[PATCH v6 10/10] lib: tools used for test scripts

2015-09-03 Thread Hajime Tazaki
These auxiliary files are used for testing and debugging of net/ code with libos. a simple test is implemented with make test ARCH=lib. Signed-off-by: Hajime Tazaki --- tools/testing/libos/.gitignore | 6 + tools/testing/libos/Makefile | 38 +++ tools/testing/l

[PATCH v6 06/10] lib: sysctl handling (kernel glue code)

2015-09-03 Thread Hajime Tazaki
This interacts with fs/proc_fs.c for sysctl-like interface registered via lib_init() API. Signed-off-by: Hajime Tazaki --- arch/lib/sysctl.c | 270 ++ 1 file changed, 270 insertions(+) create mode 100644 arch/lib/sysctl.c diff --git a/arch/li

[PATCH v6 00/10] an introduction of Linux library operating system (LibOS)

2015-09-03 Thread Hajime Tazaki
Although I've been kept quiet, I'm preparing this 6th version of Linux LibOS patchset. During the time, I've observed the growth of our branch and seen two good news regarding the maintenance overhead and benefit of libos patches. * news 1 To answer the following suggestion raised by Richard Wei

[PATCH v6 03/10] lib: public headers and API implementations for userspace programs

2015-09-03 Thread Hajime Tazaki
userspace programs which uses libos access via a public API, lib_init(), with passed arguments struct SimImported and struct SimExported. Signed-off-by: Hajime Tazaki Signed-off-by: Ryo Nakamura --- arch/lib/include/sim-assert.h | 23 +++ arch/lib/include/sim-init.h | 134 +++ ar

[PATCH v6 02/10] slab: add SLIB (Library memory allocator) for arch/lib

2015-09-03 Thread Hajime Tazaki
add SLIB allocator for arch/lib (CONFIG_LIB) to wrap kmalloc and co. This will bring user's own allocator of libos: malloc(3) etc. Signed-off-by: Hajime Tazaki --- include/linux/slab.h | 6 +- include/linux/slib_def.h | 21 + mm/Makefile | 1 + mm/slab.h

[PATCH v6 01/10] sysctl: make some functions unstatic to access by arch/lib

2015-09-03 Thread Hajime Tazaki
libos (arch/lib) emulates a sysctl-like interface by a function call of userspace by enumerating sysctl tree from sysctl_table_root. It requires to be publicly accessible to this symbol and related functions. Signed-off-by: Hajime Tazaki --- fs/proc/proc_sysctl.c | 36 +++

Re: [v2 PATCH 1/3] scsi:stex.c Support to Pegasus series.

2015-09-03 Thread Johannes Thumshirn
Charles Chiou writes: > From 9d7973dfa05a7785d0eb1e9bcfb0fb6d2c493209 Mon Sep 17 00:00:00 2001 > From: Charles > Date: Wed, 2 Sep 2015 20:41:56 +0800 > Subject: [PATCH 1/3] scsi:stex.c Support to Pegasus series. > > Pegasus is a high performace hardware RAID solution designed to unleash > the ra

Re: [PATCH v4 9/9] usb: dwc3: core: don't break during suspend/resume while we're dual-role

2015-09-03 Thread Sergei Shtylyov
On 09/03/2015 05:10 PM, Roger Quadros wrote: We can't rely just on dr_mode to decide if we're in host or gadget mode when we're configured as otg/dual-role. So while dr_mode is OTG, we find out from the otg state machine if we're in host or gadget mode and take the necessary actions during susp

Re: [PATCH v2] clk: rockchip: reset init state before mmc card initialization

2015-09-03 Thread Shawn Lin
On 2015/8/25 8:34, Shawn Lin wrote: mmc host controller's IO input/output timing is unpredictable if bootloader execute tuning for HS200 mode. It might make kernel failed to initialize mmc card in identification mode. The root cause is tuning phase and degree setting for HS200 mode in bootloader

Re: [PATCH 5/7] ARM: STi: DT: STiH407: Add FDMA driver and xbar driver dt nodes.

2015-09-03 Thread Peter Griffin
Hi Lee, On Wed, 26 Aug 2015, Lee Jones wrote: > On Wed, 08 Jul 2015, Peter Griffin wrote: > > > These nodes are required to get the fdma and xbar driver working > > on STiH407 based silicon. > > > > Signed-off-by: Peter Griffin > > --- > > arch/arm/boot/dts/stih407-family.dtsi | 59 > > +

Re: [PATCH v4 9/9] usb: dwc3: core: don't break during suspend/resume while we're dual-role

2015-09-03 Thread Roger Quadros
On 03/09/15 17:05, Sergei Shtylyov wrote: > Hello. > > On 09/03/2015 05:01 PM, Roger Quadros wrote: > We can't rely just on dr_mode to decide if we're in host or gadget mode when we're configured as otg/dual-role. So while dr_mode is OTG, we find out from the otg state machine if

[GIT PULL] Backlight for v4.3

2015-09-03 Thread Lee Jones
Hi Linus, The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git tags/backlight-for-linus-4.3 for you to fetch changes up

Re: [PATCH v4 9/9] usb: dwc3: core: don't break during suspend/resume while we're dual-role

2015-09-03 Thread Sergei Shtylyov
Hello. On 09/03/2015 05:01 PM, Roger Quadros wrote: We can't rely just on dr_mode to decide if we're in host or gadget mode when we're configured as otg/dual-role. So while dr_mode is OTG, we find out from the otg state machine if we're in host or gadget mode and take the necessary actions dur

Re: [PATCH 3/3] scsi:stex.c Add S3/S4 support

2015-09-03 Thread Johannes Thumshirn
Charles Chiou writes: > From f442518879f8f41d103b684046d912eca13844e7 Mon Sep 17 00:00:00 2001 > From: Charles > Date: Wed, 2 Sep 2015 20:54:45 +0800 > Subject: [PATCH 3/3] scsi:stex.c Add S3/S4 support > > Add S3/S4 support, add .suspend and .resume function in pci_driver. > In .suspend handler

Re: [PATCH v4 9/9] usb: dwc3: core: don't break during suspend/resume while we're dual-role

2015-09-03 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/09/15 17:48, Felipe Balbi wrote: > On Wed, Sep 02, 2015 at 05:24:24PM +0300, Roger Quadros wrote: >> We can't rely just on dr_mode to decide if we're in host or gadget >> mode when we're configured as otg/dual-role. So while dr_mode is >> OTG,

Re: [v2 PATCH 2/3] scsi:stex.c Add hotplug support

2015-09-03 Thread Johannes Thumshirn
Charles Chiou writes: > From 60e14c245c18cbe0300cfa244334e2850a52a381 Mon Sep 17 00:00:00 2001 > From: Charles > Date: Wed, 2 Sep 2015 20:48:55 +0800 > Subject: [PATCH 2/3] scsi:stex.c Add hotplug support > > 1. Add hotplug support. Pegasus support surprise removal. To this end, I >use retur

Re: [PATCH v3 1/4] of/pci: Add of_pci_check_probe_only to parse "linux,pci-probe-only"

2015-09-03 Thread Rob Herring
On Thu, Sep 3, 2015 at 7:16 AM, Marc Zyngier wrote: > Both pci-host-generic and Pseries parse the "linux,pci-probe-only" > property to engage the PCI_PROBE_ONLY mode, and both have a subtle > bug that can be triggered if the property has no parameter. > > Provide a generic, safe implementation tha

Re: [PATCH v4 9/9] usb: dwc3: core: don't break during suspend/resume while we're dual-role

2015-09-03 Thread Roger Quadros
On 02/09/15 20:22, Sergei Shtylyov wrote: > Hello. > > On 09/02/2015 05:24 PM, Roger Quadros wrote: > >> We can't rely just on dr_mode to decide if we're in host or gadget >> mode when we're configured as otg/dual-role. So while dr_mode is >> OTG, we find out from the otg state machine if we're

Re: [RFC PATCH] nfs: avoid swap-over-NFS deadlock

2015-09-03 Thread Mel Gorman
On Tue, Sep 01, 2015 at 06:22:14PM +0200, Jerome Marchand wrote: > > Thanks. Sorry for the long delay but I finally got back to the bug this > > week. NFS can be modified to special case the swapfile but I was not happy > > with the result for multiple reasons. It took me a while to see a way for >

[GIT PULL] MFD for v4.3

2015-09-03 Thread Lee Jones
Hi Linus, The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-for-linus-4.3 for you to fetch changes up to 5a688c45

Re: [PATCH v2] security: device_cgroup: fix RCU lockdep splat

2015-09-03 Thread Josh Boyer
On Wed, Sep 2, 2015 at 8:14 PM, Paul E. McKenney wrote: > On Wed, Sep 02, 2015 at 12:24:50PM -0400, Tejun Heo wrote: >> cc'ing Paul. >> >> On Wed, Sep 02, 2015 at 08:12:28AM -0500, Felipe Balbi wrote: >> > while booting AM437x device, the following splat >> > triggered: >> > >> > [ 12.005238] ==

Re: [PATCH v4 8/9] usb: dwc3: core: Prevent otg events from disabling themselves

2015-09-03 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/09/15 17:47, Felipe Balbi wrote: > On Wed, Sep 02, 2015 at 05:24:23PM +0300, Roger Quadros wrote: >> There is a race happening during dwc3_drd_init() that causes >> otg events to get disabled. This is what happens. >> >> dwc3_otg_irq() happens

[ANNOUNCE] The Linux Test Project has been released for SEPTEMBER 2015

2015-09-03 Thread Cyril Hrubis
enhancements The latest version of the test-suite contains 3000+ tests for the Linux and can be downloaded at: https://github.com/linux-test-project/ltp/releases/tag/20150903 The project pages as well as GIT repository are hosted on GitHub: https://github.com/linux-test-project/ltp http://linux

Re: [PATCH v4 6/9] usb: dwc3: save/restore OTG registers during suspend/resume

2015-09-03 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/09/15 17:44, Felipe Balbi wrote: > On Wed, Sep 02, 2015 at 05:24:21PM +0300, Roger Quadros wrote: >> Without this we loose OTG controller register context and malfunction >> after a system suspend-resume. >> >> Signed-off-by: Roger Quadros >>

Re: [PATCH v4 10/16] phy: Add driver for rockchip Display Port PHY

2015-09-03 Thread Heiko Stuebner
Am Donnerstag, 3. September 2015, 11:25:00 schrieb Yakir Yang: > 在 09/02/2015 09:27 PM, Rob Herring 写道: > > On Tue, Sep 1, 2015 at 1:04 AM, Yakir Yang wrote: > >> +- clocks: from common clock binding: handle to dp clock. > >> + of memory mapped region. > >> +- clock-names: from common clock

Re: [PATCH v4 5/9] usb: dwc3: core: make dual-role work with OTG irq

2015-09-03 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/09/15 17:43, Felipe Balbi wrote: > Hi, > > On Wed, Sep 02, 2015 at 05:24:20PM +0300, Roger Quadros wrote: >> If the ID pin event is not available over extcon >> then we rely on the OTG controller to provide us ID and VBUS >> information. >> >>

Re: [PATCH] Staging: iio: Move evgen interrupt generation to irq_work

2015-09-03 Thread Cristina Georgiana Opriceana
On Mon, Aug 31, 2015 at 6:43 PM, Jonathan Cameron wrote: > On 18/08/15 13:55, Cristina Opriceana wrote: >> A more abstract way of handling interrupt generation in the dummy driver >> is represented by irq_work which substitutes the irq_chip, used to >> provide an IRQ line number. irq_work runs tas

Re: [PATCH] xfs: fix null pointer dereference when mapping is NULL

2015-09-03 Thread Eric Sandeen
On 9/3/15 5:45 AM, Brian Foster wrote: > On Thu, Sep 03, 2015 at 10:57:40AM +0100, Colin King wrote: >> From: Colin Ian King >> >> xfs_vm_set_page_dirty checks to see if mapping is NULL however >> before this unlikely check it already dereferenced mapping when >> initializing inode. Move the inode

Re: [PATCH v2] security: device_cgroup: fix RCU lockdep splat

2015-09-03 Thread Serge E. Hallyn
On Wed, Sep 02, 2015 at 05:14:33PM -0700, Paul E. McKenney wrote: > On Wed, Sep 02, 2015 at 12:24:50PM -0400, Tejun Heo wrote: > > cc'ing Paul. > > > > On Wed, Sep 02, 2015 at 08:12:28AM -0500, Felipe Balbi wrote: > > > while booting AM437x device, the following splat > > > triggered: > > > > > >

Re: [PATCH v3 8/9] spi: rockchip: modify DMA max burst to 1

2015-09-03 Thread Shawn Lin
On 2015/9/3 20:54, Mark Brown wrote: On Tue, Sep 01, 2015 at 05:58:44PM +0800, Shawn Lin wrote: Generic dma controller on Rockchips' platform cannot support DMAFLUSHP instruction which make dma to flush the req of non-aligned or non-multiple of what we need. That will cause an unrecoverable dma

Re: [PATCH] ARM: ux500: fix typo in regulator names

2015-09-03 Thread Tomeu Vizoso
On 5 August 2015 at 14:22, Tomeu Vizoso wrote: > Apparently an extra _reg suffix was appended to the end of the names of > regulators ab8500_ext2_reg and ab8500_ext3_reg. Just pinging in case there's any interest in getting this fixed. Regards, Tomeu > Signed-off-by: Tomeu Vizoso > --- > arc

Re: [LINUX RFC v2 0/4] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-09-03 Thread Marek Vasut
On Thursday, September 03, 2015 at 03:25:00 PM, Ranjit Abhimanyu Waghmode wrote: > Hi, > > > -Original Message- > > From: Marek Vasut [mailto:ma...@denx.de] > > Sent: Thursday, September 03, 2015 12:26 AM > > To: Ranjit Abhimanyu Waghmode > > Cc: dw...@infradead.org; computersforpe...@gmai

Re: [tip:perf/urgent] perf evlist: Open event on evsel cpus and threads

2015-09-03 Thread Adrian Hunter
On 01/09/15 11:31, tip-bot for Kan Liang wrote: > Commit-ID: d988d5ee647861706bc7a391ddbc29429b50f00e > Gitweb: http://git.kernel.org/tip/d988d5ee647861706bc7a391ddbc29429b50f00e > Author: Kan Liang > AuthorDate: Fri, 21 Aug 2015 02:23:14 -0400 > Committer: Arnaldo Carvalho de Melo > Co

Re: perf, tools: Refactor and support interval and CSV metrics v3

2015-09-03 Thread Andi Kleen
> can't see perf/stat-metrics-5 branch > > [jolsa@krava perf]$ git remote update ak > Fetching ak > [jolsa@krava perf]$ git branch -r | grep perf/stat-metrics- > ak/perf/stat-metrics-3 > ak/perf/stat-metrics-4 > ak/perf/stat-metrics-refactor-2 > [jolsa@krava perf]$ Try again. I pushed now

Re: [PATCH v2 5/7] staging: board: Add support for devices with complex dependencies

2015-09-03 Thread Geert Uytterhoeven
Hi Ulf, On Thu, Sep 3, 2015 at 2:53 PM, Ulf Hansson wrote: > On 17 June 2015 at 10:38, Geert Uytterhoeven wrote: >> Add support for easy registering of one ore more platform devices that >> may: >> - need clocks that are described in DT, >> - be part of a PM Domain. >> diff --git a/drivers/

Re: pcieport AER error spam on Intel Skylake

2015-09-03 Thread Daniel Drake
On Wed, Sep 2, 2015 at 7:57 PM, Alexander Duyck wrote: > Since it is correctable errors it is likely some sort of signalling issue. > Could we get the output of something like an lspci -vt? Then you would be > able to tell what the device is on the other side of the link from 00:1c.5 > and then we

RE: [LINUX RFC v2 0/4] spi: add dual parallel mode support in Zynq MPSoC GQSPI controller

2015-09-03 Thread Ranjit Abhimanyu Waghmode
Hi, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Thursday, September 03, 2015 12:26 AM > To: Ranjit Abhimanyu Waghmode > Cc: dw...@infradead.org; computersforpe...@gmail.com; > broo...@kernel.org; Michal Simek; Soren Brinkmann; zaj...@gmail.com; > b...@decadent.o

[PATCH v2] perf stat: fix per-pkg event reporting bug

2015-09-03 Thread Stephane Eranian
Per-pkg events need to be captured once per processor socket. The code in check_per_pkg() ensures only one value per processor package is used. However there is a problem with this function in case the first CPU of the package does not measure anything for the per-pkg event, but other CPUs do. Con

RE: [PATCH 02/12] ASoC: da9055: Fix module autoload for OF platform driver

2015-09-03 Thread Opensource [Adam Thomson]
On September 03, 2015 11:56, Luis de Bethencourt wrote: > This platform driver has a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt > --- Acked-by: Adam Thomson

Re: [PATCH] crypto/testmgr: don't copy from source IV too much

2015-09-03 Thread Herbert Xu
On Thu, Sep 03, 2015 at 02:32:00PM +0300, Andrey Ryabinin wrote: > While the destination buffer 'iv' is MAX_IVLEN size, > the source 'template[i].iv' could be smaller. Thus > copying it via memcpy() leads to invalid memory access. > Use strlcpy() instead. > > Signed-off-by: Andrey Ryabinin Thank

Re: perf, tools: Refactor and support interval and CSV metrics v3

2015-09-03 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 04:35:45PM -0700, Andi Kleen wrote: > [v3: Addressed all review feedback. Update manpage for CSV. Various changes > (see individual patches). Remove some more redundant code > in printout callers.] > [v2: Addressed (near) all review feedback. No manpage updates so

[PATCH 1/2] HID: logitech-hidpp: split HIDPP_QUIRK_DELAYED_INIT in two

2015-09-03 Thread Benjamin Tissoires
HIDPP_QUIRK_DELAYED_INIT means two things currently: - we want to delay the initialization process - we do not want hid to create an input device based on the report descriptor. This should actually be 2 different quirks so we can have special connect events while still having HID creating the i

Re: [PATCH 1/4] drivers/misc/sgi-gru: remove unused variable

2015-09-03 Thread Dimitri Sivanich
On Thu, Sep 03, 2015 at 10:10:12AM +0530, Sudip Mukherjee wrote: > On Wed, Sep 02, 2015 at 09:42:04AM -0500, Dimitri Sivanich wrote: > > On Wed, Sep 02, 2015 at 04:54:55PM +0530, Sudip Mukherjee wrote: > > > These variables were only assigned some value and were never used. > > > > > > Signed-off-

[PATCH 2/2] HID: logitech-hidpp: add support to disable tap-to-click on the K400

2015-09-03 Thread Benjamin Tissoires
The Logitech K400 keyboard has an embedded touchpad which is seen as a mouse from the OS point of view. There is a hardware shortcut to disable tap-to-click but the setting is not remembered accross reset, annoying some users. We can toggle this feature from the host by using the feature 0x6010: T

[PATCH 0/2] HID: logitech-hidpp: allow to disable tap to click on the K400

2015-09-03 Thread Benjamin Tissoires
Hi guys, This series adds a new parameter for the K400 owners. This keyboard has an embedded touchpad which defaults to report tap to click. It can be annoying given that there are physical buttons, and we can just disable that from the host by using the feature 0x6010. The first patch might conf

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-03 Thread Thomas Gleixner
On Thu, 3 Sep 2015, Josh Boyer wrote: > > Fixes: 4fd4b6e5537c 'x86/alternatives: Use optimized NOPs for padding' > > Possibly CC: stable since it fixes a commit in 4.1 and 4.2? Indeed. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...

Re: [PATCH 00/12] ASoC: Fix module autoload for OF platform drivers

2015-09-03 Thread Mark Brown
On Thu, Sep 03, 2015 at 12:54:27PM +0200, Luis de Bethencourt wrote: > This series adds the missing MODULE_DEVICE_TABLE() for OF to eport > that information so modules have the correct aliases built-in and > autoloading works correctly. Please thread patch serieses together when submitting them (

Re: [PATCH v3 8/9] spi: rockchip: modify DMA max burst to 1

2015-09-03 Thread Mark Brown
On Tue, Sep 01, 2015 at 05:58:44PM +0800, Shawn Lin wrote: > Generic dma controller on Rockchips' platform cannot support > DMAFLUSHP instruction which make dma to flush the req of non-aligned > or non-multiple of what we need. That will cause an unrecoverable > dma bus error. The saftest way is t

RE: [PATCH] tipc: fix stall during bclink wakeup procedure

2015-09-03 Thread Jon Maloy
> -Original Message- > From: Kolmakov Dmitriy [mailto:kolmakov.dmit...@huawei.com] > Sent: Thursday, 03 September, 2015 04:31 > To: David Miller > Cc: Jon Maloy; Ying Xue; tipc-discuss...@lists.sourceforge.net; > net...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: RE: [PATCH]

Re: [PATCH v2 5/7] staging: board: Add support for devices with complex dependencies

2015-09-03 Thread Ulf Hansson
On 17 June 2015 at 10:38, Geert Uytterhoeven wrote: > Add support for easy registering of one ore more platform devices that > may: > - need clocks that are described in DT, > - be part of a PM Domain. > > All these dependencies are optional. > > Signed-off-by: Geert Uytterhoeven > --- > v2:

Re: [PATCH 03/10] ALSA: add AXD Audio Processing IP alsa driver

2015-09-03 Thread Mark Brown
On Fri, Aug 28, 2015 at 10:22:57AM +0100, Qais Yousef wrote: > On 08/27/2015 04:32 PM, Mark Brown wrote: > >On Thu, Aug 27, 2015 at 01:15:51PM +0100, Qais Yousef wrote: > +#define AXD_BASE_VADDR 0xD000 > >>>This sounds like something that is going to be platform dependant, > >>>

Re: [PATCH v4 4/9] usb: dwc3: core: Adapt to named interrupts

2015-09-03 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/09/15 17:34, Felipe Balbi wrote: > On Wed, Sep 02, 2015 at 05:24:19PM +0300, Roger Quadros wrote: >> From: Felipe Balbi >> >> Add support to use interrupt names, >> >> Following are the interrupt names >> >> Peripheral Interrupt - peripheral >

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-03 Thread Josh Boyer
On Thu, Sep 3, 2015 at 6:41 AM, Thomas Gleixner wrote: > On Thu, 3 Sep 2015, Borislav Petkov wrote: >> On Wed, Sep 02, 2015 at 11:11:55AM +0200, Thomas Gleixner wrote: >> > static void __init_or_module add_nops(void *insns, unsigned int len) >> > { >> > + unsigned long flags; >> > + >> > + l

Re: [PATCH 06/10] ALSA: axd: add basic files for sending/receiving axd cmds

2015-09-03 Thread Mark Brown
On Tue, Sep 01, 2015 at 11:46:19AM +0100, Qais Yousef wrote: > On 08/29/2015 11:18 AM, Mark Brown wrote: > >On Thu, Aug 27, 2015 at 04:40:09PM +0100, Qais Yousef wrote: Again, please delete unneeded contexts and leave blanks between paragraphs (I notice you've even been removing the blank lines fr

[PATCH 3/3] scsi:stex.c Add S3/S4 support

2015-09-03 Thread Charles Chiou
From f442518879f8f41d103b684046d912eca13844e7 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 2 Sep 2015 20:54:45 +0800 Subject: [PATCH 3/3] scsi:stex.c Add S3/S4 support Add S3/S4 support, add .suspend and .resume function in pci_driver. In .suspend handler, driver send S3/S4 signal to the d

[PATCHv5 2/7] slub: use page->rcu_head instead of page->lru plus cast

2015-09-03 Thread Kirill A. Shutemov
We have properly typed page->rcu_head, no need to cast page->lru. Signed-off-by: Kirill A. Shutemov Cc: Christoph Lameter --- mm/slub.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 816df0016555..869642d03b22 100644 --- a/mm/slub.c +++ b/mm/

[PATCHv5 1/7] mm: drop page->slab_page

2015-09-03 Thread Kirill A. Shutemov
Since 8456a648cf44 ("slab: use struct page for slab management") nobody uses slab_page field in struct page. Let's drop it. Signed-off-by: Kirill A. Shutemov Acked-by: Christoph Lameter Acked-by: David Rientjes Acked-by: Vlastimil Babka Cc: Joonsoo Kim Cc: Andi Kleen --- include/linux/mm_t

[PATCHv5 3/7] zsmalloc: use page->private instead of page->first_page

2015-09-03 Thread Kirill A. Shutemov
We are going to rework how compound_head() work. It will not use page->first_page as we have it now. The only other user of page->first_page beyond compound pages is zsmalloc. Let's use page->private instead of page->first_page here. It occupies the same storage space. Signed-off-by: Kirill A. S

[PATCHv5 5/7] mm: make compound_head() robust

2015-09-03 Thread Kirill A. Shutemov
Hugh has pointed that compound_head() call can be unsafe in some context. There's one example: CPU0CPU1 isolate_migratepages_block() page_count() compound_head() !!PageTail() == true put_page()

[PATCHv5 7/7] mm: use 'unsigned int' for compound_dtor/compound_order on 64BIT

2015-09-03 Thread Kirill A. Shutemov
On 64 bit system we have enough space in struct page to encode compound_dtor and compound_order with unsigned int. On x86-64 it leads to slightly smaller code size due usesage of plain MOV instead of MOVZX (zero-extended move) or similar effect. allyesconfig: textdata bss dec

[PATCHv5 6/7] mm: use 'unsigned int' for page order

2015-09-03 Thread Kirill A. Shutemov
Let's try to be consistent about data type of page order. Signed-off-by: Kirill A. Shutemov Acked-by: Michal Hocko --- include/linux/mm.h | 5 +++-- mm/hugetlb.c | 19 ++- mm/internal.h | 4 ++-- mm/page_alloc.c| 27 +++ 4 files changed,

[PATCHv5 4/7] mm: pack compound_dtor and compound_order into one word in struct page

2015-09-03 Thread Kirill A. Shutemov
The patch halves space occupied by compound_dtor and compound_order in struct page. For compound_order, it's trivial long -> short conversion. For get_compound_page_dtor(), we now use hardcoded table for destructor lookup and store its index in the struct page instead of direct pointer to destruc

[PATCHv5 0/7] Fix compound_head() race

2015-09-03 Thread Kirill A. Shutemov
Here's my attempt on fixing race in compound_head(). It should make compound_head() reliable in all contexts. The last patch is optional. It applies cleanly into mmotm patchstack just before my page-flags patchset. As expected, it causes few conflicts with patches: page-flags-introduce-page-fl

Re: [PATCH 05/10] ALSA: axd: add buffers manipulation files

2015-09-03 Thread Mark Brown
On Tue, Sep 01, 2015 at 11:00:42AM +0100, Qais Yousef wrote: > On 08/29/2015 10:47 AM, Mark Brown wrote: Please delete unneeded context from replies, it makes it easier to find the new content you have added. Please also leave blank lines between paragraphs, it makes it much easier to read messag

[v2 PATCH 2/3] scsi:stex.c Add hotplug support

2015-09-03 Thread Charles Chiou
From 60e14c245c18cbe0300cfa244334e2850a52a381 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 2 Sep 2015 20:48:55 +0800 Subject: [PATCH 2/3] scsi:stex.c Add hotplug support 1. Add hotplug support. Pegasus support surprise removal. To this end, I use return_abnormal_state function to return

[v2 PATCH 1/3] scsi:stex.c Support to Pegasus series.

2015-09-03 Thread Charles Chiou
From 9d7973dfa05a7785d0eb1e9bcfb0fb6d2c493209 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 2 Sep 2015 20:41:56 +0800 Subject: [PATCH 1/3] scsi:stex.c Support to Pegasus series. Pegasus is a high performace hardware RAID solution designed to unleash the raw power of Thunderbolt technology.

Re: [RFC PATCH 9/9] parisc: allocate sys_membarrier system call number

2015-09-03 Thread Helge Deller
Hi Mathieu, > [ Untested on this architecture. To try it out: fetch linux-next/akpm, > apply this patch, build/run a membarrier-enabled kernel, and do make > kselftest. ] > > Signed-off-by: Mathieu Desnoyers > CC: Andrew Morton > CC: linux-...@vger.kernel.org > CC: "James E.J. Bottomley" >

Re: [PATCH] xen/p2m: fix extra memory regions accounting

2015-09-03 Thread Juergen Gross
On 09/03/2015 02:15 PM, Roger Pau Monné wrote: El 03/09/15 a les 14.05, Roger Pau Monne ha escrit: On systems with memory maps with ranges that don't end at page boundaries, like: [...] (XEN) 0010 - dfdf9c00 (usable) (XEN) dfdf9c00 - dfe4bc00 (ACPI NVS) [..

Re: __might_sleep in uio_read()?

2015-09-03 Thread Michal Hocko
On Wed 02-09-15 15:45:10, Andy Grover wrote: > Hi Hans and Greg, > > Is this an issue with uio? I swear it didn't used to throw this warning... > > Thanks -- Andy > > [ 5174.883261] [ cut here ] > [ 5174.883617] WARNING: CPU: 0 PID: 1532 at > /home/agrover/git/kernel/kern

Re: [PATCH] perf stat: fix per-pkg event reporting bug

2015-09-03 Thread Jiri Olsa
On Thu, Sep 03, 2015 at 05:16:41AM -0700, Stephane Eranian wrote: > On Thu, Sep 3, 2015 at 5:13 AM, Jiri Olsa wrote: > > On Thu, Sep 03, 2015 at 05:05:32AM -0700, Stephane Eranian wrote: > >> On Thu, Sep 3, 2015 at 5:01 AM, Jiri Olsa wrote: > >> > On Thu, Sep 03, 2015 at 04:48:52AM -0700, Stephan

Re: [PATCH] xen/p2m: fix extra memory regions accounting

2015-09-03 Thread Juergen Gross
On 09/03/2015 02:05 PM, Roger Pau Monne wrote: On systems with memory maps with ranges that don't end at page boundaries, like: [...] (XEN) 0010 - dfdf9c00 (usable) (XEN) dfdf9c00 - dfe4bc00 (ACPI NVS) [...] xen_add_extra_mem will create a protected range t

Re: [PATCH v4 1/9] usb: dwc3: add dual-role support

2015-09-03 Thread Roger Quadros
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/09/15 17:31, Felipe Balbi wrote: > Hi, > > On Wed, Sep 02, 2015 at 05:24:16PM +0300, Roger Quadros wrote: >> Register with the USB OTG core. Since we don't support >> OTG yet we just work as a dual-role device even >> if device tree says "otg"

RE: [PATCH perf/core ] perf-probe: Output the result of adding/deleting probe in buildin-probe

2015-09-03 Thread 平松雅巳 / HIRAMATU,MASAMI
Hi Namhyung, So, I hope this would be what you've suggested. Thank you, -- Masami HIRAMATSU Linux Technology Research Center, System Productivity Research Dept. Center for Technology Innovation - Systems Engineering Hitachi, Ltd., Research & Development Group E-mail: masami.hiramatsu...@hitachi

[PATCH v3 0/4] PCI: arm64/powerpc: Fix parsing of linux,pci-probe-only

2015-09-03 Thread Marc Zyngier
The pci-host-generic driver parses the linux,pci-probe-only property, and assumes that it will have a boolean parameter. Turns out that the Seattle DTS file has a naked "linux,pci-probe-only" property, which leads to the driver dereferencing some unsuspecting memory location. Nothing really bad ha

[PATCH v3 4/4] arm64: dts: Drop linux,pci-probe-only from the Seattle DTS

2015-09-03 Thread Marc Zyngier
The linux,pci-probe-only property mandates an argument to indicate whether or not to engage the "probe-only" mode, but the Seattle DTS just provides a naked property, which is illegal. Also, it turns out that the board is perfectly happy without probe-only, so let's drop this altogether. Signed-o

[PATCH v3 2/4] PCI: pci-host-generic: Fix lookup of linux,pci-probe-only property

2015-09-03 Thread Marc Zyngier
When pci-host-generic looks for the probe-only property, it seems to trust the DT to be correctly written, and assumes that there is a parameter to the property. Unfortunately, this is not always the case, and some firmware expose this property naked. The driver ends up making a decision based on

[PATCH v3 1/4] of/pci: Add of_pci_check_probe_only to parse "linux,pci-probe-only"

2015-09-03 Thread Marc Zyngier
Both pci-host-generic and Pseries parse the "linux,pci-probe-only" property to engage the PCI_PROBE_ONLY mode, and both have a subtle bug that can be triggered if the property has no parameter. Provide a generic, safe implementation that can be used by both. Signed-off-by: Marc Zyngier --- driv

<    1   2   3   4   5   6   7   >