[PATCH v4 04/19] net: e100: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12 ++-- 1 file changed, 6

[PATCH v4 05/19] mlx4: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/mellanox/mlx4/cmd.c | 10 +- drivers/net/

[PATCH v4 07/19] wireless: ipw2200: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 13 +++-- 1 file changed, 7 insertions(+), 6 d

[PATCH v4 18/19] usb: host: Remove remaining pci_pool in comments

2017-03-01 Thread Romain Perier
This replaces remaining occurences of pci_pool by dma_pool, as this is the new API that could be used for that purpose. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/usb/host/ehci-hcd.c | 2 +- drivers/usb/host/fotg210-hcd.c | 2 +- drivers/usb/host/oxu210hp-hc

[PATCH v4 15/19] usb: gadget: amd5536udc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/usb/gadget/udc/amd5536udc.c | 8 drivers/usb/gadget/ud

[PATCH v4 19/19] PCI: Remove PCI pool macro functions

2017-03-01 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index 282ed32..

Re: [PATCH 01/20] PCI: remove __weak tag from pci_remap_iospace()

2017-03-01 Thread Arnd Bergmann
On Mon, Feb 27, 2017 at 4:14 PM, Lorenzo Pieralisi wrote: > pci_remap_iospace() is marked as a weak symbol even though > no architecture is currently overriding it; given that its > implementation internals have already code paths that are > arch specific (ie PCI_IOBASE and ioremap_page_range() at

[PATCH 0/2] printk: fix double printing with earlycon

2017-03-01 Thread Aleksey Makarov
If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appears twice. This issue was addressed in the patch [1] but the approach was wrong and a revert [2] was suggested. First patch "printk: fix name a

[RESEND PATCH v6 3/6] i2c: designware: MASTER mode as separated driver

2017-03-01 Thread Luis Oliveira
- The functions related to I2C master mode of operation were transformed in a single driver. - Common definitions were moved to i2c-designware-core.h - The i2c-designware-core is now only a library file, the functions associated are in a source file called i2c-designware-common and are used b

[PATCH 1/2] printk: fix name and type of some variables

2017-03-01 Thread Aleksey Makarov
The variable preferred_console is used only inside register_console() and its semantics is boolean. It is negative when no console has been made preferred. The variable selected_console holds an index into the console_cmdline array, pointing to the console that was made preferred. Rename the var

[PATCH v4 14/19] scsi: pmcraid: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/scsi/pmcraid.c | 10 +- drivers/scsi/pmcraid.h | 2 +-

[RESEND PATCH v6 6/6] i2c: designware: enable SLAVE in platform module

2017-03-01 Thread Luis Oliveira
- Slave mode selected in platform module if the support is detected in the DT. Signed-off-by: Luis Oliveira --- V5->V6 - No changes drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/i2c-designware-platdrv.c | 41 + 2 files changed, 37 insertion

[PATCH 2/2] printk: fix double printing with earlycon

2017-03-01 Thread Aleksey Makarov
If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appears twice. The root cause is that the code traverse the list of specified consoles (the `console_cmdline` array) and stops at the first match.

Re: [PATCH v4 0/6] ARM: davinci: vpif capture & display support

2017-03-01 Thread Sekhar Nori
On Tuesday 28 February 2017 09:31 PM, Bartosz Golaszewski wrote: > This series adds pdata quirks and other changes required to make vpif > work on the da850-evm board. Looks good to me. Will apply once v4.11-rc1 is out. Thanks, Sekhar

Re: [PATCH V2 3/4] drm/bridge: Drivers for megachips-stdpxxxx-ge-b850v3-fw (LVDS-DP++)

2017-03-01 Thread Peter Senna Tschudin
On Wed, Mar 01, 2017 at 09:38:48AM +0530, Archit Taneja wrote: [...] > > +static const struct i2c_device_id stdp2690_ge_b850v3_fw_i2c_table[] = { > > + {"stdp2690_ge_fw", 0}, > > + {}, > > +}; > > +MODULE_DEVICE_TABLE(i2c, stdp2690_ge_b850v3_fw_i2c_table); > > + > > +static const struct of_devi

[RESEND PATCH v6 2/6] i2c: designware: refactoring of the i2c-designware

2017-03-01 Thread Luis Oliveira
- Factor out all _master() part of code from i2c-designware-core and i2c-designware-platdrv to separate functions. - Standardize all code related with MASTER mode. - I have to take off DW_IC_INTR_TX_EMPTY from DW_IC_INTR_DEFAULT_MASK because it is master specific. The purpose of this is to pre

[RESEND PATCH v6 5/6] i2c: designware: add SLAVE mode functions

2017-03-01 Thread Luis Oliveira
- Changes in Kconfig to enable I2C_DESIGNWARE_SLAVE support - Slave functions added to core library file - Slave abort sources added to common source file - New driver: i2c-designware-slave added - Changes in the Makefile to compile the I2C_DESIGNWARE_SLAVE module when supported by the architectu

[PATCH v4 13/19] scsi: mvsas: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mvsas/mv_init.c | 6 +++--- drivers/scsi/mvsas/mv_sas.c | 6 +++--- 2 files changed, 6

[PATCH v4 11/19] scsi: megaraid: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/megaraid/megaraid_mbox.c | 33 +++ drivers/scsi/megaraid/megaraid_mm.c

[PATCH v4 10/19] scsi: lpfc: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. It also updates some comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/lpfc/lpfc.h | 12 ++--- drivers/scsi/

PPro arch_cpu_idle: NMI watchdog: Watchdog detected hard LOCKUP on cpu 1

2017-03-01 Thread Meelis Roos
This is on my trusty IBM PC365, dual Pentium Pro. 4.10 worked fine, 4.10.0-09686-g9e314890292c and 4.10.0-10770-g2d6be4abf514 exhibit a problem. Ocassionally NMI watchdog kicks in and discovers one of the CPUs in LOCKUP. The system keeps running fine. The first lockup was different, all the oth

[PATCH v4 12/19] scsi: mpt3sas: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mpt3sas/mpt3sas_base.c | 73 + 1 file changed, 34 in

Re: [PATCH 7/8] x86/intel_rdt: schemata file support for MBA prepare\

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: Subject: x86/intel_rdt: schemata file support for MBA prepare I have no idea what MBA prepare is. Is that yet another variant aside of MBE? > Add support to introduce generic APIs for control validation and writing > QOS_MSRs for RDT resources. The cont

Re: [PATCH 4/8] x86/intel_rct/mba: Add MBA structures and initialize MBA

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: > --- a/arch/x86/include/asm/intel_rdt.h > +++ b/arch/x86/include/asm/intel_rdt.h > @@ -11,6 +11,9 @@ > #define IA32_L3_QOS_CFG 0xc81 > #define IA32_L3_CBM_BASE 0xc90 > #define IA32_L2_CBM_BASE 0xd10 > +#define IA32_MBA_THRTL_BASE

Re: [PATCH v3] KVM: nVMX: Fix pending events injection

2017-03-01 Thread Radim Krčmář
2017-02-27 04:24-0800, Wanpeng Li: > From: Wanpeng Li > > L2 fails to boot on a non-APICv box dues to 'commit 0ad3bed6c5ec > ("kvm: nVMX: move nested events check to kvm_vcpu_running")' Applied to kvm/queue for the time being, thanks. This patch fixes also nested apic kvm-unit-test on APICv bo

Re: [PATCH 6/8] x86/intel_rdt/mba: Add info directory files for MBA

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: > Add files in info directory for MBA. > The files in the info directory are as follows : > - num_closids: max number of closids for MBA which represents the max > class of service user can configure. > - min_bw: the minimum memory bandwidth(b/w) values i

Re: [PATCH] sched: Optimize pick_next_task for idle_sched_class too

2017-03-01 Thread Steven Rostedt
On Wed, 1 Mar 2017 17:03:52 +0100 Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 10:53:03AM -0500, Steven Rostedt wrote: > > Peter, do we have a solution for this yet? Are you going to add the one > > with the linker magic? > > I queued the below earlier today. Isn't this pretty much identic

Re: [locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff

2017-03-01 Thread Chris Wilson
On Wed, Mar 01, 2017 at 04:11:48PM +, Chris Wilson wrote: > On Wed, Mar 01, 2017 at 04:54:14PM +0100, Peter Zijlstra wrote: > > On Wed, Mar 01, 2017 at 11:40:43PM +0800, Fengguang Wu wrote: > > > Thanks for the patch! I applied the patch on top of "locking/ww_mutex: > > > Add kselftests for ww_

Re: [PATCH 00/20] PCI: fix config and I/O Address space memory mappings

2017-03-01 Thread Arnd Bergmann
On Mon, Feb 27, 2017 at 4:14 PM, Lorenzo Pieralisi wrote: > This patch series[1] addresses both issues in one go: > > - It updates the pci_remap_iospace() function to use a page mapping > that guarantees non-posted write transactions for I/O space addresses > - It adds a kernel API to remap PCI

[PATCH v4 16/19] usb: gadget: net2280: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/usb/gadget/udc/net2280.c | 12 ++-- drivers/usb/gadget/

Re: [PATCH] uapi: fix asm/signal.h userspace compilation errors

2017-03-01 Thread Arnd Bergmann
On Sun, Feb 26, 2017 at 2:01 AM, Dmitry V. Levin wrote: > Include (guarded by #ifndef __KERNEL__) to fix asm/signal.h > userspace compilation errors like this: > > /usr/include/asm/signal.h:126:2: error: unknown type name 'size_t' > size_t ss_size; > > As no uapi header provides a definition of

[PATCH/RFC] arm64: pmu: add Qualcomm Technologies extensions

2017-03-01 Thread Neil Leeder
Adds CPU PMU perf events support for Qualcomm Technologies' Falkor CPU. The Qualcomm Technologies CPU PMU is named qcom_pmuv3 and provides extensions to the architected PMU events. The extended events are implemented by a set of registers which are programmed by shifting an event code into a grou

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Michal Hocko
On Wed 01-03-17 17:12:20, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 05:05:30PM +0100, Michal Hocko wrote: > > Anyway, does the following help? > > > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > > index 47e4f82380e4..d5386ad7ed3f 100644 > > --- a/kernel/locking/lockdep.c

Re: [PATCH v3 2/2] perf: kretprobes: offset from reloc_sym if kernel supports it

2017-03-01 Thread Naveen N. Rao
On 2017/02/25 02:12AM, Masami Hiramatsu wrote: > On Thu, 23 Feb 2017 17:07:24 +0530 > "Naveen N. Rao" wrote: > > > We indicate support for accepting sym+offset with kretprobes through a > > line in ftrace README. Parse the same to identify support and choose the > > appropriate format for kprobe_

Re: [PATCH] objtool, module: discard __unreachable section for modules

2017-03-01 Thread hpa
On March 1, 2017 7:20:03 AM PST, Josh Poimboeuf wrote: >The __unreachable section is only used at compile time. It's discarded >for vmlinux but it should also be discarded for modules. > >Fixes: d1091c7fa3d5 ("objtool: Improve detection of BUG() and other >dead ends") >Signed-off-by: Josh Poimboe

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 04:46:59PM +0100, Peter Zijlstra wrote: > On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > > during memory allocation") added the memalloc_noio_(save|restore) functions > > to enab

Re: [PATCH] sched: Optimize pick_next_task for idle_sched_class too

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 10:53:03AM -0500, Steven Rostedt wrote: > Peter, do we have a solution for this yet? Are you going to add the one > with the linker magic? I queued the below earlier today. --- Subject: sched: Fix pick_next_task() for RT,DL From: Peter Zijlstra Date: Wed Mar 1 10:51:47 C

[PATCH] staging: xgifb: Improved coding style

2017-03-01 Thread Arushi Singhal
New variable is added to make the code more readable. Signed-off-by: Arushi Singhal --- drivers/staging/xgifb/XGI_main_26.c | 29 ++--- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.

Re: [PATCH] regulator: hi655x: Add DT bindings so module autoloads

2017-03-01 Thread Jeremy Linton
Hi, On Wed, Mar 1, 2017 at 5:37 AM, Mark Brown wrote: > On Tue, Feb 28, 2017 at 07:07:06PM -0600, Jeremy Linton wrote: >> The hi655x driver is required for mmc/sd functionality on the >> 96boards hikey, and likely other platforms. When built as >> a standalone module it doesn't get automatically

Re: [PATCH v2 1/5] KVM: rename API for requests to match bit operations

2017-03-01 Thread Radim Krčmář
2017-02-27 10:54+0100, David Hildenbrand: > Am 24.02.2017 um 20:49 schrieb Radim Krčmář: >> kvm_make_request was a wrapper that added barriers to set_bit and >> kvm_check_request did the same for test_bit and check_bit, but the name >> was not very obvious. >> >> The renaming: >> kvm_request_set

Re: [PATCH] uapi: fix asm/ipcbuf.h userspace compilation errors

2017-03-01 Thread Arnd Bergmann
On Sun, Feb 26, 2017 at 7:29 PM, Dmitry V. Levin wrote: > Include to fix asm/ipcbuf.h userspace compilation > errors like this: > > /usr/include/asm-generic/ipcbuf.h:20:2: error: unknown type name > '__kernel_key_t' > __kernel_key_t key; > /usr/include/asm-generic/ipcbuf.h:21:2: error: unknow

[PATCH] Incorrect URL given in drivers/video/fbdev/Kconfig

2017-03-01 Thread Anton Vasilyev
Modify link to FrameBuffer HOWTO because original link become unavailable Found by Linux Driver Verification project (linuxtesting.org) Signed-off-by: Anton Vasilyev --- drivers/video/fbdev/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/Kconfig b

Re: Dell Inspiron 5558/0VNM2T and suspend/resume problem with r8169

2017-03-01 Thread Diego Viola
On Wed, Mar 1, 2017 at 12:44 PM, Diego Viola wrote: > My machine (a Dell Inspiron 5558 laptop) fails to resume from suspend > unless I rmmod r8169 first. > > Another workaround is to do this before suspend: > > echo 0 > /sys/power/pm_async > > I've been reproducing the freeze like this: > > $ i3lo

Re: [PATCH] sched: Optimize pick_next_task for idle_sched_class too

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 11:19:22AM -0500, Steven Rostedt wrote: > On Wed, 1 Mar 2017 17:03:52 +0100 > Peter Zijlstra wrote: > > > On Wed, Mar 01, 2017 at 10:53:03AM -0500, Steven Rostedt wrote: > > > Peter, do we have a solution for this yet? Are you going to add the one > > > with the linker mag

Re: [PATCH] blkcg: allocate struct blkcg_gq outside request queue spinlock

2017-03-01 Thread Tejun Heo
Hello, On Tue, Feb 28, 2017 at 03:51:27PM -0800, Tahsin Erdogan wrote: > On Tue, Feb 28, 2017 at 2:47 PM, Tejun Heo wrote: > >> + if (!blkcg_policy_enabled(q, pol)) { > >> + ret = -EOPNOTSUPP; > >> + goto fail; > > > > Pulling this out of the queue_lock doesn't seem sa

Re: [RFC PATCH 2/2] mtd: devices: m25p80: Enable spi-nor bounce buffer support

2017-03-01 Thread Boris Brezillon
On Wed, 1 Mar 2017 17:16:30 +0530 Vignesh R wrote: > On Wednesday 01 March 2017 04:13 PM, Cyrille Pitchen wrote: > > Le 01/03/2017 à 05:54, Vignesh R a écrit : > >> > >> > >> On Wednesday 01 March 2017 03:11 AM, Richard Weinberger wrote: > >>> Vignesh, > >>> > >>> Am 27.02.2017 um 13:08 schri

Re: [PATCH v2 2/5] KVM: add KVM request variants without barrier

2017-03-01 Thread Radim Krčmář
2017-02-27 11:18+0100, David Hildenbrand: > Am 27.02.2017 um 11:02 schrieb David Hildenbrand: >> Am 24.02.2017 um 20:49 schrieb Radim Krčmář: >>> The leading underscores denote that the call is just a bitop wrapper. >> >> Actually, the leading underscore is misleading >> >> If we want to match th

Re: [PATCH 8/8] x86/intel_rdt/mba: Add schemata file support for MBA

2017-03-01 Thread Thomas Gleixner
On Fri, 17 Feb 2017, Vikas Shivappa wrote: > @@ -13,6 +13,7 @@ > #define IA32_L2_CBM_BASE 0xd10 > #define IA32_MBA_THRTL_BASE 0xd50 > #define MAX_MBA_THRTL100u > +#define INVALID_DELAY100u 100% is an interesting definition of invalid. > #define MBA_IS_LINE

Re: [PATCH v3] lockdep: Teach lockdep about memalloc_noio_save

2017-03-01 Thread Peter Zijlstra
On Wed, Mar 01, 2017 at 01:29:57PM +0200, Nikolay Borisov wrote: > Commit 21caf2fc1931 ("mm: teach mm by current context info to not do I/O > during memory allocation") added the memalloc_noio_(save|restore) functions > to enable people to modify the MM behavior by disbaling I/O during memory > all

Re: [PATCH] HID: Accutouch: Add driver for ELO Accutouch 2216 USB Touchscreens

2017-03-01 Thread Benjamin Tissoires
On Feb 14 2017 or thereabouts, Martyn Welch wrote: > The Accutouch 2216 is reporting BTN_LEFT/BTN_MOUSE rather than BTM_TOUCH > in it's capabilities, which is what user space expects a touchscreen > device to report. This is causing udev to consider the device to be a > "VMware's USB mouse" rather

Re: [PATCH] objtool, module: discard __unreachable section for modules

2017-03-01 Thread Linus Torvalds
On Wed, Mar 1, 2017 at 8:44 AM, wrote: > > I would like to see a name like, say, ".annot.unreachable", since is odds are > pretty high we are going to need more annotations in the future. Why not just make it ".discard.unreachable", and then make the discard pattern be ".discard*". We already

Re: [PATCH v2 2/5] KVM: add KVM request variants without barrier

2017-03-01 Thread Radim Krčmář
2017-02-28 15:40+0800, Peter Xu: > On Tue, Feb 28, 2017 at 03:34:24PM +0800, Peter Xu wrote: > > [...] > >> > diff --git a/arch/mips/kvm/emulate.c b/arch/mips/kvm/emulate.c >> > index ee4af898bcf6..552ae2b5e911 100644 >> > --- a/arch/mips/kvm/emulate.c >> > +++ b/arch/mips/kvm/emulate.c >> > @@ -

Re: PPro arch_cpu_idle: NMI watchdog: Watchdog detected hard LOCKUP on cpu 1

2017-03-01 Thread Thomas Gleixner
On Wed, 1 Mar 2017, Meelis Roos wrote: > This is on my trusty IBM PC365, dual Pentium Pro. 4.10 worked fine, > 4.10.0-09686-g9e314890292c and 4.10.0-10770-g2d6be4abf514 exhibit a > problem. Ocassionally NMI watchdog kicks in and discovers one of the > CPUs in LOCKUP. The system keeps running fi

Re: [PATCH v2] ARM: exynos_defconfig: increase CONFIG_CMA_SIZE_MBYTES to 96

2017-03-01 Thread Krzysztof Kozlowski
On Tue, Feb 28, 2017 at 12:12:21PM -0700, Shuah Khan wrote: > Current CMA size of 64 Mbytes is right on the edge of being small when > several drivers need to allocate large CMA buffers. > > For example, if the s5p-mfc driver needs to pre-allocate N MiB CMA memory Everything looks good but I don'

Re: [PATCH] bpf: update the comment about the length of analysis

2017-03-01 Thread Alexei Starovoitov
On Wed, Mar 01, 2017 at 04:25:51PM +0800, Gary Lin wrote: > Commit 07016151a446 ("bpf, verifier: further improve search > pruning") increased the limit of processed instructions from > 32k to 64k, but the comment still mentioned the 32k limit. > This commit updates the comment to reflect the change

Re: [PATCH] jump_label: align jump_entry table to at least 4-bytes

2017-03-01 Thread David Daney
On 02/28/2017 10:34 PM, Michael Ellerman wrote: Jason Baron writes: ... I also checked all the other .ko files and they were properly aligned. So I think this should hopefully work, and I like that its not a per-arch fix. Sachin, sorry to bother you again, but I'm hoping you can try David's la

Re: net/ipv4: deadlock in ip_ra_control

2017-03-01 Thread Cong Wang
possible circular locking dependency detected ] > 4.10.0-next-20170301+ #1 Not tainted > --- > syz-executor1/3394 is trying to acquire lock: > (sk_lock-AF_INET){+.+.+.}, at: [] lock_sock > include/net/sock.h:1460

Re: [PATCH] [RFC] x86: avoid -mtune=atom for objtool warnings

2017-03-01 Thread Josh Poimboeuf
On Wed, Mar 01, 2017 at 04:27:29PM +0100, Arnd Bergmann wrote: > On Wed, Mar 1, 2017 at 3:40 PM, Josh Poimboeuf wrote: > > On Wed, Mar 01, 2017 at 10:45:03AM +0100, Arnd Bergmann wrote: > > >> Actually, something must have changed in gcc since last month, I also > >> just got a report in another

Re: [PATCH] PCI/aspm: Fix link->downstream setting

2017-03-01 Thread Rajat Jain
On Wed, Mar 1, 2017 at 12:25 AM, Yinghai Lu wrote: > > ~ # echo 1 > /sys/bus/pci/devices/\:0b\:00.0/remove > ... > BUG: unable to handle kernel NULL pointer dereference at 0080 > IP: pcie_config_aspm_link+0x5d/0x2b0 > Call Trace: > pcie_aspm_exit_link_state+0x75/0x130 > pci_

Re: [PATCH V3] ARM: dts: exynos5440: support the phy-pcie node for pcie

2017-03-01 Thread Krzysztof Kozlowski
On Tue, Feb 28, 2017 at 04:00:26PM +0900, Jaehoon Chung wrote: > Add pcie-phy node for using phy-exynos-pcie. > > There are some modifications. > 1. Remove the configuration space values in "ranges" property. > - The getting configuration space from ranges is old way. > - Instead, It can be got fr

Re: e1000_netpoll() , BUG: sleeping function called from invalid context

2017-03-01 Thread Thomas Gleixner
On Sat, 18 Feb 2017, Gabriel C wrote: > That got changed in commit 3111912971251 which got into Linus tree during > the 4.10 merge window. So it is in 4.10-rc8. > > Confused. I'm still confused. Gabriel, can you please try to reproduce with 4.10 final? Thanks, tglx

Re: [PATCH 01/10] Input: eeti_ts - rename eeti_ts_priv to eeti_ts

2017-03-01 Thread Dmitry Torokhov
On Wed, Mar 01, 2017 at 10:28:14AM +0100, Daniel Mack wrote: > Hi Dmitry, > > On 02/28/2017 11:46 PM, Dmitry Torokhov wrote: > > Also rename 'priv' variables to eeti. > > > > Signed-off-by: Dmitry Torokhov > > --- > > > > Hi, > > > > This is all is not tested as I do not have the hardware, so

Re: [PATCH v2 3/3] coresight: add support for debug module

2017-03-01 Thread Mathieu Poirier
On Tue, Feb 28, 2017 at 11:07:00PM +0800, Leo Yan wrote: > Coresight includes debug module and usually the module connects with CPU > debug logic. ARMv8 architecture reference manual (ARM DDI 0487A.k) has > description for related info in "Part H: External Debug". > > Chapter H7 "The Sample-based

Re: rsync: page allocation stalls in kernel 4.9.10 to a VessRAID NAS

2017-03-01 Thread Michal Hocko
On Wed 01-03-17 10:55:33, Robert Kudyba wrote: > > > On Mar 1, 2017, at 3:06 AM, Michal Hocko wrote: > > > > On Tue 28-02-17 14:32:18, Robert Kudyba wrote: > >> > >>> On Feb 28, 2017, at 11:56 AM, Michal Hocko >>> > wrote: > > [...] > Will do here’s a perf report

Re: [RFC PATCH v4 27/28] x86: Add support to encrypt the kernel in-place

2017-03-01 Thread Borislav Petkov
On Thu, Feb 16, 2017 at 09:48:08AM -0600, Tom Lendacky wrote: > This patch adds the support to encrypt the kernel in-place. This is > done by creating new page mappings for the kernel - a decrypted > write-protected mapping and an encrypted mapping. The kernel is encyrpted s/encyrpted/encrypted/

Re: [locking/ww_mutex] 2a0c112828 WARNING: CPU: 0 PID: 18 at kernel/locking/mutex.c:305 __ww_mutex_wakeup_for_backoff

2017-03-01 Thread Fengguang Wu
On Wed, Mar 01, 2017 at 05:54:06PM +0100, Peter Zijlstra wrote: On Wed, Mar 01, 2017 at 04:26:48PM +, Chris Wilson wrote: On Wed, Mar 01, 2017 at 04:11:48PM +, Chris Wilson wrote: > On Wed, Mar 01, 2017 at 04:54:14PM +0100, Peter Zijlstra wrote: > > On Wed, Mar 01, 2017 at 11:40:43PM +08

Re: [PATCH] objtool, module: discard __unreachable section for modules

2017-03-01 Thread hpa
On March 1, 2017 9:01:54 AM PST, Linus Torvalds wrote: >On Wed, Mar 1, 2017 at 8:44 AM, wrote: >> >> I would like to see a name like, say, ".annot.unreachable", since is >odds are pretty high we are going to need more annotations in the >future. > >Why not just make it ".discard.unreachable", a

Re: kvm: WARNING in nested_vmx_vmexit

2017-03-01 Thread Radim Krčmář
2017-02-28 13:48+0100, Dmitry Vyukov: > On Tue, Feb 28, 2017 at 1:15 PM, Dmitry Vyukov wrote: >> Hello, >> >> The following program triggers WARNING in nested_vmx_vmexit: >> https://gist.githubusercontent.com/dvyukov/16b946d7dc703bb07b9b933f12fb8a6e/raw/dac60506feb8dd9dd22828c486e46ee8a5e30f13/gis

Re: [RESEND PATCH 1/2] Documentation: bindings: add DT documentation for u2phy and u2phy grf

2017-03-01 Thread Heiko Stuebner
Hi Daniel, Am Mittwoch, 1. März 2017, 18:34:22 CET schrieb Meng Dongyang: > Due to the u2phy registers are separated from general grf, we need to > add u2phy grf node and place u2phy node in it. And on some platform, > the 480m clock may need to assign clock parent in dts in stead of > clock drive

Re: [PATCH V5 6/6] proc: show MADV_FREE pages info in smaps

2017-03-01 Thread Michal Hocko
On Wed 01-03-17 09:37:10, Shaohua Li wrote: > On Wed, Mar 01, 2017 at 02:36:24PM +0100, Michal Hocko wrote: > > On Fri 24-02-17 13:31:49, Shaohua Li wrote: > > > show MADV_FREE pages info of each vma in smaps. The interface is for > > > diganose or monitoring purpose, userspace could use it to unde

Re: [PATCH V3 2/2] PCI: handle CRS returned by device after FLR

2017-03-01 Thread Sinan Kaya
On 2/21/2017 9:37 PM, Sinan Kaya wrote: >> SR-IOV spec rev 1.1, 3.4.1.1 & 3.4.1.2, Vendor ID and Device ID fields >> for the VF return 0x when read. The "Virtualization Intermediary" >> is supposed to use the vendor ID from the PF and the device ID defined >> in the PF SR-IOV capability. > >

Re: [RESEND PATCH 2/2] phy: rockchip-inno-usb2: add support of u2phy for rk3328

2017-03-01 Thread Heiko Stuebner
Am Mittwoch, 1. März 2017, 18:34:23 CET schrieb Meng Dongyang: > Add u2phy config information in the data of match table for > rk3328. > > Signed-off-by: Meng Dongyang in general looks good, so Reviewed-by: Heiko Stuebner one question below > drivers/phy/phy-rockchip-inno-usb2.c | 21 ++

Re: [PATCH net] rxrpc: Fix deadlock between call creation and sendmsg/recvmsg

2017-03-01 Thread David Miller
From: David Howells Date: Mon, 27 Feb 2017 15:43:06 + > All the routines by which rxrpc is accessed from the outside are serialised > by means of the socket lock (sendmsg, recvmsg, bind, > rxrpc_kernel_begin_call(), ...) and this presents a problem: ... > Fix this by: ... > This patch has t

Re: [RFC PATCH v4 00/28] x86: Secure Memory Encryption (AMD)

2017-03-01 Thread Tom Lendacky
On 3/1/2017 3:17 AM, Dave Young wrote: Hi Tom, Hi Dave, ... SNIP ... - Added support for (re)booting with kexec Could you please add kexec list in cc when you updating the patches so that kexec/kdump people do not miss them? Sorry about that, I'll be sure to add it to the cc list.

Re: [PATCH] net: usb: asix_devices: fix missing return code check on call to asix_write_medium_mode

2017-03-01 Thread David Miller
From: Colin King Date: Tue, 28 Feb 2017 11:58:22 + > From: Colin Ian King > > The call to asix_write_medium_mode is not updating the return code ret > and yet ret is being checked for an error. Fix this by assigning ret to > the return code from the call asix_write_medium_mode. > > Detecte

Re: [PATCH V2] PCI/ASPM: reconfigure ASPM following hotplug for POLICY_DEFAULT

2017-03-01 Thread Sinan Kaya
Hi Bjorn, On 2/28/2017 1:57 PM, Patel, Mayurkumar wrote: >> I was trying to figure out when to use saved values vs. the values in >> registers by looking at the enable_cnt. >> enable_cnt is 0 during boot on my system. > enable_cnt for the root port on my system is set to 1 for "root port" already

Re: [cgroups] suspicious rcu_dereference_check() usage!

2017-03-01 Thread Mike Galbraith
On Wed, 2017-03-01 at 12:44 -0500, Tejun Heo wrote: > If you still have the .config around, can you please attach it? I'll > verify the fix and send out the fix. Resurrected (master) and attached. -Mike config.xz Description: application/xz

Re: [GIT PULL] HID for 4.11

2017-03-01 Thread Dmitry Torokhov
On Wed, Mar 01, 2017 at 09:54:07AM -0800, Linus Torvalds wrote: > On Wed, Mar 1, 2017 at 1:03 AM, Benjamin Tissoires > wrote: > > > > As Peter mentioned in the bug, there is a missing property on the kernel > > node (INPUT_PROP_BUTTONPAD). > > > > The thing is this property is solely driven in the

Re: [PATCH v2 4/5] KVM: MIPS: remove useless kvm_request_clear

2017-03-01 Thread Radim Krčmář
2017-02-28 11:29+, James Hogan: > On Mon, Feb 27, 2017 at 11:03:51AM +0100, David Hildenbrand wrote: >> Am 27.02.2017 um 09:45 schrieb Andrew Jones: >> > On Fri, Feb 24, 2017 at 08:50:01PM +0100, Radim Krčmář wrote: >> >> Signed-off-by: Radim Krčmář >> >> --- >> >> arch/mips/kvm/emulate.c | 1

Re: [PATCH v3 2/7] mmc: bcm2835: Add new driver for the sdhost controller.

2017-03-01 Thread Eric Anholt
Gerd Hoffmann writes: > From: Eric Anholt > > The 2835 has two SD controllers: The Arasan sdhci controller (supported > by the iproc driver) and a custom sdhost controller. This patch adds a > driver for the latter. > > The sdhci controller supports both sdcard and sdio. The sdhost > controlle

Re: [PATCH 2/2] iproute2: add support for invisible qdisc dumping

2017-03-01 Thread Stephen Hemminger
On Sat, 25 Feb 2017 22:29:17 +0100 (CET) Jiri Kosina wrote: > From: Jiri Kosina > > Support the new TCA_DUMP_INVISIBLE netlink attribute that allows asking > kernel to perform 'full qdisc dump', as for historical reasons some of the > default qdiscs are being hidden by the kernel. > > The co

Re: [GIT PULL] HID for 4.11

2017-03-01 Thread Dmitry Torokhov
Hi Benjamin, On Wed, Mar 01, 2017 at 10:06:35AM +0100, Benjamin Tissoires wrote: > [I forgot to add Dmitry in the loop, sorry for the noise.] > > On Mar 01 2017 or thereabouts, Benjamin Tissoires wrote: > > On Feb 28 2017 or thereabouts, Linus Torvalds wrote: > > > On Tue, Feb 28, 2017 at 7:24 PM

Re: [PATCH V5 6/6] proc: show MADV_FREE pages info in smaps

2017-03-01 Thread Shaohua Li
On Wed, Mar 01, 2017 at 02:36:24PM +0100, Michal Hocko wrote: > On Fri 24-02-17 13:31:49, Shaohua Li wrote: > > show MADV_FREE pages info of each vma in smaps. The interface is for > > diganose or monitoring purpose, userspace could use it to understand > > what happens in the application. Since us

Re: gcc7 log2 compile issues in kernel/time/timekeeping.c

2017-03-01 Thread Ard Biesheuvel
On 1 March 2017 at 00:00, Laura Abbott wrote: > On 02/25/2017 03:50 AM, Ard Biesheuvel wrote: >> >> >>> On 25 Feb 2017, at 11:23, Ard Biesheuvel wrote: >>> >>> On 25 February 2017 at 11:09, Markus Trippelsdorf >>> wrote: On 2017.02.25 at 09:11 +, Ard Biesheuvel wrote: >> On 25 Febru

Re: [RFC PATCH 2/2] mtd: devices: m25p80: Enable spi-nor bounce buffer support

2017-03-01 Thread Vignesh R

Re: [PATCH v2] ARM: exynos_defconfig: increase CONFIG_CMA_SIZE_MBYTES to 96

2017-03-01 Thread Shuah Khan
On 03/01/2017 10:09 AM, Krzysztof Kozlowski wrote: > On Tue, Feb 28, 2017 at 12:12:21PM -0700, Shuah Khan wrote: >> Current CMA size of 64 Mbytes is right on the edge of being small when >> several drivers need to allocate large CMA buffers. >> >> For example, if the s5p-mfc driver needs to pre-all

Re: [PATCH] hid: usbhid: usbkbd: fix checkpatch.pl issues

2017-03-01 Thread Dmitry Torokhov
Hi Avraham, On Tue, Feb 21, 2017 at 07:26:50PM +0200, Avraham Shukron wrote: > - Broke long lines > - Added spaces where needed > - Removed unnecessary / trailing whitespaces > - Extracted assignments outside of 'if' statements > > Signed-off-by: Avraham Shukron > --- > drivers/hid/usbhid/usbkb

[PATCH v2] objtool, module: discard objtool annotation sections for modules

2017-03-01 Thread Josh Poimboeuf
The '__unreachable' and '__func_stack_frame_non_standard' sections are only used at compile time. They're discarded for vmlinux but they should also be discarded for modules. Since this is a recurring pattern, prefix the section names with ".discard.". It's a nice convention and vmlinux.lds.h a

[RFC v0 2/2] interconnect: Add Qualcomm msm8916 interconnect provider driver

2017-03-01 Thread Georgi Djakov
Add driver for the Qualcomm interconnect controllers found in msm8916 based platforms. Signed-off-by: Georgi Djakov --- drivers/interconnect/Kconfig | 1 + drivers/interconnect/Makefile| 2 + drivers/interconnect/qcom/Kconfig| 11 + dr

[RFC v0 1/2] interconnect: Add generic interconnect controller API

2017-03-01 Thread Georgi Djakov
This patch introduce a new API to get the requirement and configure the interconnect buses across the entire chipset to fit with the current demand. The API is using a consumer/provider-based model, where the providers are the interconnect controllers and the consumers could be various drivers. Th

[RFC v0 0/2] Introduce on-chip interconnect API

2017-03-01 Thread Georgi Djakov
Modern SoCs have multiple processors and various dedicated cores (video, gpu, graphics, modem). These cores are talking to each other and can generate a lot of data flowing through the on-chip interconnects. These interconnect buses could form different topologies such as crossbar, point to point b

Re: [PATCH 6/9] mm: don't avoid high-priority reclaim on memcg limit reclaim

2017-03-01 Thread Johannes Weiner
On Wed, Mar 01, 2017 at 04:40:27PM +0100, Michal Hocko wrote: > On Tue 28-02-17 16:40:04, Johannes Weiner wrote: > > 246e87a93934 ("memcg: fix get_scan_count() for small targets") sought > > to avoid high reclaim priorities for memcg by forcing it to scan a > > minimum amount of pages when lru_page

Re: [PATCH fixes v2] pinctrl: Really force states during suspend/resume

2017-03-01 Thread Florian Fainelli
On 02/27/2017 03:06 PM, Florian Fainelli wrote: > In case a platform only defaults a "default" set of pins, but not a > "sleep" set of pins, and this particular platform suspends and resumes > in a way that the pin states are not preserved by the hardware, when we > resume, we would call pinctrl_si

Re: [PATCH/RFC] arm64: pmu: add Qualcomm Technologies extensions

2017-03-01 Thread Mark Rutland
Hi Neil, On Wed, Mar 01, 2017 at 11:18:05AM -0500, Neil Leeder wrote: > Adds CPU PMU perf events support for Qualcomm Technologies' Falkor CPU. > > The Qualcomm Technologies CPU PMU is named qcom_pmuv3 and provides > extensions to the architected PMU events. Is this is a strict superset of PMUv3

[PATCH v2 5/5] MIPS: microMIPS: Fix decoding of swsp16 instruction

2017-03-01 Thread Matt Redfearn
When the immediate encoded in the instruction is accessed, it is sign extended due to being a signed value being assigned to a signed integer. The ISA specifies that this operation is an unsigned operation. The sign extension leads us to incorrectly decode: 801e9c8e: cbf1sw

Re: [PATCH] Input: sparse-keymap - add managed version of sparse_keymap_setup()

2017-03-01 Thread Dmitry Torokhov
On Wed, Mar 01, 2017 at 11:37:14AM +0100, Michał Kępień wrote: > > On Tue, Feb 28, 2017 at 10:45:25AM +0100, Michał Kępień wrote: > > > Some platform drivers use devm_input_allocate_device() together with > > > sparse_keymap_setup() in their .probe callbacks. While using the former > > > simplifie

[PATCH v14 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2017-03-01 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic Acked-by: Lee Jones --- Changes in v14: - none Changes in v13: - none Changes in v12: - use BIT macro Changes in v11: - create static struct mfd_cells - don't set platf

Re: kvm: WARNING in nested_vmx_vmexit

2017-03-01 Thread Radim Krčmář
2017-03-01 10:44+0100, Dmitry Vyukov: > On Wed, Mar 1, 2017 at 7:13 AM, Wanpeng Li wrote: >> 2017-02-28 20:15 GMT+08:00 Dmitry Vyukov : >>> Hello, >>> >>> The following program triggers WARNING in nested_vmx_vmexit: >>> https://gist.githubusercontent.com/dvyukov/16b946d7dc703bb07b9b933f12fb8a6e/ra

Re: [PATCH v2] scsi: ufs: Factor out ufshcd_read_desc_param

2017-03-01 Thread Subhash Jadavani
On 2017-02-27 19:24, Martin K. Petersen wrote: "Michal" == Potomski, MichalX writes: Michal> Since in UFS 2.1 specification some of the descriptor lengths Michal> differs from 2.0 specification and some devices, which are Michal> reporting spec version 2.0 have different descriptor lengths we

[PATCH fixes v3] pinctrl: Really force states during suspend/resume

2017-03-01 Thread Florian Fainelli
In case a platform only defaults a "default" set of pins, but not a "sleep" set of pins, and this particular platform suspends and resumes in a way that the pin states are not preserved by the hardware, when we resume, we would call pinctrl_single_resume() -> pinctrl_force_default() -> pinctrl_sele

<    1   2   3   4   5   6   7   8   9   >