[PATCH AUTOSEL 4.19 52/73] sched/core: Take the hotplug lock in sched_init_smp()

2018-11-14 Thread Sasha Levin
From: Valentin Schneider [ Upstream commit 40fa3780bac2b654edf23f6b13f4e2dd550aea10 ] When running on linux-next (8c60c36d0b8c ("Add linux-next specific files for 20181019")) + CONFIG_PROVE_LOCKING=y on a big.LITTLE system (e.g. Juno or HiKey960), we get the following report: [0.748225]

[PATCH AUTOSEL 4.19 51/73] i2c: qcom-geni: Fix runtime PM mismatch with child devices

2018-11-14 Thread Sasha Levin
From: Stephen Boyd [ Upstream commit 848bd3f3de9d44950c00eda6c115e8e9785440da ] We need to enable runtime PM on this i2c controller before populating child devices with i2c_add_adapter(). Otherwise, if a child device uses runtime PM and stays runtime PM enabled we'll get the following warning

[PATCH AUTOSEL 4.19 52/73] sched/core: Take the hotplug lock in sched_init_smp()

2018-11-14 Thread Sasha Levin
From: Valentin Schneider [ Upstream commit 40fa3780bac2b654edf23f6b13f4e2dd550aea10 ] When running on linux-next (8c60c36d0b8c ("Add linux-next specific files for 20181019")) + CONFIG_PROVE_LOCKING=y on a big.LITTLE system (e.g. Juno or HiKey960), we get the following report: [0.748225]

[PATCH AUTOSEL 4.19 51/73] i2c: qcom-geni: Fix runtime PM mismatch with child devices

2018-11-14 Thread Sasha Levin
From: Stephen Boyd [ Upstream commit 848bd3f3de9d44950c00eda6c115e8e9785440da ] We need to enable runtime PM on this i2c controller before populating child devices with i2c_add_adapter(). Otherwise, if a child device uses runtime PM and stays runtime PM enabled we'll get the following warning

[PATCH AUTOSEL 4.19 56/73] ice: Fix the bytecount sent to netdev_tx_sent_queue

2018-11-14 Thread Sasha Levin
From: Brett Creeley [ Upstream commit d944b46992f8e99b6bdc721e44b02e5ca294fa2b ] Currently if the driver does a TSO offload the bytecount sent to netdev_tx_sent_queue will be incorrect. This is because in ice_tso we overwrite the initial value that we set in ice_tx_map. This creates a mismatch

[PATCH AUTOSEL 4.19 61/73] qed: Fix blocking/unlimited SPQ entries leak

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit 2632f22ebd08da249c2017962a199a0cfb2324bf ] When there are no SPQ entries left in the free_pool, new entries are allocated and are added to the unlimited list. When an entry in the pool is available, the content is copied from the original entry, and the new

[PATCH AUTOSEL 4.19 53/73] perf tools: Fix undefined symbol scnprintf in libperf-jvmti.so

2018-11-14 Thread Sasha Levin
From: Gustavo Romero [ Upstream commit 6ac2226229d931153331a93d90655a3de05b9290 ] Currently jvmti agent can not be used because function scnprintf is not present in the agent libperf-jvmti.so. As a result the JVM when using such agent to record JITed code profiling information will fail on

[PATCH AUTOSEL 4.19 59/73] ibmvnic: fix accelerated VLAN handling

2018-11-14 Thread Sasha Levin
From: Michał Mirosław [ Upstream commit e84b47941e15eafb8ee8b21d1c3fc1a013af ] Don't request tag insertion when it isn't present in outgoing skb. Signed-off-by: Michał Mirosław Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/ibm/ibmvnic.c | 2 +- 1

[PATCH AUTOSEL 4.19 50/73] i2c: omap: Enable for ARCH_K3

2018-11-14 Thread Sasha Levin
From: Vignesh R [ Upstream commit 5b277402deac0691226a947df71c581686bd4020 ] Allow I2C_OMAP to be built for K3 platforms. Signed-off-by: Vignesh R Reviewed-by: Grygorii Strashko Signed-off-by: Wolfram Sang Signed-off-by: Sasha Levin --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1

[PATCH AUTOSEL 4.19 57/73] ice: Change req_speeds to be u16

2018-11-14 Thread Sasha Levin
From: Chinh T Cao [ Upstream commit ffe498237b36ee42624e139b21efa05da4ff1f48 ] Since the req_speeds field in struct ice_link_status is a u8, req_speeds & ICE_AQ_LINK_SPEED_40GB always returns 0. This was caught by a coverity scan. Fix this by changing req_speeds to be u16. Reported-by: Bruce

[PATCH AUTOSEL 4.19 62/73] qed: Fix SPQ entries not returned to pool in error flows

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit fb5e7438e7a3c8966e04ccb0760170e9e06f3699 ] qed_sp_destroy_request() API was added for SPQ users that need to free/return the entry they acquired in their error flows. Signed-off-by: Denis Bolotin Signed-off-by: Michal Kalderon Signed-off-by: David S.

[PATCH AUTOSEL 4.19 56/73] ice: Fix the bytecount sent to netdev_tx_sent_queue

2018-11-14 Thread Sasha Levin
From: Brett Creeley [ Upstream commit d944b46992f8e99b6bdc721e44b02e5ca294fa2b ] Currently if the driver does a TSO offload the bytecount sent to netdev_tx_sent_queue will be incorrect. This is because in ice_tso we overwrite the initial value that we set in ice_tx_map. This creates a mismatch

[PATCH AUTOSEL 4.19 61/73] qed: Fix blocking/unlimited SPQ entries leak

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit 2632f22ebd08da249c2017962a199a0cfb2324bf ] When there are no SPQ entries left in the free_pool, new entries are allocated and are added to the unlimited list. When an entry in the pool is available, the content is copied from the original entry, and the new

[PATCH AUTOSEL 4.19 53/73] perf tools: Fix undefined symbol scnprintf in libperf-jvmti.so

2018-11-14 Thread Sasha Levin
From: Gustavo Romero [ Upstream commit 6ac2226229d931153331a93d90655a3de05b9290 ] Currently jvmti agent can not be used because function scnprintf is not present in the agent libperf-jvmti.so. As a result the JVM when using such agent to record JITed code profiling information will fail on

[PATCH AUTOSEL 4.19 59/73] ibmvnic: fix accelerated VLAN handling

2018-11-14 Thread Sasha Levin
From: Michał Mirosław [ Upstream commit e84b47941e15eafb8ee8b21d1c3fc1a013af ] Don't request tag insertion when it isn't present in outgoing skb. Signed-off-by: Michał Mirosław Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/ibm/ibmvnic.c | 2 +- 1

[PATCH AUTOSEL 4.19 50/73] i2c: omap: Enable for ARCH_K3

2018-11-14 Thread Sasha Levin
From: Vignesh R [ Upstream commit 5b277402deac0691226a947df71c581686bd4020 ] Allow I2C_OMAP to be built for K3 platforms. Signed-off-by: Vignesh R Reviewed-by: Grygorii Strashko Signed-off-by: Wolfram Sang Signed-off-by: Sasha Levin --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1

[PATCH AUTOSEL 4.19 57/73] ice: Change req_speeds to be u16

2018-11-14 Thread Sasha Levin
From: Chinh T Cao [ Upstream commit ffe498237b36ee42624e139b21efa05da4ff1f48 ] Since the req_speeds field in struct ice_link_status is a u8, req_speeds & ICE_AQ_LINK_SPEED_40GB always returns 0. This was caught by a coverity scan. Fix this by changing req_speeds to be u16. Reported-by: Bruce

[PATCH AUTOSEL 4.19 62/73] qed: Fix SPQ entries not returned to pool in error flows

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit fb5e7438e7a3c8966e04ccb0760170e9e06f3699 ] qed_sp_destroy_request() API was added for SPQ users that need to free/return the entry they acquired in their error flows. Signed-off-by: Denis Bolotin Signed-off-by: Michal Kalderon Signed-off-by: David S.

[PATCH AUTOSEL 4.19 58/73] i40e: restore NETIF_F_GSO_IPXIP[46] to netdev features

2018-11-14 Thread Sasha Levin
From: Jacob Keller [ Upstream commit ba766b8b99c30ad3c55ed8cf224d1185ecff1476 ] Since commit bacd75cfac8a ("i40e/i40evf: Add capability exchange for outer checksum", 2017-04-06) the i40e driver has not reported support for IP-in-IP offloads. This likely occurred due to a bad rebase, as the

[PATCH AUTOSEL 4.19 54/73] perf tools: Do not zero sample_id_all for group members

2018-11-14 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 8e88c29b351ed4e09dd63f825f1c8260b0cb0ab3 ] Andi reported following malfunction: # perf record -e '{ref-cycles,cycles}:S' -a sleep 1 # perf script non matching sample_id_all That's because we disable sample_id_all bit for non-sampling group members. We

[PATCH AUTOSEL 4.19 55/73] ice: Fix dead device link issue with flow control

2018-11-14 Thread Sasha Levin
From: Akeem G Abodunrin [ Upstream commit 0f5d4c21a50716f8bd4e220544b82dca7408d113 ] Setting Rx or Tx pause parameter currently results in link loss on the interface, requiring the platform/host to be cold power cycled. Fix it. Signed-off-by: Akeem G Abodunrin Signed-off-by: Anirudh

[PATCH AUTOSEL 4.19 55/73] ice: Fix dead device link issue with flow control

2018-11-14 Thread Sasha Levin
From: Akeem G Abodunrin [ Upstream commit 0f5d4c21a50716f8bd4e220544b82dca7408d113 ] Setting Rx or Tx pause parameter currently results in link loss on the interface, requiring the platform/host to be cold power cycled. Fix it. Signed-off-by: Akeem G Abodunrin Signed-off-by: Anirudh

[PATCH AUTOSEL 4.19 58/73] i40e: restore NETIF_F_GSO_IPXIP[46] to netdev features

2018-11-14 Thread Sasha Levin
From: Jacob Keller [ Upstream commit ba766b8b99c30ad3c55ed8cf224d1185ecff1476 ] Since commit bacd75cfac8a ("i40e/i40evf: Add capability exchange for outer checksum", 2017-04-06) the i40e driver has not reported support for IP-in-IP offloads. This likely occurred due to a bad rebase, as the

[PATCH AUTOSEL 4.19 54/73] perf tools: Do not zero sample_id_all for group members

2018-11-14 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 8e88c29b351ed4e09dd63f825f1c8260b0cb0ab3 ] Andi reported following malfunction: # perf record -e '{ref-cycles,cycles}:S' -a sleep 1 # perf script non matching sample_id_all That's because we disable sample_id_all bit for non-sampling group members. We

[PATCH AUTOSEL 4.19 66/73] ext4: missing !bh check in ext4_xattr_inode_write()

2018-11-14 Thread Sasha Levin
From: Vasily Averin [ Upstream commit eb6984fa4ce2837dcb1f66720a600f31b0bb3739 ] According to Ted Ts'o ext4_getblk() called in ext4_xattr_inode_write() should not return bh = NULL The only time that bh could be NULL, then, would be in the case of something really going wrong; a programming

[PATCH AUTOSEL 4.18 04/59] HID: alps: allow incoming reports when only the trackstick is opened

2018-11-14 Thread Sasha Levin
From: Benjamin Tissoires [ Upstream commit 7dd8db68949a7acc5bd528ee0ecb8f8720f49921 ] If userspace only reads the trackstick node, and no one is listening to the touchpad nor the hidraw node then, the device is not powered on. Add open/close callbacks to allow users to disable the touchpad in

[PATCH AUTOSEL 4.19 66/73] ext4: missing !bh check in ext4_xattr_inode_write()

2018-11-14 Thread Sasha Levin
From: Vasily Averin [ Upstream commit eb6984fa4ce2837dcb1f66720a600f31b0bb3739 ] According to Ted Ts'o ext4_getblk() called in ext4_xattr_inode_write() should not return bh = NULL The only time that bh could be NULL, then, would be in the case of something really going wrong; a programming

[PATCH AUTOSEL 4.18 04/59] HID: alps: allow incoming reports when only the trackstick is opened

2018-11-14 Thread Sasha Levin
From: Benjamin Tissoires [ Upstream commit 7dd8db68949a7acc5bd528ee0ecb8f8720f49921 ] If userspace only reads the trackstick node, and no one is listening to the touchpad nor the hidraw node then, the device is not powered on. Add open/close callbacks to allow users to disable the touchpad in

[PATCH AUTOSEL 4.18 09/59] s390/mm: Fix ERROR: "__node_distance" undefined!

2018-11-14 Thread Sasha Levin
From: "Justin M. Forbes" [ Upstream commit a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24 ] Fixes: ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 make: *** [Makefile:1275: modules] Error 2 + exit 1 Signed-off-by:

[PATCH AUTOSEL 4.18 09/59] s390/mm: Fix ERROR: "__node_distance" undefined!

2018-11-14 Thread Sasha Levin
From: "Justin M. Forbes" [ Upstream commit a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24 ] Fixes: ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 make: *** [Makefile:1275: modules] Error 2 + exit 1 Signed-off-by:

[PATCH AUTOSEL 4.18 25/59] ARM: dts: imx6sx-sdb: Fix enet phy regulator

2018-11-14 Thread Sasha Levin
From: Leonard Crestez [ Upstream commit 1ad9fb750a104f51851c092edd7b3553f0218428 ] Bindings for "fixed-regulator" only explicitly support "gpio" property, not "gpios". Fix by correcting the property name. The enet PHYs on imx6sx-sdb needs to be explicitly reset after a power cycle, this can be

[PATCH AUTOSEL 4.18 25/59] ARM: dts: imx6sx-sdb: Fix enet phy regulator

2018-11-14 Thread Sasha Levin
From: Leonard Crestez [ Upstream commit 1ad9fb750a104f51851c092edd7b3553f0218428 ] Bindings for "fixed-regulator" only explicitly support "gpio" property, not "gpios". Fix by correcting the property name. The enet PHYs on imx6sx-sdb needs to be explicitly reset after a power cycle, this can be

[PATCH AUTOSEL 4.18 26/59] Revert "drm/exynos/decon5433: implement frame counter"

2018-11-14 Thread Sasha Levin
From: Inki Dae [ Upstream commit 6ca469e22a30992b4478d2ab88737c70667c1e00 ] This reverts commit 0586feba322e1de05075700eb4b835c8b683e62b This patch makes it to need get_vblank_counter callback in crtc to get frame counter from decon driver. However, drm_dev->max_vblank_count is a member

[PATCH AUTOSEL 4.18 24/59] ARM: dts: fsl: Fix improperly quoted stdout-path values

2018-11-14 Thread Sasha Levin
From: Rob Herring [ Upstream commit 1af6ab3bac8458fc2e92ad7bb97b62de4a1fddef ] A quoted label reference doesn't expand to the node path and is taken as a literal string. Dropping the quotes can fix this unless the baudrate string is appended in which case we have to use the alias. At least on

[PATCH AUTOSEL 4.18 21/59] mlxsw: spectrum: Fix IP2ME CPU policer configuration

2018-11-14 Thread Sasha Levin
From: Shalom Toledo [ Upstream commit 96801552f846460fe9ac10f1b189602992f004e1 ] The CPU policer used to police packets being trapped via a local route (IP2ME) was incorrectly configured to police based on bytes per second instead of packets per second. Change the policer to police based on

[PATCH AUTOSEL 4.18 23/59] net: phy: realtek: fix RTL8201F sysfs name

2018-11-14 Thread Sasha Levin
From: Holger Hoffstätte [ Upstream commit 0432e833191ad4d17b7fc2364941f91dad51db1a ] Since 4.19 the following error in sysfs has appeared when using the r8169 NIC driver: $cd /sys/module/realtek/drivers $ls -l ls: cannot access 'mdio_bus:RTL8201F 10/100Mbps Ethernet': No such file or

[PATCH AUTOSEL 4.18 22/59] hwmon: (ibmpowernv) Remove bogus __init annotations

2018-11-14 Thread Sasha Levin
From: Geert Uytterhoeven [ Upstream commit e3e61f01d755188cb6c2dcf5a244b9c0937c258e ] If gcc decides not to inline make_sensor_label(): WARNING: vmlinux.o(.text+0x4df549c): Section mismatch in reference from the function .create_device_attrs() to the function

[PATCH AUTOSEL 4.18 29/59] mtd: nand: Fix nanddev_pos_next_page() kernel-doc header

2018-11-14 Thread Sasha Levin
From: Boris Brezillon [ Upstream commit 98ee3fc7ef8395f8b7a379e6608aee91efc66d48 ] Function name is wrong in the kernel-doc header. Fixes: 9c3736a3de21 ("mtd: nand: Add core infrastructure to deal with NAND devices") Signed-off-by: Boris Brezillon Reviewed-by: Miquel Raynal Signed-off-by:

Re: [PATCH v2] HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges

2018-11-14 Thread Jann Horn
On Wed, Nov 14, 2018 at 11:29 PM Dmitry Torokhov wrote: > On Wed, Nov 14, 2018 at 2:05 PM Jann Horn wrote: > > On Wed, Nov 14, 2018 at 10:55 PM Eric Biggers wrote: > > > When a UHID_CREATE command is written to the uhid char device, a > > > copy_from_user() is done from a user pointer embedded

[PATCH AUTOSEL 4.18 28/59] clk: fixed-factor: fix of_node_get-put imbalance

2018-11-14 Thread Sasha Levin
From: Ricardo Ribalda Delgado [ Upstream commit f98e8a572bddbf27032114127d2fcc78fa5e6a9d ] When the fixed factor clock is created by devicetree, of_clk_add_provider is called. Add a call to of_clk_del_provider in the remove function to balance it out. Reported-by: Alan Tull Fixes:

[PATCH AUTOSEL 4.18 26/59] Revert "drm/exynos/decon5433: implement frame counter"

2018-11-14 Thread Sasha Levin
From: Inki Dae [ Upstream commit 6ca469e22a30992b4478d2ab88737c70667c1e00 ] This reverts commit 0586feba322e1de05075700eb4b835c8b683e62b This patch makes it to need get_vblank_counter callback in crtc to get frame counter from decon driver. However, drm_dev->max_vblank_count is a member

[PATCH AUTOSEL 4.18 24/59] ARM: dts: fsl: Fix improperly quoted stdout-path values

2018-11-14 Thread Sasha Levin
From: Rob Herring [ Upstream commit 1af6ab3bac8458fc2e92ad7bb97b62de4a1fddef ] A quoted label reference doesn't expand to the node path and is taken as a literal string. Dropping the quotes can fix this unless the baudrate string is appended in which case we have to use the alias. At least on

[PATCH AUTOSEL 4.18 21/59] mlxsw: spectrum: Fix IP2ME CPU policer configuration

2018-11-14 Thread Sasha Levin
From: Shalom Toledo [ Upstream commit 96801552f846460fe9ac10f1b189602992f004e1 ] The CPU policer used to police packets being trapped via a local route (IP2ME) was incorrectly configured to police based on bytes per second instead of packets per second. Change the policer to police based on

[PATCH AUTOSEL 4.18 23/59] net: phy: realtek: fix RTL8201F sysfs name

2018-11-14 Thread Sasha Levin
From: Holger Hoffstätte [ Upstream commit 0432e833191ad4d17b7fc2364941f91dad51db1a ] Since 4.19 the following error in sysfs has appeared when using the r8169 NIC driver: $cd /sys/module/realtek/drivers $ls -l ls: cannot access 'mdio_bus:RTL8201F 10/100Mbps Ethernet': No such file or

[PATCH AUTOSEL 4.18 22/59] hwmon: (ibmpowernv) Remove bogus __init annotations

2018-11-14 Thread Sasha Levin
From: Geert Uytterhoeven [ Upstream commit e3e61f01d755188cb6c2dcf5a244b9c0937c258e ] If gcc decides not to inline make_sensor_label(): WARNING: vmlinux.o(.text+0x4df549c): Section mismatch in reference from the function .create_device_attrs() to the function

[PATCH AUTOSEL 4.18 29/59] mtd: nand: Fix nanddev_pos_next_page() kernel-doc header

2018-11-14 Thread Sasha Levin
From: Boris Brezillon [ Upstream commit 98ee3fc7ef8395f8b7a379e6608aee91efc66d48 ] Function name is wrong in the kernel-doc header. Fixes: 9c3736a3de21 ("mtd: nand: Add core infrastructure to deal with NAND devices") Signed-off-by: Boris Brezillon Reviewed-by: Miquel Raynal Signed-off-by:

Re: [PATCH v2] HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges

2018-11-14 Thread Jann Horn
On Wed, Nov 14, 2018 at 11:29 PM Dmitry Torokhov wrote: > On Wed, Nov 14, 2018 at 2:05 PM Jann Horn wrote: > > On Wed, Nov 14, 2018 at 10:55 PM Eric Biggers wrote: > > > When a UHID_CREATE command is written to the uhid char device, a > > > copy_from_user() is done from a user pointer embedded

[PATCH AUTOSEL 4.18 28/59] clk: fixed-factor: fix of_node_get-put imbalance

2018-11-14 Thread Sasha Levin
From: Ricardo Ribalda Delgado [ Upstream commit f98e8a572bddbf27032114127d2fcc78fa5e6a9d ] When the fixed factor clock is created by devicetree, of_clk_add_provider is called. Add a call to of_clk_del_provider in the remove function to balance it out. Reported-by: Alan Tull Fixes:

[PATCH AUTOSEL 4.18 19/59] s390/qeth: fix HiperSockets sniffer

2018-11-14 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit bd74a7f9cc033cf4d405788f80292268987dc0c5 ] Sniffing mode for L3 HiperSockets requires that no IP addresses are registered with the HW. The preferred way to achieve this is for userspace to delete all the IPs on the interface. But qeth is expected to also

[PATCH AUTOSEL 4.18 20/59] net: hns3: Fix for out-of-bounds access when setting pfc back pressure

2018-11-14 Thread Sasha Levin
From: Yunsheng Lin [ Upstream commit e8ccbb7d2f53c62e14b889faaa3f6f809b657278 ] The vport should be initialized to hdev->vport for each bp group, otherwise it will cause out-of-bounds access and bp setting not correct problem. [ 35.254124] BUG: KASAN: slab-out-of-bounds in

[PATCH AUTOSEL 4.18 19/59] s390/qeth: fix HiperSockets sniffer

2018-11-14 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit bd74a7f9cc033cf4d405788f80292268987dc0c5 ] Sniffing mode for L3 HiperSockets requires that no IP addresses are registered with the HW. The preferred way to achieve this is for userspace to delete all the IPs on the interface. But qeth is expected to also

[PATCH AUTOSEL 4.18 20/59] net: hns3: Fix for out-of-bounds access when setting pfc back pressure

2018-11-14 Thread Sasha Levin
From: Yunsheng Lin [ Upstream commit e8ccbb7d2f53c62e14b889faaa3f6f809b657278 ] The vport should be initialized to hdev->vport for each bp group, otherwise it will cause out-of-bounds access and bp setting not correct problem. [ 35.254124] BUG: KASAN: slab-out-of-bounds in

[PATCH AUTOSEL 4.18 35/59] ceph: quota: fix null pointer dereference in quota check

2018-11-14 Thread Sasha Levin
From: Luis Henriques [ Upstream commit 71f2cc64d027d712f29bf8d09d3e123302d5f245 ] This patch fixes a possible null pointer dereference in check_quota_exceeded, detected by the static checker smatch, with the following warning:    fs/ceph/quota.c:240 check_quota_exceeded() error: we

[PATCH AUTOSEL 4.18 36/59] clk: meson-gxbb: set fclk_div3 as CLK_IS_CRITICAL

2018-11-14 Thread Sasha Levin
From: Christian Hewitt [ Upstream commit e2576c8bdfd462c34b8a46c0084e7c30b0851bf4 ] On the Khadas VIM2 (GXM) and LePotato (GXL) board there are problems with reboot; e.g. a ~60 second delay between issuing reboot and the board power cycling (and in some OS configurations reboot will fail and

[PATCH AUTOSEL 4.18 35/59] ceph: quota: fix null pointer dereference in quota check

2018-11-14 Thread Sasha Levin
From: Luis Henriques [ Upstream commit 71f2cc64d027d712f29bf8d09d3e123302d5f245 ] This patch fixes a possible null pointer dereference in check_quota_exceeded, detected by the static checker smatch, with the following warning:    fs/ceph/quota.c:240 check_quota_exceeded() error: we

[PATCH AUTOSEL 4.18 36/59] clk: meson-gxbb: set fclk_div3 as CLK_IS_CRITICAL

2018-11-14 Thread Sasha Levin
From: Christian Hewitt [ Upstream commit e2576c8bdfd462c34b8a46c0084e7c30b0851bf4 ] On the Khadas VIM2 (GXM) and LePotato (GXL) board there are problems with reboot; e.g. a ~60 second delay between issuing reboot and the board power cycling (and in some OS configurations reboot will fail and

[PATCH AUTOSEL 4.18 34/59] s390/perf: Change CPUM_CF return code in event init function

2018-11-14 Thread Sasha Levin
From: Thomas Richter [ Upstream commit 0bb2ae1b26e1fb7543ec7474cdd374ac4b88c4da ] The function perf_init_event() creates a new event and assignes it to a PMU. This a done in a loop over all existing PMUs. For each listed PMU the event init function is called and if this function does return any

Re: [PATCH 1/2] dt-bindings: clk: Add bindings for Fixed MMIO clock

2018-11-14 Thread Stephen Boyd
Quoting Janek Kotas (2018-11-14 07:24:21) > + > +Required properties: > +- compatible : shall be "fixed-mmio-clock". > +- #clock-cells : from common clock binding; shall be set to 0. > +- reg : Address and length of the clock value register set. > + > +Optional properties: > +- clock-output-names

Re: [PATCH 1/2] dt-bindings: clk: Add bindings for Fixed MMIO clock

2018-11-14 Thread Stephen Boyd
Quoting Janek Kotas (2018-11-14 07:24:21) > + > +Required properties: > +- compatible : shall be "fixed-mmio-clock". > +- #clock-cells : from common clock binding; shall be set to 0. > +- reg : Address and length of the clock value register set. > + > +Optional properties: > +- clock-output-names

[PATCH AUTOSEL 4.18 34/59] s390/perf: Change CPUM_CF return code in event init function

2018-11-14 Thread Sasha Levin
From: Thomas Richter [ Upstream commit 0bb2ae1b26e1fb7543ec7474cdd374ac4b88c4da ] The function perf_init_event() creates a new event and assignes it to a PMU. This a done in a loop over all existing PMUs. For each listed PMU the event init function is called and if this function does return any

[PATCH AUTOSEL 4.18 39/59] i2c: omap: Enable for ARCH_K3

2018-11-14 Thread Sasha Levin
From: Vignesh R [ Upstream commit 5b277402deac0691226a947df71c581686bd4020 ] Allow I2C_OMAP to be built for K3 platforms. Signed-off-by: Vignesh R Reviewed-by: Grygorii Strashko Signed-off-by: Wolfram Sang Signed-off-by: Sasha Levin --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1

[PATCH AUTOSEL 4.18 38/59] nvme: make sure ns head inherits underlying device limits

2018-11-14 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 8f676b8508c250bbe255096522fdefb73f1ea0b9 ] Whenever we update ns_head info, we need to make sure it is still compatible with all underlying backing devices because although nvme multipath doesn't have any explicit use of these limits, other devices can

[PATCH AUTOSEL 4.18 39/59] i2c: omap: Enable for ARCH_K3

2018-11-14 Thread Sasha Levin
From: Vignesh R [ Upstream commit 5b277402deac0691226a947df71c581686bd4020 ] Allow I2C_OMAP to be built for K3 platforms. Signed-off-by: Vignesh R Reviewed-by: Grygorii Strashko Signed-off-by: Wolfram Sang Signed-off-by: Sasha Levin --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1

[PATCH AUTOSEL 4.18 38/59] nvme: make sure ns head inherits underlying device limits

2018-11-14 Thread Sasha Levin
From: Sagi Grimberg [ Upstream commit 8f676b8508c250bbe255096522fdefb73f1ea0b9 ] Whenever we update ns_head info, we need to make sure it is still compatible with all underlying backing devices because although nvme multipath doesn't have any explicit use of these limits, other devices can

[GIT PULL] RISC-V Patches for 4.20-rc2

2018-11-14 Thread Palmer Dabbelt
The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-4.20-rc2 for you to fetch changes up to

[GIT PULL] RISC-V Patches for 4.20-rc2

2018-11-14 Thread Palmer Dabbelt
The following changes since commit ccda4af0f4b92f7b4c308d3acc262f4a7e3affad: Linux 4.20-rc2 (2018-11-11 17:12:31 -0600) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-4.20-rc2 for you to fetch changes up to

[PATCH AUTOSEL 4.18 46/59] ibmvnic: fix accelerated VLAN handling

2018-11-14 Thread Sasha Levin
From: Michał Mirosław [ Upstream commit e84b47941e15eafb8ee8b21d1c3fc1a013af ] Don't request tag insertion when it isn't present in outgoing skb. Signed-off-by: Michał Mirosław Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/ibm/ibmvnic.c | 2 +- 1

[PATCH AUTOSEL 4.18 45/59] i40e: restore NETIF_F_GSO_IPXIP[46] to netdev features

2018-11-14 Thread Sasha Levin
From: Jacob Keller [ Upstream commit ba766b8b99c30ad3c55ed8cf224d1185ecff1476 ] Since commit bacd75cfac8a ("i40e/i40evf: Add capability exchange for outer checksum", 2017-04-06) the i40e driver has not reported support for IP-in-IP offloads. This likely occurred due to a bad rebase, as the

[PATCH AUTOSEL 4.18 46/59] ibmvnic: fix accelerated VLAN handling

2018-11-14 Thread Sasha Levin
From: Michał Mirosław [ Upstream commit e84b47941e15eafb8ee8b21d1c3fc1a013af ] Don't request tag insertion when it isn't present in outgoing skb. Signed-off-by: Michał Mirosław Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/ibm/ibmvnic.c | 2 +- 1

[PATCH AUTOSEL 4.18 45/59] i40e: restore NETIF_F_GSO_IPXIP[46] to netdev features

2018-11-14 Thread Sasha Levin
From: Jacob Keller [ Upstream commit ba766b8b99c30ad3c55ed8cf224d1185ecff1476 ] Since commit bacd75cfac8a ("i40e/i40evf: Add capability exchange for outer checksum", 2017-04-06) the i40e driver has not reported support for IP-in-IP offloads. This likely occurred due to a bad rebase, as the

[PATCH AUTOSEL 4.18 42/59] perf tools: Do not zero sample_id_all for group members

2018-11-14 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 8e88c29b351ed4e09dd63f825f1c8260b0cb0ab3 ] Andi reported following malfunction: # perf record -e '{ref-cycles,cycles}:S' -a sleep 1 # perf script non matching sample_id_all That's because we disable sample_id_all bit for non-sampling group members. We

[PATCH AUTOSEL 4.18 42/59] perf tools: Do not zero sample_id_all for group members

2018-11-14 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit 8e88c29b351ed4e09dd63f825f1c8260b0cb0ab3 ] Andi reported following malfunction: # perf record -e '{ref-cycles,cycles}:S' -a sleep 1 # perf script non matching sample_id_all That's because we disable sample_id_all bit for non-sampling group members. We

[PATCH AUTOSEL 4.18 50/59] qed: Fix potential memory corruption

2018-11-14 Thread Sasha Levin
From: Sagiv Ozeri [ Upstream commit fa5c448d98f0df660bfcad3dd5facc027ef84cd3 ] A stuck ramrod should be deleted from the completion_pending list, otherwise it will be added again in the future and corrupt the list. Return error value to inform that ramrod is stuck and should be deleted.

[PATCH AUTOSEL 4.18 50/59] qed: Fix potential memory corruption

2018-11-14 Thread Sasha Levin
From: Sagiv Ozeri [ Upstream commit fa5c448d98f0df660bfcad3dd5facc027ef84cd3 ] A stuck ramrod should be deleted from the completion_pending list, otherwise it will be added again in the future and corrupt the list. Return error value to inform that ramrod is stuck and should be deleted.

Re: ARM builtin perf tests for breakpoint failures

2018-11-14 Thread Will Deacon
Hi Florian, On Wed, Nov 14, 2018 at 12:21:12PM -0800, Florian Fainelli wrote: > I have been trying to debug some perf builtin tests on ARM 32-bit and > found that "Breakpoint overflow signal handler" and "Breakpoint overflow > sampling" were failing, but there are a number of reasons for that and

[PATCH AUTOSEL 4.18 47/59] qed: Fix memory/entry leak in qed_init_sp_request()

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit 39477551df940ddb1339203817de04f5caaacf7a ] Free the allocated SPQ entry or return the acquired SPQ entry to the free list in error flows. Signed-off-by: Denis Bolotin Signed-off-by: Michal Kalderon Signed-off-by: David S. Miller Signed-off-by: Sasha

[PATCH AUTOSEL 4.18 47/59] qed: Fix memory/entry leak in qed_init_sp_request()

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit 39477551df940ddb1339203817de04f5caaacf7a ] Free the allocated SPQ entry or return the acquired SPQ entry to the free list in error flows. Signed-off-by: Denis Bolotin Signed-off-by: Michal Kalderon Signed-off-by: David S. Miller Signed-off-by: Sasha

Re: ARM builtin perf tests for breakpoint failures

2018-11-14 Thread Will Deacon
Hi Florian, On Wed, Nov 14, 2018 at 12:21:12PM -0800, Florian Fainelli wrote: > I have been trying to debug some perf builtin tests on ARM 32-bit and > found that "Breakpoint overflow signal handler" and "Breakpoint overflow > sampling" were failing, but there are a number of reasons for that and

Re: [PATCH v2] HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges

2018-11-14 Thread Jann Horn
On Wed, Nov 14, 2018 at 10:55 PM Eric Biggers wrote: > > From: Eric Biggers > > When a UHID_CREATE command is written to the uhid char device, a > copy_from_user() is done from a user pointer embedded in the command. > When the address limit is KERNEL_DS, e.g. as is the case during >

Re: [PATCH v2] HID: uhid: forbid UHID_CREATE under KERNEL_DS or elevated privileges

2018-11-14 Thread Jann Horn
On Wed, Nov 14, 2018 at 10:55 PM Eric Biggers wrote: > > From: Eric Biggers > > When a UHID_CREATE command is written to the uhid char device, a > copy_from_user() is done from a user pointer embedded in the command. > When the address limit is KERNEL_DS, e.g. as is the case during >

[PATCH AUTOSEL 4.18 48/59] qed: Fix blocking/unlimited SPQ entries leak

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit 2632f22ebd08da249c2017962a199a0cfb2324bf ] When there are no SPQ entries left in the free_pool, new entries are allocated and are added to the unlimited list. When an entry in the pool is available, the content is copied from the original entry, and the new

[PATCH AUTOSEL 4.18 53/59] ext4: missing !bh check in ext4_xattr_inode_write()

2018-11-14 Thread Sasha Levin
From: Vasily Averin [ Upstream commit eb6984fa4ce2837dcb1f66720a600f31b0bb3739 ] According to Ted Ts'o ext4_getblk() called in ext4_xattr_inode_write() should not return bh = NULL The only time that bh could be NULL, then, would be in the case of something really going wrong; a programming

[PATCH AUTOSEL 4.18 48/59] qed: Fix blocking/unlimited SPQ entries leak

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit 2632f22ebd08da249c2017962a199a0cfb2324bf ] When there are no SPQ entries left in the free_pool, new entries are allocated and are added to the unlimited list. When an entry in the pool is available, the content is copied from the original entry, and the new

[PATCH AUTOSEL 4.18 53/59] ext4: missing !bh check in ext4_xattr_inode_write()

2018-11-14 Thread Sasha Levin
From: Vasily Averin [ Upstream commit eb6984fa4ce2837dcb1f66720a600f31b0bb3739 ] According to Ted Ts'o ext4_getblk() called in ext4_xattr_inode_write() should not return bh = NULL The only time that bh could be NULL, then, would be in the case of something really going wrong; a programming

[PATCH AUTOSEL 4.18 49/59] qed: Fix SPQ entries not returned to pool in error flows

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit fb5e7438e7a3c8966e04ccb0760170e9e06f3699 ] qed_sp_destroy_request() API was added for SPQ users that need to free/return the entry they acquired in their error flows. Signed-off-by: Denis Bolotin Signed-off-by: Michal Kalderon Signed-off-by: David S.

[PATCH AUTOSEL 4.18 49/59] qed: Fix SPQ entries not returned to pool in error flows

2018-11-14 Thread Sasha Levin
From: Denis Bolotin [ Upstream commit fb5e7438e7a3c8966e04ccb0760170e9e06f3699 ] qed_sp_destroy_request() API was added for SPQ users that need to free/return the entry they acquired in their error flows. Signed-off-by: Denis Bolotin Signed-off-by: Michal Kalderon Signed-off-by: David S.

[PATCH][next] block: clean up dead code that is now redundant

2018-11-14 Thread Colin King
From: Colin Ian King The boolean next_sorted is set to false and is never changed, hence the code that checks if it is true is dead code and can now be removed. This dead code occurred from a previous commit that cleaned up the elevator and removed the setting of next_sorted to true. Detected

[PATCH AUTOSEL 4.18 57/59] net: qualcomm: rmnet: Fix incorrect assignment of real_dev

2018-11-14 Thread Sasha Levin
From: Subash Abhinov Kasiviswanathan [ Upstream commit d02854dc1999ed3e7fd79ec700c64ac23ac0c458 ] A null dereference was observed when a sysctl was being set from userspace and rmnet was stuck trying to complete some actions in the NETDEV_REGISTER callback. This is because the real_dev is set

[PATCH][next] block: clean up dead code that is now redundant

2018-11-14 Thread Colin King
From: Colin Ian King The boolean next_sorted is set to false and is never changed, hence the code that checks if it is true is dead code and can now be removed. This dead code occurred from a previous commit that cleaned up the elevator and removed the setting of next_sorted to true. Detected

[PATCH AUTOSEL 4.18 57/59] net: qualcomm: rmnet: Fix incorrect assignment of real_dev

2018-11-14 Thread Sasha Levin
From: Subash Abhinov Kasiviswanathan [ Upstream commit d02854dc1999ed3e7fd79ec700c64ac23ac0c458 ] A null dereference was observed when a sysctl was being set from userspace and rmnet was stuck trying to complete some actions in the NETDEV_REGISTER callback. This is because the real_dev is set

Re: [PATCH 0/2] clocksource/meson6_timer: implement ARM delay timer

2018-11-14 Thread Martin Blumenstingl
Hi Daniel, Hi Thomas, On Sun, Oct 28, 2018 at 1:55 PM Martin Blumenstingl wrote: > > While trying to add support for the ARM TWD Timer and the ARM Global > Timer on Meson8, Meson8b and Meson8m2 (ARM Cortex-A5 and Cortex-A9 SoCs) > I did a review of the existing driver. > Unfortunately I found it

[PATCH AUTOSEL 4.18 58/59] kbuild: deb-pkg: fix too low build version number

2018-11-14 Thread Sasha Levin
From: Masahiro Yamada [ Upstream commit bbcde0a7241261cd0ca8d8e6b94a4113a4b71443 ] Since commit b41d920acff8 ("kbuild: deb-pkg: split generating packaging and build"), the build version of the kernel contained in a deb package is too low by 1. Prior to the bad commit, the kernel was built

Re: [PATCH 0/2] clocksource/meson6_timer: implement ARM delay timer

2018-11-14 Thread Martin Blumenstingl
Hi Daniel, Hi Thomas, On Sun, Oct 28, 2018 at 1:55 PM Martin Blumenstingl wrote: > > While trying to add support for the ARM TWD Timer and the ARM Global > Timer on Meson8, Meson8b and Meson8m2 (ARM Cortex-A5 and Cortex-A9 SoCs) > I did a review of the existing driver. > Unfortunately I found it

[PATCH AUTOSEL 4.18 58/59] kbuild: deb-pkg: fix too low build version number

2018-11-14 Thread Sasha Levin
From: Masahiro Yamada [ Upstream commit bbcde0a7241261cd0ca8d8e6b94a4113a4b71443 ] Since commit b41d920acff8 ("kbuild: deb-pkg: split generating packaging and build"), the build version of the kernel contained in a deb package is too low by 1. Prior to the bad commit, the kernel was built

[PATCH AUTOSEL 4.14 04/27] s390/mm: Fix ERROR: "__node_distance" undefined!

2018-11-14 Thread Sasha Levin
From: "Justin M. Forbes" [ Upstream commit a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24 ] Fixes: ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 make: *** [Makefile:1275: modules] Error 2 + exit 1 Signed-off-by:

[PATCH AUTOSEL 4.14 04/27] s390/mm: Fix ERROR: "__node_distance" undefined!

2018-11-14 Thread Sasha Levin
From: "Justin M. Forbes" [ Upstream commit a541f0ebcc08ed8bc0cc492eec9a86cb280a9f24 ] Fixes: ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 make: *** [Makefile:1275: modules] Error 2 + exit 1 Signed-off-by:

[PATCH AUTOSEL 4.14 10/27] s390/qeth: fix HiperSockets sniffer

2018-11-14 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit bd74a7f9cc033cf4d405788f80292268987dc0c5 ] Sniffing mode for L3 HiperSockets requires that no IP addresses are registered with the HW. The preferred way to achieve this is for userspace to delete all the IPs on the interface. But qeth is expected to also

[PATCH AUTOSEL 4.14 08/27] netfilter: ipset: Correct rcu_dereference() call in ip_set_put_comment()

2018-11-14 Thread Sasha Levin
From: Jozsef Kadlecsik [ Upstream commit 17b8b74c0f8dbf9b9e3301f9ca5b65dd1c079951 ] The function is called when rcu_read_lock() is held and not when rcu_read_lock_bh() is held. Signed-off-by: Jozsef Kadlecsik Signed-off-by: Pablo Neira Ayuso Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 4.14 11/27] mlxsw: spectrum: Fix IP2ME CPU policer configuration

2018-11-14 Thread Sasha Levin
From: Shalom Toledo [ Upstream commit 96801552f846460fe9ac10f1b189602992f004e1 ] The CPU policer used to police packets being trapped via a local route (IP2ME) was incorrectly configured to police based on bytes per second instead of packets per second. Change the policer to police based on

[PATCH AUTOSEL 4.14 10/27] s390/qeth: fix HiperSockets sniffer

2018-11-14 Thread Sasha Levin
From: Julian Wiedmann [ Upstream commit bd74a7f9cc033cf4d405788f80292268987dc0c5 ] Sniffing mode for L3 HiperSockets requires that no IP addresses are registered with the HW. The preferred way to achieve this is for userspace to delete all the IPs on the interface. But qeth is expected to also

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