[PATCH] net: stmmac: clear reset value of snps,wr_osr_lmt/snps,rd_osr_lmt before writing

2016-12-05 Thread Niklas Cassel
From: Niklas Cassel WR_OSR_LMT and RD_OSR_LMT have a reset value of 1. Since the reset value wasn't cleared before writing, the value in the register would be incorrect if specifying an uneven value for snps,wr_osr_lmt/snps,rd_osr_lmt. Zero is a valid value for the properties, since the databook

Re: [PATCH] bitops: add equivalent of BIT(x) for bitfields

2016-12-05 Thread Linus Torvalds
On Mon, Dec 5, 2016 at 5:36 AM, Sebastian Frias wrote: > Introduce SETBITFIELD(msb, lsb, value) macro to ease dealing with > continuous bitfields, just as BIT(x) does for single bits. > > SETBITFIELD_ULL(msb, lsb, value) macro is also added. No. No, no, no. Didn't we have this discussion already

Re: [PATCH 11/18] arm64: ilp32: share aarch32 syscall handlers

2016-12-05 Thread Catalin Marinas
On Fri, Oct 21, 2016 at 11:33:10PM +0300, Yury Norov wrote: > off_t is passed in register pair just like in aarch32. > In this patch corresponding aarch32 handlers are shared to > ilp32 code. [...] > +/* > + * Note: off_4k (w5) is always in units of 4K. If we can't do the > + * requested offset be

Re: bio linked list corruption.

2016-12-05 Thread Vegard Nossum
On 5 December 2016 at 12:10, Vegard Nossum wrote: > On 5 December 2016 at 00:04, Vegard Nossum wrote: >> FWIW I hit this as well: >> >> BUG: unable to handle kernel paging request at 81ff08b7 >> IP: [] __lock_acquire.isra.32+0xda/0x1a30 >> CPU: 0 PID: 21744 Comm: trinity-c56 Tainted: G

Re: [PATCH] e820: use module_platform_driver

2016-12-05 Thread Dan Williams
On Mon, Dec 5, 2016 at 12:23 AM, Johannes Thumshirn wrote: > Use module_platform_driver for the e820 driver instead of open-coding it. > > Signed-off-by: Johannes Thumshirn Applied, thanks Johannes.

Re: [mm PATCH 0/3] Page fragment updates

2016-12-05 Thread Alexander Duyck
On Tue, Nov 29, 2016 at 10:23 AM, Alexander Duyck wrote: > This patch series takes care of a few cleanups for the page fragments API. > > First we do some renames so that things are much more consistent. First we > move the page_frag_ portion of the name to the front of the functions > names. Se

Re: Unkillable processes due to PTRACE_TRACEME again

2016-12-05 Thread Oleg Nesterov
On 12/05, Dmitry Vyukov wrote: > > On Mon, Dec 5, 2016 at 12:00 PM, Oleg Nesterov wrote: > > On 12/05, Oleg Nesterov wrote: > >> > >> On 12/02, Dmitry Vyukov wrote: > >> > > >> > I am not on 2caceb3294a78c389b462e7e236a4e744a53a474 (Dec 1). And see > >> > the same unwaitable zombie processes. > >>

[PATCH] Staging: comedi: kcomedilib: Add module_init/exit function

2016-12-05 Thread Cheah Kok Cheong
Add init/exit function to follow LKM semantics. Apparently this module can still load/unload without the init/exit function. Tested loading/unloading with and without this patch. Signed-off-by: Cheah Kok Cheong --- drivers/staging/comedi/kcomedilib/kcomedilib_main.c | 12 1 file ch

Re: [PATCH 3/5] MIPS: Only change $28 to thread_info if coming from user mode

2016-12-05 Thread Matt Redfearn
Hi Maciej, On 05/12/16 16:20, Maciej W. Rozycki wrote: On Fri, 2 Dec 2016, Matt Redfearn wrote: diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h index eebf39549606..5782fa3d63be 100644 --- a/arch/mips/include/asm/stackframe.h +++ b/arch/mips/include/asm/st

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

2016-12-05 Thread Stephen Hemminger
On Tue, 8 Nov 2016 14:04:38 -0800 Long Li wrote: > + spin_lock_irqsave(&hbus->retarget_msi_interrupt_lock, flags); > + > + params = &hbus->retarget_msi_interrupt_params; > + memset(params, 0, sizeof(*params)); > + params->partition_id = HV_PARTITION_ID_SELF; > + params->sourc

Re: [PATCH v3 10/30] perf clang: Add builtin clang support ant test case

2016-12-05 Thread Alexei Starovoitov
On Fri, Dec 02, 2016 at 01:44:40PM -0200, Arnaldo Carvalho de Melo wrote: > Em Sat, Nov 26, 2016 at 07:03:34AM +, Wang Nan escreveu: > > Add basic clang support in clang.cpp and test__clang() testcase. The > > first testcase checks if builtin clang is able to generate LLVM IR. > > > > tests/cl

Re: [PATCHv3] zram: restrict add/remove attributes to root only

2016-12-05 Thread Greg KH
On Tue, Dec 06, 2016 at 12:58:45AM +0900, Sergey Senozhatsky wrote: > zram hot_add sysfs attribute is a very 'special' attribute - reading > from it creates a new uninitialized zram device. This file, by a mistake, > can be read by a 'normal' user at the moment, while only root must be > able to cr

RE: [PATCH v5 2/3] mtd: nand: Add support for Arasan Nand Flash Controller

2016-12-05 Thread Punnaiah Choudary Kalluri
Hi Boris, > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@free-electrons.com] > Sent: Monday, December 05, 2016 2:31 PM > To: Punnaiah Choudary Kalluri > Cc: Florian Fainelli ; Kevin Hao > ; g...@denx.de; linux-kernel@vger.kernel.org; Andy > Shevchenko ; Punnaiah Chou

Re: [PATCH 1/1] net: bridge: set error code on failure

2016-12-05 Thread Stephen Hemminger
On Sat, 3 Dec 2016 19:33:23 +0800 Pan Bian wrote: > Function br_sysfs_addbr() does not set error code when the call > kobject_create_and_add() returns a NULL pointer. It may be better to > return "-ENOMEM" when kobject_create_and_add() fails. > > Bugzilla: https://bugzilla.kernel.org/show_bug.c

Re: [PATCH 16/18] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-12-05 Thread Catalin Marinas
On Fri, Oct 21, 2016 at 11:33:15PM +0300, Yury Norov wrote: > New aarch32 ptrace syscall handler is introduced to avoid run-time > detection of the task type. What's wrong with the run-time detection? If it's just to avoid a negligible overhead, I would rather keep the code simpler by avoiding dup

Re: [PATCH v6 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-12-05 Thread Mika Westerberg
On Mon, Dec 05, 2016 at 02:33:12PM +0100, Marek Vasut wrote: > On 12/05/2016 12:27 PM, Mika Westerberg wrote: > > On Mon, Nov 28, 2016 at 03:06:23PM +0300, Mika Westerberg wrote: > >> This is 6th iteration of the series. You can find the previous versions > >> archived on: > >> > >> v5: https://l

Re: [PATCH] pwm: pca9685: Fix misuse of regmap_update_bits

2016-12-05 Thread Clemens Gruber
On Tue, Nov 29, 2016 at 06:02:50PM +0100, Florian Vaussard wrote: > Using regmap_update_bits(..., mask, 1) with 'mask' following (1 << k) > and k greater than 0 is wrong. Indeed, _regmap_update_bits will perform > (mask & 1), which results in 0 if LSB of mask is 0. Thus the call > regmap_update_bit

Re: [PATCH 07/12] usb: sunxi: Uses the resource-managed extcon API when registering extcon notifier

2016-12-05 Thread Bin Liu
On Wed, Nov 30, 2016 at 09:45:03AM +0100, Maxime Ripard wrote: > On Wed, Nov 30, 2016 at 02:57:35PM +0900, Chanwoo Choi wrote: > > This patch just uses the resource-managed extcon API when registering > > the extcon notifier. > > > > Signed-off-by: Chanwoo Choi > > Acked-by: Maxime Ripard It w

Re: [PATCH 3/8] rtc: add STM32 RTC driver

2016-12-05 Thread Mathieu Poirier
On Mon, Dec 05, 2016 at 10:43:14AM +0100, Amelie DELAUNAY wrote: > Hi Mathieu, > > Thanks for reviewing > > On 12/02/2016 06:56 PM, Mathieu Poirier wrote: > > On Fri, Dec 02, 2016 at 03:09:56PM +0100, Amelie Delaunay wrote: > >> This patch adds support for the STM32 RTC. > > > > Hello Amelie, > >

Re: [PATCH v2 3/3] tpm_crb: request and relinquish locality 0

2016-12-05 Thread Jason Gunthorpe
On Sat, Dec 03, 2016 at 07:52:13PM +0200, Jarkko Sakkinen wrote: > + iowrite32(CRB_LOC_CTRL_RELINQUISH, &priv->regs_h->loc_ctrl); Since regs_h can be null shouldn't there be some guards ? Jason

[PATCH v2 net-next v2 3/4] net: dsa: mv88e6xxx: add a soft reset operation

2016-12-05 Thread Vivien Didelot
Marvell chips have different way to issue a software reset. Old chips (such as 88E6060) have a reset bit in an ATU control register. Newer chips moved this bit in a Global control register. Chips with controllable PPU should reset the PPU when resetting the switch. Add a new reset operation to i

[PATCH v2 net-next v2 1/4] net: dsa: mv88e6xxx: add helper to disable ports

2016-12-05 Thread Vivien Didelot
Before resetting a switch, the ports should be set to the Disabled state and the transmit queues should be drained. Add an helper to explicit that. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx/chip.c | 34 +++--- 1 file change

[PATCH v2 net-next v2 0/4] net: dsa: mv88e6xxx: rework reset and PPU code

2016-12-05 Thread Vivien Didelot
Old Marvell chips (like 88E6060) don't have a PHY Polling Unit (PPU). Next chips (like 88E6185) have a PPU, which has exclusive access to the PHY registers, thus must be disabled before access. Newer chips (like 88E6352) have an indirect mechanism to access the PHY registers whenever, thus loose

[PATCH V3 03/11] megaraid_sas: EEDP Escape Mode Support for SAS3.5 Generic Megaraid Controllers

2016-12-05 Thread Sasikumar Chandrasekaran
An UNMAP command on a PI formatted device will leave the Logical Block Application Tag and Logical Block Reference Tag as all F's (for those LBAs that are unmapped). To avoid IO errors if those LBAs are subsequently read before they are written with valid tag fields, the MPI SCSI IO requests nee

[PATCH V3 10/11] megaraid_sas: Implement the PD Map support for SAS3.5 Generic Megaraid Controllers

2016-12-05 Thread Sasikumar Chandrasekaran
Update Linux driver to use new pdTargetId field for JBOD target ID This patch is depending on patch 9 Signed-off-by: Sasikumar Chandrasekaran --- drivers/scsi/megaraid/megaraid_sas.h| 105 +--- drivers/scsi/megaraid/megaraid_sas_base.c | 3 + drivers/scsi/meg

Re: Adding a .platform_init callback to sdhci_arasan_ops

2016-12-05 Thread Doug Anderson
Hi, On Mon, Dec 5, 2016 at 4:29 AM, Sebastian Frias wrote: > Hi Doug, > > On 28/11/16 19:02, Doug Anderson wrote: >> Hi, >> >> On Mon, Nov 28, 2016 at 5:28 AM, Sebastian Frias wrote: >>> +static void sdhci_tango4_platform_init(struct sdhci_host *host) >>> +{ >>> + printk("%s\n", __func__);

Re: [PATCH v3] arm: dts: zynq: Add MicroZed board support

2016-12-05 Thread Jagan Teki
On Mon, Sep 26, 2016 at 8:22 AM, Michal Simek wrote: > On 23.9.2016 11:48, Jagan Teki wrote: >> From: Jagan Teki >> >> Added basic dts support for MicroZed board. >> >> - UART >> - SDHCI >> - Ethernet >> >> Cc: Soren Brinkmann >> Cc: Michal Simek >> Signed-off-by: Jagan Teki >> --- >> Changes

[PATCH V3 11/11] megaraid_sas: driver version upgrade

2016-12-05 Thread Sasikumar Chandrasekaran
Upgrade driver version. This patch is depending on patch 10 Signed-off-by: Sasikumar Chandrasekaran --- drivers/scsi/megaraid/megaraid_sas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas.h b/drivers/scsi/megaraid/megaraid_sas.h index

[PATCH V3 06/11] megaraid_sas: Dynamic Raid Map Changes for SAS3.5 Generic Megaraid Controllers

2016-12-05 Thread Sasikumar Chandrasekaran
SAS3.5 Generic Megaraid Controllers FW will support new dynamic RaidMap to have different sizes for different number of supported VDs. This patch is depending on patch 5 Signed-off-by: Sasikumar Chandrasekaran --- drivers/scsi/megaraid/megaraid_sas.h| 7 + drivers/scsi/megaraid/megar

[PATCH V3 09/11] megaraid_sas: ldio_outstanding variable is not decremented in completion path

2016-12-05 Thread Sasikumar Chandrasekaran
ldio outstanding variable needs to be decremented in io completion path for iMR dual queue depth This patch is depending on patch 8 Signed-off-by: Sasikumar Chandrasekaran --- drivers/scsi/megaraid/megaraid_sas_fusion.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[PATCH V3 08/11] megaraid_sas: Enable or Disable Fast path based on the PCI Threshold Bandwidth

2016-12-05 Thread Sasikumar Chandrasekaran
Large SEQ IO workload should sent as non fast path commands This patch is depending on patch 7 Signed-off-by: Sasikumar Chandrasekaran --- drivers/scsi/megaraid/megaraid_sas.h| 8 + drivers/scsi/megaraid/megaraid_sas_base.c | 48 + drivers/scsi/megarai

[PATCH V3 05/11] megaraid_sas: SAS3.5 Generic Megaraid Controllers Fast Path for RAID 1/10 Writes

2016-12-05 Thread Sasikumar Chandrasekaran
To improve RAID 1/10 Write performance, OS drivers need to issue the required Write IOs as Fast Path IOs (after the appropriate checks allowing Fast Path to be used) to the appropriate physical drives (translated from the OS logical IO) and wait for all Write IOs to complete. If any of the Writ

[PATCH V3 04/11] megaraid_sas: SAS3.5 Generic Megaraid Controllers Stream Detection and IO Coalescing

2016-12-05 Thread Sasikumar Chandrasekaran
Detect sequential IO streams and pass those IOs directly to FW. This patch is depending on patch 3 Signed-off-by: Sasikumar Chandrasekaran --- drivers/scsi/megaraid/megaraid_sas.h| 5 +- drivers/scsi/megaraid/megaraid_sas_base.c | 43 +++- drivers/scsi/megaraid/megaraid_sas_fp.

[PATCH V3 07/11] megaraid_sas: Add the Support for SAS3.5 Generic Megaraid Controllers Capabilities

2016-12-05 Thread Sasikumar Chandrasekaran
The Megaraid driver has to support the SAS3.5 Generic Megaraid Controllers Firmware functionality. This patch is depending on patch 6 Signed-off-by: Sasikumar Chandrasekaran --- drivers/scsi/megaraid/megaraid_sas_base.c | 53 ++--- drivers/scsi/megaraid/megaraid_sas_f

[PATCH V3 02/11] megaraid_sas: 128 MSIX Support

2016-12-05 Thread Sasikumar Chandrasekaran
SAS3.5 Generic Megaraid based Controllers will have the support for 128 MSI-X vectors, resulting in the need to support 128 reply queues This patch is depending on patch 1 Signed-off-by: Sasikumar Chandrasekaran --- drivers/scsi/megaraid/megaraid_sas.h| 1 + drivers/scsi/megaraid/mega

[PATCH V3 01/11] megaraid_sas: Add new pci device Ids for SAS3.5 Generic Megaraid Controllers

2016-12-05 Thread Sasikumar Chandrasekaran
This patch contains new pci device ids for SAS3.5 Generic Megaraid Controllers Signed-off-by: Sasikumar Chandrasekaran --- drivers/scsi/megaraid/megaraid_sas.h| 11 ++- drivers/scsi/megaraid/megaraid_sas_base.c | 20 ++- drivers/scsi/megaraid/megaraid_sas_fusion

[PATCH V3 00/11] megaraid_sas: Updates for scsi-next

2016-12-05 Thread Sasikumar Chandrasekaran
Sasikumar Chandrasekaran (11): megaraid_sas: Add new pci device Ids for SAS3.5 Generic Megaraid Controllers megaraid_sas: 128 MSIX Support megaraid_sas: EEDP Escape Mode Support for SAS3.5 Generic Megaraid Controllers megaraid_sas: SAS3.5 Generic Megaraid Controllers Stream Detecti

[PATCH v2 net-next v2 4/4] net: dsa: mv88e6xxx: add PPU operations

2016-12-05 Thread Vivien Didelot
Some Marvell chips can enable/disable the PPU on demand. This is needed to access the PHY registers when there is no indirection mechanism. Add two new ppu_enable and ppu_disable ops to describe this and finally get rid of the MV88E6XXX_FLAG_PPU* flags. Signed-off-by: Vivien Didelot --- drivers

[PATCH v2 net-next v2 2/4] net: dsa: mv88e6xxx: add helper to hardware reset

2016-12-05 Thread Vivien Didelot
Add an helper to toggle the eventual GPIO connected to the reset pin. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn --- drivers/net/dsa/mv88e6xxx/chip.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/driver

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2016-12-05 Thread J. Bruce Fields
On Mon, Dec 05, 2016 at 04:36:03PM +0100, Miklos Szeredi wrote: > On Mon, Dec 5, 2016 at 4:19 PM, J. Bruce Fields wrote: > >> Can NFS people comment on this? Where does the nfs4_acl come from? > > > > This is the interface the NFS client provides for applications to modify > > NFSv4 ACLs on serve

Re: [PATCH] vt: fix Scroll Lock LED trigger name

2016-12-05 Thread Samuel Thibault
Hello, Pavel Machek, on Mon 05 Dec 2016 14:47:43 +0100, wrote: > > There is a disagreement between drivers/tty/vt/keyboard.c and > > drivers/input/input-leds.c with regard to what is a Scroll Lock LED > > trigger name: input calls it "kbd-scrolllock", but vt calls it > > "kbd-scrollock" (two l's).

RE: [PATCH 1/1] net: usb: set error code when usb_alloc_urb fails

2016-12-05 Thread Woojung.Huh
> Signed-off-by: Pan Bian > --- > drivers/net/usb/lan78xx.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/usb/lan78xx.c b/drivers/net/usb/lan78xx.c > index db558b8..f33460c 100644 > --- a/drivers/net/usb/lan78xx.c > +++ b/drivers/net/usb/lan78xx.c > @@ -3395,6 +3395,7 @@ s

[PATCH] regulator: tps65086: Fix 25mV ranges for BUCK regulators 1, 2, and 6

2016-12-05 Thread Andrew F. Davis
These regualtors output 0v when vsel is 0. The datasheet will be updated to reflect this. Signed-off-by: Andrew F. Davis --- Hi Mark, This applies to fix/tps65086 on your regulator tree. It could probably be squashed in with the existing fix patch if you would like. Thanks, Andrew drivers/re

Re: [PATCH 3/5] MIPS: Only change $28 to thread_info if coming from user mode

2016-12-05 Thread Maciej W. Rozycki
On Fri, 2 Dec 2016, Matt Redfearn wrote: > diff --git a/arch/mips/include/asm/stackframe.h > b/arch/mips/include/asm/stackframe.h > index eebf39549606..5782fa3d63be 100644 > --- a/arch/mips/include/asm/stackframe.h > +++ b/arch/mips/include/asm/stackframe.h > @@ -216,12 +216,22 @@ >

Re: [PATCH 14/18] arm64: signal32: move ilp32 and aarch32 common code to separated file

2016-12-05 Thread Catalin Marinas
On Fri, Oct 21, 2016 at 11:33:13PM +0300, Yury Norov wrote: > Signed-off-by: Yury Norov Please add some description, even if it means copying the subject. > --- > arch/arm64/include/asm/signal32.h| 3 + > arch/arm64/include/asm/signal32_common.h | 27 +++ > arch/arm64/kernel/Make

Re: [PATCH] vfio/pci: Support error recovery

2016-12-05 Thread Alex Williamson
On Mon, 5 Dec 2016 13:52:03 +0800 Cao jin wrote: > On 12/04/2016 11:30 PM, Alex Williamson wrote: > > On Sun, 4 Dec 2016 20:16:42 +0800 > > Cao jin wrote: > > > >> On 12/01/2016 10:55 PM, Alex Williamson wrote: > >>> On Thu, 1 Dec 2016 21:40:00 +0800 > >> > > If an AER fault occur

Re: [PATCH] mm, vmscan: add cond_resched into shrink_node_memcg

2016-12-05 Thread Paul E. McKenney
On Mon, Dec 05, 2016 at 01:49:55PM +0100, Michal Hocko wrote: > [CC Paul - sorry I've tried to save you from more emails...] > > On Mon 05-12-16 23:44:27, Balbir Singh wrote: > > > > > > Hi, > > > there were multiple reportes of the similar RCU stalls. Only Boris has > > > confirmed that this patc

Re: [PATCH v6 1/2] mtd: arasan: Add device tree binding documentation

2016-12-05 Thread Marek Vasut
On 12/05/2016 09:36 AM, Boris Brezillon wrote: > On Mon, 5 Dec 2016 05:25:54 +0100 > Marek Vasut wrote: > >> On 12/05/2016 05:11 AM, Punnaiah Choudary Kalluri wrote: >>> This patch adds the dts binding document for arasan nand flash >>> controller. >>> >>> Signed-off-by: Punnaiah Choudary Kalluri

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-05 Thread David Graziano
On Mon, Dec 5, 2016 at 9:37 AM, Paul Moore wrote: > On Mon, Nov 28, 2016 at 3:04 PM, David Graziano > wrote: >> On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: >>> On Wed, Nov 9, 2016 at 11:25 AM, David Graziano >>> wrote: On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: > On Mon,

Re: Adding a .platform_init callback to sdhci_arasan_ops

2016-12-05 Thread Doug Anderson
Hi, On Mon, Dec 5, 2016 at 4:28 AM, Sebastian Frias wrote: > Hi Doug, > > On 28/11/16 18:46, Doug Anderson wrote: >> Hi, >> >> On Mon, Nov 28, 2016 at 6:39 AM, Sebastian Frias wrote: I will try to send another patch with what a different approach >>> >>> Here's a different approach (I

Re: [PATCH v2 3/6] net: stmmac: stmmac_platform: fix parsing of DT binding

2016-12-05 Thread Niklas Cassel
On 12/05/2016 10:10 AM, Niklas Cassel wrote: > From: Niklas Cassel > > commit 64c3b252e9fc ("net: stmmac: fixed the pbl setting with DT") > changed the parsing of the DT binding. > > Before 64c3b252e9fc, snps,fixed-burst and snps,mixed-burst were parsed > regardless if the property snps,pbl existe

Re: [PATCH v3 7/7] ARM: dts: stm32: add stm32 general purpose timer driver in DT

2016-12-05 Thread Alexandre Torgue
Hi, On 12/02/2016 02:22 PM, Lee Jones wrote: On Fri, 02 Dec 2016, Benjamin Gaignard wrote: Add general purpose timers and it sub-nodes into DT for stm32f4. Define and enable pwm1 and pwm3 for stm32f469 discovery board version 3: - use "st,stm32-timer-trigger" in DT version 2: - use parameter

Re: [PATCH v6 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-12-05 Thread Marek Vasut
On 12/05/2016 12:27 PM, Mika Westerberg wrote: > On Mon, Nov 28, 2016 at 03:06:23PM +0300, Mika Westerberg wrote: >> This is 6th iteration of the series. You can find the previous versions >> archived on: >> >> v5: https://lwn.net/Articles/706363/ >> v4: https://lwn.net/Articles/703773/ >> v3

RE: [PATCH 04/15] Drivers: hv: vmbus: Prevent sending data on a rescinded channel

2016-12-05 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Monday, December 5, 2016 2:01 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.

Re: [PATCH 1/4] KVM: x86: use delivery to self in hyperv synic

2016-12-05 Thread Radim Krčmář
2016-12-05 15:41+0100, David Hildenbrand: > Am 02.12.2016 um 20:43 schrieb Radim Krčmář: >> Interrupt to self can sent without knowing the APIC ID. > > can _be_ sent? Yes, thanks, I'll fix it in v2 or when applying your r-b.

Re: [PATCH 4/4] KVM: x86: allow hotplug of VCPU with APIC ID over 0xff

2016-12-05 Thread Radim Krčmář
2016-12-05 15:37+0100, David Hildenbrand: > Am 02.12.2016 um 20:44 schrieb Radim Krčmář: >> LAPIC after reset is in xAPIC mode, which poses a problem for hotplug of >> VCPUs with high APIC ID, because reset VCPU is waiting for INIT/SIPI, >> but there is no way to uniquely address it using xAPIC. >>

[PATCH v8 1/3] perf annotate: Show raw form for jump instruction with indirect target

2016-12-05 Thread Ravi Bangoria
For jump instructions that does not include target address as direct operand, show the original disassembled line for them. This is needed for certain powerpc jump instructions that use target address in a register (such as bctr, btar, ...). Before: ld r12,32088(r12) mtctr r12 v

[PATCHv3] zram: restrict add/remove attributes to root only

2016-12-05 Thread Sergey Senozhatsky
zram hot_add sysfs attribute is a very 'special' attribute - reading from it creates a new uninitialized zram device. This file, by a mistake, can be read by a 'normal' user at the moment, while only root must be able to create a new zram device, therefore hot_add attribute must have S_IRUSR mode,

[PATCH v8 2/3] perf annotate: Support jump instruction with target as second operand

2016-12-05 Thread Ravi Bangoria
Arch like powerpc has jump instructions that includes target address as second operand. For example, 'bne cr7,0xc00f6154'. Add support for such instruction in perf annotate. objdump o/p: c00f6140: ld r9,1032(r31) c00f6144: cmpdi cr7,r9,0 c00f6148:

[PATCH v8 3/3] perf annotate: Fix jump target outside of function address range

2016-12-05 Thread Ravi Bangoria
If jump target is outside of function range, perf is not handling it correctly. Especially when target address is lesser than function start address, target offset will be negative. But, target address declared to be unsigned, converts negative number into 2's complement. See below example. Here ta

Re: [PATCHv2] zram: restrict add/remove attributes to root only

2016-12-05 Thread Sergey Senozhatsky
On (12/05/16 13:57), Greg KH wrote: > > +/* > > + * NOTE: hot_add attribute is not the usual read-only sysfs > > + * attribute. In a sence that reading from this file does alter > > + * the state of your system -- it creates a new un-initialized > > + * zram device and returns back this device's de

Re: [PATCH] [media] usbtv: add a new usbid

2016-12-05 Thread Lubomir Rintel
On Mon, 2016-12-05 at 23:47 +0800, Icenowy Zheng wrote: > 2016年12月5日 19:49于 Lubomir Rintel 写道: > > > > On Sun, 2016-12-04 at 22:59 +0800, Icenowy Zheng wrote:  > > > > > > 04.12.2016, 22:00, "Icenowy Zheng" :  > > > > A new usbid of UTV007 is found in a newly bought device.  > > > > > > > > The

Re: [PATCH] Fixed to checkpatch.pl errors to vlan_dev.c

2016-12-05 Thread Stefan Schmidt
Hello. On 05/12/16 16:34, Ozgur Karatas wrote: Hello all, I will solve a checkpatch errors. Signed-off-by: Ozgur Karatas The patch itself looks good, but please have a read about having a good commit message. I would suggest reading Documentation/SubmittingPatches section 14: The canonica

Re: [PATCH 01/39] Annotate module params that specify hardware parameters (eg. ioport)

2016-12-05 Thread Greg KH
On Fri, Dec 02, 2016 at 02:59:22PM +, David Howells wrote: > Greg KH wrote: > > > > If root is able to modify the behaviour of verified code after it was > > > verified, then the value of that verification is reduced. Ensuring that > > > the code remains trustworthy is vital in a number of

[PATCH 2/2] Staging: dgnc: dgnc_neo.c: Use usleep_range over udelay to improve coalescing processor wakeups

2016-12-05 Thread Shiva Kerdel
In most cases, usleep_range is better than udelay, as the precise wakeup from udelay is unnecessary. usleep_range gives a much better chance of coalescing processor wakeups. Signed-off-by: Shiva Kerdel --- drivers/staging/dgnc/dgnc_neo.c | 10 +- 1 file changed, 5 insertions(+), 5 delet

[PATCH 1/2] Staging: dgnc: dgnc_cls.c: Use usleep_range over udelay to improve coalescing processor wakeups

2016-12-05 Thread Shiva Kerdel
In most cases, usleep_range is better than udelay, as the precise wakeup from udelay is unnecessary. usleep_range gives a much better chance of coalescing processor wakeups. Signed-off-by: Shiva Kerdel --- drivers/staging/dgnc/dgnc_cls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(

Re: [PATCH net-next] liquidio: 'imply' ptp instead of 'select'

2016-12-05 Thread Nicolas Pitre
On Sat, 3 Dec 2016, David Miller wrote: > From: Arnd Bergmann > Date: Sat, 3 Dec 2016 00:04:32 +0100 > > > ptp now depends on the optional POSIX_TIMERS setting and fails to build > > if we select it without that: > > > > warning: (LIQUIDIO_VF && TI_CPTS) selects PTP_1588_CLOCK which has unmet

Re: BTRFS kernel OOPS 4.8.11

2016-12-05 Thread Borislav Petkov
+ linux-btrfs On Mon, Dec 05, 2016 at 09:30:52AM -0600, Gerard Saraber wrote: > I have a NAS with a mix of 6, 4 and 3 TB drives: > > shrapnel zm # btrfs filesystem df /home/exports > Data, RAID1: total=19.59TiB, used=19.51TiB > System, RAID1: total=32.00MiB, used=2.75MiB > Metadata, RAID1: total=

RE: [PATCH V2 net-next] net: hns: Fix to conditionally convey RX checksum flag to stack

2016-12-05 Thread Salil Mehta
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Saturday, December 03, 2016 8:09 PM > To: Salil Mehta > Cc: Zhuangyuzeng (Yisen); mehta.salil@gmail.com; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm > Subject: Re: [PATCH V2 net-next] net

[PATCH v3 3/3] ARM: dts: vf610-zii-dev-rev-b: Remove 'fixed-link' from DSA ports

2016-12-05 Thread Andrey Smirnov
Remove 'fixed-link' nodes from DSA ports since they are not needed (they are not limiting link's speed and the ports will be configured to their maximux speed as a default) Suggested-by: Andrew Lunn Signed-off-by: Andrey Smirnov --- Changes since v2: - None arch/arm/boot/dts/vf610-z

RE: [PATCH V2 net-next] net: hns: Fix to conditionally convey RX checksum flag to stack

2016-12-05 Thread Salil Mehta
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Saturday, December 03, 2016 8:25 PM > To: Salil Mehta > Cc: Zhuangyuzeng (Yisen); mehta.salil@gmail.com; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm > Subject: Re: [PATCH V2 net-next] net

Re: [PATCH v2] xen/scsifront: don't request a slot on the ring until request is ready

2016-12-05 Thread Juergen Gross
On 05/12/16 16:32, Boris Ostrovsky wrote: > On 12/02/2016 01:15 AM, Juergen Gross wrote: >> >> -static struct vscsiif_request *scsifront_pre_req(struct vscsifrnt_info >> *info) >> +static int scsifront_do_request(struct vscsifrnt_info *info, >> +struct vscsifrnt_shado

[PATCH] Fixed to checkpatch.pl errors to vlan_dev.c

2016-12-05 Thread Ozgur Karatas
Hello all, I will solve a checkpatch errors. Signed-off-by: Ozgur Karatas --- net/8021q/vlan_dev.c | 2 +- diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index fbfacd5..2edb495 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c @@ -738,7 +738,

Re: [PATCH 0/2] Hibernate fixes for 'Fix memmap to be initialized for the entire section'

2016-12-05 Thread Ard Biesheuvel
On 2 December 2016 at 14:49, James Morse wrote: > Patch "arm64: mm: Fix memmap to be initialized for the entire section" > changes pfn_valid() in a way that breaks hibernate. These patches fix > hibernate, and provided struct page's are allocated for nomap pages, > can be applied before [0]. > > H

[PATCH V3 net-next] net: hns: Fix to conditionally convey RX checksum flag to stack

2016-12-05 Thread Salil Mehta
This patch introduces the RX checksum function to check the status of the hardware calculated checksum and its error and appropriately convey status to the upper stack in skb->ip_summed field. In hardware, we only support checksum for the following protocols: 1) IPv4, 2) TCP(over IPv4 or IPv6), 3)

Re: [PATCH 10/18] arm64: ilp32: introduce binfmt_ilp32.c

2016-12-05 Thread Catalin Marinas
On Fri, Oct 21, 2016 at 11:33:09PM +0300, Yury Norov wrote: > binfmt_ilp32.c is needed to handle ILP32 binaries > > Signed-off-by: Yury Norov > Signed-off-by: Bamvor Zhang Jian > --- > arch/arm64/include/asm/elf.h | 6 +++ > arch/arm64/kernel/Makefile | 1 + > arch/arm64/kernel/binf

RE: [PATCH linux-firmware 1/2] WHENCE: Add new amdgpu firmware

2016-12-05 Thread Deucher, Alexander
> -Original Message- > From: Ben Hutchings [mailto:b...@decadent.org.uk] > Sent: Friday, December 02, 2016 9:26 PM > To: linux-kernel@vger.kernel.org; linux-firmw...@kernel.org > Cc: Deucher, Alexander > Subject: [PATCH linux-firmware 1/2] WHENCE: Add new amdgpu firmware > > Missed in comm

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-12-05 Thread Paul Moore
On Mon, Nov 28, 2016 at 3:04 PM, David Graziano wrote: > On Wed, Nov 9, 2016 at 4:25 PM, Paul Moore wrote: >> On Wed, Nov 9, 2016 at 11:25 AM, David Graziano >> wrote: >>> On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: On Mon, Nov 7, 2016 at 3:46 PM, David Graziano wrote: > Th

Re: [PATCH 1/4] statx: Add a system call to make enhanced file info available [ver #3]

2016-12-05 Thread David Howells
Al Viro wrote: > > I understand wanting to avoid extra arguments, but you are asking for > > trouble with that sort of calling conventions. Verifying that all call > > chains have these fields initialized is bloody unpleasant and it *is* > > going to break, especially since the rules are "you ne

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2016-12-05 Thread Miklos Szeredi
On Mon, Dec 5, 2016 at 4:19 PM, J. Bruce Fields wrote: >> Can NFS people comment on this? Where does the nfs4_acl come from? > > This is the interface the NFS client provides for applications to modify > NFSv4 ACLs on servers that support them. Fine, but why are we seeing this xattr on exports w

Re: [PATCH] bitops: add equivalent of BIT(x) for bitfields

2016-12-05 Thread Borislav Petkov
On Mon, Dec 05, 2016 at 02:36:07PM +0100, Sebastian Frias wrote: > + * Equivalent of BIT(x) but for contiguous bitfields > + * SETBITFIELD(1, 0,0xff) = 0x0003 > + * SETBITFIELD(3, 0,0xff) = 0x000f > + * SETBITFIELD(15,8,0xff) = 0xff00 > + * SETBITFIELD(6, 6, 1) = 0x0040 == BIT(6)

Re: [PATCH v2] xen/scsifront: don't request a slot on the ring until request is ready

2016-12-05 Thread Boris Ostrovsky
On 12/02/2016 01:15 AM, Juergen Gross wrote: > > -static struct vscsiif_request *scsifront_pre_req(struct vscsifrnt_info *info) > +static int scsifront_do_request(struct vscsifrnt_info *info, > + struct vscsifrnt_shadow *shadow) > { > struct vscsiif_front_ring *

BTRFS kernel OOPS 4.8.11

2016-12-05 Thread Gerard Saraber
I have a NAS with a mix of 6, 4 and 3 TB drives: shrapnel zm # btrfs filesystem df /home/exports Data, RAID1: total=19.59TiB, used=19.51TiB System, RAID1: total=32.00MiB, used=2.75MiB Metadata, RAID1: total=76.00GiB, used=74.71GiB GlobalReserve, single: total=512.00MiB, used=0.00B shrapnel zm # bt

Re: [PATCH 4/4] rtc: mcp795: use bcd2bin/bin2bcd.

2016-12-05 Thread Alexandre Belloni
On 05/12/2016 at 14:11:53 +0100, Emil Bartczak wrote : > Change rtc-mcp795.c to use the bcd2bin/bin2bcd functions. > --- > drivers/rtc/rtc-mcp795.c | 28 +--- > 1 file changed, 13 insertions(+), 15 deletions(-) > > diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mc

Re: [PATCH v2 2/2] eeprom: Add IDT 89HPESx driver bindings file

2016-12-05 Thread Serge Semin
On Mon, Dec 05, 2016 at 08:46:21AM -0600, Rob Herring wrote: > On Tue, Nov 29, 2016 at 01:38:21AM +0300, Serge Semin wrote: > > See cover-letter for changelog > > > > Signed-off-by: Serge Semin > > > > --- > > .../devicetree/bindings/misc/idt_89hpesx.txt | 41 > > ++

Re: [PATCH 08/10] media: camss: Add files which handle the video device nodes

2016-12-05 Thread Laurent Pinchart
Hi Hans, On Monday 05 Dec 2016 16:02:55 Hans Verkuil wrote: > On 12/05/2016 03:45 PM, Laurent Pinchart wrote: > > On Monday 05 Dec 2016 14:44:55 Hans Verkuil wrote: > >> On 11/25/2016 03:57 PM, Todor Tomov wrote: > >>> These files handle the video device nodes of the camss driver. > >>> > >>> Sig

Re: [PATCH 3/4] rtc: mcp795: fix month write resetting date to 1.

2016-12-05 Thread Alexandre Belloni
On 05/12/2016 at 14:11:52 +0100, Emil Bartczak wrote : > According to Microchip errata some combinations of date and month > values may result in the date being reset to 1, even if the date > is also written with the month (for example 31-07 or 31-08). > As a workaround avoid writing date and month

Re: [PATCH] USB: cdc-acm: add device id for GW Instek AFG-125

2016-12-05 Thread Oliver Neukum
On Mon, 2016-12-05 at 06:53 -0800, Nathaniel Quillin wrote: > Add device-id entry for GW Instek AFG-125, which has a byte swapped > bInterfaceSubClass (0x20). > > Signed-off-by: Nathaniel Quillin Acked-by: Oliver Neukum

Re: [PATCH 08/10] media: camss: Add files which handle the video device nodes

2016-12-05 Thread Laurent Pinchart
Hi Todor, Thank you for the patch. On Friday 25 Nov 2016 16:57:20 Todor Tomov wrote: > These files handle the video device nodes of the camss driver. camss is a quite generic, I'm a bit concerned about claiming that acronym in the global kernel namespace. Would it be too long if we prefixed sym

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2016-12-05 Thread J. Bruce Fields
On Mon, Dec 05, 2016 at 10:28:18AM +0100, Miklos Szeredi wrote: > [Added a few more CCs] > > On Mon, Dec 5, 2016 at 1:51 AM, Patrick Plagwitz > wrote: > > Mounting an overlayfs with an NFSv4 lowerdir and an ext4 upperdir causes > > copy_up operations, specifically the function copy_up.c:ovl_copy

Re: scsi: use-after-free in bio_copy_from_iter

2016-12-05 Thread Johannes Thumshirn
On Mon, Dec 05, 2016 at 03:31:43PM +0100, Dmitry Vyukov wrote: > On Sat, Dec 3, 2016 at 7:19 PM, Johannes Thumshirn wrote: > > On Sat, Dec 03, 2016 at 04:22:39PM +0100, Dmitry Vyukov wrote: > >> On Sat, Dec 3, 2016 at 11:38 AM, Johannes Thumshirn > >> wrote: > >> > On Fri, Dec 02, 2016 at 05:50:

[PATCH] platform: Introduce button support for the Surface 3

2016-12-05 Thread Benjamin Tissoires
The Surface 3 is not following the ACPI spec for PNP0C40, but nearly. The device is connected to a I2C device that might have some magic but we don't know about. Just create the device after the enumeration and use the declared GPIOs to provide button support. This driver is just an adaptation of

Re: [PATCH 09/18] arm64: introduce binfmt_elf32.c

2016-12-05 Thread Catalin Marinas
On Fri, Oct 21, 2016 at 11:33:08PM +0300, Yury Norov wrote: > As we support more than one compat formats, it looks more reasonable > to not use fs/compat_binfmt.c. Custom binfmt_elf32.c allows to move aarch32 > specific definitions there and make code more maintainable and readable. Can you remind

Re: [PATCH 1/4] rtc: mcp795: fix invalid month setting.

2016-12-05 Thread Alexandre Belloni
Hi, On 05/12/2016 at 14:11:50 +0100, Emil Bartczak wrote : > The 10 month register was always set to value 0 in the RTC hardware. > Due to the bug month November or December became February. All your patches are missing your SoB, see Developer's Certificate of Origin 1.1 in Documentation/Submitti

Re: [PATCH 08/10] media: camss: Add files which handle the video device nodes

2016-12-05 Thread Hans Verkuil
On 12/05/2016 03:45 PM, Laurent Pinchart wrote: > Hello, > > On Monday 05 Dec 2016 14:44:55 Hans Verkuil wrote: >> On 11/25/2016 03:57 PM, Todor Tomov wrote: >>> These files handle the video device nodes of the camss driver. >>> >>> Signed-off-by: Todor Tomov >>> --- >>> >>> drivers/media/platfo

[PATCH v2.4 2/3] watchdog: loongson1: Add Loongson1 SoC watchdog driver

2016-12-05 Thread Yang Ling
Add watchdog timer specific driver for Loongson1 SoC. Signed-off-by: Yang Ling --- V2.4: Set DEFAULT_HEARTBEAT to 0. V2.3: Set DEFAULT_HEARTBEAT value to ls1x_wdt->timeout. V2.2: Remove the wide character. Check the return value for clk_get_rate(). V2.1 from Kelvin Cheung: Use max_hw_h

usb/gadget: warning in dummy_free_request

2016-12-05 Thread Andrey Konovalov
Hi! I've got the following error report while running the syzkaller fuzzer. On commit 3c49de52d5647cda8b42c4255cf8a29d1e22eff5 (Dec 2). WARNING: CPU: 0 PID: 5257 at drivers/usb/gadget/udc/dummy_hcd.c:672 dummy_free_request+0x153/0x170 Kernel panic - not syncing: panic_on_warn set ... usb 2-1: s

Re: [PATCH] block: fix unintended fallthrough in generic_make_request_checks()

2016-12-05 Thread Jens Axboe
On 12/04/2016 06:56 AM, Nicolai Stange wrote: > Since commit e73c23ff736e ("block: add async variant of > blkdev_issue_zeroout") messages like the following show up: > > EXT4-fs (dm-1): Delayed block allocation failed for inode 2368848 at > logical offset 0 with max blocks 1 wi

Re: [PATCH 0/2] Device links documentation

2016-12-05 Thread Lukas Wunner
On Mon, Dec 05, 2016 at 06:08:16AM -0800, Christoph Hellwig wrote: > [crazy CC list dropped] > > Can someone explain who the hell I ended up the on this stupid > Cc long list for a reply to a mail I can't see either in my > inbox or lkml folder? You were cc'ed on this series but the messages boun

[PATCH] USB: cdc-acm: add device id for GW Instek AFG-125

2016-12-05 Thread Nathaniel Quillin
Add device-id entry for GW Instek AFG-125, which has a byte swapped bInterfaceSubClass (0x20). Signed-off-by: Nathaniel Quillin --- drivers/usb/class/cdc-acm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index fada988..c5ff13f 100

<    1   2   3   4   5   6   7   8   9   >