Re: [PATCH] pinctrl: meson-axg: adjust uart_ao_b pin group naming

2018-01-19 Thread Kevin Hilman
Yixun Lan writes: > Simply adjust the pin group to _x _y _z style, as to > keep the consistency in DT with previous naming scheme. > > Fixes: 83c566806a68 ("pinctrl: meson-axg: Add new pinctrl driver for Meson > AXG SoC") > Signed-off-by: Yixun Lan Reviewed-by: Kevin Hilman Thanks for cleani

Re: [PATCH v2] ARC: Force disable IOC if we don't want to use it

2018-01-19 Thread Vineet Gupta
On 12/18/2017 07:29 AM, Alexey Brodkin wrote: If software that was executed before Linux kernel [like boot-ROM or bootloader] enabled IOC but we'd like to not use it [mostly for debugging of weird DMA issues] we essentially need to disable IOC. So we do here. Note we will only disable IOC if "io

[PATCH] c6x: fix platforms/plldata.c get_coreid build error

2018-01-19 Thread Randy Dunlap
From: Randy Dunlap Fix build error reported by the 0day bot by including the header file for that macro. Fixes this build error: (should fix; not tested) arch/c6x/platforms/plldata.c: In function 'c6472_setup_clocks': arch/c6x/platforms/plldata.c:279:33: error: implicit declaration of function

Re: [PATCH v4 2/8] dt-bindings: pci: Add DT docs for Brcmstb PCIe device

2018-01-19 Thread Rob Herring
On Mon, Jan 15, 2018 at 06:28:39PM -0500, Jim Quinlan wrote: > The DT bindings description of the Brcmstb PCIe device is described. This > node can be used by almost all Broadcom settop box chips, using > ARM, ARM64, or MIPS CPU architectures. > > Signed-off-by: Jim Quinlan > --- > .../devicetr

Re: [PATCH v5 0/3] livepatch: introduce atomic replace

2018-01-19 Thread Evgenii Shatokhin
On 12.01.2018 22:55, Jason Baron wrote: Hi, While using livepatch, I found that when doing cumulative patches, if a patched function is completed reverted by a subsequent patch (back to its original state) livepatch does not revert the funtion to its original state. Specifically, if patch A

Re: [PATCH v3 1/8] dt-bindings: mips: Add bindings for Microsemi SoCs

2018-01-19 Thread Rob Herring
On Tue, Jan 16, 2018 at 11:12:33AM +0100, Alexandre Belloni wrote: > Add bindings for Microsemi SoCs. Currently only Ocelot is supported. > > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > Signed-off-by: Alexandre Belloni > --- > Documentation/devicetree/bindings/mips/mscc.txt | 44 > +

Re: [PATCH v2] ARC: Force disable IOC if we don't want to use it

2018-01-19 Thread Alexey Brodkin
Hi Vineet, On Fri, 2018-01-19 at 11:17 -0800, Vineet Gupta wrote: > On 12/18/2017 07:29 AM, Alexey Brodkin wrote: > > If software that was executed before Linux kernel [like boot-ROM or > > bootloader] enabled IOC but we'd like to not use it [mostly for > > debugging of weird DMA issues] we essent

Possible Memory Leak in KCOV Linux 4.15-rc1

2018-01-19 Thread Shankara Pailoor
Hi Dmitry, I added support for kcov in strace and I have been tracing a fairly large program but after a little while, I notice that when I mmap a new cover buffer, the call fails with ENOMEM. After killing the program, I try and rerun and I notice that there is nearly no memory on the system. Whe

Re: [PATCH] arc: fix iounmap prototype

2018-01-19 Thread Vineet Gupta
On 01/02/2018 06:23 AM, Geert Uytterhoeven wrote: Hi Arnd, On Tue, Jan 2, 2018 at 12:01 PM, Arnd Bergmann wrote: The missing 'volatile' keyword on the iounmap argument leads to lots of harmless warnings in an allmodconfig build: sound/pci/echoaudio/echoaudio.c:1879:10: warning: passing argume

Re: [PATCH][next] mlxsw: spectrum: make function mlxsw_sp_kvdl_part_occ static

2018-01-19 Thread David Miller
From: Colin King Date: Wed, 17 Jan 2018 10:57:46 + > From: Colin Ian King > > The function mlxsw_sp_kvdl_part_occ is local to the source and does > not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'mlxsw_sp_kvdl_part_occ' was not declared. Should i

Re: [PATCH][devlink-next] devlink: make functions a couple of new functions static

2018-01-19 Thread David Miller
From: Colin King Date: Wed, 17 Jan 2018 11:23:03 + > From: Colin Ian King > > The functions devlink_resource_find and devlink_resource_validate_children > are local to the source and do not need to be in global scope, so make > them static. > > Cleans up sparse warnings: > symbol 'devlink_

[PATCH] IRQ-Renesas: Delete an error message for a failed memory allocation in two functions

2018-01-19 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 19 Jan 2018 20:32:04 +0100 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/irqchip/irq-renesas-intc-irqpin.c | 4 +--- drivers/irqchip/

[PATCH 3/7] Input: libps2 - use BIT() for bitmask constants

2018-01-19 Thread Dmitry Torokhov
Let's explicitly document bit numbers with BIT() macro. Signed-off-by: Dmitry Torokhov --- include/linux/libps2.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/linux/libps2.h b/include/linux/libps2.h index 365c50b097ded..649295a5ff47d 100644 --- a/include

[PATCH 4/7] Input: psmouse - move sliced command implementation to libps2

2018-01-19 Thread Dmitry Torokhov
In preparation to adding some debugging statements to PS/2 control sequences let's move psmouse_sliced_command() into libps2 and rename it to ps2_sliced_command(). Signed-off-by: Dmitry Torokhov --- drivers/input/mouse/elantech.c | 12 ++-- drivers/input/mouse/logips2pp.c| 2 +-

[PATCH 1/7] Input: libps2 - fix switch statement formatting

2018-01-19 Thread Dmitry Torokhov
Individual labels of switch statements should have the same indentation level as the switch statement itself. Signed-off-by: Dmitry Torokhov --- drivers/input/serio/libps2.c | 131 +-- 1 file changed, 65 insertions(+), 66 deletions(-) diff --git a/drivers

[PATCH 0/7] libps2 facelift

2018-01-19 Thread Dmitry Torokhov
Hi, The main reason for the patch series is to have a bit more manageable debug info for PS/2 init sequence: raw i8042 debug is way too noisy, one has to decode sliced commands by hand, etc, etc. With proposed changes you get a nice parsed command flow: [14421.985416] __ps2_command: psmouse serio

[PATCH 6/7] Input: libps2 - support retransmission of command data

2018-01-19 Thread Dmitry Torokhov
The devices are allowed to respond to either command byte or command parameter with a NAK (0xfe), and the host is supposed to resend the "correct" byte. The device then will either respond with ACK or ERR (0xfc). Let's teach libps2 to handle the NAK responses properly, so that individual drivers do

[PATCH 5/7] Input: libps2 - add debugging statements

2018-01-19 Thread Dmitry Torokhov
Debugging via i8042.debug and analyzing raw PS/2 data stream may be cumbersome as you need to locate the boundaries of commands, decipher the sliced commands, etc, etc. Let's add a bit more high level debug statements for ps2_sendbyte(), ps2_command(), and ps2_sliced_command(). We do not introduce

[PATCH 7/7] Input: libps2 - relax command byte ACK handling

2018-01-19 Thread Dmitry Torokhov
When we probe PS/2 devices we first issue "Get ID" command and only if we receive what we consider a valid keyboard or mouse ID we disable the device and continue with protocol detection. That means that the device may be transmitting motion or keystroke data, while we expect ACK response. Instead

[PATCH 2/7] Input: libps2 - use u8 for byte data

2018-01-19 Thread Dmitry Torokhov
Instead of using unsigned char for the byte data switch to using u8. Also use unsigned int for the command codes and timeouts, and have ps2_handle_ack() and ps2_handle_response() return bool instead of int, as they do not return error codes but rather signal whether a byte was handled or not handle

Re: [PATCH 3/4] pwm: jz4740: Add support for devicetree

2018-01-19 Thread Rob Herring
On Sat, Jan 06, 2018 at 05:58:42PM +0100, Paul Cercueil wrote: > Add support for probing the pwm-jz4740 directly from devicetree. > > Signed-off-by: Paul Cercueil > --- > .../devicetree/bindings/pwm/ingenic,jz47xx-pwm.txt | 25 > ++ > drivers/pwm/pwm-jz4740.c

Re: [RFC PATCH] blk-mq: fixup RESTART when queue becomes idle

2018-01-19 Thread Bart Van Assche
On Fri, 2018-01-19 at 15:34 +0800, Ming Lei wrote: > Could you explain a bit when SCSI target replies with BUSY very often? > > Inside initiator, we have limited the max per-LUN requests and per-host > requests already before calling .queue_rq(). That's correct. However, when a SCSI initiator and

Re: [PATCH v4 4/8] PCI: brcmstb: Add dma-range mapping for inbound traffic

2018-01-19 Thread Florian Fainelli
On 01/18/2018 07:23 AM, Christoph Hellwig wrote: > On Thu, Jan 18, 2018 at 07:09:23AM -0800, Florian Fainelli wrote: >>> But in this case it actually is the example to follow as told >>> previously. >>> >>> NAK again for these chained dma ops that only create problems. >> >> Care to explain what sh

Re: [PATCH 1/2] virtio: allow to detach a buffer from the virtqueue

2018-01-19 Thread Michael S. Tsirkin
On Wed, Dec 20, 2017 at 06:46:42PM +0100, Greg Kurz wrote: > It is possible for a device to stop using buffers without pushing them > back to the driver. This is the case for example with the 9p virtio > device: if the driver flushes an in-flight request, the 9p specification > specification [*] ma

Re: [tip:sched/core] sched/rt: Simplify the IPI based RT balancing logic

2018-01-19 Thread Steven Rostedt
On Sat, 20 Jan 2018 00:27:56 +0530 Pavan Kondeti wrote: > Hi Steve, > > Thanks for the patch. > > On Fri, Jan 19, 2018 at 01:12:54PM -0500, Steven Rostedt wrote: > > On Fri, 19 Jan 2018 13:11:21 -0500 > > Steven Rostedt wrote: > > > > > void rto_push_irq_work_func(struct irq_work *work) >

Re: [PATCH] staging: android: ion: Zero CMA allocated memory

2018-01-19 Thread Dan Carpenter
On Fri, Jan 19, 2018 at 11:16:47AM -0800, Liam Mark wrote: > Since the CMA API is now used directly the allocated memory is no longer > automatically zeroed. > > Explicitly zero CMA allocated memory to ensure that no data is exposed > to userspace. > > Change-Id: I08e143707a0d31610821a7f16826c262

Re: [PATCH] dt-bindings: Nokia N9 audio support

2018-01-19 Thread Rob Herring
On Wed, Jan 10, 2018 at 09:53:15AM +0100, Pavel Machek wrote: > From: Filip Matijević > > Add bindings for Nokia N9 audio components. > > Signed-off-by: Filip Matijević > Signed-off-by: Pavel Machek > > diff --git a/Documentation/devicetree/bindings/media/ti-wl1273.txt > b/Documentation/devi

Re: [PATCH V5 4/8] perf/x86/intel/uncore: add new data structures for free running counters

2018-01-19 Thread Stephane Eranian
On Fri, Jan 19, 2018 at 10:00 AM, Liang, Kan wrote: > > > On Fri, Jan 19, 2018 at 9:53 AM, Liang, Kan wrote: > > >> On Fri, Jan 19, 2018 at 03:15:00PM +, Liang, Kan wrote: > > >> > > > > >> > > On Thu, Jan 18, 2018 at 05:43:10PM +, Liang, Kan wrote: > > >> > > > In the uncore document, th

Re: [PATCH] reset: ti-rstctrl: use the reset-simple driver

2018-01-19 Thread Suman Anna
Hi Tony, On 01/16/2018 05:22 PM, Tony Lindgren wrote: > Hi, > > * Suman Anna [180116 21:23]: >> While this adaptation is very simple for replacing the RSTCTRL registers >> from the hwmod data into an existing reset driver, I am afraid that it >> doesn't fit well when you want to use the reset AP

Re: [PATCH V5 4/8] perf/x86/intel/uncore: add new data structures for free running counters

2018-01-19 Thread Andi Kleen
> Oh, think a bit more. > I think we cannot do the same thing as we did for CPU PMU's fixed counters. > > The counters here are free running counters. They cannot be start/stop. Yes free running counter have completely different semantics. They need a separate event code. -Andi

Re: [PATCH 30/35] x86/speculation: Use Indirect Branch Prediction Barrier in context switch

2018-01-19 Thread Tim Chen
On 01/18/2018 08:03 PM, Kevin Easton wrote: > On Thu, Jan 18, 2018 at 04:38:32PM -0800, Tim Chen wrote: >> On 01/18/2018 05:48 AM, Peter Zijlstra wrote: >>> >>> + /* >>> +* Avoid user/user BTB poisoning by flushing the branch >>> predictor >>> +* when switching be

[PATCH net-next] hv_netvsc: Use the num_online_cpus() for channel limit

2018-01-19 Thread Haiyang Zhang
From: Haiyang Zhang Since we no longer localize channel/CPU affiliation within one NUMA node, num_online_cpus() is used as the number of channel cap, instead of the number of processors in a NUMA node. This patch allows a bigger range for tuning the number of channels. Signed-off-by: Haiyang Zh

[PATCH net-next] hv_netvsc: Use the num_online_cpus() for channel limit

2018-01-19 Thread Haiyang Zhang
From: Haiyang Zhang Since we no longer localize channel/CPU affiliation within one NUMA node, num_online_cpus() is used as the number of channel cap, instead of the number of processors in a NUMA node. This patch allows a bigger range for tuning the number of channels. Signed-off-by: Haiyang Zh

Re: [PATCH] NTB: ntb_perf: fix cast to restricted __le32

2018-01-19 Thread Arnd Bergmann
On Fri, Jan 19, 2018 at 6:30 PM, Serge Semin wrote: > Sparse is whining about the u32 and __le32 mixed usage in the > driver. > > drivers/ntb/test/ntb_perf.c:288:21: warning: cast to restricted __le32 > drivers/ntb/test/ntb_perf.c:295:37: warning: incorrect type in argument 4 > (different base ty

[PATCH 1/3] platform/x86: GPD pocket fan: Set speed to max on get_temp failure

2018-01-19 Thread Hans de Goede
When we fail to get the temperature, assume the worst and set the speed to max. While at it introduce a define for MAX_SPEED. Cc: James Suggested-by: James Signed-off-by: Hans de Goede --- drivers/platform/x86/gpd-pocket-fan.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-)

[PATCH 3/3] platform/x86: GPD pocket fan: Stop work on suspend

2018-01-19 Thread Hans de Goede
Stop the work on suspend, otherwise it may run between our suspend method running and the system suspending, possibly restarting the fan which we've just stopped. Note we already requeue the work on resume, so that we get a fresh speed at resume. Signed-off-by: Hans de Goede --- drivers/platfor

[PATCH 2/3] platform/x86: GPD pocket fan: Use a min-speed of 2 while charging

2018-01-19 Thread Hans de Goede
Newer versions of the GPD pocket BIOS set the fan-speed to 2 when a charger gets plugged in while the device is off. Mirror this in our fan driver and use a minimum speed of 2 while charging, Cc: James Suggested-by: James Signed-off-by: Hans de Goede --- drivers/platform/x86/gpd-pocket-fan.c |

Re: [PATCH V5 4/8] perf/x86/intel/uncore: add new data structures for free running counters

2018-01-19 Thread Stephane Eranian
On Fri, Jan 19, 2018 at 12:24 PM, Andi Kleen wrote: >> Oh, think a bit more. >> I think we cannot do the same thing as we did for CPU PMU's fixed counters. >> >> The counters here are free running counters. They cannot be start/stop. > > Yes free running counter have completely different semantics

[PATCH] IOMMU-Tegra: gart: Delete two error messages for a failed memory allocation in tegra_gart_probe()

2018-01-19 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 19 Jan 2018 21:44:31 +0100 Omit extra messages for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/iommu/tegra-gart.c | 8 ++-- 1 file changed, 2 insertions(+)

Re: [PATCH V5 4/8] perf/x86/intel/uncore: add new data structures for free running counters

2018-01-19 Thread Stephane Eranian
On Fri, Jan 19, 2018 at 12:50 PM, Stephane Eranian wrote: > On Fri, Jan 19, 2018 at 12:24 PM, Andi Kleen wrote: >>> Oh, think a bit more. >>> I think we cannot do the same thing as we did for CPU PMU's fixed counters. >>> >>> The counters here are free running counters. They cannot be start/stop.

Re: [PATCH 2/4] dt-bindings: pwm-backlight: add a num-interpolation-steps property.

2018-01-19 Thread Rob Herring
On Wed, Jan 10, 2018 at 11:30:44PM +0100, Enric Balletbo i Serra wrote: > The num-interpolated-steps property specifies the number of > interpolated steps between each value of brightness-level table. This is > useful for high resolution PWMs to not have to list out every possible > value in the br

Re: [patch -mm 3/4] mm, memcg: replace memory.oom_group with policy tunable

2018-01-19 Thread David Rientjes
On Wed, 17 Jan 2018, David Rientjes wrote: > Yes, this is a valid point. The policy of "tree" and "all" are identical > policies and then the mechanism differs wrt to whether one process is > killed or all eligible processes are killed, respectively. My motivation > for this was to avoid havi

Re: [kernel-hardening] [PATCH v4 02/10] asm/nospec, array_ptr: sanitize speculative array de-references

2018-01-19 Thread Dan Williams
On Fri, Jan 19, 2018 at 10:18 AM, Linus Torvalds wrote: > On Fri, Jan 19, 2018 at 2:20 AM, Jann Horn wrote: >>> + \ >>> + __u._ptr = _arr + (_i & _mask); \ >>> + __u._bit &= _mask;

Re: [patch 00/60] x86/kpti: Kernel Page Table Isolation (was KAISER)

2018-01-19 Thread Andrew Morton
Should KPTI have a MAINTAINERS entry? Neil Berrington (cc'ed) is reporting "Double fault in load_new_mm_cr3 with KPTI enabled" at https://bugzilla.kernel.org/show_bug.cgi?id=198517

Re: [PATCH 4/4] dt-bindings: pwm-backlight: move brightness-levels to optional.

2018-01-19 Thread Rob Herring
On Wed, Jan 10, 2018 at 11:30:46PM +0100, Enric Balletbo i Serra wrote: > The patch 'backlight: pwm_bl: compute brightness of LED linearly to > human eye' introduced a default brightness-levels table that is used > when brightness-levels is not availablel in the dts so move move s/availablel/avail

Re: [RESEND RFC PATCH 0/2] fixing the gpio ownership

2018-01-19 Thread Linus Walleij
On Thu, Jan 18, 2018 at 4:12 PM, Ludovic Desroches wrote: > On Thu, Jan 18, 2018 at 11:16:44AM +0100, Linus Walleij wrote: >> > It seems >> > that more and more drivers are converted to use GPIO descriptors so there >> > is >> > some hope. >> >> Yeah I'm doing this when I have time. There is ple

Re: [PATCH] NTB: ntb_perf: fix cast to restricted __le32

2018-01-19 Thread Serge Semin
On Fri, Jan 19, 2018 at 09:42:17PM +0100, Arnd Bergmann wrote: > On Fri, Jan 19, 2018 at 6:30 PM, Serge Semin wrote: > > Sparse is whining about the u32 and __le32 mixed usage in the > > driver. > > > > drivers/ntb/test/ntb_perf.c:288:21: warning: cast to restricted __le32 > > drivers/ntb/test/nt

Re: [PATCH v3 3/9] doc: dt-bindings: Add doc for Ingenic TCU IRQ driver

2018-01-19 Thread Rob Herring
On Wed, Jan 10, 2018 at 11:48:32PM +0100, Paul Cercueil wrote: > Add documentation about how to properly use the Ingenic TCU > (Timer/Counter Unit) IRQ driver from devicetree. Drop "doc: " from the subject in this and others. > Signed-off-by: Paul Cercueil > --- > .../bindings/interrupt-control

Re: [PATCH 22/22] signal: Unify and correct copy_siginfo_to_user32

2018-01-19 Thread Eric W. Biederman
Al Viro writes: > On Mon, Jan 15, 2018 at 06:40:09PM -0600, Eric W. Biederman wrote: >> Among the existing architecture specific versions of >> copy_siginfo_to_user32 there are several different implementation >> problems. Some architectures fail to handle all of the cases in in >> the siginfo u

Re: [patch 00/60] x86/kpti: Kernel Page Table Isolation (was KAISER)

2018-01-19 Thread Dave Hansen
On 01/19/2018 12:56 PM, Andrew Morton wrote: > Should KPTI have a MAINTAINERS entry? > > Neil Berrington (cc'ed) is reporting "Double fault in load_new_mm_cr3 with > KPTI > enabled" at https://bugzilla.kernel.org/show_bug.cgi?id=198517 Seems sane to me. There have been quite a few patches I wis

Re: [PATCH] smc: return boolean instead of integer in using_ipsec

2018-01-19 Thread Gustavo A. R. Silva
Hi Ursula, Quoting Ursula Braun : On 01/19/2018 12:33 AM, Gustavo A. R. Silva wrote: Return statements in functions returning bool should use true/false instead of 1/0. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- net/smc/smc.h | 2 +- 1 file

Hello There

2018-01-19 Thread FINANCE CAPITAL
UNSECURED BUSINESS/PERSONAL LOAN BY LOAN CAPITAL FINANCE - NO COLLATERAL - MINIMUM DOCUMENTATION - BUSINESS LOAN UP TO FIVE(5) MILLION US DOLLARS CONTACT US TODAY VIA EMAIL: financecapital...@mail.com --- This email has been checked for viruses by Avast antivirus software

Re: [PATCH v5 0/3] livepatch: introduce atomic replace

2018-01-19 Thread Jason Baron
On 01/19/2018 02:20 PM, Evgenii Shatokhin wrote: > On 12.01.2018 22:55, Jason Baron wrote: >> Hi, >>   While using livepatch, I found that when doing cumulative patches, >> if a patched >> function is completed reverted by a subsequent patch (back to its >> original state) >> livepatch does not r

Re: [PATCH v3 4/9] doc: dt-bindings: Add doc for the Ingenic TCU clocks driver

2018-01-19 Thread Rob Herring
On Wed, Jan 10, 2018 at 11:48:33PM +0100, Paul Cercueil wrote: > Add documentation about how to properly use the Ingenic TCU > (Timer/Counter Unit) clocks driver from devicetree. > > Signed-off-by: Paul Cercueil > --- > .../bindings/clock/ingenic,tcu-clocks.txt | 36 > +

Re: [PATCH v3 5/9] doc: dt-bindings: Add doc for the Ingenic TCU timers driver

2018-01-19 Thread Rob Herring
On Wed, Jan 10, 2018 at 11:48:34PM +0100, Paul Cercueil wrote: > Add documentation about how to properly use the Ingenic TCU > (Timer/Counter Unit) timers driver from devicetree. > > Signed-off-by: Paul Cercueil > --- > .../devicetree/bindings/timer/ingenic,tcu.txt | 35 > +

Re: [PATCH v5 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-01-19 Thread Rob Herring
On Thu, Jan 11, 2018 at 11:03:43AM +0800, Yong Deng wrote: > Add binding documentation for Allwinner V3s CSI. > > Signed-off-by: Yong Deng > --- > .../devicetree/bindings/media/sun6i-csi.txt| 59 > ++ > 1 file changed, 59 insertions(+) > create mode 100644 Documenta

Re: [PATCH v5 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-01-19 Thread Icenowy Zheng
在 2018年1月20日星期六 CST 上午5:14:09,Rob Herring 写道: > On Thu, Jan 11, 2018 at 11:03:43AM +0800, Yong Deng wrote: > > Add binding documentation for Allwinner V3s CSI. > > > > Signed-off-by: Yong Deng > > --- > > > > .../devicetree/bindings/media/sun6i-csi.txt| 59 > > ++ 1

Re: [PATCH v2 1/2] dt-bindings: pinctrl: Add Qualcomm SDM845 TLMM binding

2018-01-19 Thread Rob Herring
On Wed, Jan 10, 2018 at 10:00:03PM -0800, Bjorn Andersson wrote: > This adds the DeviceTree binding for the Qualcomm SDM845 TLMM block. > > Signed-off-by: Bjorn Andersson > --- > > Changes since v1: > - Added qspi related functions > > .../bindings/pinctrl/qcom,sdm845-pinctrl.txt | 176

Re: [PATCH v1 1/4] dt-bindings: pwm: binding allwinner sun8i R40/V40/T3.

2018-01-19 Thread Rob Herring
On Thu, Jan 11, 2018 at 07:31:57PM +0800, hao_zhang wrote: > This patch adds allwinner R40, V40, T3 pwm binding documents. > > Signed-off-by: hao_zhang > --- > Documentation/devicetree/bindings/pwm/pwm-sun8i.txt | 18 ++ > 1 file changed, 18 insertions(+) > create mode 100644 Do

Re: [PATCH] NTB: ntb_perf: fix cast to restricted __le32

2018-01-19 Thread Serge Semin
On Sat, Jan 20, 2018 at 12:03:10AM +0300, Serge Semin wrote: > On Fri, Jan 19, 2018 at 09:42:17PM +0100, Arnd Bergmann wrote: > > On Fri, Jan 19, 2018 at 6:30 PM, Serge Semin > > wrote: > > > Sparse is whining about the u32 and __le32 mixed usage in the > > > driver. > > > > > > drivers/ntb/te

Re: [PATCH] NTB: ntb_perf: fix cast to restricted __le32

2018-01-19 Thread Arnd Bergmann
On Fri, Jan 19, 2018 at 10:03 PM, Serge Semin wrote: > > Actually the provided patch is the best solution I could come up with. > The thing is, that the methods can't be changed. Those functions are > the part of the NTB API methods used by many drivers. So basically they > are like pci_{read,writ

Re: [PATCH v4 5/8] ARM: l2x0: add marvell,ecc-enable property for aurora

2018-01-19 Thread Rob Herring
On Fri, Jan 12, 2018 at 02:27:52PM +1300, Chris Packham wrote: > The aurora cache on the Marvell Armada-XP SoC supports ECC protection > for the L2 data arrays. Add a "marvell,ecc-enable" device tree property > which can be used to enable this. > > Signed-off-by: Chris Packham > [j...@pengutronix

[PATCH] IPMMU-VMSA: Delete an error message for a failed memory allocation in ipmmu_probe()

2018-01-19 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 19 Jan 2018 22:22:38 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/iommu/ipmmu-vmsa.c | 4 +--- 1 file changed, 1 insertion(+), 3

Re: [PATCH] reset: ti-rstctrl: use the reset-simple driver

2018-01-19 Thread Tony Lindgren
* Suman Anna [180119 20:23]: > On 01/16/2018 05:22 PM, Tony Lindgren wrote: > > The RSTST registers mostly tell the device internal reset reason > > like watchdog reset for an accelerator. I'm not sure how the > > API for those would look like, do you have some ideas? > > There are multiple RSTST

Re: [PATCH V5 4/8] perf/x86/intel/uncore: add new data structures for free running counters

2018-01-19 Thread Peter Zijlstra
On Fri, Jan 19, 2018 at 12:24:17PM -0800, Andi Kleen wrote: > > Oh, think a bit more. > > I think we cannot do the same thing as we did for CPU PMU's fixed counters. > > > > The counters here are free running counters. They cannot be start/stop. > > Yes free running counter have completely differ

[PATCH v2] smc: return booleans instead of integers

2018-01-19 Thread Gustavo A. R. Silva
Return statements in functions returning bool should use true/false instead of 1/0. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva --- Changes in v2: - Fix function using_ipsec as suggested by Ursula Braun. - Update subject line. net/smc/smc.h | 4 ++-

Re: [PATCH 1/3] dt-bindings: phy: phy-rockchip-typec: add usb3 otg reset

2018-01-19 Thread Rob Herring
On Thu, Jan 18, 2018 at 09:47:50AM -0800, Brian Norris wrote: > On Thu, Jan 18, 2018 at 06:20:09PM +0100, Enric Balletbo Serra wrote: > > As Brian said commit 06c47e6286d5 'usb: dwc3: of-simple: Add support > > to get resets for the device' introduced the support to get the resets > > from dwc3-of-

[PATCH] crypto: picoxcell - Fix error handling in spacc_probe()

2018-01-19 Thread Alexey Khoroshilov
If clk_get() fails, device_remove_file() looks inappropriate. The error path, where all crypto_register fail, misses resource deallocations. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/crypto/picoxcell_crypto.c | 27 +

Re: [PATCH v4 1/3] trace-cmd: Make read_proc() to return int status via OUT arg

2018-01-19 Thread Steven Rostedt
Just to let you know. I accepted all three of your patches. I have one comment, (and changed this myself). On Tue, 16 Jan 2018 21:53:41 +0200 "Vladislav Valtchev (VMware)" wrote: > file and then parse it as an integer using strtol(). Then, it makes the > function This line is 80 characters. F

Re: [PATCH] NFSD: hide unused svcxdr_dupstr()

2018-01-19 Thread Rasmus Villemoes
On 2018-01-19 15:54, Arnd Bergmann wrote: > There is now only one caller left for svcxdr_dupstr() and this is inside > of an #ifdef, so we can get a warning when the option is disabled: > > fs/nfsd/nfs4xdr.c:241:1: error: 'svcxdr_dupstr' defined but not used > [-Werror=unused-function] > > This

Re: [PATCH v4 1/3] trace-cmd: Make read_proc() to return int status via OUT arg

2018-01-19 Thread Steven Rostedt
On Fri, 19 Jan 2018 16:58:02 -0500 Steven Rostedt wrote: > Just to let you know. I accepted all three of your patches. I have one > comment, (and changed this myself). Anyway, Great job so far! I think I'm all set to start getting trace-cmd 2.7 out now. Unfortunately, I don't think I'll be able

Re: BUG: unable to handle kernel paging request in memset_erms (2)

2018-01-19 Thread Andrew Morton
On Fri, 19 Jan 2018 13:58:01 -0800 syzbot wrote: > Hello, > > syzbot hit the following crash on mmots commit > 2164355612187e55e8d60a28d2cc6b2337841a7e (Fri Jan 19 01:07:54 2018 +) > pci: test for unexpectedly disabled bridges > > So far this crash happened 2 times on mmots. > C reproducer

Re: [PATCH net-next] net: stmmac: Fix reception of Broadcom switches tags

2018-01-19 Thread kbuild test robot
Hi Florian, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Florian-Fainelli/net-stmmac-Fix-reception-of-Broadcom-switches-tags/20180120-044006 config: x86_64-randconfig-x002-201802 (attached as .conf

Re: [PATCH v3 1/5] bindings: regulator: added support for suspend states

2018-01-19 Thread Rob Herring
On Fri, Jan 12, 2018 at 06:18:21PM +0800, Chunyan Zhang wrote: > Some systems need to set regulators to specific states when they enter > low power modes, especially around CPUs. There are many of these modes > depending on the particular runtime state. > > Currently the regulator consumers are no

[GIT PULL] SCSI fixes for 4.15-rc8

2018-01-19 Thread James Bottomley
One fix for SAS attached SATA CD-ROMs.  It turns out that the libata handling of CD devices relies on the SCSI error handler, so disable async aborts (which don't start the error handler) for these devices. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git s

Re: [PATCH v6 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver

2018-01-19 Thread Randy Dunlap
ia/platform/renesas-ceu.c:1497:27: error: request for member 'fwnode' in something not a structure or union ceu_sd->asd.match.fwnode.fwnode = Signed-off-by: Randy Dunlap --- drivers/media/platform/renesas-ceu.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- l

Re: [mm 4.15-rc8] Random oopses under memory pressure.

2018-01-19 Thread Al Viro
On Fri, Jan 19, 2018 at 10:42:18AM -0800, Linus Torvalds wrote: > On Fri, Jan 19, 2018 at 4:55 AM, Matthew Wilcox wrote: > > > > So really we should be casting 'b' and 'a' to uintptr_t to be fully > > compliant with the spec. > > That's an unnecessary technicality. > > Any compiler that doesn't

Re: [PATCH v5 1/2] dt-bindings: media: Add Allwinner V3s Camera Sensor Interface (CSI)

2018-01-19 Thread Randy Dunlap
On 01/19/2018 01:17 PM, Icenowy Zheng wrote: > 在 2018年1月20日星期六 CST 上午5:14:09,Rob Herring 写道: >> On Thu, Jan 11, 2018 at 11:03:43AM +0800, Yong Deng wrote: >>> Add binding documentation for Allwinner V3s CSI. >>> >>> Signed-off-by: Yong Deng >>> --- >>> >>> .../devicetree/bindings/media/sun6i-csi.

Re: [PATCH] drm/amdkfd: Use ARRAY_SIZE macro in kfd_build_sysfs_node_entry

2018-01-19 Thread Felix Kuehling
Looks good. This change is Reviewed-by: Felix Kuehling Regards,   Felix On 2018-01-18 07:39 PM, Gustavo A. R. Silva wrote: > Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva >

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Daniel Borkmann
On 01/19/2018 03:37 PM, Quentin Monnet wrote: > 2018-01-19 14:17 UTC+ ~ Roman Gushchin >> On Mon, Jan 15, 2018 at 07:32:01PM +, Quentin Monnet wrote: > > [...] > >>> Looks good, thanks Roman! >>> Would you mind updating the map names as well? It seems the >>> BPF_MAP_TYPE_CPUMAP is missi

Re: [PATCH] selftests: bpf: update .gitignore with missing generated files

2018-01-19 Thread Daniel Borkmann
On 01/19/2018 01:36 AM, Shuah Khan wrote: > Update .gitignore with missing generated files. > > Signed-off-by: Shuah Khan Applied to bpf-next, thanks Shuah!

Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs

2018-01-19 Thread Jakub Kicinski
On Fri, 19 Jan 2018 14:17:45 +, Roman Gushchin wrote: > > Looks good, thanks Roman! > > Would you mind updating the map names as well? It seems the > > BPF_MAP_TYPE_CPUMAP is missing from the list in map.c. > > Hello, Quentin! > > Here is the patch. Thank you for following up, would you al

Re: [PATCH 3/7] Input: libps2 - use BIT() for bitmask constants

2018-01-19 Thread Randy Dunlap
On 01/19/2018 11:41 AM, Dmitry Torokhov wrote: > Let's explicitly document bit numbers with BIT() macro. > > Signed-off-by: Dmitry Torokhov Makes sense, but something should #include per Documentation/process/submit-checklist.rst Rule #1: 1) If you use a facility then #include the file that de

Re: [PATCH] drm/amdkfd: Use ARRAY_SIZE macro in kfd_build_sysfs_node_entry

2018-01-19 Thread Gustavo A. R. Silva
Quoting Felix Kuehling : Looks good. This change is Reviewed-by: Felix Kuehling Thanks Felix. -- Gustavo

Re: [PATCH v2 02/16] pwm: pxa: update documentation regarding pwm-cells

2018-01-19 Thread Rob Herring
On Fri, Jan 12, 2018 at 04:22:49PM +0200, Claudiu Beznea wrote: > pwm-cells should be at least 2 to provide channel number and period value. > > Cc: Mike Dunn > Signed-off-by: Claudiu Beznea > --- > Documentation/devicetree/bindings/pwm/pxa-pwm.txt | 6 +++--- > 1 file changed, 3 insertions(+),

Re: [PATCH v2 10/16] pwm: Add PWM modes

2018-01-19 Thread Rob Herring
On Fri, Jan 12, 2018 at 04:22:57PM +0200, Claudiu Beznea wrote: > Define a macros for PWM modes to be used by device tree sources. > > Signed-off-by: Claudiu Beznea > --- > include/dt-bindings/pwm/pwm.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/dt-bindings/pwm/pwm.h b/

Re: [PATCH v6 3/9] v4l: platform: Add Renesas CEU driver

2018-01-19 Thread kbuild test robot
Hi Jacopo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.15-rc8] [cannot apply to linuxtv-media/master next-20180119] [if your patch is applied to the wrong git tree, please drop us a note to help improve the

Re: [PATCH net-next] net: stmmac: Fix reception of Broadcom switches tags

2018-01-19 Thread Florian Fainelli
On 01/19/2018 02:06 PM, kbuild test robot wrote: > Hi Florian, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on net-next/master] > > url: > https://github.com/0day-ci/linux/commits/Florian-Fainelli/net-stmmac-Fix-reception-of-Broadcom-switches-tags/2018012

Re: [PATCH 3/7] Input: libps2 - use BIT() for bitmask constants

2018-01-19 Thread Dmitry Torokhov
On Fri, Jan 19, 2018 at 02:26:20PM -0800, Randy Dunlap wrote: > On 01/19/2018 11:41 AM, Dmitry Torokhov wrote: > > Let's explicitly document bit numbers with BIT() macro. > > > > Signed-off-by: Dmitry Torokhov > > Makes sense, but something should > #include Indeed, I'll add it, thanks. > >

Re: [PATCH v2 11/16] pwm: add documentation for PWM modes

2018-01-19 Thread Rob Herring
On Fri, Jan 12, 2018 at 04:22:58PM +0200, Claudiu Beznea wrote: > Add documentation for PWM normal and complementary modes. This and the previous patch can be combined. > > Signed-off-by: Claudiu Beznea > --- > Documentation/devicetree/bindings/pwm/pwm.txt | 17 ++-- > Documentatio

Re: [PATCH v2 15/16] pwm: add documentation for pwm push-pull mode

2018-01-19 Thread Rob Herring
On Fri, Jan 12, 2018 at 04:23:02PM +0200, Claudiu Beznea wrote: > Add documentation for PWM push-pull mode. > > Signed-off-by: Claudiu Beznea > --- > Documentation/devicetree/bindings/pwm/pwm.txt | 8 +++- > Documentation/pwm.txt | 18 ++ > 2 files ch

Re: [PATCH v2] dt-bindings: display: stm32: add pixel clock mandatory property

2018-01-19 Thread Rob Herring
On Fri, Jan 12, 2018 at 04:30:34PM +0100, Philippe Cornu wrote: > Add the DPI/RGB input pixel clock in mandatory properties > because it really offers a better preciseness for timing > computations. > Note: Fix also the DSI panel example where "ref" & "pclk" > clocks were swapped. > > Signed-off-b

Re: [Intel-wired-lan] [RFC PATCH] e1000e: Remove Other from EIAC.

2018-01-19 Thread Benjamin Poirier
On 2018/01/19 08:22, Alexander Duyck wrote: > On Fri, Jan 19, 2018 at 5:36 AM, Benjamin Poirier > wrote: > > On 2018/01/19 17:59, Benjamin Poirier wrote: > >> On 2018/01/18 07:51, Alexander Duyck wrote: > >> > On Wed, Jan 17, 2018 at 10:50 PM, Benjamin Poirier > >> > wrote: > >> > > It was repor

Re: [PATCH 0/3] exec: Pin stack limit during exec

2018-01-19 Thread Kees Cook
On Tue, Jan 9, 2018 at 12:23 PM, Kees Cook wrote: > Attempts to solve problems with the stack limit changing during exec > continue to be frustrated[1][2]. In addition to the specific issues > around the Stack Clash family of flaws, Andy Lutomirski pointed out[3] > other places during exec where t

Re: [mm 4.15-rc8] Random oopses under memory pressure.

2018-01-19 Thread Linus Torvalds
On Fri, Jan 19, 2018 at 2:12 PM, Al Viro wrote: > On Fri, Jan 19, 2018 at 10:42:18AM -0800, Linus Torvalds wrote: >> >> We *should* be careful about it. I guess sparse could be made to warn, >> but I'm afraid that we have so many of these things that a warning >> isn't reasonable. > > You mean lik

Re: [Intel-wired-lan] [RFC PATCH] e1000e: Remove Other from EIAC.

2018-01-19 Thread Benjamin Poirier
On 2018/01/20 07:45, Benjamin Poirier wrote: [...] > > > > I'm of the mind that we need to cut down on the code thrash. This > > driver is supposed to have been in a "maintenance" mode for the last > > year or so as there aren't being any new parts added is my > > understanding. As-is I don't see

Re: [PATCH 4/8] irqchip/gic-v3: add ability to save/restore GIC/ITS state

2018-01-19 Thread dbasehore .
On Fri, Jan 19, 2018 at 1:22 AM, Marc Zyngier wrote: > On 18/01/18 23:33, Brian Norris wrote: >> Hi, >> >> On Sat, Jan 13, 2018 at 06:10:52PM +, Marc Zyngier wrote: >>> On Fri, 12 Jan 2018 21:24:18 +, >>> Derek Basehore wrote: Some platforms power off GIC logic in S3, so we need

Re: [PATCH 4/6] dt-bindings: gpio: Add binding for Wii GPIO controller

2018-01-19 Thread Rob Herring
On Mon, Jan 15, 2018 at 04:13:59AM +0100, Jonathan Neuschäfer wrote: > Signed-off-by: Jonathan Neuschäfer > --- > .../bindings/gpio/nintendo,hollywood-gpio.txt | 27 > ++ > .../devicetree/bindings/powerpc/nintendo/wii.txt | 9 +--- > 2 files changed, 28 insertions

[PATCH 0/7] psmouse assorted cleanups

2018-01-19 Thread Dmitry Torokhov
Hi, Just a few cleanups to psmouse code: BIT(), sign_extend(), u8 for data, etc. Plus a patch from Stephen Lyons to handle A4Tech mice with 2 scroll wheels. Thanks. Dmitry Torokhov (6): Input: psmouse - create helper for reporting standard buttons/motion Input: psmouse - clean up code Inpu

[PATCH 4/7] Input: lifebook - clean up code

2018-01-19 Thread Dmitry Torokhov
- use u8 instead of unsigned char for byte data - use input_set_capability() instead of manipulating capabilities bits directly - do not abuse -1 as error code, propagate errors from various calls. Signed-off-by: Dmitry Torokhov --- drivers/input/mouse/lifebook.c | 50 -

<    1   2   3   4   5   6   7   8   >