[PATCH 4.16 51/55] net/mlx5: Fix mlx5_get_vector_affinity function

2018-05-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Israel Rukshin [ Upstream commit 6082d9c9c94a408d7409b5f2e4e42ac9e8b16d0d ] Adding the vector offset when calling to mlx5_vector2eqn() is wrong. This is because mlx5_vector2eqn() checks if EQ

[PATCH 4.16 21/55] r8169: fix powering up RTL8168h

2018-05-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit 3148dedfe79e422f448a10250d3e2cdf8b7ee617 ] Since commit a92a08499b1f "r8169: improve runtime pm in general and suspend unused ports" interfaces w/o link are r

[PATCH 4.16 53/55] net/smc: keep clcsock reference in smc_tcp_listen_work()

2018-05-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Ursula Braun [ Upstream commit 070204a34884110ac5e19c1e2e036fcfd033f8e3 ] The internal CLC socket should exist till the SMC-socket is released. Function tcp_listen_worker() releases the intern

[PATCH 4.14 01/45] 8139too: Use disable_irq_nosync() in rtl8139_poll_controller()

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ingo Molnar [ Upstream commit af3e0fcf78879f718c5f73df0814951bd7057d34 ] Use disable_irq_nosync() instead of disable_irq() as this might be called in atomic context with netpoll. Signed-off-b

[PATCH 4.16 50/55] mlxsw: core: Fix an error handling path in mlxsw_core_bus_device_register()

2018-05-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 8ccc113172e4c1ebef45c2433f3c32ed6ae1b9c9 ] Resources are not freed in the reverse order of the allocation. Labels are also mixed-up. Fix it and reorder co

[PATCH 4.16 55/55] proc: do not access cmdline nor environ from file-backed areas

2018-05-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Willy Tarreau commit 7f7ccc2ccc2e70c6054685f5e3522efa81556830 upstream. proc_pid_cmdline_read() and environ_read() directly access the target process' VM to retrieve the command line and envir

[PATCH 4.14 11/45] net/mlx5e: Err if asked to offload TC match on frag being first

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Roi Dayan [ Upstream commit f85900c3e13fdb61f040c9feecbcda601e0cdcfb ] The HW doesn't support matching on frag first/later, return error if we are asked to offload that. Fixes: 3f7d0eb42d59 (

[PATCH 4.16 54/55] scsi: aacraid: Correct hba_send to include iu_type

2018-05-18 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dave Carroll commit 7d3af7d96af7b9f51e1ef67b6f4725f545737da2 upstream. commit b60710ec7d7a ("scsi: aacraid: enable sending of TMFs from aac_hba_send()") allows aac_hba_send() to send scsi comm

Re: [PATCH 03/18] printk: Convert pr_fmt from blank define to KBUILD_MODNAME

2018-05-18 Thread Joe Perches
On Fri, 2018-05-18 at 10:42 +0200, Petr Mladek wrote: > On Thu 2018-05-10 08:45:29, Joe Perches wrote: > > There are more than 1000 uses of #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > > Make that the default define so these uses can be removed later via script. > > > > Signed-off-by: Joe Perches

[PATCH 4.14 10/45] net/mlx4_en: Verify coalescing parameters are in range

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Moshe Shemesh [ Upstream commit 6ad4e91c6d796b38a7f0e724db1de28eeb122bad ] Add check of coalescing parameters received through ethtool are within range of values supported by the HW. Driver ge

[PATCH 4.14 13/45] net sched actions: fix refcnt leak in skbmod

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Roman Mashak [ Upstream commit a52956dfc503f8cc5cfe6454959b7049fddb4413 ] When application fails to pass flags in netlink TLV when replacing existing skbmod action, the kernel will leak refcnt

[PATCH 4.14 14/45] net_sched: fq: take care of throttled flows before reuse

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 7df40c2673a1307c3260aab6f9d4b9bf97ca8fd7 ] Normally, a socket can not be freed/reused unless all its TX packets left qdisc and were TX-completed. However connect

[PATCH 4.14 12/45] net/mlx5: E-Switch, Include VF RDMA stats in vport statistics

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Adi Nissim [ Upstream commit 88d725bbb43cd63a40c8ef70dd373f1d38ead2e3 ] The host side reporting of VF vport statistics didn't include the VF RDMA traffic. Fixes: 3b751a2a418a ("net/mlx5: E-Sw

[PATCH 4.14 02/45] bridge: check iface upper dev when setting master via ioctl

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hangbin Liu [ Upstream commit e8238fc2bd7b4c3c7554fa2df067e796610212fc ] When we set a bond slave's master to bridge via ioctl, we only check the IFF_BRIDGE_PORT flag. Although we will find th

[PATCH V7 00/12] ARM: dts: ipq: updates to enable a few peripherals

2018-05-18 Thread Sricharan R
All the patches have been tested on ipq4019 dk01, 04, 07 and ipq8074 hk01 boards for spi, bam, qup, qpic, spi-nor, serial, pci. [V7] * Fixed Kbuild git bisectability issue [V6] * Fixed Bjorn's comments, added his acks that he gave, added Varada's acks * Rebased on top of Andy's for-ne

[PATCH 4.14 17/45] net/tls: Fix connection stall on partial tls record

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andre Tomt [ Upstream commit 080324c36ade319f57e505633ab54f6f53289b45 ] In the case of writing a partial tls record we forgot to clear the ctx->in_tcp_sendpages flag, causing some connections

[PATCH 4.14 03/45] dccp: fix tasklet usage

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit a8d7aa17bbc970971ccdf71988ea19230ab368b1 ] syzbot reported a crash in tasklet_action_common() caused by dccp. dccp needs to make sure socket wont disappear befo

Re: [PATCH v1 10/11] cpufreq: tegra20: Wrap cpufreq into platform driver

2018-05-18 Thread Thierry Reding
On Thu, May 17, 2018 at 09:00:55PM +0300, Dmitry Osipenko wrote: > Currently tegra20-cpufreq kernel module isn't getting autoloaded because > there is no device associated with the module, this is one of two patches > that resolves the module autoloading. This patch adds a module alias that > will

Re: [PATCH] PM / runtime: Fixup reference counting of device link suppliers at probe

2018-05-18 Thread Ulf Hansson
On 18 May 2018 at 10:58, Rafael J. Wysocki wrote: > On Fri, May 18, 2018 at 10:48 AM, Ulf Hansson wrote: >> In the driver core, before it invokes really_probe() it runtime resumes the >> suppliers for the device via calling pm_runtime_get_suppliers(), which also >> increases the runtime PM usage

[PATCH V7 01/12] ARM: dts: ipq4019: Add a default chosen node

2018-05-18 Thread Sricharan R
Add a 'chosen' node to select the serial console. This is needed when bootloaders do not pass the 'console=' bootargs. Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2 fil

[PATCH 4.14 05/45] ipv4: fix memory leaks in udp_sendmsg, ping_v4_sendmsg

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ignatov [ Upstream commit 1b97013bfb11d66f041de691de6f0fec748ce016 ] Fix more memory leaks in ip_cmsg_send() callers. Part of them were fixed earlier in 919483096bfe. * udp_sendmsg one

[PATCH 4.14 06/45] llc: better deal with too small mtu

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 2c5d5b13c6eb79f5677e206b8aad59b3a2097f60 ] syzbot loves to set very small mtu on devices, since it brings joy. We must make llc_ui_sendmsg() fool proof. usercop

[PATCH 4.14 04/45] ipv4: fix fnhe usage by non-cached routes

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov [ Upstream commit 94720e3aee6884d8c8beb678001629da60ec6366 ] Allow some non-cached routes to use non-expired fnhe: 1. ip_del_fnhe: moved above and now called by find_exceptio

[PATCH 4.14 07/45] net: ethernet: sun: niu set correct packet size in skb

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Rob Taglang [ Upstream commit 14224923c3600bae2ac4dcae3bf0c3d4dc2812be ] Currently, skb->len and skb->data_len are set to the page size, not the packet size. This causes the frame check sequen

[PATCH V7 03/12] ARM: dts: ipq4019: Change the max opp frequency

2018-05-18 Thread Sricharan R
The max opp frequency is 716MHZ. So update that. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 154

Re: [PATCH 00/10] Misc block layer patches for bcachefs

2018-05-18 Thread Kent Overstreet
On Thu, May 17, 2018 at 08:54:57PM +, Bart Van Assche wrote: > On Tue, 2018-05-08 at 21:33 -0400, Kent Overstreet wrote: > > [ ... ] > > Hello Kent, > > With Jens' latest for-next branch I hit the kernel warning shown below. Can > you have a look? Any hints on how to reproduce it? > Thanks,

[PATCH 4.14 08/45] net: ethernet: ti: cpsw: fix packet leaking in dual_mac mode

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko [ Upstream commit 5e5add172ea81152d518b161ec5706503ad3d799 ] In dual_mac mode packets arrived on one port should not be forwarded by switch hw to another port. Only Linux Hos

[PATCH 4.14 28/45] tcp: ignore Fast Open on repair mode

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Yuchung Cheng [ Upstream commit 16ae6aa1705299789f71fdea59bfb119c1fbd9c0 ] The TCP repair sequence of operation is to first set the socket in repair mode, then inject the TCP stats into the so

[PATCH 4.14 29/45] tg3: Fix vunmap() BUG_ON() triggered from tg3_free_consistent().

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michael Chan [ Upstream commit d89a2adb8bfe6f8949ff389acdb9fa298b6e8e12 ] tg3_free_consistent() calls dma_free_coherent() to free tp->hw_stats under spinlock and can trigger BUG_ON() in vunmap

[PATCH 4.14 00/45] 4.14.42-stable review

2018-05-18 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.42 release. There are 45 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 May 20 08:15:14 UTC 2018. Anything receiv

[PATCH V7 02/12] ARM: dts: ipq4019: Add a few peripheral nodes

2018-05-18 Thread Sricharan R
Now with the driver updates for some peripherals being there, add i2c, spi, pcie, bam, qpic-nand, scm nodes to enhance the available peripheral support. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 2 +- arch/arm/boot/dts/qcom-ipq40

Re: [PATCH v1 10/11] cpufreq: tegra20: Wrap cpufreq into platform driver

2018-05-18 Thread Viresh Kumar
On 18-05-18, 11:09, Dmitry Osipenko wrote: > On 18.05.2018 05:07, Viresh Kumar wrote: > > On 17-05-18, 21:00, Dmitry Osipenko wrote: > >> -static int __init tegra_cpufreq_init(void) > >> +static int tegra20_cpufreq_probe(struct platform_device *pdev) > >> { > >> + struct tegra20_cpufreq_data *dat

[PATCH 4.14 30/45] bonding: do not allow rlb updates to invalid mac

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Debabrata Banerjee [ Upstream commit 4fa8667ca3989ce14cf66301fa251544fbddbdd0 ] Make sure multicast, broadcast, and zero mac's cannot be the output of rlb updates, which should all be directed

[PATCH] ASoC: wm8904: fix spelling mistake: "Caputure" -> "Capture"

2018-05-18 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in SOC_ENUM literal string Signed-off-by: Colin Ian King --- sound/soc/codecs/wm8904.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index 20fdcae06c6b..f13ef334c0d7

[PATCH 4.14 32/45] net: sched: fix error path in tcf_proto_create() when modules are not configured

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Pirko [ Upstream commit d68d75fdc34b0253c2bded7ed18cd60eb5a9599b ] In case modules are not configured, error out when tp->ops is null and prevent later null pointer dereference. Fixes: 3

[PATCH V7 04/12] ARM: dts: ipq4019: Add ipq4019-ap.dk04.dtsi

2018-05-18 Thread Sricharan R
Add the common parts for the dk04 boards. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 111 ++ arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 2 files changed, 112 insertions(+), 1 deletion(-) create m

[PATCH 4.14 34/45] net/mlx5: Avoid cleaning flow steering table twice during error flow

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Talat Batheesh [ Upstream commit 9c26f5f89d01ca21560c6b8a8e4054c271cc3a9c ] When we fail to initialize the RX root namespace, we need to clean only that and not the entire flow steering. Curr

[PATCH 4.14 33/45] net/mlx5e: TX, Use correct counter in dma_map error flow

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tariq Toukan [ Upstream commit d9a96ec362e3da878c378854e25321c85bac52c2 ] In case of a dma_mapping_error, do not use wi->num_dma as a parameter for dma unmap function because it's yet to be se

[PATCH 4.14 36/45] ipv6: fix uninit-value in ip6_multipath_l3_keys()

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit cea67a2dd6b2419dcc13a39309b9a79a1f773193 ] syzbot/KMSAN reported an uninit-value in ip6_multipath_l3_keys(), root caused to a bad assumption of ICMP header being

[PATCH 4.14 35/45] hv_netvsc: set master device

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Hemminger [ Upstream commit 97f3efb64323beb0690576e9d74e94998ad6e82a ] The hyper-v transparent bonding should have used master_dev_link. The netvsc device should look like a master bon

[PATCH V7 06/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk04.1-c3 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts | 9 + 2 files changed, 10 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c3.dts diff --git a/arch

[PATCH V7 08/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c1 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts | 64 + 2 files changed, 65 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c1.dts

Re: [PATCH 4.9 27/33] futex: Remove duplicated code and fix undefined behaviour

2018-05-18 Thread Greg Kroah-Hartman
On Fri, May 18, 2018 at 10:30:24AM +0200, Jiri Slaby wrote: > On 05/18/2018, 10:16 AM, Greg Kroah-Hartman wrote: > > 4.9-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Jiri Slaby > > > > commit 30d6e0a4190d37740e9447e4e4815f06992

[PATCH V7 07/12] ARM: dts: ipq4019: Add ipq4019-ap.dk07.1 common data

2018-05-18 Thread Sricharan R
Add the common data for all dk07 based boards. Reviewed-by: Abhishek Sahu Signed-off-by: Sricharan R --- arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi | 75 +++ 1 file changed, 75 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1.dtsi diff --git

[PATCH 4.14 37/45] net/mlx5e: Allow offloading ipv4 header re-write for icmp

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jianbo Liu [ Upstream commit 1ccef350db2f13715040a10df77ae672206004cf ] For ICMPv4, the checksum is calculated from the ICMP headers and data. Since the ICMPv4 checksum doesn't cover the IP he

[PATCH V7 09/12] ARM: dts: ipq4019: Add qcom-ipq4019-ap.dk07.1-c2 board file

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-ipq4019-ap.dk07.1-c2.dts | 25 + 2 files changed, 26 insertions(+) create mode 100644 arch/arm/boot/dts/qco

[PATCH 4.14 20/45] r8169: fix powering up RTL8168h

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Heiner Kallweit [ Upstream commit 3148dedfe79e422f448a10250d3e2cdf8b7ee617 ] Since commit a92a08499b1f "r8169: improve runtime pm in general and suspend unused ports" interfaces w/o link are r

Re: [PATCH v1 09/11] cpufreq: tegra20: Allow cpufreq driver to be built as loadable module

2018-05-18 Thread Thierry Reding
On Thu, May 17, 2018 at 09:00:54PM +0300, Dmitry Osipenko wrote: > Nothing prevents Tegra20 CPUFreq module to be unloaded, hence allow it to > be built as a non-builtin kernel module. > > Signed-off-by: Dmitry Osipenko > --- > drivers/cpufreq/Kconfig.arm | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH 08/10] block: Add warning for bi_next not NULL in bio_endio()

2018-05-18 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG N

Re: [PATCH 1/2] m68k: Set default dma mask for platform devices

2018-05-18 Thread Christoph Hellwig
> This implementation of arch_setup_pdev_archdata() differs from the > powerpc one, in that this one avoids clobbering a device dma mask > which has already been initialized. I think your implementation should move into the generic implementation in drivers/base/platform.c instead of being stuck i

Re: [PATCH 1/2] Revert "cpufreq: Remove policy create/remove notifiers"

2018-05-18 Thread Rafael J. Wysocki
On Fri, May 18, 2018 at 10:47 AM, wrote: > On 2018-05-18 01:33, Rafael J. Wysocki wrote: >> >> On Fri, May 18, 2018 at 10:31 AM, wrote: >>> >>> On 2018-05-18 01:29, Rafael J. Wysocki wrote: On Fri, May 18, 2018 at 10:24 AM, Saravana Kannan wrote: > > > This reve

[PATCH 4.14 39/45] udp: fix SO_BINDTODEVICE

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 69678bcd4d2dedbc3e8fcd6d7d99f283d83c531a ] Damir reported a breakage of SO_BINDTODEVICE for UDP sockets. In absence of VRF devices, after commit fb74c27735f0 ("ne

[PATCH 4.14 38/45] nsh: fix infinite loop

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit af50e4ba34f4c45e92535364133d4deb5931c1c5 ] syzbot caught an infinite recursion in nsh_gso_segment(). Problem here is that we need to make sure the NSH header is

[PATCH 4.14 40/45] scsi: aacraid: Correct hba_send to include iu_type

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dave Carroll commit 7d3af7d96af7b9f51e1ef67b6f4725f545737da2 upstream. commit b60710ec7d7a ("scsi: aacraid: enable sending of TMFs from aac_hba_send()") allows aac_hba_send() to send scsi comm

Re: [PATCH 03/10] block: Add bioset_init()/bioset_exit()

2018-05-18 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG N

Re: [PATCH v1 08/11] cpufreq: tegra20: Remove unneeded variable initialization

2018-05-18 Thread Thierry Reding
On Thu, May 17, 2018 at 09:00:53PM +0300, Dmitry Osipenko wrote: > Remove unneeded variable initialization solely for consistency. > > Signed-off-by: Dmitry Osipenko > --- > drivers/cpufreq/tegra20-cpufreq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Thierry Reding sig

Re: [PATCH] PM / runtime: Fixup reference counting of device link suppliers at probe

2018-05-18 Thread Rafael J. Wysocki
On Fri, May 18, 2018 at 10:48 AM, Ulf Hansson wrote: > In the driver core, before it invokes really_probe() it runtime resumes the > suppliers for the device via calling pm_runtime_get_suppliers(), which also > increases the runtime PM usage count for each of the available supplier. > > This makes

Re: [PATCH v1 07/11] cpufreq: tegra20: Check if this is Tegra20 machine

2018-05-18 Thread Thierry Reding
On Thu, May 17, 2018 at 09:00:52PM +0300, Dmitry Osipenko wrote: > Don't even try to request the clocks during of module initialization on > non-Tegra20 machines (this is the case for a multi-platform kernel) for > consistency. > > Signed-off-by: Dmitry Osipenko > --- > drivers/cpufreq/tegra20-c

Re: [PATCH v2 01/29] venus: hfi_msgs: correct pointer increment

2018-05-18 Thread Tomasz Figa
On Tue, May 15, 2018 at 5:13 PM Stanimir Varbanov < stanimir.varba...@linaro.org> wrote: > Data pointer should be incremented by size of the structure not > the size of a pointer, correct the mistake. > Signed-off-by: Stanimir Varbanov > --- > drivers/media/platform/qcom/venus/hfi_msgs.c | 4 +

[PATCH] clk: aspeed: Add 24MHz fixed clock

2018-05-18 Thread Lei YU
Add a 24MHz fixed clock. This clock will be used for certain devices, e.g. pwm. Signed-off-by: Lei YU --- drivers/clk/clk-aspeed.c | 9 - include/dt-bindings/clock/aspeed-clock.h | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-aspeed.c

[PATCH 4.14 41/45] xfrm: Use __skb_queue_tail in xfrm_trans_queue

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit d16b46e4fd8bc6063624605f25b8c0835bb1fbe3 upstream. We do not need locking in xfrm_trans_queue because it is designed to use per-CPU buffers. However, the original code incor

Re: [PATCH v1 05/11] cpufreq: tegra20: Clean up included headers

2018-05-18 Thread Thierry Reding
On Fri, May 18, 2018 at 11:05:58AM +0300, Dmitry Osipenko wrote: > On 18.05.2018 04:58, Viresh Kumar wrote: > > On 17-05-18, 21:00, Dmitry Osipenko wrote: > >> Remove unused/unneeded headers and sort them in the alphabet order. > >> > >> Signed-off-by: Dmitry Osipenko > >> --- > >> drivers/cpufre

Re: [PATCH v1 06/11] cpufreq: tegra20: Remove unneeded check in tegra_cpu_init

2018-05-18 Thread Thierry Reding
On Thu, May 17, 2018 at 09:00:51PM +0300, Dmitry Osipenko wrote: > Remove checking of the CPU number for consistency as it won't ever fail > unless there is a severe bug in the cpufreq core. > > Signed-off-by: Dmitry Osipenko > --- > drivers/cpufreq/tegra20-cpufreq.c | 5 - > 1 file changed,

Re: [PATCH v5 06/13] KVM: s390: interfaces to manage guest's AP matrix

2018-05-18 Thread Pierre Morel
On 16/05/2018 15:48, Tony Krowiak wrote: On 05/16/2018 09:15 AM, Pierre Morel wrote: On 16/05/2018 15:12, Tony Krowiak wrote: On 05/16/2018 03:48 AM, Pierre Morel wrote: On 15/05/2018 18:07, Tony Krowiak wrote: On 05/15/2018 10:55 AM, Pierre Morel wrote: On 07/05/2018 17:11, Tony Krowiak wro

Re: [PATCH v7 3/5] drm/mali-dp: Add writeback support for DP500.

2018-05-18 Thread Brian Starkey
Hi Liviu, On Fri, May 18, 2018 at 09:24:21AM +0100, Liviu Dudau wrote: Mali DP500 behaves differently from the rest of the Mali DP IP, in that it does not have a one-shot mode and keeps writing the content of the current frame to the provided memory area until stopped. As a way of emulating the

Re: [PATCH 01/28] venus: hfi_msgs: correct pointer increment

2018-05-18 Thread Tomasz Figa
On Fri, May 18, 2018 at 5:52 PM Stanimir Varbanov < stanimir.varba...@linaro.org> wrote: > Hi Tomasz, > Thanks for the review! > On 05/18/2018 11:33 AM, Tomasz Figa wrote: > > Hi Stanimir, > > > > Thanks for the series. I'll be gradually reviewing subsequent patches. Stay > > tuned. :) > > > Pl

[PATCH V7 11/12] ARM: dts: ipq8074: Add pcie nodes

2018-05-18 Thread Sricharan R
The driver/phy support for ipq8074 is available now. So enabling the nodes in DT. Reviewed-by: Abhishek Sahu Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 157 +- 1 file changed, 156 insertions(+), 1 deletion(-)

[PATCH 4.14 43/45] xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM)

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Antony Antony commit 75bf50f4aaa1c78d769d854ab3d975884909e4fb upstream. copy geniv when cloning the xfrm state. x->geniv was not copied to the new state and migration would fail. xfrm_do_mig

Re: [PATCH 2/2] proc: test /proc/self/syscall

2018-05-18 Thread Naresh Kamboju
On 15 May 2018 at 01:33, Alexey Dobriyan wrote: > On Tue, May 15, 2018 at 12:34:18AM +0530, Naresh Kamboju wrote: >> Hi Alexey, >> >> On 27 February 2018 at 02:51, Alexey Dobriyan wrote: >> > Read from /proc/self/syscall should yield read system call and correct >> > args in the output as current

Re: [PATCH 38/42] isdn: replace ->proc_fops with ->proc_show

2018-05-18 Thread Christoph Hellwig
On Fri, May 18, 2018 at 10:43:46AM +0200, Paul Bolle wrote: > > iif->ctr.release_appl = gigaset_release_appl; > > iif->ctr.send_message = gigaset_send_message; > > - iif->ctr.procinfo = gigaset_procinfo; > > Is this intentional? You didn't touch the procinfo method in the other IS

Re: [PATCH 7/7] aio: implement io_pgetevents

2018-05-18 Thread Christoph Hellwig
On Fri, May 18, 2018 at 09:28:38AM +0100, James Hogan wrote: > Given this: > > On Wed, May 02, 2018 at 11:14:48PM +0200, Christoph Hellwig wrote: > > +struct __aio_sigset { > > + sigset_t __user *sigmask; > > + size_t sigsetsize; > > +}; > > and: > > > +asmlinkage long sys_io_pgetev

RE: [RFC] platform: detach from PM domains on shutdown

2018-05-18 Thread Peng Fan
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: 2018年5月18日 15:55 > To: Peng Fan > Cc: Rafael J. Wysocki ; Ulf Hansson > ; Rafael J. Wysocki ; > Fabio Estevam ; Greg Kroah-Hartman > ; Linux Kernel Mailing List > ; Linux PM ; > dl-linux-imx > Subject: Re

Re: [PATCH v5 4/4] drm/rockchip: support dp training outside dp firmware

2018-05-18 Thread Heiko Stuebner
Am Freitag, 18. Mai 2018, 03:45:46 CEST schrieb Brian Norris: > On Thu, May 17, 2018 at 6:41 PM, hl wrote: > > On Thursday, May 17, 2018 09:51 PM, Sean Paul wrote: > >> On Thu, May 17, 2018 at 05:18:00PM +0800, Lin Huang wrote: > >>> DP firmware uses fixed phy config values to do training, but som

Re: [PATCH 01/28] venus: hfi_msgs: correct pointer increment

2018-05-18 Thread Stanimir Varbanov
Hi Tomasz, Thanks for the review! On 05/18/2018 11:33 AM, Tomasz Figa wrote: > Hi Stanimir, > > Thanks for the series. I'll be gradually reviewing subsequent patches. Stay > tuned. :) > Please consider that there is a v2 of this patchset. :) > > Reviewed-by: Tomasz Figa > Thanks! -- reg

[PATCH 4.14 44/45] l2tp: revert "l2tp: fix missing print session offset info"

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: James Chapman commit de3b58bc359a861d5132300f53f95e83f71954b3 upstream. Revert commit 820da5357572 ("l2tp: fix missing print session offset info"). The peer_offset parameter is removed. Sign

[PATCH 4.14 42/45] btrfs: Take trans lock before access running trans in check_delayed_ref

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: ethanwu commit 998ac6d21cfd6efd58f5edf420bae8839dda9f2a upstream. In preivous patch: Btrfs: kill trans in run_delalloc_nocow and btrfs_cross_ref_exist We avoid starting btrfs transaction and g

[PATCH 4.14 45/45] proc: do not access cmdline nor environ from file-backed areas

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Willy Tarreau commit 7f7ccc2ccc2e70c6054685f5e3522efa81556830 upstream. proc_pid_cmdline_read() and environ_read() directly access the target process' VM to retrieve the command line and envir

[PATCH 4.14 21/45] rds: do not leak kernel memory to user land

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit eb80ca476ec11f67a62691a93604b405ffc7d80c ] syzbot/KMSAN reported an uninit-value in put_cmsg(), originating from rds_cmsg_recv(). Simply clear the structure, si

Re: [PATCH net-next ] net: mscc: Add SPDX identifier

2018-05-18 Thread Alexandre Belloni
On 18/05/2018 01:14:25-0700, Joe Perches wrote: > Mostly, it's a question of what the original > license is. As far as I can tell, microsemi > publishes their code only under an MIT license. > This code didn't exist until I wrote it. The original license is the one from the SPDX identifier. > T

[PATCH 4.14 22/45] sctp: delay the authentication for the duplicated cookie-echo chunk

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 59d8d4434f429b4fa8a346fd889058bda427a837 ] Now sctp only delays the authentication for the normal cookie-echo chunk by setting chunk->auth_chunk in sctp_endpoint_bh_

[PATCH V7 12/12] ARM: dts: ipq8074: Enable few peripherals for hk01 board

2018-05-18 Thread Sricharan R
Reviewed-by: Abhishek Sahu Acked-by: Bjorn Andersson Signed-off-by: Sricharan R --- arch/arm64/boot/dts/qcom/ipq8074-hk01.dts | 54 +++ 1 file changed, 54 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts b/arch/arm64/boot/dts/qcom/ipq8074-hk01.d

[PATCH 4.14 23/45] sctp: fix the issue that the cookie-ack with auth cant get processed

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit ce402f044e4e432c296f90eaabb8dbe8f3624391 ] When auth is enabled for cookie-ack chunk, in sctp_inq_pop, sctp processes auth chunk first, then continues to the next ch

[PATCH 4.14 26/45] sctp: use the old asoc when making the cookie-ack chunk in dupcook_d

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 46e16d4b956867013e0bbd7f2bad206f4aa55752 ] When processing a duplicate cookie-echo chunk, for case 'D', sctp will not process the param from this chunk. It means old

[PATCH 4.14 24/45] sctp: handle two v4 addrs comparison in sctp_inet6_cmp_addr

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit d625329b06e46bd20baf9ee40847d11982569204 ] Since sctp ipv6 socket also supports v4 addrs, it's possible to compare two v4 addrs in pf v6 .cmp_addr, sctp_inet6_cmp_ad

[PATCH 4.14 18/45] openvswitch: Dont swap table in nlattr_set() after OVS_ATTR_NESTED is found

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit 72f17baf2352ded6a1d3f4bb2d15da8c678cd2cb ] If an OVS_ATTR_NESTED attribute type is found while walking through netlink attributes, we call nlattr_set() recursi

[PATCH] PM / runtime: Fixup reference counting of device link suppliers at probe

2018-05-18 Thread Ulf Hansson
In the driver core, before it invokes really_probe() it runtime resumes the suppliers for the device via calling pm_runtime_get_suppliers(), which also increases the runtime PM usage count for each of the available supplier. This makes sense, as to be able to allow the consumer device to be probed

[PATCH 4.14 27/45] tcp_bbr: fix to zero idle_restart only upon S/ACKed data

2018-05-18 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell [ Upstream commit e6e6a278b1eaffa19d42186bfacd1ffc15a50b3f ] Previously the bbr->idle_restart tracking was zeroing out the bbr->idle_restart bit upon ACKs that did not SACK or AC

Re: [PATCH 1/2] Revert "cpufreq: Remove policy create/remove notifiers"

2018-05-18 Thread skannan
On 2018-05-18 01:33, Rafael J. Wysocki wrote: On Fri, May 18, 2018 at 10:31 AM, wrote: On 2018-05-18 01:29, Rafael J. Wysocki wrote: On Fri, May 18, 2018 at 10:24 AM, Saravana Kannan wrote: This reverts commit f9f41e3ef99ac9d4e91b07634362e393fb929aad. No explanation, no cake. :-) Cha

[PATCH v6 02/17] mm: Introduce CONFIG_MEMCG_KMEM as combination of CONFIG_MEMCG && !CONFIG_SLOB

2018-05-18 Thread Kirill Tkhai
This patch introduces new config option, which is used to replace repeating CONFIG_MEMCG && !CONFIG_SLOB pattern. Next patches add a little more memcg+kmem related code, so let's keep the defines more clearly. Signed-off-by: Kirill Tkhai --- include/linux/list_lru.h |4 ++-- include/linux/

Re: [PATCH 13/18] printk: Remove pr_fmt duplicate logging prefixes

2018-05-18 Thread Petr Mladek
On Thu 2018-05-10 08:45:39, Joe Perches wrote: > Converting pr_fmt from a simple define to use KBUILD_MODNAME added > some duplicate logging prefixes to existing uses. > > Remove them. > > Signed-off-by: Joe Perches Acked-by: Petr Mladek Best Regards, Petr

[PATCH v6 08/17] fs: Propagate shrinker::id to list_lru

2018-05-18 Thread Kirill Tkhai
The patch adds list_lru::shrinker_id field, and populates it by registered shrinker id. This will be used to set correct bit in memcg shrinkers map by lru code in next patches, after there appeared the first related to memcg element in list_lru. Signed-off-by: Kirill Tkhai --- fs/super.c

Re: [PATCH 38/42] isdn: replace ->proc_fops with ->proc_show

2018-05-18 Thread Paul Bolle
Hi Christoph, (I don't think the patches of this series ever hit the ISDN related addresses still found in MAINTAINERS. And now I might be a bit late.) Christoph Hellwig schreef op wo 16-05-2018 om 11:43 [+0200]: > diff --git a/drivers/isdn/gigaset/capi.c b/drivers/isdn/gigaset/capi.c > index cc

[PATCH v6 17/17] mm: Clear shrinker bit if there are no objects related to memcg

2018-05-18 Thread Kirill Tkhai
To avoid further unneed calls of do_shrink_slab() for shrinkers, which already do not have any charged objects in a memcg, their bits have to be cleared. This patch introduces a lockless mechanism to do that without races without parallel list lru add. After do_shrink_slab() returns SHRINK_EMPTY t

[PATCH v6 16/17] mm: Add SHRINK_EMPTY shrinker methods return value

2018-05-18 Thread Kirill Tkhai
We need to differ the situations, when shrinker has very small amount of objects (see vfs_pressure_ratio() called from super_cache_count()), and when it has no objects at all. Currently, in the both of these cases, shrinker::count_objects() returns 0. The patch introduces new SHRINK_EMPTY return v

[PATCH v6 10/17] list_lru: Pass dst_memcg argument to memcg_drain_list_lru_node()

2018-05-18 Thread Kirill Tkhai
This is just refactoring to allow next patches to have dst_memcg pointer in memcg_drain_list_lru_node(). Signed-off-by: Kirill Tkhai --- include/linux/list_lru.h |2 +- mm/list_lru.c| 11 ++- mm/memcontrol.c |2 +- 3 files changed, 8 insertions(+), 7 deleti

[PATCH v6 11/17] list_lru: Pass lru argument to memcg_drain_list_lru_node()

2018-05-18 Thread Kirill Tkhai
This is just refactoring to allow next patches to have lru pointer in memcg_drain_list_lru_node(). Signed-off-by: Kirill Tkhai --- mm/list_lru.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mm/list_lru.c b/mm/list_lru.c index 43cbec52a48a..cab8fad7f7e2 100644 --- a

[PATCH v6 15/17] mm: Generalize shrink_slab() calls in shrink_node()

2018-05-18 Thread Kirill Tkhai
From: Vladimir Davydov The patch makes shrink_slab() be called for root_mem_cgroup in the same way as it's called for the rest of cgroups. This simplifies the logic and improves the readability. Signed-off-by: Vladimir Davydov ktkhai: Description written. Signed-off-by: Kirill Tkhai --- mm/vm

[PATCH v6 14/17] mm: Iterate only over charged shrinkers during memcg shrink_slab()

2018-05-18 Thread Kirill Tkhai
Using the preparations made in previous patches, in case of memcg shrink, we may avoid shrinkers, which are not set in memcg's shrinkers bitmap. To do that, we separate iterations over memcg-aware and !memcg-aware shrinkers, and memcg-aware shrinkers are chosen via for_each_set_bit() from the bitma

[PATCH v6 13/17] mm: Export mem_cgroup_is_root()

2018-05-18 Thread Kirill Tkhai
This will be used in next patch. Signed-off-by: Kirill Tkhai --- include/linux/memcontrol.h | 10 ++ mm/memcontrol.c|5 - 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 7ae1b94becf3..cd44

[PATCH v6 12/17] mm: Set bit in memcg shrinker bitmap on first list_lru item apearance

2018-05-18 Thread Kirill Tkhai
Introduce set_shrinker_bit() function to set shrinker-related bit in memcg shrinker bitmap, and set the bit after the first item is added and in case of reparenting destroyed memcg's items. This will allow next patch to make shrinkers be called only, in case of they have charged objects at the mom

<    5   6   7   8   9   10   11   12   >