Re: [PATCH v1 2/2] arm: dts: mt2701: add nor flash node

2017-01-13 Thread Marek Vasut
On 01/13/2017 05:28 PM, Boris Brezillon wrote: > On Fri, 13 Jan 2017 17:13:55 +0100 > Marek Vasut wrote: > >> On 01/13/2017 04:12 PM, Matthias Brugger wrote: >>> >>> >>> On 13/01/17 15:17, Boris Brezillon wrote: On Fri, 13 Jan 2017 15:13:29 +0800 Guochun Mao

[PATCH 08/17] spi/ppc4xx: Use kcalloc() in spi_ppc4xx_of_probe()

2017-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 13 Jan 2017 14:30:43 +0100 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus reuse the corresponding function "kcalloc". This issue was

[PATCH 09/17] spi/ppc4xx: Combine substrings for a message in spi_ppc4xx_of_probe()

2017-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 13 Jan 2017 14:43:06 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines Thus fix the affected source code place. Signed-off-by: Markus Elfring

Re: [PATCH] regulator: anatop: Add support for "anatop-enable-bit"

2017-01-13 Thread Rob Herring
On Fri, Jan 13, 2017 at 11:07:42AM -0600, Rob Herring wrote: > On Tue, Jan 10, 2017 at 08:30:14AM -0800, Andrey Smirnov wrote: > > Add code to support support for "anatop-enable-bit" device-tree > > property. This property translates to LINREG_ENABLE bit in real hardware > > and is present on 1p1,

Contact me here ( edithako...@gmail.com )my private email .

2017-01-13 Thread test
Dearest, This might come to you as a surprise but what I'm about telling you is nothing but the reality about your fund which has been held for so long with the Central Bank of Nigeria. Do you know that all the money you have been sending to the officials for one certificate clearance or

Re: [PATCH 09/37] PCI: dwc: designware: Parse *num-lanes* property in dw_pcie_setup_rc

2017-01-13 Thread Joao Pinto
Hi, Às 10:25 AM de 1/12/2017, Kishon Vijay Abraham I escreveu: > *num-lanes* dt property is parsed in dw_pcie_host_init. However > *num-lanes* property is applicable to both root complex mode and > endpoint mode. As a first step, move the parsing of this property > outside dw_pcie_host_init. This

Re: [PATCH] Documentation: cpuset: Fix 'cpuset.tasks' -> 'tasks'

2017-01-13 Thread W. Trevor King
On Fri, Jan 13, 2017 at 10:27:42AM -0700, Jonathan Corbet wrote: > > -if a task's pid is written to another cpusets 'cpuset.tasks' file, then its > > +if a task's pid is written to another cpuset's 'tasks' file, then its > > So I'll confess that I don't understand this change. All of the >

Re: kvm: WARNING in x86_emulate_insn

2017-01-13 Thread Radim Krčmář
2017-01-12 14:55+0100, Dmitry Vyukov: > Hello, > > I've got the following WARNING in x86_emulate_insn while running > syzkaller fuzzer: > > WARNING: CPU: 2 PID: 18646 at arch/x86/kvm/emulate.c:5558 > x86_emulate_insn+0x16a5/0x4090 arch/x86/kvm/emulate.c:5572 > Modules linked in: > CPU: 2 PID:

Re: [patch 2/3] KVM: x86: add KVM_HC_CLOCK_OFFSET hypercall

2017-01-13 Thread Marcelo Tosatti
On Fri, Jan 13, 2017 at 06:07:40PM +0100, Radim Krcmar wrote: > 2017-01-13 13:43-0200, Marcelo Tosatti: > > On Fri, Jan 13, 2017 at 04:31:58PM +0100, Radim Krcmar wrote: > >> 2017-01-13 10:01-0200, Marcelo Tosatti: > >> > Add a hypercall to retrieve the host realtime clock > >> > and the TSC value

Re: [patch 1/3] KVM: x86: provide realtime host clock via vsyscall notifiers

2017-01-13 Thread Marcelo Tosatti
On Fri, Jan 13, 2017 at 05:28:09PM +0100, Radim Krcmar wrote: > 2017-01-13 13:34-0200, Marcelo Tosatti: > > On Fri, Jan 13, 2017 at 04:18:04PM +0100, Radim Krcmar wrote: > >> 2017-01-13 10:01-0200, Marcelo Tosatti: > >> > Expose the realtime host clock and save the TSC value > >> > used for the

Re: [PATCH] Documentation: cpuset: Fix 'cpuset.tasks' -> 'tasks'

2017-01-13 Thread Jonathan Corbet
On Fri, 13 Jan 2017 09:44:34 -0800 "W. Trevor King" wrote: > > So I'll confess that I don't understand this change. All of the > > control files are referred to as cpuset.whatever in this document; > > why should this one, in particular, be different? > > 'tasks' is part of

Re: [patch 3/3] PTP: add kvm PTP driver

2017-01-13 Thread Marcelo Tosatti
On Fri, Jan 13, 2017 at 04:56:58PM +0100, Radim Krcmar wrote: > 2017-01-13 10:01-0200, Marcelo Tosatti: > > Add a driver with gettime method returning hosts realtime clock. > > This allows Chrony to synchronize host and guest clocks with > > high precision (see results below). > > > > chronyc>

[PATCH] net: constify mdiobb_ops structures

2017-01-13 Thread Bhumika Goyal
Declare mdiobb_ops structures as const as they are only stored in the ops field of mdiobb_ctrl structures. This field is of type const, so mdiobb_ops structures having this property can be declared const too. Done using Coccinelle: @r disable optional_qualifier@ identifier x; position p; @@

Re: [PATCH v3] ARM: dts: Add LEGO MINDSTORMS EV3 dts

2017-01-13 Thread David Lechner
On 01/13/2017 06:04 AM, Sekhar Nori wrote: On Friday 13 January 2017 02:02 AM, David Lechner wrote: This adds a device tree definition file for LEGO MINDSTORMS EV3. ... There are couple of checkpatch errors that show up. The compatible "lego,ev3" needs to be documented in

Re: [PATCH 17/17] spi/topcliff-pch: One check less in pch_spi_set_tx()

2017-01-13 Thread Geert Uytterhoeven
Hi Markus, On Fri, Jan 13, 2017 at 6:28 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 13 Jan 2017 17:30:46 +0100 > > Delete a duplicate check after a bit of exception handling was moved into > a previous if branch

Re: [PATCH] flow disector: check if arp_eth is null rather than arp

2017-01-13 Thread Eric Dumazet
On Fri, 2017-01-13 at 18:25 +, Colin Ian King wrote: > On 13/01/17 18:24, Eric Dumazet wrote: > > It looks that we try very hard to add critical bugs in flow dissector. > > > > This is embarrassing really. > > > > I am questioning if the __skb_header_pointer() is correct > > > > Why using

[patch 3/3] PTP: add kvm PTP driver

2017-01-13 Thread Marcelo Tosatti
Add a driver with gettime method returning hosts realtime clock. This allows Chrony to synchronize host and guest clocks with high precision (see results below). chronyc> sources MS Name/IP address Stratum Poll Reach LastRx Last sample

Re: [PATCH 03/10] devicetree: bindings: add bindings for ahci-da850

2017-01-13 Thread David Lechner
On 01/13/2017 06:37 AM, Bartosz Golaszewski wrote: Add DT bindings for the TI DA850 AHCI SATA controller. Signed-off-by: Bartosz Golaszewski --- .../devicetree/bindings/ata/ahci-da850.txt | 21 + 1 file changed, 21 insertions(+) create

Re: [PATCH RFC] Input: cyapa: use time based retry loop

2017-01-13 Thread Nicholas Mc Guire
ed models seem to be common). > > > > Patch was compile tested with: x86_64_defconfig + CONFIG_MOUSE_CYAPA=m > > > > Patch is against 4.10-rc3 (localversion-next is next-20170113) > > > > drivers/input/mouse/cyapa_gen3.c | 27 --- > &g

Re: [PATCH 4.4 00/27] 4.4.43-stable review

2017-01-13 Thread Guenter Roeck
On Fri, Jan 13, 2017 at 12:38:17PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.43 release. > There are 27 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

[GIT PULL] VFIO fixes for v4.10-rc4

2017-01-13 Thread Alex Williamson
Hi Linus, The following changes since commit a121103c922847ba5010819a3f250f1f7fc84ab8: Linux 4.10-rc3 (2017-01-08 14:18:17 -0800) are available in the git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v4.10-rc4 for you to fetch changes up to

Re: [PATCH 4/4] ARM: dts: sun8i: add OTG function to Lichee Pi Zero

2017-01-13 Thread Bin Liu
On Thu, Jan 12, 2017 at 06:39:38PM +0100, Maxime Ripard wrote: > Hi Bin, > > On Thu, Jan 12, 2017 at 08:50:14AM -0600, Bin Liu wrote: > > On Wed, Jan 11, 2017 at 10:06:38PM +0100, Maxime Ripard wrote: > > > On Wed, Jan 11, 2017 at 02:08:11PM -0600, Bin Liu wrote: > > > > On Thu, Jan 12, 2017 at

Re: [PATCH v2 00/26] IB: Optimize DMA mapping

2017-01-13 Thread Sagi Grimberg
Hello Doug, As you know there are two sets of DMA mapping operations in the Linux kernel: - One set of DMA mapping operations that is used by most drivers. - Another set of DMA mapping operations that is only used by the RDMA drivers. Having two sets of DMA mapping operations is not only a

Re: [PATCH] Input: synaptics-rmi4 - make F03 a tristate symbol

2017-01-13 Thread Arnd Bergmann
On Fri, Jan 13, 2017 at 10:15 PM, Dmitry Torokhov wrote: > >>This is my fixup, though I'm not too happy with that version. >> >>Signed-off-by: Arnd Bergmann >> >>diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig >>index 1aeb80e52424..3927259a5d5d

[PATCH] tpm_tis: use default timeout value if chip reports it as zero

2017-01-13 Thread Maciej S. Szmigiero
Since commit 1107d065fdf1 ("tpm_tis: Introduce intermediate layer for TPM access") Atmel 3203 TPM on ThinkPad X61S (TPM firmware version 13.9) no longer works. The initialization proceeds fine until we get and start using chip-reported timeouts - and the chip reports C and D timeouts of zero. It

[GIT PULL] Btrfs fixes

2017-01-13 Thread Chris Mason
Hi Linus, Dave Sterba queued up a few fixes for btrfs. I have them in my for-linus-4.10 branch: These are all over the place. The tracepoint part of the pull fixes a crash and adds a little more information to two tracepoints, while the rest are good old fashioned fixes.

[PATCH] gcc-plugins: Add structleak for more stack initialization

2017-01-13 Thread Kees Cook
This plugin detects any structures that contain __user attributes and makes sure it is being fulling initialized so that a specific class of information exposure is eliminated. (For example, the exposure of siginfo in CVE-2013-2141 would have been blocked by this plugin.) Ported from

Re: [PATCH] perf script: Also allow forcing reading of non-root owned files by root

2017-01-13 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 13, 2017 at 01:25:27PM -0500, Yannick Brosseau escreveu: > In 2059fc7a5a9e6677, perf report was added the option of forcing reading > of non-root owned symbol file. > > This add the same behavior for perf script. looks ok, applied. - Arnaldo > Reported-by: Mark Drayton

[PATCH] tpm: add session handles to the save and restore of the tpm2 space manager

2017-01-13 Thread James Bottomley
Session handles are slightly more difficult to manage because any TPM only has a finite number of allowed handles, even if the session has been saved; so when you context save a session, you must not flush it because that would destroy the ability to context load it (you only flush sessions when

Re: [PATCH] docs: Make CodingStyle and SubmittingPatches symlinks

2017-01-13 Thread Jonathan Corbet
On Tue, 10 Jan 2017 14:09:51 -0800 Joe Perches wrote: > Make these files symlinks to the .rst equivalents So I am not necessarily opposed to doing this, but the changelog lacks one important thing: why do we need to make that change? Have the existing one-liner files been a

[PATCH v2 1/2] ARM: davinci: Allocate extra interrupts

2017-01-13 Thread David Lechner
This allocates extra interrupts for mach-davinci. These extra interrupts are need for things like IIO triggers. Signed-off-by: David Lechner --- arch/arm/mach-davinci/include/mach/irqs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [RFC, PATCHv2 29/29] mm, x86: introduce RLIMIT_VADDR

2017-01-13 Thread H.J. Lu
On Mon, Jan 2, 2017 at 12:35 AM, Kirill A. Shutemov wrote: > On Fri, Dec 30, 2016 at 06:08:27PM -0800, Andy Lutomirski wrote: >> On Wed, Dec 28, 2016 at 6:53 PM, Carlos O'Donell wrote: >> > On 12/26/2016 09:24 PM, Kirill A. Shutemov wrote: >> >> On Mon,

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-13 Thread Al Viro
On Fri, Jan 13, 2017 at 08:08:27PM +, Al Viro wrote: > Because it's "truncate to size", not "throw everything up to that point > out". > > We have some amount of data pushed into pipe (in this case - 0) and we > have some buffers allocated by ..._get_pages() past the end of it. > Some of

[PATCH v10 0/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-13 Thread Manuel Schölling
Changes in v10: - Fix compilation error if CONFIG_VGACON_SOFT_SCROLLBACK=n Changes in v9: - Make persistent scrollback feature a boot parameter Changes in v8: - Add Reviewed-by/Tested-By statements Changes in v7: - Add new callback to consw struct for flushing video console driver's

Re: [PATCH v2 00/26] IB: Optimize DMA mapping

2017-01-13 Thread Bart Van Assche
On Fri, 2017-01-13 at 18:27 +, Estrin, Alex wrote: > This series applied to 4.10-rc3 breaks hfi1 sdma engines. > [   34.712343] hfi1 :82:00.0: hfi1_0: SDMA (0) engine error: 0x21 > state s50_HwHaltWait > [   34.722752] hfi1 :82:00.0: hfi1_0: SDMA (0) descq_head: 0 > descq_tail: 3

Re: [PATCH] Input: synaptics-rmi4 - make F03 a tristate symbol

2017-01-13 Thread Arnd Bergmann
On Thursday, January 12, 2017 10:22:03 PM CET Dmitry Torokhov wrote: > As it was explained townthread we can't [currently] make functions > modules, in the meantime I have d7ddad0acc4add42567f7879b116a0b9eea31860 > that should fix this issue (and I just sent pull request for it). On today's

[PATCH][V2] pinctrl: ti-iodelay: remove redundant pin < 0 check on unsigned int

2017-01-13 Thread Colin King
From: Colin Ian King pin is an unsigned int and therefore can never be < 0 so this check is redundant. Remove the check and the associated dev_err error message. Fixes CoverityScan CID#1396438 ("Unsigned compared against 0") Signed-off-by: Colin Ian King

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-13 Thread Al Viro
On Fri, Jan 13, 2017 at 09:55:04PM +, Al Viro wrote: > On Fri, Jan 13, 2017 at 08:47:31PM +, Al Viro wrote: > > On Fri, Jan 13, 2017 at 12:32:37PM -0800, Linus Torvalds wrote: > > > > > Ugh. I still think your patch is butt-ugly, and the index comparisons > > > make me nervous, but.. > >

Re: [PATCH v2 00/26] IB: Optimize DMA mapping

2017-01-13 Thread Bart Van Assche
On Fri, 2017-01-13 at 21:08 +, Estrin, Alex wrote: > It didn't fix the failure... Apparently there is an issue with generic > mapping itself. Hello Alex, The generic mapping code in lib/dma-virt.c works fine with at least the rxe driver. Additionally, as far as I can see the mapping code in

Re: [PATCH 4.9 00/59] 4.9.4-stable review

2017-01-13 Thread Shuah Khan
On 01/13/2017 05:01 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.4 release. > There are 59 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

Re: [PATCH 0/4] fujitsu-laptop: acpi_fujitsu_hotkey_notify() cleanup

2017-01-13 Thread Darren Hart
On Wed, Jan 11, 2017 at 11:18:13PM +1030, Jonathan Woithe wrote: > On Wed, Jan 11, 2017 at 01:26:49PM +0100, Micha?? K??pie?? wrote: > > > On Wed, Jan 11, 2017 at 09:59:29AM +0100, Micha?? K??pie?? wrote: > > > > I am currently preparing a patch series which makes fujitsu-laptop use a > > > >

Re: [tpmdd-devel] [PATCH RFC v2 5/5] tpm2: expose resource manager via a device link /dev/tpms

2017-01-13 Thread James Bottomley
On Thu, 2017-01-12 at 11:39 -0700, Jason Gunthorpe wrote: > On Thu, Jan 12, 2017 at 07:46:08PM +0200, Jarkko Sakkinen wrote: > > > struct tpm_chip { > > - struct device dev; > > - struct cdev cdev; > > + struct device dev, devrm; > > Hum.. devrm adds a new kref but doesn't do anything

Re: [PATCH v18 00/15] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2017-01-13 Thread Mark Rutland
Hi, On Fri, Dec 09, 2016 at 01:33:04AM +0800, fu@linaro.org wrote: > From: Fu Wei > > This patchset: > (1)Preparation for adding GTDT support in arm_arch_timer: > 1. Move some enums and marcos to header file; > 2. Add a new enum for spi type; >

Re: [tpmdd-devel] [PATCH RFC v2 5/5] tpm2: expose resource manager via a device link /dev/tpms

2017-01-13 Thread Jason Gunthorpe
On Fri, Jan 13, 2017 at 11:20:47AM -0800, James Bottomley wrote: > On Thu, 2017-01-12 at 11:39 -0700, Jason Gunthorpe wrote: > > On Thu, Jan 12, 2017 at 07:46:08PM +0200, Jarkko Sakkinen wrote: > > > > > struct tpm_chip { > > > - struct device dev; > > > - struct cdev cdev; > > > + struct device

[PATCH RFC] Input: cyapa: use time based retry loop

2017-01-13 Thread Nicholas Mc Guire
Patch is against 4.10-rc3 (localversion-next is next-20170113) drivers/input/mouse/cyapa_gen3.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/drivers/input/mouse/cyapa_gen3.c b/drivers/input/mouse/cyapa_gen3.c index f9600753..0c544de 100644 --- a/drivers

Re: [PATCH v2 3/5] ARM: davinci_all_defconfig: enable iio and ADS7950

2017-01-13 Thread David Lechner
On 01/13/2017 06:24 AM, Sekhar Nori wrote: On Wednesday 11 January 2017 01:53 PM, Sekhar Nori wrote: I do remember I did not see these two modules did not get enabled in .config after 'make davinci_all_defconfig'. Will check what I may have missed. So IIO_TRIGGERED_BUFFER is not selected in

Re: [PATCH v4] ARM64: dts: meson-gx: Add reserved memory zone and usable memory range

2017-01-13 Thread Kevin Hilman
Neil Armstrong writes: > The Amlogic Meson GXBB/GXL/GXM secure monitor uses part of the memory space, > this patch adds this reserved zone and redefines the usable memory range. > > The memory node is also moved from the dtsi files into the proper dts files > to handle

Re: [tpmdd-devel] [PATCH RFC v2 5/5] tpm2: expose resource manager via a device link /dev/tpms

2017-01-13 Thread James Bottomley
On Fri, 2017-01-13 at 12:47 -0700, Jason Gunthorpe wrote: > On Fri, Jan 13, 2017 at 11:20:47AM -0800, James Bottomley wrote: > > On Thu, 2017-01-12 at 11:39 -0700, Jason Gunthorpe wrote: > > > On Thu, Jan 12, 2017 at 07:46:08PM +0200, Jarkko Sakkinen wrote: > > > > > > > struct tpm_chip { > > >

Re: [PATCH v3 2/4] dt-bindings: Add TI SCI PM Domains

2017-01-13 Thread Dave Gerlach
On 01/13/2017 01:25 PM, Rob Herring wrote: On Thu, Jan 12, 2017 at 9:27 AM, Dave Gerlach wrote: Rob, On 01/11/2017 03:34 PM, Rob Herring wrote: On Mon, Jan 9, 2017 at 11:57 AM, Dave Gerlach wrote: Rob, On 01/09/2017 11:50 AM, Rob Herring wrote: On

Re: [tpmdd-devel] [PATCH v8 2/2] tpm: add securityfs support for TPM 2.0 firmware event log

2017-01-13 Thread Stefan Berger
On 01/13/2017 01:09 PM, Stefan Berger wrote: On 01/11/2017 02:54 AM, Nayna Jain wrote: Unlike the device driver support for TPM 1.2, the TPM 2.0 does not support the securityfs pseudo files for displaying the firmware event log. This patch enables support for providing the TPM 2.0 event log in

Re: [PATCH 07/10] sata: ahci_da850: add support for the da850,clk_multiplier DT property

2017-01-13 Thread David Lechner
On 01/13/2017 06:38 AM, Bartosz Golaszewski wrote: Currently the clock multiplier is hardcoded in the driver for the da850-evm board. Make it configurable over DT, but keep the previous value as default in case the property is missing. Signed-off-by: Bartosz Golaszewski

[PATCH v2] Style fixes

2017-01-13 Thread Guillermo O. Freschi
Missing braces on `if` statement. Signed-off-by: Guillermo O. Freschi Reviewed-by: Andreas Dilger --- drivers/staging/lustre/lustre/ldlm/ldlm_lock.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH] staging: greybus: fix checkpatch unsigned warnings

2017-01-13 Thread Roman Sommer
Fix checkpatch warnings for parameter type unsigned in greybus. Note that this patch does not fix all checkpatch warnings for the affected files. Signed-off-by: Christian Bewermeyer Signed-off-by: Roman Sommer --- drivers/staging/greybus/gpio.c

RE: [PATCH v2 00/26] IB: Optimize DMA mapping

2017-01-13 Thread Estrin, Alex
> > Hello Alex, > > Sorry for this. Can you check whether the patch below fixes this regression? > > diff --git a/drivers/infiniband/sw/rdmavt/vt.c > b/drivers/infiniband/sw/rdmavt/vt.c > index 6a81b179f631..f7fcd015ec09 100644 > --- a/drivers/infiniband/sw/rdmavt/vt.c > +++

Re: [PATCH] Input: synaptics-rmi4 - make F03 a tristate symbol

2017-01-13 Thread Dmitry Torokhov
On January 13, 2017 1:06:12 PM PST, Arnd Bergmann wrote: >On Thursday, January 12, 2017 10:22:03 PM CET Dmitry Torokhov wrote: >> As it was explained townthread we can't [currently] make functions >> modules, in the meantime I have >d7ddad0acc4add42567f7879b116a0b9eea31860 >> that

Re: [PATCH] Input: synaptics-rmi4 - make F03 a tristate symbol

2017-01-13 Thread Arnd Bergmann
On Thursday, January 12, 2017 4:42:55 PM CET Andrew Duggan wrote: > On 01/11/2017 11:27 AM, Christopher Heiny wrote: > > On Wed, 2017-01-11 at 18:48 +0100, Benjamin Tissoires wrote: > > Actually, long, long ago (well before I got yanked off the RMI4 driver > > project for a 'short term emergency'

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-13 Thread Al Viro
On Fri, Jan 13, 2017 at 08:47:31PM +, Al Viro wrote: > On Fri, Jan 13, 2017 at 12:32:37PM -0800, Linus Torvalds wrote: > > > Ugh. I still think your patch is butt-ugly, and the index comparisons > > make me nervous, but.. > > No arguments here - 6am on 20-odd hours of uptime is _not_ a good

Re: [tpmdd-devel] [PATCH RFC v2 4/5] tpm: split out tpm-dev.c into tpm-dev.c and tpm-common-dev.c

2017-01-13 Thread James Bottomley
This version has a bug in that it doesn't do a clear_bit(0, ->is_open) on release. so fixed that James --- >From c006f181988dd2fd54e5a84f3e4a6dc0157c96f5 Mon Sep 17 00:00:00 2001 From: James Bottomley Date: Tue, 10 Jan 2017 19:08:53 -0800 Subject: [PATCH

Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable

2017-01-13 Thread Christoph Hellwig
On Fri, Jan 13, 2017 at 12:39:12PM -0500, J. Bruce Fields wrote: > If we're going to reject patches that don't implement get_parent (and I > think we should), then we should replace "optional but strongly > recommended" there by just "mandatory". Any objections? In theory yes - we'll just need

[PATCH v2 2/2] ARM: davinci_all_defconfig: enable iio

2017-01-13 Thread David Lechner
This enables the iio subsystem. This will be used by LEGO MINDSTORMS EV3, which has an ADS7957 chip. Signed-off-by: David Lechner --- arch/arm/configs/davinci_all_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/configs/davinci_all_defconfig

[PATCH v2 0/2] ARM: davinci_all_defconfig: enable iio

2017-01-13 Thread David Lechner
Following up on another conversation [1], this series includes a fixed up patch to enable the iio subsystem in davinci_all_defconfig. I have also included another patch to allocate extra interrupts that are needed for iio triggers (this patch was previously submitted, but received no comments).

[PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-13 Thread Manuel Schölling
Add a scrollback buffers for each VGA console. The benefit is that the scrollback history is not flushed when switching between consoles but is persistent. The buffers are allocated on demand when a new console is opened. This breaks tools like clear_console that rely on flushing the scrollback

[PATCH v10 4/4] console: Make persistent scrollback a boot parameter

2017-01-13 Thread Manuel Schölling
The impact of the persistent scrollback feature on the code size is rather small, so the config option is removed. The feature stays disabled by default and can be enabled by using the boot command line parameter 'vgacon.scrollback_persistent=1' or by setting

Re: livepatch/module: print notice of TAINT_LIVEPATCH

2017-01-13 Thread Jessica Yu
+++ Joe Lawrence [12/01/17 11:57 -0500]: Add back the "tainting kernel with TAINT_LIVEPATCH" kernel log message that commit 2992ef29ae01 ("livepatch/module: make TAINT_LIVEPATCH module-specific") dropped. Now that it's a module-specific taint flag, include the module name. Signed-off-by: Joe

Re: [PATCH v2 18/26] IB/isert: Inline ib_dma_map_*() functions

2017-01-13 Thread Sagi Grimberg
Acked-by: Sagi Grimberg

Re: [PATCH] Input: synaptics-rmi4 - make F03 a tristate symbol

2017-01-13 Thread Dmitry Torokhov
On Fri, Jan 13, 2017 at 10:34:32PM +0100, Arnd Bergmann wrote: > On Fri, Jan 13, 2017 at 10:15 PM, Dmitry Torokhov > wrote: > > > >>This is my fixup, though I'm not too happy with that version. > >> > >>Signed-off-by: Arnd Bergmann > >> > >>diff --git

Re: [PATCH 0/4] fujitsu-laptop: acpi_fujitsu_hotkey_notify() cleanup

2017-01-13 Thread Darren Hart
On Wed, Jan 11, 2017 at 11:18:13PM +1030, Jonathan Woithe wrote: > On Wed, Jan 11, 2017 at 01:26:49PM +0100, Micha?? K??pie?? wrote: > > > On Wed, Jan 11, 2017 at 09:59:29AM +0100, Micha?? K??pie?? wrote: > > > > I am currently preparing a patch series which makes fujitsu-laptop use a > > > >

Re: [RFC PATCH v2 04/10] arm64: head.S: Enable EL1 (host) access to SPE when entered at EL2

2017-01-13 Thread Marc Zyngier
On 13/01/17 16:03, Will Deacon wrote: > The SPE architecture requires each exception level to enable access > to the SPE controls for the exception level below it, since additional > context-switch logic may be required to handle the buffer safely. > > This patch allows EL1 (host) access to the

Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable

2017-01-13 Thread J. Bruce Fields
On Fri, Jan 13, 2017 at 07:57:06PM +, Al Viro wrote: > On Fri, Jan 13, 2017 at 02:03:57PM -0500, J. Bruce Fields wrote: > > On Fri, Jan 13, 2017 at 10:52:54AM -0800, Christoph Hellwig wrote: > > > On Fri, Jan 13, 2017 at 12:39:12PM -0500, J. Bruce Fields wrote: > > > > If we're going to reject

Re: [Xen-devel] [PATCH] xen: do not re-use pirq number cached in pci device msi msg data

2017-01-13 Thread Boris Ostrovsky
On 01/13/2017 01:44 PM, Stefano Stabellini wrote: > On Fri, 13 Jan 2017, Dan Streetman wrote: >> On Wed, Jan 11, 2017 at 6:25 PM, Dan Streetman wrote: >>> On Wed, Jan 11, 2017 at 1:46 PM, Stefano Stabellini >>> wrote: On Wed, 11 Jan 2017, Dan

Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter

2017-01-13 Thread Manuel Schölling
On Tue, 2017-01-10 at 23:58 +0100, Adam Borowski wrote: > On Tue, Jan 10, 2017 at 10:28:38PM +0100, Manuel Schölling wrote: > > The impact of the persistent scrollback feature on the code size is > > rather small, so the config option is removed. The feature stays > > disabled by default and can

Re: [PATCH] docs: Make CodingStyle and SubmittingPatches symlinks

2017-01-13 Thread Joe Perches
On Fri, 2017-01-13 at 12:41 -0700, Jonathan Corbet wrote: > On Tue, 10 Jan 2017 14:09:51 -0800 > Joe Perches wrote: > > > Make these files symlinks to the .rst equivalents > > So I am not necessarily opposed to doing this, but the changelog lacks > one important thing: why do

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-13 Thread Linus Torvalds
On Fri, Jan 13, 2017 at 11:33 AM, Linus Torvalds wrote: > This function looks so broken that I must be missing something. Why > doesn't pipe_advance() just look like the following: > > static void pipe_advance(struct iov_iter *i, size_t size) > { ... >

[PATCH v10 2/4] console: Add callback to flush scrollback buffer to consw struct

2017-01-13 Thread Manuel Schölling
This new callback is in preparation for persistent scrollback buffer support for VGA consoles. With a single scrollback buffer for all consoles, we could flush the buffer just by invocating consw->con_switch(). But when each VGA console has its own scrollback buffer, we need a new callback to tell

[PATCH v10 1/4] console: Move scrollback data into its own struct

2017-01-13 Thread Manuel Schölling
This refactoring is in preparation for persistent scrollback support for VGA console. Signed-off-by: Manuel Schölling Reviewed-by: Andrey Utkin Tested-by: Andrey Utkin Tested-by: Adam Borowski

Re: [PATCH v5 05/12] dt: bindings: Add bindings for Marvell Xenon SD Host Controller

2017-01-13 Thread Rob Herring
On Wed, Jan 11, 2017 at 06:19:08PM +0100, Gregory CLEMENT wrote: > From: Hu Ziji > > Marvell Xenon SDHC can support eMMC/SD/SDIO. > Add Xenon-specific properties. > Also add properties for Xenon PHY setting. > > Signed-off-by: Hu Ziji > Signed-off-by:

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-13 Thread Al Viro
On Fri, Jan 13, 2017 at 12:08:44PM -0800, Linus Torvalds wrote: > On Fri, Jan 13, 2017 at 11:33 AM, Linus Torvalds > wrote: > > This function looks so broken that I must be missing something. Why > > doesn't pipe_advance() just look like the following: > > > >

Re: [PATCH 4.9 00/59] 4.9.4-stable review

2017-01-13 Thread Guenter Roeck
On Fri, Jan 13, 2017 at 01:01:07PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.4 release. > There are 59 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.

Re: [PATCH] pinctrl: remove redundant pin < 0 check on unsigned int

2017-01-13 Thread Nishanth Menon
On 01/13/2017 07:20 AM, Colin King wrote: From: Colin Ian King pin is an unsigned int and therefore can never be < 0 so this check is redudant. Remove the check and the associated s/redudant/redundant/ dev_err error message. Fixes CoverityScan CID#1396438

Re: [PATCH] xen: do not re-use pirq number cached in pci device msi msg data

2017-01-13 Thread Stefano Stabellini
On Fri, 13 Jan 2017, Dan Streetman wrote: > Revert the main part of commit: > af42b8d12f8a ("xen: fix MSI setup and teardown for PV on HVM guests") > > That commit introduced reading the pci device's msi message data to see > if a pirq was previously configured for the device's msi/msix, and

Re: [PATCH v2 17/26] IB/iser: Inline ib_dma_map_*() functions

2017-01-13 Thread Sagi Grimberg
Acked-by: Sagi Grimberg

Re: [PATCH 4.4 00/27] 4.4.43-stable review

2017-01-13 Thread Shuah Khan
On 01/13/2017 04:38 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.43 release. > There are 27 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

Re: [PATCH v3 2/4] dt-bindings: Add TI SCI PM Domains

2017-01-13 Thread Rob Herring
On Thu, Jan 12, 2017 at 9:27 AM, Dave Gerlach wrote: > Rob, > > On 01/11/2017 03:34 PM, Rob Herring wrote: >> >> On Mon, Jan 9, 2017 at 11:57 AM, Dave Gerlach wrote: >>> >>> Rob, >>> >>> On 01/09/2017 11:50 AM, Rob Herring wrote: On Wed, Jan 04,

Re: [PATCH 1/3] perf sched timehist: Account thread wait time separately

2017-01-13 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 13, 2017 at 07:45:21PM +0900, Namhyung Kim escreveu: > Separate thread wait time into 3 parts - sleep, iowait and preempt > based on the prev_state of the last event. Thanks, looks good, tested and applied, - Arnaldo > Cc: David Ahern > Signed-off-by: Namhyung

Re: [PATCH 09/10] ARM: dts: da850: add the SATA node

2017-01-13 Thread David Lechner
On 01/13/2017 06:38 AM, Bartosz Golaszewski wrote: Add the SATA node to the da850 device tree. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-13 Thread Linus Torvalds
On Fri, Jan 13, 2017 at 12:11 PM, Al Viro wrote: > > PS: 'size' argument of iov_iter_advance() is the second "some" in the > above - we tell it how much we want to advance by and everything past > that point is, in case of PIPE_ITER, discarded. Ok. The naming threw me.

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-13 Thread Al Viro
On Fri, Jan 13, 2017 at 12:32:37PM -0800, Linus Torvalds wrote: > Ugh. I still think your patch is butt-ugly, and the index comparisons > make me nervous, but.. No arguments here - 6am on 20-odd hours of uptime is _not_ a good time for writing, especially since the data structure needs better

Re: [PATCHSET v6] blk-mq scheduling framework

2017-01-13 Thread Jens Axboe
On 01/13/2017 09:02 AM, Jens Axboe wrote: > Also, would be great if you could pull: > > git://git.kernel.dk/linux-block blk-mq-sched > > into current 'master' and see if it still reproduces. I expect that it > will, but just want to ensure that it's a problem in the current code > base as well.

Re: [PATCH] xen: do not re-use pirq number cached in pci device msi msg data

2017-01-13 Thread Boris Ostrovsky
On 01/13/2017 03:07 PM, Dan Streetman wrote: > Revert the main part of commit: > af42b8d12f8a ("xen: fix MSI setup and teardown for PV on HVM guests") > > That commit introduced reading the pci device's msi message data to see > if a pirq was previously configured for the device's msi/msix, and

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-13 Thread Linus Torvalds
On Fri, Jan 13, 2017 at 3:18 AM, Al Viro wrote: > > in case when pipe->nrbufs == pipe->buffers and idx == pipe->curbuf. IOW, > we have a full pipe and want to empty it entirely; the fun question is, > of course, telling that case from having nothing to free with the same

Re: irq domain hierarchy vs. chaining w/ PCI MSI-X...

2017-01-13 Thread David Daney
On 01/13/2017 10:45 AM, Marc Zyngier wrote: On 13/01/17 17:37, David Daney wrote: On 01/13/2017 08:15 AM, Marc Zyngier wrote: Thanks Linus for looping me in. On 12/01/17 22:35, David Daney wrote: Hi Thomas, I am trying to figure out how to handle this situation:

Re: [PATCH 3/6 linux-next] fs/affs: make affs exportable

2017-01-13 Thread Al Viro
On Fri, Jan 13, 2017 at 02:03:57PM -0500, J. Bruce Fields wrote: > On Fri, Jan 13, 2017 at 10:52:54AM -0800, Christoph Hellwig wrote: > > On Fri, Jan 13, 2017 at 12:39:12PM -0500, J. Bruce Fields wrote: > > > If we're going to reject patches that don't implement get_parent (and I > > > think we

Re: 4.9.0 regression in pipe-backed iov_iter with systemd-nspawn

2017-01-13 Thread Al Viro
On Fri, Jan 13, 2017 at 11:33:18AM -0800, Linus Torvalds wrote: > What am I missing? The fact that we want to free the _tail_, not the beginning of the damn thing. > Why is "pipe_advance()" written in that incomprehensible form? Why > don't we do the pipe_buf_release() as we advance through it,

Re: [PATCH RFC] Input: cyapa: use time based retry loop

2017-01-13 Thread Dmitry Torokhov
actoring of the timeout loop is desirable or not is not clear (both > time and count based models seem to be common). > > Patch was compile tested with: x86_64_defconfig + CONFIG_MOUSE_CYAPA=m > > Patch is against 4.10-rc3 (localversion-next is next-20170113) > > drivers/in

[PATCH] xen: do not re-use pirq number cached in pci device msi msg data

2017-01-13 Thread Dan Streetman
Revert the main part of commit: af42b8d12f8a ("xen: fix MSI setup and teardown for PV on HVM guests") That commit introduced reading the pci device's msi message data to see if a pirq was previously configured for the device's msi/msix, and re-use that pirq. At the time, that was the correct

Re: [Xen-devel] [PATCH] xen: do not re-use pirq number cached in pci device msi msg data

2017-01-13 Thread Dan Streetman
On Fri, Jan 13, 2017 at 3:00 PM, Boris Ostrovsky wrote: > On 01/13/2017 01:44 PM, Stefano Stabellini wrote: >> On Fri, 13 Jan 2017, Dan Streetman wrote: >>> On Wed, Jan 11, 2017 at 6:25 PM, Dan Streetman wrote: On Wed, Jan 11, 2017 at 1:46 PM,

Re: [tpmdd-devel] [PATCH RFC v2 5/5] tpm2: expose resource manager via a device link /dev/tpms

2017-01-13 Thread Jason Gunthorpe
On Fri, Jan 13, 2017 at 12:02:36PM -0800, James Bottomley wrote: > > > Actually, no, the devrm is a completely lifetime managed device as > > > part > > > of the chip structure. once you've done a device_del on it, it can > > > be > > > kfreed because it's no longer visible to anything else. > >

4.10-rc3, firmware loading via user space helper crashes if firmware not present

2017-01-13 Thread Jakub Kicinski
Hi! If one requests a FW which does not exist in the FS and the user space helper is used then fw_load_abort() will be called twice which leads to NULL-deref. It will be called once in firmware_loading_store() (handling the -1 case) and then again in _request_firmware_load() because return value

[PATCH] gcc-plugins: add PASS_INFO and build_const_char_string()

2017-01-13 Thread Kees Cook
This updates the GCC plugins gcc-common.h from PaX Team to include more helpers and header files, specifically adds the PASS_INFO() macro to make plugin declarations nicer and a helper for proper const string building. Signed-off-by: Kees Cook ---

[PATCH 00/17] SPI: Fine-tuning for several function implementations

2017-01-13 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 13 Jan 2017 17:50:23 +0100 Several update suggestions were taken into account from static source code analysis. Markus Elfring (17): Use kcalloc() in spi_register_board_info() Adjust checks for null pointers in two functions

  1   2   3   4   5   6   7   8   9   10   >