[PATCH 4.4 19/20] net: fec: Fix unbalanced PM runtime calls

2018-03-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit a069215cf5985f3aa1bba550264907d6bd05c5f7 ] When unbinding/removing the driver, we will run into the following warnings: [ 259.655198] fec 400d1000.ethernet

[PATCH 4.4 13/20] team: Fix double free in error path

2018-03-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arkadi Sharshevsky [ Upstream commit cbcc607e18422555db569b593608aec26111cb0b ] The __send_and_alloc_skb() receives a skb ptr as a parameter but in case it fails the skb is not valid: - Send f

[PATCH 4.4 18/20] ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()

2018-03-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ca0edb131bdf1e6beaeb2b8289fd6b374b74147d ] A tun device type can trivially be set to arbitrary value using TUNSETLINK ioctl(). Therefore, lowpan_device_event()

[PATCH 4.4 20/20] net: systemport: Rewrite __bcm_sysport_tx_reclaim()

2018-03-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 484d802d0f2f29c335563fcac2a8facf174a1bbc ] There is no need for complex checking between the last consumed index and current consumed index, a simple subtrac

Re: [PATCH 07/30] aio: add delayed cancel support

2018-03-29 Thread Christoph Hellwig
On Thu, Mar 29, 2018 at 03:25:06PM +0100, Al Viro wrote: > OK. Let's leave that alone for now. Re deferred cancels - AFAICS, we *must* > remove the sucker from ctx->active_reqs before dropping ->ctx_lock. > > As it is, you are creating a io_cancel()/io_cancel() race leading to double > fput().

[PATCH 4.4 02/20] genirq: Track whether the trigger type has been set

2018-03-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 4f8413a3a799c958f7a10a6310a451e6b8aef5ad upstream. When requesting a shared interrupt, we assume that the firmware support code (DT or ACPI) has called irqd_set_trigger_type

[PATCH 4.4 04/20] dccp: check sk for closed state in dccp_sendmsg()

2018-03-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 67f93df79aeefc3add4e4b31a752600f834236e2 ] dccp_disconnect() sets 'dp->dccps_hc_tx_ccid' tx handler to NULL, therefore if DCCP socket is disconnected and dccp_

[PATCH 4.4 06/20] l2tp: do not accept arbitrary sockets

2018-03-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 17cfe79a65f98abe535261856c5aef14f306dff7 ] syzkaller found an issue caused by lack of sufficient checks in l2tp_tunnel_create() RAW sockets can not be considere

[PATCH 4.4 10/20] netlink: avoid a double skb free in genlmsg_mcast()

2018-03-29 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit 02a2385f37a7c6594c9d89b64c4a1451276f08eb ] nlmsg_multicast() consumes always the skb, thus the original skb must be freed only when this function is called wi

[PATCH 4.9 06/28] sch_netem: fix skb leak in netem_enqueue()

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 35d889d10b649fda66121891ec05eca88150059d ] When we exceed current packets limit and we have more than one segment in the list returned by skb_gso_segment(), ne

[PATCH 4.9 05/28] rhashtable: Fix rhlist duplicates insertion

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Paul Blakey [ Upstream commit d3dcf8eb615537526bd42ff27a081d46d337816e ] When inserting duplicate objects (those with the same key), current rhlist implementation messes up the chain pointers

[PATCH 4.9 03/28] net sched actions: return explicit error when tunnel_key mode is not specified

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Roman Mashak [ Upstream commit 51d4740f88affd85d49c04e3c9cd129c0e33bcb9 ] If set/unset mode of the tunnel_key action is not provided, ->init() still returns 0, and the caller proceeds with bog

[PATCH 4.9 21/28] soc/fsl/qbman: fix issue in qman_delete_cgr_safe()

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Madalin Bucur [ Upstream commit 96f413f47677366e0ae03797409bfcc4151dbf9e ] The wait_for_completion() call in qman_delete_cgr_safe() was triggering a scheduling while atomic bug, replacing the

[PATCH 4.9 24/28] s390/qeth: lock read device while queueing next buffer

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 17bf8c9b3d499d5168537c98b61eb7a1fcbca6c2 ] For calling ccw_device_start(), issue_next_read() needs to hold the device's ccwlock. This is satisfied for the IRQ

[PATCH 4.9 02/28] genirq: Track whether the trigger type has been set

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 4f8413a3a799c958f7a10a6310a451e6b8aef5ad upstream. When requesting a shared interrupt, we assume that the firmware support code (DT or ACPI) has called irqd_set_trigger_type

[PATCH 4.9 12/28] l2tp: do not accept arbitrary sockets

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 17cfe79a65f98abe535261856c5aef14f306dff7 ] syzkaller found an issue caused by lack of sufficient checks in l2tp_tunnel_create() RAW sockets can not be considere

[PATCH 4.9 19/28] skbuff: Fix not waking applications when errors are enqueued

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vinicius Costa Gomes [ Upstream commit 6e5d58fdc9bedd0255a8781b258f10bbdc63e975 ] When errors are enqueued to the error queue via sock_queue_err_skb() function, it is possible that the waiting

[PATCH 4.9 11/28] ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()

2018-03-29 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi [ Upstream commit 9f62c15f28b0d1d746734666d88a79f08ba1e43e ] Fix the following slab-out-of-bounds kasan report in ndisc_fill_redirect_hdr_option when the incoming ipv6 packet

[PATCH 4.14 27/43] net: fec: Fix unbalanced PM runtime calls

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit a069215cf5985f3aa1bba550264907d6bd05c5f7 ] When unbinding/removing the driver, we will run into the following warnings: [ 259.655198] fec 400d1000.etherne

[PATCH 4.14 25/43] net: ethernet: arc: Fix a potential memory leak if an optional regulator is deferred

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET [ Upstream commit 00777fac28ba3e126b9e63e789a613e8bd2cab25 ] If the optional regulator is deferred, we must release some resources. They will be re-allocated when the probe

[PATCH 4.14 23/43] ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi [ Upstream commit 9f62c15f28b0d1d746734666d88a79f08ba1e43e ] Fix the following slab-out-of-bounds kasan report in ndisc_fill_redirect_hdr_option when the incoming ipv6 packet

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-29 Thread Pavel Machek
On Thu 2018-03-29 09:34:50, Tony Lindgren wrote: > * Pavel Machek [180329 16:09]: > > > Then using the n_gsm ts 27.010 uart mux, I dial: > > > > > > ./ngsm-rw 1 "AT+CFUN=1" # connect to network > > > U0001+CFUN:OK > > > ./ngsm-rw 2 "AT+CMUT=0" # unmute speaker over ch2, do thi

[PATCH 4.14 22/43] dccp: check sk for closed state in dccp_sendmsg()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 67f93df79aeefc3add4e4b31a752600f834236e2 ] dccp_disconnect() sets 'dp->dccps_hc_tx_ccid' tx handler to NULL, therefore if DCCP socket is disconnected and dccp

[PATCH 4.14 32/43] qede: Fix qedr link update

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kalderon [ Upstream commit 4609adc27175839408359822523de7247d56c87f ] Link updates were not reported to qedr correctly. Leading to cases where a link could be down, but qedr would see

[PATCH 4.14 34/43] team: Fix double free in error path

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arkadi Sharshevsky [ Upstream commit cbcc607e18422555db569b593608aec26111cb0b ] The __send_and_alloc_skb() receives a skb ptr as a parameter but in case it fails the skb is not valid: - Send

[PATCH 4.14 36/43] dpaa_eth: fix error in dpaa_remove()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Madalin Bucur [ Upstream commit 88075256ee817041d68c2387f29065b5cb2b342a ] The recent changes that make the driver probing compatible with DSA were not propagated in the dpa_remove() function

[PATCH 4.14 04/43] sysfs: symlink: export sysfs_create_link_nowarn()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Grygorii Strashko [ Upstream commit 2399ac42e762ab25c58420e25359b2921afdc55f ] The sysfs_create_link_nowarn() is going to be used in phylib framework in subsequent patch which can be built as

[PATCH 4.14 08/43] net: ipv6: keep sk status consistent after datagram connect failure

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit 2f987a76a97773beafbc615b9c4d8fe79129a7f4 ] On unsuccesful ip6_datagram_connect(), if the failure is caused by ip6_datagram_dst_update(), the sk peer information

[PATCH 4.14 30/43] net: Only honor ifindex in IP_PKTINFO if non-0

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Ahern [ Upstream commit 2cbb4ea7de167b02ffa63e9cdfdb07a7e7094615 ] Only allow ifindex from IP_PKTINFO to override SO_BINDTODEVICE settings if the index is actually set in the message.

[PATCH 4.14 06/43] devlink: Remove redundant free on error path

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Arkadi Sharshevsky [ Upstream commit 7fe4d6dcbcb43fe0282d4213fc52be178bb30e91 ] The current code performs unneeded free. Remove the redundant skb freeing during the error path. Fixes: 1555d2

[PATCH 4.14 00/43] 4.14.32-stable review

2018-03-29 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.32 release. There are 43 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 Sat Mar 31 17:57:12 UTC 2018. Anything receiv

[PATCH 4.14 03/43] qed: Fix non TCP packets should be dropped on iWARP ll2 connection

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kalderon [ Upstream commit 16da09047d3fb991dc48af41f6d255fd578e8ca2 ] FW workaround. The iWARP LL2 connection did not expect TCP packets to arrive on it's connection. The fix drops any

[PATCH 4.14 19/43] ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit ca0edb131bdf1e6beaeb2b8289fd6b374b74147d ] A tun device type can trivially be set to arbitrary value using TUNSETLINK ioctl(). Therefore, lowpan_device_event()

[PATCH 4.14 14/43] net sched actions: return explicit error when tunnel_key mode is not specified

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Roman Mashak [ Upstream commit 51d4740f88affd85d49c04e3c9cd129c0e33bcb9 ] If set/unset mode of the tunnel_key action is not provided, ->init() still returns 0, and the caller proceeds with bo

[PATCH 4.14 17/43] kcm: lock lower socket in kcm_attach

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tom Herbert [ Upstream commit 2cc683e88c0c993ac3721d9b702cb0630abe2879 ] Need to lock lower socket in order to provide mutual exclusion with kcm_unattach. v2: Add Reported-by for syzbot Fix

[PATCH 4.14 13/43] net: phy: Tell caller result of phy_change()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Brad Mouring [ Upstream commit a2c054a896b8ac794ddcfc7c92e2dc7ec4ed4ed5 ] In 664fcf123a30e (net: phy: Threaded interrupts allow some simplification) the phy_interrupt system was changed to us

[PATCH 4.14 11/43] ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: David Lebrun [ Upstream commit 191f86ca8ef27f7a492fd1c03620498c6e94f0ac ] The seg6_build_state() function is called with RCU read lock held, so we cannot use GFP_KERNEL. This patch uses GFP_A

[PATCH 4.15 45/47] qede: Fix qedr link update

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kalderon [ Upstream commit 4609adc27175839408359822523de7247d56c87f ] Link updates were not reported to qedr correctly. Leading to cases where a link could be down, but qedr would see

[PATCH 4.15 14/47] mlxsw: spectrum_buffers: Set a minimum quota for CPU port traffic

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Ido Schimmel [ Upstream commit bcdd5de80a2275f7879dc278bfc747f1caf94442 ] In commit 9ffcc3725f09 ("mlxsw: spectrum: Allow packets to be trapped from any PG") I fixed a problem where packets c

[PATCH 4.15 12/47] ipv6: sr: fix NULL pointer dereference when setting encap source address

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: David Lebrun [ Upstream commit 8936ef7604c11b5d701580d779e0f5684abc7b68 ] When using seg6 in encap mode, we call ipv6_dev_get_saddr() to set the source address of the outer IPv6 header, in ca

[PATCH 4.15 11/47] ipv6: old_dport should be a __be16 in __ip6_datagram_connect()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Brivio [ Upstream commit 5f2fb802eee1df0810b47ea251942fe3fd36589a ] Fixes: 2f987a76a977 ("net: ipv6: keep sk status consistent after datagram connect failure") Signed-off-by: Stefano

[PATCH 4.15 41/47] net/iucv: Free memory obtained by kzalloc

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Arvind Yadav [ Upstream commit fa6a91e9b907231d2e38ea5ed89c537b3525df3d ] Free memory by calling put_device(), if afiucv_iucv_init is not successful. Signed-off-by: Arvind Yadav Reviewed-by

[PATCH 4.15 34/47] dpaa_eth: remove duplicate increment of the tx_errors counter

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Camelia Groza [ Upstream commit 82d141cd19d088ee41feafde4a6f86eeb40d93c5 ] The tx_errors counter is incremented by the dpaa_xmit caller. Signed-off-by: Camelia Groza Signed-off-by: Madalin

[PATCH 4.15 42/47] netlink: avoid a double skb free in genlmsg_mcast()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit 02a2385f37a7c6594c9d89b64c4a1451276f08eb ] nlmsg_multicast() consumes always the skb, thus the original skb must be freed only when this function is called w

[PATCH 4.15 37/47] l2tp: do not accept arbitrary sockets

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 17cfe79a65f98abe535261856c5aef14f306dff7 ] syzkaller found an issue caused by lack of sufficient checks in l2tp_tunnel_create() RAW sockets can not be consider

[PATCH 4.15 22/47] sch_netem: fix skb leak in netem_enqueue()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 35d889d10b649fda66121891ec05eca88150059d ] When we exceed current packets limit and we have more than one segment in the list returned by skb_gso_segment(), n

[PATCH 4.15 28/47] s390/qeth: lock read device while queueing next buffer

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Julian Wiedmann [ Upstream commit 17bf8c9b3d499d5168537c98b61eb7a1fcbca6c2 ] For calling ccw_device_start(), issue_next_read() needs to hold the device's ccwlock. This is satisfied for the IR

[PATCH 4.15 20/47] test_rhashtable: add test case for rhltable with duplicate objects

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Paul Blakey [ Upstream commit 499ac3b60f657dae82055fc81c7b01e6242ac9bc ] Tries to insert duplicates in the middle of bucket's chain: bucket 1: [[val 21 (tid=1)]] -> [[ val 1 (tid=2), val 1

[PATCH 4.15 04/47] tcp: purge write queue upon aborting the connection

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Soheil Hassas Yeganeh [ Upstream commit e05836ac07c77dd90377f8c8140bce2a44af5fe7 ] When the connection is aborted, there is no point in keeping the packets on the write queue until the connec

[PATCH 4.15 03/47] qed: Fix MPA unalign flow in case header is split across two packets.

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kalderon [ Upstream commit 933e8c91b9f5a2f504f6da1f069c410449b9f4b9 ] There is a corner case in the MPA unalign flow where a FPDU header is split over two tcp segments. The length of t

[PATCH 4.15 08/47] devlink: Remove redundant free on error path

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Arkadi Sharshevsky [ Upstream commit 7fe4d6dcbcb43fe0282d4213fc52be178bb30e91 ] The current code performs unneeded free. Remove the redundant skb freeing during the error path. Fixes: 1555d2

[PATCH 4.15 17/47] net sched actions: return explicit error when tunnel_key mode is not specified

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Roman Mashak [ Upstream commit 51d4740f88affd85d49c04e3c9cd129c0e33bcb9 ] If set/unset mode of the tunnel_key action is not provided, ->init() still returns 0, and the caller proceeds with bo

[RFCv2 PATCH 2/3] kbuild: Link with generated build-salt header

2018-03-29 Thread Laura Abbott
Now that we have a header with appropriate data, link it into the kernel and modules. If BUILD_ID_SALT isn't set, the script should be empty. Signed-off-by: Laura Abbott --- v2: Changed names to be consistent --- Makefile | 4 +++- scripts/.gitignore | 1 + scripts/Makefile

[RFCv2 PATCH 3/3] x86/vdso: Add build salt to the vDSO

2018-03-29 Thread Laura Abbott
The vDSO is linked separately from the kernel and modules. Ensure it picks up the comment section, if available. Signed-off-by: Laura Abbott --- v2: Updated name --- arch/x86/entry/vdso/vdso-layout.lds.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/entry/vdso/vdso-layout.lds.S

[RFCv2 PATCH 1/3] kbuild: Introduce build-salt generated header

2018-03-29 Thread Laura Abbott
The build id generated from --build-id can be generated in several different ways, with the default being the sha1 on the output of the linked file. For distributions, it can be useful to make sure this ID is unique, even if the actual file contents don't change. The easiest way to do this is to in

linux-next 20180327 - "SELinux: (dev dm-3, type ext4) getxattr errno 34"

2018-03-29 Thread valdis . kletnieks
Seeing this error trying to mount ext4 disks. next-20180320 was OK. SELinux: (dev dm-3, type ext4) getxattr errno 34 and for /var, it refused to mount entirely (which brought the boot process to a screeching halt). git log shows commits in the past few days against both selinux and ext4, but not

Re: [PATCH v6 0/3] Bluetooth: hci_qca: Add serdev support

2018-03-29 Thread Thierry Escande
Hi, On 28/03/2018 11:51, Thierry Escande wrote: Hi, This patchset enables the Qualcomm BT controller QCA6174 node in the device tree of the db820c board. This allows the bluetooth chipset to be probed and registered against the hci layer by using the serdev framework. This patchset also contai

Re: [PATCH v3 2/2] drivers: soc: Add LLCC driver

2018-03-29 Thread Channa
On 2018-03-29 01:08, Stanimir Varbanov wrote: Hi, On 03/27/2018 09:52 PM, Rishabh Bhatnagar wrote: LLCC (Last Level Cache Controller) provides additional cache memory in the system. LLCC is partitioned into muliple slices and each slice getting its own priority, size, ID and other config parame

Re: [PATCH] selftests/ftrace: fix spelling mistake: "tiggers" -> "triggers"

2018-03-29 Thread Shuah Khan
On 03/29/2018 11:47 AM, Colin Ian King wrote: > On 29/03/18 18:31, Steven Rostedt wrote: >> On Thu, 29 Mar 2018 18:24:31 +0100 >> Colin King wrote: >> >>> From: Colin Ian King >>> >>> Trivial fix to spelling mistake in message text >>> >>> Signed-off-by: Colin Ian King >>> --- >>> tools/testing

Re: [PATCH] selftests/ftrace: fix spelling mistake: "tiggers" -> "triggers"

2018-03-29 Thread Colin Ian King
On 29/03/18 18:31, Steven Rostedt wrote: > On Thu, 29 Mar 2018 18:24:31 +0100 > Colin King wrote: > >> From: Colin Ian King >> >> Trivial fix to spelling mistake in message text >> >> Signed-off-by: Colin Ian King >> --- >> tools/testing/selftests/ftrace/test.d/trigger/trigger-multihist.tc | 2

Re: [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace support

2018-03-29 Thread Dr. Greg Wettstein
On Mar 28, 8:44am, Stefan Berger wrote: } Subject: Re: [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace sup Good morning, I hope the week is going well for everyone. > On 03/28/2018 08:14 AM, Dr. Greg Wettstein wrote: > > On Wed, Mar 28, 2018 at 07:10:12AM -0400, Stefan Berger wrote: >

Re: [PATCH v2 08/11] block: sed-opal: ioctl for writing to shadow mbr

2018-03-29 Thread Scott Bauer
On Thu, Mar 29, 2018 at 07:30:02PM +0200, Jonas Rabenstein wrote: > Hi, > On Wed, Mar 21, 2018 at 02:43:21AM +0100, Jonas Rabenstein wrote: > > On Tue, Mar 20, 2018 at 04:09:08PM -0600, Scott Bauer wrote: > > > On Tue, Mar 20, 2018 at 10:36:04AM +0100, Jonas Rabenstein wrote: > > > > On Mon, Mar 19

Re: Problem with commit 31e77c93e432 "sched/fair: Update blocked load when newly idle"

2018-03-29 Thread Heiner Kallweit
Am 29.03.2018 um 09:41 schrieb Vincent Guittot: > On 28 March 2018 at 16:01, Vincent Guittot wrote: >> Hi, >> >> On 28 March 2018 at 12:37, Dietmar Eggemann wrote: >>> Hi, >>> >>> On 03/24/2018 01:47 PM, Heiner Kallweit wrote: Am 24.03.2018 um 07:46 schrieb Vincent Guittot: > >

Re: [PATCH 8/8] fs/aio: Use rcu_work instead of explicit rcu and work item

2018-03-29 Thread Tejun Heo
Hello, On Thu, Mar 29, 2018 at 06:49:25PM +0200, Oleg Nesterov wrote: > Still no use-case... But yes, I forgot this is needed for correctness. > > OK, thanks for your patience. But fyi now I hate this interface even more, > exactly because I was technically wrong in this discussion ;) Yeah, we m

Re: [PATCH 4/4] nvmet-fc: Use new SGL alloc/free helper for requests

2018-03-29 Thread James Smart
On 3/29/2018 10:02 AM, Logan Gunthorpe wrote: Per the bug in the previous patch, I don't think that was ever a valid assumption. It doesn't have anything to do with the sgl_alloc change either. The dma_map interface is allowed to merge SGLs and that's why it can return fewer nents than it was pas

Re: [PATCH v2 04/21] kconfig: reference environments directly and remove 'option env=' syntax

2018-03-29 Thread Ulf Magnusson
On Thu, Mar 29, 2018 at 4:56 AM, Ulf Magnusson wrote: > On Thu, Mar 29, 2018 at 4:19 AM, Ulf Magnusson wrote: >> I've been kinda busy lately, so that's why I disappeared. >> >> I'll try to go over this patchset in more detail over the weekend. >> >> On Tue, Mar 27, 2018 at 7:29 AM, Masahiro Yamad

Re: [PATCH] of_net: Implement of_get_nvmem_mac_address helper

2018-03-29 Thread Mike Looijmans
On 25-03-18 10:17, Mike Looijmans wrote: On 24-03-18 19:53, Andrew Lunn wrote: A quick survey for the of_get_mac_address users learns that most of them do a memcpy (or similar) right after it, so for these drivers the "of_get_nvmem_mac_address" style signature that performs the memcpy (or bette

Re: [PATCH] selftests/ftrace: fix spelling mistake: "tiggers" -> "triggers"

2018-03-29 Thread Steven Rostedt
On Thu, 29 Mar 2018 18:24:31 +0100 Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in message text > > Signed-off-by: Colin Ian King > --- > tools/testing/selftests/ftrace/test.d/trigger/trigger-multihist.tc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2 08/11] block: sed-opal: ioctl for writing to shadow mbr

2018-03-29 Thread Jonas Rabenstein
Hi, On Wed, Mar 21, 2018 at 02:43:21AM +0100, Jonas Rabenstein wrote: > On Tue, Mar 20, 2018 at 04:09:08PM -0600, Scott Bauer wrote: > > On Tue, Mar 20, 2018 at 10:36:04AM +0100, Jonas Rabenstein wrote: > > > On Mon, Mar 19, 2018 at 08:52:24PM +0100, Christoph Hellwig wrote: > > > > On Mon, Mar 19,

Re: [PATCH v4 2/7] phy: qcom-qmp: Enable pipe_clk before PHY initialization

2018-03-29 Thread Evan Green
Hi Manu, On Thu, Mar 29, 2018 at 4:06 AM Manu Gautam wrote: > QMP PHY for USB/PCIE requires pipe_clk for locking of > retime buffers at the pipe interface. Driver checks for > PHY_STATUS without enabling pipe_clk due to which > phy_init() fails with initialization timeout. > Though pipe_clk is o

Re: [linux-sunxi] [PATCH v9 0/2] Initial Allwinner V3s CSI Support

2018-03-29 Thread Martin Kelly
On 03/28/2018 06:02 PM, Yong wrote: AFAIK, there is no document about MIPI CSI-2. You can take a look at the source code in BSP: https://github.com/friendlyarm/h3_lichee/tree/master/linux-3.4/drivers/media/video/sunxi-vfe/mipi_csi And try to port it to mainline. Yep, I see there's lots of mag

[PATCH] selftests/ftrace: fix spelling mistake: "tiggers" -> "triggers"

2018-03-29 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in message text Signed-off-by: Colin Ian King --- tools/testing/selftests/ftrace/test.d/trigger/trigger-multihist.tc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ftrace/test.d/trigger/trigger-mu

Re: [PATCH v2 0/2] gfs2: Stop using rhashtable_walk_peek

2018-03-29 Thread Herbert Xu
On Thu, Mar 29, 2018 at 06:52:34PM +0200, Andreas Gruenbacher wrote: > > Should rhashtable_walk_peek be kept around even if there are no more > users? I have my doubts. Absolutely. All netlink dumps using rhashtable_walk_next are buggy and need to switch over to rhashtable_walk_peek. As otherwis

Re: [PATCH 4/6] fpga: region: change fpga_region_register to have one param

2018-03-29 Thread Greg KH
On Thu, Mar 29, 2018 at 08:36:56AM -0700, Moritz Fischer wrote: > From: Alan Tull > > Change fpga_region_register to only take one parameter: > > int fpga_region_register(struct fpga_region *region) > > The parent dev is added to struct fpga_region. > > This make it similar to fpga_bridge_re

Re: [PATCH 3/6] fpga: bridge: don't use drvdata in common fpga code

2018-03-29 Thread Greg KH
On Thu, Mar 29, 2018 at 08:36:55AM -0700, Moritz Fischer wrote: > From: Alan Tull > > Change fpga_bridge_register to not set drvdata. > > Change the register/unregister functions parameters to take the > bridge struct: > * int fpga_bridge_register(struct fpga_bridge *bridge); > * void fpga_bridg

Re: [PATCH 2/6] fpga: manager: don't use drvdata in common fpga code

2018-03-29 Thread Greg KH
On Thu, Mar 29, 2018 at 08:36:54AM -0700, Moritz Fischer wrote: > From: Alan Tull > > Change fpga_mgr_register to not set or use drvdata. > > Change the register/unregister function parameters to take the mgr > struct: > * int fpga_mgr_register(struct fpga_manager *mgr); > * void fpga_mgr_unregi

Re: [PATCH 4/4] nvmet-fc: Use new SGL alloc/free helper for requests

2018-03-29 Thread Logan Gunthorpe
On 29/03/18 10:52 AM, James Smart wrote: > overall - I'm a little concerned about the replacement. > > I know the code depends on the null/zero checks in > nvmet_fc_free_tgt_pgs() as there are paths that can call them twice.  > Your replacement in that routine is fine, but you've fully removed

Re: [PATCH 1/6] fpga: region: don't use drvdata in common fpga code

2018-03-29 Thread Greg KH
On Thu, Mar 29, 2018 at 08:36:53AM -0700, Moritz Fischer wrote: > From: Alan Tull > > Part of patchset that changes the following fpga_*_register > functions to not set drvdata: > * fpga_region_register. > * fpga_mgr_register > * fpga_bridge_register That's not what this specific patch does. Pl

[PATCH] ath10k: fix spelling mistake: "tiggers" -> "triggers"

2018-03-29 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in message text Signed-off-by: Colin Ian King --- drivers/net/wireless/ath/ath10k/wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index

Re: [PATCH 0/6] FPGA Manager Patches for 4.17

2018-03-29 Thread Greg KH
On Thu, Mar 29, 2018 at 08:36:52AM -0700, Moritz Fischer wrote: > Hi Greg, > > can you please take the following patches for 4.17. > > Alan's changes are mostly refactoring in preparation for non-dt based > FPGA regions. > > Anatolij's changes fix a small issue with altera-ps-spi FPGAs, > where

Re: [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING

2018-03-29 Thread Frederic Weisbecker
On Thu, Mar 29, 2018 at 04:53:43PM +0200, Martin Schwidefsky wrote: > On Thu, 29 Mar 2018 16:07:49 +0200 > Frederic Weisbecker wrote: > > > On Thu, Mar 29, 2018 at 04:01:11PM +0200, Peter Zijlstra wrote: > > > On Thu, Mar 29, 2018 at 03:47:46PM +0200, Frederic Weisbecker wrote: > > > > On Thu,

Re: general protection fault in try_to_wake_up

2018-03-29 Thread Dmitry Vyukov
On Thu, Mar 29, 2018 at 6:32 PM, Steven Rostedt wrote: > > Not sure why we are being Cc'd on this crash. > > On Thu, 29 Mar 2018 09:01:02 -0700 > syzbot wrote: > >> Hello, >> >> syzbot hit the following crash on upstream commit >> bcfc1f4554662d8f2429ac8bd96064a59c149754 (Sat Mar 24 16:50:12 2018

[PATCH] dmaengine: rcar-dmac: Fix too early/late system suspend/resume callbacks

2018-03-29 Thread Geert Uytterhoeven
If serial console wake-up is enabled ("echo enabled > /sys/.../ttySC0/power/wakeup"), and any serial input is received while the system is suspended, serial port input no longer works after system resume. Note that: 1) The system can still be woken up using the serial console, 2) Serial port i

[PATCH] ath6kl: fix spelling mistake: "chache" -> "cache"

2018-03-29 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in message text Signed-off-by: Colin Ian King --- drivers/net/wireless/ath/ath6kl/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath6kl/debug.c b/drivers/net/wireless/ath/ath6kl/debug.c

Re: [PATCH v2 0/2] gfs2: Stop using rhashtable_walk_peek

2018-03-29 Thread Andreas Gruenbacher
On 29 March 2018 at 17:41, Herbert Xu wrote: > On Thu, Mar 29, 2018 at 03:15:54PM +0200, Andreas Gruenbacher wrote: >> >> For all I know, Neil's latest plan is to get rhashtable_walk_peek >> replaced and removed because it is unfixable. This patch removes the >> one and only user. > > His latest p

Re: [PATCH 4/4] nvmet-fc: Use new SGL alloc/free helper for requests

2018-03-29 Thread James Smart
overall - I'm a little concerned about the replacement. I know the code depends on the null/zero checks in nvmet_fc_free_tgt_pgs() as there are paths that can call them twice.  Your replacement in that routine is fine, but you've fully removed any initialization to zero or setting to zero on f

RE: [PATCH v5 07/12] PCI: cadence: Set PCI_BASE_ADDRESS_MEM_TYPE_64 if a 64-bit BAR was set-up

2018-03-29 Thread Alan Douglas
On Wed, Mar 28, 2018 at 20:37, Bjorn Helgaas wrote: > On Wed, Mar 28, 2018 at 01:24:10PM +, Alan Douglas wrote: > > > On 28/03/2018 12:51, Niklas Cassel wrote: > > > cdns_pcie_ep_set_bar() does some round-up of the BAR size, which > > > means that a 64-bit BAR can be set-up, even when the flag

Re: [PATCH 8/8] fs/aio: Use rcu_work instead of explicit rcu and work item

2018-03-29 Thread Oleg Nesterov
On 03/27, Tejun Heo wrote: > > On Tue, Mar 27, 2018 at 04:28:48PM +0200, Oleg Nesterov wrote: > > > flush_*work() guarantees to wait for the completion of the latest > > > instance of the work item which was visible to the caller. We can't > > > guarantee that w/o rcu_barrier(). > > > > And this i

Re: Reduce init time of `lp_init()` and `ppdev_init()`

2018-03-29 Thread Greg Kroah-Hartman
On Thu, Mar 29, 2018 at 05:57:20PM +0200, Paul Menzel wrote: > Dear Linux folks, > > > I am trying to reduce the start-up time of the Linux kernel on an old Lenovo > X60. Looking through the time stamps of Linux 4.16-rc7+, the modules `lp` > and `ppdev` both take more than ten milliseconds to ini

Re: [PATCH AUTOSEL for 4.4 016/115] drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off)

2018-03-29 Thread Ville Syrjälä
On Thu, Mar 29, 2018 at 05:32:13PM +0100, Ben Hutchings wrote: > On Sat, 2018-03-03 at 22:30 +, Sasha Levin wrote: > > From: Chris Wilson > > > > [ Upstream commit 608b20506941969ea30d8c08dc9ae02bb87dbf7d ] > > I think we need this one too: > > commit 75cff0837c14eaf632efabb8d7ab9eec6394d20

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-29 Thread Tony Lindgren
* Pavel Machek [180329 16:38]: > Hi! > > > > > > And I do hear a voice talking over the speakerphone :) Sorry have not > > > > > tested the > > > > > mic yet.. > > > > > > And calling a person I can hear the other end but the mic is > > > not working. So maybe I need to tweak the alsamixer sett

Re: [GIT PULL 00/10] stm class/intel_th: Updates for v4.17

2018-03-29 Thread Greg KH
c57b1b2: > > Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/ash/stm.git > tags/stm-intel_th-for-greg-20180329 All pulled in, thanks. greg k-h

Re: [PATCH 2/3] virt: vbox: Use __get_free_pages instead of kmalloc for DMA32 memory

2018-03-29 Thread Greg Kroah-Hartman
On Thu, Mar 29, 2018 at 03:42:59PM +0200, Hans de Goede wrote: > Hi, > > On 29-03-18 13:58, Greg Kroah-Hartman wrote: > > On Thu, Mar 29, 2018 at 01:21:15PM +0200, Hans de Goede wrote: > > > It is not possible to get DMA32 zone memory through kmalloc, > > > > Why can't we just fix that issue here

Re: [PATCH 3/4] nvmet-fc: Don't use the count returned by the dma_map_sg call

2018-03-29 Thread Logan Gunthorpe
On 29/03/18 10:14 AM, Bart Van Assche wrote: > On Thu, 2018-03-29 at 10:07 -0600, Logan Gunthorpe wrote: >> +ret = fc_dma_map_sg(fod->tgtport->dev, sg, nent, >> +((fod->io_dir == NVMET_FCP_WRITE) ? >> +DMA_FROM_DEVICE : DMA_TO_DEVICE));

Re: [PATCH v3 04/13] ARM: dts: ipq4019: Update ipq4019-dk01.1 board data

2018-03-29 Thread Richard Cochran
On Thu, Mar 29, 2018 at 09:37:15AM -0500, Andy Gross wrote: > > Feel free to send your own contributions where you are adding the things that > are important to you. You can count on it. I am really happy that ipq4019 at least boots mainline. BTW is there any hope of getting a working mainline

[PATCH v7] fs: Add VirtualBox guest shared folder (vboxsf) support

2018-03-29 Thread Hans de Goede
VirtualBox hosts can share folders with guests, this commit adds a VFS driver implementing the Linux-guest side of this, allowing folders exported by the host to be mounted under Linux. This driver depends on the guest <-> host IPC functions exported by the vboxguest driver. Signed-off-by: Hans d

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-29 Thread Pavel Machek
Hi! > > > > And I do hear a voice talking over the speakerphone :) Sorry have not > > > > tested the > > > > mic yet.. > > > > And calling a person I can hear the other end but the mic is > > not working. So maybe I need to tweak the alsamixer settings > > too for mic? > > Your override kills m

Re: [PATCH v7 08/14] mm, dax: enable filesystems to trigger dev_pagemap ->page_free callbacks

2018-03-29 Thread Jan Kara
On Wed 21-03-18 15:57:53, Dan Williams wrote: > In order to resolve collisions between filesystem operations and DMA to > DAX mapped pages we need a callback when DMA completes. With a callback > we can hold off filesystem operations while DMA is in-flight and then > resume those operations when th

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-29 Thread Tony Lindgren
* Pavel Machek [180329 16:09]: > > Then using the n_gsm ts 27.010 uart mux, I dial: > > > > ./ngsm-rw 1 "AT+CFUN=1" # connect to network > > U0001+CFUN:OK > > ./ngsm-rw 2 "AT+CMUT=0" # unmute speaker over ch2, do this over > > qmi? > > U0001+CMUT:OK > > ./ngsm-rw 1 "ATD#1

Re: [PATCH 3/4] nvmet-fc: Don't use the count returned by the dma_map_sg call

2018-03-29 Thread James Smart
On 3/29/2018 9:30 AM, Logan Gunthorpe wrote: Can you elaborate? The 'data_sg_cnt' member was in 'struct nvmet_fc_fcp_iod' which is declared in fc.c so it doesn't seem sane for lower driver to access it... In fact the next patch in the series removes it completely. Logan actually, I do think it

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