Re: [PATCH 1/3] ARM: at91/tclib: prefer using of devm_* functions

2014-08-20 Thread Boris BREZILLON
On Wed, 20 Aug 2014 00:07:50 +0200 Gaël PORTAY gael.por...@gmail.com wrote: Signed-off-by: Gaël PORTAY gael.por...@gmail.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/misc/atmel_tclib.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-)

[tip:sched/core] sched: s/do_each_thread/for_each_process_thread/ in core.c

2014-08-20 Thread tip-bot for Oleg Nesterov
Commit-ID: 5d07f4202c5d63b73ba1734ed38e08461a689313 Gitweb: http://git.kernel.org/tip/5d07f4202c5d63b73ba1734ed38e08461a689313 Author: Oleg Nesterov o...@redhat.com AuthorDate: Wed, 13 Aug 2014 21:19:53 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 20 Aug 2014 09:47:17

RE: [PATCH] zram: add num_discards for discarded pages stat

2014-08-20 Thread Chao Yu
Hi Minchan, -Original Message- From: Minchan Kim [mailto:minc...@kernel.org] Sent: Wednesday, August 20, 2014 10:09 AM To: Sergey Senozhatsky Cc: Chao Yu; linux-kernel@vger.kernel.org; linux...@kvack.org; ngu...@vflare.org; 'Jerome Marchand'; 'Andrew Morton' Subject: Re: [PATCH]

Re: [PATCH v2 4/4] zram: report maximum used memory

2014-08-20 Thread David Horner
I'm really surprised there isn't an atomic_set_max function - that keeps trying the exchange until the target value is equal or greater than provided value. (and complimentary atomic_set_min) I would be surprised that this is the only place in the kernel with this scenario. On Wed, Aug 20,

[tip:perf/urgent] perf: Handle compat ioctl

2014-08-20 Thread tip-bot for Pawel Moll
Commit-ID: b3f207855f57b9c8f43a547a801340bb5cbc59e5 Gitweb: http://git.kernel.org/tip/b3f207855f57b9c8f43a547a801340bb5cbc59e5 Author: Pawel Moll pawel.m...@arm.com AuthorDate: Fri, 13 Jun 2014 16:03:32 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 20 Aug 2014 09:42:13

Re: [PATCH] TCP: add option for silent port knocking with integrity protection

2014-08-20 Thread Hagen Paul Pfeifer
On 19 August 2014 21:36, Alexander Holler hol...@ahsoftware.de wrote: It doesn't have to work in every environment and it doesn't have to solve all existing problems in the world. ;) But it enables people to protect a bit more against malicious people or governments. And it is really very

[tip:sched/core] sched/fair: Fix reschedule which is generated on throttled cfs_rq

2014-08-20 Thread tip-bot for Kirill Tkhai
Commit-ID: f36c019c79edb3a89920afae1b2b45987af1a112 Gitweb: http://git.kernel.org/tip/f36c019c79edb3a89920afae1b2b45987af1a112 Author: Kirill Tkhai ktk...@parallels.com AuthorDate: Wed, 6 Aug 2014 12:06:01 +0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 20 Aug 2014

Re: [PATCH] video: ARM CLCD: Ensure bits-per-pixel is a power of 2 and = 32

2014-08-20 Thread Jon Medhurst (Tixy)
On Tue, 2014-08-19 at 15:40 +0100, Russell King - ARM Linux wrote: On Tue, Aug 19, 2014 at 02:07:31PM +0100, Jon Medhurst (Tixy) wrote: If the device-tree specifies a max-memory-bandwidth property then the CLCD driver uses that to calculate the bits-per-pixel supported, however, it doesn't

Re: [PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 10:14:22AM +0200, Boris BREZILLON wrote: Hi Thierry, On Wed, 20 Aug 2014 09:31:13 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, Aug 20, 2014 at 01:01:30AM +0200, Boris BREZILLON wrote: Hi Jean-Christophe, On Wed, 20 Aug 2014 06:11:17 +0800

Re: [PATCH] mfd: max77686: make interrupts support optional

2014-08-20 Thread Javier Martinez Canillas
Hello Lee, Marek, On 08/20/2014 10:19 AM, Lee Jones wrote: On Wed, 20 Aug 2014, Marek Szyprowski wrote: Commit 6f1c1e71d93 (mfd: max77686: Convert to use regmap_irq) broke support for boards, which provide no irq for MAX 77686 PMIC. In such case, not all functions of PMIC are available, but

Re: [PATCH v4] KVM: vmx: fix ept reserved bits for 1-GByte page

2014-08-20 Thread Wanpeng Li
On Wed, Aug 20, 2014 at 10:13:07AM +0200, Paolo Bonzini wrote: Il 20/08/2014 09:31, Wanpeng Li ha scritto: EPT misconfig handler in kvm will check which reason lead to EPT misconfiguration after vmexit. One of the reasons is that an EPT paging-structure entry is configured with settings

Re: [PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-20 Thread Paolo Bonzini
Il 20/08/2014 03:03, David Matlack ha scritto: On Tue, Aug 19, 2014 at 5:29 PM, Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com wrote: On 08/19/2014 05:03 PM, Paolo Bonzini wrote: Il 19/08/2014 10:50, Xiao Guangrong ha scritto: Okay, what confused me it that it seems that the single line

Re: [PATCH] vhost: Add polling mode

2014-08-20 Thread Christian Borntraeger
On 10/08/14 10:30, Razya Ladelsky wrote: From: Razya Ladelsky ra...@il.ibm.com Date: Thu, 31 Jul 2014 09:47:20 +0300 Subject: [PATCH] vhost: Add polling mode When vhost is waiting for buffers from the guest driver (e.g., more packets to send in vhost-net's transmit queue), it normally goes

[PATCH] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-20 Thread Hoang Tran
This patch fixes the following sparse warnings in rtl8821ae/stats.c drivers/staging/rtl8821ae/stats.c:62:6: warning: symbol 'rtl_translate_todbm' was not declared. Should it be static? drivers/staging/rtl8821ae/stats.c:101:6: warning: symbol 'rtl_process_ui_rssi' was not declared. Should it be

[PATCH] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-20 Thread Hoang Tran
This patch fixes the following sparse warnings in rtl8821ae/stats.c drivers/staging/rtl8821ae/stats.c:62:6: warning: symbol 'rtl_translate_todbm' was not declared. Should it be static? drivers/staging/rtl8821ae/stats.c:101:6: warning: symbol 'rtl_process_ui_rssi' was not declared. Should it be

Re: [PATCH v1 01/12] dmaengine: dw: move dw_dmac.h to where it belongs to

2014-08-20 Thread Viresh Kumar
On Tue, Aug 19, 2014 at 10:59 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: There is a common storage for platform data related structures and definitions inside kernel source tree. The patch moves file from include/linux to include/linux/platform_data and renames it acoordingly.

Re: [PATCH v1 01/12] dmaengine: dw: move dw_dmac.h to where it belongs to

2014-08-20 Thread Viresh Kumar
On Wed, Aug 20, 2014 at 2:25 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On Tue, Aug 19, 2014 at 10:59 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: There is a common storage for platform data related structures and definitions inside kernel source tree. The patch moves

[PATCH net-next 0/4] r8152: firmware support

2014-08-20 Thread Hayes Wang
Parsing, checking, and writing the firmware. Hayes Wang (4): r8152: check code with checkpatch.pl r8152: replace strncpy with strlcpy r8152: remove clear_bp function r8152: support firmware files drivers/net/usb/r8152.c | 961 +--- 1 file

[PATCH net-next 2/4] r8152: replace strncpy with strlcpy

2014-08-20 Thread Hayes Wang
Replace the strncpy with strlcpy, and use sizeof to determine the length. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 2470d9c..33dcc97

[PATCH net-next 1/4] r8152: check code with checkpatch.pl

2014-08-20 Thread Hayes Wang
626: CHECK: Alignment should match open parenthesis 646: CHECK: Alignment should match open parenthesis 655: CHECK: Alignment should match open parenthesis 695: CHECK: Alignment should match open parenthesis 729: CHECK: Alignment should match open parenthesis 739: CHECK: Alignment should

[PATCH net-next 3/4] r8152: remove clear_bp function

2014-08-20 Thread Hayes Wang
The functions are used to update the firmware. Move the actions into the firmware files. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 24 1 file changed, 24 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c

[PATCH net-next 4/4] r8152: support firmware files

2014-08-20 Thread Hayes Wang
The firmware file is composed of the fw header and the commands. Each command has the following type. cmd(2 bytes) + length(2 bytes) + data(variable bytes) Before applying the firmware, the driver would check the fw header and each command. Signed-off-by: Hayes Wang

Re: [PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-20 Thread Boris BREZILLON
On Wed, 20 Aug 2014 10:28:20 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, Aug 20, 2014 at 10:14:22AM +0200, Boris BREZILLON wrote: Hi Thierry, On Wed, 20 Aug 2014 09:31:13 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, Aug 20, 2014 at 01:01:30AM

Re: [PATCH] TCP: add option for silent port knocking with integrity protection

2014-08-20 Thread Alexander Holler
Am 20.08.2014 10:24, schrieb Hagen Paul Pfeifer: On 19 August 2014 21:36, Alexander Holler hol...@ahsoftware.de wrote: It doesn't have to work in every environment and it doesn't have to solve all existing problems in the world. ;) But it enables people to protect a bit more against malicious

Re: Linux 3.16 boot hangs at initramfs scripts when mounting filesystems

2014-08-20 Thread James Hogan
Hi Petri, It's already marked for stable: Cc: sta...@vger.kernel.org # v3.13+ so it should get picked up automatically now that it has reached mainline. Thanks James On 20/08/14 04:09, Petri Gynther wrote: Alex's commit fixes the Linux 3.16 boot hang on BMIPS5000 that I reported. Please

Re: [PATCH] mfd: max77686: make interrupts support optional

2014-08-20 Thread Bartlomiej Zolnierkiewicz
Hi, On Wednesday, August 20, 2014 10:29:39 AM Javier Martinez Canillas wrote: Hello Lee, Marek, On 08/20/2014 10:19 AM, Lee Jones wrote: On Wed, 20 Aug 2014, Marek Szyprowski wrote: Commit 6f1c1e71d93 (mfd: max77686: Convert to use regmap_irq) broke support for boards, which provide

[PATCH][V2] UBI: block: fix dereference on uninitialized dev

2014-08-20 Thread Colin King
From: Colin Ian King colin.k...@canonical.com commit 4df38926f337 (UBI: block: Avoid disk size integer overflow) introduced a dereference on dev (which is not initialized at that point) when printing a warning message. Re-order disk_capacity check after the dev is found. Found by cppcheck:

[PATCH] iio: remove .owner field for driver using module_platform_driver

2014-08-20 Thread Sanjeev Sharma
This patch removes the .owner field for drivers which use the platform_driver_register api because this is overriden in _platform_driver_register. Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/iio/accel/hid-sensor-accel-3d.c | 1 - drivers/iio/adc/exynos_adc.c

Re: [PATCH v2 2/5] MFD: RK808: Add new mfd driver for RK808

2014-08-20 Thread Lee Jones
On Wed, 20 Aug 2014, Chris Zhong wrote: The RK808 chip is a power management IC for multimedia and handheld devices. It contains the following components: - Regulators - RTC The rk808 core driver is registered as a platform driver and provides communication through I2C with the host

Re: [PATCH] i2c: designware: deduce speed mode from device tree setting

2014-08-20 Thread Mark Rutland
On Tue, Aug 19, 2014 at 09:18:49PM +0100, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com Use the documented, but unimplemented clock-frequency Device Tree setting as a guide on whether to set the speed mode bits in DW_IC_CON to standard or fast i2c mode.

Re: [PATCH 03/15] tty: serial: 8250_core: add run time pm

2014-08-20 Thread Frans Klaver
Hi, On Fri, Aug 15, 2014 at 07:42:31PM +0200, Sebastian Andrzej Siewior wrote: --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c @@ -1899,12 +1984,22 @@ static void wait_for_xmitr(struct uart_8250_port *up, int bits) static int

[PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-20 Thread Sitsofe Wheeler
While booting a Hyper-V 3.17.0-rc1 guest on a 2012 R2 host a BUG was triggered while registering hyperv_fb which in turn caused a panic. Various kernel debugging options (CONFIG_DEBUG_PAGEALLOC, CONFIG_SLUB_DEBUG=y...) were on at the time. This only seems to happen if the guest is being booted

Re: [PATCH] TCP: add option for silent port knocking with integrity protection

2014-08-20 Thread Hagen Paul Pfeifer
On 20 August 2014 11:07, Alexander Holler hol...@ahsoftware.de wrote: For sure it could be better, but I'm already happy with the current imperfect solution which I can use now and not some perfect solution which might be available in some years. Alexander, to make it clear: we cannot include

Re: [PATCH v1 01/12] dmaengine: dw: move dw_dmac.h to where it belongs to

2014-08-20 Thread Andy Shevchenko
On Wed, 2014-08-20 at 14:25 +0530, Viresh Kumar wrote: On Tue, Aug 19, 2014 at 10:59 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: There is a common storage for platform data related structures and definitions inside kernel source tree. The patch moves file from

[PATCH] MAINTAINERS: add entry for the PWM fan driver

2014-08-20 Thread Kamil Debski
Signed-off-by: Kamil Debski k.deb...@samsung.com --- MAINTAINERS |8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 548602f..38e4765 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7244,6 +7244,14 @@ T: git git://linuxtv.org/media_tree.git S:

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-08-20 Thread Jiri Olsa
On Tue, Aug 19, 2014 at 01:42:12PM -0400, Alexandre Montplaisir wrote: Hi Jiri, (sorry for breaking the thread, I didn't have the original email, but was forwarded it) np, some other folks to the CC I work on the Eclipse viewer (a.k.a. Trace Compass). so I've put perf converted CTF

[PATCH] MAINTAINERS: add entry for the Samsung USB2 PHY driver

2014-08-20 Thread Kamil Debski
Signed-off-by: Kamil Debski k.deb...@samsung.com --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 05dc39d..548602f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7873,6 +7873,19 @@ S: Supported L:

[PATCH 1/1] jump_label: tidy jump_label_ratelimit.h

2014-08-20 Thread Zhouyi Zhou
jump_label_ratelimit.h is split from jump_label.h to enable the includers who don't want linux/workqueue.h. As HAVE_JUMP_LABEL is only defined in jump_label.h, will following patch makes jump_labe_ratelimit.h more tidy? Compiled and Tested in x86_64 Signed-off-by: Zhouyi Zhou

[PATCH V2] sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe

2014-08-20 Thread Zhu Yanjun
Hi, Vlad Deepak Michael David Daniel V2: Following the advice from Daniel Borkmann, I modified the comments and short log. From Michael Deepak lxr SCTP implementation, doesn't transit the path state to INACTIVE, if it was never confirmed. this leads to SCTP_PEER_ADDRESS_CHANGE

RE: [PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness

2014-08-20 Thread li.xi...@freescale.com
Subject: Re: [PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness On Tue, Jul 15, 2014 at 12:23:03PM +0800, Xiubo Li wrote: Device-Tree binding for device endianness Index Device Endianness properties --- 1

Re: [PATCH V2] regmap: of_regmap_get_endian() cleanup

2014-08-20 Thread Javier Martinez Canillas
Hello Stephen, On 08/19/2014 06:49 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Commit d647c199510c (regmap: add DT endianness binding support) had some issues. Commit ba1b53feb8ca (regmap: Fix DT endianess parsing logic) fixed the main problem. This patch fixes the

[PATCH 1/1] sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe

2014-08-20 Thread Zhu Yanjun
Since the transport has always been in state SCTP_UNCONFIRMED, it therefore wasn't active before and hasn't been used before, and it always has been, so it is unnecessary to bug the user with a notification. Reported-by: Deepak Khandelwal khandelwal.deepak.1...@gmail.com Suggested-by: Vlad

Re: [PATCH 1/2] i2c: designware: device tree bindings for i2c speed mode

2014-08-20 Thread Mark Rutland
On Tue, Aug 19, 2014 at 07:34:35PM +0100, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com Add speed-mode Device Tree property to select between standard and fast i2c mode. Previously, driver was hardwired as fast mode. Default to fast mode if property is not

Re: [PATCH 1/2] i2c: designware: device tree bindings for i2c speed mode

2014-08-20 Thread Mark Rutland
On Wed, Aug 20, 2014 at 10:34:59AM +0100, Mark Rutland wrote: On Tue, Aug 19, 2014 at 07:34:35PM +0100, at...@opensource.altera.com wrote: From: Alan Tull at...@opensource.altera.com Add speed-mode Device Tree property to select between standard and fast i2c mode. Previously, driver was

RE: [f2fs-dev] [PATCH 2/2] f2fs: trigger release_dirty_inode in f2fs_put_super

2014-08-20 Thread Chao Yu
-Original Message- From: Jaegeuk Kim [mailto:jaeg...@kernel.org] Sent: Wednesday, August 20, 2014 12:53 AM To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Cc: Jaegeuk Kim Subject: [f2fs-dev] [PATCH 2/2] f2fs: trigger

Re: [PATCH 03/15] tty: serial: 8250_core: add run time pm

2014-08-20 Thread Frans Klaver
On Wed, Aug 20, 2014 at 11:23:21AM +0200, Frans Klaver wrote: Hi, On Fri, Aug 15, 2014 at 07:42:31PM +0200, Sebastian Andrzej Siewior wrote: --- a/drivers/tty/serial/8250/8250_core.c +++ b/drivers/tty/serial/8250/8250_core.c @@ -1899,12 +1984,22 @@ static void wait_for_xmitr(struct

[PATCH v5 1/2] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-20 Thread Wanpeng Li
This patch fix bug https://bugzilla.kernel.org/show_bug.cgi?id=61411 TPR shadow/threshold feature is important to speed up the Windows guest. Besides, it is a must feature for certain VMM. We map virtual APIC page address and TPR threshold from L1 VMCS. If TPR_BELOW_THRESHOLD VM exit is

[PATCH v3 05/11] wireless: libertas: print esaped string via %*pE

2014-08-20 Thread Andy Shevchenko
Instead of custom approach this allows to print escaped strings via recently added kernel extension: %*pE. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/net/wireless/libertas/cfg.c | 8 ++-- drivers/net/wireless/libertas/mesh.c | 7 +++ 2 files changed, 5

[PATCH v5 2/2] KVM: nVMX: introduce apic_access_and_virtual_page_valid

2014-08-20 Thread Wanpeng Li
Introduce apic_access_and_virtual_page_valid() to check the valid of nested apic access page and virtual apic page earlier. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- arch/x86/kvm/vmx.c | 82 ++ 1 file changed, 46 insertions(+),

[PATCH v3 08/11] lib80211: remove unused print_ssid()

2014-08-20 Thread Andy Shevchenko
In kernel we have %*pE specifier to print an escaped buffer. All users now switched to that approach. This fixes a bug as well. The current implementation wrongly prints octal numbers: only two first digits are used in case when 3 are required and the rest of the string ends up cut off.

[PATCH v3 02/11] lib / string_helpers: refactoring the test suite

2014-08-20 Thread Andy Shevchenko
This patch prepares test suite for a following update. It introduces test_string_check_buf() helper which checks the result and dumps an error. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- lib/test-string_helpers.c | 39 +++ 1 file

[PATCH v3 11/11] staging: rtl8192u: use %*pEn to escape buffer

2014-08-20 Thread Andy Shevchenko
Let's use kernel's native specifier to escape a buffer. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/staging/rtl8192u/ieee80211/ieee80211.h | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git

[PATCH v3 03/11] lib / string_helpers: introduce string_escape_mem()

2014-08-20 Thread Andy Shevchenko
This is almost the opposite function to string_unescape(). Nevertheless it handles \0 and could be used for any byte buffer. The documentation is supplied together with the function prototype. The test cases covers most of the scenarios and would be expanded later on. Signed-off-by: Andy

[PATCH v3 01/11] lib / string_helpers: move documentation to c-file

2014-08-20 Thread Andy Shevchenko
The documentation of API belongs to c-file. This patch moves it accordingly. There is no functional change. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- include/linux/string_helpers.h | 34 -- lib/string_helpers.c | 38

[PATCH v3 00/11] lib: introduce string_escape_mem and %*pE specifier

2014-08-20 Thread Andy Shevchenko
The introduced function is a kind of opposite to string_unescape. We have several users of such functionality each of them created custom implementation. The series contains clean up of test suite, adding new call, and switching few users to use it via %*pE specifier. Test suite covers all of

[PATCH v3 10/11] staging: rtl8192e: use %*pEn to escape buffer

2014-08-20 Thread Andy Shevchenko
Let's use kernel's native specifier to escape a buffer. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/staging/rtl8192e/rtllib.h | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/staging/rtl8192e/rtllib.h

[PATCH v3 04/11] lib/vsprintf: add %*pE[achnops] format specifier

2014-08-20 Thread Andy Shevchenko
This allows user to print a given buffer as an escaped string. The rules are applied according to an optional mix of flags provided by additional format letters. For example, if the given buffer is: 1b 62 20 5c 43 07 22 90 0d 5d The result strings would be: %*pE\eb

Re: [PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 09:14:02AM +, li.xi...@freescale.com wrote: Subject: Re: [PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness On Tue, Jul 15, 2014 at 12:23:03PM +0800, Xiubo Li wrote: Device-Tree binding for device endianness Index Device

[PATCH v3 09/11] staging: wlan-ng: use %*pEhp to print SN

2014-08-20 Thread Andy Shevchenko
This is a generic specifier to print an escaped buffer by given criteria. Let's use it instead of custom approach. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/staging/wlan-ng/prism2sta.c | 28 ++-- 1 file changed, 2 insertions(+), 26

[PATCH v3 06/11] wireless: ipw2x00: print SSID via %*pE

2014-08-20 Thread Andy Shevchenko
Instead of custom approach this allows to print escaped strings via recently added kernel extension: %*pE. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/net/wireless/ipw2x00/ipw2100.c | 22 +-- drivers/net/wireless/ipw2x00/ipw2200.c | 270

[PATCH v5 0/5] sched: Add on_rq states and remove several double rq locks

2014-08-20 Thread Kirill Tkhai
v5: New names: TASK_ON_RQ_QUEUED, TASK_ON_RQ_MIGRATING, task_on_rq_migrating() and task_on_rq_queued(). I've pulled the latest version from peterz/queue.git, and Peter's changes are included. This series aims to get rid of some places where locks of two RQs are held at the same time.

[PATCH v3 07/11] wireless: hostap: proc: print properly escaped SSID

2014-08-20 Thread Andy Shevchenko
Instead of substituting non-printable characters by '_' let's print SSID properly escaped by using recently added %*pE specifier. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/net/wireless/hostap/hostap_proc.c | 4 +--- 1 file changed, 1 insertion(+), 3

Re: [PATCH 5/6] ARM: dts: Add vmmc and vqmmc supplies for Peach Pit and Pi boards

2014-08-20 Thread Javier Martinez Canillas
Hello Doug, On 08/19/2014 06:26 PM, Doug Anderson wrote: While your change is correct, I have a worry that it will break things if it's merged before some patches that Yuvaraj is working on. Specifically the problem on pit and pi (and any exynos5250 / 5420 / 5800 / ... boards using the

[PATCH v5 1/5] sched: Wrapper for checking task_struct::on_rq

2014-08-20 Thread Kirill Tkhai
Implement task_on_rq_queued() and use it everywhere instead of on_rq check. No functional changes. The only exception is we do not use the wrapper in check_for_tasks(), because it requires to export task_on_rq_queued() in global header files. Next patch in series would return it back, so we do

[PATCH v5 2/5] sched: Teach scheduler to understand TASK_ON_RQ_MIGRATING state

2014-08-20 Thread Kirill Tkhai
This is a new state which will be used to indicate that a task is in a process of migrating between two RQs. It allows to get rid of double_rq_lock(), which we used to use to change a rq of a queued task before. Let's consider the example. To move a task between src_rq and dst_rq we will do the

[PATCH v5 4/5] sched/fair: Remove double_lock_balance() from active_load_balance_cpu_stop()

2014-08-20 Thread Kirill Tkhai
Avoid double_rq_lock() and use TASK_ON_RQ_MIGRATING for active_load_balance_cpu_stop(). The advantage is (obviously) not holding two 'rq-lock's at the same time and thereby increasing parallelism. Further note that if there was no task to migrate we will not have acquired the second rq-lock at

Re: [PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-20 Thread Thierry Reding
On Wed, Aug 20, 2014 at 11:06:25AM +0200, Boris BREZILLON wrote: On Wed, 20 Aug 2014 10:28:20 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, Aug 20, 2014 at 10:14:22AM +0200, Boris BREZILLON wrote: Hi Thierry, On Wed, 20 Aug 2014 09:31:13 +0200 Thierry Reding

[PATCH v5 5/5] sched/fair: Remove double_lock_balance() from load_balance()

2014-08-20 Thread Kirill Tkhai
Avoid double_rq_lock() and use TASK_ON_RQ_MIGRATING for load_balance(). The advantage is (obviously) not holding two 'rq-lock's at the same time and thereby increasing parallelism. Further note that if there was no task to migrate we will not have acquired the second rq-lock at all. The

[PATCH v5 3/5] sched: Remove double_rq_lock() from __migrate_task()

2014-08-20 Thread Kirill Tkhai
Avoid double_rq_lock() and use TASK_ON_RQ_MIGRATING for __migrate_task(). The advantage is (obviously) not holding two 'rq-lock's at the same time and thereby increasing parallelism. The important point to note is that because we acquire dst-lock immediately after releasing src-lock the

[PATCH] ARM: avoid corrupts register in mcaro kputc kphex etc.

2014-08-20 Thread Wang Long
when use macro 'kputc' kphex' to print the content of register r0-r3, they will corrupts these registers. the same as the macro 'debug_reloc_start' and 'debug_reloc_end'. so using 'push' when enter the macro and 'pop' when leave the macro to fix it. Signed-off-by: Wang Long

[PATCH] uml: Add support for CONFIG_STACKTRACE

2014-08-20 Thread Daniel Walter
Add stacktrace support for User Mode Linux Signed-off-by: Daniel Walter dwal...@google.com --- arch/um/Kconfig.common | 3 +- arch/um/include/asm/stacktrace.h | 42 + arch/um/kernel/Makefile | 1 + arch/um/kernel/stacktrace.c | 80

Re: [PATCH 1/1] iommu/vt-d : clear old root entry for dump kernel

2014-08-20 Thread Li, ZhenHua
On my system, error message: [4.322008] dmar: DRHD: handling fault status reg 2 [4.327484] dmar: DMAR:[DMA Read] Request device [21:00.0] fault addr fff66000 [4.327484] DMAR:[fault reason 01] Present bit in root entry is clear fault happens on device : 21:00.0 To describe this

Re: [PATCH 0/5] RCU-walk support for autofs

2014-08-20 Thread Ian Kent
On Wed, 2014-08-20 at 11:42 +0800, Ian Kent wrote: Great minds think alike. I have basically the exact same patch and I'm testing now. It probably should be folded into autofs4: avoid taking fs_lock during rcu-walk. It takes ages though, the test has two configurations to test and each one

Re: [PATCH] TCP: add option for silent port knocking with integrity protection

2014-08-20 Thread Alexander Holler
Am 20.08.2014 11:28, schrieb Hagen Paul Pfeifer: On 20 August 2014 11:07, Alexander Holler hol...@ahsoftware.de wrote: For sure it could be better, but I'm already happy with the current imperfect solution which I can use now and not some perfect solution which might be available in some

Re: [PATCH] ARM: avoid corrupts register in mcaro kputc kphex etc.

2014-08-20 Thread Russell King - ARM Linux
On Wed, Aug 20, 2014 at 05:50:02PM +0800, Wang Long wrote: when use macro 'kputc' kphex' to print the content of register r0-r3, they will corrupts these registers. the same as the macro 'debug_reloc_start' and 'debug_reloc_end'. so using 'push' when enter the macro and 'pop' when leave

Re: [PATCH v3 2/4] pwm: rockchip: Allow polarity invert on rk3288

2014-08-20 Thread Thierry Reding
On Tue, Aug 19, 2014 at 09:07:54AM -0700, Doug Anderson wrote: The rk3288 has the ability to invert the polarity of the PWM. Let's enable that ability. To do this we increase the number of pwm_cells to 3 to allow using the PWM_POLARITY_INVERTED flag. Since the PWM driver on rk3288 is very

Re: [PATCH 3/3] ARM: at91/tclib: mask interruptions at shutdown and probe

2014-08-20 Thread Boris BREZILLON
On Wed, 20 Aug 2014 11:48:08 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, Aug 20, 2014 at 11:06:25AM +0200, Boris BREZILLON wrote: On Wed, 20 Aug 2014 10:28:20 +0200 Thierry Reding thierry.red...@gmail.com wrote: On Wed, Aug 20, 2014 at 10:14:22AM +0200, Boris BREZILLON

Re: [PATCH v3 0/17] arcmsr: change note since v13 or v2

2014-08-20 Thread Ching Huang
Hi Christoph, Thanks for your effort to fix up errors and apply the patches of arcmsr to a branch. It is great. Regards, Ching Huang On Tue, 2014-08-19 at 08:02 -0700, Christoph Hellwig wrote: Hi Ching, I've fixed up various checkpatch errors and fixed up some descriptions and applied the

Re: [PATCH] TCP: add option for silent port knocking with integrity protection

2014-08-20 Thread Alexander Holler
Am 20.08.2014 11:47, schrieb Alexander Holler: Am 20.08.2014 11:28, schrieb Hagen Paul Pfeifer: On 20 August 2014 11:07, Alexander Holler hol...@ahsoftware.de wrote: For sure it could be better, but I'm already happy with the current imperfect solution which I can use now and not some perfect

Re: [PATCH 5/6] ARM: dts: Add vmmc and vqmmc supplies for Peach Pit and Pi boards

2014-08-20 Thread Javier Martinez Canillas
Hello Andreas, Thanks a lot for your feedback. On 08/19/2014 08:37 PM, Andreas Färber wrote: mmc_2 { +vmmc-supply = tps65090_fet4; +vqmmc-supply = vqmmc_sdcard; status = okay; num-slots = 1; supports-highspeed; A convention that I picked up was to place

Re: [PATCH 1/6] ARM: dts: Add Peach Pit and Pi dts entry for max77802 PMIC

2014-08-20 Thread Javier Martinez Canillas
Hello Andreas, On 08/19/2014 08:52 PM, Andreas Färber wrote: + +max77802-pmic@9 { +compatible = maxim,max77802; +interrupt-parent = gpx3; +interrupts = 1 0; 1 IRQ_TYPE_NONE? Indeed, I'll change both on v2. Thanks a lot. Cheers, Andreas

[PATCH] mmc: sdhci: Add PCI IDs for Intel Braswell

2014-08-20 Thread Mika Westerberg
From: Alan Cox a...@linux.intel.com The hardware is the same as used in Baytrail. Add these new PCI IDs to the driver's list of supported IDs. Signed-off-by: Alan Cox a...@linux.intel.com Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/mmc/host/sdhci-pci.c | 23

Re: [PATCH] vhost: Add polling mode

2014-08-20 Thread Michael S. Tsirkin
On Wed, Aug 20, 2014 at 10:41:32AM +0200, Christian Borntraeger wrote: On 10/08/14 10:30, Razya Ladelsky wrote: From: Razya Ladelsky ra...@il.ibm.com Date: Thu, 31 Jul 2014 09:47:20 +0300 Subject: [PATCH] vhost: Add polling mode When vhost is waiting for buffers from the guest driver

RE: [f2fs-dev] [PATCH 13/13] f2fs: handle EIO not to break fs consistency

2014-08-20 Thread Chao Yu
Hi Jaegeuk, -Original Message- From: Jaegeuk Kim [mailto:jaeg...@kernel.org] Sent: Wednesday, August 13, 2014 3:49 AM To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Cc: Jaegeuk Kim Subject: [f2fs-dev] [PATCH 13/13] f2fs:

Re: [PATCH 5/6] ARM: dts: Add vmmc and vqmmc supplies for Peach Pit and Pi boards

2014-08-20 Thread Javier Martinez Canillas
Hello Andreas, On 08/20/2014 12:21 PM, Javier Martinez Canillas wrote: Hello Andreas, Thanks a lot for your feedback. On 08/19/2014 08:37 PM, Andreas Färber wrote: mmc_2 { + vmmc-supply = tps65090_fet4; + vqmmc-supply = vqmmc_sdcard; status = okay; num-slots = 1;

Re: [PATCH] i2c: designware: deduce speed mode from device tree setting

2014-08-20 Thread Romain Baeriswyl
Hi, With the patch i2c designware add support of I2C standard mode I already proposed: - I2C standard mode is selected with 100kHz clock frequency. - I2C fast mode is selected with 400kHy clock frequency. - EINVAL error is returned if clock frequency is not 10 and not 40. but this patch

[f2fs-dev][PATCH 2/3] f2fs: introduce need_do_checkpoint for readability

2014-08-20 Thread Chao Yu
This patch introduce need_do_checkpoint() to include numerous judgment condition for readability. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/file.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/fs/f2fs/file.c

[f2fs-dev][PATCH 1/3] f2fs: fix incorrect calculation with total/free inode num

2014-08-20 Thread Chao Yu
Theoretically, our total inodes number is the same as total node number, but there are three node ids are reserved in f2fs, they are 0, 1 (node nid), and 2 (meta nid), and they should never be used by user, so our total/free inode number calculated in -statfs is wrong. This patch indroduces

[f2fs-dev][PATCH 3/3] f2fs: use macro for code readability

2014-08-20 Thread Chao Yu
This patch introduces DEF_NIDS_PER_INODE/GET_ORPHAN_BLOCKS/F2FS_CP_PARK_NUM macro instead of numbers in code for readability. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c| 21 ++--- include/linux/f2fs_fs.h | 13 ++--- 2 files changed, 20

Re: [btrfs] 8d875f95: xfstests.generic.226.fail

2014-08-20 Thread Miao Xie
On Tue, 19 Aug 2014 10:58:09 -0400, Chris Mason wrote: On 08/19/2014 10:23 AM, David Sterba wrote: On Tue, Aug 19, 2014 at 07:58:20PM +0800, Fengguang Wu wrote: We noticed an xfstests failure on commit 8d875f95da43c6a8f18f77869f2ef26e9594fecc (btrfs: disable strict file flushes for renames

Re: [PATCH v5 2/2] KVM: nVMX: introduce apic_access_and_virtual_page_valid

2014-08-20 Thread Paolo Bonzini
Il 20/08/2014 11:45, Wanpeng Li ha scritto: Introduce apic_access_and_virtual_page_valid() to check the valid of nested apic access page and virtual apic page earlier. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- arch/x86/kvm/vmx.c | 82

Re: [PATCH] vhost: Add polling mode

2014-08-20 Thread Michael S. Tsirkin
On Sun, Aug 10, 2014 at 11:30:35AM +0300, Razya Ladelsky wrote: From: Razya Ladelsky ra...@il.ibm.com Date: Thu, 31 Jul 2014 09:47:20 +0300 Subject: [PATCH] vhost: Add polling mode When vhost is waiting for buffers from the guest driver (e.g., more packets to send in vhost-net's transmit

Re: [RFC 2/4] tuntap: Publish tuntap maximum number of queues as module_param

2014-08-20 Thread Jiri Pirko
Mon, Aug 18, 2014 at 03:37:18PM CEST, pagu...@redhat.com wrote: This patch publishes maximum number of tun/tap queues allocated as a read_only module parameter which a user space application like libvirt can make use of to limit maximum number of queues. Value of read_only module parameter can

[PATCH] spi/pxa2xx: Add ACPI ID for Intel Braswell

2014-08-20 Thread Mika Westerberg
From: Alan Cox a...@linux.intel.com The SPI host controller is the same as used in Baytrail, only the ACPI ID is different so add this new ID to the list. Signed-off-by: Alan Cox a...@linux.intel.com Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/spi/spi-pxa2xx.c | 1

Re: [PATCH] vhost: Add polling mode

2014-08-20 Thread Michael S. Tsirkin
On Tue, Aug 19, 2014 at 11:36:31AM +0300, Razya Ladelsky wrote: That was just one example. There many other possibilities. Either actually make the systems load all host CPUs equally, or divide throughput by host CPU. The polling patch adds this capability to vhost, reducing costly

How to get the number of VFs assigned to the guests in XEN

2014-08-20 Thread Sreekanth Reddy
HI, For SRIOV support, currently in the KVM environment, mpt3sas driver can use the API pci_vfs_assigned() to know the number of VFs that are currently assigned to the running VMs. So that during the PF driver unload time, if the return value of this API is greater than zero the our driver won't

Re: [PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-20 Thread gregkh
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Wed, Aug 20, 2014 at 12:32:52PM +0530, sanjeev sharma wrote: Hi, I have only moved some header files because other header files are already present there and these are only pending files which

RE: [PANIC, hyperv] BUG: unable to handle kernel paging request at ffff880077800004 (hv_ringbuffer_write)

2014-08-20 Thread Dexuan Cui
-Original Message- From: Sitsofe Wheeler Sent: Wednesday, August 20, 2014 17:27 PM To: Dexuan Cui Cc: KY Srinivasan; Greg Kroah-Hartman; Haiyang Zhang; de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; Jean-Christophe Plagniol-Villard; linux-fb...@vger.kernel.org While

Re: [RFC 2/4] tuntap: Publish tuntap maximum number of queues as module_param

2014-08-20 Thread Michael S. Tsirkin
On Wed, Aug 20, 2014 at 12:58:17PM +0200, Jiri Pirko wrote: Mon, Aug 18, 2014 at 03:37:18PM CEST, pagu...@redhat.com wrote: This patch publishes maximum number of tun/tap queues allocated as a read_only module parameter which a user space application like libvirt can make use of to limit

kernel: signal: NULL ptr deref when killing process

2014-08-20 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel, I've stumbled on the following spew: [ 512.602559] BUG: unable to handle kernel NULL pointer dereference at 001c [ 512.602566] IP: check_kill_permission (kernel/signal.c:746

<    6   7   8   9   10   11   12   13   14   15   >