[PATCH 1/2] dt-bindings: media: i2c: Add mt9t111 image sensor

2018-04-25 Thread Jacopo Mondi
Add device tree bindings documentation for Micron MT9T111/MT9T112 image sensors. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/mt9t112.txt | 41 +++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/mt9t112.txt dif

Re: [PATCH v2] bpf, x86_32: add eBPF JIT compiler for ia32

2018-04-25 Thread Wang YanQing
On Wed, Apr 25, 2018 at 02:11:16AM +0200, Daniel Borkmann wrote: > On 04/19/2018 05:54 PM, Wang YanQing wrote: > > The JIT compiler emits ia32 bit instructions. Currently, It supports > > eBPF only. Classic BPF is supported because of the conversion by BPF core. > > > > Almost all instructions fro

[PATCH 0/2] media: i2c: mt9t112: Add OF tree support

2018-04-25 Thread Jacopo Mondi
Hello, this small series add device tree support for the MT9T112 image sensor. As in the device tree bindings I used 'semi-standard' name for the 'powerdown' GPIO, I have changed that for all other users of the mt9t112 driver (SH Ecovec only). A note on clock: as the mt9t112 driver expects t

[PATCH 4.14 131/183] ACPI / bus: Do not call _STA on battery devices with unmet dependencies

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede [ Upstream commit 54ddce7062242036402242242c07c60c0b505f84 ] The battery code uses acpi_device->dep_unmet to check for unmet deps and if there are unmet deps it does not bind to

Re: [PATCH v2] PM / wakeup: use seq_open() to show wakeup stats

2018-04-25 Thread Ganesh Mahendran
2018-04-02 14:46 GMT+08:00 Geert Uytterhoeven : > Hi Ganesh, > > On Mon, Apr 2, 2018 at 3:33 AM, Ganesh Mahendran > wrote: >> 2018-03-30 19:00 GMT+08:00 Geert Uytterhoeven : >>> On Fri, Mar 30, 2018 at 12:25 PM, Rafael J. Wysocki >>> wrote: On Monday, March 5, 2018 9:47:46 AM CEST Ganesh Ma

[PATCH 4.14 133/183] bpf: fix selftests/bpf test_kmod.sh failure when CONFIG_BPF_JIT_ALWAYS_ON=y

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Yonghong Song [ Upstream commit 09584b406742413ac4c8d7e030374d4daa045b69 ] With CONFIG_BPF_JIT_ALWAYS_ON is defined in the config file, tools/testing/selftests/bpf/test_kmod.sh failed like be

[PATCH 4.14 134/183] MIPS: generic: Fix machine compatible matching

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan [ Upstream commit 9a9ab3078e2744a1a55163cfaec73a5798aae33e ] We now have a platform (Ranchu) in the "generic" platform which matches based on the FDT compatible string using mips_

Re: KASAN: null-ptr-deref Read in xattr_getsecurity

2018-04-25 Thread Tetsuo Handa
OK. Patch was sent to linux.git as 1f5781725dcbb026. #syz fix: commoncap: Handle memory allocation failure.

[PATCH 4.14 129/183] firmware: dmi_scan: Fix handling of empty DMI strings

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare [ Upstream commit a7770ae194569e96a93c48aceb304edded9cc648 ] The handling of empty DMI strings looks quite broken to me: * Strings from 1 to 7 spaces are not considered empty. *

[PATCH 4.14 127/183] x86/power: Fix swsusp_arch_resume prototype

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit 328008a72d38b5bde6491e463405c34a81a65d3e ] The declaration for swsusp_arch_resume marks it as 'asmlinkage', but the definition in x86-32 does not, and it fails

[PATCH 4.14 126/183] netfilter: ipv6: nf_defrag: Kill frag queue on RFC2460 failure

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Subash Abhinov Kasiviswanathan [ Upstream commit ea23d5e3bf340e413b8e05c13da233c99c64142b ] Failures were seen in ICMPv6 fragmentation timeout tests if they were run after the RFC2460 failure

[PATCH 4.14 125/183] s390/eadm: fix CONFIG_BLOCK include dependency

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Ott [ Upstream commit 366b77ae43c5a3bf1a367f15ec8bc16e05035f14 ] Commit 2a842acab109 ("block: introduce new block status code type") added blk_status_t usage to the eadm subchannel

[PATCH 4.14 121/183] IB/hfi1: Fix for potential refcount leak in hfi1_open_file()

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Estrin [ Upstream commit 2b1e7fe16124e86ee9242a859c79a843e3a2 ] The dd refcount is speculatively incremented prior to allocating the fd memory with kzalloc(). If that kzalloc() faile

Re: kernel panic: n_tty: init_tty

2018-04-25 Thread Tetsuo Handa
OK. Patch is in tty.git#tty-linus as 903f9db10f18f735. #syz fix: tty: Don't call panic() at tty_ldisc_init()

[PATCH 4.14 123/183] IB/core: Map iWarp AH type to undefined in rdma_ah_find_type

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Don Hiatt [ Upstream commit 87daac68f77a3e21a1113f816e6a7be0b38bdde8 ] iWarp devices do not support the creation of address handles so return AH_ATTR_TYPE_UNDEFINED for all iWarp devices. Wh

[PATCH 4.14 122/183] IB/ipoib: Fix for potential no-carrier state

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Estrin [ Upstream commit 1029361084d18cc270f64dfd39529fafa10cfe01 ] On reboot SM can program port pkey table before ipoib registered its event handler, which could result in missing pkey

[PATCH 4.14 117/183] mm/fadvise: discard partial page if endbyte is also EOF

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "shidao.ytt" [ Upstream commit a7ab400d6fe73d0119fdc234e9982a6f80faea9f ] During our recent testing with fadvise(FADV_DONTNEED), we find that if given offset/length is not page-aligned, the l

[PATCH 4.14 119/183] blk-mq: fix discard merge with scheduler attached

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jens Axboe [ Upstream commit 445251d0f4d329aa061f323546cd6388a3bb7ab5 ] I ran into an issue on my laptop that triggered a bug on the discard path: WARNING: CPU: 2 PID: 207 at drivers/nvme/ho

Re: [PATCH 3/7] gnss: add generic serial driver

2018-04-25 Thread Johan Hovold
On Wed, Apr 25, 2018 at 11:00:31AM +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 24, 2018 at 06:34:54PM +0200, Johan Hovold wrote: > > +static inline void *gnss_serial_get_drvdata(struct gnss_serial *gserial) > > +{ > > + return &gserial[1]; > > +} > > Oh that's the best hack I have seen in a l

[PATCH 4.14 116/183] mm: pin address_space before dereferencing it while isolating an LRU page

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman [ Upstream commit 69d763fc6d3aee787a3e8c8c35092b4f4960fa5d ] Minchan Kim asked the following question -- what locks protects address_space destroying when race happens between inod

Re: INFO: rcu detected stall in d_walk

2018-04-25 Thread Tetsuo Handa
OK. Patch is in vfs.git#for-next as 4fb48871409e2fcd. #syz fix: restore cond_resched() in shrink_dcache_parent()

Re: [PATCH 0/3] v4.16 tpmdd backports

2018-04-25 Thread Greg KH
On Wed, Apr 25, 2018 at 01:44:20PM +0300, Jarkko Sakkinen wrote: > "tpm: add retry logic" caused merge conflicts so I picked couple of > other fixes in order to get it apply cleanly. Are these only needed in 4.16.y? Nothing earlier? thanks for the backports, I'll queue them up after this next 4.

[PATCH 4.14 075/183] nfp: fix error return code in nfp_pci_probe()

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun [ Upstream commit e58decc9c51eb61697aba35ba8eda33f4b80552d ] Fix to return error code -EINVAL instead of 0 when num_vfs above limit_vfs, as done elsewhere in this function. Fixes

Re: [PATCH 01/10] vfio: ccw: Moving state change out of IRQ context

2018-04-25 Thread Halil Pasic
On 04/25/2018 08:57 AM, Cornelia Huck wrote: AFAIU this will be the problem of the person implementing the clear and the halt for vfio-ccw. I.e. it's a non-problem right now. Well, that person is me:) I will post some RFC Real Soon Now if I stop getting sidetracked... Makes sense. It shoul

[PATCH 4.14 066/183] btrfs: fail mount when sb flag is not in BTRFS_SUPER_FLAG_SUPP

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Anand Jain [ Upstream commit 6f794e3c5c8f8fdd3b5bb20d9ded894e685b5bbe ] It appears from the original commit [1] that there isn't any design specific reason not to fail the mount instead of ju

[PATCH 4.14 072/183] scsi: fas216: fix sense buffer initialization

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit 96d5eaa9bb74d299508d811d865c2c41b38b0301 ] While testing with the ARM specific memset() macro removed, I ran into a compiler warning that shows an old bug: dr

[PATCH net 0/3] net: mvpp2: Fix hangs when starting some interfaces on 7k/8k

2018-04-25 Thread Maxime Chevallier
Armada 7K / 8K clock management has recently been reworked, see : commit c7e92def1ef4 ("clk: mvebu: cp110: Fix clock tree representation") I have been experiencing overall system hangs on MacchiatoBin when starting the eth1 interface since then. It turns out some clocks dependencies were missing

[PATCH 4.14 071/183] scsi: devinfo: fix format of the device list

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xose Vazquez Perez [ Upstream commit 3f884a0a8bdf28cfd1e9987d54d83350096cdd46 ] Replace "" with NULL for product revision level, and merge TEXEL duplicate entries. Cc: Hannes Reinecke Cc: M

Re: [PATCH] tty: Avoid possible error pointer dereference at tty_ldisc_restore().

2018-04-25 Thread Tetsuo Handa
OK. Patch is in tty.git#tty-linus as 598c2d41ff44889d. #syz fix: tty: Avoid possible error pointer dereference at tty_ldisc_restore().

[PATCH net 2/3] net: mvpp2: Fix clock resource by adding missing mg_core_clk

2018-04-25 Thread Maxime Chevallier
Marvell's PPv2.2 IP needs an additional clock named "MG Core clock". This is required on Armada 7K and 8K. This commit adds the required clock, updates the devicetree and its documentation accordingly, also fixing a small typo in the marvell-mpp2.txt examples. Fixes: c7e92def1ef4 ("clk: mvebu: cp

[PATCH net 3/3] ARM64: dts: marvell: armada-cp110: Add clocks for the xmdio node

2018-04-25 Thread Maxime Chevallier
The Marvell XSMI controller needs 3 clocks to operate correctly : - The MG clock (clk 5) - The MG Core clock (clk 6) - The GOP clock (clk 18) This commit adds them, to avoid system hangs when using these interfaces. Fixes: c7e92def1ef4 ("clk: mvebu: cp110: Fix clock tree representation") Sig

[PATCH net 1/3] net: mvpp2: Fix clk error path in mvpp2_probe

2018-04-25 Thread Maxime Chevallier
When clk_prepare_enable fails for the axi_clk, the mg_clk isn't properly cleaned up. Add another jump label to handle that case, and make sure we jump to it in the later error cases. Fixes: 4792ea04bcd0 ("net: mvpp2: Fix clock resource by adding an optional bus clock") Signed-off-by: Maxime Cheva

[PATCH 4.14 104/183] tcp_nv: fix potential integer overflow in tcpnv_acked

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Gustavo A. R. Silva" [ Upstream commit e4823fbd229bfbba368b40cdadb8f4eeb20604cc ] Add suffix ULL to constant 8 in order to avoid a potential integer overflow and give the compiler comple

[PATCH 4.14 103/183] netfilter: x_tables: fix pointer leaks to userspace

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Vyukov [ Upstream commit 1e98ffea5a8935ec040ab72299e349cb44b8defd ] Several netfilter matches and targets put kernel pointers into info objects, but don't set usersize in descriptors.

[PATCH 4.14 100/183] ntb_transport: Fix bug with max_mw_size parameter

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Logan Gunthorpe [ Upstream commit cbd27448faff4843ac4b66cc71445a10623ff48d ] When using the max_mw_size parameter of ntb_transport to limit the size of the Memory windows, communication canno

[PATCH 4.14 099/183] RDMA/mlx5: Avoid memory leak in case of XRCD dealloc failure

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky [ Upstream commit b081808a66345ba725b77ecd8d759bee874cd937 ] Failure in XRCD FW deallocation command leaves memory leaked and returns error to the user which he can't do anyth

[PATCH 4.14 069/183] RDMA/cma: Check existence of netdevice during port validation

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Parav Pandit [ Upstream commit 00db63c128dd3daf38f481371976c24d32678142 ] If valid netdevice is not found for RoCE, GID table should not be searched with NULL netdevice. Doing so causes the

[PATCH 4.14 097/183] powerpc/numa: Use ibm,max-associativity-domains to discover possible nodes

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michael Bringmann [ Upstream commit a346137e9142b039fd13af2e59696e3d40c487ef ] On powerpc systems which allow 'hot-add' of CPU or memory resources, it may occur that the new resources are to

[PATCH 4.14 094/183] i40e: program fragmented IPv4 filter input set

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller [ Upstream commit 02b4016bfe43d2d5ed043be7ffa56cda6a4d1100 ] When implementing support for IP_USER_FLOW filters, we correctly programmed a filter for both the non fragmented IPv4

[PATCH v3] bpf, x86_32: add eBPF JIT compiler for ia32

2018-04-25 Thread Wang YanQing
The JIT compiler emits ia32 bit instructions. Currently, It supports eBPF only. Classic BPF is supported because of the conversion by BPF core. Almost all instructions from eBPF ISA supported except the following: BPF_ALU64 | BPF_DIV | BPF_K BPF_ALU64 | BPF_DIV | BPF_X BPF_ALU64 | BPF_MOD | BPF_K

[PATCH 4.14 093/183] ixgbe: dont set RXDCTL.RLPML for 82599

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Emil Tantilov [ Upstream commit 2bafa8fac19a31ca72ae1a3e48df35f73661dbed ] commit 2de6aa3a666e ("ixgbe: Add support for padding packet") Uses RXDCTL.RLPML to limit the maximum frame size on

[PATCH 4.14 086/183] fm10k: fix "failed to kill vid" message for VF

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ngai-Mint Kwan [ Upstream commit cf315ea596ec26d7aa542a9ce354990875a920c0 ] When a VF is under PF VLAN assignment: ip link set vf <#> vlan This will remove all previous entries in the VLA

Re: kernel BUG at drivers/tty/tty_ldisc.c:LINE!

2018-04-25 Thread Tetsuo Handa
>From 3606b60f60f5a2053290e7160a6fd3ee40f38a51 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa Date: Wed, 25 Apr 2018 15:26:10 +0900 Subject: [PATCH] tty: Use __GFP_NOFAIL for tty_ldisc_get() syzbot is reporting crashes triggered by memory allocation fault injection at tty_ldisc_get() [1]. As an atte

[PATCH 4.14 092/183] jffs2: Fix use-after-free bug in jffs2_iget()s error handling path

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jake Daryll Obina [ Upstream commit 5bdd0c6f89fba430e18d636493398389dadc3b17 ] If jffs2_iget() fails for a newly-allocated inode, jffs2_do_clear_inode() can get called twice in the error hand

Re: [PATCH 3/6] PCI: Introduce devm_of_pci_get_host_bridge_resources

2018-04-25 Thread Jan Kiszka
On 2018-04-24 17:13, Jan Kiszka wrote: > From: Jan Kiszka > > of_pci_get_host_bridge_resources allocates the resource structures it > fills dynamically, but none of its callers care to release them so far. > Rather than requiring everyone to do this explicitly, introduce a > managed version of th

[PATCH 4.14 088/183] tty: serial: exar: Relocate sleep wake-up handling

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Sierra [ Upstream commit c7e1b4059075c9e8eed101d7cc5da43e95eb5e18 ] Exar sleep wake-up handling has been done on a per-channel basis by virtue of INT0 being accessible from each channel

[PATCH 4.14 089/183] device property: Define type of PROPERTY_ENRTY_*() macros

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko [ Upstream commit c505cbd45f6e9c539d57dd171d95ec7e5e9f9cd0 ] Some of the drivers may use the macro at runtime flow, like struct property_entry p[10]; ... p[index++] = PRO

Re: [PATCH v3 2/3] regulator: add support for SY8106A regulator

2018-04-25 Thread Mark Brown
On Wed, Apr 25, 2018 at 06:55:10PM +0800, Icenowy Zheng wrote: > 于 2018年4月25日 GMT+08:00 下午6:53:09, Mark Brown 写到: > >> SPDX identifier is special -- it should be in a seperated > >> comment block. > >No, it just needs to be a C++ comment on the first line to ease machine > >parsing. The rest of

[PATCH 4.14 085/183] igb: Clear TXSTMP when ptp_tx_work() is timeout

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Hua [ Upstream commit 3a53285228165225a7f76c7d5ff1ddc0213ce0e4 ] Problem description: After ethernet cable connect and disconnect for several iterations on a device with i210, tx times

[PATCH v5 02/11] vsprintf: Add missing const ptr qualifier to prt_to_id()

2018-04-25 Thread Petr Mladek
vsprintf() must not change any data that parameters point to. Let's add the missing const qualifier to ptr_to_id(). This patch does not change the existing behavior. Signed-off-by: Petr Mladek --- lib/vsprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/vsprintf.

[PATCH v5 11/11] vsprintf: Avoid confusion between invalid address and value

2018-04-25 Thread Petr Mladek
We are able to detect invalid values handled by %p[iI] printk specifier. The current error message is "invalid address". It might cause confusion against "(efault)" reported by the generic valid_pointer_address() check. Let's unify the style and use the more appropriate error code description "(ei

[PATCH v5 04/11] vsprintf: Do not check address of well-known strings

2018-04-25 Thread Petr Mladek
We are going to check the address using probe_kernel_address(). It will be more expensive and it does not make sense for well known address. This patch splits the string() function. The variant without the check is then used on locations that handle string constants or strings defined as local var

[PATCH v5 09/11] vsprintf: Prevent crash when dereferencing invalid pointers

2018-04-25 Thread Petr Mladek
We already prevent crash when dereferencing some obviously broken pointers. But the handling is not consistent. Sometimes we print "(null)" only for pure NULL pointer, sometimes for pointers in the first page and sometimes also for pointers in the last page (error codes). Note that printk() call t

[PATCH v5 00/11] vsprintf: Prevent silent crashes and consolidate error handling

2018-04-25 Thread Petr Mladek
Crash in vsprintf() might be silent when it happens under logbuf_lock in vprintk_emit(). This patch set prevents most of the crashes by probing the address. The check is done only by %s and some %p* specifiers that need to dereference the address. Only the first byte of the address is checked to k

[PATCH v5 05/11] vsprintf: Consolidate handling of unknown pointer specifiers

2018-04-25 Thread Petr Mladek
There are few printk formats that make sense only with two or more specifiers. Also some specifiers make sense only when a kernel feature is enabled. The handling of unknown specifiers is strange, inconsistent, and even leaking the address. For example, netdev_bits() prints the non-hashed pointer

[PATCH v5 10/11] vsprintf: WARN() on invalid pointer access

2018-04-25 Thread Petr Mladek
vsprintf puts "(efault)" into the output string when it is unable to read information from the given address. But "(efault)" might be hard to spot. And any invalid pointer is likely to cause problems later. It is reasonable to WARN() about it. The only problem might be a code that rely on the fac

[PATCH v5 08/11] vsprintf: Factor out %pO handler as kobject_string()

2018-04-25 Thread Petr Mladek
Move code from the long pointer() function. We are going to add a check for the access to the address that will make it even more complicated. Also it is better to warn about unknown specifier instead of falling back to the %p behavior. It will help people to understand what is going wrong. They e

[PATCH v5 06/11] vsprintf: Factor out %p[iI] handler as ip_addr_string()

2018-04-25 Thread Petr Mladek
Move the non-trivial code from the long pointer() function. We are going to add a check for the access to the address that will make it even more complicated. Also it is better to warn about unknown specifier instead of falling back to the %p behavior. It will help people to understand what is goi

[PATCH v5 07/11] vsprintf: Factor out %pV handler as va_format()

2018-04-25 Thread Petr Mladek
Move the code from the long pointer() function. We are going to add a check for the access to the address that will make it even more complicated. This patch does not change the existing behavior. Signed-off-by: Petr Mladek --- lib/vsprintf.c | 22 +- 1 file changed, 13 inse

[PATCH 2/2] ARM: dts: r8a7740: Enable CEU0

2018-04-25 Thread Jacopo Mondi
Enable CEU0 peripheral for Renesas R-Mobile A1 R8A7740. Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r8a7740.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi index afd3bc5..05ec41e 100644 --- a/arch/arm/boot

[PATCH 0/2] renesas: ceu: Add R-Mobile A1

2018-04-25 Thread Jacopo Mondi
Hello, this small series add R-Mobile A1 R8A7740 to the list of CEU supported SoCs, and adds the CEU node to r8a7740.dtsi. All the information on CEU clocks, power domains and memory regions have been deducted from the now-deleted board file: arch/arm/mach-shmobile/board-armadillo800eva.c Than

[PATCH 1/2] dt-bindings: media: renesas-ceu: Add R-Mobile R8A7740

2018-04-25 Thread Jacopo Mondi
Add R-Mobile A1 R8A7740 SoC to the list of compatible values for the CEU unit. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/media/renesas,ceu.txt | 7 --- drivers/media/platform/renesas-ceu.c| 1 + 2 files changed, 5 insertions(+), 3 deletions(-) dif

Re: [PATCH] media: zoran: move to dma-mapping interface

2018-04-25 Thread Arnd Bergmann
On Wed, Apr 25, 2018 at 9:21 AM, Christoph Hellwig wrote: > On Wed, Apr 25, 2018 at 09:08:13AM +0200, Arnd Bergmann wrote: >> > That probably also means it can use dma_mmap_coherent instead of the >> > handcrafted remap_pfn_range loop and the PageReserved abuse. >> >> I'd rather not touch that cod

[PATCH v5 03/11] vsprintf: Consistent %pK handling for kptr_restrict == 0

2018-04-25 Thread Petr Mladek
restricted_pointer() pretends that it prints the address when kptr_restrict is set to zero. But it is never called in this situation. Instead, pointer() falls back to ptr_to_id() and hashes the pointer. This patch removes the potential confusion. klp_restrict is checked only in restricted_pointer(

[PATCH v5 01/11] vsprintf: Shuffle misc pointer to string functions

2018-04-25 Thread Petr Mladek
This is just a preparation step for further changes. The patch does not change the code. Signed-off-by: Petr Mladek --- lib/vsprintf.c | 244 - 1 file changed, 122 insertions(+), 122 deletions(-) diff --git a/lib/vsprintf.c b/lib/vsprintf

[PATCH 4.14 084/183] igb: Allow to remove administratively set MAC on VFs

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Corinna Vinschen [ Upstream commit 177132df5e45b134c147f419f567a3b56aafaf2b ] Before libvirt modifies the MAC address and vlan tag for an SRIOV VF for use by a virtual machine (either using v

[PATCH 4.14 083/183] ASoC: rockchip: Use dummy_dai for rt5514 dsp dailink

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jeffy Chen [ Upstream commit fde7f9dbc71365230eeb8c8ea97ce9b552c8e5bd ] The rt5514 dsp captures pcm data through spi directly, so we should not use rockchip-i2s as it's cpu dai like other cod

[PATCH 4.14 087/183] x86/hyperv: Stop suppressing X86_FEATURE_PCID

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vitaly Kuznetsov [ Upstream commit 617ab45c9a8900e64a78b43696c02598b8cad68b ] When hypercall-based TLB flush was enabled for Hyper-V guests PCID feature was deliberately suppressed as a preca

[PATCH 4.14 080/183] platform/x86: thinkpad_acpi: suppress warning about palm detection

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Herrmann [ Upstream commit 587d8628fb71c3bfae29fb2bbe84c1478c59bac8 ] This patch prevents the thinkpad_acpi driver from warning about 2 event codes returned for keyboard palm-detection.

[PATCH 4.14 082/183] blk-mq-debugfs: dont allow write on attributes with seq_operations set

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eryu Guan [ Upstream commit 6b136a24b05c81a24e0b648a4bd938bcd0c4f69e ] Attributes that only implement .seq_ops are read-only, any write to them should be rejected. But currently kernel would

[PATCH 4.14 078/183] i40evf: Dont schedule reset_task when device is being removed

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Avinash Dayanand [ Upstream commit 06aa040f039404a0039a5158cd12f41187487a1f ] When a host disables and enables a PF device, all the associated VFs are removed and added back in. It also gener

[PATCH 4.14 081/183] KVM: s390: vsie: use READ_ONCE to access some SCB fields

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand [ Upstream commit b3ecd4aa8632a86428605ab73393d14779019d82 ] Another VCPU might try to modify the SCB while we are creating the shadow SCB. In general this is no problem - u

[PATCH 4.14 076/183] block: Set BIO_TRACE_COMPLETION on new bio during split

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Goldwyn Rodrigues [ Upstream commit 20d59023c5ec4426284af492808bcea1f39787ef ] We inadvertently set it again on the source bio, but we need to set it on the new split bio instead. Fixes: fbb

Re: [PATCH v2 1/5] vfio: ccw: fix cleanup if cp_prefetch fails

2018-04-25 Thread Halil Pasic
On 04/25/2018 04:43 AM, Dong Jia Shi wrote: [Some procedural notes: I've created a new vfio-ccw-fixes branch based on the s390 fixes branch for easier handling. Things targeted for the next release will go on the vfio-ccw branch on top of the s390 features branch, as before. Does that work for

[PATCH 4.14 032/183] Input: psmouse - fix Synaptics detection when protocol is disabled

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov [ Upstream commit 2bc4298f59d2f15175bb568e2d356b5912d0cdd9 ] When Synaptics protocol is disabled, we still need to try and detect the hardware, so we can switch to SMBus devic

[PATCH 4.14 034/183] Input: synaptics - reset the ABS_X/Y fuzz after initializing MT axes

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Hutterer [ Upstream commit 19eb4ed1141bd1096b9bc84ba9c4d03d5830c143 ] input_mt_init_slots() resets the ABS_X/Y fuzz to 0 and expects the driver to call input_mt_report_pointer_emulation

[PATCH 4.14 035/183] i40iw: Free IEQ resources

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mustafa Ismail [ Upstream commit f20d429511affab6a2a9129f46042f43e6ffe396 ] The iWARP Exception Queue (IEQ) resources are not freed when a QP is destroyed. Fix this by freeing IEQ resources w

[PATCH 4.14 031/183] PCI: Add function 1 DMA alias quirk for Marvell 9128

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson [ Upstream commit aa008206634363ef800fbd5f0262016c9ff81dea ] The Marvell 9128 is the original device generating bug 42679, from which many other Marvell DMA alias quirks have

[PATCH 4.14 065/183] Btrfs: fix scrub to repair raid6 corruption

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Liu Bo [ Upstream commit 762221f095e3932669093466aaf4b85ed9ad2ac1 ] The raid6 corruption is that, suppose that all disks can be read without problems and if the content that was read out does

[PATCH 4.14 062/183] ipmi/powernv: Fix error return code in ipmi_powernv_probe()

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun [ Upstream commit e749d328b0b450aa78d562fa26a0cd8872325dd9 ] Fix to return a negative error code from the request_irq() error handling case instead of 0, as done elsewhere in this

[PATCH 4.14 064/183] btrfs: Fix out of bounds access in btrfs_search_slot

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Borisov [ Upstream commit 9ea2c7c9da13c9073e371c046cbbc45481ecb459 ] When modifying a tree where the root is at BTRFS_MAX_LEVEL - 1 then the level variable is going to be 7 (this is t

[PATCH 4.14 056/183] PCI: Add dummy pci_irqd_intx_xlate() for CONFIG_PCI=n build

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Niklas Cassel [ Upstream commit 80db6f08b7af93eddc9487535e6150b220262637 ] Some hardware can operate in either "host" or "endpoint" mode, which means there can be both a host bridge driver an

[PATCH 4.14 058/183] kconfig: Dont leak main menus during parsing

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Magnusson [ Upstream commit 0724a7c32a54e3e50d28e19e30c59014f61d4e2c ] If a 'mainmenu' entry appeared in the Kconfig files, two things would leak: - The 'struct property' allocat

[PATCH 4.14 060/183] kconfig: Fix expr_free() E_NOT leak

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Magnusson [ Upstream commit 5b1374b3b3c2fc4f63a398adfa446fb8eff791a4 ] Only the E_NOT operand and not the E_NOT node itself was freed, due to accidentally returning too early in expr_free

[PATCH] rds: ib: Fix missing call to rds_ib_dev_put in rds_ib_setup_qp

2018-04-25 Thread Dag Moxnes
The function rds_ib_setup_qp is calling rds_ib_get_client_data and should correspondingly call rds_ib_dev_put. This call was lost in the non-error path with the introduction of error handling done in commit 3b12f73a5c29 ("rds: ib: add error handle") Signed-off-by: Dag Moxnes --- net/rds/ib_cm.c

[PATCH 4.14 029/183] xprtrdma: Fix backchannel allocation of extra rpcrdma_reps

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever [ Upstream commit d698c4a02ee02053bbebe051322ff427a2dad56a ] The backchannel code uses rpcrdma_recv_buffer_put to add new reps to the free rep list. This also decrements rb_recv_c

Re: [PATCHv3 07/11] arm64: add basic pointer authentication support

2018-04-25 Thread Catalin Marinas
Hi Mark, On Tue, Apr 17, 2018 at 07:37:31PM +0100, Mark Rutland wrote: > diff --git a/arch/arm64/include/asm/mmu_context.h > b/arch/arm64/include/asm/mmu_context.h > index 39ec0b8a689e..caf0d3010112 100644 > --- a/arch/arm64/include/asm/mmu_context.h > +++ b/arch/arm64/include/asm/mmu_context.h >

[PATCH 4.14 055/183] MIPS: Fix clean of vmlinuz.{32,ecoff,bin,srec}

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan [ Upstream commit 5f2483eb2423152445b39f2db59d372f523e664e ] Make doesn't expand shell style "vmlinuz.{32,ecoff,bin,srec}" to the 4 separate files, so none of these files get clea

[PATCH 4.14 051/183] net: stmmac: dwmac-meson8b: propagate rate changes to the parent clock

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martin Blumenstingl [ Upstream commit fb7d38a70e1d8ffd54f7a7464dcc4889d7e490ad ] On Meson8b the only valid input clock is MPLL2. The bootloader configures that to run at 52394Hz which can

[PATCH 4.14 053/183] IB/cq: Dont force IB_POLL_DIRECT poll context for ib_process_cq_direct

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sagi Grimberg [ Upstream commit 246d8b184c100e8eb6b4e8c88f232c2ed2a4e672 ] polling the completion queue directly does not interfere with the existing polling logic, hence drop the requirement

[RFC v2 2/2] pmem: device flush over VIRTIO

2018-04-25 Thread Pankaj Gupta
This patch adds functionality to perform flush from guest to hosy over VIRTIO when 'ND_REGION_VIRTIO'flag is set on nd_negion. Flag is set by 'virtio-pmem' driver. Signed-off-by: Pankaj Gupta --- drivers/nvdimm/region_devs.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/n

[RFC v2] qemu: Add virtio pmem device

2018-04-25 Thread Pankaj Gupta
This patch adds virtio-pmem Qemu device. This device presents memory address range information to guest which is backed by file backend type. It acts like persistent memory device for KVM guest. Guest can perform read and persistent write operations on this memory range with the help of DAX c

[RFC v2 1/2] virtio: add pmem driver

2018-04-25 Thread Pankaj Gupta
This patch adds virtio-pmem driver for KVM guest. Guest reads the persistent memory range information from Qemu over VIRTIO and registers it on nvdimm_bus. It also creates a nd_region object with the persistent memory range information so that existing 'nvdimm/pmem' driver can reserve this

[PATCH 4.14 046/183] dm thin: fix documentation relative to low water mark threshold

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: mulhern [ Upstream commit 9b28a1102efc75d81298198166ead87d643a29ce ] Fixes: 1. The use of "exceeds" when the opposite of exceeds, falls below, was meant. 2. Properly speaking, a table can not

[PATCH 4.14 048/183] blk-mq: turn WARN_ON in __blk_mq_run_hw_queue into printk

2018-04-25 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei [ Upstream commit 7df938fbc4ee641e70e05002ac67c24b19e86e74 ] We know this WARN_ON is harmless and in reality it may be trigged, so convert it to printk() and dump_stack() to avoid to

Re: [PATCH v3 5/5] drm/arm/malidp: Added the late system pm functions

2018-04-25 Thread Liviu Dudau
On Wed, Apr 25, 2018 at 09:17:22AM +0200, Daniel Vetter wrote: > On Tue, Apr 24, 2018 at 07:12:47PM +0100, Ayan Kumar Halder wrote: > > malidp_pm_suspend_late checks if the runtime status is not suspended > > and if so, invokes malidp_runtime_pm_suspend which disables the > > display engine/core in

[RFC v2 0/2] kvm "fake DAX" device flushing

2018-04-25 Thread Pankaj Gupta
This is RFC V2 for 'fake DAX' flushing interface sharing for review. This patchset has two main parts: - Guest virtio-pmem driver Guest driver reads persistent memory range from paravirt device and registers with 'nvdimm_bus'. 'nvdimm/pmem' driver uses this information to allocate persiste

Re: [PATCH 0/8] Fix year 2038 issue for sound subsystem

2018-04-25 Thread Arnd Bergmann
On Wed, Apr 25, 2018 at 9:23 AM, Jaroslav Kysela wrote: > Dne 24.4.2018 v 15:37 Arnd Bergmann napsal(a): >> On Tue, Apr 24, 2018 at 3:29 PM, Jaroslav Kysela wrote: >>> Dne 24.4.2018 v 14:06 Baolin Wang napsal(a): Since many structures will use timespec type variables to record time stamp >>>

Re: [PATCH V3] cpufreq: powernv: Fix the hardlockup by synchronus smp_call in timer interrupt

2018-04-25 Thread Nicholas Piggin
On Wed, 25 Apr 2018 16:29:31 +0530 Shilpasri G Bhat wrote: > gpstate_timer_handler() uses synchronous smp_call to set the pstate > on the requested core. This causes the below hard lockup: > > [c03fe566b320] [c01d5340] smp_call_function_single+0x110/0x180 > (unreliable) > [c03fe

Re: [PATCH 06/22] arc: use generic dma_noncoherent_ops

2018-04-25 Thread Alexey Brodkin
Hi Christoph, On Fri, 2018-04-20 at 10:02 +0200, Christoph Hellwig wrote: > Switch to the generic noncoherent direct mapping implementation. > > Signed-off-by: Christoph Hellwig > --- > arch/arc/Kconfig | 4 + > arch/arc/include/asm/Kbuild| 1 + > arch/arc/include/

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