Re: [PATCH-v2 1/2] mpt3sas: Refcount sas_device objects and fix unsafe list usage

2015-09-10 Thread Nicholas A. Bellinger
On Wed, 2015-09-09 at 15:03 -0700, Nicholas A. Bellinger wrote: > On Wed, 2015-09-09 at 19:59 +0530, Chaitra Basappa wrote: > > From: Sreekanth Reddy [mailto:sreekanth.re...@avagotech.com] > > Sent: Tuesday, September 08, 2015 5:26 PM > > To: Nicholas A. Bellinger > > Cc: linux-scsi; linux-kernel;

Re: [PATCH v2 4/4] serial: samsung: Fix UART status handling in DMA mode

2015-09-10 Thread Robert Baldyga
On 09/11/2015 08:34 AM, Krzysztof Kozlowski wrote: > On 11.09.2015 15:32, Robert Baldyga wrote: >> On 09/11/2015 08:07 AM, Krzysztof Kozlowski wrote: >>> On 10.09.2015 22:41, Robert Baldyga wrote: This patch fixes UART status handling in DMA mode. >>> >>> I don't see any changes here. You did

[PATCH 7/7] f2fs: fix overflow of size calculation

2015-09-10 Thread Chao Yu
We have potential overflow issue when calculating size of object, when we left shift index with PAGE_CACHE_SHIFT bits, if type of index has only 32-bits space in 32-bit architecture, left shifting will incur overflow, i.e: pgoff_t index = 0x; loff_t size = index << PAGE_CACHE_SHIFT; size:

[PATCH 6/7] f2fs: fix incorrect searching position when shrinking extent cache

2015-09-10 Thread Chao Yu
When shrinking extent cache, we have two steps in the flow: 1) shrink objects which are unreferenced by inodes; 2) shrink objects from LRU list of extent cache. In step 1, if we haven't shrunk enough number of objects, we will try step 2, but before that we didn't update the searching position whi

[PATCH 5/7] f2fs: enhance multithread dio write performance

2015-09-10 Thread Chao Yu
When dio writes perform concurrently, our performace will be low because of Thread A's allocation of multi continuous blocks will be break by Thread B, there are two cases as below: - In Thread B, we may change current segment to a new segment for LFS allocation if we dio write in the beginning

[PATCH 4/7] f2fs: readahead cp payload pages when mount

2015-09-10 Thread Chao Yu
Readahead continuous payload pages in checkpoint area for better performance. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index c5a38e3..7c1b297 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/

[PATCH 3/7] f2fs: verify file type early in f2fs_fallocate

2015-09-10 Thread Chao Yu
This patch changes to verify file type early in f2fs_fallocate for cleanup, meanwhile this also fixes to add missing verification for expand_inode_data. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/fs/f2fs/file.c

[PATCH 2/7] f2fs: do in batches truncation in truncate_hole

2015-09-10 Thread Chao Yu
truncate_data_blocks_range can do in batches truncation which makes all changes in dnode page content, dnode page status, extent cache, block count updating together. But previously, truncate_hole() always truncates one block in dnode page at a time by invoking truncate_data_blocks_range(,1), whic

[PATCH 1/7] f2fs: reorganize f2fs_map_blocks

2015-09-10 Thread Chao Yu
In this patch, we try to reorganize f2fs_map_blocks to make block mapping flow more clear by using following structure: /* check status of mapping */ if (unmapped) { /* blkaddr == NULL_ADDR || blkaddr == NEW_ADDR */ if (create) { /* write path, handle dio write ca

Re: [PATCH v2 1/1] ARM: dts: sun7i: Enable axp209 driver on olinuxino lime2

2015-09-10 Thread Olliver Schinagl
Hey chen, On September 11, 2015 4:57:03 AM CEST, Chen-Yu Tsai wrote: >On Fri, Sep 11, 2015 at 2:13 AM, Maxime Ripard > wrote: >> Hi Oliver, >> >> On Wed, Sep 09, 2015 at 03:26:44PM +0200, Olliver Schinagl wrote: >>> The Olimex OLinuXino Lime2 uses the same AXP209 as was recently >>> introduced th

Re: [PATCH v2 4/4] serial: samsung: Fix UART status handling in DMA mode

2015-09-10 Thread Krzysztof Kozlowski
On 11.09.2015 15:32, Robert Baldyga wrote: > On 09/11/2015 08:07 AM, Krzysztof Kozlowski wrote: >> On 10.09.2015 22:41, Robert Baldyga wrote: >>> This patch fixes UART status handling in DMA mode. >> >> I don't see any changes here. You did not respond to my comment neither. >> >> Code looks itself

Re: [PATCH v2 4/4] serial: samsung: Fix UART status handling in DMA mode

2015-09-10 Thread Robert Baldyga
On 09/11/2015 08:07 AM, Krzysztof Kozlowski wrote: > On 10.09.2015 22:41, Robert Baldyga wrote: >> This patch fixes UART status handling in DMA mode. > > I don't see any changes here. You did not respond to my comment neither. > > Code looks itself good... except a locking issue but I don't know

Re: [PATCH 5/5] virtgpu: mark as a render gpu

2015-09-10 Thread Dave Airlie
On 11 September 2015 at 01:04, Emil Velikov wrote: > On 10 September 2015 at 15:52, Gerd Hoffmann wrote: >> Hi, >> >>> > Dave? Looking at the ioctls they are all fine for render nodes, there >>> > isn't anything modesetting related in the device-specific ioctls. >>> > >>> > Correct? >>> > >>>

Re: [PATCH 2/3] net: irda: pxaficp_ir: convert to readl and writel

2015-09-10 Thread Robert Jarzmik
Petr Cvek writes: >> Should have been posted to linux arm kernel mailing list, unless my mailer >> failed ... >> > Searching for: > > "ARM: pxa: add resources to pxaficp_ir" > > did not found anything, same was for "ficp" in the > linux-arm-kernel/netdev/linux-kernel > mailing list archiv

Re: [PATCH v2] ARM: rockchip: add reboot notifier

2015-09-10 Thread Caesar Wang
在 2015年09月11日 11:40, Andy Yan 写道: Hi Eddie: On 2015年09月11日 10:01, Eddie Cai wrote: Hi Andy 2015-09-10 19:04 GMT+08:00 Andy Yan : rockchip platform have a protocol to pass the kernel reboot mode to bootloader by some special registers when system reboot. By this way the bootloader can take di

Re: [PATCH v2 3/4] serial: samsung: introduce s3c24xx_serial_rx_drain_fifo() function

2015-09-10 Thread Krzysztof Kozlowski
- spin_unlock_irqrestore(&port->lock, flags); > tty_flip_buffer_push(&port->state->port); Here is a difference - previously this was outside of spinlock. I think moving it inside spin lock is okay, just the interrupts won't be disabled before unlock and queue_wor

Re: [PATCH v2 4/4] serial: samsung: Fix UART status handling in DMA mode

2015-09-10 Thread Krzysztof Kozlowski
On 10.09.2015 22:41, Robert Baldyga wrote: > This patch fixes UART status handling in DMA mode. I don't see any changes here. You did not respond to my comment neither. Code looks itself good... except a locking issue but I don't know what's the cause. It may be not related to the patchset and ma

[PATCH v2 01/16] Staging: speakup: varhandlers.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- Considering cases with != NULL also drivers/staging/speakup/varhandlers.c | 18 +

[PATCH v2 02/16] Staging: speakup: devsynth.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change drivers/staging/speakup/devsynth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[PATCH v2 04/16] Staging: speakup: kobjects.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change drivers/staging/speakup/kobjects.c | 16 1 file changed, 8 insertions

[PATCH v2 03/16] Staging: speakup: serialio.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change drivers/staging/speakup/serialio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[PATCH 1/2] dma: Add Freescale qDMA engine driver support

2015-09-10 Thread Yuan Yao
Add Freescale Queue Direct Memory Access(qDMA) controller support. This module can be found on LS-1 and LS-2 SoCs. This add the legacy mode support for qDMA. Signed-off-by: Yuan Yao --- Documentation/devicetree/bindings/dma/fsl-qdma.txt | 43 ++ MAINTAINERS

[PATCH 2/2] dma: dts: Add Freescale qDMA engine driver support

2015-09-10 Thread Yuan Yao
Add Freescale Queue Direct Memory Access(qDMA) controller support. This module can be found on LS-1 and LS-2 SoCs. This add the legacy mode support for qDMA. Signed-off-by: Yuan Yao --- arch/arm/boot/dts/ls1021a.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/

Re: [PATCH v2 2/4] serial: samsung: remove unneded 'ignore_char' label

2015-09-10 Thread Krzysztof Kozlowski
On 10.09.2015 22:41, Robert Baldyga wrote: > This label does nothing special and we don't need to have it anymore. > > Signed-off-by: Robert Baldyga > --- > drivers/tty/serial/samsung.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > Reviewed-by: Krzysztof Kozlowski Best reg

Re: [PATCH 2/2] [media] media-device: split media initialization and registration

2015-09-10 Thread Sakari Ailus
Hi Javier, Javier Martinez Canillas wrote: Hello Sakari, On 09/10/2015 07:14 PM, Sakari Ailus wrote: Hi Javier, Thanks for the set! A few comments below. Thanks to you for your feedback. Javier Martinez Canillas wrote: The media device node is registered and so made visible to user-spac

Re: [RFC 3/5] acpi/serial: add DBG2 earlycon support

2015-09-10 Thread Rob Herring
On Tue, Sep 8, 2015 at 12:03 PM, Leif Lindholm wrote: > On Tue, Sep 08, 2015 at 02:09:51PM +0100, Mark Rutland wrote: >> On Tue, Sep 08, 2015 at 01:43:35PM +0100, Leif Lindholm wrote: >> > The ACPI DBG2 table defines a debug console. Add support for parsing it >> > and using it to select earlycon

[PATCH v2 09/16] Staging: lustre: obdclass: obd_config.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change .../staging/lustre/lustre/obdclass/obd_config.c| 30 +++--- 1 file

[PATCH v2 10/16] Staging: lustre: obdclass: genops.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Changes in v2- Considering cases with != NULL also drivers/staging/lustre/lustre/obdclass/genops.c | 54 ++

[PATCH v2 08/16] Staging: lustre: libcfs: libcfs_mem.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change drivers/staging/lustre/lustre/libcfs/libcfs_mem.c | 10 +- 1 file changed, 5 i

[PATCH v2 07/16] Staging: lustre: libcfs: libcfs_lock.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change drivers/staging/lustre/lustre/libcfs/libcfs_lock.c | 6 +++--- 1 file changed, 3 inser

RE: [PATCH] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-10 Thread Yuantian Tang
Hi Tejun, Could you please take the version 1 patch? The version 2 patch can't address these warnings, and the version 1 can definitely remove them. In this case, that would cause any hidden bugs, so no worries. Regards, Yuantian > -Original Message- > From: Tejun Heo [mailto:hte...@gma

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-09-10 Thread iSayor
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2652697913给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line "unsubs

[PATCH v2 11/16] Staging: rtl8188eu: hal: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH v2 16/16] Staging: rtl8188eu: os_dep: osdep_service.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change drivers/staging/rtl8188eu/os_dep/osdep_service.c | 2 +- 1 file changed, 1 insertion(+

[PATCH v2 14/16] Staging: rtl8188eu: os_dep: recv_linux.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change drivers/staging/rtl8188eu/os_dep/recv_linux.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH v2 15/16] Staging: rtl8188eu: os_dep: mlme_linux.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No changes drivers/staging/rtl8188eu/os_dep/mlme_linux.c | 4 ++-- 1 file changed, 2 insertions(

[PATCH v2 13/16] Staging: rtl8188eu: hal: rtl8188eu_xmit.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Changes in v2- No change drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 2 +- 1 file changed, 1 insertion(+)

[PATCH v2 05/16] Staging: rtl8188eu: core: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Changes in v2- No change drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 6 +++--- 1 file changed, 3 insertions

[PATCH v2 06/16] Staging: rtl8188eu: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change. drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 4 ++-- 1 file changed, 2 insertions(

[PATCH v2 12/16] Staging: rtl8188eu: hal: Hal8188ERateAdaptive.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- Change in v2- No change drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 14 +++--- 1 file chang

Re: [PATCH] ARM: exynos_defconfig: Disable simplefb support

2015-09-10 Thread Krzysztof Kozlowski
On 10.09.2015 22:42, Javier Martinez Canillas wrote: > The simplefb driver allows the kernel to render on a pre-allocated > buffer that's been initialized by firmware before the kernel boots. > > This option was enabled to have display working on the Exynos5250 > Snow Chromebook by commit da9d0fbf

[PATCH] perf tools: Fix segfault in 'perf top'

2015-09-10 Thread Wang Nan
'perf top' segfaults with following operation: # perf top -e page-faults -p 15173 # 15173 never generate page-fault Then on the resulting empty interface, press right key: # ./perf top -e page-faults -p 11400 perf: Segmentation fault backtrace ./perf[0x535428] /lib64/libc

linux-next: Tree for Sep 11

2015-09-10 Thread Stephen Rothwell
Hi all, Please do not add material for v4.4 until after v4.3-rc1 is out. Changes since 20150910: I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The kvm tree lost its build failure. Non-merge commits (relative to Linus' tree):

Re: [PATCH] PM / devfreq: Fix incorrect type issue.

2015-09-10 Thread MyungJoo Ham
> time_in_state in struct devfreq is defined as unsigned long, so > devm_kzalloc should use sizeof(unsigned long) as argument instead > of sizeof(unsigned int), otherwise it will cause unexpected result > in 64bit system. > > Signed-off-by: Xiaolong Ye > Signed-off-by: Kevin Liu Thanks! Sig

Re: [PATCH 0/7] devcg: device cgroup extension for rdma resource

2015-09-10 Thread Parav Pandit
On Fri, Sep 11, 2015 at 9:34 AM, Tejun Heo wrote: > Hello, Parav. > > On Fri, Sep 11, 2015 at 09:09:58AM +0530, Parav Pandit wrote: >> The fact is that user level application uses hardware resources. >> Verbs layer is software abstraction for it. Drivers are hiding how >> they implement this QP or

Re: [PATCH] xhci: create one unified function to calculate TRB TD remainder.

2015-09-10 Thread chunfeng yun
Hi, It works ok when I add MTK's quirk into xhci_td_remainder(), and test it by usb camera, udisk, usb ethernet adapter, and hub. On Tue, 2015-09-08 at 14:09 +0300, Mathias Nyman wrote: > xhci versions 1.0 and later report the untransferred data remaining in a > TD a bit differently than older h

Re: [PATCH 0/7] devcg: device cgroup extension for rdma resource

2015-09-10 Thread Doug Ledford
On 09/11/2015 12:04 AM, Tejun Heo wrote: > Hello, Parav. > > On Fri, Sep 11, 2015 at 09:09:58AM +0530, Parav Pandit wrote: >> The fact is that user level application uses hardware resources. >> Verbs layer is software abstraction for it. Drivers are hiding how >> they implement this QP or CQ or wh

Re: [PATCH] cpufreq: imx: update the clock swith flow to support imx6ul

2015-09-10 Thread Viresh Kumar
On 11-09-15, 19:23, Bai Ping wrote: > @@ -331,6 +365,10 @@ put_clk: > clk_put(step_clk); > if (!IS_ERR(pll2_pfd2_396m_clk)) > clk_put(pll2_pfd2_396m_clk); > + if (!IS_ERR(pll2_bus_clk)) > + clk_put(pll2_bus_clk); > + if (!IS_ERR(secondary_sel_cl

Re: [PATCH] xhci: create one unified function to calculate TRB TD remainder.

2015-09-10 Thread chunfeng yun
Hi, On Tue, 2015-09-08 at 14:09 +0300, Mathias Nyman wrote: > xhci versions 1.0 and later report the untransferred data remaining in a > TD a bit differently than older hosts. > > We used to have separate functions for these, and needed to check host > version before calling the right function. >

[PATCH] clockevents: Kill (unused) set_mode() callbacks

2015-09-10 Thread Viresh Kumar
All the users are migrated to the per-state callbacks, get rid of the unused interface. Signed-off-by: Viresh Kumar --- Hi Thomas, This applies on top of linus/master, to which all my pending set-state patches are applied now. -- viresh include/linux/clockchips.h | 29 +---

Re: [PATCH 0/7] devcg: device cgroup extension for rdma resource

2015-09-10 Thread Tejun Heo
Hello, Parav. On Fri, Sep 11, 2015 at 09:09:58AM +0530, Parav Pandit wrote: > The fact is that user level application uses hardware resources. > Verbs layer is software abstraction for it. Drivers are hiding how > they implement this QP or CQ or whatever hardware resource they > project via API la

Re: [PATCH 0/7] devcg: device cgroup extension for rdma resource

2015-09-10 Thread Parav Pandit
On Fri, Sep 11, 2015 at 1:52 AM, Tejun Heo wrote: > Hello, Parav. > > On Thu, Sep 10, 2015 at 11:16:49PM +0530, Parav Pandit wrote: >> >> These resources include are- QP (queue pair) to transfer data, CQ >> >> (Completion queue) to indicate completion of data transfer operation, >> >> MR (memory

Re: [PATCH v2] ARM: rockchip: add reboot notifier

2015-09-10 Thread Andy Yan
Hi Eddie: On 2015年09月11日 10:01, Eddie Cai wrote: Hi Andy 2015-09-10 19:04 GMT+08:00 Andy Yan : rockchip platform have a protocol to pass the kernel reboot mode to bootloader by some special registers when system reboot. By this way the bootloader can take different action according to the diff

Re: [PATCH v7 2/5] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-09-10 Thread chunfeng yun
On Tue, 2015-09-08 at 19:30 -0500, Rob Herring wrote: > On 09/08/2015 01:18 AM, Chunfeng Yun wrote: > > add a DT binding documentation of xHCI host controller for the > > MT8173 SoC from Mediatek. > > > > Signed-off-by: Chunfeng Yun > > --- > > .../devicetree/bindings/usb/mt8173-xhci.txt

Re: [PATCH v7 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-09-10 Thread chunfeng yun
Hi, On Tue, 2015-09-08 at 19:16 -0500, Rob Herring wrote: > On 09/08/2015 01:17 AM, Chunfeng Yun wrote: > > add a DT binding documentation of usb3.0 phy for MT65xx > > SoCs from Mediatek. > > > > Signed-off-by: Chunfeng Yun > > One comment, otherwise: > > Acked-by: Rob Herring > > > --- > >

Re: [PATCH v2] ahci: qoriq: fixed using uninitialized variable warnings

2015-09-10 Thread Fengguang Wu
Hi Tejun, Yuantian, On Thu, Sep 10, 2015 at 10:22:14AM -0400, Tejun Heo wrote: > (cc'ing Fengguang, hi!) > > Fengguang, this is about kbuild test robot warning titled > "drivers/ata/ahci_qoriq.c:70:6: warning: 'px_cmd' may be used > uninitialized in this function". Yuantian can't reproduce the w

Re: [PATCH v2] Input: edt-ft5x06 - Switch to newer gpio framework

2015-09-10 Thread Franklin S Cooper Jr.
ping On 08/31/2015 06:25 PM, Franklin S Cooper Jr wrote: > The current/old gpio framework used doesn't properly listen to > ACTIVE_LOW and ACTIVE_HIGH flags. The newer gpio framework takes into > account these flags when setting gpio values. > > Since the values being outputed were base on voltage

[PATCH] cpufreq: imx: update the clock swith flow to support imx6ul

2015-09-10 Thread Bai Ping
For I.MX6UL, the clock change flow is slightly different from other I.MX6 SOCs. It has a 'secondary_sel' clk that will be used when the CPU freq is higher than 396MHz. So the clock change flow in 'set_target' callback need to update to support i.MX6UL in the common I.MX6 SOC cpufreq driver. Signed

[PATCH V4 2/4] kvm: fix double free for fast mmio eventfd

2015-09-10 Thread Jason Wang
We register wildcard mmio eventfd on two buses, one for KVM_MMIO_BUS and another is KVM_FAST_MMIO_BUS but with a single iodev instance. This will lead an issue: kvm_io_bus_destroy() knows nothing about the devices on two buses points to a single dev. Which will lead double free[1] during exit. Fixi

[PATCH V4 4/4] kvm: add tracepoint for fast mmio

2015-09-10 Thread Jason Wang
Cc: Gleb Natapov Cc: Paolo Bonzini Signed-off-by: Jason Wang --- arch/x86/kvm/trace.h | 18 ++ arch/x86/kvm/vmx.c | 1 + arch/x86/kvm/x86.c | 1 + 3 files changed, 20 insertions(+) diff --git a/arch/x86/kvm/trace.h b/arch/x86/kvm/trace.h index 4eae7c3..ce4abe3 100644 ---

[PATCH V4 0/4] Fast MMIO eventfd fixes

2015-09-10 Thread Jason Wang
Hi: This series fixes two issues of fast mmio eventfd: 1) A single iodev instance were registerd on two buses: KVM_MMIO_BUS and KVM_FAST_MMIO_BUS. This will cause double in ioeventfd_destructor() 2) A zero length iodev on KVM_MMIO_BUS will never be found but kvm_io_bus_cmp(). This will l

[PATCH V4 1/4] kvm: factor out core eventfd assign/deassign logic

2015-09-10 Thread Jason Wang
This patch factors out core eventfd assign/deassign logic and leave the argument checking and bus index selection to callers. Cc: Gleb Natapov Cc: Paolo Bonzini Signed-off-by: Jason Wang --- virt/kvm/eventfd.c | 83 -- 1 file changed, 49 inse

[PATCH V4 3/4] kvm: fix zero length mmio searching

2015-09-10 Thread Jason Wang
Currently, if we had a zero length mmio eventfd assigned on KVM_MMIO_BUS. It will never found by kvm_io_bus_cmp() since it always compare the kvm_io_range() with the length that guest wrote. This will lead e.g for vhost, kick will be trapped by qemu userspace instead of vhost. Fixing this by using

[PATCH] fix incorrect initialization code for trans_stat of devfreq

2015-09-10 Thread Xiaolong Ye
Hi, I met trans_stat abnormal issue while debugging devfreq feature for ddr in arm64 system, cat trans_stat would get extremely large time value which is unreasonable, I checked the code and found it was caused by incorrect initialization code, time_in_state is initialized by devm_kzalloc and

[PATCH] PM / devfreq: Fix incorrect type issue.

2015-09-10 Thread Xiaolong Ye
time_in_state in struct devfreq is defined as unsigned long, so devm_kzalloc should use sizeof(unsigned long) as argument instead of sizeof(unsigned int), otherwise it will cause unexpected result in 64bit system. Signed-off-by: Xiaolong Ye Signed-off-by: Kevin Liu --- drivers/devfreq/devfreq.c

Re: [PATCH v4 07/13] usb: otg: add OTG core

2015-09-10 Thread Peter Chen
On Thu, Sep 10, 2015 at 05:17:36PM +0300, Roger Quadros wrote: > On 10/09/15 08:35, Peter Chen wrote: > > On Wed, Sep 09, 2015 at 01:21:50PM +0300, Roger Quadros wrote: > >> On 09/09/15 11:45, Peter Chen wrote: > >>> On Wed, Sep 09, 2015 at 12:33:20PM +0300, Roger Quadros wrote: > On 09/09/15

Re: [PATCH v2 1/1] ARM: dts: sun7i: Enable axp209 driver on olinuxino lime2

2015-09-10 Thread Chen-Yu Tsai
On Fri, Sep 11, 2015 at 2:13 AM, Maxime Ripard wrote: > Hi Oliver, > > On Wed, Sep 09, 2015 at 03:26:44PM +0200, Olliver Schinagl wrote: >> The Olimex OLinuXino Lime2 uses the same AXP209 as was recently >> introduced this driver for its power regulation. >> >> Signed-off-by: Olliver Schinagl >>

[GIT PULL] Thermal management updates for v4.3-rc1

2015-09-10 Thread Zhang Rui
Hi, Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for 4.3-rc1 with top-most commit 5a924a07f882e866f2337bf65048be357956691a: Merge branches 'thermal-core' and 'thermal-intel' of .git into next (201

Re: [PATCH 10/16] Staging: lustre: obdclass: genops.c: Remove explicit NULL comparison

2015-09-10 Thread Joe Perches
On Fri, 2015-09-11 at 07:34 +0530, Shraddha Barke wrote: > Remove explicit NULL comparison and write it in its simpler form. > Replacement done with coccinelle: Hi Shraddha. If you are going to do these conversions, please also do the equivalent != NULL conversions: - e != NULL + e > diff --git

Re: v2 of seccomp filter c/r patches

2015-09-10 Thread Alexei Starovoitov
On Thu, Sep 10, 2015 at 06:20:57PM -0600, Tycho Andersen wrote: > Hi all, > > Here is v2 of the seccomp filter c/r set. The patch notes have individual > changes from the last series, but there are two points not noted: > > * The series still does not allow us to correctly restore state for progr

Re: [PATCH v7 5/8] Watchdog: introduce ARM SBSA watchdog driver

2015-09-10 Thread Guenter Roeck
On 09/10/2015 03:29 PM, Jon Masters wrote: On 08/24/2015 01:01 PM, fu@linaro.org wrote: + /* +* Get the frequency of system counter from the cp15 interface of ARM +* Generic timer. We don't need to check it, because if it returns "0", +* system would panic in v

Its me Michela

2015-09-10 Thread Michela Peterson
-- Hello dear, My name is Michela, i am 26yrs old, i'm a free minded,open hearted girl, i like to take life as easy as i could, i'm one of the few that still believes in friendship, love, trust and signs, am very much single and ready to mingle. was browsing through your page, i like to be y

Re: Chipidea ULPI driver

2015-09-10 Thread Peter Chen
On Thu, Sep 10, 2015 at 02:57:49PM +, Punnaiah Choudary Kalluri wrote: > > > > -Original Message- > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Thursday, September 10, 2015 8:14 PM > > To: Subbaraya Sundeep Bhatta > > Cc: Peter Chen; ba...@ti.com; linux-...@vger.kernel.org; l

Re: [PATCH v2 3/5] ebpf: add a way to dump an eBPF program

2015-09-10 Thread Alexei Starovoitov
On Thu, Sep 10, 2015 at 06:21:00PM -0600, Tycho Andersen wrote: > +static int bpf_prog_dump(union bpf_attr *attr, union bpf_attr __user *uattr) > +{ > + int ufd = attr->prog_fd; > + struct fd f = fdget(ufd); > + struct bpf_prog *prog; > + int ret = -EINVAL; > + > + prog = get_pr

[PATCH 2/2] regulator: da9063: Remove unneeded semicolon

2015-09-10 Thread Javier Martinez Canillas
It's clearly a typo error that just creates a null statement so remove it. Signed-off-by: Javier Martinez Canillas --- drivers/regulator/da9063-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/da9063-regulator.c b/drivers/regulator/da9063-regul

[PATCH 1/2] regulator: bcm590xx: Remove unneeded semicolon

2015-09-10 Thread Javier Martinez Canillas
It's clearly a typo error that just creates a null statement so remove it. Signed-off-by: Javier Martinez Canillas --- drivers/regulator/bcm590xx-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/bcm590xx-regulator.c b/drivers/regulator/bcm590xx-

RE: [PATCH V7 1/3] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-09-10 Thread Zhao Qiang
On Fri, 2015-09-11 at 10:15AM -0500, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 11, 2015 10:15 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061; b..

Re: [PATCH V7 2/3] qe_common: add qe_muram_ functions to manage muram

2015-09-10 Thread Scott Wood
On Thu, 2015-09-10 at 20:59 -0500, Zhao Qiang-B45475 wrote: > On Mon, 2015-09-11 at 06:09 -0500, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, September 11, 2015 6:09 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org; linuxppc-

Re: [rcu] kernel BUG at include/linux/pagemap.h:149!

2015-09-10 Thread Boqun Feng
Hi Paul On Thu, Sep 10, 2015 at 10:16:49AM -0700, Paul E. McKenney wrote: > On Thu, Sep 10, 2015 at 06:25:13PM +0800, Boqun Feng wrote: [snip] > > > > Code here is: > > > > #ifdef CONFIG_TINY_RCU > > # ifdef CONFIG_PREEMPT_COUNT > > VM_BUG_ON(!in_atomic()); <-- BUG triggered here. > > # endi

Re: [PATCH V7 1/3] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-09-10 Thread Scott Wood
On Thu, 2015-09-10 at 21:09 -0500, Zhao Qiang-B45475 wrote: > On Fri, 2015-09-11 at 06:07AM -0500, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, September 11, 2015 6:07 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org; linuxpp

[PATCH 06/16] Staging: rtl8188eu: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --g

[PATCH 14/16] Staging: rtl8188eu: os_dep: recv_linux.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/rtl8188eu/os_dep/recv_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 16/16] Staging: rtl8188eu: os_dep: osdep_service.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/rtl8188eu/os_dep/osdep_service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH 12/16] Staging: rtl8188eu: hal: Hal8188ERateAdaptive.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/rtl8188eu/hal/Hal8188ERateAdaptive.c | 14 +++--- 1 file changed, 7 insertions(+), 7 del

[PATCH 15/16] Staging: rtl8188eu: os_dep: mlme_linux.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/rtl8188eu/os_dep/mlme_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

RE: [PATCH V7 1/3] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-09-10 Thread Zhao Qiang
On Fri, 2015-09-11 at 06:07AM -0500, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 11, 2015 6:07 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061; b...

[PATCH 13/16] Staging: rtl8188eu: hal: rtl8188eu_xmit.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 05/16] Staging: rtl8188eu: core: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff -

[PATCH 11/16] Staging: rtl8188eu: hal: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v7 5/8] Watchdog: introduce ARM SBSA watchdog driver

2015-09-10 Thread Guenter Roeck
On Thu, Sep 10, 2015 at 06:29:53PM -0400, Jon Masters wrote: > On 08/24/2015 01:01 PM, fu@linaro.org wrote: > > > + /* > > +* Get the frequency of system counter from the cp15 interface of ARM > > +* Generic timer. We don't need to check it, because if it returns "0", > > +* syst

[PATCH] kasan: use IS_ALIGNED in memory_is_poisoned_8()

2015-09-10 Thread Xishi Qiu
Use IS_ALIGNED() to determine whether the shadow span two bytes. It generates less code and more readable. Signed-off-by: Xishi Qiu --- mm/kasan/kasan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kasan/kasan.c b/mm/kasan/kasan.c index 7b28e9c..c6ddff1 100644 --- a/mm/

[PATCH 09/16] Staging: lustre: obdclass: obd_config.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- .../staging/lustre/lustre/obdclass/obd_config.c| 30 +++--- 1 file changed, 15 insertions(+)

[PATCH 10/16] Staging: lustre: obdclass: genops.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/lustre/lustre/obdclass/genops.c | 52 - 1 file changed, 26 insertions(+)

[PATCH 07/16] Staging: lustre: libcfs: libcfs_lock.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/lustre/lustre/libcfs/libcfs_lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 08/16] Staging: lustre: libcfs: libcfs_mem.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/lustre/lustre/libcfs/libcfs_mem.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(

Re: [PATCH v2] ARM: rockchip: add reboot notifier

2015-09-10 Thread Eddie Cai
Hi Andy 2015-09-10 19:04 GMT+08:00 Andy Yan : > rockchip platform have a protocol to pass the kernel reboot > mode to bootloader by some special registers when system reboot. > By this way the bootloader can take different action according > to the different kernel reboot mode, for example, comman

RE: [PATCH V7 2/3] qe_common: add qe_muram_ functions to manage muram

2015-09-10 Thread Zhao Qiang
On Mon, 2015-09-11 at 06:09 -0500, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 11, 2015 6:09 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061; b...@k

[PATCH 03/16] Staging: speakup: serialio.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/speakup/serialio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

[PATCH 04/16] Staging: speakup: kobjects.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/speakup/kobjects.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[PATCH 02/16] Staging: speakup: devsynth.c: Remove explicit NULL comparison

2015-09-10 Thread Shraddha Barke
Remove explicit NULL comparison and write it in its simpler form. Replacement done with coccinelle: @replace_rule@ expression e; @@ -e == NULL + !e Signed-off-by: Shraddha Barke --- drivers/staging/speakup/devsynth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drive

  1   2   3   4   5   6   7   >