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

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

Re: `do_IRQ: 1.55 No irq handler for vector` on ASRock E350M1

2018-03-29 Thread Morton, Eric
+Frank G. Eric By reading this e-mail, you are consenting to agree with the opinions disclosed within. On 3/29/18, 3:29 AM, "Paul Menzel" wrote: Dear Yazen, Eric, Tom, On 02/26/18 17:42, Tom Lendacky wrote: > On 2/26/2018 10:37 AM,

Question regarding container affecting the host system mounts

2018-03-29 Thread Ronak Desai
I came across a problem where if the containers are running then it affects the unmount process of the system's mount points. I am not using these mount points as shared mounts with container. For example, I am using SD card and NAND as external storage device and mounting it to a mount point in

Re: [PATCHv3 4/7] dt-bindings: fpga: add Stratix10 SoC FPGA manager binding

2018-03-29 Thread Alan Tull
On Tue, Mar 27, 2018 at 3:20 PM, wrote: > From: Alan Tull > > Add a Device Tree binding for the Intel Stratix10 SoC FPGA manager. > > Signed-off-by: Alan Tull > --- > v2: this patch is added in patch set version 2 > v3: change

Re: [PATCH] Documentation/process: update FUSE project website

2018-03-29 Thread Jonathan Corbet
On Tue, 27 Mar 2018 14:59:50 +0200 Martin Kepplinger wrote: > According to the old project site, https://sourceforge.net/projects/fuse/ > the project has moved to https://github.com/libfuse/ so we update the > link to point to the latest libfuse release. Applied, thanks. jon

WARNING in refcount_sub_and_test (2)

2018-03-29 Thread syzbot
Hello, syzbot hit the following crash on bpf-next commit 22527437e0a0c96ee3153e9d0382942b0fd4f9dd (Thu Mar 29 02:36:15 2018 +) Merge branch 'nfp-bpf-updates' syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=c7b0dde061c523bc4b0f C reproducer:

[GIT PULL 25/37] lightnvm: add shorten OCSSD version in geo

2018-03-29 Thread Matias Bjørling
From: Javier González Create a shorten version to use in the generic geometry. Signed-off-by: Javier González Signed-off-by: Matias Bjørling --- drivers/nvme/host/lightnvm.c | 6 ++ include/linux/lightnvm.h | 8 2

Re: [PATCH 4.9 00/28] 4.9.92-stable review

2018-03-29 Thread Guenter Roeck
On Thu, Mar 29, 2018 at 03:01:18PM -0700, kernelci.org bot wrote: > stable-rc/linux-4.9.y boot: 122 boots: 1 failed, 104 passed with 14 offline, > 3 untried/unknown (v4.9.91-29-gcdf42b7a5c27) > > Full Boot Summary: >

[GIT PULL 31/37] lightnvm: pblk: check for supported version

2018-03-29 Thread Matias Bjørling
From: Javier González At this point, only 1.2 spec is supported, thus check for it. Also, since device-side L2P is only supported in the 1.2 spec, make sure to only check its value under 1.2. Signed-off-by: Javier González Signed-off-by: Matias

[GIT PULL 36/37] lightnvm: pblk: remove some unnecessary NULL checks

2018-03-29 Thread Matias Bjørling
From: Dan Carpenter Smatch complains that flush_workqueue() dereferences the work queue pointer but then we check if it's NULL on the next line when it's too late. These NULL checks can be removed because the module won't load if we can't allocate the work queues.

[GIT PULL 37/37] lightnvm: remove function name in strings

2018-03-29 Thread Matias Bjørling
For the sysfs functions, the function names are embedded into their error strings. If the function name later changes, the string may not be updated accordingly. Update the strings to use __func__ to avoid this. Signed-off-by: Matias Bjørling --- drivers/nvme/host/lightnvm.c |

[GIT PULL 35/37] lightnvm: pblk: don't recover unwritten lines

2018-03-29 Thread Matias Bjørling
From: Hans Holmberg If the line has not been written to, we should not try to recover any data from it, so check the state of the chunks in the line before attempting to read smeta. Signed-off-by: Hans Holmberg Signed-off-by: Javier

[GIT PULL 26/37] lightnvm: complete geo structure with maxoc*

2018-03-29 Thread Matias Bjørling
From: Javier González Complete the generic geometry structure with the maxoc and maxocpu felds, present in the 2.0 spec. Also, expose them through sysfs. Signed-off-by: Javier González Signed-off-by: Matias Bjørling ---

[GIT PULL 11/37] lightnvm: pblk: prevent race in pblk_rb_flush_point_set

2018-03-29 Thread Matias Bjørling
From: Hans Holmberg Make sure that we are not advancing the sync pointer while we're adding bios to the write buffer entry completion list. This race condition results in bios not completing and was identified by a hang when running xfstest generic/113.

[GIT PULL 05/37] lightnvm: pblk: export write amplification counters to sysfs

2018-03-29 Thread Matias Bjørling
From: Hans Holmberg In a SSD, write amplification, WA, is defined as the average number of page writes per user page write. Write amplification negatively affects write performance and decreases the lifetime of the disk, so it's a useful metric to add to sysfs. In

[GIT PULL 10/37] lightnvm: pblk: allow allocation of new lines during shutdown

2018-03-29 Thread Matias Bjørling
From: Hans Holmberg When shutting down pblk the write buffer is flushed and if the current line can't fit the data in the write buffer we need to allocate a new line, so remove the check that prevents this. Signed-off-by: Hans Holmberg

[GIT PULL 09/37] lightnvm: pblk: delete writer kick timer before stopping thread

2018-03-29 Thread Matias Bjørling
From: Hans Holmberg Unless we delete the timer that wakes up the write thread before we stop the thread we risk re-starting the thread, so delete the timer first. Signed-off-by: Hans Holmberg Reviewed-by: Javier González

[GIT PULL 14/37] lightnvm: flatten nvm_id_group into nvm_id

2018-03-29 Thread Matias Bjørling
There are no groups in the 2.0 specification, make sure that the nvm_id structure is flattened before 2.0 data structures are added. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 25 ++- drivers/nvme/host/lightnvm.c | 100

[GIT PULL 01/37] lightnvm/pblk-gc: Delete an error message for a failed memory allocation in pblk_gc_line_prepare_ws()

2018-03-29 Thread Matias Bjørling
From: Markus Elfring Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Reviewed-by: Javier González

[GIT PULL 08/37] lightnvm: pblk: add padding distribution sysfs attribute

2018-03-29 Thread Matias Bjørling
From: Hans Holmberg When pblk receives a sync, all data up to that point in the write buffer must be comitted to persistent storage, and as flash memory comes with a minimal write size there is a significant cost involved both in terms of time for completing the sync

Re: [RFC PATCH v21 0/6] mm: security: ro protection for dynamic data

2018-03-29 Thread Jonathan Corbet
On Fri, 30 Mar 2018 00:25:22 +0400 Igor Stoppa wrote: > On 27/03/18 20:55, Jonathan Corbet wrote: > > On Tue, 27 Mar 2018 18:37:36 +0300 > > Igor Stoppa wrote: > > > >> This patch-set introduces the possibility of protecting memory that has > >>

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

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 11:44 AM, Doug Anderson wrote: > Hi, > > On Thu, Mar 29, 2018 at 4:04 AM, Manu Gautam wrote: >> QMP PHY for USB/PCIE requires pipe_clk for locking of >> retime buffers at the pipe interface. Driver checks for >>

possible deadlock in perf_event_detach_bpf_prog

2018-03-29 Thread syzbot
Hello, syzbot hit the following crash on upstream commit 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +) Linux 4.16-rc7 syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=dc5ca0e4c9bfafaf2bae Unfortunately, I don't have any reproducer for this crash yet.

[GIT PULL] KVM fixes for Linux 4.16-rc8

2018-03-29 Thread Radim Krčmář
Linus, The following changes since commit daaf216c06fba4ee4dc3f62715667da929d68774: KVM: x86: Fix device passthrough when SME is active (2018-03-16 14:32:23 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm tags/for-linus for you to fetch changes up

Re: possible deadlock in perf_event_detach_bpf_prog

2018-03-29 Thread Daniel Borkmann
On 03/29/2018 11:04 PM, syzbot wrote: > Hello, > > syzbot hit the following crash on upstream commit > 3eb2ce825ea1ad89d20f7a3b5780df850e4be274 (Sun Mar 25 22:44:30 2018 +) > Linux 4.16-rc7 > syzbot dashboard link: > https://syzkaller.appspot.com/bug?extid=dc5ca0e4c9bfafaf2bae > >

[PATCH v4 08/14] dt: qcom: Add opp and thermal to the msm8996

2018-03-29 Thread Ilia Lin
Signed-off-by: Ilia Lin --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 275 +- 1 file changed, 267 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index

[PATCH v4 05/14] clk: qcom: cpu-8996: Add support to switch to alternate PLL

2018-03-29 Thread Ilia Lin
From: Rajendra Nayak Each of the CPU clusters on msm8996 are powered via a primary PLL and a secondary PLL. The primary PLL is what drives the CPU clk, except for times when we are reprogramming the PLL itself, when we temporarily switch to an alternate PLL. Use clock rate

[PATCH v4 03/14] clk: qcom: Add CPU clock driver for msm8996

2018-03-29 Thread Ilia Lin
From: Rajendra Nayak Each of the CPU clusters (Power and Perf) on msm8996 are clocked via 2 PLLs, a primary and alternate. There are also 2 Mux'es, a primary and secondary all connected together as shown below +---+ XO

[PATCH v4 02/14] clk: qcom: Make clk_alpha_pll_configure available to modules

2018-03-29 Thread Ilia Lin
From: Rajendra Nayak Allow clk_alpha_pll_configure to be called from loadable kernel modules. Signed-off-by: Rajendra Nayak Signed-off-by: Ilia Lin --- drivers/clk/qcom/clk-alpha-pll.c | 1 + 1 file changed, 1 insertion(+)

[PATCH v4 04/14] clk: qcom: Add DT bindings for CPU clock driver for msm8996

2018-03-29 Thread Ilia Lin
Signed-off-by: Ilia Lin --- Documentation/devicetree/bindings/clock/qcom,kryocc.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,kryocc.txt diff --git

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

2018-03-29 Thread Moritz Fischer
On Thu, Mar 29, 2018 at 03:42:51PM -0500, Alan Tull wrote: > On Thu, Mar 29, 2018 at 12:06 PM, Greg KH wrote: > > Hi Greg, > > >> -int fpga_region_register(struct device *dev, struct fpga_region *region) > >> +int fpga_region_register(struct fpga_region *region) > >>

Re: [PATCH 00/32] docs/vm: convert to ReST format

2018-03-29 Thread Jonathan Corbet
On Wed, 21 Mar 2018 21:22:16 +0200 Mike Rapoport wrote: > These patches convert files in Documentation/vm to ReST format, add an > initial index and link it to the top level documentation. > > There are no contents changes in the documentation, except few spelling >

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 18:41]: > Thanks. I got call working including outgoing audio: in capture > settings, right->mic 1, Mic1 + Mic2 in alsamixer -> 100%. But I had > the other phone muted, so I don't yet know if such call would be of > usable quality. Great, good to hear that :)

[GIT PULL 12/37] lightnvm: pblk: refactor bad block identification

2018-03-29 Thread Matias Bjørling
From: Javier González In preparation for the OCSSD 2.0 spec. bad block identification, refactor the current code to generalize bad block get/set functions and structures. Signed-off-by: Javier González Signed-off-by: Matias Bjørling ---

[GIT PULL 04/37] lightnvm: pblk: check data lines version on recovery

2018-03-29 Thread Matias Bjørling
From: Hans Holmberg As a preparation for future bumps of data line persistent storage versions, we need to start checking the emeta line version during recovery. Also slit up the current emeta/smeta version into two bytes (major,minor). Recovering lines with the same

Re: [PATCH 4.4 00/20] 4.4.126-stable review

2018-03-29 Thread Guenter Roeck
On Thu, Mar 29, 2018 at 03:01:19PM -0700, kernelci.org bot wrote: > stable-rc/linux-4.4.y boot: 105 boots: 1 failed, 92 passed with 10 offline, 2 > untried/unknown (v4.4.125-21-g290572f02954) > > Full Boot Summary: >

[GIT PULL 21/37] lightnvm: Avoid validation of default op value

2018-03-29 Thread Matias Bjørling
From: Heiner Litz Fixes: 38401d231de65 ("lightnvm: set target over-provision on create ioctl") Signed-off-by: Heiner Litz Reviewed-by: Javier González Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 6 ++

[GIT PULL 18/37] nvme: lightnvm: add late setup of block size and metadata

2018-03-29 Thread Matias Bjørling
The nvme driver sets up the size of the nvme namespace in two steps. First it initializes the device with standard logical block and metadata sizes, and then sets the correct logical block and metadata size. Due to the OCSSD 2.0 specification relies on the namespace to expose these sizes for

[GIT PULL 15/37] lightnvm: add 2.0 geometry identification

2018-03-29 Thread Matias Bjørling
Implement the geometry data structures for 2.0 and enable a drive to be identified as one, including exposing the appropriate 2.0 sysfs entries. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 8 +- drivers/nvme/host/lightnvm.c | 334

[GIT PULL 17/37] lightnvm: remove nvm_dev_ops->max_phys_sect

2018-03-29 Thread Matias Bjørling
The value of max_phys_sect is always static. Instead of defining it in the nvm_dev_ops structure, declare it as a global value. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 28 +++- drivers/lightnvm/pblk-init.c | 9

[GIT PULL 16/37] lightnvm: remove max_rq_size

2018-03-29 Thread Matias Bjørling
The field is no longer used. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 1 - include/linux/lightnvm.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/lightnvm/core.c b/drivers/lightnvm/core.c index 521f520a1bb4..a59ad29600c3 100644 ---

[GIT PULL 19/37] lightnvm: fix bad block initialization

2018-03-29 Thread Matias Bjørling
From: Heiner Litz fix reading bad block device information to correctly setup the per line blk_bitmap during lightnvm initialization Signed-off-by: Heiner Litz Signed-off-by: Matias Bjørling --- drivers/lightnvm/pblk-init.c | 3 ++- 1 file

Re: [PATCH v2] ARM: dts: BCM5301X: Add support for Linksys EA9500

2018-03-29 Thread Vivek Unune
Hi Florian, On Fri, Mar 9, 2018 at 5:05 PM, Vivek Unune wrote: >> > + >> > + port@5 { >> > + reg = <5>; >> > + ethernet = <>; >> > + label = "cpu"; >> > + >> > + fixed-link { >> > +

[GIT PULL 02/37] lightnvm: remove chnl_offset in nvme_nvm_identity

2018-03-29 Thread Matias Bjørling
The identity structure is initialized to zero in the beginning of the nvme_nvm_identity function. The chnl_offset is separately set to zero. Since both the variable and assignment is never changed, remove them. Signed-off-by: Matias Bjørling --- drivers/nvme/host/lightnvm.c |

[GIT PULL 03/37] lightnvm: pblk: handle bad sectors in the emeta area correctly

2018-03-29 Thread Matias Bjørling
From: Hans Holmberg Unless we check if there are bad sectors in the entire emeta-area we risk ending up with valid bitmap / available sector count inconsistency. This results in lines with a bad chunk at the last LUN marked as bad, so go through the whole emeta area

[GIT PULL 00/37] lightnvm patches for 4.17

2018-03-29 Thread Matias Bjørling
Hi Jens, Here is a bunch of patches for 4.17. They include: - Open-Channel 2.0 support by Javier and I. - Lots of refactoring patches to enable 2.0 support. - Fixes to pblk from Hans, Markus, and Dan. - Introduction of write amplication and padding counters. From Hans. - Fix from Johannes

[PATCH 4.14 31/43] net: systemport: Rewrite __bcm_sysport_tx_reclaim()

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 484d802d0f2f29c335563fcac2a8facf174a1bbc ] There is no need for complex checking between the last consumed index and current consumed

[PATCH 4.14 21/43] net: Fix hlist corruptions in inet_evict_bucket()

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit a560002437d3646dafccecb1bf32d1685112ddda ] inet_evict_bucket() iterates global list, and several tasks may call it in parallel. All of

[PATCH 4.14 07/43] macvlan: filter out unsupported feature flags

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Shannon Nelson [ Upstream commit 13fbcc8dc573482dd3f27568257fd7087f8935f4 ] Adding a macvlan device on top of a lowerdev that supports the xfrm offloads fails with

[PATCH] mmc: dw_mmc-k3: Fix DDR52 mode by setting required clock divisor

2018-03-29 Thread oscardagrach
Signed-off-by: oscardagrach --- drivers/mmc/host/dw_mmc-k3.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c index 89cdb3d533bb..efc546cb4db8 100644 --- a/drivers/mmc/host/dw_mmc-k3.c +++

[PATCH 4.14 35/43] soc/fsl/qbman: fix issue in qman_delete_cgr_safe()

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 96f413f47677366e0ae03797409bfcc4151dbf9e ] The wait_for_completion() call in qman_delete_cgr_safe() was triggering a scheduling while

[PATCH 4.15 06/47] sysfs: symlink: export sysfs_create_link_nowarn()

2018-03-29 Thread Greg Kroah-Hartman
4.15-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 4.15 15/47] net: phy: Tell caller result of phy_change()

2018-03-29 Thread Greg Kroah-Hartman
4.15-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

[PATCH 4.15 13/47] ipv6: sr: fix scheduling in RCU when creating seg6 lwtunnel state

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 191f86ca8ef27f7a492fd1c03620498c6e94f0ac ] The seg6_build_state() function is called with RCU read lock held, so we cannot use GFP_KERNEL.

[PATCH 4.15 10/47] net: ipv6: keep sk status consistent after datagram connect failure

2018-03-29 Thread Greg Kroah-Hartman
4.15-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

[PATCH 4.15 46/47] skbuff: Fix not waking applications when errors are enqueued

2018-03-29 Thread Greg Kroah-Hartman
4.15-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

[PATCH 4.15 31/47] dpaa_eth: fix error in dpaa_remove()

2018-03-29 Thread Greg Kroah-Hartman
4.15-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

[PATCH 4.15 32/47] dpaa_eth: remove duplicate initialization

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 565186362b73226a288830abe595f05f0cec0bbc ] The fd_format has already been initialized at this point. Signed-off-by: Camelia Groza

[PATCH 4.15 35/47] dccp: check sk for closed state in dccp_sendmsg()

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 67f93df79aeefc3add4e4b31a752600f834236e2 ] dccp_disconnect() sets 'dp->dccps_hc_tx_ccid' tx handler to NULL, therefore if DCCP

[PATCH 4.15 33/47] dpaa_eth: increment the RX dropped counter when needed

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 e4d1b37c17d000a3da9368a3e260fb9ea4927c25 ] Signed-off-by: Camelia Groza Signed-off-by: David S. Miller

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

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 4:04 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. >

[PATCH 5/6] spi: sun4i: introduce register set/unset helpers

2018-03-29 Thread Sergey Suloev
Two helper functions were added in order to update registers easily. Signed-off-by: Sergey Suloev --- drivers/spi/spi-sun4i.c | 40 +++- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/drivers/spi/spi-sun4i.c

[PATCH 6/6] spi: sun4i: add DMA transfers support

2018-03-29 Thread Sergey Suloev
DMA transfers are now available for sun4i-family SoCs. The DMA mode is used automatically as soon as requested transfer length is more than FIFO length. Signed-off-by: Sergey Suloev --- drivers/spi/spi-sun4i.c | 291 1

[PATCH 1/6] spi: core: handle timeout error from transfer_one()

2018-03-29 Thread Sergey Suloev
As long as sun4i/sun6i SPI drivers have overriden the default "wait for completion" procedure then we need to properly handle -ETIMEDOUT error from transfer_one(). Signed-off-by: Sergey Suloev --- drivers/spi/spi.c | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH] powerpc: kexec_file: Fix error code when trying to load kdump kernel

2018-03-29 Thread Thiago Jung Bauermann
kexec_file_load() on powerpc doesn't support kdump kernels yet, so it returns -ENOTSUPP in that case. I've recently learned that this errno is internal to the kernel and isn't supposed to be exposed to userspace. Therefore, change to -EOPNOTSUPP which is defined in an uapi header. This does

[GIT PULL] Please pull RDMA subsystem changes

2018-03-29 Thread Jason Gunthorpe
Hi Linus, Fifth pull request for -rc. It has been fairly silent lately on our -rc front. Big queue of patches on the mailing list going to for-next though. The following changes since commit e8980d67d6017c8eee8f9c35f782c4bd68e004c9: RDMA/ucma: Ensure that CM_ID exists prior to access it

Re: [PATCH] drivers: gpio: pca953x: add compatibility for pcal6524 and pcal9555a

2018-03-29 Thread H. Nikolaus Schaller
Hi, > Am 28.03.2018 um 18:50 schrieb H. Nikolaus Schaller : > > Hi Linus, > >> Am 27.03.2018 um 15:02 schrieb Linus Walleij : >> >> On Sat, Mar 10, 2018 at 12:00 PM, H. Nikolaus Schaller >> wrote: >> >>> The Pyra-Handheld

Re: [0/9] UML vector network driver: Adjustments for three function implementations

2018-03-29 Thread SF Markus Elfring
> Date: Sun, 11 Mar 2018 16:06:16 +0100 > > Some update suggestions were taken into account > from static source code analysis. … > Delete unnecessary code in user_init_raw_fds() > Less checks in user_init_raw_fds() after error detection > Adjust an error message in user_init_socket_fds() >

Re: [PATCH net] vhost: validate log when IOTLB is enabled

2018-03-29 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 29 Mar 2018 15:48:22 +0300 > On Thu, Mar 29, 2018 at 04:00:04PM +0800, Jason Wang wrote: >> Vq log_base is the userspace address of bitmap which has nothing to do >> with IOTLB. So it needs to be validated unconditionally otherwise we >> may

Re: [PATCH v4 6/7] dt-bindings: phy-qcom-usb2: Add support to override tuning values

2018-03-29 Thread Doug Anderson
Hi, On Thu, Mar 29, 2018 at 4:04 AM, Manu Gautam wrote: > To improve eye diagram for PHYs on different boards of same SOC, > some parameters may need to be changed. Provide device tree > properties to override these from board specific device tree > files. While at it,

[PATCH 0/6] spi: Add support for DMA transfers in sun4i SPI driver

2018-03-29 Thread Sergey Suloev
The following patchset provides corrections for PIO-mode and support for DMA transfers in sun4i SPI driver. Sergey Suloev (6): spi: core: handle timeout error from transfer_one() spi: sun4i: restrict transfer length in PIO-mode spi: sun4i: coding style/readability improvements spi: sun4i:

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

2018-03-29 Thread Alan Tull
On Thu, Mar 29, 2018 at 12:06 PM, Greg KH wrote: Hi Greg, >> -int fpga_region_register(struct device *dev, struct fpga_region *region) >> +int fpga_region_register(struct fpga_region *region) >> { >> + struct device *dev = region->parent; >> int id, ret =

Re: [PATCH] selftests/livepatch: introduce tests

2018-03-29 Thread kbuild test robot
Hi Joe, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc7 next-20180329] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

[PATCH 09/30] net: refactor socket_poll

2018-03-29 Thread Christoph Hellwig
Factor out two busy poll related helpers for late reuse, and remove a command that isn't very helpful, especially with the __poll_t annotations in place. Signed-off-by: Christoph Hellwig --- include/net/busy_poll.h | 15 +++ net/socket.c| 21

[PATCH 02/30] fs: cleanup do_pollfd

2018-03-29 Thread Christoph Hellwig
Use straightline code with failure handling gotos instead of a lot of nested conditionals. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Darrick J. Wong --- fs/select.c | 48

[PATCH 03/30] fs: update documentation to mention __poll_t and match the code

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Reviewed-by: Greg Kroah-Hartman --- Documentation/filesystems/Locking | 2 +- Documentation/filesystems/vfs.txt | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 01/30] fs: unexport poll_schedule_timeout

2018-03-29 Thread Christoph Hellwig
No users outside of select.c. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Darrick J. Wong --- fs/select.c | 3 +-- include/linux/poll.h | 2 -- 2 files changed, 1 insertion(+), 4

[PATCH 4.14 18/43] sch_netem: fix skb leak in netem_enqueue()

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 35d889d10b649fda66121891ec05eca88150059d ] When we exceed current packets limit and we have more than one segment in the list

[PATCH 4.14 16/43] rhashtable: Fix rhlist duplicates insertion

2018-03-29 Thread Greg Kroah-Hartman
4.14-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

[PATCH 4.14 15/43] ppp: avoid loop in xmit recursion detection code

2018-03-29 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 6d066734e9f09cdea4a3b9cb76136db3f29cfb02 ] We already detect situations where a PPP channel sends packets back to its upper PPP

[PATCH 4.14 02/43] tcp: purge write queue upon aborting the connection

2018-03-29 Thread Greg Kroah-Hartman
4.14-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

Re: [PATCH] xfs: always free inline data before resetting inode fork during ifree

2018-03-29 Thread Sasha Levin
On Thu, Mar 29, 2018 at 02:17:13PM -0400, Josef Bacik wrote: >On Thu, Mar 29, 2018 at 06:12:23PM +, Luis R. Rodriguez wrote: >> On Thu, Mar 29, 2018 at 10:05:35AM +1100, Dave Chinner wrote: >> > On Wed, Mar 28, 2018 at 07:30:06PM +, Sasha Levin wrote: >> > > >> > > This is actually

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-29 Thread Mathieu Desnoyers
- On Mar 29, 2018, at 2:07 PM, rostedt rost...@goodmis.org wrote: > On Thu, 29 Mar 2018 14:02:33 -0400 (EDT) > Mathieu Desnoyers wrote: > >> Currently, anyone using ptrace on a process has pretty much given up all >> hopes of performance. Processes will use

[PATCH 4.15 29/47] s390/qeth: on channel error, reject further cmd requests

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 a6c3d93963e4b333c764fde69802c3ea9eaa9d5c ] When the IRQ handler determines that one of the cmd IO channels has failed and schedules

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

2018-03-29 Thread Stephen Smalley
On 03/29/2018 01:57 PM, valdis.kletni...@vt.edu wrote: > 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

[PATCH 4.15 21/47] kcm: lock lower socket in kcm_attach

2018-03-29 Thread Greg Kroah-Hartman
4.15-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

[PATCH 4.15 18/47] ppp: avoid loop in xmit recursion detection code

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 6d066734e9f09cdea4a3b9cb76136db3f29cfb02 ] We already detect situations where a PPP channel sends packets back to its upper PPP

[PATCH 4.15 25/47] net: Fix hlist corruptions in inet_evict_bucket()

2018-03-29 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit a560002437d3646dafccecb1bf32d1685112ddda ] inet_evict_bucket() iterates global list, and several tasks may call it in parallel. All of

Re: [PATCH v3 01/14] KVM: s390: refactor crypto initialization

2018-03-29 Thread Tony Krowiak
On 03/26/2018 04:44 AM, Cornelia Huck wrote: On Thu, 15 Mar 2018 15:55:39 +0100 Pierre Morel wrote: On 15/03/2018 15:48, Tony Krowiak wrote: On 03/15/2018 08:26 AM, Pierre Morel wrote: On 14/03/2018 19:25, Tony Krowiak wrote: diff --git a/arch/s390/kvm/Kconfig

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Francisco Jerez
Fabio Estevam writes: > Hi Julia, > > On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: >> Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE >> for debugfs files. >> >> Semantic patch information: >> Rationale:

Re: [kbuild-all] [PATCH] OPTIONAL: cpufreq/intel_pstate: fix debugfs_simple_attr.cocci warnings

2018-03-29 Thread Julia Lawall
On Thu, 29 Mar 2018, Fabio Estevam wrote: > Hi Julia, > > On Thu, Mar 29, 2018 at 4:12 PM, Julia Lawall wrote: > > Use DEFINE_DEBUGFS_ATTRIBUTE rather than DEFINE_SIMPLE_ATTRIBUTE > > for debugfs files. > > > > Semantic patch information: > > Rationale:

Re: [PATCHv4] phy: mapphone-mdm6600: Add USB PHY driver for MDM6600 on Droid 4

2018-03-29 Thread Pavel Machek
Hi! > > Does ofonod work for you? I could not get that one to work... > > Because it's looking for a Gobi modem but the MDM6600 isn't one and > doesn't expose that layout (and doesn't really need to anyway). I > don't think ofono has a generic QMI driver, so you'd either need to for > ce it to

Re: [RFC][PATCH] ipc: Remove IPCMNI

2018-03-29 Thread Eric W. Biederman
Manfred Spraul writes: > On 03/14/2018 08:49 PM, Eric W. Biederman wrote: >> To make it possible to keep checkpoint/restore working I have renamed >> the sysctls from xxx_next_id to xxx_nextid.  That is enough change that >> a smart CRIU implementation

Re: INFO: task hung in stop_sync_thread (2)

2018-03-29 Thread Julian Anastasov
Hello, On Thu, 29 Mar 2018, syzbot wrote: > syzbot hit the following crash on net-next commit > 5d22d47b9ed96eddb35821dc2cc4f629f45827f7 (Tue Mar 27 17:33:21 2018 +) > Merge branch 'sfc-filter-locking' > syzbot dashboard link: >

Re: [PATCH] MAINTAINERS: update maintainers for MTD and SPI NOR subsystems

2018-03-29 Thread Boris Brezillon
On Wed, 21 Mar 2018 22:33:26 +0100 Marek Vasut wrote: > On 03/18/2018 06:14 PM, Cyrille Pitchen wrote: > > Hi Marek, > > Hi, > > > Le 18/03/2018 à 00:41, Marek Vasut a écrit : > >> On 03/15/2018 08:04 PM, Cyrille Pitchen wrote: > >>> remove myself as MTD and SPI

[PATCH 04/30] fs: add new vfs_poll and file_can_poll helpers

2018-03-29 Thread Christoph Hellwig
These abstract out calls to the poll method in preparation for changes in how we poll. Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Darrick J. Wong ---

[PATCH 28/30] eventfd: switch to ->poll_mask

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- fs/eventfd.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/fs/eventfd.c b/fs/eventfd.c index 012f5bd46dfa..d70b4907f978 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@ -101,14 +101,20 @@ static int

[PATCH 26/30] crypto: af_alg: convert to ->poll_mask

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- crypto/af_alg.c | 13 +++-- crypto/algif_aead.c | 4 ++-- crypto/algif_skcipher.c | 4 ++-- include/crypto/if_alg.h | 3 +-- 4 files changed, 8 insertions(+), 16 deletions(-) diff --git a/crypto/af_alg.c b/crypto/af_alg.c

[PATCH 24/30] net/iucv: convert to ->poll_mask

2018-03-29 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- include/net/iucv/af_iucv.h | 2 -- net/iucv/af_iucv.c | 7 ++- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/include/net/iucv/af_iucv.h b/include/net/iucv/af_iucv.h index f4c21b5a1242..b0eaeb02d46d 100644 ---

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