[PATCH 3.18 22/31] l2tp: remove l2specific_len dependency in l2tp_core

2019-02-04 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi commit 62e7b6a57c7b9bf3c6fd99418eeec05b08a85c38 upstream. Remove l2specific_len dependency while building l2tpv3 header or parsing the received frame since default

[PATCH 3.18 25/31] fs/dcache: Fix incorrect nr_dentry_unused accounting in shrink_dcache_sb()

2019-02-04 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long commit 1dbd449c9943e3145148cc893c2461b72ba6fef0 upstream. The nr_dentry_unused per-cpu counter tracks dentries in both the LRU lists and the shrink lists where the DCACHE_LRU_LIST

[PATCH 3.18 08/31] CIFS: Fix possible hang during async MTU reads and writes

2019-02-04 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Shilovsky commit acc58d0bab55a50e02c25f00bd6a210ee121595f upstream. When doing MTU i/o we need to leave some credits for possible reopen requests and other operations happening in

[PATCH 3.18 12/31] can: bcm: check timer values before ktime conversion

2019-02-04 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp commit 93171ba6f1deffd82f381d36cb13177872d023f6 upstream. Kyungtae Kim detected a potential integer overflow in bcm_[rx|tx]_setup() when the conversion into ktime multiplies

[PATCH 4.4 16/65] tty/n_hdlc: fix __might_sleep warning

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Fulghum commit fc01d8c61ce02c034e67378cd3e645734bc18c8c upstream. Fix __might_sleep warning[1] in tty/n_hdlc.c read due to copy_to_user call while current is TASK_INTERRUPTIBLE. This is

[PATCH 4.4 14/65] staging: rtl8188eu: Add device code for D-Link DWA-121 rev B1

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Straube commit 5f74a8cbb38d10615ed46bc3e37d9a4c9af8045a upstream. This device was added to the stand-alone driver on github. Add it to the staging driver as well. Link:

[PATCH 4.4 02/65] openvswitch: Avoid OOB read when parsing flow nlattrs

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ross Lagerwall [ Upstream commit 04a4af334b971814eedf4e4a413343ad3287d9a9 ] For nested and variable attributes, the expected length of an attribute is not known and marked by a negative

[PATCH 4.4 12/65] s390/smp: fix CPU hotplug deadlock with CPU rescan

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit b7cb707c373094ce4008d4a6ac9b6b366ec52da5 upstream. smp_rescan_cpus() is called without the device_hotplug_lock, which can lead to a dedlock when a new CPU is found and

[PATCH 4.4 32/65] s390/smp: Fix calling smp_call_ipl_cpu() from ipl CPU

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand commit 60f1bf29c0b2519989927cae640cd1f50f59dc7f upstream. When calling smp_call_ipl_cpu() from the IPL CPU, we will try to read from pcpu_devices->lowcore. However, due to

[PATCH 4.9 15/30] ARM: cns3xxx: Fix writing to wrong PCI config registers after alignment

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Koen Vandeputte commit 65dbb423cf28232fed1732b779249d6164c5999b upstream. Originally, cns3xxx used its own functions for mapping, reading and writing config registers. Commit 802b7c06adc7

[PATCH 4.14 07/46] net/rose: fix NULL ax25_cb kernel panic

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Bernard Pidoux [ Upstream commit b0cf029234f9b18e10703ba5147f0389c382bccc ] When an internally generated frame is handled by rose_xmit(), rose_route_frame() is called: if

[PATCH 4.19 29/74] virtio_net: Fix out of bounds access of sq

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Toshiaki Makita [ Upstream commit 1667c08a9d31c7cdf09f4890816bfbf20b685495 ] When XDP is disabled, curr_queue_pairs + smp_processor_id() can be larger than max_queue_pairs. There is no

[PATCH 4.14 17/46] l2tp: remove l2specific_len dependency in l2tp_core

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi commit 62e7b6a57c7b9bf3c6fd99418eeec05b08a85c38 upstream. Remove l2specific_len dependency while building l2tpv3 header or parsing the received frame since default

[PATCH 4.9 26/30] mm: migrate: dont rely on __PageMovable() of newpage after unlocking it

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand commit e0a352fabce61f730341d119fbedf71ffdb8663f upstream. We had a race in the old balloon compaction code before b1123ea6d3b3 ("mm: balloon: use general non-lru movable page

[PATCH 4.9 12/30] ipvlan, l3mdev: fix broken l3s mode wrt local routes

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann [ Upstream commit d5256083f62e2720f75bb3c5a928a0afe47d6bc3 ] While implementing ipvlan l3 and l3s mode for kubernetes CNI plugin, I ran into the issue that while l3 mode is

[PATCH 4.14 44/46] cifs: Always resolve hostname before reconnecting

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Alcantara commit 28eb24ff75c5ac130eb326b3b4d0dcecfc0f427d upstream. In case a hostname resolves to a different IP address (e.g. long running mounts), make sure to resolve it every time

[PATCH 4.19 30/74] virtio_net: Dont process redirected XDP frames when XDP is disabled

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Toshiaki Makita [ Upstream commit 03aa6d34868c07b2b1b8b2db080602d7ec528173 ] Commit 8dcc5b0ab0ec ("virtio_net: fix ndo_xdp_xmit crash towards dev not ready for XDP") tried to avoid access to

[PATCH 4.14 01/46] Fix "net: ipv4: do not handle duplicate fragments as overlapping"

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman ade446403bfb ("net: ipv4: do not handle duplicate fragments as overlapping") was backported to many stable trees, but it had a problem that was "accidentally" fixed by the

[PATCH 4.4 60/65] ipv6: defrag: drop non-last frags smaller than min mtu

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal commit 0ed4229b08c13c84a3c301a08defdc9e7f4467e6 upstream. don't bother with pathological cases, they only waste cycles. IPv6 requires a minimum MTU of 1280 so we should never

[PATCH 4.14 45/46] drivers: core: Remove glue dirs from sysfs earlier

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit 726e41097920a73e4c7c33385dcc0debb1281e18 upstream. For devices with a class, we create a "glue" directory between the parent device and the new device with the

Re: [PATCH] PCI: Consider alignment of hot-added bridges when distributing available resources

2019-02-04 Thread kbuild test robot
Hi Nicholas, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pci/next] [also build test WARNING on v5.0-rc4 next-20190204] [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

[PATCH 4.4 48/65] platform/x86: asus-nb-wmi: Drop mapping of 0x33 and 0x34 scan codes

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 71b12beaf12f21a53bfe100795d0797f1035b570 ] According to Asus firmware engineers, the meaning of these codes is only to notify the OS that the screen brightness has been turned on/off

[PATCH 4.4 41/65] l2tp: fix reading optional fields of L2TPv3

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Wen [ Upstream commit 4522a70db7aa5e77526a4079628578599821b193 ] Use pskb_may_pull() to make sure the optional fields are in skb linear parts, so we can safely read them later. It's

[PATCH 4.9 08/30] ucc_geth: Reset BQL queue when stopping device

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Thore [ Upstream commit e15aa3b2b1388c399c1a2ce08550d2cc4f7e3e14 ] After a timeout event caused by for example a broadcast storm, when the MAC and PHY are reset, the BQL TX queue needs

[PATCH 4.4 20/65] x86/kaslr: Fix incorrect i8254 outb() parameters

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Drake commit 7e6fc2f50a3197d0e82d1c0e86282976c9e6c8a4 upstream. The outb() function takes parameters value and port, in that order. Fix the parameters used in the kalsr i8254 fallback

[PATCH v4 2/5] cpufreq: dt: Register an Energy Model

2019-02-04 Thread Quentin Perret
Now that PM_OPP provides a helper function to estimate the power consumed by CPUs, make sure to try and register an Energy Model (EM) from cpufreq-dt, hence ensuring interested subsystems (the task scheduler, for example) can make use of that information when available. Signed-off-by: Quentin

AW: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-04 Thread Georg Ottinger
The following is the patch that we are using internally to workaround the issues - I first wanted to publish the timeout/systemhang patch, because I don't have the feeling that our workaround is suitable to be mainlined: static int at91_adc_read_raw(struct iio_dev *idev,

[PATCH 4.19 20/74] sctp: improve the events for sctp stream adding

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 8220c870cb0f4eaa4e335c9645dbd9a1c461c1dd ] This patch is to improve sctp stream adding events in 2 places: 1. In sctp_process_strreset_addstrm_out(), move up

[PATCH 4.4 33/65] fs: add the fsnotify call to vfs_iter_write

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jimmy Durand Wesolowski A bug has been discovered when redirecting splice output to regular files on EXT4 and tmpfs. Other filesystems might be affected. This commit fixes the issue for stable

[PATCH] drm/cirrus: add plane setup

2019-02-04 Thread Gerd Hoffmann
Commit "f4bd542bca drm/fb-helper: Scale back depth to supported maximum" uncovered a bug in the cirrus driver. It must create its own primary plane, using the correct format list, depending on the bpp module parameter, so it is consistent with mode_config->preferred_depth. Signed-off-by: Gerd

[PATCH 4.14 39/46] oom, oom_reaper: do not enqueue same task twice

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 9bcdeb51bd7d2ae9fe65ea4d60643d2aeef5bfe3 upstream. Arkadiusz reported that enabling memcg's group oom killing causes strange memcg statistics where there is no task in a

[PATCH 4.14 02/46] ipv6: Consider sk_bound_dev_if when binding a socket to an address

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit c5ee066333ebc322a24a00a743ed941a0c68617e ] IPv6 does not consider if the socket is bound to a device when binding to an address. The result is that a socket can

[PATCH 4.4 06/65] mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- commit 99d570da309813f67e9c741edeff55bafc6c1d5e upstream. Enable CONFIG_MMC_SDHCI_IO_ACCESSORS so that SDHC controller specific register read and write APIs, if registered, can be used.

[PATCH 4.9 10/30] l2tp: remove l2specific_len dependency in l2tp_core

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi commit 62e7b6a57c7b9bf3c6fd99418eeec05b08a85c38 upstream. Remove l2specific_len dependency while building l2tpv3 header or parsing the received frame since default L2-Specific

[PATCH 4.4 63/65] net: ipv4: do not handle duplicate fragments as overlapping

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kubecek commit ade446403bfb79d3528d56071a84b15351a139ad upstream. Since commit 7969e5c40dfd ("ip: discard IPv4 datagrams with overlapping segments.") IPv4 reassembly code drops the

[PATCH 4.4 31/65] Revert "loop: Fold __loop_release into loop_release"

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman This reverts commit 4ee414c3b6021db621901f2697d35774926268f6 which is commit 967d1dc144b50ad005e5eecdfadfbcfb3996 upstream. It is not needed in the 4.4.y tree at this

Re: [PATCH 4.4 06/65] mmc: Kconfig: Enable CONFIG_MMC_SDHCI_IO_ACCESSORS

2019-02-04 Thread Georgi Djakov
On 2/4/19 12:35, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > commit 99d570da309813f67e9c741edeff55bafc6c1d5e upstream. > > Enable CONFIG_MMC_SDHCI_IO_ACCESSORS so that SDHC controller specific > register read

[PATCH 4.14 38/46] kernel/exit.c: release ptraced tasks before zap_pid_ns_processes

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrei Vagin commit 8fb335e078378c8426fabeed1ebee1fbf915690c upstream. Currently, exit_ptrace() adds all ptraced tasks in a dead list, then zap_pid_ns_processes() waits on all tasks in a

[PATCH 4.4 59/65] ip: use rb trees for IP frag queue.

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Oskolkov commit fa0f527358bd900ef92f925878ed6bfbd51305cc upstream. Similar to TCP OOO RX queue, it makes sense to use rb trees to store IP fragments, so that OOO fragments are inserted

[PATCH 4.14 08/46] net: set default network namespace in init_dummy_netdev()

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Josh Elsasser [ Upstream commit 35edfdc77f683c8fd27d7732af06cf6489af60a5 ] Assign a default net namespace to netdevs created by init_dummy_netdev(). Fixes a NULL pointer dereference caused by

[PATCH v4 0/5] Register an Energy Model for Arm reference platforms

2019-02-04 Thread Quentin Perret
The Energy Model (EM) framework feeds interested subsystems (the scheduler/EAS as of now) with power costs provided by drivers. Yet, no driver is actually doing that upstream yet. This series updates a set of CPUFreq drivers in order to register power costs in the EM framework for some of the Arm

[PATCH 4.4 04/65] net_sched: refetch skb protocol for each filter

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit cd0c4e70fc0ccfa705cdf55efb27519ce9337a26 ] Martin reported a set of filters don't work after changing from reclassify to continue. Looking into the code, it looks

[PATCH v4 4/5] cpufreq: arm_big_little: Register an Energy Model

2019-02-04 Thread Quentin Perret
From: Dietmar Eggemann Now that PM_OPP provides a helper function to estimate the power consumed by CPUs, make sure to try and register an Energy Model (EM) from the arm_big_little CPUFreq driver, hence ensuring interested subsystems (the task scheduler, for example) can make use of that

[PATCH v4 1/5] PM / OPP: Introduce a power estimation helper

2019-02-04 Thread Quentin Perret
The Energy Model (EM) framework provides an API to let drivers register the active power of CPUs. The drivers are expected to provide a callback method which estimates the power consumed by a CPU at each available performance levels. How exactly this should be implemented, however, depends on the

[PATCH v4 3/5] cpufreq: scpi: Register an Energy Model

2019-02-04 Thread Quentin Perret
Now that PM_OPP provides a helper function to estimate the power consumed by CPUs, make sure to try and register an Energy Model (EM) from scpi-cpufreq, hence ensuring interested subsystems (the task scheduler, for example) can make use of that information when available. Signed-off-by: Quentin

[PATCH v4 5/5] cpufreq: scmi: Register an Energy Model

2019-02-04 Thread Quentin Perret
The Energy Model (EM) framework provides an API to register the active power of CPUs. Call this API from the scmi-cpufreq driver by using the power costs obtained from firmware. This is done to ensure interested subsystems (the task scheduler, for example) can make use of the EM when available.

[PATCH 4.4 38/65] net/rose: fix NULL ax25_cb kernel panic

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bernard Pidoux [ Upstream commit b0cf029234f9b18e10703ba5147f0389c382bccc ] When an internally generated frame is handled by rose_xmit(), rose_route_frame() is called: if

[PATCH 4.4 21/65] can: dev: __can_get_echo_skb(): fix bogous check for non-existing skb by removing it

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Manfred Schlaegl commit 7b12c8189a3dc50638e7d53714c88007268d47ef upstream. This patch revert commit 7da11ba5c506 ("can: dev: __can_get_echo_skb(): print error message, if trying to echo non

[PATCH 4.4 27/65] arm64: mm: remove page_mapping check in __sync_icache_dcache

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Shaokun Zhang commit 20c27a4270c775d7ed661491af8ac03264d60fc6 upstream. __sync_icache_dcache unconditionally skips the cache maintenance for anonymous pages, under the assumption that flushing

[PATCH 4.4 53/65] drivers: core: Remove glue dirs from sysfs earlier

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit 726e41097920a73e4c7c33385dcc0debb1281e18 upstream. For devices with a class, we create a "glue" directory between the parent device and the new device with the

[PATCH 4.4 52/65] cifs: Always resolve hostname before reconnecting

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Alcantara commit 28eb24ff75c5ac130eb326b3b4d0dcecfc0f427d upstream. In case a hostname resolves to a different IP address (e.g. long running mounts), make sure to resolve it every time

[PATCH 4.9 02/30] fs: add the fsnotify call to vfs_iter_write

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jimmy Durand Wesolowski A bug has been discovered when redirecting splice output to regular files on EXT4 and tmpfs. Other filesystems might be affected. This commit fixes the issue for stable

[PATCH 4.4 45/65] arm64: hyp-stub: Forbid kprobing of the hyp-stub

2019-02-04 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit 8fac5cbdfe0f01254d9d265c6aa1a95f94f58595 upstream. The hyp-stub is loaded by the kernel's early startup code at EL2 during boot, before KVM takes ownership later. The

[PATCH 4.9 25/30] mm: hwpoison: use do_send_sig_info() instead of force_sig()

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 6376360ecbe525a9c17b3d081dfd88ba3e4ed65b upstream. Currently memory_failure() is racy against process's exiting, which results in kernel crash by null pointer

[PATCH 4.9 24/30] mm, oom: fix use-after-free in oom_kill_process

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Shakeel Butt commit cefc7ef3c87d02fc9307835868ff721ea12cc597 upstream. Syzbot instance running on upstream kernel found a use-after-free bug in oom_kill_process. On further inspection it

[PATCH 4.9 17/30] arm64: hyp-stub: Forbid kprobing of the hyp-stub

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit 8fac5cbdfe0f01254d9d265c6aa1a95f94f58595 upstream. The hyp-stub is loaded by the kernel's early startup code at EL2 during boot, before KVM takes ownership later. The

[PATCH 4.9 03/30] ipv6: Consider sk_bound_dev_if when binding a socket to an address

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit c5ee066333ebc322a24a00a743ed941a0c68617e ] IPv6 does not consider if the socket is bound to a device when binding to an address. The result is that a socket can

[PATCH 4.9 21/30] platform/x86: asus-nb-wmi: Drop mapping of 0x33 and 0x34 scan codes

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 71b12beaf12f21a53bfe100795d0797f1035b570 ] According to Asus firmware engineers, the meaning of these codes is only to notify the OS that the screen brightness has been turned on/off

[PATCH 4.14 14/46] virtio_net: Fix not restoring real_num_rx_queues

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Toshiaki Makita [ Upstream commit 188313c137c4f76afd0862f50dbc185b198b9e2a ] When _virtnet_set_queues() failed we did not restore real_num_rx_queues. Fix this by placing the change of

Re: [PATCH v2] ALSA: hda/tegra: enable clock during probe

2019-02-04 Thread Thierry Reding
On Mon, Feb 04, 2019 at 09:53:32AM +, Jon Hunter wrote: > > > On 04/02/2019 08:45, Thierry Reding wrote: > > ... > > > The idea was, as I was saying below, to reuse dev_pm_ops even if > > !CONFIG_PM. So pm_runtime_enable() could be something like this: > > > > pm_runtime_enable(dev) >

[PATCH 4.9 23/30] kernel/exit.c: release ptraced tasks before zap_pid_ns_processes

2019-02-04 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrei Vagin commit 8fb335e078378c8426fabeed1ebee1fbf915690c upstream. Currently, exit_ptrace() adds all ptraced tasks in a dead list, then zap_pid_ns_processes() waits on all tasks in a

[PATCH 4.14 37/46] mmc: sdhci-iproc: handle mmc_of_parse() errors during probe

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren commit 2bd44dadd5bfb4135162322fd0b45a174d4ad5bf upstream. We need to handle mmc_of_parse() errors during probe. This finally fixes the wifi regression on Raspberry Pi 3 series.

[PATCH 4.14 22/46] iommu/vt-d: Fix memory leak in intel_iommu_put_resv_regions()

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit 198bc3252ea3a45b0c5d500e6a5b91cfdd08f001 upstream. Commit 9d3a4de4cb8d ("iommu: Disambiguate MSI region types") changed the reserved region type in

[PATCH 4.14 32/46] mmc: bcm2835: Fix DMA channel leak on probe error

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 8c9620b1cc9b69e82fa8d4081d646d0016b602e7 upstream. The BCM2835 MMC host driver requests a DMA channel on probe but neglects to release the channel in the probe error path.

[PATCH 4.14 29/46] gpio: altera-a10sr: Set proper output level for direction_output

2019-02-04 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 2095a45e345e669ea77a9b34bdd7de5ceb422f93 upstream. The altr_a10sr_gpio_direction_output should set proper output level based on the value argument. Fixes: 26a48c4cc2f1

AW: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-04 Thread Georg Ottinger
I don't know how the race condition is triggered in detail. All I know is that if Touch Acquisition is enabled the adc_demo_error2 will provoke a systemhang. If Touch is disabled the issue goes away. The architecture of at91_adc.c uses (at least) two trigger mechanisms of the ADC peripheral:

Re: [RFC][PATCH v2 14/21] kvm: register in mm_struct

2019-02-04 Thread Paolo Bonzini
On 02/02/19 07:57, Peter Xu wrote: > > I'm thinking whether it's legal for multiple VMs to run on a single mm > address space. I don't see a limitation so far but it's very possible > I am just missing something there (if there is, IMHO they might be > something nice to put into the commit

[PATCH 4.19 07/74] l2tp: fix reading optional fields of L2TPv3

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Wen [ Upstream commit 4522a70db7aa5e77526a4079628578599821b193 ] Use pskb_may_pull() to make sure the optional fields are in skb linear parts, so we can safely read them later. It's

[PATCH 4.19 12/74] net/rose: fix NULL ax25_cb kernel panic

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Bernard Pidoux [ Upstream commit b0cf029234f9b18e10703ba5147f0389c382bccc ] When an internally generated frame is handled by rose_xmit(), rose_route_frame() is called: if

[PATCH 4.19 17/74] ucc_geth: Reset BQL queue when stopping device

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Thore [ Upstream commit e15aa3b2b1388c399c1a2ce08550d2cc4f7e3e14 ] After a timeout event caused by for example a broadcast storm, when the MAC and PHY are reset, the BQL TX queue

[PATCH 4.19 02/74] drm/msm/gpu: fix building without debugfs

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c878a628e0c483ec36fa70f4590e4a58e34a6e49 upstream. When debugfs is disabled, but coredump is turned on, the adreno driver fails to build:

[PATCH 4.19 18/74] vhost: fix OOB in get_rx_bufs()

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit b46a0bf78ad7b150ef5910da83859f7f5a514ffd ] After batched used ring updating was introduced in commit e2b3b35eb989 ("vhost_net: batch used ring update in rx"). We

[PATCH 4.19 04/74] ipv6: sr: clear IP6CB(skb) on SRH ip4ip6 encapsulation

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Yohei Kanemaru [ Upstream commit ef489749aae508e6f17886775c075f12ff919fb1 ] skb->cb may contain data from previous layers (in an observed case IPv4 with L3 Master Device). In the observed

[PATCH 4.19 35/74] CIFS: Do not consider -ENODATA as stat failure for reads

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Pavel Shilovsky commit 082aaa8700415f6471ec9c5ef0c8307ca214989a upstream. When doing reads beyound the end of a file the server returns error STATUS_END_OF_FILE error which is mapped to

[PATCH 4.19 37/74] iommu/vt-d: Fix memory leak in intel_iommu_put_resv_regions()

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit 198bc3252ea3a45b0c5d500e6a5b91cfdd08f001 upstream. Commit 9d3a4de4cb8d ("iommu: Disambiguate MSI region types") changed the reserved region type in

Re: [PATCH 4.9 30/30] fanotify: fix handling of events on child sub-directory

2019-02-04 Thread Amir Goldstein
On Mon, Feb 4, 2019 at 12:44 PM Greg Kroah-Hartman wrote: > > 4.9-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Amir Goldstein > > commit b469e7e47c8a075cc08bcd1e85d4365134bdcdd5 upstream. > > When an event is reported on a sub-directory

[PATCH 4.19 38/74] selftests/seccomp: Enhance per-arch ptrace syscall skip tests

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit ed5f13261cb65b02c611ae9971677f33581d4286 upstream. Passing EPERM during syscall skipping was confusing since the test wasn't actually exercising the errno evaluation -- it

[PATCH 4.19 39/74] NFS: Fix up return value on fatal errors in nfs_page_async_flush()

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 8fc75bed96bb94e23ca51bd9be4daf65c57697bf upstream. Ensure that we return the fatal error value that caused us to exit nfs_page_async_flush(). Fixes: c373fff7bd25

Re: [PATCH v3 10/10] x86/split_lock: Handle #AC exception for split lock

2019-02-04 Thread kbuild test robot
Hi Fenghua, I love your patch! Yet something to improve: [auto build test ERROR on tip/auto-latest] [also build test ERROR on v5.0-rc4 next-20190204] [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

[PATCH 4.19 28/74] virtio_net: Fix not restoring real_num_rx_queues

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Toshiaki Makita [ Upstream commit 188313c137c4f76afd0862f50dbc185b198b9e2a ] When _virtnet_set_queues() failed we did not restore real_num_rx_queues. Fix this by placing the change of

[PATCH 4.19 25/74] sctp: set flow sport from saddr only when its 0

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit ecf938fe7d0088077ee1280419a2b3c5429b47c8 ] Now sctp_transport_pmtu() passes transport->saddr into .get_dst() to set flow sport from 'saddr'. However,

[PATCH 4.19 41/74] arm64: kaslr: ensure randomized quantities are clean also when kaslr is off

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 8ea235932314311f15ea6cf65c1393ed7e31af70 upstream. Commit 1598ecda7b23 ("arm64: kaslr: ensure randomized quantities are clean to the PoC") added cache maintenance to

[PATCH 4.19 53/74] ALSA: usb-audio: Add Opus #3 to quirks for native DSD support

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Olek Poplavsky commit 9e6966646b6bc5078d579151b90016522d4ff2cb upstream. This patch adds quirk VID/PID IDs for the Opus #3 DAP (made by 'The Bit') in order to enable Native DSD support. [

[PATCH 4.19 48/74] gpio: sprd: Fix the incorrect data register

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Neo Hou commit 09d158d52d2bceda736797a61b6c13d7fc83707b upstream. Since differnt type EICs have its own data register to read, thus fix the incorrect data register. Fixes: 25518e024e3a

[PATCH 4.19 58/74] mmc: sdhci-iproc: handle mmc_of_parse() errors during probe

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren commit 2bd44dadd5bfb4135162322fd0b45a174d4ad5bf upstream. We need to handle mmc_of_parse() errors during probe. This finally fixes the wifi regression on Raspberry Pi 3 series.

[PATCH 4.19 44/74] arm64: hibernate: Clean the __hyp_text to PoC after resume

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit f7daa9c8fd191724b9ab9580a7be55cd1a67d799 upstream. During resume hibernate restores all physical memory. Any memory that is accessed with the MMU disabled needs to be

[PATCH 4.19 46/74] gpiolib: fix line event timestamps for nested irqs

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Bartosz Golaszewski commit 1033be58992f818dc564196ded2bcc3f360bc297 upstream. Nested interrupts run inside the calling thread's context and the top half handler is never called which means

Re: [PATCH v3 08/11] gpio: max77650: add GPIO support

2019-02-04 Thread Bartosz Golaszewski
pt., 1 lut 2019 o 10:48 Bartosz Golaszewski napisaƂ(a): > > From: Bartosz Golaszewski > > Add GPIO support for max77650 mfd device. This PMIC exposes a single > GPIO line. > > Signed-off-by: Bartosz Golaszewski > --- > drivers/gpio/Kconfig | 7 ++ > drivers/gpio/Makefile| 1

RFC: striving for automotive grade certification

2019-02-04 Thread Vladimir Kondratiev
Hi, I am looking how can we get kernel certified for life critical applications, in particular for automotive industry. Mean drive train, not infotainment. To begin with, all certification processes are talking about cleaning compilation warnings at level higher then usual. Example would

[PATCH 4.19 62/74] mm/hugetlb.c: teach follow_hugetlb_page() to handle FOLL_NOWAIT

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Andrea Arcangeli commit 1ac25013fb9e4ed595cd608a406191e93520881e upstream. hugetlb needs the same fix as faultin_nopage (which was applied in commit 96312e61282a ("mm/gup.c: teach

[PATCH 4.19 66/74] mm: hwpoison: use do_send_sig_info() instead of force_sig()

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 6376360ecbe525a9c17b3d081dfd88ba3e4ed65b upstream. Currently memory_failure() is racy against process's exiting, which results in kernel crash by null pointer

Re: [PATCH 1/1] mm/vmalloc: convert vmap_lazy_nr to atomic_long_t

2019-02-04 Thread Uladzislau Rezki
Hello, Michal. On Fri, Feb 01, 2019 at 01:45:28PM +0100, Michal Hocko wrote: > On Thu 31-01-19 17:24:52, Uladzislau Rezki (Sony) wrote: > > vmap_lazy_nr variable has atomic_t type that is 4 bytes integer > > value on both 32 and 64 bit systems. lazy_max_pages() deals with > > "unsigned long" that

[PATCH 4.20 71/80] mm,memory_hotplug: fix scan_movable_pages() for gigantic hugepages

2019-02-04 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Oscar Salvador commit eeb0efd071d821a88da3fbd35f2d478f40d3b2ea upstream. This is the same sort of error we saw in commit 17e2e7d7e1b8 ("mm, page_alloc: fix has_unmovable_pages for

[PATCH 4.20 20/80] net/mlx5e: Allow MAC invalidation while spoofchk is ON

2019-02-04 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Aya Levin [ Upstream commit 9d2cbdc5d334967c35b5f58c7bf3208e17325647 ] Prior to this patch the driver prohibited spoof checking on invalid MAC. Now the user can set this configuration if it

[PATCH 4.20 01/80] drm/msm/gpu: fix building without debugfs

2019-02-04 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c878a628e0c483ec36fa70f4590e4a58e34a6e49 upstream. When debugfs is disabled, but coredump is turned on, the adreno driver fails to build:

[PATCH 4.20 05/80] l2tp: fix reading optional fields of L2TPv3

2019-02-04 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Wen [ Upstream commit 4522a70db7aa5e77526a4079628578599821b193 ] Use pskb_may_pull() to make sure the optional fields are in skb linear parts, so we can safely read them later. It's

[PATCH 4.20 18/80] net: ip6_gre: always reports o_key to userspace

2019-02-04 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi [ Upstream commit c706863bc8902d0c2d1a5a27ac8e1ead5d06b79d ] As Erspan_v4, Erspan_v6 protocol relies on o_key to configure session id header field. However TUNNEL_KEY bit is

[PATCH 4.20 04/80] l2tp: copy 4 more bytes to linear part if necessary

2019-02-04 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Wen [ Upstream commit 91c524708de6207f59dd3512518d8a1c7b434ee3 ] The size of L2TPv2 header with all optional fields is 14 bytes. l2tp_udp_recv_core only moves 10 bytes to the linear

Re: [PATCH v5] ARM: dspi: Provide support for DSPI slave mode operation (Vybryd vf610)

2019-02-04 Thread Mark Brown
On Mon, Feb 04, 2019 at 11:30:01AM +0100, Lukasz Majewski wrote: > Is there any interest in adding new code (or fixes) to VF610 ? You've been sending ARM: patches to me (the SPI maintainer) and one of the DT maintainers. You need to send patches for that platform to the relevant platform

[PATCH 4.19 63/74] oom, oom_reaper: do not enqueue same task twice

2019-02-04 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 9bcdeb51bd7d2ae9fe65ea4d60643d2aeef5bfe3 upstream. Arkadiusz reported that enabling memcg's group oom killing causes strange memcg statistics where there is no task in a

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