[PATCH v2] geneve: fix max_mtu setting

2016-07-02 Thread Haishuang Yan
For ipv6+udp+geneve encapsulation data, the max_mtu should subtract sizeof(ipv6hdr), instead of sizeof(iphdr). Signed-off-by: Haishuang Yan --- Changes in v2: - As suggested by Jesse Gross, treat AF_UNSPEC same as AF_INET4 to avoid disallowing potentially valid configrations. --- drivers/net/

Re: [PATCH 32/32] ver_linux: 'printversion()' function definition

2016-07-02 Thread Alexander Kapshuk
On Tue, Jun 28, 2016 at 5:48 PM, wrote: > On Tue, 28 Jun 2016 17:40:36 +0300, Alexander Kapshuk said: > >> Seeing this is a complete rewrite of the script from the shell >> language into awk, one would not be able to apply the patches >> submitted incrementally to be able to test each change bein

Re: [PATCH] regulator: pwm: Fix regulator ramp delay for continuous mode

2016-07-02 Thread Mark Brown
On Fri, Jul 01, 2016 at 01:17:48PM -0700, Doug Anderson wrote: > Anyway, let me know if you want me to post the untested, rebased > patch... Personally I'd prefer to wait for Boris's patches and the > land the tested version. We've got some boards in kernelci.org using PWM regulators I think, or

[PATCH 3/4] fs: befs: Remove useless calls to brelse in befs_find_brun_dblindirect

2016-07-02 Thread Salah Triki
The calls to brelse are useless since dbl_indir_block and indir_block are NULL. Signed-off-by: Salah Triki --- fs/befs/datastream.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c index e224b9a..b68b6f9 100644 --- a/fs/befs/datastream.c +++ b/fs/b

[PATCH 4/4] fs: befs: Remove goto from befs_bread_iaddr

2016-07-02 Thread Salah Triki
Since goto statement merely returns NULL, replace it with return statement. Signed-off-by: Salah Triki --- fs/befs/io.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/fs/befs/io.c b/fs/befs/io.c index 4223b77..af631a6 100644 --- a/fs/befs/io.c +++ b/fs/befs/io.c @@ -

[PATCH 2/4] fs: befs: Coding style fix

2016-07-02 Thread Salah Triki
Constant has to be capitalized. Signed-off-by: Salah Triki --- fs/befs/btree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/befs/btree.c b/fs/befs/btree.c index 307645f9..e59ad20 100644 --- a/fs/befs/btree.c +++ b/fs/befs/btree.c @@ -85,7 +85,7 @@ struct befs_btre

[PATCH 1/4] fs: befs: Remove redundant validation from befs_find_brun_direct

2016-07-02 Thread Salah Triki
The only caller of befs_find_brun_direct is befs_fblock2brun, which already validates that the block is within the range of direct blocks. So remove the duplicate validation. Signed-off-by: Salah Triki --- fs/befs/datastream.c | 8 1 file changed, 8 deletions(-) diff --git a/fs/befs/da

Re: [PATCH v5 6/8] efi: load SSTDs from EFI variables

2016-07-02 Thread Geert Uytterhoeven
On Fri, Jul 1, 2016 at 10:19 PM, Octavian Purdila wrote: > --- a/drivers/firmware/efi/efi.c > +++ b/drivers/firmware/efi/efi.c > @@ -195,6 +198,85 @@ static void generic_ops_unregister(void) > efivars_unregister(&generic_efivars); > } > > +#if IS_ENABLED(CONFIG_ACPI) > +#define EFIVAR_SS

Re: [PATCH] drm: mediatek: fix prototypes after API change

2016-07-02 Thread Mark Brown
On Wed, Jun 29, 2016 at 04:51:29PM +0200, Arnd Bergmann wrote: > b) efc9194bcff8 gets merged into drm-next along with my change >in the merge commit. It is currently a standalone patch >in its own branch in the ASoC tree. This would be the ideal thing obviously: The following changes sin

[PATCH] omapfb: omapfb-main: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue auto_update_work is involved in auto updating mode for manual-update displays. omapfb driver uses a delayed work item to update the display at a constant rate. Since these long-running work items aren't involved in memory reclaim in any way, system_long_wq has been used. Work item h

[PATCH] fbdev: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "esd_wq" has only a single workitem(&md->esd_work) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues have been able to handle high level of concur

[PATCH] spi: spi-bfin5xx: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "workqueue" serves as a driver message queue. It has a single work item(&drv_data->pump_messages) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueue

Re: [PATCH v2] kasan/quarantine: fix bugs on qlist_move_cache()

2016-07-02 Thread kbuild test robot
-qlist_move_cache/20160702-102811 config: x86_64-randconfig-r0-07021543 (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): mm/kasan/quarantine.c: In fu

[PATCH] spi: spi-sh: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue has a single workitem(&ss->ws) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues have been able to handle high level of concurrency for a long tim

[PATCH] spi: spi-txx9: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "workqueue" has a single work item(&c->work) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path.Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues have been able to handle high level of concurrency f

[PATCH] spi: spi-mpc52xx-psc: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "workqueue" has a single work item(&mps->work) doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues have been able to handle high level of concurrency for a lo

[GIT PULL] regulator fixes for v4.7

2016-07-02 Thread Mark Brown
The following changes since commit 4c2e07c6a29e0129e975727b9f57eede813eea85: Linux 4.7-rc5 (2016-06-26 17:52:03 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-fix-v4.7-rc5 for you to fetch changes up to a29a

[PATCH] spi: spi-bfin-sport: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "workqueue" serves as a driver message queue. It has a single work item(&drv_data->pump_messages) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueue

[GIT PULL] SPI fixes for v4.7

2016-07-02 Thread Mark Brown
The following changes since commit 4c2e07c6a29e0129e975727b9f57eede813eea85: Linux 4.7-rc5 (2016-06-26 17:52:03 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git tags/spi-fix-v4.7-rc5 for you to fetch changes up to 2a9b27b326d67dcd

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-02 Thread Chen-Yu Tsai
Hi, On Sat, Jul 2, 2016 at 5:00 AM, Alexandre Belloni wrote: > Document the bindings for the Allwinner LRADC. We already have Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt and I'm pretty sure Hans (CC-ed) argued that this is not a generic ADC block. Any plans to reconcile the dif

Re: [alsa-devel] [PATCH v5 7/9] ASoC: bt-sco: extend rate and add a general compatible string

2016-07-02 Thread Chen-Yu Tsai
Hi, On Sat, Jul 2, 2016 at 12:11 AM, Mark Brown wrote: > On Fri, Jul 01, 2016 at 10:49:46AM +0800, Garlic Tseng wrote: >> On Thu, 2016-06-30 at 20:55 +0800, Garlic Tseng wrote: > >> > If you worry about some potential risk (I don't see any) maybe we have >> > to develop another dummy bt-sco codec

Re: [PATCH v4 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-07-02 Thread Marc Zyngier
On Fri, 1 Jul 2016 19:25:38 -0700 Brian Norris wrote: > Hi, > > On Fri, Jul 01, 2016 at 02:01:09PM +0100, Marc Zyngier wrote: > > On 01/07/16 02:24, Shawn Lin wrote: > > > This patch adds a binding that describes the Rockchip PCIe controller > > > found on Rockchip SoCs PCIe interface. > > > >

[PATCH v11 20/22] IB/hns: Add operation for getting immutable port

2016-07-02 Thread Lijun Ou
This patch added a new verbs that is getting port immutable. It is added in the 4.5 kernel and latest. It is necessary to solve the fail questions for registering ib device. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- PATCH v11/v10/v9: - No change over the PATCH v8 PATCH v8: - The initial

[PATCH v11 05/22] IB/hns: Add initial profile resource

2016-07-02 Thread Lijun Ou
This patch added the operation for cmd, and added some functions for initializing eq table and selecting cmd mode. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: This fixes the comments given by Leon Romanovsky over the PATCH v10: Link: https://lkml.

[PATCH v11 22/22] MAINTAINERS: Add maintainers for HiSilicon RoCE driver

2016-07-02 Thread Lijun Ou
This patch added maintainers for RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- PATCH v11/v10/v9: - No change over the PATCH v8 PATCH v8: This fixes the comments given by Joe Perches over the PATCH v7: Link: https://lkml.org/lkml/2016/5/25/396 PATCH v7/v6/v5/v4: - No change o

[PATCH v11 21/22] IB/hns: Kconfig and Makefile for RoCE module

2016-07-02 Thread Lijun Ou
This patch added Kconfig and Makefile for building RoCE module. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: hns_roce_icm.o -> hns_roce_hem.o PATCH v10/v9/v8/v7/v6/v5: - No change over the PATCH v4 PATCH v4: This fixes the comments given by Christo

[PATCH v11 17/22] IB/hns: Add QP operations support

2016-07-02 Thread Lijun Ou
This patch was implementing for queue pair operations. QP Consists of a Send Work Queue and a Receive Work Queue. Send and receive queues are always created as a pair and remain that way throughout their lifetime. A Queue Pair is identified by its Queue Pair Number. QP operations as follows: 1.

[PATCH v11 10/22] IB/hns: Add process flow to init RoCE engine

2016-07-02 Thread Lijun Ou
This patch mainly initialized the RoCE engine. It is absolutely necessary to run RoCE. It mainly includes that configure DMAE user, initialize doorbell and raq operations, enable port. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: This fixes hns_roce_

[PATCH v11 07/22] IB/hns: Add event queue support

2016-07-02 Thread Lijun Ou
This patch added event queue support for RoCE driver. It is used for RoCE interrupt. RoCE includes 32 synchronous event irqs, 1 asynchronous event irq and 1 common overflow irq. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: This fixes the comments giv

[PATCH v11 09/22] IB/hns: Add hca support

2016-07-02 Thread Lijun Ou
This patch mainly setup hca for RoCE. It will do a series of initial works, as follows: 1. init uar table, allocate uar resource 2. init pd table 3. init cq table 4. init mr table 5. init qp table Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[PATCH v11 08/22] IB/hns: Add hem support

2016-07-02 Thread Lijun Ou
This patch mainly added hem(Hardware Entry Memory) support for RoCE. It initializes icm which managers the relative memory blocks for RoCE. The data structures of RoCE will be located in it. For example, CQ table, QP table and MTPT table so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao

[PATCH v11 03/22] IB/hns: Add initial main frame driver and get cfg info

2016-07-02 Thread Lijun Ou
This patch mainly added the initial bare main driver. It could get the relative configure information of net node. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: This fixes comments given by Leon Romanovsky over the PATCH v10: Link: https://lkml.org/

[PATCH v11 00/22] Add HiSilicon RoCE driver

2016-07-02 Thread Lijun Ou
The HiSilicon Network Substem is a long term evolution IP which is supposed to be used in HiSilicon ICT SoCs. HNS (HiSilicon Network Sybsystem) also has a hardware support of performing RDMA with RoCEE. The driver for HiSilicon RoCEE(RoCE Engine) is a platform driver and will support mulitple versi

[PATCH v11 12/22] IB/hns: Set mtu and gid support

2016-07-02 Thread Lijun Ou
This patch mainly set mtu and gid resource. These resource will be used to set up network transmission in nodes. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: - No change over the PATCH v10 PATCH v10: This fixes the same questions with the comments g

[PATCH v11 04/22] IB/hns: Add RoCE engine reset function

2016-07-02 Thread Lijun Ou
This patch mainly added reset flow of RoCE engine in RoCE driver. It is necessary when RoCE is loaded and removed. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: This fixes the comments given by Leon Romanovsky over the PATCH v11: Link: https://lkml.

[PATCH v11 01/22] net: hns: Add reset function support for RoCE driver

2016-07-02 Thread Lijun Ou
It added reset function for RoCE driver. RoCE is a feature of hns. In hip06 SoC, in RoCE reset process, it's needed to configure dsaf channel reset, port and sl map info. Reset function of RoCE is located in dsaf module, we only call it in RoCE driver when needed. Signed-off-by: Wei Hu Signed-off

[PATCH v11 14/22] IB/hns: Add operations support for IB device and port

2016-07-02 Thread Lijun Ou
This patch mainly registered some relative verbs for the kernel. These operation functions will be called by user. For example: 1. modify device 2. query device 3. query_port 4. modify_port and so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

[PATCH v11 13/22] IB/hns: Add interface of the protocol stack registration

2016-07-02 Thread Lijun Ou
This patch mainly added the function module which netif notify registered the protocol stack. It includes interface functions as follows: 1. The executive called interface of RoCE when the netlink event that registered protocol stack was generated 2. The executive called interface of

[PATCH v11 11/22] IB/hns: Add IB device registration

2016-07-02 Thread Lijun Ou
This patch registered IB device when loaded, and unregistered IB device when removed. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: Remove hns_roce_profile_init function for one line of code which will be called once only according to Leon Romanovsky'

[PATCH v11 06/22] IB/hns: Add initial cmd operation

2016-07-02 Thread Lijun Ou
This patch added the operation for cmd, and added some functions for initializing eq table and selecting cmd mode. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: This fixes the comments given by Leon Romanovsky over the PATCH v10: Link: https://lkml.

[PATCH v11 16/22] IB/hns: Add ah operations support

2016-07-02 Thread Lijun Ou
This patch was for implementing of address handle operations. It includes three verbs that create ah, query ah and destroy ah. They is completed independently by RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11: Remove the non-essential heade

[PATCH v11 19/22] IB/hns: Add memory region operations support

2016-07-02 Thread Lijun Ou
This patch was mainly for implementing of memory region. Memory Registration provides mechanisms that allow consumers to describe a set of virtually contiguous memory locations or a set of physically contiguous memory locations. MR operations includes as follows: 1. get dma MR in kernel mode

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-02 Thread Hans de Goede
Hi, On 02-07-16 11:12, Chen-Yu Tsai wrote: Hi, On Sat, Jul 2, 2016 at 5:00 AM, Alexandre Belloni wrote: Document the bindings for the Allwinner LRADC. We already have Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt and I'm pretty sure Hans (CC-ed) argued that this is not a gene

[PATCH v11 18/22] IB/hns: Add CQ operations support

2016-07-02 Thread Lijun Ou
This patch was implementing for Completion Queue(CQ) operations. A CQ can be used to multiplex work completions from multiple work queues across queue pairs on the same HCA. CQ as the notification mechanism for Work Request completions. CQ operations as follows: 1. create CQ. CQ are created thr

[PATCH v11 02/22] devicetree: bindings: IB: Add binding document for HiSilicon RoCE

2016-07-02 Thread Lijun Ou
This patch added DTS binding document for HiSilicon RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- PATCH v11/v10/v9/v8/v7/v6/v5/v4/v3: - No change over the PATCH v2 PATCH v2: This fixes the comments given by Sergei Shtylyov over PATCH v1: Link: https://lkml.org/lkml/2016/3/11/

[PATCH v11 15/22] IB/hns: Add PD operations support

2016-07-02 Thread Lijun Ou
This patch added the verbs to operate PD. It mainly includes the functions of allocating PD and deallocating PD. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- PATCH v11/v10/v9/v8/v7/v6: - No change over the PATCH v5 PATCH v5: - The initial patch which was redes

[PATCH] cx23885: Add support for Hauppauge WinTV quadHD DVB version

2016-07-02 Thread Stephen Backway
Add support fo the Hauppauge WinTV quadHD DVB version. IR support has not been provided, all 4 tuners, demodulators etc are working. Further documentation can be found on Linux TV wiki. Signed-Off-by: Stephen Backway --- diff --git a/Documentation/video4linux/CARDLIST.cx23885 b/Documentation/vi

[PATCH] drm/omap: panel-dsi-cm: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "workqueue" has only a single workitem(&ddata->ulps_work) per panel_drv_data and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues have been able to h

Re: [RFC] block: fix blk_queue_split() resource exhaustion

2016-07-02 Thread Ming Lei
On Tue, Jun 28, 2016 at 4:45 PM, Lars Ellenberg wrote: > On Sat, Jun 25, 2016 at 05:30:29PM +0800, Ming Lei wrote: >> On Fri, Jun 24, 2016 at 10:27 PM, Lars Ellenberg >> wrote: >> > On Fri, Jun 24, 2016 at 07:36:57PM +0800, Ming Lei wrote: >> >> > >> >> > This is not a theoretical problem. >> >>

[PATCH] block: fix boolreturn.cocci warnings

2016-07-02 Thread kbuild test robot
block/elevator.c:73:9-10: WARNING: return of 0/1 in function 'elv_bio_merge_ok' with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: scripts/coccinelle/misc/boolreturn.cocci CC: Tahsin Erdogan Signed-off-by: Fengguang Wu ---

Re: [PATCH] block: do not merge requests without consulting with io scheduler

2016-07-02 Thread kbuild test robot
-merge-requests-without-consulting-with-io-scheduler/20160702-130833 coccinelle warnings: (new ones prefixed by >>) >> block/elevator.c:73:9-10: WARNING: return of 0/1 in function >> 'elv_bio_merge_ok' with return type bool Please review and possibly fold the follo

Re: [RFC] block: fix blk_queue_split() resource exhaustion

2016-07-02 Thread Ming Lei
On Wed, Jun 22, 2016 at 4:22 PM, Lars Ellenberg wrote: > For a long time, generic_make_request() converts recursion into > iteration by queuing recursive arguments on current->bio_list. > > This is convenient for stacking drivers, > the top-most driver would take the originally submitted bio, > an

[PATCH] [media] adv7842: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "work_queues" enables hotplugging. It has a single work item(&state->delayed_work_enable_hotplug) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueue

[PATCH] [media] tc358743: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "work_queues" enables hotplugging. It has a single work item(&state->delayed_work_enable_hotplug) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueue

[PATCH] [media] adv7604: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "work_queues" enables hotplugging. It has a single work item(&state->delayed_work_enable_hotplug) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueue

[PATCH] [media] hdpvr: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "workqueue" is involved in tranmitting hdpvr buffers. It has a single work item(&dev->worker) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues ha

[PATCH] [media] sn9c20x: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "work_thread" is involved in JPEG quality update. It has a single work item(&sd->work) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqueues have been

Re: [PATCH] spi: spi-sh: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread kbuild test robot
-create_singlethread_workqueue/20160702-164813 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: x86_64-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree

[PATCH] [media] zc3xx: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "work_thread" is involved in updating parameters for transfers. It has a single work item(&sd->work) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System workqu

[PATCH] drm/qxl: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
System workqueues have been able to handle high level of concurrency for a long time now and there's no reason to use dedicated workqueues just to gain concurrency. Since the workqueue in the QXL graphics device driver is involved in freeing and processing the release ring (workitem &qdev->gc_workq

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-02 Thread Maxime Ripard
On Sat, Jul 02, 2016 at 11:32:07AM +0200, Hans de Goede wrote: > Hi, > > On 02-07-16 11:12, Chen-Yu Tsai wrote: > >Hi, > > > >On Sat, Jul 2, 2016 at 5:00 AM, Alexandre Belloni > > wrote: > >>Document the bindings for the Allwinner LRADC. > > > >We already have Documentation/devicetree/bindings/inp

[PATCH] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
alloc_workqueue replaces deprecated create_singlethread_workqueue(). A dedicated workqueue has been used since work items need to be flushed as a group rather than individually. Since the flip_queue workqueue is involved in page-flipping and is not being used on a memory reclaim path, WQ_MEM_RECL

[PATCH] spi: spi-topcliff-pch: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Bhaktipriya Shridhar
The workqueue "wk" serves as a queue for carrying out execution of requests. It has a single work item(&drv_data->work) and hence doesn't require ordering. Also, it is not being used on a memory reclaim path. Hence, the singlethreaded workqueue has been replaced with the use of system_wq. System w

Re: [PATCH] capabilities: add capability cgroup controller

2016-07-02 Thread Topi Miettinen
On 06/28/16 04:57, Eric W. Biederman wrote: > Topi Miettinen writes: > >> On 06/24/16 17:21, Eric W. Biederman wrote: >>> "Serge E. Hallyn" writes: >>> Quoting Tejun Heo (t...@kernel.org): > Hello, > > On Fri, Jun 24, 2016 at 10:59:16AM -0500, Serge E. Hallyn wrote: >> Quoti

Re: [PATCH 2/4] fs: befs: Coding style fix

2016-07-02 Thread Luis de Bethencourt
On 02/07/16 09:05, Salah Triki wrote: > Constant has to be capitalized. > > Signed-off-by: Salah Triki > --- > fs/befs/btree.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/fs/befs/btree.c b/fs/befs/btree.c > index 307645f9..e59ad20 100644 > --- a/fs/befs/btree.

Re:

2016-07-02 Thread Mr. Bun Sam
Hi, I work with one of the major banks in Cambodia as the director of audit. I have a proposal for you, a very urgent and quick business that will be completed in 12 working days. I have just discovered documents relating to funds belonging to a deceased client of our bank, I went through all

Re: [PATCH] mvsas:Fix possible NULL pointer deference in mvs_dev_found_notify

2016-07-02 Thread Luis de Bethencourt
On 01/07/16 18:43, Nicholas Krause wrote: > This adds properly checking after the call to mvs_find_dev_mvi > due to this function being able to return a NULL pointer and if > this does arise we will deference it in mvs_alloc_dev due to > this function never checking if a NULL pointer is given as >

Re: [PATCH] omapfb: omapfb-main: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 02:00:56PM +0530, Bhaktipriya Shridhar wrote: > The workqueue auto_update_work is involved in auto updating mode for > manual-update displays. omapfb driver uses a delayed work item to update > the display at a constant rate. > > Since these long-running work items aren't i

Re: [PATCH] fbdev: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 02:09:23PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "esd_wq" has only a single workitem(&md->esd_work) > and hence doesn't require ordering. Also, it is not being used on a > memory reclaim path. Hence, the singlethreaded workqueue has been > replaced with the use

Re: [PATCH 1/4] fs: befs: Remove redundant validation from befs_find_brun_direct

2016-07-02 Thread Luis de Bethencourt
On 02/07/16 09:05, Salah Triki wrote: > The only caller of befs_find_brun_direct is befs_fblock2brun, which > already validates that the block is within the range of direct blocks. > So remove the duplicate validation. > > Signed-off-by: Salah Triki > --- > fs/befs/datastream.c | 8 > 1

Re: [PATCH] spi: spi-bfin5xx: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 02:12:00PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "workqueue" serves as a driver message queue. > It has a single work item(&drv_data->pump_messages) and hence doesn't > require ordering. Also, it is not being used on a memory reclaim path. > Hence, the singlethr

Re: [PATCH] spi: spi-txx9: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 02:20:55PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "workqueue" has a single work item(&c->work) and hence > doesn't require ordering. Also, it is not being used on a memory reclaim > path.Hence, the singlethreaded workqueue has been replaced with the use of > syst

Re: [PATCH] spi: spi-mpc52xx-psc: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 02:27:06PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "workqueue" has a single work item(&mps->work) > doesn't require ordering. Also, it is not being used on a memory reclaim > path. Hence, the singlethreaded workqueue has been replaced with the use > of system_wq.

Re: [PATCH] spi: spi-topcliff-pch: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 02:23:34PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "wk" serves as a queue for carrying out execution > of requests. It has a single work item(&drv_data->work) and hence doesn't > require ordering. Also, it is not being used on a memory reclaim path. > Hence, the s

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-02 Thread Hans de Goede
Hi, On 02-07-16 13:02, Maxime Ripard wrote: On Sat, Jul 02, 2016 at 11:32:07AM +0200, Hans de Goede wrote: Hi, On 02-07-16 11:12, Chen-Yu Tsai wrote: Hi, On Sat, Jul 2, 2016 at 5:00 AM, Alexandre Belloni wrote: Document the bindings for the Allwinner LRADC. We already have Documentation/

Re: [PATCH] spi: spi-bfin-sport: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 02:29:41PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "workqueue" serves as a driver message queue. > It has a single work item(&drv_data->pump_messages) and hence doesn't > require ordering. Also, it is not being used on a memory reclaim path. > Hence, the singlethr

Re: [PATCH 3/4] fs: befs: Remove useless calls to brelse in befs_find_brun_dblindirect

2016-07-02 Thread Luis de Bethencourt
On 02/07/16 09:05, Salah Triki wrote: > The calls to brelse are useless since dbl_indir_block and indir_block > are NULL. > > Signed-off-by: Salah Triki > --- > fs/befs/datastream.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/fs/befs/datastream.c b/fs/befs/datastream.c > index e22

Re: [RFC RESEND] serial: 8250: fix regression in 8250 uart driver

2016-07-02 Thread Thorsten Leemhuis
On 14.06.2016 18:00, Andy Shevchenko wrote: > On Tue, 2016-06-14 at 10:27 -0500, dinh.li...@anniebear.net wrote: >>> On Mon, 2016-06-13 at 21:59 -0500, Dinh Nguyen wrote: >>> I suppose this one, i.e. commit dd4e91d538b3 ("dmaengine: slave >>> means at >>> least one of DMA_SLAVE, DMA_CYCLIC"), solve

Re: [RFC RESEND] serial: 8250: fix regression in 8250 uart driver

2016-07-02 Thread Andy Shevchenko
On Sat, 2016-07-02 at 13:53 +0200, Thorsten Leemhuis wrote: > On 14.06.2016 18:00, Andy Shevchenko wrote: > > On Tue, 2016-06-14 at 10:27 -0500, dinh.li...@anniebear.net wrote: > > > > On Mon, 2016-06-13 at 21:59 -0500, Dinh Nguyen wrote: > > > > I suppose this one, i.e. commit dd4e91d538b3 ("dmaen

Re: [PATCH 4/4] fs: befs: Remove goto from befs_bread_iaddr

2016-07-02 Thread Luis de Bethencourt
On 02/07/16 09:05, Salah Triki wrote: > Since goto statement merely returns NULL, replace it with return > statement. > > Signed-off-by: Salah Triki > --- > fs/befs/io.c | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/fs/befs/io.c b/fs/befs/io.c > index 4223b77.

[PATCH 1/2] net: ethernet: ixp4xx_eth: use phydev from struct net_device

2016-07-02 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/xs

[PATCH 2/2] net: ethernet: ixp4xx_eth: use phy_ethtool_{get|set}_link_ksettings

2016-07-02 Thread Philippe Reynes
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/xscale/ixp4xx_eth.c | 14 ++ 1 files changed, 2 insertions(+), 12 deletions(-) diff --

Re: [PATCH] spi: spi-topcliff-pch: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread kbuild test robot
-deprecated-create_singlethread_workqueue/20160702-191734 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg

[PATCH] net/mlx4: Fix some indent inconsistancy

2016-07-02 Thread Christophe JAILLET
Silent a few smatch warnings about indentation. This include the removal of a 'return' statement in 'resource_tracker.c'. This 'return' will still be performed when breaking out of the corresponding 'switch' block. Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/mellanox/mlx4/intf.c

Re: [PATCH] drm/omap: panel-dsi-cm: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 03:17:08PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "workqueue" has only a single workitem(&ddata->ulps_work) per > panel_drv_data and hence doesn't require ordering. > Also, it is not being used on a memory reclaim path. Hence, the > singlethreaded workqueue has b

Re: [PATCH v11 00/22] Add HiSilicon RoCE driver

2016-07-02 Thread Leon Romanovsky
On Sat, Jul 02, 2016 at 05:39:02PM +0800, Lijun Ou wrote: This v11 > 28 files changed, 10626 insertions(+), 1 deletion(-) First version > 27 files changed, 11670 insertions(+), 11 deletions(-) 1K LOC less, we are moving in right direction. signature.asc Description: Digital signature

Re: [PATCH] [media] adv7842: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:07:22PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "work_queues" enables hotplugging. > It has a single work item(&state->delayed_work_enable_hotplug) and hence > doesn't require ordering. Also, it is not being used on a memory > reclaim path. Hence, the singlethr

Re: [PATCH] spi: imx: wait_for_completion_timeout(..) for PIO transfers

2016-07-02 Thread Christian Gmeiner
Hi Mark, 2016-07-01 17:01 GMT+02:00 Mark Brown : > On Fri, Jul 01, 2016 at 02:32:58PM +0200, Christian Gmeiner wrote: >> In some rare cases I see the following 'task blocked' information. It >> looks like the PIO transfer has some problems and never succeeds. Make >> use of wait_for_completion_tim

Re: [PATCH] [media] adv7604: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:13:55PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "work_queues" enables hotplugging. > It has a single work item(&state->delayed_work_enable_hotplug) and hence > doesn't require ordering. Also, it is not being used on a memory > reclaim path. Hence, the singlethr

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-02 Thread Alexandre Belloni
On 02/07/2016 at 13:45:18 +0200, Hans de Goede wrote : > Hi, > > On 02-07-16 13:02, Maxime Ripard wrote: > > On Sat, Jul 02, 2016 at 11:32:07AM +0200, Hans de Goede wrote: > > > Hi, > > > > > > On 02-07-16 11:12, Chen-Yu Tsai wrote: > > > > Hi, > > > > > > > > On Sat, Jul 2, 2016 at 5:00 AM, Ale

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-02 Thread Alexandre Belloni
On 02/07/2016 at 17:12:55 +0800, Chen-Yu Tsai wrote : > Hi, > > On Sat, Jul 2, 2016 at 5:00 AM, Alexandre Belloni > wrote: > > Document the bindings for the Allwinner LRADC. > > We already have Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt > and I'm pretty sure Hans (CC-ed) argued

Re: [PATCH] [media] zc3xx: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:19:28PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "work_thread" is involved in updating parameters for > transfers. It has a single work item(&sd->work) and hence > doesn't require ordering. Also, it is not being used on a memory > reclaim path. Hence, the single

Re: [PATCH] [media] sn9c20x: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:21:22PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "work_thread" is involved in JPEG quality update. > It has a single work item(&sd->work) and hence doesn't require ordering. > Also, it is not being used on a memory reclaim path. Hence, the > singlethreaded workq

Re: [PATCH] [media] tc358743: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:11:53PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "work_queues" enables hotplugging. > It has a single work item(&state->delayed_work_enable_hotplug) and hence > doesn't require ordering. Also, it is not being used on a memory > reclaim path. Hence, the singlethr

Re: [PATCH] drm/qxl: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:32:09PM +0530, Bhaktipriya Shridhar wrote: > System workqueues have been able to handle high level of concurrency > for a long time now and there's no reason to use dedicated workqueues > just to gain concurrency. Since the workqueue in the QXL graphics device > driver is

Re: [PATCH] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:33:50PM +0530, Bhaktipriya Shridhar wrote: > alloc_workqueue replaces deprecated create_singlethread_workqueue(). > > A dedicated workqueue has been used since work items need to be flushed > as a group rather than individually. > > Since the flip_queue workqueue is inv

Re: [PATCH 1/2] iio: sun4i-lradc: Add binding documentation

2016-07-02 Thread Maxime Ripard
On Sat, Jul 02, 2016 at 03:32:43PM +0200, Alexandre Belloni wrote: > > > > I believe that the best way to deal with this is to add an > > > > "allwinner,general-purpose-mode" flag to the existing binding > > > > (as well as document general purpose mode in the existing > > > > binding rather then i

Re: [PATCH 1/4] fs: befs: Remove redundant validation from befs_find_brun_direct

2016-07-02 Thread Salah Triki
On Sat, Jul 02, 2016 at 12:38:18PM +0100, Luis de Bethencourt wrote: > On 02/07/16 09:05, Salah Triki wrote: > > The only caller of befs_find_brun_direct is befs_fblock2brun, which > > already validates that the block is within the range of direct blocks. > > So remove the duplicate validation. > >

Re: [PATCH] [media] hdpvr: Remove deprecated create_singlethread_workqueue

2016-07-02 Thread Tejun Heo
On Sat, Jul 02, 2016 at 04:17:31PM +0530, Bhaktipriya Shridhar wrote: > The workqueue "workqueue" is involved in tranmitting hdpvr buffers. > It has a single work item(&dev->worker) and hence doesn't require > ordering. Also, it is not being used on a memory reclaim path. Hence, > the singlethreade

Re: [PATCH 1/4] fs: befs: Remove redundant validation from befs_find_brun_direct

2016-07-02 Thread Luis de Bethencourt
On 02/07/16 14:34, Salah Triki wrote: > On Sat, Jul 02, 2016 at 12:38:18PM +0100, Luis de Bethencourt wrote: >> On 02/07/16 09:05, Salah Triki wrote: >>> The only caller of befs_find_brun_direct is befs_fblock2brun, which >>> already validates that the block is within the range of direct blocks. >>

  1   2   >