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

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

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

[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

[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

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

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

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

[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

[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

[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

[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

[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

[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

[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

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

[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]

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): 1012

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!

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

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

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

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

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

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

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

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

[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.

[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.

[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

[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

[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 ---

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

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

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

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

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

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;

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 =

[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

[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

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;

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;

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. > > #

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;

[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

[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

[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

[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;

[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

[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

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", > > +*

[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 ---

[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

[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

[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

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,

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;

[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

[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

[PATCH 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 --- drivers/staging/speakup/varhandlers.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

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

2015-09-10 Thread Petr Cvek
Dne 10.9.2015 v 13:14 Robert Jarzmik napsal(a): > Petr Cvek writes: > >> Dne 9.9.2015 v 08:25 Robert Jarzmik napsal(a): >>> Petr Cvek writes: >>> Dne 8.9.2015 v 22:24 Petr Cvek napsal(a): > > Did you defined resources somewhere? Actual resources are in > "pxa_ir_resources"

[PATCH] f2fs crypto: allocate buffer for decrypting filename

2015-09-10 Thread Jaegeuk Kim
We got dentry pages from high_mem, and its address space directly goes into the decryption path via f2fs_fname_disk_to_usr. But, sg_init_one assumes the address is not from high_mem, so we can get this panic since it doesn't call kmap_high but kunmap_high is triggered at the end. kernel BUG at

[PATCH] Input: snvs_pwrkey - remove duplicated semicolon

2015-09-10 Thread Javier Martinez Canillas
Remove the unneded semicolon since it is clearly a typo error. Signed-off-by: Javier Martinez Canillas --- drivers/input/keyboard/snvs_pwrkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/snvs_pwrkey.c b/drivers/input/keyboard/snvs_pwrkey.c

Re: [PATCH v2] powerpc32: memcpy/memset: only use dcbz once cache is enabled

2015-09-10 Thread Michael Ellerman
On Thu, 2015-09-10 at 17:05 -0500, Scott Wood wrote: > On Thu, 2015-09-10 at 08:41 +0200, Christophe Leroy wrote: > > > > +/* Cache related sections */ > > +#define BEGIN_CACHE_SECTION_NESTED(label)START_FTR_SECTION(label) > > +#define BEGIN_CACHE_SECTION

Re: [PATCH] lib/string_helpers.c: fix infinite loop in string_get_size()

2015-09-10 Thread James Bottomley
On Fri, 2015-09-04 at 14:56 +0200, Vitaly Kuznetsov wrote: > string_get_size(1, 512, 0, ..., ...) call results in an infinite loop. The > problem is that if size == 0 when we start calculating sf_cap this loop > will never end. > > The caller causing the issue is sd_read_capacity(), the problem

Re: [PATCH 08/18] [media] s5c73m3: Export OF module alias information

2015-09-10 Thread Javier Martinez Canillas
Hello, On 08/20/2015 09:07 AM, Javier Martinez Canillas wrote: > The SPI core always reports the MODALIAS uevent as "spi:" > regardless of the mechanism that was used to register the device > (i.e: OF or board code) and the table that is used later to match > the driver with the device (i.e: SPI

[PATCH v3 0/1] USB DWC2 parity fix in isochronous mode

2015-09-10 Thread Scott Branden
This patch contains a fix for a real world interop problem found when using the Synopsis DWC2 USB controller with isochronous audio as detailed in the commit message. Changes from v2: - created s2c_hsotg_chage_ep_iso_parity function to call function in 3 places in code - used hsotg->num_of_eps

[PATCH v3 1/1] usb: dwc2: gadget: parity fix in isochronous mode

2015-09-10 Thread Scott Branden
From: Roman Bacik USB OTG driver in isochronous mode has to set the parity of the receiving microframe. The parity is set to even by default. This causes problems for an audio gadget, if the host starts transmitting on odd microframes. This fix uses Incomplete Periodic Transfer interrupt to

Re: [PATCH 3/3] net/udevns: Netlink module to forward uevent to containers

2015-09-10 Thread Eric W. Biederman
"Michael J. Coss" writes: > New generic netlink module to provide an interface with the new > forwarding interface for uevent. The driver allows a user to > direct a uevent as read from the kernel to a specific network > namespace by providing the uevent message, and a target process id. > The

Re: [PATCH 2/3] lib/kobject_uevent.c: add uevent forwarding function

2015-09-10 Thread Eric W. Biederman
"Michael J. Coss" writes: > Adds capability to allow userspace programs to forward a given event to > a specific network namespace as determined by the provided pid. In > addition, support for a per-namespace kobject_sequence counter was > added. Sysfs was modified to return the correct event

Re: [PATCH] power: bq24261_charger: Add support for TI BQ24261 charger

2015-09-10 Thread Krzysztof Kozlowski
On 11.09.2015 01:42, Andrew F. Davis wrote: > On 09/09/2015 06:47 PM, Krzysztof Kozlowski wrote: > +- ti,enable-user-write: boolean, if present driver will allow the > user space > +to control the charging current and voltage through sysfs; This is not DT property. It

Re: [PATCH 3/3] ibmvsci: Allow to configure maximum LUN

2015-09-10 Thread David Gibson
On Thu, 10 Sep 2015 11:23:14 +0200 Laurent Vivier wrote: > QEMU allows until 32 LUNs. > > Signed-off-by: Laurent Vivier Reviewed-by: David Gibson > --- > drivers/scsi/ibmvscsi/ibmvscsi.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH 2/3] ibmvcsci: display default value for max_id, max_lun and max_channel.

2015-09-10 Thread David Gibson
On Thu, 10 Sep 2015 11:23:13 +0200 Laurent Vivier wrote: > As devices with values greater than that are silently ignored, > this gives some hints to the sys admin to know why he doesn't see > his devices... > > Signed-off-by: Laurent Vivier Reviewed-by: David Gibson > --- >

Re: [PATCH 1/3] ibmvsci: make parameters max_id and max_channel read-only

2015-09-10 Thread David Gibson
On Thu, 10 Sep 2015 11:23:12 +0200 Laurent Vivier wrote: > The value of the parameter is never re-read by the driver, > so a new value is ignored. Let know the user he > can't modify it by removing writable attribute. > > Signed-off-by: Laurent Vivier Reviewed-by: David Gibson > --- > I

Re: [PATCH 1/3] lib/kobject_uevent.c: disable broadcast of uevents to other namespaces

2015-09-10 Thread Eric W. Biederman
"Michael J. Coss" writes: > Restrict sending uevents to only those listeners operating in the same > network namespace as the system init process. This is the first step > toward allowing policy control of the forwarding of events to other > namespaces in userspace. This limitation whould be

RE: [PATCH] ARM: at91/dt: sama5d3 xplained: disable pmic

2015-09-10 Thread Yang, Wenyou
> -Original Message- > From: Nicolas Ferre [mailto:nicolas.fe...@atmel.com] > Sent: 2015年9月10日 22:59 > To: Yang, Wenyou; Alexandre Belloni; Jean-Christophe PLAGNIOL-VILLARD > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Ferre, > Nicolas > Subject: [PATCH] ARM:

Re: mmotm 2015-09-10-16-30 uploaded

2015-09-10 Thread Stephen Rothwell
Hi Andrew, On Thu, 10 Sep 2015 16:30:54 -0700 a...@linux-foundation.org wrote: > > sys_membarrier-system-wide-memory-barrier-generic-x86.patch Because that patch is not in the set for -next ... > * mm-mlock-add-new-mlock-system-call.patch This did not apply properly. I ended up with: diff

[PATCH v2 1/5] ebpf: add a seccomp program type

2015-09-10 Thread Tycho Andersen
seccomp uses eBPF as its underlying storage and execution format, and eBPF has features that seccomp would like to make use of in the future. This patch adds a formal seccomp type to the eBPF verifier. The current implementation of the seccomp eBPF type is very limited, and doesn't support some

[PATCH v2 2/5] seccomp: make underlying bpf ref counted as well

2015-09-10 Thread Tycho Andersen
In the next patch, we're going to add a way to access the underlying filters via bpf fds. This means that we need to ref-count both the struct seccomp_filter objects and the struct bpf_prog objects separately, in case a process dies but a filter is still referred to by another process.

[PATCH v2 5/5] seccomp: add a way to attach a filter via eBPF fd

2015-09-10 Thread Tycho Andersen
This is the final bit needed to support seccomp filters created via the bpf syscall. The patch adds a new seccomp operation SECCOMP_MODE_FILTER_EBPF, which takes exactly one command (presumably to be expanded upon later when seccomp EBPFs support more interesting things) and an argument struct

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

2015-09-10 Thread Tycho Andersen
This commit adds a way to dump eBPF programs. The initial implementation doesn't support maps, and therefore only allows dumping seccomp ebpf programs which themselves don't currently support maps. v2: don't export a prog_id for the filter Signed-off-by: Tycho Andersen CC: Kees Cook CC: Will

[PATCH v2 4/5] seccomp: add a way to access filters via bpf fds

2015-09-10 Thread Tycho Andersen
This patch adds a way for a process that is "real root" to access the seccomp filters of another process. The process first does a PTRACE_SECCOMP_GET_FILTER_FD to get an fd with that process' seccomp filter attached, and then iterates on this with PTRACE_SECCOMP_NEXT_FILTER using

  1   2   3   4   5   6   7   8   9   10   >