Re: [char-misc for 4.10-rc4] mei: bus: enable OS version only for SPT and newer

2017-01-10 Thread Greg Kroah-Hartman
On Mon, Jan 09, 2017 at 06:15:29PM +0200, Tomas Winkler wrote: > From: Alexander Usyskin > > Sending OS version for support of TPM2_ChangeEPS() is required only > for SPT FW (HMB version 2.0) and newer. > On older platforms the command should be just ignored by the firmware > but some older platf

Re: [PATCH] regulator: core: Don't use regulators as supplies until the parent is bound

2017-01-10 Thread Mark Brown
On Tue, Jan 10, 2017 at 11:01:09AM +, Jon Hunter wrote: > +++ b/drivers/regulator/core.c > @@ -1553,6 +1553,11 @@ static int regulator_resolve_supply(struct > regulator_dev *rdev) > } > } > > + if (r->dev.parent && !device_is_bound(r->dev.parent)) { > + p

Re: [HMM v15 13/16] mm/hmm/migrate: new memory migration helper for use with device memory v2

2017-01-10 Thread Jerome Glisse
On Tue, Jan 10, 2017 at 09:30:30AM -0600, David Nellans wrote: > > > You are mischaracterizing patch 11-14. Patch 11-12 adds new flags and > > modify existing functions so that they can be share. Patch 13 implement > > new migration helper while patch 14 optimize this new migration helper. > > > >

[PATCH] fscrypt: remove redundant assignment of res

2017-01-10 Thread Colin King
From: Colin Ian King res is assigned to sizeof(ctx), however, this is unused and res is updated later on without that assigned value to res ever being used. Remove this redundant assignment. Fixes CoverityScan CID#1395546 "Unused value" Signed-off-by: Colin Ian King --- fs/crypto/keyinfo.c |

Re: [PATCH 09/12] misc: flexcard: add device attributes

2017-01-10 Thread Greg Kroah-Hartman
On Wed, Dec 14, 2016 at 01:11:50AM +0100, Holger Dengler wrote: > Add device attributes for common flexcard information access. The > attribiutes are read-only execpt "uid" (user ID register). > The "uid" attribute can also be used to change the user-defined ID of a > Flexcard. > > Signed-off-by:

Re: [PATCH 08/12] misc: Flexcard misc device support

2017-01-10 Thread Greg Kroah-Hartman
On Wed, Dec 14, 2016 at 10:28:25AM +0100, Holger Dengler wrote: > On 12/14/2016 09:42 AM, Arnd Bergmann wrote: > > On Wednesday, December 14, 2016 1:11:49 AM CET Holger Dengler wrote: > >> The Flexcard PCI BAR0 contain registers for configuration but also > >> for informational purpose like error c

Re: [PATCH] ASoC: tm2_wm5110: include gpio/consumer.h

2017-01-10 Thread Mark Brown
On Tue, Jan 10, 2017 at 05:48:06PM +0100, Arnd Bergmann wrote: > In case you have queued up that change for v4.11 but not also v4.10, > maybe move it into the fixes branch. There's a merge in there as well. signature.asc Description: PGP signature

Re: [RFC] drm: Parse HDMI 2.0 YCbCr 4:2:0 VDB and VCB

2017-01-10 Thread Jose Abreu
Hi Ville, [snip] >> Are you going to update all the userspace clients? Exposing HDMI 2.0 >> modes only for your favorite client doesn't sound like a good plan to >> me. >> >> If we simply compute from a specific modeline whether it needs to be >> transmitted as 4:2:0, I suppose we could simply l

Re: [RFC 4/8] KVM: arm/arm64: Initialize the emulated EL1 physical timer

2017-01-10 Thread Jintack Lim
On Mon, Jan 9, 2017 at 7:02 AM, Christoffer Dall wrote: > On Mon, Dec 26, 2016 at 12:12:02PM -0500, Jintack Lim wrote: >> Initialize the emulated EL1 physical timer with the default irq number. >> >> Signed-off-by: Jintack Lim >> --- >> arch/arm/kvm/reset.c | 9 - >> arch/arm64/

[RFC] Use of SipHash and HalfSipHash for Hashtables and PRF

2017-01-10 Thread Jason A. Donenfeld
Hi all, In this case, by "RFC" I actually mean "request for commits". No comments, please. :) David Miller's net-next tree now has my SipHash patchset, which adds SipHash to the kernel for all sorts of interesting uses. The first two uses include syncookies and secure sequence numbers. Future use

Re: [v2] hwmon/tmp401: use smb word operations instead of 2 smb byte operations

2017-01-10 Thread Guenter Roeck
On Mon, Jan 09, 2017 at 06:55:00PM +0100, jeroen.de_wachter@nokia.com wrote: > From: Jeroen De Wachter > > tmp401 separately read/wrote high and low bytes of temperature values while > the hardware supports reading/writing those values in one operation. Driver > has been modified to use word

Re: x86-64: Maintain 16-byte stack alignment

2017-01-10 Thread Linus Torvalds
On Tue, Jan 10, 2017 at 6:39 AM, Herbert Xu wrote: > > BTW this is with Debian gcc 4.7.2 which does not allow an 8-byte > stack alignment as attempted by the Makefile: I'm pretty sure we have random asm code that may not maintain a 16-byte stack alignment when it calls other code (including, in s

Re: [PATCH] greybus: checkpatch: Change parameter type unsigned to unsigned int

2017-01-10 Thread roman . sommer
> Fair enough, but you are fixing all of these new "unsigned int" > warnings in that driver, right? > > How about fixing the sole remaining instance in the loopback driver so > that this is done for the whole subsystem once and for all? Thanks for the hint, I will do that.

Re: [tip:x86/urgent] x86/CPU: Add native CPUID variants returning a single datum

2017-01-10 Thread Borislav Petkov
On Tue, Jan 10, 2017 at 08:40:39AM -0800, h...@zytor.com wrote: > You are introducing a new API; makes more sense to do it right from > the start. The only reason not to have a subleaf for the non-native > variants is that they may decay into a function call so there is an > extra cost. The "do it

Re: x86-64: Maintain 16-byte stack alignment

2017-01-10 Thread Andy Lutomirski
On Tue, Jan 10, 2017 at 9:05 AM, Linus Torvalds wrote: > On Tue, Jan 10, 2017 at 6:39 AM, Herbert Xu > wrote: >> >> BTW this is with Debian gcc 4.7.2 which does not allow an 8-byte >> stack alignment as attempted by the Makefile: > > I'm pretty sure we have random asm code that may not maintain

Re: [PATCH] usb: dwc3-exynos fix unspecified suspend clk error handling

2017-01-10 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, January 10, 2017 09:28:52 AM Shuah Khan wrote: > On 01/10/2017 09:05 AM, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Tuesday, January 10, 2017 07:36:35 AM Shuah Khan wrote: > >> On 01/10/2017 07:16 AM, Shuah Khan wrote: > >>> On 01/10/2017 05:05 AM, Bartlomiej Zolnie

Re: [PATCH 2/2] tools: perf: fix build error in uapi/linux/mman.h

2017-01-10 Thread Sudeep Holla
On 10/01/17 14:43, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 10, 2017 at 10:22:50AM +, Sudeep Holla escreveu: >> All the other occurrence refer "uapi/asm-generic/*.h" directly instead >> of "uapi/asm/*.h" in tools/include except mman.h. Without this patch, >> the following build failure i

Re: [RFC] x86/mm/KASLR: Remap GDTs at fixed location

2017-01-10 Thread Thomas Garnier
On Tue, Jan 10, 2017 at 2:27 AM, Ingo Molnar wrote: > > * Thomas Garnier wrote: > >> Coming back on that after a bit more testing. The LTR instruction >> check if the busy bit is already set, if already set then it will just >> issue a #GP given a bad selector: >> >> [0.00] general protec

Re: [PATCH v4 0/9] arm64: Expose CPUID registers via emulation

2017-01-10 Thread Will Deacon
On Mon, Jan 09, 2017 at 05:28:23PM +, Suzuki K Poulose wrote: > This series adds a new ABI to expose the CPU feature registers > to the user space via emulation of MRS instruction. The system exposes > only a limited set of feature values (See the documentation patch) > from the cpufeature infr

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-10 Thread Dave Taht
In the case of wifi I have 3 issues with this line of thought. multicast in wifi has generally supposed to be unreliable. This makes it reliable. reliability comes at a cost - multicast is typically set at a fixed low rate today. unicast is retried at different rates until it succeeds - for every

Re: [PATCH v3 0/4] hwmon: adc128d818: Support missing operation modes

2017-01-10 Thread Guenter Roeck
On Fri, Jan 06, 2017 at 11:38:13AM +0100, Alexander Koch wrote: > The ADC128D818 offers four different chip operation modes which vary in the > number and measurement types of the available input signals (see datasheet > sec. 8.4.1). > > The current version of the driver only supports the default

Re: [PATCH] PCI: designware: fix asynchronous external abort in keystone PCIe h/w

2017-01-10 Thread Murali Karicheri
On 01/10/2017 10:12 AM, Bjorn Helgaas wrote: > Hi Murali, > > On Wed, Jan 04, 2017 at 02:32:30PM -0500, Murali Karicheri wrote: >> Recent fixes for iATU unroll support introduced a bug that causes >> asynchronous external abort in Keystone PCIe h/w which doesn't have >> ATU port and the correspond

Re: [PATCH v7 08/19] iommu: Implement reserved_regions iommu-group sysfs file

2017-01-10 Thread Joerg Roedel
On Tue, Jan 10, 2017 at 05:20:34PM +0100, Auger Eric wrote: > The /sys/kernel/iommu_groups/n directory seems to be removed before this > gets called and this may produce a WARNING when devices get removed from > the group. I intend to remove the call since I have the feeling > everything gets clean

Re: [PATCH 1/3] ARM: at91: flush the L2 cache before entering cpu idle

2017-01-10 Thread Alexandre Belloni
On 10/01/2017 at 17:50:58 +0100, Jean-Jacques Hiblot wrote : > 2017-01-10 17:18 GMT+01:00 Alexandre Belloni > : > > I though a bit more about it, and I don't really like the new compatible > > string. I don't feel this should be necessary. > > > > What about the following: > > > > diff --git a/arch

Re: [RFC] drm: Parse HDMI 2.0 YCbCr 4:2:0 VDB and VCB

2017-01-10 Thread Ville Syrjälä
On Tue, Jan 10, 2017 at 05:01:08PM +, Jose Abreu wrote: > Hi Ville, > > > [snip] > > >> Are you going to update all the userspace clients? Exposing HDMI 2.0 > >> modes only for your favorite client doesn't sound like a good plan to > >> me. > >> > >> If we simply compute from a specific mode

Re: [PATCH v2 2/2] media: rc: add driver for IR remote receiver on MT7623 SoC

2017-01-10 Thread Sean Young
Hi Sean, The driver is looking very good, we are looking at minor details now. On Tue, Jan 10, 2017 at 09:59:49PM +0800, Sean Wang wrote: > On Tue, 2017-01-10 at 11:09 +, Sean Young wrote: > > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include > > > +#include

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-10 Thread Felix Fietkau
On 2017-01-10 18:17, Dave Taht wrote: > In the case of wifi I have 3 issues with this line of thought. > > multicast in wifi has generally supposed to be unreliable. This makes > it reliable. reliability comes at a cost - > > multicast is typically set at a fixed low rate today. unicast is > retr

Re: [PATCH 0/9] Serial slave device bus

2017-01-10 Thread Rob Herring
On Sat, Jan 7, 2017 at 5:00 AM, Andy Shevchenko wrote: > On Fri, 2017-01-06 at 10:26 -0600, Rob Herring wrote: >> Here goes another attempt at a serial device bus (aka uart slaves, tty >> slaves, etc.). >> >> After some discussions with Dmitry at LPC, I decided to move away from >> extending serio

Re: [RFC 6/8] KVM: arm/arm64: Update the physical timer interrupt level

2017-01-10 Thread Jintack Lim
On Mon, Jan 9, 2017 at 7:14 AM, Christoffer Dall wrote: > On Mon, Dec 26, 2016 at 12:12:04PM -0500, Jintack Lim wrote: >> Now that we maintain the EL1 physical timer register states of the VM, >> update the physical timer interrupt level along with the virtual one. >> >> Note that the emulated EL1

Re: [PATCH 3/4] x86/unwind: include __schedule() in stack traces

2017-01-10 Thread Josh Poimboeuf
On Tue, Jan 10, 2017 at 11:14:51AM +0100, Miroslav Benes wrote: > On Mon, 9 Jan 2017, Josh Poimboeuf wrote: > > Signed-off-by: Josh Poimboeuf > > --- > > arch/x86/include/asm/stacktrace.h | 5 + > > arch/x86/include/asm/switch_to.h | 10 +- > > 2 files changed, 10 insertions(+), 5 d

Re: [PATCH 01/18] Drivers: hv: vmbus: Move the definition of hv_x64_msr_hypercall_contents

2017-01-10 Thread Greg KH
On Fri, Dec 30, 2016 at 01:35:55PM -0800, k...@exchange.microsoft.com wrote: > From: K. Y. Srinivasan > > As part of the effort to separate out architecture specific code, move the > definition of hv_x64_msr_hypercall_contents to x86 specific header file. > > Signed-off-by: K. Y. Srinivasan > -

Re: [PATCH 1/2] ARM: dts: imx6: Specify 'anatop-enable-bit' where appropriate

2017-01-10 Thread Fabio Estevam
On Tue, Jan 10, 2017 at 2:30 PM, Andrey Smirnov wrote: > ENABLE_LINREG bit is implemented by 3P0, 1P1 and 2P5 regulators on > i.MX6. This property is present in similar code in Fresscale BSP and > made its way upstream in imx6ul.dtsi, so this patch adds this property > to the rest of i.MX6 family

Re: x86-64: Maintain 16-byte stack alignment

2017-01-10 Thread Ard Biesheuvel
On 10 January 2017 at 14:33, Herbert Xu wrote: > I recently applied the patch > > https://patchwork.kernel.org/patch/9468391/ > > and ended up with a boot crash when it tried to run the x86 chacha20 > code. It turned out that the patch changed a manually aligned > stack buffer to one that

Re: [PATCH v8 3/3] console: Add persistent scrollback buffers for all VGA consoles

2017-01-10 Thread Manuel Schölling
Hi Bartlomiej, First of all thank you for you feedback! On Tue, 2017-01-10 at 17:44 +0100, Bartlomiej Zolnierkiewicz wrote: > On Tuesday, January 10, 2017 05:22:22 PM Bartlomiej Zolnierkiewicz > wrote: > > > > Hi, > > > > The patchset generally looks fine to me but I have a question > > regardi

Re: [PATCH 4.9 000/206] 4.9.3-stable review

2017-01-10 Thread Shuah Khan
On 01/10/2017 06:34 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.3 release. > There are 206 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses sh

Re: [PATCH 4.4 000/101] 4.4.42-stable review

2017-01-10 Thread Shuah Khan
On 01/10/2017 06:36 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.42 release. > There are 101 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

[PATCH v1 0/2] vpopcntdq support

2017-01-10 Thread Piotr Luc
Hi, This patchset adds the support for new CPUID feature bit that announces the vector population count instructions for dwords and qwords. The path 1/2 adds new feature flags and handles clearing the feature bit in case xsave is not enabled. The patch 2/2 enables passing the feature bit to a kv

[PATCH v1 1/2] x86/cpufeature: Add AVX512_VPOPCNTDQ feature

2017-01-10 Thread Piotr Luc
Vector population count instructions for dwords and qwords are to be used in future Intel Xeon & Xeon Phi processors. The bit 14 of CPUID[level:0x07, ECX] indicates that the new instructions are supported by a processor. The spec can be found in the Intel Software Developer Manual (SDM) or in the

Re: [PATCH v4 02/11] pwm: imx: remove ipg clock and enable per clock when required

2017-01-10 Thread Stefan Agner
On 2017-01-04 15:36, Lukasz Majewski wrote: > From: Boris Brezillon > > The use of the ipg clock was introduced with commit 7b27c160c681 > ("pwm: i.MX: fix clock lookup"). > In the commit message it was claimed that the ipg clock is enabled for > register accesses. This is true for the ->config()

[PATCH v1 2/2] kvm: x86: Expose Intel VPOPCNTDQ feature to guest

2017-01-10 Thread Piotr Luc
Vector population count instructions for dwords and qwords are to be used in future Intel Xeon & Xeon Phi processors. The bit 14 of CPUID[level:0x07, ECX] indicates that the new instructions are supported by a processor. The spec can be found in the Intel Software Developer Manual (SDM) or in the

Re: [RFC 8/8] KVM: arm/arm64: Emulate the EL1 phys timer register access

2017-01-10 Thread Jintack Lim
On Mon, Jan 9, 2017 at 7:16 AM, Christoffer Dall wrote: > On Mon, Dec 26, 2016 at 12:12:06PM -0500, Jintack Lim wrote: >> Emulate read and write operations to CNTP_TVAL, CNTP_CVAL and CNTP_CTL. >> Now the VM is able to use the EL1 physical timer. >> >> Signed-off-by: Jintack Lim >> --- >> arch/a

Re: [PATCH] ibmvscsis: Fix srp_transfer_data fail return code

2017-01-10 Thread Bart Van Assche
On Mon, 2017-01-09 at 10:21 -0600, Bryant G. Ly wrote: > From: "Bryant G. Ly" > > If srp_transfer_data fails within ibmvscsis_write_pending, then > the most likely scenario is that the client timed out the op and > removed the TCE mapping. Thus it will loop forever retrying the > op that is prett

Re: [PATCHv14 2/3] usb: USB Type-C connector class

2017-01-10 Thread Guenter Roeck
On Tue, Jan 10, 2017 at 04:46:12PM +0200, Heikki Krogerus wrote: > On Tue, Jan 10, 2017 at 05:50:04AM -0800, Guenter Roeck wrote: > > On 01/10/2017 12:54 AM, Heikki Krogerus wrote: > > > Hi Guenter, > > > > > > On Mon, Jan 09, 2017 at 08:59:32AM -0800, Guenter Roeck wrote: > > > > > +/** > > > > >

Re: net/atm: warning in alloc_tx/__might_sleep

2017-01-10 Thread Cong Wang
On Mon, Jan 9, 2017 at 9:20 AM, Andrey Konovalov wrote: > Hi! > > I've got the following error report while running the syzkaller fuzzer. > > On commit a121103c922847ba5010819a3f250f1f7fc84ab8 (4.10-rc3). > > A reproducer is attached. > > [ cut here ] > WARNING: CPU: 0 PID:

Re: [PATCH] agp: move AGPGART_MINOR to include/linux/miscdevice.h

2017-01-10 Thread Greg KH
On Thu, Dec 15, 2016 at 08:39:51PM +0100, Corentin Labbe wrote: > This patch move the define for AGPGART_MINOR to include/linux/miscdevice.h. > It is better that all minor number definitions are in the same place. > > Signed-off-by: Corentin Labbe > --- > include/linux/agpgart.h| 2 -- > inc

[PATCH v2 1/3] arm64: dts: exynos: Add missing unit name to Exynos7 SoC node

2017-01-10 Thread Javier Martinez Canillas
This patch fixes the following DTC warning about a mismatch between a device node reg property and its unit name: Node /soc has a reg or ranges property, but no unit name Signed-off-by: Javier Martinez Canillas --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH] misc: panel: move LCD_MINOR and KEYPAD_MINOR to include/linux/miscdevice.h

2017-01-10 Thread Greg KH
On Thu, Dec 15, 2016 at 08:43:52PM +0100, Corentin Labbe wrote: > This patch move the define for LCD_MINOR and KEYPAD_MINOR to > include/linux/miscdevice.h. > It's better that all minor number definitions are in the same place. > > Signed-off-by: Corentin Labbe > --- > drivers/misc/panel.c

Re: [PATCH] coresight: STM: Balance enable/disable

2017-01-10 Thread Mathieu Poirier
On Tue, Jan 10, 2017 at 11:21:55AM +, Suzuki K Poulose wrote: > The stm is automatically enabled when an application sets the policy > via ->link() call back by using coresight_enable(), which keeps the > refcount of the current users of the STM. However, the unlink() callback > issues stm_disa

ATENCIÓN

2017-01-10 Thread administrador
ATENCIÓN; Su buzón ha superado el límite de almacenamiento, que es de 5 GB definidos por el administrador, quien actualmente está ejecutando en 10.9GB, no puede ser capaz de enviar o recibir correo nuevo hasta que vuelva a validar su buzón de correo electrónico. Para revalidar su buzón de co

[PATCH v2 3/3] arm64: dts: exynos: Remove unneeded unit names in Exynos5433 nodes

2017-01-10 Thread Javier Martinez Canillas
The "samsung,exynos5433-mipi-video-phy" and "samsung,exynos5250-dwusb3" DT bindings don't specify a reg property for these nodes, so having a unit name leads to the following DTC warnings: Node /soc/video-phy@105c0710 has a unit name, but no reg property Node /soc/usb@1540 has a unit name, but

Re: [PATCH v1 0/2] vpopcntdq support

2017-01-10 Thread Paolo Bonzini
On 10/01/2017 18:34, Piotr Luc wrote: > Hi, > > This patchset adds the support for new CPUID feature bit that announces the > vector population count instructions for dwords and qwords. > > The path 1/2 adds new feature flags and handles clearing the feature bit in > case xsave is not enabled.

[PATCH v2 0/3] arm64: dts: exynos: Fix DTC warnings for Exynos boards

2017-01-10 Thread Javier Martinez Canillas
Hello Krzysztof, This trivial series contains fixes for DTC warnings caused by mismatches between unit names and reg properties in device tree nodes. The patches shouldn't cause a functional change but have been just build tested. I compared the generated DTB though to make sure that only these n

Re: [PATCH] net: add the AF_QIPCRTR entries to family name tables

2017-01-10 Thread Suman Anna
On 01/09/2017 09:48 PM, Suman Anna wrote: > Commit bdabad3e363d ("net: Add Qualcomm IPC router") introduced a > new address family. Update the family name tables accordingly so > that the lockdep initialization can use the proper names for this > family. > > Cc: Courtney Cavin Courtney's email b

[PATCH v2 2/3] arm64: dts: exynos: Add missing unit name to Exynos5433 SoC node

2017-01-10 Thread Javier Martinez Canillas
This patch fixes the following DTC warning about a mismatch between a device node reg property and its unit name: Node /soc has a reg or ranges property, but no unit name Signed-off-by: Javier Martinez Canillas --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 2 +- 1 file changed, 1 insertion(

Re: [PATCH] sbus: char: Move D7S_MINOR to include/linux/miscdevice.h

2017-01-10 Thread Greg KH
On Thu, Dec 15, 2016 at 08:47:03PM +0100, Corentin Labbe wrote: > This patch move the define for D7S_MINOR to include/linux/miscdevice.h. > It's better that all minor number are in the same place. > > Signed-off-by: Corentin Labbe > --- > drivers/sbus/char/display7seg.c | 1 - > include/linux/mi

Re: [BUG] Boot failure since df9bcc2bc on veyron_speedy

2017-01-10 Thread S. Gilles
On 2017-01-10T16:23:11+0900, Jaehoon Chung wrote: > Hi > > On 01/10/2017 04:20 PM, Ziyuan wrote: > > Hi, > > > > On 01/10/2017 09:04 AM, S. Gilles wrote: > >> On 2017-01-10T08:47:16+0800, Shawn Lin wrote: > >>> Hi > >>> > >>> On 2017/1/9 22:49, S. Gilles wrote: > On 2017-01-09T09:19:55-0500

Re: [PATCH 4.9 000/206] 4.9.3-stable review

2017-01-10 Thread Greg Kroah-Hartman
On Tue, Jan 10, 2017 at 10:33:04AM -0700, Shuah Khan wrote: > On 01/10/2017 06:34 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.3 release. > > There are 206 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: net/atm: warning in alloc_tx/__might_sleep

2017-01-10 Thread Eric Dumazet
On Tue, Jan 10, 2017 at 9:35 AM, Cong Wang wrote: > On Mon, Jan 9, 2017 at 9:20 AM, Andrey Konovalov > wrote: > > The fix should be straight-forward. Mind to try the attached patch? You forgot to remove schedule() ? schedule(); + wait_woken(&wait, TASK_INTERRUPTIBLE, MAX_SCHEDULE_TIMEOUT);

Re: [PATCH 4.9 003/116] rtlwifi: Fix enter/exit power_save

2017-01-10 Thread Dmitry Osipenko
Hello, this patch causes a kernel panic with the rtl8192cu driver. <6>[ 20.847025] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready <1>[ 21.699551] BUG: unable to handle kernel NULL pointer dereference at 0048 <1>[ 21.699626] IP: [] rtl_lps_leave+0x13/0x40 [rtlwifi] <4>[

[GIT PULL] Kselftest update for 4.10-rc4

2017-01-10 Thread Shuah Khan
Hi Linus, Please pull the Kselftest fixes for 4.10-rc4 This update consists of fixes to use shell instead of bash to run tests on embedded devices where the only shell available is the busybox ash. Also included is a typo fix to a test result message. diff attached. thanks, -- Shuah --

Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface

2017-01-10 Thread Benjamin Herrenschmidt
On Sat, 2017-01-07 at 09:15 -0800, Guenter Roeck wrote: > > Instead of the "online" attribute, what do you think about using the > > "bind"/"unbind" API to probe the device from user space once the system > > is powered on? All the hwmon registration would take place in the probe > > function, it w

Re: [PATCH v3 00/10] perf: arm64: Support for Hisilicon SoC Hardware event counters

2017-01-10 Thread Mark Rutland
Hi, On Mon, Jan 02, 2017 at 01:47:52AM -0500, Anurup M wrote: > ToDo: > 1) The counter overflow handling is currently unsupported in this >patch series. >From a quick scan of the patches, I see mention of an interrupt in a comment the driver, but there's noething in the DT binding. Is there

Re: [PATCH v3 02/10] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2017-01-10 Thread Mark Rutland
On Thu, Jan 05, 2017 at 10:28:54AM +0530, Anurup M wrote: > > > On Wednesday 04 January 2017 04:26 AM, Rob Herring wrote: > >On Mon, Jan 02, 2017 at 01:49:03AM -0500, Anurup M wrote: > >>From: Tan Xiaojun > >> > >>Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die > >> > >>Signed-of

Re: [Cocci] [PATCH] coccicheck: add a test for repeat copy_from_user

2017-01-10 Thread Vaishali Thakkar
On Tuesday 10 January 2017 02:32 PM, Pengfei Wang wrote: 在 2017年1月10日,下午4:40,Vaishali Thakkar 写道: On Tuesday 10 January 2017 01:51 PM, Pengfei Wang wrote: 在 2017年1月10日,上午1:05,Vaishali Thakkar 写道: On Tuesday 27 December 2016 11:51 PM, Julia Lawall wrote: I totally dropped the ball on thi

Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface

2017-01-10 Thread Benjamin Herrenschmidt
On Mon, 2017-01-09 at 10:22 +1030, Andrew Jeffery wrote: > Alternatively, in the style of your first para, we could push the > host > CPU state management into the kernel and expose a boot/reboot/power- > off  > API to userspace. That would give us a place to hook calls for > configuring and cleani

Re: [PATCH] selftests: x86/pkeys: fix spelling mistake: "itertation" -> "iteration"

2017-01-10 Thread Shuah Khan
On 12/27/2016 09:17 AM, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake > > Signed-off-by: Colin Ian King > --- > tools/testing/selftests/x86/protection_keys.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/x86/pro

[PATCH] power: supply: axp20x_usb_power: fix warning on 64bit

2017-01-10 Thread Michal Suchanek
Casting of_device_get_match_data return value to int causes warning on 64bit architectures. ../drivers/power/supply/axp20x_usb_power.c: In function 'axp20x_usb_power_probe': ../drivers/power/supply/axp20x_usb_power.c:297:21: warning: cast from pointer to integer of different size [-Wpointer-to-int

Re: ANNOUNCE: mdadm 4.0 - A tool for managing md Soft RAID under Linux

2017-01-10 Thread Bruce Dubbs
Jes Sorensen wrote: I am pleased to announce the availability of mdadm version 4.0 It is available at the usual places: http://www.kernel.org/pub/linux/utils/raid/mdadm/ and via git at git://git.kernel.org/pub/scm/utils/mdadm/mdadm.git http://git.kernel.org/cgit/utils/mdadm/ The

Re: [PATCH] usb: dwc3-exynos fix unspecified suspend clk error handling

2017-01-10 Thread vivek . gautam
On 2017-01-10 22:39, Bartlomiej Zolnierkiewicz wrote: Hi, On Tuesday, January 10, 2017 09:28:52 AM Shuah Khan wrote: On 01/10/2017 09:05 AM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Tuesday, January 10, 2017 07:36:35 AM Shuah Khan wrote: >> On 01/10/2017 07:16 AM, Shuah Khan wrote: >>> O

Re: [PATCH v2] drivers: char: mem: Fix thinkos in kmem address checks

2017-01-10 Thread Greg KH
On Thu, Jan 05, 2017 at 05:15:01PM +, Robin Murphy wrote: > When borrowing the pfn_valid() check from mmap_kmem(), somebody managed > to get physical and virtual addresses spectacularly muddled up, such > that we've ended up with checks for one being the other. Whilst this > does indeed prevent

Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface

2017-01-10 Thread Guenter Roeck
On Tue, Jan 10, 2017 at 11:41:44AM -0600, Benjamin Herrenschmidt wrote: > On Sat, 2017-01-07 at 09:15 -0800, Guenter Roeck wrote: > > > Instead of the "online" attribute, what do you think about using the > > > "bind"/"unbind" API to probe the device from user space once the system > > > is powered

Re: [PATCH V6 05/10] acpi: apei: handle SEA notification type for ARMv8

2017-01-10 Thread Baicar, Tyler
Hello James, On 1/6/2017 3:43 AM, James Morse wrote: On 05/01/17 22:31, Baicar, Tyler wrote: On 12/20/2016 8:29 AM, James Morse wrote: On 07/12/16 21:48, Tyler Baicar wrote: ARM APEI extension proposal added SEA (Synchrounous External Abort) notification type for ARMv8. Add a new GHES error

Re: [PATCH] usb: dwc3-exynos fix unspecified suspend clk error handling

2017-01-10 Thread Anand Moon
Hi Shuah, On 10 January 2017 at 21:58, Shuah Khan wrote: > On 01/10/2017 09:05 AM, Bartlomiej Zolnierkiewicz wrote: >> >> Hi, >> >> On Tuesday, January 10, 2017 07:36:35 AM Shuah Khan wrote: >>> On 01/10/2017 07:16 AM, Shuah Khan wrote: On 01/10/2017 05:05 AM, Bartlomiej Zolnierkiewicz wrote

Re: [PATCH v3 04/10] Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting.

2017-01-10 Thread Mark Rutland
On Mon, Jan 02, 2017 at 01:49:37AM -0500, Anurup M wrote: > +The Hisilicon SoC HiP05/06/07 chips consist of various independent system > +device PMU's such as L3 cache(L3C) and Miscellaneous Nodes(MN). > +These PMU devices are independent and have hardware logic to gather > +statistics and performa

[PATCH v6] x86: fix kaslr and memmap collision

2017-01-10 Thread Dave Jiang
CONFIG_RANDOMIZE_BASE relocates the kernel to a random base address. However it does not take into account the memmap= parameter passed in from the kernel cmdline. This results in the kernel sometimes being put in the middle of memmap. Teaching kaslr to not insert the kernel in memmap defined regio

Re: net/atm: warning in alloc_tx/__might_sleep

2017-01-10 Thread Cong Wang
On Tue, Jan 10, 2017 at 9:40 AM, Eric Dumazet wrote: > On Tue, Jan 10, 2017 at 9:35 AM, Cong Wang wrote: >> On Mon, Jan 9, 2017 at 9:20 AM, Andrey Konovalov >> wrote: >> >> The fix should be straight-forward. Mind to try the attached patch? > > > You forgot to remove schedule() ? > > schedule

Re: [PATCH net-next v2] net: dsa: make "label" property optional for dsa2

2017-01-10 Thread Florian Fainelli
On 01/10/2017 01:55 AM, Jiri Pirko wrote: > Mon, Jan 09, 2017 at 07:06:39PM CET, f.faine...@gmail.com wrote: >> On 01/09/2017 09:58 AM, Jiri Pirko wrote: >>> Mon, Jan 09, 2017 at 06:42:07PM CET, f.faine...@gmail.com wrote: On 01/09/2017 08:06 AM, Jiri Pirko wrote: > Mon, Jan 09, 2017 at 04

Re: [PATCH] usb: dwc3-exynos fix unspecified suspend clk error handling

2017-01-10 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, January 10, 2017 11:23:38 PM Anand Moon wrote: > Hi Shuah, > > On 10 January 2017 at 21:58, Shuah Khan wrote: > > On 01/10/2017 09:05 AM, Bartlomiej Zolnierkiewicz wrote: > >> > >> Hi, > >> > >> On Tuesday, January 10, 2017 07:36:35 AM Shuah Khan wrote: > >>> On 01/10/2017 07:16

Re: [PATCH v4 2/3] watchdog: introduce watchdog.open_timeout commandline parameter

2017-01-10 Thread Guenter Roeck
On Mon, Jan 09, 2017 at 04:02:32PM +0100, Rasmus Villemoes wrote: > The watchdog framework takes care of feeding a hardware watchdog until > userspace opens /dev/watchdogN. If that never happens for some reason > (buggy init script, corrupt root filesystem or whatnot) but the kernel > itself is fin

[PATCH] pwm: constify pwm_ops structures

2017-01-10 Thread Bhumika Goyal
Declare pwm_ops structures as const as they are only stored in the ops field of a pwm_chip structure. This field is of type const struct pwm_ops *, so pwm_ops structures having this property can be declared as const. Done using Coccinelle: @r1 disable optional_qualifier@ identifier i; position p;

Re: [PATCH] ovl: do not ignore disk quota if current task is not privileged

2017-01-10 Thread Amir Goldstein
On Tue, Jan 10, 2017 at 6:34 PM, Konstantin Khlebnikov wrote: > > On 10.01.2017 18:57, Miklos Szeredi wrote: >> >> On Tue, Jan 10, 2017 at 3:46 PM, Vivek Goyal wrote: >>> >>> On Tue, Jan 10, 2017 at 02:26:48PM +0300, Konstantin Khlebnikov wrote: If overlay was mounted by root then quota

RE: [char-misc for 4.10-rc4] mei: bus: enable OS version only for SPT and newer

2017-01-10 Thread Winkler, Tomas
> > On Mon, Jan 09, 2017 at 06:15:29PM +0200, Tomas Winkler wrote: > > From: Alexander Usyskin > > > > Sending OS version for support of TPM2_ChangeEPS() is required only > > for SPT FW (HMB version 2.0) and newer. > > On older platforms the command should be just ignored by the firmware > > but

Re: [PATCH 2/5] clk: sunxi-ng: add support for V3s CCU

2017-01-10 Thread Maxime Ripard
On Tue, Jan 03, 2017 at 11:16:26PM +0800, Icenowy Zheng wrote: > V3s has a similar but cut-down CCU to H3. > > Add support for it. > > Signed-off-by: Icenowy Zheng It looks like there's nothing different but the clocks that you register with the H3, please just use the H3 driver. Thanks! Maxim

Re: [PATCH 3/5] pinctrl: sunxi: add driver for V3s SoC

2017-01-10 Thread Maxime Ripard
On Tue, Jan 03, 2017 at 11:16:27PM +0800, Icenowy Zheng wrote: > V3s SoC features only a pin controller (for the lack of CPUs part). > > Add a driver for this controller. > > Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux

Re: [PATCH 4/5] ARM: dts: sunxi: add dtsi file for V3s SoC

2017-01-10 Thread Maxime Ripard
On Tue, Jan 03, 2017 at 11:16:28PM +0800, Icenowy Zheng wrote: > + uart0_pins_a: uart0@0 { > + pins = "PB8", "PB9"; > + function = "uart0"; > + bias-pull-up; Why do you need a pullup here? Look

Re: [PATCH] usb: dwc3-exynos fix unspecified suspend clk error handling

2017-01-10 Thread Krzysztof Kozlowski
On Tue, Jan 10, 2017 at 06:09:40PM +0100, Bartlomiej Zolnierkiewicz wrote: > BTW What is interesting is that the Exynos7 dts patch [2] has never > made it into upstream for some reason. In the meantime however > Exynos5433 (similar to Exynos7 to some degree) became the user of > susp_clk. > > [1]

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-10 Thread Dave Taht
On Tue, Jan 10, 2017 at 9:23 AM, Felix Fietkau wrote: > On 2017-01-10 18:17, Dave Taht wrote: >> In the case of wifi I have 3 issues with this line of thought. >> >> multicast in wifi has generally supposed to be unreliable. This makes >> it reliable. reliability comes at a cost - >> >> multicast

Re: [PATCH] usb: dwc3-exynos fix unspecified suspend clk error handling

2017-01-10 Thread Bartlomiej Zolnierkiewicz
On Tuesday, January 10, 2017 07:03:57 PM Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Tuesday, January 10, 2017 11:23:38 PM Anand Moon wrote: > > Hi Shuah, > > > > On 10 January 2017 at 21:58, Shuah Khan wrote: > > > On 01/10/2017 09:05 AM, Bartlomiej Zolnierkiewicz wrote: > > >> > > >> Hi,

Re: [PATCH 1/2] ARM: dts: imx6: Specify 'anatop-enable-bit' where appropriate

2017-01-10 Thread Andrey Smirnov
On Tue, Jan 10, 2017 at 9:28 AM, Fabio Estevam wrote: > On Tue, Jan 10, 2017 at 2:30 PM, Andrey Smirnov > wrote: >> ENABLE_LINREG bit is implemented by 3P0, 1P1 and 2P5 regulators on >> i.MX6. This property is present in similar code in Fresscale BSP and >> made its way upstream in imx6ul.dtsi, s

Re: [RFC] coccicheck: add a test for repeat memory fetches

2017-01-10 Thread Julia Lawall
> +./drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:2159 > +./drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:2257 > +./drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:2302 > +./drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:2342 > +./drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c:2365 > +./driv

Re: [PATCH] ovl: do not ignore disk quota if current task is not privileged

2017-01-10 Thread Konstantin Khlebnikov
On 10.01.2017 21:11, Amir Goldstein wrote: On Tue, Jan 10, 2017 at 6:34 PM, Konstantin Khlebnikov wrote: On 10.01.2017 18:57, Miklos Szeredi wrote: On Tue, Jan 10, 2017 at 3:46 PM, Vivek Goyal wrote: On Tue, Jan 10, 2017 at 02:26:48PM +0300, Konstantin Khlebnikov wrote: If overlay was m

[PATCH v2] ovl: drop CAP_SYS_RESOURCE from saved mounter's credentials

2017-01-10 Thread Konstantin Khlebnikov
If overlay was mounted by root then quota set for upper layer does not work because overlay now always use mounter's credentials for operations. Also overlay might deplete reserved space and inodes in ext4. This patch drops capability SYS_RESOURCE from saved credentials. This affects creation new

Re: [PATCH v4 2/2] dt-bindings: clk: add rockchip,grf property for RK3399

2017-01-10 Thread Doug Anderson
Hi, On Mon, Jan 9, 2017 at 10:15 PM, Xing Zheng wrote: > Add support for rockchip,grf property which is used for GRF muxes > on RK3399. > > Signed-off-by: Xing Zheng > --- > > Changes in v4: > - update the decription for rockchip,grf property > > Changes in v3: None > Changes in v2: None > > Do

Re: [PATCH 0/2] sched: Introduce rcuwait

2017-01-10 Thread Oleg Nesterov
On 01/09, Davidlohr Bueso wrote: > > Gents, any further thoughts on this? Both look correct to me, and I think this allows us to make more optimizations in percpu-rwsem.c. I am not sure about the naming... Yes, it relies on rcu but this is just implementation detail. But this is cosmetic and I c

Re: [PATCH] usb: dwc3-exynos fix unspecified suspend clk error handling

2017-01-10 Thread Anand Moon
Hi Bartlomiej, On 10 January 2017 at 23:33, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Tuesday, January 10, 2017 11:23:38 PM Anand Moon wrote: >> Hi Shuah, >> >> On 10 January 2017 at 21:58, Shuah Khan wrote: >> > On 01/10/2017 09:05 AM, Bartlomiej Zolnierkiewicz wrote: >> >> >> >> Hi, >> >

Re: [PATCH] usb: dwc3-exynos fix unspecified suspend clk error handling

2017-01-10 Thread Shuah Khan
On 01/10/2017 11:23 AM, Bartlomiej Zolnierkiewicz wrote: > On Tuesday, January 10, 2017 07:03:57 PM Bartlomiej Zolnierkiewicz wrote: >> >> Hi, >> >> On Tuesday, January 10, 2017 11:23:38 PM Anand Moon wrote: >>> Hi Shuah, >>> >>> On 10 January 2017 at 21:58, Shuah Khan wrote: On 01/10/2017 09

[PATCH] usb: isp1760: constify usb_gadget_ops structures

2017-01-10 Thread Bhumika Goyal
Declare usb_gadget_ops structures as const as they are only stored in the ops field of a usb_gadget structure. This field is of type const, so usb_gadget_ops structures having this property can be declared const too. Done using Coccinelle: @r1 disable optional_qualifier@ identifier i; position p;

Re: [PATCH 0/9] Serial slave device bus

2017-01-10 Thread Marcel Holtmann
Hi Rob, >>> Here goes another attempt at a serial device bus (aka uart slaves, tty >>> slaves, etc.). >>> >>> After some discussions with Dmitry at LPC, I decided to move away from >>> extending serio and moved back to making a new bus type instead. He >>> didn't >>> think using serio was a good

Re: [PATCH 0/7] perf tools: Add switch-output size and time threshold options

2017-01-10 Thread Jiri Olsa
On Tue, Jan 10, 2017 at 10:35:57AM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 03, 2017 at 05:51:46PM +0800, Wangnan (F) escreveu: > > On 2017/1/3 16:19, Jiri Olsa wrote: > > > Cc: Wang Nan > > > --- > > > > Good functions, and thank you for fixing documentations. > > > > You didn't cc

Re: [PATCH v2 0/3] arm64: dts: exynos: Fix DTC warnings for Exynos boards

2017-01-10 Thread Krzysztof Kozlowski
On Tue, Jan 10, 2017 at 02:38:29PM -0300, Javier Martinez Canillas wrote: > Hello Krzysztof, > > This trivial series contains fixes for DTC warnings caused by mismatches > between unit names and reg properties in device tree nodes. > > The patches shouldn't cause a functional change but have been

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