[PATCH] HID: asus: Add i2c touchpad support

2016-11-29 Thread Brendan McGrath
Update the hid-asus module to add multitouch support for the Asus i2c touchpad. Signed-off-by: Brendan McGrath Signed-off-by: Victor Vlasenko Signed-off-by: Frederik Wenigwieser --- This patch aims to

Re: [PATCH v2 05/12] mm: thp: add core routines for thp/pmd migration

2016-11-29 Thread Naoya Horiguchi
On Mon, Nov 28, 2016 at 03:31:32PM +0100, Michal Hocko wrote: > On Tue 08-11-16 08:31:50, Naoya Horiguchi wrote: > > This patch prepares thp migration's core code. These code will be open when > > unmap_and_move() stops unconditionally splitting thp and get_new_page() > > starts > > to allocate

Re: [PATCH 1/4] KVM: nVMX: support restore of VMX capability MSRs

2016-11-29 Thread Paolo Bonzini
> On Mon, Nov 28, 2016 at 2:48 PM, Paolo Bonzini wrote: > > On 28/11/2016 22:11, David Matlack wrote: > >> > PINBASED_CTLS, PROCBASED_CTLS, EXIT_CTLS and ENTRY_CTLS can be derived > >> > from their "true" counterparts, so I think it's better to remove the > >> > "non-true"

Re: [PATCH] proc: mm: export PTE sizes directly in smaps (v2)

2016-11-29 Thread Vlastimil Babka
On 11/28/2016 10:39 PM, Dave Hansen wrote: > ... cc'ing the arm64 maintainers > > On 11/28/2016 01:07 PM, Vlastimil Babka wrote: >> On 11/28/2016 05:52 PM, Dave Hansen wrote: >>> On 11/24/2016 06:22 AM, Vlastimil Babka wrote: On 11/17/2016 01:28 AM, Dave Hansen wrote: > @@ -702,11

Re: [PATCH] mtd: Allocate bdi objects dynamically

2016-11-29 Thread Sandeep Jain
Dear Maintainers, This patch is already reviewed twice with no issues. Requesting your attention for patch merge. Thanks & Regards, Sandeep Jain On Sat, Nov 05, 2016 at 08:22:31AM +0100, Marek Vasut wrote: > On 11/03/2016 12:34 PM, Sandeep Jain wrote: > > Dear Maintainers, > > This patch is

Re: [PATCH 0/2] more quirks for hid-sensor-hub

2016-11-29 Thread Benjamin Tissoires
On Nov 28 2016 or thereabouts, Srinivas Pandruvada wrote: > Hi Benjamin, > > On Fri, 2016-11-25 at 11:03 +0100, Benjamin Tissoires wrote: > > Hi Jiri, > > > > here are 2 more quirks for the sensor-hub. > > > > Srinivas, I am wondering if we can not detect those automatically. > > Looking at the

Re: [lkp] [rcu] a7410f28ce: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 0-... } 25089 jiffies s: 9 root: 0x1/.

2016-11-29 Thread Sebastian Andrzej Siewior
On 2016-11-29 01:34:57 [+0800], Ye Xiaolong wrote: > Thanks for the explanation, we'll ignore this kind of reports. And sorry for > the noise. This is "special" because my patch enabled the "expedited" RCU on its own. This kind of report against a network driver (for instance) would probably mean

Re: [PATCH v2] vxlan: fix a potential issue when create a new vxlan fdb entry.

2016-11-29 Thread Jiri Benc
On Tue, 29 Nov 2016 09:59:36 +0800, Haishuang Yan wrote: > vxlan_fdb_append may return error, so add the proper check, > otherwise it will cause memory leak. > > Signed-off-by: Haishuang Yan > > Changes in v2: > - Unnecessary to initialize rc to zero.

Re: [PATCH v2 06/12] mm: thp: enable thp migration in generic path

2016-11-29 Thread Naoya Horiguchi
On Mon, Nov 28, 2016 at 03:33:32PM +0100, Michal Hocko wrote: > On Tue 08-11-16 08:31:51, Naoya Horiguchi wrote: > > This patch makes it possible to support thp migration gradually. If you fail > > to allocate a destination page as a thp, you just split the source thp as we > > do now, and then

RE: [PATCH v3] crypto: add virtio-crypto driver

2016-11-29 Thread Gonglei (Arei)
Hi, > > > > +source "drivers/crypto/virtio/Kconfig" > > > > + > > > > endif # CRYPTO_HW > > > > diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile > > > > index ad7250f..bc53cb8 100644 > > > > --- a/drivers/crypto/Makefile > > > > +++ b/drivers/crypto/Makefile > > > > @@ -32,3 +32,4

Re: [PATCH v3 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2016-11-29 Thread Boris Brezillon
On Mon, 28 Nov 2016 21:48:57 +0100 Lukasz Majewski wrote: > Dear Boris, Stefan, > > > On Mon, 28 Nov 2016 06:50:31 +0100 > > Lukasz Majewski wrote: > > > > > Dear Stefan, Boris, > > > > > > > On 2016-11-23 00:38, Boris Brezillon wrote: > >

Re: [PATCH 4/7] time: alarmtimer: Add the tracepoints for alarmtimer

2016-11-29 Thread Baolin Wang
On 29 November 2016 at 15:23, Ingo Molnar wrote: > > * John Stultz wrote: > >> From: Baolin Wang >> >> For system debugging, we sometimes want to know who sets one >> alarm timer, the time of the timer, when the timer started and

RE: [PATCH] perf/x86: fix event counter update issue

2016-11-29 Thread Liang, Kan
> On Tue, Nov 29, 2016 at 09:20:10AM -0800, Stephane Eranian wrote: > > Max period is limited by the number of bits the kernel can write to an > MSR. > > Used to be 31, now it is 47 for core PMU as per patch pointed to by Kan. > > No, I think it sets it to 48 now, which is the problem. It

Re: [lkp] [mm] e7c1db75fe: BUG:sleeping_function_called_from_invalid_context_at_mm/page_alloc.c

2016-11-29 Thread Paul E. McKenney
On Tue, Nov 29, 2016 at 05:21:19PM +, Sudeep Holla wrote: > On Sun, Nov 27, 2016 at 6:16 PM, kernel test robot > wrote: > > > > FYI, we noticed the following commit: > > > > commit e7c1db75fed821a961ce1ca2b602b08e75de0cd8 ("mm: Prevent > > __alloc_pages_nodemask() RCU

RE: [char-msic 1/3] mei: me: disable driver on SPT SPS firmware

2016-11-29 Thread Winkler, Tomas
> > On Tue, Nov 29, 2016 at 02:44:44PM +0200, Tomas Winkler wrote: > > commit 8c57cac1457f3125a5d13dc03635c0708c61bff0 upstream > > > > Sunrise Point PCH with SPS Firmware doesn't expose working MEI > > interface, we need to quirk it out. > > The SPS Firmware is identifiable only on the first PCI

Re: [PATCH] pinctrl: sh-pfc: r8a7791: Add ADI pinconf support

2016-11-29 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Tuesday 29 Nov 2016 10:11:56 Jacopo Mondi wrote: > Add pin configuration support for Gyro-ADC, named ADI on r8a7791 SoC. > > The Gyro-ADC supports three different configurations: > a single ADC (adi and adi_b groups), 2 ADCs selectable through a single >

Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start

2016-11-29 Thread Paul E. McKenney
On Tue, Nov 29, 2016 at 06:10:38PM +0100, Peter Zijlstra wrote: > On Tue, Nov 29, 2016 at 05:29:20PM +0100, Petr Mladek wrote: > > > > > People are very busy polishing the turd we call printk, but from where > > > > I'm sitting its terminally and unfixably broken. > > > > I still hope that we

Re: [PATCHv4 09/10] mm/usercopy: Switch to using lm_alias

2016-11-29 Thread Kees Cook
On Tue, Nov 29, 2016 at 10:55 AM, Laura Abbott wrote: > > The usercopy checking code currently calls __va(__pa(...)) to check for > aliases on symbols. Switch to using lm_alias instead. > > Signed-off-by: Laura Abbott Acked-by: Kees Cook

Re: perf: fuzzer BUG: KASAN: stack-out-of-bounds in __unwind_start

2016-11-29 Thread Peter Zijlstra
On Tue, Nov 29, 2016 at 11:39:35AM -0800, Paul E. McKenney wrote: > On Tue, Nov 29, 2016 at 06:10:38PM +0100, Peter Zijlstra wrote: > > It mostly works, most of the time, and that seems to be what Linus > > wants, since its really the best we can have given the constraints. But > > for debugging,

[PATCH] perf sched timehist: Improve error message when analyzing wrong file

2016-11-29 Thread David Ahern
Arnaldo reported an unhelpful error message when running perf sched timehist on a file that did not contain sched tracepoints: [root@jouet ~]# perf sched timehist No trace sample to read. Did you call 'perf record -R'? [root@jouet ~]# perf evlist -v cycles:ppp: size: 112, {

Re: 4.9-rc7: (forcedeth?) BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-11-29 Thread Eric Dumazet
On Tue, 2016-11-29 at 23:16 +0200, Meelis Roos wrote: > > On Tue, Nov 29, 2016 at 12:26 PM, Meelis Roos wrote: > > > This is 4.9-rc7 on Sun Ultra 20 (Opteron 175 on NVidia chipset PC with > > > NVidia ethernet). > > > > > > BUG: sleeping function called from invalid context at >

[rcu:rcu/next 34/34] fs/file.c:407:6: note: in expansion of macro 'cond_resched_rcu_qs'

2016-11-29 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next head: ccc0666e2049e5818c236e647cf20c552a7b053b commit: ccc0666e2049e5818c236e647cf20c552a7b053b [34/34] rcu: Allow boot-time use of cond_resched_rcu_qs() config: i386-alldefconfig (attached as .config)

RE: [char-msic 3/3] mei: fix return value on disconnection

2016-11-29 Thread Winkler, Tomas
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, November 29, 2016 21:15 > To: Winkler, Tomas > Cc: sta...@vger.kernel.org; linux-kernel@vger.kernel.org; Usyskin, Alexander > >

Re: [rcu:rcu/next 34/34] include/linux/rcupdate.h:426:6: error: 'rcu_scheduler_active' undeclared

2016-11-29 Thread Paul E. McKenney
On Wed, Nov 30, 2016 at 03:23:50AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > rcu/next > head: ccc0666e2049e5818c236e647cf20c552a7b053b > commit: ccc0666e2049e5818c236e647cf20c552a7b053b [34/34] rcu: Allow boot-time > use

RE: [char-msic 3/3] mei: fix return value on disconnection

2016-11-29 Thread Winkler, Tomas
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, November 29, 2016 21:15 > To: Winkler, Tomas > Cc: sta...@vger.kernel.org; linux-kernel@vger.kernel.org; Usyskin, Alexander > >

Re: 4.9-rc7: (forcedeth?) BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-11-29 Thread Meelis Roos
> On Nov 29, 2016 11:58 AM, "Eric Dumazet" wrote: > > > > nv_do_nic_poll() is simply buggy and needs a fix. > > > > synchronize_irq() can sleep. > > Yes, but why did it start showing up now? None of this has changed as far as > I can see? Found one thing that changed -

[PATCH v2] perf sched timehist: Improve error message when analyzing wrong file

2016-11-29 Thread David Ahern
Arnaldo reported an unhelpful error message when running perf sched timehist on a file that did not contain sched tracepoints: [root@jouet ~]# perf sched timehist No trace sample to read. Did you call 'perf record -R'? [root@jouet ~]# perf evlist -v cycles:ppp: size: 112, {

Re: [PATCH] Input: mouse: navpoint - Change msleep to usleep_range for small msecs

2016-11-29 Thread Aniroop Mathur
Dear Mr. Paul Parsons, I am Aniroop Mathur from Samsung R Institute, India. I have submitted one patch as below for review to Linux Open Source. The problem is that we do not have the hardware available with us to test it and we would like to test it before actually applying it. If you have the

[PATCH v2 0/5] KVM: VMX: Fix single stepping with emulated instructions

2016-11-29 Thread Kyle Huey
KVM does not currently honor the trap flag when emulating instructions that cause VM exits. This is observable from guest userspace, try stepping on a CPUID instruction in gdb in a KVM guest. The program will stop two instructions after CPUID. To fix this, add kvm_skip_emulated_instruction that

Re: [PATCH] Input: mouse: pxa930_trkball - change msleep to usleep_range for small msecs

2016-11-29 Thread Aniroop Mathur
Dear Yong Yao, Greetings! I am Aniroop Mathur from Samsung R Institute, India. I have submitted one patch as below for review to Linux Open Source. The problem is that we do not have the hardware available with us to test it and we would like to test it before actually applying it. As you are

Re: [RFD] Common userspace tool for fscypto

2016-11-29 Thread Richard Weinberger
Michael, On 19.10.2016 19:36, Michael Halcrow wrote: >> That said, what about implementing such a tool as part of util-linux to >> control >> fscrypto? We (David and I) would volunteer. > > While discussing several changes we have staged for release (we're > trying to minimize churn by batching

Re: [PATCH v2 2/3] Input: ti_am335x_tsc: Add support for ti,charge-delay-ns

2016-11-29 Thread Dmitry Torokhov
On Fri, Nov 11, 2016 at 01:28:19PM +0530, Mugunthan V N wrote: > ti,charge-delay will be deprecated as it represents number of > clock cycles and the DT entries are done in assumption of 3MHz > TSCADC clock, but clock can be set upto 24MHz. So driver add > support for ti,charge-delay-ns and do not

Re: [PATCH v2 3/3] clk: uniphier: add cpufreq data for LD11, LD20 SoCs

2016-11-29 Thread Stephen Boyd
On 11/24, Masahiro Yamada wrote: > Add more data to 64bit SoCs for the cpufreq support. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v2 2/3] clk: uniphier: add CPU-gear change (cpufreq) support

2016-11-29 Thread Stephen Boyd
On 11/24, Masahiro Yamada wrote: > Core support code for CPU frequency changes, which will be used by > the generic cpufreq driver. > > The register view is different from the generic clk-mux; it has > a separate status register, and an update bit to load the register > setting. > >

Re: [PATCH v2 1/3] clk: uniphier: remove unneeded member name for union

2016-11-29 Thread Stephen Boyd
On 11/24, Masahiro Yamada wrote: > The struct member name of a union is unneeded. This makes the code > a bit shorter. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux

[PATCH v2] PCI: Add information about describing PCI in ACPI

2016-11-29 Thread Bjorn Helgaas
Add a writeup about how PCI host bridges should be described in ACPI using PNP0A03/PNP0A08 devices, PNP0C02 devices, and the MCFG table. Signed-off-by: Bjorn Helgaas --- Documentation/PCI/00-INDEX |2 Documentation/PCI/acpi-info.txt | 180

[PATCH v2] PCI: Add information about describing PCI in ACPI

2016-11-29 Thread Bjorn Helgaas
Here's another stab at this writeup. I'd appreciate any comments! Changes from v1 to v2: - Consumer/Producer is defined for Extended Address Space descriptors; should be ignored for QWord/DWord/Word Address Space descriptors - New arches may use Extended Address Space descriptors in

Re: [PATCH] pinctrl: sh-pfc: r8a7791: Add ADI pinconf support

2016-11-29 Thread Geert Uytterhoeven
Hi Laurent, On Tue, Nov 29, 2016 at 8:30 PM, Laurent Pinchart wrote: > On Tuesday 29 Nov 2016 10:11:56 Jacopo Mondi wrote: >> Add pin configuration support for Gyro-ADC, named ADI on r8a7791 SoC. >> >> The Gyro-ADC supports three different configurations: >> a

[PATCH] soc: ti: qmss: fix the case when !SMP

2016-11-29 Thread Grygorii Strashko
The irq_set_affinity_hint() will always fail when !SMP and Networking will fail on Keystone 2 devices in this case. Hence, fix by ignoring IRQ affinity settings when !SMP. Cc: Murali Karicheri Signed-off-by: Grygorii Strashko ---

Re: 4.9-rc7: (forcedeth?) BUG: sleeping function called from invalid context at kernel/irq/manage.c:110

2016-11-29 Thread Eric Dumazet
On Tue, 2016-11-29 at 12:06 -0800, Linus Torvalds wrote: > On Nov 29, 2016 11:58 AM, "Eric Dumazet" > wrote: > > > > nv_do_nic_poll() is simply buggy and needs a fix. > > > > synchronize_irq() can sleep. > > Yes, but why did it start showing up now? None of this has

[PATCH for-next 3/6] IB/hns: Fix the bug of setting port mtu

2016-11-29 Thread Salil Mehta
From: "Wei Hu (Xavier)" In hns_roce driver, we need not call iboe_get_mtu to reduce IB headers from effective IBoE MTU because hr_dev->caps.max_mtu has already been reduced. Signed-off-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta

[PATCH for-next 0/6] IB/hns: Bug Fixes for HNS RoCE Driver

2016-11-29 Thread Salil Mehta
This patch-set contains bug fixes for the HNS RoCE driver. Lijun Ou (1): IB/hns: Fix the IB device name Shaobo Xu (2): IB/hns: Fix the bug when free mr IB/hns: Fix the bug when free cq Wei Hu (Xavier) (3): IB/hns: Fix the bug when destroy qp IB/hns: Fix the bug of setting port mtu

Re: [PATCH] misc: sram: remove useless #ifdef

2016-11-29 Thread Alexandre Belloni
On 29/11/2016 at 21:01:53 +0100, Greg Kroah-Hartman wrote : > On Tue, Nov 29, 2016 at 08:54:00PM +0100, Alexandre Belloni wrote: > > On 29/11/2016 at 20:41:54 +0100, Greg Kroah-Hartman wrote : > > > On Tue, Nov 22, 2016 at 03:30:54PM +0100, Arnd Bergmann wrote: > > > > A recent patch added a new

[PATCH v2] media: Protect enable_source and disable_source handler code paths

2016-11-29 Thread Shuah Khan
Drivers might try to access and run enable_source and disable_source handlers when the driver that implements these handlers is clearing the handlers during its unregister. Fix the following race condition: process 1 process 2 request video streaming

Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-29 Thread Maxime Ripard
On Mon, Nov 28, 2016 at 11:42:18AM +0100, Jean-Francois Moine wrote: > On Mon, 28 Nov 2016 17:59:00 +0800 > Icenowy Zheng wrote: > > > As there's currently a fork of U-Boot which provides simplefb support > > for H3, a simplefb node can be added to the device tree. > > > >

Re: [PATCH RESEND 2/2] gpio: axp209: add pinctrl support

2016-11-29 Thread Quentin Schulz
Hi Linus, On 24/11/2016 15:17, Linus Walleij wrote: > On Wed, Nov 23, 2016 at 3:11 PM, Quentin Schulz > wrote: > >> The GPIOs present in the AXP209 PMIC have multiple functions. They >> typically allow a pin to be used as GPIO input or output and can also be

Re: [PATCH V4 13/15] blk-throttle: add a mechanism to estimate IO latency

2016-11-29 Thread Tejun Heo
Hello, On Tue, Nov 29, 2016 at 10:30:44AM -0800, Shaohua Li wrote: > > As discussed separately, it might make more sense to just use the avg > > of the closest bucket instead of trying to line-fit the buckets, but > > it's an implementation detail and whatever which works is fine. > > that is

Re: [PATCH 0/2] z3fold fixes

2016-11-29 Thread Andrew Morton
On Tue, 29 Nov 2016 17:33:19 -0500 Dan Streetman wrote: > On Sat, Nov 26, 2016 at 2:15 PM, Vitaly Wool wrote: > > Here come 2 patches with z3fold fixes for chunks counting and locking. As > > commit 50a50d2 ("z3fold: don't fail kernel build is

Re: [PATCHv4 06/10] xen: Switch to using __pa_symbol

2016-11-29 Thread Laura Abbott
On 11/29/2016 02:26 PM, Boris Ostrovsky wrote: > On 11/29/2016 01:55 PM, Laura Abbott wrote: >> __pa_symbol is the correct macro to use on kernel >> symbols. Switch to this from __pa. >> >> Signed-off-by: Laura Abbott >> --- >> Found during a sweep of the kernel. Untested. >>

PROBLEM-PERSISTS: dmesg spam: alloc_contig_range: [XX, YY) PFNs busy

2016-11-29 Thread Robin H. Johnson
I didn't get any responses to this. git bisect shows that the problem did actually exist in 4.5.0-rc6, but has gotten worse by many orders of magnitude (< 1/week to ~20M/hour). Presently with 4.9-rc5, it's now writing ~2.5GB/hour to syslog. The list of addresses in that time is only ~80 unique

[PATCH V8 0/3] irqchip: qcom: Add IRQ combiner driver

2016-11-29 Thread Agustin Vega-Frias
Add support for IRQ combiners in the Top-level Control and Status Registers (TCSR) hardware block in Qualcomm Technologies chips. The first patch adds support for ResourceSource/IRQ domain mapping when using Extended IRQ Resources with a specific ResourceSource. The patch prevents the ACPI core

[PATCH V8 2/3] ACPI: Retry IRQ conversion if it failed previously

2016-11-29 Thread Agustin Vega-Frias
This allows probe deferral to work properly when a dependent device fails to get a valid IRQ because the IRQ domain was not registered at the time the resources were added to the platform_device. Signed-off-by: Agustin Vega-Frias --- drivers/acpi/irq.c | 144

Re: [PATCH] arm: add stat support to fiq

2016-11-29 Thread Oussama Ghorbel
This patch has been tested on the raspberry pi 2/3 boards with 4.6.y kernel. Another patch written for dwc_otg driver (not in mainline) that uses the features provided by this patch. it's available here https://www.osadl.org/monitoring/patches/r7s3s/0002-usb-dwc_otg-enable-fiq-stat.patch To see

Re: netlink: GPF in sock_sndtimeo

2016-11-29 Thread Cong Wang
On Tue, Nov 29, 2016 at 8:48 AM, Richard Guy Briggs wrote: > On 2016-11-26 17:11, Cong Wang wrote: >> It is racy on audit_sock, especially on the netns exit path. > > I think that is the only place it is racy. The other places audit_sock > is set is when the socket failure has

[tip:x86/timers 8/14] smpboot.c:undefined reference to `check_tsc_sync_target'

2016-11-29 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/timers head: 3a824695a452b4a11dde2342951f726fe449 commit: 8b223bc7abe0e30e8d297a24ee6c6c07ef8d0bb9 [8/14] x86/tsc: Store and check TSC ADJUST MSR config: i386-randconfig-h1-11300137 (attached as .config) compiler: gcc-6

Re: [PATCH] timekeeping: Change type of nsec variable to unsigned in its calculation.

2016-11-29 Thread David Gibson
On Tue, Nov 29, 2016 at 03:22:17PM +0100, Thomas Gleixner wrote: > On Fri, 18 Nov 2016, John Stultz wrote: > > From: Liav Rehana > > > > During the calculation of the nsec variable in the inline function > > timekeeping_delta_to_ns, it may undergo a sign extension if its msb

Re: [PATCH net-next v3 0/4] Fix OdroidC2 Gigabit Tx link issue

2016-11-29 Thread Florian Fainelli
On 11/29/2016 04:38 PM, David Miller wrote: > From: Jerome Brunet > Date: Mon, 28 Nov 2016 10:46:45 +0100 > >> This patchset fixes an issue with the OdroidC2 board (DWMAC + RTL8211F). >> The platform seems to enter LPI on the Rx path too often while performing >> relatively

[PATCH] net: ethernet: ti: cpsw: fix ASSERT_RTNL() warning during resume

2016-11-29 Thread Grygorii Strashko
netif_set_real_num_tx/rx_queues() are required to be called with rtnl_lock taken, otherwise ASSERT_RTNL() warning will be triggered - which happens now during System resume from suspend: cpsw_resume() |- cpsw_ndo_open() |- netif_set_real_num_tx/rx_queues() |- ASSERT_RTNL(); Hence, fix it

[RELEASE] LTTng-UST 2.9.0 (Linux user-space tracer)

2016-11-29 Thread Mathieu Desnoyers
This is the official announcement of the release of LTTng-UST 2.9.0. Release name: Joannès. LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is a low-overhead application tracer. The library "liblttng-ust" enables tracing of applications and libraries. New and Noteworthy for

[patch v2 1/2] mm, zone: track number of movable free pages

2016-11-29 Thread David Rientjes
An upcoming compaction change will need the number of movable free pages per zone to determine if async compaction will become unnecessarily expensive. This patch introduces no functional change or increased memory footprint. It simply tracks the number of free movable pages as a subset of the

[patch v2 2/2] mm, compaction: avoid async compaction if most free memory is ineligible

2016-11-29 Thread David Rientjes
Memory compaction will only migrate memory to MIGRATE_MOVABLE pageblocks for asynchronous compaction. If most free memory on the system is not eligible for migration in this context, isolate_freepages() can take an extreme amount of time trying to find a free page. For example, we have

[GIT PULL] ARC fixes for 4.9-final !

2016-11-29 Thread Vineet Gupta
Hi Linus, Please pull ARC fixes for 4.9. Thx, -Vineet --> The following changes since commit e5517c2a5a49ed5e99047008629f1cd60246ea0e: Linux 4.9-rc7 (2016-11-27 13:08:04 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/

[PATCH 4/4] locking: Add kselftests for ww_mutex stress

2016-11-29 Thread Chris Wilson
Signed-off-by: Chris Wilson Cc: Peter Zijlstra Cc: Maarten Lankhorst Cc: Nicolai Hähnle --- kernel/locking/test-ww_mutex.c | 134 + 1 file changed, 134

[PATCH 1/4] locking: Begin kselftests for ww_mutex

2016-11-29 Thread Chris Wilson
Signed-off-by: Chris Wilson Cc: Peter Zijlstra Cc: Maarten Lankhorst Cc: Nicolai Hähnle --- kernel/locking/Makefile| 1 + kernel/locking/test-ww_mutex.c | 137

[PATCH 2/4] locking: Add kselftests for ww_mutex AA deadlock detection

2016-11-29 Thread Chris Wilson
Signed-off-by: Chris Wilson Cc: Peter Zijlstra Cc: Maarten Lankhorst Cc: Nicolai Hähnle --- kernel/locking/test-ww_mutex.c | 39 +++ 1 file changed, 39 insertions(+)

[PATCH 3/4] locking: Add kselftests for ww_mutex ABBA deadlock detection

2016-11-29 Thread Chris Wilson
Signed-off-by: Chris Wilson Cc: Peter Zijlstra Cc: Maarten Lankhorst Cc: Nicolai Hähnle --- kernel/locking/test-ww_mutex.c | 75 ++ 1 file changed, 75 insertions(+)

Re: Idea behind EXT4_IOC_GET_ENCRYPTION_PWSALT?

2016-11-29 Thread Joe Richey
Richard, Our current design for fscrypt (tentative name for the userspace filesystem encryption manager) does not use the global filesystem salt (EXT4_IOC_GET_ENCRYPTION_PWSALT), we are planning on having a different salt for each password used in the system. We are using planning on using

Re: [PATCH v3 0/8] mm/swap: Regular page swap optimizations

2016-11-29 Thread Tim Chen
On Tue, 2016-11-29 at 13:50 -0800, Andrew Morton wrote: > On Mon, 28 Nov 2016 13:14:01 -0800 Tim Chen > wrote: > > > > > On Tue, 2016-11-15 at 15:47 -0800, Tim Chen wrote: > > > > > > Andrew, > > > > > > It seems like there are no objections to this patch series

Re: [PATCH v11 0/8] powerpc: Implement kexec_file_load()

2016-11-29 Thread Thiago Jung Bauermann
Hello Andrew, Am Dienstag, 29. November 2016, 13:45:18 BRST schrieb Andrew Morton: > On Tue, 29 Nov 2016 23:45:46 +1100 Michael Ellerman wrote: > > This is v11 of the kexec_file_load() for powerpc series. > > > > I've stripped this down to the minimum we need, so we can

Re: [PATCHv4 06/10] xen: Switch to using __pa_symbol

2016-11-29 Thread Boris Ostrovsky
On 11/29/2016 01:55 PM, Laura Abbott wrote: > __pa_symbol is the correct macro to use on kernel > symbols. Switch to this from __pa. > > Signed-off-by: Laura Abbott > --- > Found during a sweep of the kernel. Untested. > --- > drivers/xen/xenbus/xenbus_dev_backend.c | 2 +- >

Re: [PATCH 0/2] z3fold fixes

2016-11-29 Thread Dan Streetman
On Sat, Nov 26, 2016 at 2:15 PM, Vitaly Wool wrote: > Here come 2 patches with z3fold fixes for chunks counting and locking. As > commit 50a50d2 ("z3fold: don't fail kernel build is z3fold_header is too > big") was NAK'ed [1], I would suggest that we removed that one and

[PATCH] arm: add stat support to fiq

2016-11-29 Thread Oussama Ghorbel
This patch allows drivers that uses fiq to have a stat on the execution number of the fiq handler. For that three APIs has been defined: - fiq_kstat_enable: this function enables fiq stat and allocates required memory for it - fiq_kstat_disable: this function disable fiq stat and free its

Re: [PATCH V4 15/15] blk-throttle: add latency target support

2016-11-29 Thread Tejun Heo
Hello, On Tue, Nov 29, 2016 at 10:14:03AM -0800, Shaohua Li wrote: > What the patches do doesn't conflict what you are talking about. We need a way > to detect if cgroups are idle or active. I think the problem is how to define > 'active' and 'idle'. We must quantify the state. We could use: > 1.

question about irq_enter()/irq_exit() calling policy

2016-11-29 Thread Grygorii Strashko
Hi All, Sorry for the may be dumb question, but what is the calling policy for irq_enter()/irq_exit()? 1) Should these function be called each time system enter/exit IRQ context? HW IRQ: switch (IRQ mode) ... irq_enter() handle irq - execute hw_irq_hadler irq_exit() ...

Re: [PATCH net-next v3 0/4] Fix OdroidC2 Gigabit Tx link issue

2016-11-29 Thread David Miller
From: Jerome Brunet Date: Mon, 28 Nov 2016 10:46:45 +0100 > This patchset fixes an issue with the OdroidC2 board (DWMAC + RTL8211F). > The platform seems to enter LPI on the Rx path too often while performing > relatively high TX transfer. This eventually break the link

Re: [PATCH v2] vfs: fix put_compat_statfs64() does not handle errors

2016-11-29 Thread Andreas Dilger
> On Nov 15, 2016, at 2:19 AM, Li Wang wrote: > > put_compat_statfs64() does NOT return -1 and setting errno to EOVERFLOW > when some variables(like: f_bsize) overflowed in the returned struct. > > The reason is that the ubuf->f_blocks is __u64 type, it couldn't be > 4bits

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-29 Thread Marc MERLIN
On Tue, Nov 29, 2016 at 09:40:19AM -0800, Marc MERLIN wrote: > Thanks for the reply and suggestions. > > On Tue, Nov 29, 2016 at 09:07:03AM -0800, Linus Torvalds wrote: > > On Tue, Nov 29, 2016 at 8:34 AM, Marc MERLIN wrote: > > > Now, to be fair, this is not a new problem,

Re: [PATCH V4 15/15] blk-throttle: add latency target support

2016-11-29 Thread Shaohua Li
On Tue, Nov 29, 2016 at 05:54:46PM -0500, Tejun Heo wrote: > Hello, > > On Tue, Nov 29, 2016 at 10:14:03AM -0800, Shaohua Li wrote: > > What the patches do doesn't conflict what you are talking about. We need a > > way > > to detect if cgroups are idle or active. I think the problem is how to >

Re: [PATCH v2] PCI: Add information about describing PCI in ACPI

2016-11-29 Thread Linus Torvalds
Bjorn, this email was marked as spam, because: It has a from address in google.com but has failed google.com's required tests for authentication in particular, it looks like you used a non-google smtp server (kernel.org) to send the email, so there is no DKIM hash (or perhaps google just uses

Re: [PATCH V6 1/1] ARM64/PCI: Manage controller-specific information on the host controller basis

2016-11-29 Thread Bjorn Helgaas
On Thu, Nov 24, 2016 at 12:05:23PM +0100, Tomasz Nowicki wrote: > Currently we use one shared global acpi_pci_root_ops structure to keep > controller-specific ops. Then its pointer is passed to acpi_pci_root_create() > and associated with host bridge instance for good. Such design implies >

Re: [RFD] Common userspace tool for fscypto

2016-11-29 Thread Eric Biggers
On Tue, Nov 29, 2016 at 10:59:28PM +0100, Richard Weinberger wrote: > > Do you also plan to address d/page cache related issues? > i.e. when two users are logged into the system user rw > is able to see decrypted file names and contents in /home/dags/ > if user dags installs a key and accessed a

Re: [PATCH] net: macb: Write only necessary bits in NCR in macb reset

2016-11-29 Thread David Miller
From: Harini Katakam Date: Mon, 28 Nov 2016 14:53:49 +0530 > In macb_reset_hw, use read-modify-write to disable RX and TX. > This way exiting settings and reserved bits wont be disturbed. > Use the same method for clearing statistics as well. > > Signed-off-by: Harini

[PATCH v3 1/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver

2016-11-29 Thread Serge Semin
This driver provides an access to EEPROM of IDT PCIe-switches. IDT PCIe- switches expose a simple SMBus interface to perform IO-operations from/to EEPROM, which is located at private (so called Master) SMBus. The driver creates a simple binary sysfs-file to have an access to the EEPROM using the

Re: [PATCH 3/3] z3fold: discourage use of pages that weren't compacted

2016-11-29 Thread Dan Streetman
On Mon, Nov 28, 2016 at 9:14 AM, Vitaly Wool wrote: > On Fri, Nov 25, 2016 at 7:25 PM, Dan Streetman wrote: >> On Tue, Nov 15, 2016 at 11:00 AM, Vitaly Wool wrote: >>> If a z3fold page couldn't be compacted, we don't want it to be

[PATCH v3 0/2] eeprom: Add IDT 89HPESx EEPROM/CSR driver

2016-11-29 Thread Serge Semin
Changelog v3: - Get rid of dev_*_idt() macros - Replace to_pdev_kobj() macro with naked dev_get_drvdata() call - Return naked 0 instead of SUCCESS macro - IDT CSR debug file is moved to debugfs - BIN_ATTR_RW is used to declare sysfs binary attribute - Moved bindings file to a separate patch - Need

[PATCH v3 2/2] eeprom: Add IDT 89HPESx driver dts-binding file

2016-11-29 Thread Serge Semin
IDT 89HPESx PCIe-switches exposes SMBus interface to have an access to the device CSRs and EEPROM. So to properly utilize the interface functionality, developer should declare a valid dts-file node, which would refer to the corresponding 89HPESx device. Signed-off-by: Serge Semin

linux-next: build failure after merge of the cifs tree

2016-11-29 Thread Stephen Rothwell
napshot timestamp mount parm") CONFIG_CIFS_SMB2 is not set for this build ... I have used the cifs tree from next-20161129 for today. -- Cheers, Stephen Rothwell

[RELEASE] LTTng-modules 2.9.0 (Linux kernel tracer)

2016-11-29 Thread Mathieu Desnoyers
This is the official announcement of the release of LTTng-modules 2.9.0. Release name: Joannès. The LTTng modules provide Linux kernel tracing capability to the LTTng 2.9 tracer toolset. New and Noteworthy for LTTng-modules 2.9: * Various performance improvements. Tested on x86-64 and ARM32. *

[PATCH v7] Input: synaptics-rmi4 - add support for F34 V7 bootloader

2016-11-29 Thread Nick Dyer
Port firmware update code from Samsung Galaxy S7 driver into mainline framework. This patch has been tested on Synaptics S7813. Signed-off-by: Nick Dyer Tested-by: Chris Healy --- Hi Dmitry- Here's an updated version of the F34 V7 support. This patch

[PATCH V8 3/3] irqchip: qcom: Add IRQ combiner driver

2016-11-29 Thread Agustin Vega-Frias
Driver for interrupt combiners in the Top-level Control and Status Registers (TCSR) hardware block in Qualcomm Technologies chips. An interrupt combiner in this block combines a set of interrupts by OR'ing the individual interrupt signals into a summary interrupt signal routed to a parent

[PATCH V8 1/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-11-29 Thread Agustin Vega-Frias
When an Extended IRQ Resource contains a valid ResourceSource use it to map the IRQ on the domain associated with the ACPI device referenced. With this in place an irqchip driver can create its domain using irq_domain_create_linear and pass the device fwnode to create the domain mapping. When

[PATCH for-next 6/6] IB/hns: Fix the IB device name

2016-11-29 Thread Salil Mehta
From: Lijun Ou This patch mainly fix the name for IB device in order to match with libhns. Signed-off-by: Lijun Ou Signed-off-by: Salil Mehta --- drivers/infiniband/hw/hns/hns_roce_main.c |2 +- 1 file changed, 1

[PATCH for-next 1/6] IB/hns: Fix the bug when destroy qp

2016-11-29 Thread Salil Mehta
From: "Wei Hu (Xavier)" If send queue is still working when qp is in reset state by modify qp in destroy qp function, hardware will hold on and don't work in hip06 SoC. In current codes, RoCE driver check hardware pointer of sending and hardware pointer of processing to

[PATCH for-next 2/6] IB/hns: Fix the bug when free mr

2016-11-29 Thread Salil Mehta
From: Shaobo Xu If the resources of mr are freed while executing the user case, hardware can not been notified in hip06 SoC. Then hardware will hold on when it reads the payload by the PA which has been released. In order to slove this problem, RoCE driver creates 8

[PATCH for-next 4/6] IB/hns: Delete the redundant memset operation

2016-11-29 Thread Salil Mehta
From: "Wei Hu (Xavier)" It deleted the redundant memset operation because the memory allocated by ib_alloc_device has been set zero. Signed-off-by: Wei Hu (Xavier) Signed-off-by: Salil Mehta ---

[PATCH for-next 5/6] IB/hns: Fix the bug when free cq

2016-11-29 Thread Salil Mehta
From: Shaobo Xu If the resources of cq are freed while executing the user case, hardware can not been notified in hip06 SoC. Then hardware will hold on when it writes the cq buffer which has been released. In order to slove this problem, RoCE driver checks the CQE counter,

Re: [PATCH] pci-hyperv: use kmalloc to allocate hypercall params buffer

2016-11-29 Thread Bjorn Helgaas
On Tue, Nov 08, 2016 at 02:04:38PM -0800, Long Li wrote: > From: Long Li > > hv_do_hypercall assumes that we pass a segment from a physically > continuous buffer. Buffer allocated on the stack may not work if > CONFIG_VMAP_STACK=y is set. > > Change to use kmalloc to

Re: [PATCH] md/raid5: limit request size according to implementation limits

2016-11-29 Thread Shaohua Li
On Sun, Nov 27, 2016 at 07:32:32PM +0300, Konstantin Khlebnikov wrote: > Current implementation employ 16bit counter of active stripes in lower > bits of bio->bi_phys_segments. If request is big enough to overflow > this counter bio will be completed and freed too early. > > Fortunately this not

Re: [PATCH] net: stmmac: enable tx queue 0 for gmac4 IPs synthesized with multiple TX queues

2016-11-29 Thread David Miller
From: Niklas Cassel Date: Thu, 24 Nov 2016 15:36:33 +0100 > From: Niklas Cassel > > The dwmac4 IP can synthesized with 1-8 number of tx queues. > On an IP synthesized with DWC_EQOS_NUM_TXQ > 1, all txqueues are disabled > by default. For these

Re: [PATCH] net: ethernet: ti: cpsw: fix ASSERT_RTNL() warning during resume

2016-11-29 Thread Ivan Khoronzhuk
On Tue, Nov 29, 2016 at 04:27:03PM -0600, Grygorii Strashko wrote: > netif_set_real_num_tx/rx_queues() are required to be called with rtnl_lock > taken, otherwise ASSERT_RTNL() warning will be triggered - which happens > now during System resume from suspend: > cpsw_resume() > |- cpsw_ndo_open() >

  1   2   3   4   5   6   7   8   9   10   >