Re: [PATCH v2 7/7] watchdog: coh901327: make use of timeout-secs provided in devicetree

2018-02-22 Thread Linus Walleij
On Sat, Feb 10, 2018 at 10:19 AM, Marcus Folkesson wrote: > watchdog_init_timeout() will allways pick timeout_param since it > defaults to a valid timeout. > > Following best practice described in > Documentation/watchdog/watchdog-kernel-api.txt to make use of > the parameter logic. > > Signed-of

Re: [PATCH 1/2] Staging: gdm724x: Simplify the struct gdm_endian to a variable.

2018-02-22 Thread Greg KH
On Wed, Feb 21, 2018 at 05:12:36AM -0800, Quytelda Kahja wrote: > Since the testing for host endianness and in-driver conversion were > removed in 77e8a50149a2, the gdm_endian struct contains only one member, > and can therefore be simplified to a single u8 variable. > > Signed-off-by: Quytelda Ka

Re: [PATCH v3 7/7] watchdog: coh901327: make use of timeout-secs provided in devicetree

2018-02-22 Thread Linus Walleij
On Sun, Feb 11, 2018 at 9:08 PM, Marcus Folkesson wrote: > watchdog_init_timeout() will allways pick timeout_param since it > defaults to a valid timeout. > > Following best practice described in > Documentation/watchdog/watchdog-kernel-api.txt to make use of > the parameter logic. > > Signed-off

Re: [PATCH Resend 0/5] hwrng: stm32 - Improvement for stm32-rng

2018-02-22 Thread Herbert Xu
On Thu, Feb 15, 2018 at 02:03:07PM +0100, Lionel Debieve wrote: > This set of patches add extended functionalities for stm32 rng > driver. > Patch #1 includes a reset during probe to avoid any error status > which can occur during bootup process and keep safe rng integrity. > > Patch #3 adds a new

Re: [PATCH] lib/dma-debug.c: fix memory leakage

2018-02-22 Thread Robin Murphy
On 22/02/18 11:22, miles.c...@mediatek.com wrote: From: Miles Chen Marty reported a memory leakage introduced by commit 3aaabbf1c39e ("lib/dma-debug.c: fix incorrect pfn calculation"). Fix it by checking the virtual address before allocating the entry. Oops, seems I failed to look closely eno

Re: Regression: Dell XPS 13 9360 keyboard no longer works

2018-02-22 Thread Jeremy Cline
On 02/22/2018 05:21 AM, Marco Martin wrote: > On giovedì 22 febbraio 2018 06:14:07 CET Jeremy Cline wrote: >> Hey folks, >> >> Commit 30323fb6d552c41997baca5292bf7001366cab57 (Support tablet mode >> switch) causes the keyboard on my XPS 13 to stop working. This >> particular model has a touch scree

Re: [PATCH v5 2/2] mm/memcontrol.c: Reduce reclaim retries in mem_cgroup_resize_limit()

2018-02-22 Thread Michal Hocko
On Thu 22-02-18 16:50:33, Andrey Ryabinin wrote: > On 02/21/2018 11:17 PM, Andrew Morton wrote: > > On Fri, 19 Jan 2018 16:11:18 +0100 Michal Hocko wrote: > > > >> And to be honest, I do not really see why keeping retrying from > >> mem_cgroup_resize_limit should be so much faster than keep retry

Re: [PATCH 4.4 00/33] 4.4.117-stable review

2018-02-22 Thread Guenter Roeck
On 02/21/2018 04:44 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.117 release. There are 33 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 should be m

Re: [PATCH v6 0/2] staging: fsl-mc: Move bus driver out of staging

2018-02-22 Thread Greg KH
On Mon, Feb 05, 2018 at 08:07:41AM -0600, Bogdan Purcareata wrote: > Previous submission: https://lkml.org/lkml/2018/1/26/215 > > Split the code into moving out the core bus infrastructure separate from > the irqchip glue code. Add a Kconfig dependency on ARM_GIC_V3_ITS. > Integrate the documentat

Re: [RFC PATCH] riscv/locking: Strengthen spin_lock() and spin_unlock()

2018-02-22 Thread Andrea Parri
On Thu, Feb 22, 2018 at 02:40:04PM +0100, Peter Zijlstra wrote: > On Thu, Feb 22, 2018 at 01:19:50PM +0100, Andrea Parri wrote: > > > C unlock-lock-read-ordering > > > > {} > > /* s initially owned by P1 */ > > > > P0(int *x, int *y) > > { > > WRITE_ONCE(*x, 1); > > smp_wmb(); > > WR

Re: [PATCH v7 6/6] drm/msm: iommu: Replace runtime calls with runtime suppliers

2018-02-22 Thread Tomasz Figa
On Thu, Feb 22, 2018 at 10:45 PM, Robin Murphy wrote: > [sorry, I had intended to reply sooner but clearly forgot] > > > On 16/02/18 00:13, Tomasz Figa wrote: >> >> On Fri, Feb 16, 2018 at 2:14 AM, Robin Murphy >> wrote: >>> >>> On 15/02/18 04:17, Tomasz Figa wrote: >>> [...] > > > Co

Re: linux-next: build failure after merge of the akpm-current tree

2018-02-22 Thread Michal Hocko
On Fri 23-02-18 00:56:26, Stephen Rothwell wrote: > Hi Michal, > > On Thu, 22 Feb 2018 08:11:00 +0100 Michal Hocko wrote: > > > > This is interesting. I thought that IS_ENABLED(CONFIG_HAVE_MEMBLOCK) > > would have the same meaning as ifdef CONFIG_HAVE_MEMBLOCK so the branch > > will never be cons

Re: [PATCH 4.9 00/77] 4.9.83-stable review

2018-02-22 Thread Guenter Roeck
On 02/21/2018 04:48 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.83 release. There are 77 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 should be ma

Re: [PATCH 01/20] lightnvm: simplify geometry structure.

2018-02-22 Thread Javier Gonzalez
> On 22 Feb 2018, at 13.22, Matias Bjørling wrote: > > On 02/22/2018 08:44 AM, Javier Gonzalez wrote: >>> On 22 Feb 2018, at 08.25, Matias Bjørling wrote: >>> >>> On 02/21/2018 10:26 AM, Javier González wrote: Currently, the device geometry is stored redundantly in the nvm_id and nvm_

Re: [PATCH 4.14 000/167] 4.14.21-stable review

2018-02-22 Thread Guenter Roeck
On 02/21/2018 04:46 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.21 release. There are 167 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 should be

Re: [PATCH 4.15 000/163] 4.15.5-stable review

2018-02-22 Thread Guenter Roeck
On 02/21/2018 04:47 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.15.5 release. There are 163 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 should be m

[Question PATCH 0/1] mm: crash in vmalloc_to_page - misuse or bug?

2018-02-22 Thread Igor Stoppa
While trying to change the code of find_vm_area, I got an automated notification that my code was breaking the testing of i386, based on the 0-day testing automation from 01.org I started investigating the issue and noticed that it seems to be reproducible also on top of plain 4.16-rc2, without an

Re: [PATCH 1/2] gpio: timberdale: Delete an error message for a failed memory allocation in timbgpio_probe()

2018-02-22 Thread Linus Walleij
On Sat, Feb 10, 2018 at 9:32 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 10 Feb 2018 21:09:08 +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 P

[PATCH 1/1] crash vmalloc_to_page()

2018-02-22 Thread Igor Stoppa
this patch, when used with the config file for 0day kernel test for i386, against 4.16-rc2, causes the following: ... [8.686470] [TTM] Initializing DMA pool allocator [8.691148] WARNING: CPU: 0 PID: 1 at mm/vmalloc.c:301 vmalloc_to_page+0x360/0x370 [8.692185] Modules linked in: [

Re: [PATCH 2/2] gpio: timberdale: Improve a size determination in timbgpio_probe()

2018-02-22 Thread Linus Walleij
On Sat, Feb 10, 2018 at 9:33 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 10 Feb 2018 21:13:28 +0100 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit sa

Crypto Fixes for 4.16

2018-02-22 Thread Herbert Xu
Hi Linus: This push fixes an oops in the s5p-sss driver when used with ecb(aes). Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus Kamil Konieczny (1): crypto: s5p-sss - Fix kernel Oops in AES-ECB mode drivers/crypto/s5p-sss.c | 12

Re: [PATCH 1/2] gpio: omap: Delete an error message for a failed memory allocation in omap_gpio_probe()

2018-02-22 Thread Linus Walleij
On Sat, Feb 10, 2018 at 10:07 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 10 Feb 2018 21:46:30 +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

Re: [PATCH 2/2] gpio: omap: Improve a size determination in omap_gpio_probe()

2018-02-22 Thread Linus Walleij
On Sat, Feb 10, 2018 at 10:08 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 10 Feb 2018 21:49:22 +0100 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit s

Re: [PATCH] gpio-ml-ioh: Delete an error message for a failed memory allocation in ioh_gpio_probe()

2018-02-22 Thread Linus Walleij
On Sat, Feb 10, 2018 at 10:30 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 10 Feb 2018 22:27:15 +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

Re: [PATCH] gpio: merrifield: Delete an error message for a failed memory allocation in mrfld_gpio_probe()

2018-02-22 Thread Linus Walleij
On Sun, Feb 11, 2018 at 1:42 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 11 Feb 2018 13:30:14 +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 P

Re: [PATCH 08/30] kexec_file: Restrict at runtime if the kernel is locked down

2018-02-22 Thread David Howells
I'm intending on inserting the attached patch before this one. David --- commit 87a39b258eca2e15884ee90c3fcd5758d6057b17 Author: David Howells Date: Thu Feb 22 13:42:04 2018 + kexec_file: split KEXEC_VERIFY_SIG into KEXEC_SIG and KEXEC_SIG_FORCE This is a preparatory patch for

Re: [PATCH 3/6] struct page: add field for vm_struct

2018-02-22 Thread Igor Stoppa
On 21/02/18 14:01, Igor Stoppa wrote: > it seems to return garbage also without this patch, but I need to clean > up the code, try it again and possibly come up with a demo patch for > triggering the problem. > > I'll investigate it more. However it doesn't seem to be related to the > functionali

Re: [PATCH 08/30] kexec_file: Restrict at runtime if the kernel is locked down

2018-02-22 Thread David Howells
David Howells wrote: > I'm intending on inserting the attached patch before this one. And replacing this patch with the attached. David --- commit ed0424c531d7dd25adebdec0ee6a78a5784f207a Author: David Howells Date: Thu Feb 22 14:01:49 2018 + kexec_file: Restrict at runtime if the k

[PATCH v4 0/4] Enable CAAM on i.MX7s fix TrustZone issues

2018-02-22 Thread Rui Miguel Silva
For v4 I am taking over this patch series as all the left over patches were implemented by me. V4: - removed patch: [PATCH v3 2/5] crypto: caam: Fix endless loop when RNG is already initialized from the series since Horia presented a better fix for the endless loop in case of fail to acquire DECO

Re: [PATCH v3 3/3] gpio: rcar: Use wakeup_path i.s.o. explicit clock handling

2018-02-22 Thread Linus Walleij
On Mon, Feb 12, 2018 at 2:55 PM, Geert Uytterhoeven wrote: > Since commit ab82fa7da4dce5c7 ("gpio: rcar: Prevent module clock disable > when wake-up is enabled"), when a GPIO is used for wakeup, the GPIO > block's module clock (if exists) is manually kept running during system > suspend, to make

[PATCH] microblaze: Setup dependencies for ASM optimized lib functions

2018-02-22 Thread Michal Simek
The patch: "microblaze: Setup proper dependency for optimized lib functions" (sha1: 7b6ce52be3f86520524711a6f33f3866f9339694) didn't setup all dependencies properly. Optimized lib functions in C are also present for little endian and optimized library functions in assembler are implemented only for

[PATCH v4 4/4] ARM: dts: imx7s: add CAAM device node

2018-02-22 Thread Rui Miguel Silva
Add CAAM device node to the i.MX7s device tree. Cc: Shawn Guo Cc: Sascha Hauer Cc: devicet...@vger.kernel.org Cc: "Horia Geantă" Cc: Aymen Sghaier Cc: Fabio Estevam Cc: Peng Fan Cc: "David S. Miller" Cc: Lukas Auer Signed-off-by: Rui Miguel Silva --- arch/arm/boot/dts/imx7s.dtsi | 30 +++

[PATCH v4 3/4] clk: imx7d: add CAAM clock

2018-02-22 Thread Rui Miguel Silva
Add CAAM clock so that we could use the Cryptographic Acceleration and Assurance Module (CAAM) hardware block. Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-...@vger.kernel.org Cc: "Horia Geantă" Cc: Aymen Sghaier Cc: Fabio Estevam Cc: Peng Fan Cc: "David S. Miller" Cc: Lukas Auer Revie

Re: [PATCH v4 2/5] powerpc/mm/slice: Enhance for supporting PPC32

2018-02-22 Thread Christophe LEROY
Le 12/02/2018 à 00:34, Nicholas Piggin a écrit : On Sun, 11 Feb 2018 21:04:42 +0530 "Aneesh Kumar K.V" wrote: On 02/11/2018 07:29 PM, Nicholas Piggin wrote: On Sat, 10 Feb 2018 13:54:27 +0100 (CET) Christophe Leroy wrote: In preparation for the following patch which will fix an issue

[PATCH v4 1/4] crypto: caam - Fix null dereference at error path

2018-02-22 Thread Rui Miguel Silva
caam_remove already removes the debugfs entry, so we need to remove the one immediately before calling caam_remove. This fix a NULL dereference at error paths is caam_probe fail. Fixes: 67c2315def06 ("crypto: caam - add Queue Interface (QI) backend support") Tested-by: Ryan Harkin Cc: "Horia Ge

[PATCH v4 2/4] crypto: caam - do not use mem and emi_slow clock for imx7x

2018-02-22 Thread Rui Miguel Silva
I.MX7x only use two clocks for the CAAM module, so make sure we do not try to use the mem and the emi_slow clock when running in that imx7d and imx7s machine type. Cc: "Horia Geantă" Cc: Aymen Sghaier Cc: Fabio Estevam Cc: Peng Fan Cc: "David S. Miller" Cc: Lukas Auer Signed-off-by: Rui Migu

Re: arch/microblaze/lib/fastcopy.S:33:2: error: #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.

2018-02-22 Thread Michal Simek
Hi, I have sent a patch for this issue. https://lkml.org/lkml/2018/2/22/441 Thanks for reporting, Michal On 20.2.2018 00:25, kbuild test robot wrote: > Hi Arnd, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master >

Re: [PATCH v2] selftests/bpf/test_maps: exit child process without error in ENOMEM case

2018-02-22 Thread Daniel Borkmann
On 02/22/2018 03:34 AM, Li Zhijian wrote: > From: Li Zhijian > > test_maps contains a series of stress tests, and previously it will break the > rest tests when it failed to alloc memory. > --- > Failed to create hashmap key=8 value=262144 'Cannot allocate memory' > Failed to

Re: [PATCH] microblaze: Use generic pci_mmap_resource_range()

2018-02-22 Thread Michal Simek
On 19.2.2018 14:01, David Woodhouse wrote: > Commit f719582435 ("PCI: Add pci_mmap_resource_range() and use it for > ARM64") added this generic function with the intent of using it > everywhere and ultimately killing the old arch-specific implementations. > > Let's get on with that eradication...

Re: [RFC tip/locking/lockdep v5 05/17] lockdep: Extend __bfs() to work with multiple kinds of dependencies

2018-02-22 Thread Peter Zijlstra
On Thu, Feb 22, 2018 at 03:08:52PM +0800, Boqun Feng wrote: > Now we have four kinds of dependencies in the dependency graph, and not > all the pathes carry strong dependencies, for example: > > Given lock A, B, C, if we have: > > CPU1CPU2 > =

[BUG] ARCv2: MCIP: GFRC: mcip cmd/readback concurrency

2018-02-22 Thread Eugeniy Paltsev
To read any data from ARconnect we have special interface which includes two AUX registers: MCIP_CMD and MCIP_READBACK. We write command to MCIP_CMD and read data from MCIP_READBACK after that. We have only one instance of this registers per cluster, so we need to held global lock before access th

Re: [PATCH v9 11/11] media: i2c: ov7670: Fully set mbus frame fmt

2018-02-22 Thread jacopo mondi
Hi Laurent, On Thu, Feb 22, 2018 at 02:47:06PM +0200, Laurent Pinchart wrote: > Hi Jacopo, > > On Thursday, 22 February 2018 14:36:00 EET jacopo mondi wrote: > > On Thu, Feb 22, 2018 at 02:14:53PM +0200, Laurent Pinchart wrote: > > > On Thursday, 22 February 2018 14:04:12 EET jacopo mondi wrote: >

[PATCH v5 2/6] powerpc/mm/slice: create header files dedicated to slices

2018-02-22 Thread Christophe Leroy
In preparation for the following patch which will enhance 'slices' for supporting PPC32 in order to fix an issue on hugepages on 8xx, this patch takes out of page*.h all bits related to 'slices' and put them into newly created slice.h header files. While common parts go into asm/slice.h, subarch sp

[PATCH v5 1/6] powerpc/mm/slice: Remove intermediate bitmap copy

2018-02-22 Thread Christophe Leroy
bitmap_or() and bitmap_andnot() can work properly with dst identical to src1 or src2. There is no need of an intermediate result bitmap that is copied back to dst in a second step. Signed-off-by: Christophe Leroy Reviewed-by: Aneesh Kumar K.V Reviewed-by: Nicholas Piggin --- v2: New in v2 v3:

[PATCH v5 4/6] powerpc/mm/slice: Fix hugepage allocation at hint address on 8xx

2018-02-22 Thread Christophe Leroy
On the 8xx, the page size is set in the PMD entry and applies to all pages of the page table pointed by the said PMD entry. When an app has some regular pages allocated (e.g. see below) and tries to mmap() a huge page at a hint address covered by the same PMD entry, the kernel accepts the hint all

[PATCH v5 6/6] powerpc/8xx: Increase number of slices to 64

2018-02-22 Thread Christophe Leroy
On the 8xx, the minimum slice size is the size of the area covered by a single PMD entry, ie 4M in 4K pages mode and 64M in 16K pages mode. This patch increases the number of slices from 16 to 64 on the 8xx. Signed-off-by: Christophe Leroy --- v4: New v5: No change arch/powerpc/include/asm/n

[PATCH v5 3/6] powerpc/mm/slice: Enhance for supporting PPC32

2018-02-22 Thread Christophe Leroy
In preparation for the following patch which will fix an issue on the 8xx by re-using the 'slices', this patch enhances the 'slices' implementation to support 32 bits CPUs. On PPC32, the address space is limited to 4Gbytes, hence only the low slices will be used. The high slices use bitmaps. As b

[PATCH v5 5/6] powerpc/mm/slice: Allow up to 64 low slices

2018-02-22 Thread Christophe Leroy
While the implementation of the "slices" address space allows a significant amount of high slices, it limits the number of low slices to 16 due to the use of a single u64 low_slices_psize element in struct mm_context_t On the 8xx, the minimum slice size is the size of the area covered by a single

Re: [PATCH 2/4] ARM: OMAP2+: Introduce low-level suspend code for AM43XX

2018-02-22 Thread Dave Gerlach
Hi, On 02/20/2018 01:25 AM, Philippe Ombredanne wrote: > Dave, > > On Fri, Feb 16, 2018 at 10:40 PM, Dave Gerlach wrote: >> Although similar to AM33XX, introduce a new low-level asm file for >> suspend containing new context save and restore paths for EMIF and l2 >> cache disabling and enabling.

Re: [PATCH NAND v3] mtd: nand: Replace printk() with appropriate pr_*() macro

2018-02-22 Thread Richard Weinberger
Am Donnerstag, 22. Februar 2018, 14:10:14 CET schrieb Shreeya Patel: > @@ -438,7 +438,7 @@ static void __init doc2000_count_chips(struct mtd_info > *mtd) break; > } > doc->chips_per_floor = i; > - printk(KERN_DEBUG "Detected %d chips per floor.\n", i); > + pr_debug("Detected %d

Re: [PATCH 4.15 000/163] 4.15.5-stable review

2018-02-22 Thread Greg Kroah-Hartman
On Thu, Feb 22, 2018 at 06:14:12AM -0800, Guenter Roeck wrote: > On 02/21/2018 04:47 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.15.5 release. > > There are 163 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] gpio-intel-mid: Delete an error message for a failed memory allocation in intel_gpio_probe()

2018-02-22 Thread Linus Walleij
On Sun, Feb 11, 2018 at 10:04 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sun, 11 Feb 2018 21:56:42 +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

Re: Re: [PATCH] fanotify: allow freeze on suspend when waiting for response from userspace

2018-02-22 Thread Jan Kara
On Thu 22-02-18 15:14:54, Kunal Shubham wrote: > >> On Fri 16-02-18 15:14:40, t.vi...@samsung.com wrote: > >> From: Vivek Trivedi > >> > >> If fanotify userspace response server thread is frozen first, > >> it may fail to send response from userspace to kernel space listener. > >> In this scenari

Re: Use of GCC plugin instead ISO C

2018-02-22 Thread Progyan Bhattacharya
On Sun, 2018-02-18 at 08:47 -0800, Randy Dunlap wrote: > You could try (re)building with V=1 on the "make" command line and > capture > the output to see where the "pedantic" is coming from. This is a late reply. I did what you told me and the build failed at following point: /bin/sh: /ho

[PATCH net] rxrpc: Fix send in rxrpc_send_data_packet()

2018-02-22 Thread David Howells
All the kernel_sendmsg() calls in rxrpc_send_data_packet() need to send both parts of the iov[] buffer, but one of them does not. Fix it so that it does. Without this, short IPv6 rxrpc DATA packets may be seen that have the rxrpc header included, but no payload. Fixes: 5a924b8951f8 ("rxrpc: Don'

Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation

2018-02-22 Thread Linus Walleij
On Wed, Feb 14, 2018 at 3:51 AM, Baolin Wang wrote: > On 13 February 2018 at 17:20, Linus Walleij wrote: >> On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wang wrote: >> >>> This patch adds the device tree bindings for the Spreadtrum >>> GPIO controller. The gpios will be supported by the GPIO >>> gener

[PATCH v2] ARM: tegra: fix ulpi regression on tegra20

2018-02-22 Thread Marcel Ziswiler
From: Marcel Ziswiler Since commit f8f8f1d04494 ("clk: Don't touch hardware when reparenting during registration") ULPI has been broken on Tegra20 leading to the following error message during boot: [1.974698] ulpi_phy_power_on: ulpi write failed [1.979384] tegra-ehci c5004000.usb: Faile

Re: [PATCH] EDAC, layerscape: allow building for LS1021A

2018-02-22 Thread Rasmus Villemoes
On 2018-02-20 22:01, York Sun wrote: > Sorry for top posting. I am on vacation and replying from my phone. > > The controller is compatible and the driver should work. Please double check > to make sure you can inject errors and receive interrupt. After that you are > good to go. I can indeed i

Re: [PATCH v3 3/3] gpio: rcar: Use wakeup_path i.s.o. explicit clock handling

2018-02-22 Thread Geert Uytterhoeven
Hi Linus, On Thu, Feb 22, 2018 at 3:23 PM, Linus Walleij wrote: > On Mon, Feb 12, 2018 at 2:55 PM, Geert Uytterhoeven > wrote: > >> Since commit ab82fa7da4dce5c7 ("gpio: rcar: Prevent module clock disable >> when wake-up is enabled"), when a GPIO is used for wakeup, the GPIO >> block's module cl

Re: [PATCH NAND v3] mtd: nand: Replace printk() with appropriate pr_*() macro

2018-02-22 Thread Boris Brezillon
Hi Shreeya, On Thu, 22 Feb 2018 18:40:14 +0530 Shreeya Patel wrote: > diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c > index c3aa53c..8643512 100644 > --- a/drivers/mtd/nand/diskonchip.c > +++ b/drivers/mtd/nand/diskonchip.c [...] > @@ -438,7 +438,7 @@ static void

Re: [PATCH NAND v3] mtd: nand: Replace printk() with appropriate pr_*() macro

2018-02-22 Thread Shreeya Patel
On Thu, 2018-02-22 at 15:30 +0100, Richard Weinberger wrote: > Am Donnerstag, 22. Februar 2018, 14:10:14 CET schrieb Shreeya Patel: > > > > @@ -438,7 +438,7 @@ static void __init doc2000_count_chips(struct > > mtd_info > > *mtd) break; > >   } > >   doc->chips_per_floor = i; > > - printk(KER

Re: [PATCH 1/2] mfd: arizona: Update reset pin to use GPIOD

2018-02-22 Thread Linus Walleij
On Wed, Feb 14, 2018 at 4:55 PM, Charles Keepax wrote: > Now GPIOD has support for both pdata systems and for non-standard DT > bindings the Arizona reset GPIO can be converted to use it. > > Signed-off-by: Charles Keepax (...) > + pdata->reset = devm_gpiod_get_from_of_node(arizona->dev, >

Re: [PATCH v2 3/3] fs: fsnotify: account fsnotify metadata to kmemcg

2018-02-22 Thread Jan Kara
On Thu 22-02-18 14:49:44, Michal Hocko wrote: > On Tue 20-02-18 19:01:01, Shakeel Butt wrote: > > A lot of memory can be consumed by the events generated for the huge or > > unlimited queues if there is either no or slow listener. This can cause > > system level memory pressure or OOMs. So, it's be

Re: [PATCH v8 5/7] PCI/AER: Unify aer error defines at single space

2018-02-22 Thread kbuild test robot
Hi Oza, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pci/next] [also build test WARNING on v4.16-rc2 next-20180222] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [PATCH NAND v3] mtd: nand: Replace printk() with appropriate pr_*() macro

2018-02-22 Thread Boris Brezillon
On Thu, 22 Feb 2018 20:15:58 +0530 Shreeya Patel wrote: > On Thu, 2018-02-22 at 15:30 +0100, Richard Weinberger wrote: > > Am Donnerstag, 22. Februar 2018, 14:10:14 CET schrieb Shreeya Patel: > > > > > > @@ -438,7 +438,7 @@ static void __init doc2000_count_chips(struct > > > mtd_info > > > *mt

Re: [PATCH] dsa: ptp; mark dummy helpers as 'inline'

2018-02-22 Thread Richard Cochran
On Thu, Feb 22, 2018 at 12:44:40PM +0100, Arnd Bergmann wrote: > Declaring a static function in a header leads to a warning every > time that header gets included without the function being used: Acked-by: Richard Cochran

[PATCH v4] arm64: Add support for new control bits CTR_EL0.DIC and CTR_EL0.IDC

2018-02-22 Thread Shanker Donthineni
The DCache clean & ICache invalidation requirements for instructions to be data coherence are discoverable through new fields in CTR_EL0. The following two control bits DIC and IDC were defined for this purpose. No need to perform point of unification cache maintenance operations from software on s

Re: [PATCH] pinctrl/amd: add get_direction handler

2018-02-22 Thread Linus Walleij
On Fri, Feb 16, 2018 at 8:12 PM, Daniel Kurtz wrote: > On boot, gpiochip_add_data() initializes the FLAG_IS_OUT bit in > desc->flags iff its gpio_chip does not have ->direction_input() handler, > else it is initialized to 0, which implies the GPIO is an "input". > > Later, the sysfs "direction" h

regression: SCSI/SATA failure

2018-02-22 Thread Bityutskiy, Artem
Hi Christoph, one of our test box Skylake servers does not boot with v4.16-rcX. Bisection lead us to this commit: 84676c1f21e8 genirq/affinity: assign vectors to all possible CPUs Reverting this single commit fixes the problem. The server is a Dell R640 machine with the latest Dell BIOS. It has

Re: [RFC tip/locking/lockdep v5 06/17] lockdep: Support deadlock detection for recursive read in check_noncircular()

2018-02-22 Thread Peter Zijlstra
On Thu, Feb 22, 2018 at 03:08:53PM +0800, Boqun Feng wrote: > +static inline int hlock_conflict(struct lock_list *entry, void *data) > +{ > + struct held_lock *hlock = (struct held_lock *)data; > + > + return hlock_class(hlock) == entry->class && > +(hlock->read != 2 || !entry-

Re: regression: SCSI/SATA failure

2018-02-22 Thread Artem Bityutskiy
On Thu, 2018-02-22 at 16:54 +0200, Artem Bityutskiy wrote: > Hi Christoph, > > one of our test box Skylake servers does not boot with v4.16-rcX. > Bisection lead us to this commit: > > 84676c1f21e8 genirq/affinity: assign vectors to all possible CPUs > > Reverting this single commit fixes the pr

Re: [PATCH NAND v3] mtd: nand: Replace printk() with appropriate pr_*() macro

2018-02-22 Thread Boris Brezillon
On Thu, 22 Feb 2018 18:40:14 +0530 Shreeya Patel wrote: > The log levels embedded with the name are more concise than > printk. > Replace printks having a log level with the appropriate > pr_*macro. pr_*() macros. > Define pr_fmt() and remove other additional macros from > some of the replace

Re: [PATCH v2 1/2] iio: light: add driver for bh1730fvc chips

2018-02-22 Thread Pierre Bourdon (delroth)
Hi Andy, Thanks for the review! Answers inline. I'll send a v3 when the two open questions are resolved. On Wed, Feb 21, 2018 at 10:57 PM, Andy Shevchenko wrote: > On Wed, Feb 21, 2018 at 9:45 PM, Pierre Bourdon wrote: >> Ambient light sensor that supports visible light and IR measurements and

Re: [PATCH] cpufreq: tegra186: Break after initialization is done for policy->cpu

2018-02-22 Thread Mikko Perttunen
On 02/22/2018 11:54 AM, Viresh Kumar wrote: There are two clusters (2 + 4 CPUs) on this platform and a separate cpufreq policy is available for each of the CPUs. The loop in tegra186_cpufreq_init() tries to find the structure for the right CPU and finish initialization. But it is missing a `break

Re: [PATCH] gpiolib: suppress error message on EPROBE_DEFER

2018-02-22 Thread Linus Walleij
On Sun, Feb 18, 2018 at 4:47 AM, David Lechner wrote: > On 02/07/2018 06:57 AM, Linus Walleij wrote: >> >> On Sun, Jan 21, 2018 at 9:32 PM, David Lechner >> wrote: >> >>> This suppresses printing an error message during probe of gpio drivers >>> when the error is EPROBE_DEFER. >>> >>> Cc: Linus W

Re: [PATCH v2 0/7] Add the I3C subsystem

2018-02-22 Thread Vitor Soares
Hi Boris, We are very interested in your I3C subsystem proposal and we would like to colaborate with you in order to add support for the Synopsys Host Controller. We are doing the review for this patch-set and will send our conclusions as soon as possible. Best regards, Vitor Soares Às

Re: [RFC tip/locking/lockdep v5 05/17] lockdep: Extend __bfs() to work with multiple kinds of dependencies

2018-02-22 Thread Boqun Feng
On Thu, Feb 22, 2018 at 03:26:14PM +0100, Peter Zijlstra wrote: > On Thu, Feb 22, 2018 at 03:08:52PM +0800, Boqun Feng wrote: > > Now we have four kinds of dependencies in the dependency graph, and not > > all the pathes carry strong dependencies, for example: > > > > Given lock A, B, C, if we

Re: [PATCH] PCI: Add quirk for Cavium Thunder-X2 PCIe erratum #173

2018-02-22 Thread Bjorn Helgaas
On Thu, Feb 22, 2018 at 06:43:34PM +0530, George Cherian wrote: > On 02/22/2018 04:50 AM, Bjorn Helgaas wrote: > > On Wed, Feb 21, 2018 at 04:25:08PM +0530, George Cherian wrote: > > > On 02/21/2018 03:24 PM, Lukas Wunner wrote: > > > > On Wed, Feb 21, 2018 at 02:58:13PM +0530, George Cherian wrote

Re: [PATCH] crypto: arm/aes-cipher - move S-box to .rodata section

2018-02-22 Thread Herbert Xu
On Mon, Feb 12, 2018 at 10:52:37PM +0900, Jinbum Park wrote: > Move the AES inverse S-box to the .rodata section > where it is safe from abuse by speculation. > > Signed-off-by: Jinbum Park Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: ht

Re: [PATCH] crypto: nx-842: Delete an error message for a failed memory allocation in nx842_pseries_init()

2018-02-22 Thread Herbert Xu
On Wed, Feb 14, 2018 at 05:17:08PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 14 Feb 2018 17:05:13 +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 E

Re: [PATCH 0/2] crypto/sahara: Adjustments for sahara_probe()

2018-02-22 Thread Herbert Xu
On Wed, Feb 14, 2018 at 02:32:28PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 14 Feb 2018 14:30:28 +0100 > > Two update suggestions were taken into account > from static source code analysis. > > Markus Elfring (2): > Delete an error message for a failed memory allocat

Re: [PATCH 0/4] Ux500 crypto: Adjustments for ux500_cryp_probe()

2018-02-22 Thread Herbert Xu
On Wed, Feb 14, 2018 at 11:16:39AM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 14 Feb 2018 11:12:34 +0100 > > A few update suggestions were taken into account > from static source code analysis. > > Markus Elfring (4): > Delete an error message for a failed memory alloc

Re: [PATCH v2 0/5] Change ISA_BUS_API dependency to selection

2018-02-22 Thread Linus Walleij
On Wed, Jan 31, 2018 at 3:22 AM, William Breathitt Gray wrote: > On Tue, Jan 02, 2018 at 10:29:30AM +0100, Linus Walleij wrote: >>On Fri, Dec 29, 2017 at 9:13 PM, William Breathitt Gray >> wrote: >> >>> Linus, please pickup this entire patchset through your GPIO subsystem >>> tree; a recursive dep

Re: [PATCH v2 00/14] x86/crypto gcmaes SSE scatter/gather support

2018-02-22 Thread Herbert Xu
On Wed, Feb 14, 2018 at 09:37:51AM -0800, Dave Watson wrote: > This patch set refactors the x86 aes/gcm SSE crypto routines to > support true scatter/gather by adding gcm_enc/dec_update methods. > > The layout is: > > * First 5 patches refactor the code to use macros, so changes only > need to

Re: [PATCH] crypto: bfin_crc: Delete an error message for a failed memory allocation in bfin_crypto_crc_probe()

2018-02-22 Thread Herbert Xu
On Wed, Feb 14, 2018 at 09:42:26PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 14 Feb 2018 21:34:54 +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 E

Re: [PATCH 1/2] crypto: bcm: Delete an error message for a failed memory allocation in do_shash()

2018-02-22 Thread Herbert Xu
On Wed, Feb 14, 2018 at 10:39:25PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 14 Feb 2018 22:05:11 +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 E

Re: [PATCH 0/6] Introduce STMicroelectronics MultiFunction eXpander

2018-02-22 Thread Amelie DELAUNAY
Hi Linus, Thanks for your review on the whole series. On 02/22/2018 02:06 PM, Linus Walleij wrote: > Hi Amelie, > > thanks a lot for your patches! > > On Thu, Feb 8, 2018 at 3:27 PM, Amelie Delaunay > wrote: > >> This series adds support for STMicroelectronics MultiFunction eXpander >> (ST M

Re: [PATCH v2 1/5] iio: Change ISA_BUS_API dependency to selection

2018-02-22 Thread Linus Walleij
On Fri, Dec 29, 2017 at 9:13 PM, William Breathitt Gray wrote: > The ISA_BUS_API Kconfig option enables the compilation of the ISA bus > driver. The ISA bus driver does not perform any hardware interaction, > and is instead just a thin layer of software abstraction to eliminate > boilerplate code

Re: [PATCH] crypto: atmel: Delete error messages for a failed memory allocation in six functions

2018-02-22 Thread Herbert Xu
On Thu, Feb 15, 2018 at 01:24:18PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 15 Feb 2018 11:38:30 +0100 > > Omit extra messages for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus E

Re: [PATCH v2 2/5] watchdog: Change ISA_BUS_API dependency to selection

2018-02-22 Thread Linus Walleij
On Fri, Dec 29, 2017 at 9:13 PM, William Breathitt Gray wrote: > The ISA_BUS_API Kconfig option enables the compilation of the ISA bus > driver. The ISA bus driver does not perform any hardware interaction, > and is instead just a thin layer of software abstraction to eliminate > boilerplate code

Re: [PATCH v5 2/2] mm/memcontrol.c: Reduce reclaim retries in mem_cgroup_resize_limit()

2018-02-22 Thread Andrey Ryabinin
On 02/22/2018 05:09 PM, Michal Hocko wrote: > On Thu 22-02-18 16:50:33, Andrey Ryabinin wrote: >> On 02/21/2018 11:17 PM, Andrew Morton wrote: >>> On Fri, 19 Jan 2018 16:11:18 +0100 Michal Hocko wrote: >>> And to be honest, I do not really see why keeping retrying from mem_cgroup_resiz

Re: Regression: Dell XPS 13 9360 keyboard no longer works

2018-02-22 Thread Marco Martin
On Thu, Feb 22, 2018 at 3:08 PM, Jeremy Cline wrote: > Input driver version is 1.0.1 > Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0 > Input device name: "Intel Virtual Button driver" > Supported events: > Event type 0 (EV_SYN) > Event type 1 (EV_KEY) > Event code 114 (KEY_V

Re: [PATCH 1/6] dt-bindings: mfd: Add ST Multi-Function eXpander driver

2018-02-22 Thread Amelie DELAUNAY
On 02/22/2018 02:22 PM, Linus Walleij wrote: > On Mon, Feb 19, 2018 at 4:59 PM, Amelie DELAUNAY > wrote: >> On 02/19/2018 12:19 AM, Rob Herring wrote: >>> On Thu, Feb 08, 2018 at 03:27:32PM +0100, Amelie Delaunay wrote: > +- interrupts = must be <0> +- gpio-controller: marks the devi

Re: [PATCH v2 3/5] gpio: Change ISA_BUS_API dependency to selection

2018-02-22 Thread Linus Walleij
On Fri, Dec 29, 2017 at 9:13 PM, William Breathitt Gray wrote: > The ISA_BUS_API Kconfig option enables the compilation of the ISA bus > driver. The ISA bus driver does not perform any hardware interaction, > and is instead just a thin layer of software abstraction to eliminate > boilerplate code

Re: [RFC tip/locking/lockdep v5 06/17] lockdep: Support deadlock detection for recursive read in check_noncircular()

2018-02-22 Thread Peter Zijlstra
On Thu, Feb 22, 2018 at 03:54:34PM +0100, Peter Zijlstra wrote: > On Thu, Feb 22, 2018 at 03:08:53PM +0800, Boqun Feng wrote: > > > +static inline int hlock_conflict(struct lock_list *entry, void *data) > > +{ > > + struct held_lock *hlock = (struct held_lock *)data; > > + > > + return hlock_c

Re: [PATCH v2 4/5] isa: Remove ISA_BUS_API selection for ISA_BUS

2018-02-22 Thread Linus Walleij
On Fri, Dec 29, 2017 at 9:14 PM, William Breathitt Gray wrote: > ISA_BUS_API is selected by drivers themselves when necessary. The > ISA_BUS Kconfig option is now simply a mask for true ISA device drivers > and relevant configuration. For now, the ISA_BUS Kconfig option is only > available for X8

Re: [PATCH] pinctrl: samsung: Validate alias coming from DT

2018-02-22 Thread Tomasz Figa
2018-02-21 3:17 GMT+09:00 Krzysztof Kozlowski : > Driver uses alias from Device Tree as an index of pin controller data > array. In case of a wrong DTB or an out-of-tree DTB, the alias could be > outside of this data array leading to out-of-bounds access. > > Depending on binary and memory layout,

[PATCH 1/1] EDAC, sb_edac: Fix out of bound write during DIMM configuration on KNL

2018-02-22 Thread Anna Karbownik
From: akarbown In one of the previous patches we decreased NUM_CHANNELS from 8 to 4, but it is not enough for Knights Landing which supports up to 6 channels. This caused unattended writes to pvt->mirror_mode and pvt->tolm variables which don't pay critical role on KNL code path, so driver was s

Re: [PATCH 1/6] dt-bindings: mfd: Add ST Multi-Function eXpander driver

2018-02-22 Thread Amelie DELAUNAY
On 02/22/2018 02:11 PM, Linus Walleij wrote: > On Thu, Feb 8, 2018 at 3:27 PM, Amelie Delaunay > wrote: > >> +Required properties: >> +- compatible: must be "st,mfx" > > I bet this should be more specific. Tomorrow there will be a new > version of this expander and then we will wish that we u

Re: [PATCH v2 5/5] pc104: Add EXPERT dependency for PC104 Kconfig option

2018-02-22 Thread Linus Walleij
On Fri, Dec 29, 2017 at 9:14 PM, William Breathitt Gray wrote: > PC/104 device driver Kconfig options previously had an implicit EXPERT > dependency by way of an explicit ISA_BUS_API dependency. Now that these > driver Kconfig options select ISA_BUS_API rather than depend on it, the > PC104 Kconf

<    1   2   3   4   5   6   7   8   9   10   >