Re: [PATCH v3 05/10] thermal: rockchip: Add the sort flag for adc value increment or decrement

2015-11-08 Thread kbuild test robot
Hi Caesar, [auto build test WARNING on: soc-thermal/next] [also build test WARNING on: next-20151106] [cannot apply to: rockchip/for-next v4.3] url: https://github.com/0day-ci/linux/commits/Caesar-Wang/Better-compatible-for-the-rockchip-thermal-and-support-RK3368-SoCs/20151108-173308 base

Re: [PATCH v2 0/6] ARM: dts: Use correct CD properties for SDIO and eMMC in Snow and Peach

2015-11-08 Thread Javier Martinez Canillas
Hello Kukjin, On 10/19/2015 12:04 AM, Alim Akhtar wrote: > Hi Javier, > > On 10/15/2015 10:21 PM, Javier Martinez Canillas wrote: >> Hello, >> >> The Exynos Chromebooks DTS don't use the correct card detection properties >> since these were carried from the vendor tree that had a reason to do

Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: [KERNEL] Re: Kernel 4.3 breaks security in systems using capabilities

2015-11-08 Thread Serge E. Hallyn
On Sat, Nov 07, 2015 at 12:02:47PM +0100, Klaus Ethgen wrote: > Hi Guys, > > Am Fr den 6. Nov 2015 um 19:18 schrieb Serge E. Hallyn: > > I would have been happy if there had been a default-off PR_ENABLE_AMBIENT > > prctl which required a new CAP_ENABLE_AMBIENT capability to turn on, but > > the

kernel-doc: Fix stripping of #define in enums

2015-11-08 Thread conchur
From: Conchúr Navid The regex to strip single line #define's in enumerations depends on the fact that the defines are still stored on separate lines. But the surrounding code already removed newlines and replaced them with semicolons. For example a simple input like /**

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-11-08 Thread Michael S. Tsirkin
On Thu, Oct 29, 2015 at 05:18:56PM +0100, David Woodhouse wrote: > On Thu, 2015-10-29 at 11:01 +0200, Michael S. Tsirkin wrote: > > > > Example: you have a mix of assigned devices and virtio devices. You > > don't trust your assigned device vendor not to corrupt your memory so > > you want to

Re: GSO with udp_tunnel_xmit_skb

2015-11-08 Thread Jason A. Donenfeld
Hi Maciej, On Sun, Nov 8, 2015 at 12:40 AM, Maciej Żenczykowski wrote: > This isn't particularly efficient. This is basically equivalent to doing > GSO before the superpacket reaches your driver (you might get some > savings by not bothering to look at the packet headers

Re: [RFC PATCH 00/28] Linux Kernel Library

2015-11-08 Thread Hajime Tazaki
Hello Octavian, At Tue, 3 Nov 2015 22:20:31 +0200, Octavian Purdila wrote: > > > Q: How is LKL different from LibOS? > A: LibOS re-implements high-level kernel APIs for timers, softirqs, > scheduling, sysctl, SLAB/SLUB, etc. LKL behaves like any arch port, > implementing the arch level

Re: [PATCH] tty: audit: Fix audit source

2015-11-08 Thread Peter Hurley
On 11/08/2015 08:01 AM, kbuild test robot wrote: > Hi Peter, > > [auto build test WARNING on: v4.3-rc7] > [also build test WARNING on: next-20151106] > > url: > https://github.com/0day-ci/linux/commits/Peter-Hurley/tty-audit-Fix-audit-source/20151108-205330 > config

[PATCH 3/4] staging: lustre: libcfs: use kmalloc_array instead of kmalloc

2015-11-08 Thread Geliang Tang
Use kmalloc_array instead of kmalloc to allocate memory for an array. Signed-off-by: Geliang Tang --- drivers/staging/lustre/lustre/libcfs/linux/linux-tracefile.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v10 1/5] configfs: Allow dynamic group creation

2015-11-08 Thread Jonathan Cameron
On 07/11/15 13:09, Christoph Hellwig wrote: > On Fri, Nov 06, 2015 at 05:38:53PM +, Jonathan Cameron wrote: >> Yup. I'd have no objection to a direct request to Linus to take this as a >> one off. > > I'd appreciate if you could give it a try. Unfortunately this would fall out of scope for

[PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show

2015-11-08 Thread Shivani Bhardwaj
Remove the function mgc_ir_state_seq_show() as it is not referenced/called anywhere. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/mgc/lproc_mgc.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/lustre/lustre/mgc/lproc_mgc.c

[PATCH v3 05/10] thermal: rockchip: Add the sort flag for adc value increment or decrement

2015-11-08 Thread Caesar Wang
The conversion table has the adc value and temperature. In fact, the adc value only has the increment or decrement mode in conversion table. Moment, we can add the sort flag to be better support the *code_to_temp* for differenr SoCs. Signed-off-by: Caesar Wang --- Changes

[PATCH v3 07/10] thermal: rockchip: Support the RK3368 SoCs in thermal drivers

2015-11-08 Thread Caesar Wang
The RK3368 SoCs support to 2 channel TS-ADC, the temperature criteria of each channel can be configurable. The system has two Temperature Sensors, channel 0 is for CPU, and channel 1 is for GPU. Signed-off-by: Caesar Wang --- Changes in v3: - :%s/flag/sort_flag - fix the

[PATCH v3 09/10] arm64: dts: Add main Thermal info to rk3368.dtsi

2015-11-08 Thread Caesar Wang
This patch add the thermal needed info on RK3368. Meanwhile, support the trips to throttle for thermal. Signed-off-by: Caesar Wang Acked-by: Eduardo Valentin --- Changes in v3: None Changes in v2: - fix a copy wrong name. Series-changes: 1 - support

[PATCH v3 02/10] thermal: rockchip: better to compatible the driver for different SoCs

2015-11-08 Thread Caesar Wang
The current driver is default to register the two thermal sensors in probe since some SoCs maybe only have one sensor for thermal. In some cases, the channel 0 is not always the cpu or gpu sensor. So add the channel can be configured for sensors. Signed-off-by: Caesar Wang

[PATCH v3 04/10] thermal: rockchip: improve the conversion function

2015-11-08 Thread Caesar Wang
We should make the conversion table in as a parameter since the different SoCs have the different conversionion table. Signed-off-by: Caesar Wang --- Changes in v3: - As Eduardo comments, let's change data_mask type with 'u32' instead of 'unsigned long'. Series-changes:

[PATCH v3 03/10] thermal: rockchip: trivial: fix typo in commit

2015-11-08 Thread Caesar Wang
Signed-off-by: Caesar Wang --- Changes in v3: None Changes in v2: - As Eduardo comments on patch v1, split in smaller changes. Changes in v1: None drivers/thermal/rockchip_thermal.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git

Re: [PATCH v1] eCryptfs: enhancing eCryptfs to be used with external crypto engine

2015-11-08 Thread kbuild test robot
Hi Andrey, [auto build test ERROR on: v4.3-rc7] [also build test ERROR on: next-20151106] url: https://github.com/0day-ci/linux/commits/Andrey-Markovytch/eCryptfs-enhancing-eCryptfs-to-be-used-with-external-crypto-engine/20151108-161722 config: x86_64-randconfig-s0-11081650 (attached

[PATCHv2 3/3] kernel-doc: Fix parsing of DECLARE_BITMAP in struct

2015-11-08 Thread conchur
From: Conchúr Navid Some documented structures in the kernel use DECLARE_BITMAP to create arrays of unsigned longs to store information using the bitmap functions. These have to be replaced with a parsable version for kernel-doc. For example a simple input like /** *

Re: [PATCH v2 3/3] tty: Add software emulated RS485 support for 8250

2015-11-08 Thread Matwey V. Kornilov
2015-11-07 19:03 GMT+03:00 Peter Hurley : > Hi Matwey, > > On 11/07/2015 05:09 AM, Matwey V. Kornilov wrote: >> Implementation of software emulation of RS485 direction handling is based >> on omap-serial driver. It is acts as the following. At transmission start, >> RTS

Re: [PATCH 4.1 11/86] iommu/amd: Fix BUG when faulting a PROT_NONE VMA

2015-11-08 Thread Joerg Roedel
On Fri, Nov 06, 2015 at 12:49:20PM -0800, Linus Torvalds wrote: > I'm not arguing against the stable backport, because that is fine. But > I think this should be fixed further. > > Joerg? Huh, you are right, I completly missed that. Basically the code needs to do a lot of checks that the cpu

[PATCH] ptrace: use fsuid, fsgid, effective creds for fs access checks

2015-11-08 Thread Jann Horn
By checking the effective credentials instead of the real UID / permitted capabilities, ensure that the calling process actually intended to use its credentials. To ensure that all ptrace checks use the correct caller credentials (e.g. in case out-of-tree code or newly added code omits the

[PATCH] staging: lustre: export cfs_str2mask

2015-11-08 Thread James Simmons
We need cfs_str2mask exported for our server code. Even with the server code not available upstream it would be nice to use the upstream code on Lustre servers. Signed-off-by: James Simmons --- .../staging/lustre/lustre/libcfs/libcfs_string.c |1 + 1 files changed,

[PATCH] staging: lustre: add sparse locking annotations

2015-11-08 Thread James Simmons
From: frank zago Adds __acquires / __releases / __must_hold sparse locking annotations to several functions. Fixes sparse warnings such as: libcfs/libcfs/hash.c:127:1: warning: context imbalance in 'cfs_hash_spin_lock' - wrong count at exit libcfs/libcfs/hash.c:133:1:

[PATCH v2] staging: lustre: remove IOC_LIBCFS_PING_TEST ioctl

2015-11-08 Thread James Simmons
The ioctl IOC_LIBCFS_PING_TEST has not been used in ages. The recent nidstring changes which moved all the nidstring operations from libcfs to the LNet layer but this ioctl code was still using an nidstring operation that was causing an circular dependency loop between libcfs and LNet.

[PATCH 0/2] Remove wrapper functions from workitem

2015-11-08 Thread Shivani Bhardwaj
This patchset removes unnecessary wrapper functions from the file workitem and replace all their calls with the function that they wrap. After applying this patch, code becomes cleaner. Shivani Bhardwaj (2): staging: lustre: workitem: Remove cfs_wi_sched_lock wrapper staging: lustre:

[PATCH 1/2] staging: lustre: workitem: Remove cfs_wi_sched_lock wrapper

2015-11-08 Thread Shivani Bhardwaj
Remove the wrapper function cfs_wi_sched_lock() and replace all its calls with the function it wrapped. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/libcfs/workitem.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff

[PATCH 2/2] staging: lustre: workitem: Remove cfs_wi_sched_unlock wrapper

2015-11-08 Thread Shivani Bhardwaj
Remove the wrapper function cfs_wi_sched_unlock() and replace all its calls with the function it wrapped. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/libcfs/workitem.c | 26 ++--- 1 file changed, 10 insertions(+), 16 deletions(-)

XFS freeze (xfsaild blocked) with 4.2.5 (also 4.3)

2015-11-08 Thread David Madore
adore.org/~david/.tmp/config.20151108 Syslog reporting hung tasks and (at 11:18) output of alt-sysrq-t: http://www.madore.org/~david/.tmp/syslog.20151108 Initial dmesg: http://www.madore.org/~david/.tmp/dmesg.20151108 -- David A. Madore ( http://www.madore.org/~david/ ) -- To unsubscrib

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-11-08 Thread Joerg Roedel
On Sun, Nov 08, 2015 at 12:37:47PM +0200, Michael S. Tsirkin wrote: > I have no problem with that. For example, can we teach > the DMA API on intel x86 to use PT for virtio by default? > That would allow merging Andy's patches with > full compatibility with old guests and hosts. Well, the only

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-11-08 Thread David Woodhouse
On Sun, 2015-11-08 at 12:37 +0200, Michael S. Tsirkin wrote: > On Thu, Oct 29, 2015 at 05:18:56PM +0100, David Woodhouse wrote: > > On Thu, 2015-10-29 at 11:01 +0200, Michael S. Tsirkin wrote: > > > > > > But you trust your hypervisor (you have no choice anyway), > > > and you don't want the

Re: [PATCH] tty: audit: Fix audit source

2015-11-08 Thread kbuild test robot
Hi Peter, [auto build test WARNING on: v4.3-rc7] [also build test WARNING on: next-20151106] url: https://github.com/0day-ci/linux/commits/Peter-Hurley/tty-audit-Fix-audit-source/20151108-205330 config: x86_64-randconfig-x019-201545 (attached as .config) reproduce: # save

Re: lock-up on boot with x86/PCI/ACPI: Use common interface to support PCI host bridge

2015-11-08 Thread Arthur Marsh
Jiang Liu wrote on 08/11/15 23:33: On 2015/11/7 15:56, Arthur Marsh wrote: Hi, I've run into a situation where I've been getting a lock-up a few seconds into the boot process on a machine with an ASUS A8V-MX motherboard, BIOS 050312/06/2005 with AMD Athlon(tm) 64 Processor 3200+ (single

[GIT PULL] RTC for 4.4

2015-11-08 Thread Alexandre Belloni
Hi Linus, Here is the pull-request for the RTC susbsystem for 4.4. This cycle was actually quite calm. The following changes since commit 6a13feb9c82803e2b815eca72fa7a9f5561d7861: Linux 4.3 (2015-11-01 16:05:25 -0800) are available in the git repository at:

[PATCH v2] tty: audit: Fix audit source

2015-11-08 Thread Peter Hurley
The data to audit/record is in the 'from' buffer (ie., the input read buffer). Fixes: 72586c6061ab ("n_tty: Fix auditing support for cannonical mode") Cc: Laura Abbott Cc: Miloslav Trmač Cc: Signed-off-by: Peter Hurley

Re: [PATCH] Staging: wilc1000: Fix build break due to undeclared *wilc and implicit declaration of init_irq

2015-11-08 Thread punit vara
On Sun, Nov 8, 2015 at 2:21 AM, Dan Carpenter wrote: > I haven't looked at it, sorry. You'll have to figure it out or if you > complain to the original person who broken the build he can figure it > out. You are still missing a Fixes tag. > > regards, > dan carpenter

[PATCH] tty: Simplify tty_set_ldisc() exit handling

2015-11-08 Thread Peter Hurley
Perform common exit for both successful and error exit handling in tty_set_ldisc(). Fixes unlikely possibility of failing to restart input kworker when switching to the same line discipline (noop case). Signed-off-by: Peter Hurley --- Requires: "tty: Fix direct use of

Re: GSO with udp_tunnel_xmit_skb

2015-11-08 Thread Jason A. Donenfeld
On Sun, Nov 8, 2015 at 11:57 AM, Herbert Xu wrote: > UDP carries no ordering information so this doesn't work. But if there's no ordering information, what's the problem? Isn't it good enough to send the packets in the order they were sendto()d? Or in any order at

Re: [PATCH] Staging: wilc1000: Fix build break due to undeclared *wilc and implicit declaration of init_irq

2015-11-08 Thread punit vara
On Sun, Nov 8, 2015 at 2:21 AM, Dan Carpenter wrote: > I haven't looked at it, sorry. You'll have to figure it out or if you > complain to the original person who broken the build he can figure it > out. You are still missing a Fixes tag. > > regards, > dan carpenter

Re: Linux 4.2.4

2015-11-08 Thread Greg KH
On Sun, Nov 08, 2015 at 02:51:01PM +0100, Gerhard Wiesinger wrote: > On 25.10.2015 17:29, Greg KH wrote: > >On Sun, Oct 25, 2015 at 11:48:54AM +0100, Gerhard Wiesinger wrote: > >>On 25.10.2015 10:46, Willy Tarreau wrote: > >>>ipset *triggered* the problem. The whole stack dump would tell more. >

Re: [PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show

2015-11-08 Thread kbuild test robot
Hi Shivani, [auto build test ERROR on: staging/staging-testing] [also build test ERROR on: next-20151106] [cannot apply to: v4.3] url: https://github.com/0day-ci/linux/commits/Shivani-Bhardwaj/staging-lustre-lproc_mgc-Remove-unused-function-mgc_ir_state_seq_show/20151109-010718 config:

[PATCH v3 06/10] thermal: rockchip: consistently use int for temperatures

2015-11-08 Thread Caesar Wang
As Temperature is currently represented as int not long in the thermal framework since use int intead of unsigned long/long to represent temperature to avoid bogus overheat detection when negative temperature reported. Signed-off-by: Caesar Wang --- Changes in v3: - As the

[PATCH v3 08/10] arm64: dts: Add the thermal data found on RK3368

2015-11-08 Thread Caesar Wang
This patchset add the thermal for RK3368 dts, Since the two CPU clusters, with four CPU core for each cluster, One cluster is optimized for high-performance(big cluster) and the othe is optimized for low power(little cluster). This patch adds the second order for thermal throttle, and the

[PATCH v3 01/10] dt-bindings: rockchip-thermal: Support the RK3368 SoCs compatible

2015-11-08 Thread Caesar Wang
This patchset attempts to new compatible for thermal founding on RK3368 SoCs. Signed-off-by: Caesar Wang Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None Changes in v1: - %s/thermal/rockchip-thermal in subject.

[PATCH v3 00/10] Better compatible for the rockchip thermal and support RK3368 SoCs

2015-11-08 Thread Caesar Wang
Thank you all for providing inputs and comments on previous versions of this patchset. Especially thanks to the (Eduardo, Dmitry, Heiko,). This series patchs are working for RK3368 on Rockchip platform. - This patchset are based on linus master branch. Note: Need add the following

Re: [PATCH v1] eCryptfs: enhancing eCryptfs to be used with external crypto engine

2015-11-08 Thread Christoph Hellwig
On Sun, Nov 08, 2015 at 10:10:00AM +0200, Andrey Markovytch wrote: > +++ b/fs/ecryptfs/caches_utils.c > @@ -0,0 +1,78 @@ > +/* > + * Copyright (c) 2015, The Linux Foundation. All rights reserved. Really? This looks like copy and paste from core code that defintively was not written by the Linux

[PATCH v3 10/10] arm64: dts: Enable the Thermal on R88 board

2015-11-08 Thread Caesar Wang
This patch enable the TS-ADC. When a thermal temperature is invoked use the CRU to reset the chip on R88 board. TSHUT is low active on this board. Signed-off-by: Caesar Wang Acked-by: Eduardo Valentin --- Changes in v3: None Changes in v2: None

Re: lock-up on boot with x86/PCI/ACPI: Use common interface to support PCI host bridge

2015-11-08 Thread Jiang Liu
On 2015/11/7 15:56, Arthur Marsh wrote: > Hi, I've run into a situation where I've been getting a lock-up a few > seconds into the boot process on a machine with an ASUS A8V-MX > motherboard, BIOS 050312/06/2005 with AMD Athlon(tm) 64 Processor > 3200+ (single core) with kernel compiled in 32

Re: [RFC PATCH 19/28] lkl tools: host lib: virtio block device

2015-11-08 Thread Richard Weinberger
Am 08.11.2015 um 05:15 schrieb Octavian Purdila: > On Sat, Nov 7, 2015 at 2:24 PM, Richard Weinberger > wrote: >> On Tue, Nov 3, 2015 at 9:20 PM, Octavian Purdila >> wrote: >>> Host independent implementation for virtio block devices. The

Re: [PATCH v3 10/10] arm64: dts: Enable the Thermal on R88 board

2015-11-08 Thread kbuild test robot
Hi Caesar, [auto build test ERROR on: soc-thermal/next] [also build test ERROR on: next-20151106] [cannot apply to: rockchip/for-next v4.3] url: https://github.com/0day-ci/linux/commits/Caesar-Wang/Better-compatible-for-the-rockchip-thermal-and-support-RK3368-SoCs/20151108-173308 base

[PATCH] clk: imx: clk-imx6q: Let OSC to be routed to anaclk2/2b

2015-11-08 Thread Michael Trimarchi
OSC can be used as USB hub source clock. An example we can route to CLK2_P imx6 pin Signed-off-by: Michael Trimarchi --- drivers/clk/imx/clk-imx6q.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx6q.c

[PATCH] tty: Only allow slave pty as controlling tty

2015-11-08 Thread Peter Hurley
A master pty should never be a controlling tty in Linux; if the master pty is specified to ioctl(TIOCSCTTY), silently substitute the slave pty as the controlling tty. Signed-off-by: Peter Hurley --- drivers/tty/tty_io.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/4] staging: rdma: use kmalloc_array instead of kmalloc

2015-11-08 Thread Geliang Tang
Use kmalloc_array instead of kmalloc to allocate memory for an array. Signed-off-by: Geliang Tang --- drivers/staging/rdma/amso1100/c2.c | 6 -- drivers/staging/rdma/ipath/ipath_file_ops.c | 8 2 files changed, 8 insertions(+), 6 deletions(-) diff

[GIT PULL] dmaengine update for 4.4

2015-11-08 Thread Vinod Koul
Hi Linus Here is the pull request for 4.4 The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f: Linux 4.3-rc1 (2015-09-12 16:35:56 -0700) are available in the git repository at: git://git.infradead.org/users/vkoul/slave-dma.git tags/dmaengine-4.4-rc1 for you to

[PATCH v2 4/8] phy: rockchip-usb: expose the phy-internal PLLs

2015-11-08 Thread Heiko Stuebner
The USB phys on Rockchip SoCs contain their own internal PLLs to create the 480MHz needed. Additionally this PLL output is also fed back into the core clock-controller as possible source for clocks like the GPU or others. Until now this was modelled incorrectly with a "virtual" factor clock in

[PATCH v2 8/8] phy: rockchip-usb: add handler for usb-uart functionality

2015-11-08 Thread Heiko Stuebner
Most newer Rockchip SoCs provide the possibility to use a usb-phy as passthrough for the debug uart (uart2), making it possible to for example get console output without needing to open the device. This patch adds an early_initcall to enable this functionality conditionally via the commandline

[PATCH v2 0/8] phy: rockchip-usb: correct pll handling and usb-uart

2015-11-08 Thread Heiko Stuebner
changes in v2: - add Doug's review-tag to patches 1 and 3 - address comment and add the missing transistional rk_phy->base assignment in patch2 Patches 1-7 fix a long-standing issue with the clock-tree of Rockchip SoCs namely our ignorance of the usbphy-internal pll that creates the needed

[PATCH v2 5/8] clk: rockchip: fix usbphy-related clocks

2015-11-08 Thread Heiko Stuebner
The otgphy clocks really only drive the phy blocks. These in turn contain plls that then generate the 480m clocks the clock controller uses to supply some other clocks like uart0, gpu or the video-codec. So fix this structure to actually respect that hirarchy and removed that usb480m fixed-rate

[PATCH v2 6/8] ARM: dts: rockchip: add clock-cells for usb phy nodes

2015-11-08 Thread Heiko Stuebner
Add the #clock-cells properties for the usbphy nodes as they provide the pll-clocks now. Signed-off-by: Heiko Stuebner --- arch/arm/boot/dts/rk3066a.dtsi | 2 ++ arch/arm/boot/dts/rk3188.dtsi | 2 ++ arch/arm/boot/dts/rk3288.dtsi | 3 +++ 3 files changed, 7 insertions(+)

[for-next][PATCH 2/2] tracing: Remove unused ftrace_cpu_disabled per cpu variable

2015-11-08 Thread Steven Rostedt
From: Dmitry Safonov <0x7f454...@gmail.com> Since the ring buffer is lockless, there is no need to disable ftrace on CPU. And no one doing so: after commit 68179686ac67cb ("tracing: Remove ftrace_disable/enable_cpu()") ftrace_cpu_disabled stays the same after initialization, nothing changes it.

Re: [PATCH v2 01/12] staging: rtl8188eu: if/else replaced by min_t

2015-11-08 Thread Greg Kroah-Hartman
On Sun, Nov 08, 2015 at 02:07:11PM +0700, Ivan Safonov wrote: > Duplicated code removed. > > Signed-off-by: Ivan Safonov > --- > drivers/staging/rtl8188eu/core/rtw_cmd.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) You sent 3 versions of this patch, is

[for-next][PATCH 0/2] tracing: A couple of cleanups for 4.4

2015-11-08 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 03e88ae6b369da2a26a6e09ad165e57d210789cd Dmitry Safonov (1): tracing: Remove unused ftrace_cpu_disabled per cpu variable Jiaxing Wang (1): tracing: Make tracing work when debugfs is not

[for-next][PATCH 1/2] tracing: Make tracing work when debugfs is not configured in

2015-11-08 Thread Steven Rostedt
From: Jiaxing Wang Currently tracing_init_dentry() returns -ENODEV when debugfs is not configured in, which causes tracefs not populated with tracing files and directories, so we will get an empty directory even after we manually mount tracefs. We can make

Re: [RFC PATCH 08/28] lkl: system call interface and application API

2015-11-08 Thread Arnd Bergmann
On Sunday 08 November 2015 05:49:00 Octavian Purdila wrote: > > Could you use the standard numbers from include/uapi/asm-generic/unistd.h? > > Maybe include that header and then #undef the ones you don't support? > > That would avoid having to assign a new number of each future syscall > > that

[PATCH] n_tty: Uninline tty_copy_to_user()

2015-11-08 Thread Peter Hurley
Merge the multiple tty_copy_to_user() calls into a single copy sequence within tty_copy_to_user(). Signed-off-by: Peter Hurley --- Requires: "tty: audit: Fix audit source" drivers/tty/n_tty.c | 33 ++--- 1 file changed, 18 insertions(+),

[PATCH] n_tty: Clarify copy_from_read_buf()

2015-11-08 Thread Peter Hurley
Add a temporary for the computed source address and substitute where appropriate. No functional change. Signed-off-by: Peter Hurley --- drivers/tty/n_tty.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/tty/n_tty.c

[PATCH 2/2] zram: fix memory freeing in zram_bvec_read

2015-11-08 Thread Geliang Tang
When user_mem is NULL, there is no need to kunmap_atomic it. Signed-off-by: Geliang Tang --- drivers/block/zram/zram_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c index

Re: [PATCH 3/4] x86/asm: Add asm macros for static keys/jump labels

2015-11-08 Thread Andy Lutomirski
On Sat, Nov 7, 2015 at 9:08 AM, Thomas Gleixner wrote: > On Sat, 7 Nov 2015, Andy Lutomirski wrote: >> On Sat, Nov 7, 2015 at 8:58 AM, Thomas Gleixner wrote: >> True. But I hid it in a header file, too, but it was just a different >> header file -- I had

Re: XFS freeze (xfsaild blocked) with 4.2.5 (also 4.3)

2015-11-08 Thread Christoph Hellwig
Hi David, can you try the patch at: http://article.gmane.org/gmane.comp.file-systems.xfs.general/70984 The symptoms sound surprisingly similar. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH V6 0/6] Fast mmio eventfd fixes

2015-11-08 Thread Michael S. Tsirkin
On Tue, Sep 15, 2015 at 02:41:53PM +0800, Jason Wang wrote: > 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

Re: [PATCH] staging: lustre: lproc_mgc: Remove unused function mgc_ir_state_seq_show

2015-11-08 Thread Shivani Bhardwaj
On Sun, Nov 8, 2015 at 10:33 PM, Shivani Bhardwaj wrote: > Remove the function mgc_ir_state_seq_show() as it is not > referenced/called anywhere. > > Signed-off-by: Shivani Bhardwaj > --- > drivers/staging/lustre/lustre/mgc/lproc_mgc.c | 5 - >

Re: [PATCH V3 2/4] dma: add Qualcomm Technologies HIDMA management driver

2015-11-08 Thread kbuild test robot
Hi Sinan, [auto build test ERROR on: robh/for-next] [also build test ERROR on: v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/Sinan-Kaya/ma-add-Qualcomm-Technologies-HIDMA-driver/20151108-125824 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next

Re: [PATCH v1] eCryptfs: enhancing eCryptfs to be used with external crypto engine

2015-11-08 Thread kbuild test robot
Hi Andrey, [auto build test ERROR on: v4.3-rc7] [also build test ERROR on: next-20151106] url: https://github.com/0day-ci/linux/commits/Andrey-Markovytch/eCryptfs-enhancing-eCryptfs-to-be-used-with-external-crypto-engine/20151108-161722 config: i386-allmodconfig (attached as .config

[PATCH] thermal: rockchip: fix compile error

2015-11-08 Thread Caesar Wang
Missing a include file caused compile error. drivers/thermal/rockchip_thermal.c: In function 'rockchip_thermal_suspend': drivers/thermal/rockchip_thermal.c:720:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=implicit-function-declaration]

[PATCH 4/4] staging: rtl8192u: r8192U_core: use kmalloc_array instead of kmalloc

2015-11-08 Thread Geliang Tang
Use kmalloc_array instead of kmalloc to allocate memory for an array. Signed-off-by: Geliang Tang --- drivers/staging/rtl8192u/r8192U_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c

[PATCH v2 1/8] phy: rockchip-usb: fix clock get-put mismatch

2015-11-08 Thread Heiko Stuebner
Currently the phy driver only gets the optional clock reference but never puts it again, neither during error handling nor on remove. Fix that by moving the clk_put to a devm-action that gets called at the right time when all other devm actions are done. Signed-off-by: Heiko Stuebner

[PATCH v2 2/8] phy: rockchip-usb: introduce a common data-struct for the device

2015-11-08 Thread Heiko Stuebner
This introduces a common struct that holds data belonging to the umbrella device that contains all the phys and that we want to use later. Signed-off-by: Heiko Stuebner --- drivers/phy/phy-rockchip-usb.c | 26 +++--- 1 file changed, 19 insertions(+), 7

[PATCH v2 7/8] ARM: dts: rockchip: assign usbphy480m_src to the new usbphy pll on veyron

2015-11-08 Thread Heiko Stuebner
Veyron devices try to always set the source for usbphy480m to the usbphy0 that is the phy connected to the otg controller, because the firmware- default is usbphy1, the ehci-controller connected to the internal camera that might get turned off way easier to save power. In the mainline kernel we

[PATCH] staging: lustre: add libcfs version of cfs_strrstr

2015-11-08 Thread James Simmons
From: Fan Yong Create a kernel side function that does the same thing as userland strrstr. This is from patch http://review.whamcloud.com/7666. Signed-off-by: Fan Yong ntel-bug-id: https://jira.hpdd.intel.com/browse/LU-3951 Reviewed-on:

[PATCH] staging: lustre: enum lu_object_header_flags comma style fix

2015-11-08 Thread James Simmons
From: Fan Yong Cleanup the a style issues for the lu_object_header_flags enum by adding a comma for the last field. This is broken out of patch http://review.whamcloud.com/6321. Signed-off-by: Fan Yong Intel-bug-id:

[PATCH] staging: lustre: added debugging ability for LFSCK

2015-11-08 Thread James Simmons
From: Fan Yong Add the ability to debug LFSCK to libcfs. This is broken out of patch http://review.whamcloud.com/6321. Signed-off-by: Fan Yong Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2914 Reviewed-on: http://review.whamcloud.com/6321

[PATCH] staging: lustre: Handle nodemask on UMP machines

2015-11-08 Thread James Simmons
For UMP and SMP machines the struct cfs_cpt_table are defined differently. In the case handled by this patch nodemask is defined as a integer for the UMP case and as a pointer for the SMP case. This will cause a problem for ost_setup which reads the nodemask directly. Instead we create a UMP

[PATCH] staging: lustre: mdc_request: Remove mdc_kuc_reregister wrapper

2015-11-08 Thread Shivani Bhardwaj
Remove the wrapper function mdc_kuc_reregister() and replace its call with the function it wrapped. Also, comment has been added for clarity. Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/mdc/mdc_request.c | 16 1 file changed, 4

Re: [PATCH 4.2 108/110] pinctrl: baytrail: Serialize all register access

2015-11-08 Thread Ben Hutchings
On Fri, 2015-11-06 at 11:19 -0800, Greg Kroah-Hartman wrote: > 4.2-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Mika Westerberg > > commit 39ce8150a079e3ae6ed9abf26d7918a558ef7c19 upstream. > > There

Re: [PATCH v2 0/9] Better compatible for the rockchip thermal and support RK3368 SoCs

2015-11-08 Thread Caesar Wang
Hi Heiko, 在 2015年11月08日 07:13, Heiko Stuebner 写道: Hi Caesar, Am Samstag, 7. November 2015, 23:53:30 schrieb Caesar Wang: 在 2015年11月07日 03:03, Heiko Stuebner 写道:[] [] I call dibs on the devicetree patches :-) . Code and dt parts are very much separate, so I'd like to take the dt parts

Re: [PATCH 02/12] staging: rtl8188eu: return value and argument types changed in _rtl88e_write_fw function

2015-11-08 Thread Andy Shevchenko
On Sun, Nov 8, 2015 at 8:37 AM, Ivan Safonov wrote: > Ideally the function should not change the variables outside of its body. > > Signed-off-by: Ivan Safonov > --- > drivers/staging/rtl8188eu/hal/fw.c | 8 > 1 file changed, 4 insertions(+), 4

Re: [PATCH 01/13] staging: rtl8188eu: if/else replaced by min_t

2015-11-08 Thread Andy Shevchenko
On Sun, Nov 8, 2015 at 6:29 AM, Ivan Safonov wrote: > Duplicated code removed. > > Signed-off-by: Ivan Safonov > --- > drivers/staging/rtl8188eu/core/rtw_cmd.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git

Re: [PATCH 2/2] ASoC: codecs: Add da7218 codec driver

2015-11-08 Thread Mark Brown
On Fri, Nov 06, 2015 at 01:17:28PM +, Opensource [Adam Thomson] wrote: > On November 6, 2015 11:55, Mark Brown wrote: > > Hang on, is this just recording a DC value with the ADC and then looking > > at that? > The RMS of the Mic signal is taken and compared to the trigger level set. If >

Re: [RFC PATCH 21/28] lkl tools: host lib: posix host operations

2015-11-08 Thread Arnd Bergmann
On Sunday 08 November 2015 06:01:08 Octavian Purdila wrote: > >> +static void *sem_alloc(int count) > >> +{ > >> + struct pthread_sem *sem; > >> + > >> + sem = malloc(sizeof(*sem)); > >> + if (!sem) > >> + return NULL; > >> + > >> + pthread_mutex_init(>lock, NULL); > >>

Re: GSO with udp_tunnel_xmit_skb

2015-11-08 Thread Herbert Xu
On Sun, Nov 08, 2015 at 11:36:53AM +0100, Jason A. Donenfeld wrote: > > Wouldn't there be some significant savings from bundling together > several UDP packets meant for the same destination, and sending those > all as one super-packet, so they don't each have to traverse the whole > networking

[PATCH] staging: sm750fb: fix style for if clause

2015-11-08 Thread Othmar Pasteka
Fix for checkpatch.pl complaints: ERROR: that open brace { should be on the previous line CHECK: spaces preferred around that '+' (ctx:VxV) Signed-off-by: Othmar Pasteka --- drivers/staging/sm750fb/sm750_cursor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

Re: [PATCH 02/12] staging: rtl8188eu: return value and argument types changed in _rtl88e_write_fw function

2015-11-08 Thread Ivan Safonov
On 11/08/2015 05:11 PM, Andy Shevchenko wrote: On Sun, Nov 8, 2015 at 8:37 AM, Ivan Safonov wrote: Ideally the function should not change the variables outside of its body. Signed-off-by: Ivan Safonov --- drivers/staging/rtl8188eu/hal/fw.c | 8

[PATCH] tty: audit: Fix audit source

2015-11-08 Thread Peter Hurley
The data to audit/record is in the 'from' buffer (ie., the input read buffer). Fixes: 72586c6061ab ("n_tty: Fix auditing support for cannonical mode") Cc: Laura Abbott Cc: Miloslav Trmač Cc: Signed-off-by: Peter Hurley

[PATCH] tty: Fix direct use of tty buffer work

2015-11-08 Thread Peter Hurley
Recent abstraction of tty buffer work introduced api to manage tty input kworker; use it. Fixes: e176058f0de5 ("tty: Abstract tty buffer work") Signed-off-by: Peter Hurley --- drivers/tty/tty_ldisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH V2 2/3] dmaselftest: add memcpy selftest support functions

2015-11-08 Thread Vinod Koul
On Sat, Nov 07, 2015 at 01:23:34AM -0500, Sinan Kaya wrote: > > > On 11/5/2015 11:17 AM, Sinan Kaya wrote: > > > > > >On 11/5/2015 7:05 AM, Vinod Koul wrote: > >>On Wed, Nov 04, 2015 at 09:42:46PM -0500, Sinan Kaya wrote: > >>>Here is what I proposed. > >>> > >>>- a common file that gets

Re: Linux 4.2.4

2015-11-08 Thread Gerhard Wiesinger
On 25.10.2015 17:29, Greg KH wrote: On Sun, Oct 25, 2015 at 11:48:54AM +0100, Gerhard Wiesinger wrote: On 25.10.2015 10:46, Willy Tarreau wrote: ipset *triggered* the problem. The whole stack dump would tell more. OK, find the stack traces in the bug report:

[PATCH] tty: Remove unused SERIAL_DO_RESTART define

2015-11-08 Thread Peter Hurley
SERIAL_DO_RESTART is not used by these 3 drivers; remove. Signed-off-by: Peter Hurley --- drivers/tty/amiserial.c | 1 - drivers/tty/moxa.c| 1 - drivers/tty/serial/icom.c | 1 - 3 files changed, 3 deletions(-) diff --git a/drivers/tty/amiserial.c

[PATCH] tty: Remove dead tty_write_flush() declaration and macro

2015-11-08 Thread Peter Hurley
tty_write_flush() has no definition and the TTY_WRITE_FLUSH() macro is never invoked; remove. Signed-off-by: Peter Hurley --- include/linux/tty.h | 4 1 file changed, 4 deletions(-) diff --git a/include/linux/tty.h b/include/linux/tty.h index dcafb38..4b6c62e

[PATCH 1/4] staging: comedi: use kmalloc_array instead of kmalloc

2015-11-08 Thread Geliang Tang
Use kmalloc_array instead of kmalloc to allocate memory for an array. Signed-off-by: Geliang Tang --- drivers/staging/comedi/drivers/amplc_pci224.c | 8 drivers/staging/comedi/drivers/ni_670x.c | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff

[PATCH] acpi: add support for extended IRQ to PCI link

2015-11-08 Thread Sinan Kaya
The ACPI compiler uses the extended format when used interrupt numbers are greater than 256. The PCI link code currently only supports simple interrupt format. The IRQ numbers are represented using 32 bits when extended IRQ syntax. This patch changes the interrupt number type to 32 bits and places

  1   2   3   4   5   6   7   8   9   >