[PATCH 4.14 109/159] ARM: dts: Fix elm interrupt compiler warning

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren [ Upstream commit d364b038bc962f494cffb8f6cb6cddbe41bcb5b6 ] Looks like the interrupt property is missing the controller and level information causing: Warning (interrupts_prop

[PATCH 4.14 108/159] s390/dasd: prevent prefix I/O error

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Haberland [ Upstream commit da340f921d3454f1521671c7a5a43ad3331fbe50 ] Prevent that a prefix flag is set based on invalid configuration data. The validity.verify_base flag should only

[PATCH 4.14 106/159] PM / runtime: Fix handling of suppliers with disabled runtime PM

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" [ Upstream commit 31eb7431805493e10f4731f366cf4d4e3e952035 ] Prevent rpm_get_suppliers() from returning an error code if runtime PM is disabled for one or more of the supp

[PATCH 4.14 104/159] m68k: add missing SOFTIRQENTRY_TEXT linker section

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Greg Ungerer [ Upstream commit 969de0988b77e5a57aac2f7270191a3c50540c52 ] Commit be7635e7287e ("arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections") added a new linker s

[PATCH 4.14 105/159] powerpc/perf: Fix oops when grouping different pmu events

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ravi Bangoria [ Upstream commit 5aa04b3eb6fca63d2e9827be656dcadc26d54e11 ] When user tries to group imc (In-Memory Collections) event with normal event, (sometime) kernel crashes with followi

[PATCH 4.14 102/159] bnxt_en: Need to unconditionally shut down RoCE in bnxt_shutdown

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ray Jui [ Upstream commit a7f3f939dd7d8398acebecd1ceb2e9e7ffbe91d2 ] The current 'bnxt_shutdown' implementation only invokes 'bnxt_ulp_shutdown' to shut down RoCE in the case when the system

[PATCH 4.14 101/159] scripts/kernel-doc: Dont fail with status != 0 if error encountered with -none

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon [ Upstream commit e814bccbafece52a24e152d2395b5d49eef55841 ] My bisect scripts starting running into build failures when trying to compile 4.15-rc1 with the builds failing with th

[PATCH 4.14 103/159] ipvlan: Add the skb->mark as flow4s member to lookup route

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Gao Feng [ Upstream commit a98a4ebc8c61d20f0150d6be66e0e65223a347af ] Current codes don't use skb->mark to assign flowi4_mark, it would make the policy route rule with fwmark doesn't work as

[PATCH 4.14 075/159] perf test: Fix test 21 for s390x

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Richter [ Upstream commit 996548499df61babae5306544c7daf5fd39db31c ] Test case 21 (Number of exit events of a simple workload) fails on s390x. The reason is the invalid sample frequenc

[PATCH 4.14 100/159] iio: fix kernel-doc build errors

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap [ Upstream commit c175cb7cd953782bbf4e8bdf088ad61440d6dde5 ] Fix build errors in kernel-doc notation. Symbols that end in '_' have a special meaning, but adding a '*' makes them

[PATCH 4.14 098/159] md/raid1/10: add missed blk plug

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li [ Upstream commit 18022a1bd3709b74ca31ef0b28fccd52bcd6c504 ] flush_pending_writes isn't always called with block plug, so add it, and plug works in nested way. Signed-off-by: Shao

[PATCH 4.14 097/159] phylink: ensure we take the link down when phylink_stop() is called

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Russell King [ Upstream commit 2012b7d6b2868c532f22d9172c8b24611637eb48 ] Ensure that we tell the MAC to take the link down when phylink_stop() is called, and that this completes prior to phy

[PATCH 4.14 099/159] iio: proximity: sx9500: Assign interrupt from GpioIo()

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko [ Upstream commit e53111ad5deaef98d8c18a9933ef1f5624c5979d ] The commit 0f0796509c07 ("iio: remove gpio interrupt probing from drivers that use a single interrupt") removed

[PATCH 4.14 096/159] sfp: fix RX_LOS signal handling

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Russell King [ Upstream commit acf1c02f023926b8b04672a9e81b1711ae681619 ] The options word is a be16 quantity, so we need to test the flags having converted the endian-ness. Convert the flag

[PATCH 4.14 093/159] IB/core: Init subsys if compiled to vmlinuz-core

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Monakhov [ Upstream commit a9cd1a673737dd81332fce1145801bfacfb90d90 ] Once infiniband is compiled as a core component its subsystem must be enabled before device initialization. Otherw

[PATCH 4.14 091/159] i40iw: Correct ARP index mask

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mustafa Ismail [ Upstream commit a283cdc4d3670700182c820b59078387f9a01a30 ] The ARP table entry indexes are aliased to 12bits instead of the intended 16bits when uploaded to the QP Context. T

[PATCH 4.14 094/159] md/raid5: correct degraded calculation in raid5_error

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: bingjingc [ Upstream commit aff69d89bdebc39235cddb4445371eb979b49685 ] When disk failure occurs on new disks for reshape, mddev->degraded is not calculated correctly. Faulty bit of the failur

[PATCH 4.14 090/159] i40iw: Do not free sqbuf when event is I40IW_TIMER_TYPE_CLOSE

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mustafa Ismail [ Upstream commit 10499986dbd8778e1acf9f9d2e166800dfee44b4 ] When the event type is I40IW_TIMER_TYPE_CLOSE, there is no sqbuf and it should not be freed as one in i40iw_schedul

[PATCH 4.14 092/159] RDMA/cma: Make sure that PSN is not over max allowed

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Moni Shoua [ Upstream commit 23a9cd2ad90543e9da3786878d2b2729c095439d ] This patch limits the initial value for PSN to 24 bits as spec requires. Signed-off-by: Moni Shoua Signed-off-by: Muk

[PATCH 4.14 086/159] IB/hfi1: Initialize bth1 in 16B rc ack builder

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dennis Dalessandro [ Upstream commit 8935780b9f7bbad0f2eb5dd43f61ba7b509a1575 ] It is possible the bth1 variable could be used uninitialized so going ahead and giving it a default value. Oth

[PATCH 4.14 087/159] meson-gx-socinfo: Fix package id parsing

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arnaud Patard [ Upstream commit 044d71bc6cdee8980d0fdc35ec79a0d5818b2ce3 ] I've noticed the following message while booting a S905X based board: soc soc0: Amlogic Meson GXL (S905D) Revision

[PATCH 4.14 085/159] pinctrl: sunxi: Fix A64 UART mux value

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andre Przywara [ Upstream commit 7c5c2c2d18d778e51fd8b899965097168306031c ] To use pin PF4 as the RX signal of UART0, we have to write 0b011 into the respective pin controller register. Fix t

[PATCH 4.14 084/159] pinctrl: sunxi: Fix A80 interrupt pin bank

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andre Przywara [ Upstream commit 6ad4cc8d1ac483e0fd33f605fb2788b0ecf51ed4 ] On the A80 the pins on port B can trigger interrupts, and those are assigned to the second interrupt bank. Having t

[PATCH 4.14 041/159] rds: tcp: correctly sequence cleanup on netns deletion.

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sowmini Varadhan commit 681648e67d43cf269c5590ecf021ed481f4551fc upstream. Commit 8edc3affc077 ("rds: tcp: Take explicit refcounts on struct net") introduces a regression in rds-tcp netns clea

[PATCH 4.14 082/159] gpio: 74x164: Fix crash during .remove()

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven [ Upstream commit a158531f3c92467df0e93e000d58185acae78a6e ] Commit 7ebc194d0fd4bb0f ("gpio: 74x164: Introduce 'enable-gpios' property") added a new member gpiod_oe to the

[PATCH 4.14 032/159] blk_rq_map_user_iov: fix error override

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Douglas Gilbert commit 69e0927b3774563c19b5fb32e91d75edc147fb62 upstream. During stress tests by syzkaller on the sg driver the block layer infrequently returns EINVAL. Closer inspection shows

[PATCH 4.14 083/159] gpio: davinci: Assign first bank regs for unbanked case

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Keerthy [ Upstream commit 7f8e2a85c1b0bd440ffe87be82c79fdc319e8291 ] As per the re-design assign the first bank regs for unbanked irq case. This was missed out in the original patch. Signed-

[PATCH 4.14 073/159] perf top: Fix window dimensions change handling

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa [ Upstream commit 89d0aeab4252adc2a7ea693637dd21c588bfa2d1 ] The stdio perf top crashes when we change the terminal window size. The reason is that we assumed we get the perf_top po

[PATCH 4.14 039/159] netfilter: xt_cgroup: initialize info->priv in cgroup_mt_check_v1()

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit ba7cd5d95f25cc6005f687dabdb4e7a6063adda9 upstream. xt_cgroup_info_v1->priv is an internal pointer only used for kernel, we should not trust what user-space provides. Reported

[PATCH 4.14 037/159] netfilter: ipt_CLUSTERIP: fix out-of-bounds accesses in clusterip_tg_check()

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Vyukov commit 1a38956cce5eabd7b74f94bab70265e4df83165e upstream. Commit 136e92bbec0a switched local_nodes from an array to a bitmask but did not add proper bounds checks. As the result

[PATCH 4.14 036/159] netfilter: x_tables: avoid out-of-bounds reads in xt_request_find_{match|target}

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit da17c73b6eb74aad3c3c0654394635675b623b3e upstream. It looks like syzbot found its way into netfilter territory. Issue here is that @name comes from user space and might no

[PATCH 4.14 070/159] perf annotate: Do not truncate instruction names at 6 chars

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ravi Bangoria [ Upstream commit 05d0e62d9fa0f1002cf82009ef31b36174da5472 ] There are many instructions, esp on PowerPC, whose mnemonics are longer than 6 characters. Using precision limit cau

[PATCH 4.14 038/159] netfilter: on sockopt() acquire sock lock only in the required scope

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni commit 3f34cfae1238848fd53f25e5c8fd59da57901f4b upstream. Syzbot reported several deadlocks in the netfilter area caused by rtnl lock and socket lock being acquired with a differen

[PATCH 4.14 071/159] perf test shell: Fix check open filename arg using perf trace on s390x

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Richter [ Upstream commit ccafc38f1c778847ab6d53dd7933260426731cf3 ] This 'perf test' case fails on s390x. The 'touch' command on s390x uses the 'openat' system call to open the file n

[PATCH 4.14 069/159] perf help: Fix a bug during strstart() conversion

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Namhyung Kim [ Upstream commit af98f2273fd0af31ce327cd1406b67c7be0b6734 ] The commit 8e99b6d4533c changed prefixcmp() to strstart() but missed to change the return value in some place. It ma

[PATCH 4.14 067/159] ARM: dts: am437x-cm-t43: Correct the dmas property of spi0

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Ujfalusi [ Upstream commit ca41e244517d6d3f1600c229ff7ca615049c1e9c ] The DMA binding for eDMA needs 2 parameters, not 1. The second, missing parameter is the tptc to be used for the ch

[PATCH 4.14 065/159] ARM: dts: logicpd-somlv: Fix wl127x pinmux

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Adam Ford [ Upstream commit cd7594ac3281722cb8f10d6f6c7e4287747c7a9d ] The pin assignment for the wl127x interrupt was incorrect. I am not sure how this every worked. This also eliminates a

[PATCH 4.14 063/159] ARM: dts: Fix omap4 hang with GPS connected to USB by using wakeupgen

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren [ Upstream commit cf87634c8b24e24bf379b8c6807c8b0fb5f23567 ] There's been a reproducable USB OHCI/EHCI cpuidle related hang on omap4 for a while that happens after about 20 - 40

Re: [PATCH 2/2] selftests/powerpc: Add core file test for Protection Key registers

2018-02-23 Thread Ram Pai
On Fri, Feb 23, 2018 at 03:33:44PM -0300, Thiago Jung Bauermann wrote: > This test verifies that the AMR, IAMR and UAMOR are being written to a > process' core file. > Acked-by: Ram Pai Tested-by: Ram Pai > Signed-off-by: Thiago Jung Bauermann > --- > tools/testing/selftests/powerpc/ptrace/M

[PATCH 4.14 035/159] netfilter: x_tables: fix int overflow in xt_alloc_table_info()

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Vyukov commit 889c604fd0b5f6d3b8694ade229ee44124de1127 upstream. syzkaller triggered OOM kills by passing ipt_replace.size = -1 to IPT_SO_SET_REPLACE. The root cause is that SMP_ALIGN()

[PATCH 4.14 061/159] ARM: OMAP2+: Fix SRAM virt to phys translation for save_secure_ram_context

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren [ Upstream commit d09220a887f70368afa79e850c95e74890c0a32d ] With the CMA changes from Joonsoo Kim , it was noticed that n900 stopped booting. After investigating it turned out

[PATCH 4.14 059/159] usb: build drivers/usb/common/ when USB_SUPPORT is set

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap [ Upstream commit c9d24f78268be444e803fb2bb138a2f598de9c23 ] PHY drivers can use ULPI interfaces when CONFIG_USB (which is host side support) is not enabled, so also build driver

[PATCH 4.14 057/159] staging: iio: ad5933: switch buffer mode to software

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexandru Ardelean commit 7d2b8e6aaf9ee87910c2337e1c59bb5d3e3ba8c5 upstream. Since commit 152a6a884ae1 ("staging:iio:accel:sca3000 move to hybrid hard / soft buffer design.") the buffer mechan

[PATCH 4.14 055/159] staging: fsl-mc: fix build testing on x86

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 02b7b2844c2ffd3b614ec2b9293e8c7f041d60da upstream. Selecting GENERIC_MSI_IRQ_DOMAIN on x86 causes a compile-time error in some configurations: drivers/base/platform-msi.c

Re: [RFC PATCH v3 6/8] x86/pti: don't mark the user PGD with _PAGE_NX.

2018-02-23 Thread Dave Hansen
On 02/23/2018 09:58 AM, Konrad Rzeszutek Wilk wrote: >> We also need to clear the RSB on vmexit, as documented. And if we >> really want 100% support for retpoline on SKL+ instead of saying "use >> IBRS if you're paranoid", then there are a few more cases where we need >> to stuff it to avoid under

[PATCH 4.14 053/159] binder: check for binder_thread allocation failure in binder_poll()

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit f88982679f54f75daa5b8eff3da72508f1e7422f upstream. If the kzalloc() in binder_get_thread() fails, binder_poll() dereferences the resulting NULL pointer. Fix it by returnin

[PATCH 4.14 052/159] staging: android: ashmem: Fix a race condition in pin ioctls

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit ce8a3a9e76d0193e2e8d74a06d275b3c324ca652 upstream. ashmem_pin_unpin() reads asma->file and asma->size before taking the ashmem_mutex, so it can race with other operations

[PATCH 4.14 051/159] ANDROID: binder: synchronize_rcu() when using POLLFREE.

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Martijn Coenen commit 5eeb2ca02a2f6084fc57ae5c244a38baab07033a upstream. To prevent races with ep_remove_waitqueue() removing the waitqueue at the same time. Reported-by: syzbot+a2a3c4909716e

[PATCH 4.14 049/159] dn_getsockoptdecnet: move nf_{get/set}sockopt outside sock lock

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni commit dfec091439bb2acf763497cfc58f2bdfc67c56b7 upstream. After commit 3f34cfae1238 ("netfilter: on sockopt() acquire sock lock only in the required scope"), the caller of nf_{get/

Re: Removing architectures without upstream gcc support

2018-02-23 Thread James Bottomley
On Fri, 2018-02-23 at 18:19 +, Al Viro wrote: [...] > IIRC, parisc/qemu stuff had been announced a while ago; I have, but it didn't work sufficiently for me to either boot a kernel using system emulation or start an architecture container using user emulation.  I'll try again now that qemu has

[PATCH 4.14 047/159] ARM: 8743/1: bL_switcher: add MODULE_LICENSE tag

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit a21b4c10c7bf5b58112afa20d6fa829e8d74e3e6 upstream. Without this tag, we get a build warning: WARNING: modpost: missing MODULE_LICENSE() in arch/arm/common/bL_switcher_du

[PATCH 4.14 045/159] ASoC: ux500: add MODULE_LICENSE tag

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 1783c9d7cb7bc3181b9271665959b87280d98d8e upstream. This adds MODULE_LICENSE/AUTHOR/DESCRIPTION tags to the ux500 platform drivers, to avoid these build warnings: WARNING:

[PATCH 4.14 044/159] net_sched: gen_estimator: fix lockdep splat

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 40ca54e3a686f13117f3de0c443f8026dadf7c44 upstream. syzbot reported a lockdep splat in gen_new_estimator() / est_fetch_counters() when attempting to lock est->stats_lock. S

Re: [PATCH] fs: proc: use down_read_killable in proc_pid_cmdline_read()

2018-02-23 Thread Alexey Dobriyan
On Wed, Feb 21, 2018 at 03:13:10PM -0800, Yang Shi wrote: > >>> 2) access_remote_vm() et al will do the same ->mmap_sem, and > >> Yes, it does. But, __access_remote_vm() is called by access_process_vm() > >> too, which is used by much more places, i.e. ptrace, so I was not sure > >> if it is prefe

[PATCH 4.14 043/159] net: avoid skb_warn_bad_offload on IS_ERR

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn commit 8d74e9f88d65af8bb2e095aff506aa6eac755ada upstream. skb_warn_bad_offload warns when packets enter the GSO stack that require skb_checksum_help or vice versa. Do not warn

[PATCH 4.14 008/159] esp: Fix GRO when the headers not fully in the linear part of the skb.

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Klassert commit 374d1b5a81f7f9cc5e7f095ac3d5aff3f6600376 upstream. The GRO layer does not necessarily pull the complete headers into the linear part of the skb, a part may remain on th

[PATCH 4.14 000/159] 4.14.22-stable review

2018-02-23 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.22 release. There are 159 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 made by Sun Feb 25 17:06:38 UTC 2018. Anything recei

Re: [PATCH v4 00/16] R-Car DU: Convert LVDS code to bridge driver

2018-02-23 Thread Frank Rowand
On 02/23/18 01:25, Laurent Pinchart wrote: > Hi Frank, > > On Friday, 23 February 2018 05:20:43 EET Frank Rowand wrote: >> On 02/22/18 02:25, Laurent Pinchart wrote: >>> On Thursday, 22 February 2018 08:07:14 EET Frank Rowand wrote: On 02/20/18 15:10, Laurent Pinchart wrote: > Hello,

Re: [PATCH 1/2] selftests/powerpc: Add ptrace tests for Protection Key registers

2018-02-23 Thread Ram Pai
On Fri, Feb 23, 2018 at 03:33:43PM -0300, Thiago Jung Bauermann wrote: > This test exercises read and write access to the AMR, IAMR and UAMOR. > Tested-by: Ram Pai Acked-by: Ram Pai > Signed-off-by: Thiago Jung Bauermann > --- > tools/testing/selftests/powerpc/include/reg.h | 1 + > t

[PATCH 4.14 006/159] cfg80211: check dev_set_name() return value

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 59b179b48ce2a6076448a44531242ac2b3f6cef2 upstream. syzbot reported a warning from rfkill_alloc(), and after a while I think that the reason is that it was doing fault inje

[PATCH 4.14 005/159] bpf: mark dst unknown on inconsistent {s, u}bounds adjustments

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 6f16101e6a8b4324c36e58a29d9e0dbb287cdedb upstream. syzkaller generated a BPF proglet and triggered a warning with the following: 0: (b7) r0 = 0 1: (d5) if r0 s<= 0x

[PATCH 4.14 030/159] staging: android: ion: Add __GFP_NOWARN for system contig heap

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Laura Abbott commit 0c75f10312a35b149b2cebb1832316b35c2337ca upstream. syzbot reported a warning from Ion: WARNING: CPU: 1 PID: 3485 at mm/page_alloc.c:3926 ... __alloc_pages_nodemask

[PATCH 4.14 031/159] staging: android: ion: Switch from WARN to pr_warn

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Laura Abbott commit e4e179a844f52e907e550f887d0a2171f1508af1 upstream. Syzbot reported a warning with Ion: WARNING: CPU: 0 PID: 3502 at drivers/staging/android/ion/ion-ioctl.c:73 ion_ioctl+0

[PATCH 4.14 004/159] kcm: Only allow TCP sockets to be attached to a KCM mux

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tom Herbert commit 581e7226a5d43f629eb6399a121f85f6a15f81be upstream. TCP sockets for IPv4 and IPv6 that are not listeners or in closed stated are allowed to be attached to a KCM mux. Fixes:

[GIT PULL] arm64 fixes for 4.16-rc3

2018-02-23 Thread Catalin Marinas
Hi Linus, Please pull the arm64 and perf fixes below (the latter pushed by Will to the arm64 fixes/core branch). Thanks. The following changes since commit 91ab883eb21325ad80f3473633f794c78ac87f51: Linux 4.16-rc2 (2018-02-18 17:29:42 -0800) are available in the git repository at: git://git

[PATCH 4.14 029/159] crypto: x86/twofish-3way - Fix %rbp usage

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit d8c7fe9f2a486a6e5f0d5229ca43807af5ab22c6 upstream. Using %rbp as a temporary register breaks frame pointer convention and breaks stack traces when unwinding from an interru

[PATCH 4.14 028/159] media: pvrusb2: properly check endpoint types

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Konovalov commit 72c27a68a2a3f650f0dc7891ee98f02283fc11af upstream. As syzkaller detected, pvrusb2 driver submits bulk urb withount checking the the endpoint type is actually blunk. Add

[PATCH 4.14 027/159] selinux: skip bounded transition processing if the policy isnt loaded

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore commit 4b14752ec4e0d87126e636384cf37c8dd9df157c upstream. We can't do anything reasonable in security_bounded_transition() if we don't have a policy loaded, and in fact we could run

[PATCH 4.14 025/159] ptr_ring: try vmalloc() when kmalloc() fails

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit 0bf7800f1799b5b1fd7d4f024e9ece53ac489011 upstream. This patch switch to use kvmalloc_array() for using a vmalloc() fallback to help in case kmalloc() fails. Reported-by: syz

[PATCH 4.14 021/159] ALSA: line6: Add a sanity check for invalid EPs

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 2a4340c57717162c6bf07a0860d05711d4de994b upstream. As syzkaller spotted, currently line6 drivers submit a URB with the fixed EP without checking whether it's actually avail

[PATCH 4.14 002/159] vhost: use mutex_lock_nested() in vhost_dev_lock_vqs()

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit e9cb4239134c860e5f92c75bf5321bd377bb505b upstream. We used to call mutex_lock() in vhost_dev_lock_vqs() which tries to hold mutexes of all virtqueues. This may confuse lockde

[PATCH 4.14 018/159] blktrace: fix unlocked registration of tracepoints

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jens Axboe commit a6da0024ffc19e0d47712bb5ca4fd083f76b07df upstream. We need to ensure that tracepoints are registered and unregistered with the users of them. The existing atomic count isn't

[PATCH 4.14 016/159] xfrm: check id proto in validate_tmpl()

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit 6a53b7593233ab9e4f96873ebacc0f653a55c3e1 upstream. syzbot reported a kernel warning in xfrm_state_fini(), which indicates that we have entries left in the list net->xfrm.state

[PATCH 4.14 015/159] xfrm: Fix stack-out-of-bounds read on socket policy lookup.

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Klassert commit ddc47e4404b58f03e98345398fb12d38fe291512 upstream. When we do tunnel or beet mode, we pass saddr and daddr from the template to xfrm_state_find(), this is ok. On transp

[PATCH 4.14 012/159] mm,vmscan: Make unregister_shrinker() no-op if register_shrinker() failed.

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit bb422a738f6566f7439cd347d54e321e4fe92a9f upstream. Syzbot caught an oops at unregister_shrinker() because combination of commit 1d3d4437eae1bb29 ("vmscan: per-node deferred

[PATCH 4.14 001/159] usb: core: Add a helper function to check the validity of EP type in URB

2018-02-23 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit e901b9873876ca30a09253731bd3a6b00c44b5b0 upstream. This patch adds a new helper function to perform a sanity check of the given URB to see whether it contains a valid endpo

[PATCH 4.9 130/145] [media] tw5864: use dev_warn instead of WARN to shut up warning

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 27430d19a91615245babaa9b216d0807636903a0 upstream. tw5864_frameinterval_get() only initializes its output when it successfully identifies the video standard in tw5864_input

[PATCH 4.9 129/145] [media] em28xx: only use mt9v011 if camera support is enabled

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 190b23b4eb997767afad186bd8c96badceabf39e upstream. In randconfig builds that select VIDEO_EM28XX_V4L2 and MEDIA_SUBDRV_AUTOSELECT, but not MEDIA_CAMERA_SUPPORT, we get a Kc

[PATCH 4.9 139/145] arm64: fix warning about swapper_pg_dir overflow

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 12f043ff2b28fa64c9123b454cbe30a8a9e1967e upstream. With 4 levels of 16KB pages, we get this warning about the fact that we are copying a whole page into an array that is de

Re: [PATCH] fs: proc: use down_read_killable in proc_pid_cmdline_read()

2018-02-23 Thread Yang Shi
On 2/23/18 11:33 AM, Alexey Dobriyan wrote: On Wed, Feb 21, 2018 at 03:13:10PM -0800, Yang Shi wrote: 2) access_remote_vm() et al will do the same ->mmap_sem, and Yes, it does. But, __access_remote_vm() is called by access_process_vm() too, which is used by much more places, i.e. ptrace, so

[PATCH 4.9 137/145] spi: bcm-qspi: shut up warning about cfi header inclusion

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann When CONFIG_MTD_CFI is disabled, we get a warning for this spi driver: include/linux/mtd/cfi.h:76:2: #warning No CONFIG_MTD_CFI_Ix selected. No NOR chip support can work. [-Werro

[PATCH 2/2] efi/esrt: mark ESRT memory region as nomap

2018-02-23 Thread Tyler Baicar
The ESRT memory region is being exposed as System RAM in /proc/iomem which is wrong because it cannot be overwritten. This memory is needed for kexec kernels in order to properly initialize ESRT, so if it is overwritten it will cause ESRT failures in the kexec kernel. Mark this region as nomap so t

[PATCH 0/2] ESRT fixes for relocatable kexec'd kernel

2018-02-23 Thread Tyler Baicar
Currently on arm64 ESRT memory does not appear to be properly blocked off. Upon successful initialization, ESRT prints out the memory region that it exists in like: esrt: Reserving ESRT space from 0x0a4c1c18 to 0x0a4c1cf0. But then by dumping /proc/iomem this region appears as par

[PATCH 1/2] efi/esrt: fix unsupported version initialization failure

2018-02-23 Thread Tyler Baicar
If ESRT initialization fails due to an unsupported version, the early_memremap allocation is never unmapped. This will cause an early ioremap leak. So, make sure to unmap the memory allocation before returning from efi_esrt_init(). Signed-off-by: Tyler Baicar --- drivers/firmware/efi/esrt.c | 2

[PATCH v2 1/5] proc: make /proc/*/cmdline go through LSM

2018-02-23 Thread Alexey Dobriyan
/proc/*/mem and /proc/*/environ use common code to check if open is allowed. Essentially they all access target task memory. /proc/*/cmdline should be subject to the same checks as it does what /proc/*/environ does. ->security_ptrace_access_check LSM hook will be called allowing LSM to interfere.

[PATCH 4.9 135/145] arm64: sunxi: always enable reset controller

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 900a9020af7a023f9b64c919fddf8a7486108962 upstream. The sunxi clk driver causes a link error when the reset controller subsystem is disabled: drivers/clk/built-in.o: In fun

[PATCH 4.9 132/145] clk: meson: gxbb: fix build error without RESET_CONTROLLER

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tobias Regnery commit dbed87a9d3a857a86f602775b5845f5f6d9652b5 upstream. With CONFIG_RESET_CONTROLLER=n we see the following link error in the meson gxbb clk driver: drivers/built-in.o: In fun

[PATCH 4.9 136/145] binfmt_elf: compat: avoid unused function warning

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann When CONFIG_ELF_CORE is disabled, we get a harmless warning in the compat version of binfmt_elf: fs/compat_binfmt_elf.c:58:13: error: 'cputime_to_compat_timeval' defined but not

[PATCH 4.9 133/145] kasan: rework Kconfig settings

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit e7c52b84fb18f08ce49b6067ae6285aca79084a8 upstream. We get a lot of very large stack frames using gcc-7.0.1 with the default -fsanitize-address-use-after-scope --param asan-

[PATCH 4.9 134/145] drm/i915: hide unused intel_panel_set_backlight function

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit fd94d53e55bd487368dfee9f1af24da78b2bb582 upstream. Building i915 without backlight support results in a harmless warning for intel_panel_set_backlight: drivers/gpu/drm/i91

[PATCH 4.9 082/145] mm/early_ioremap: Fix boot hang with earlyprintk=efi,keep

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Young [ Upstream commit 7f6f60a1ba52538c16f26930bfbcfe193d9d746a ] earlyprintk=efi,keep does not work any more with a warning in mm/early_ioremap.c: WARN_ON(system_state != SYSTEM_BOOTING

[PATCH 4.9 090/145] crypto: talitos - fix Kernel Oops on hashing an empty file

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: LEROY Christophe commit 87a81dce53b1ea61acaeefa5191a0376a2d1d721 upstream. Performing the hash of an empty file leads to a kernel Oops [ 44.504600] Unable to handle kernel paging request for

[PATCH 4.9 088/145] powerpc/64s: Simple RFI macro conversions

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin commit 222f20f140623ef6033491d0103ee0875fe87d35 upstream. This commit does simple conversions of rfi/rfid to the new macros that include the expected destination context. By sim

[PATCH 4.9 087/145] powerpc/64s: Fix conversion of slb_miss_common to use RFI_TO_USER/KERNEL

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman The back port of commit c7305645eb0c ("powerpc/64s: Convert slb_miss_common to use RFI_TO_USER/KERNEL") missed a hunk needed to restore cr6. Fixes: 48cc95d4e4d6 ("powerpc/64s:

[PATCH 4.9 089/145] powerpc/64s: Improve RFI L1-D cache flush fallback

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin commit bdcb1aefc5b3f7d0f1dc8b02673602bca2ff7a4b upstream. The fallback RFI flush is used when firmware does not provide a way to flush the cache. It's a "displacement flush" th

Re: [PATCH] fs: proc: use down_read_killable in proc_pid_cmdline_read()

2018-02-23 Thread Alexey Dobriyan
On Fri, Feb 23, 2018 at 11:42:34AM -0800, Yang Shi wrote: > > > On 2/23/18 11:33 AM, Alexey Dobriyan wrote: > > On Wed, Feb 21, 2018 at 03:13:10PM -0800, Yang Shi wrote: > > > > 2) access_remote_vm() et al will do the same ->mmap_sem, and > Yes, it does. But, __access_remote_vm() is call

[PATCH 4.9 120/145] security/keys: BIG_KEY requires CONFIG_CRYPTO

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 3cd18d1981731d5f74b8e437009124ac99905d14 upstream. The recent rework introduced a possible randconfig build failure when CONFIG_CRYPTO configured to only allow modules: se

[PATCH 4.9 086/145] hippi: Fix a Fix a possible sleep-in-atomic bug in rr_close

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jia-Ju Bai [ Upstream commit 6e266610eb6553cfb7e7eb5d11914bd01509c406 ] The driver may sleep under a spinlock. The function call path is: rr_close (acquire the spinlock) free_irq --> may sle

[PATCH 4.9 117/145] ALSA: hda/ca0132 - fix possible NULL pointer use

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 46a049dae771b95e77ac6c823330f4a60f600236 upstream. gcc-7 caught what it considers a NULL pointer dereference: sound/pci/hda/patch_ca0132.c: In function 'dspio_scp.constpro

[PATCH 4.9 116/145] arm64: Kconfig: select COMPAT_BINFMT_ELF only when BINFMT_ELF is set

2018-02-23 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kefeng Wang commit 2e449048a25eb75d48dff12882b93f26d130a1c6 upstream. Fix warning: "(COMPAT) selects COMPAT_BINFMT_ELF which has unmet direct dependencies (COMPAT && BINFMT_ELF)" Signed-off-by

<    4   5   6   7   8   9   10   11   12   13   >