[PATCH v12 net-next 0/1] introduce Hyper-V VM Sockets(hv_sock)

2016-06-24 Thread Dexuan Cui
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat like TCP over VMBus, but the transportation layer (VMBus) is much simpler than IP. With Hyper-V Sockets, applications between the host and the guest can talk to each other

[PATCH v2 2/5] regulator: tps65218: Enable suspend configuration

2016-06-24 Thread Keerthy
From: Tero Kristo TPS65218 has a pre-defined power-up / power-down sequence which in a typical application does not need to be changed. However, it is possible to define custom sequences under I2C control. The power-up sequence is defined by strobes and delay times. Each output

Re: Documenting ptrace access mode checking

2016-06-24 Thread Michael Kerrisk (man-pages)
Stephen, On 06/23/2016 08:05 PM, Stephen Smalley wrote: On 06/21/2016 05:41 AM, Michael Kerrisk (man-pages) wrote: Hi Jann, Stephen, et al. Jann, since you recently committed a patch in this area, and Stephen, since you committed 006ebb40d3d much further back in time, I wonder if you might

[PATCH v2 3/5] regulator: tps65218: force set power-up/down strobe to 3 for dcdc3

2016-06-24 Thread Keerthy
From: Tero Kristo The reset value for this register seems broken on certain versions of tps65218 chip, so make sure the dcdc3 settings is proper. Needed for proper functionality of rtc+ddr / rtc-only modes. Signed-off-by: Tero Kristo Signed-off-by: Dave

Re: Documenting ptrace access mode checking

2016-06-24 Thread Michael Kerrisk (man-pages)
On 06/22/2016 11:11 PM, Kees Cook wrote: On Wed, Jun 22, 2016 at 12:21 PM, Michael Kerrisk (man-pages) wrote: On 06/21/2016 10:55 PM, Jann Horn wrote: On Tue, Jun 21, 2016 at 11:41:16AM +0200, Michael Kerrisk (man-pages) wrote: 5. The kernel LSM

Re: [PATCH v5 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-06-24 Thread Wu, Songjun
On 6/24/2016 15:35, Boris Brezillon wrote: On Fri, 24 Jun 2016 13:54:09 +0800 "Wu, Songjun" wrote: Hi Rob, Thank you for your comments. On 6/20/2016 21:25, Rob Herring wrote: On Fri, Jun 17, 2016 at 04:57:14PM +0800, Songjun Wu wrote: DT binding documentation for

[PATCH perf/core v12 03/16] perf probe: Remove caches when --cache is given

2016-06-24 Thread Masami Hiramatsu
From: Masami Hiramatsu perf-probe --del removes caches when --cache is given. Note that the delete pattern is not same as normal events. If you cached probes with event name, --del "eventname" works as expected. However, if you skipped it, the cached probes

[PATCH perf/core v12 02/16] perf probe: Show all cached probes

2016-06-24 Thread Masami Hiramatsu
From: Masami Hiramatsu perf probe --list shows all cached probes when --cache is given. Each caches are shown with on which binary that probed. e.g. - # perf probe --cache vfs_read \$params # perf probe --cache -x /lib64/libc-2.17.so getaddrinfo

[PATCH perf/core v12 04/16] perf/sdt: ELF support for SDT

2016-06-24 Thread Masami Hiramatsu
From: Hemant Kumar This patch serves the initial support to identify and list SDT events in binaries. When programs containing SDT markers are compiled, gcc with the help of assembler directives identifies them and places them in the section ".note.stapsdt". To find

[PATCH perf/core v12 01/16] perf probe: Use cache entry if possible

2016-06-24 Thread Masami Hiramatsu
From: Masami Hiramatsu Before analyzing debuginfo, try to find a corresponding entry from probe cache always. This does not depend on --cache, the --cache enables to store/update cache, but looking up the cache is always enabled. Signed-off-by: Masami Hiramatsu

[PATCH perf/core v12 00/16] perf-probe --cache and SDT support

2016-06-24 Thread Masami Hiramatsu
Hi, Here is the 12th version of the patchset for probe-cache and initial SDT support. Here is the previous v11: https://lkml.org/lkml/2016/6/14/1041 In this version I just rename strlist__for_each to strlist__for_each_entry, and change some patch description. Thank you, --- Hemant Kumar

[PATCH 2/9] async: Introduce kfence, a N:M completion mechanism

2016-06-24 Thread Chris Wilson
Completions are a simple synchronization mechanism, suitable for 1:M barriers where many waiters maybe waiting for a single event. In situations where a single waiter needs to wait for multiple events they could wait on a list of individual completions. If many waiters need the same set of

[PATCH v3 1/2] xen-pciback: return proper values during BAR sizing

2016-06-24 Thread Jan Beulich
Reads following writes with all address bits set to 1 should return all changeable address bits as one, not the BAR size (nor, as was the case for the upper half of 64-bit BARs, the high half of the region's end address). Presumably this didn't cause any problems so far because consumers use the

Re: [PATCH 10/14] ARM: dts: sun8i: Add sy8106a regulator to Orange Pi PC

2016-06-24 Thread Chen-Yu Tsai
On Fri, Jun 24, 2016 at 3:21 AM, wrote: > From: Ondrej Jirman > > Add sy8106a regulator to r_twi bus on Orange Pi PC. This > regulator controls the CPUX voltage. > > Signed-off-by: Ondrej Jirman > --- >

[PATCH 1/9] lib: Add kselftests for async-domains

2016-06-24 Thread Chris Wilson
--- lib/Kconfig.debug | 12 +++ lib/Makefile| 1 + lib/test-async-domain.c | 131 tools/testing/selftests/lib/Makefile| 2 +- tools/testing/selftests/lib/async-domain.sh | 10

[PATCH] of_mdio: select fixed phy support unconditionally

2016-06-24 Thread Arnd Bergmann
Calling the fixed-phy functions when CONFIG_FIXED_PHY=m as a previous change tried cannot work if the caller is in built-in code: drivers/of/built-in.o: In function `of_phy_register_fixed_link': of_reserved_mem.c:(.text+0x85e0): undefined reference to `fixed_phy_register' Making of_mdio depend

Re: futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op

2016-06-24 Thread Michael Kerrisk (man-pages)
On 06/24/2016 11:52 AM, Thomas Gleixner wrote: On Fri, 24 Jun 2016, Michael Kerrisk (man-pages) wrote: By the way, I just realized something that wasn't initially obvious to me, and documented it in the futex(2) man page: Note: for FUTEX_WAIT, timeout is interpreted as a

[PATCH v3] ARM: sun8i: Add Parrot Board DTS

2016-06-24 Thread Quentin Schulz
The Parrot Board is an evaluation board with an Allwinner R16 (assumed to be close to an Allwinner A33), 4GB of eMMC, 512MB of RAM, USB host and OTG, a WiFi/Bluetooth combo chip, a micro SD Card reader, 2 controllable buttons, an LVDS port with separated backlight and capacitive touch panel ports,

[PATCH 3/3]nbd: make nbd device wait for its users

2016-06-24 Thread Pranay Kr. Srivastava
When a timeout occurs or a recv fails, then instead of abruplty killing nbd block device wait for it's users to finish. This is more required when filesystem(s) like ext2 or ext3 don't expect their buffer heads to disappear while the filesystem is mounted. Each open of a nbd device is

[PATCH v3 2/3]nbd: cleanup nbd_set_socket

2016-06-24 Thread Pranay Kr. Srivastava
This patch 1) uses spin_lock instead of irq version. 2) removes the goto statement in case a socket is already assigned with simple if-else statement. Signed-off-by: Pranay Kr. Srivastava --- drivers/block/nbd.c | 15 +-- 1 file changed, 5 insertions(+), 10

Re: [PATCH v2 5/5] regulator: qcom_rpm-regulator: Add support for pm8018 rpm regulator

2016-06-24 Thread Mark Brown
On Fri, Jun 24, 2016 at 11:18:07AM +0200, Neil Armstrong wrote: > In order to support eh Qualcomm MDM9615 SoC, add support for the > PM8018 RPM regulator in the qcom_rpm-regulator driver. Acked-by: Mark Brown signature.asc Description: PGP signature

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-24 Thread Mauro Carvalho Chehab
Em Tue, 31 May 2016 12:16:25 +0200 Markus Heiser escreveu: > Am 30.05.2016 um 23:23 schrieb Mauro Carvalho Chehab > : > > > Em Mon, 30 May 2016 23:05:34 +0300 > > Jani Nikula escreveu: > > > >>> I worry a little bit

Re: [PATCH] arm64:swiotlb:Enable only when Input size through command line

2016-06-24 Thread Konrad Rzeszutek Wilk
On Fri, Jun 24, 2016 at 10:57:29AM +0800, Jisheng Zhang wrote: > Dear Konrad, > > On Thu, 23 Jun 2016 12:06:10 -0400 Konrad Rzeszutek Wilk wrote: > > > On June 23, 2016 10:30:34 AM EDT, Catalin Marinas > > wrote: > > >On Thu, Jun 23, 2016 at 05:43:40PM +0530, Manjeet

Re: [kernel-hardening] [PATCH v7 0/9] x86/mm: memory area address KASLR

2016-06-24 Thread Ard Biesheuvel
On 24 June 2016 at 03:11, Jason Cooper wrote: > Hi Ard, > > On Thu, Jun 23, 2016 at 10:05:53PM +0200, Ard Biesheuvel wrote: >> On 23 June 2016 at 21:58, Kees Cook wrote: >> > On Thu, Jun 23, 2016 at 12:33 PM, Jason Cooper >> >

Re: [PATCH] PM / devfreq: Send the DEVFREQ_POSTCHANGE notification when target() is failed

2016-06-24 Thread Rafael J. Wysocki
On Friday, June 24, 2016 12:28:09 AM MyungJoo Ham wrote: > > Hi, > > > > 2016-06-23 22:40 GMT+09:00 Rafael J. Wysocki : > > > On Thu, Jun 23, 2016 at 4:18 AM, Chanwoo Choi > > > wrote: > > >> This patch sends the DEVFREQ_POSTCHANGE notification when > >

Re: [PATCH 0/2] intel_idle updates

2016-06-24 Thread Rafael J. Wysocki
On Friday, June 17, 2016 01:28:32 AM Len Brown wrote: > Rafael, > > Since you've already pulled Dave's intel-family.h intel_idle changes > into your tree, please also apply these intel_idle patches to that branch. > > [PATCH 1/2] drivers/idle: make intel_idle.c driver more explicitly > [PATCH

RE: linux-next: build failure after merge of the crypto tree

2016-06-24 Thread Benedetto, Salvatore
> -Original Message- > From: Herbert Xu [mailto:herb...@gondor.apana.org.au] > Sent: Friday, June 24, 2016 2:33 PM > To: Stephen Rothwell > Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Benedetto, > Salvatore >

Re: [Nbd] [PATCH 1/2] nbd: make nbd device wait for its users

2016-06-24 Thread Eric Blake
On 06/24/2016 03:29 AM, Markus Pargmann wrote: > From: "Pranay Kr. Srivastava" > > When a timeout occurs or a recv fails, then instead of abruplty killing s/abruplty/abruptly/ > nbd block device wait for it's users to finish. s/it's/its/ (remember, "it's" is only usable

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

2016-06-24 Thread Lars Ellenberg
On Fri, Jun 24, 2016 at 07:36:57PM +0800, Ming Lei wrote: > > > > This is not a theoretical problem. > > At least int DRBD, and an unfortunately high IO concurrency wrt. the > > "max-buffers" setting, without this patch we have a reproducible deadlock. > > Is there any log about the deadlock? And

[patch V3 19/22] timer: Forward wheel clock whenever possible

2016-06-24 Thread Thomas Gleixner
The wheel clock is stale when a cpu goes into a long idle sleep. This has the side effect, that timers which are queued end up in the outer wheel levels. That results in coarser granularity. To solve this, we keep track of the idle state and forward the wheel clock whenever it's possible.

[patch V3 04/22] cpufreq/powernv: Initialize timer as pinned

2016-06-24 Thread Thomas Gleixner
Pinned timers must carry that attribute in the timer itself. No functional change. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Chris Mason Cc: Eric Dumazet Cc:

Re: sound: use-after-free in hrtimer_cancel

2016-06-24 Thread Takashi Iwai
On Fri, 24 Jun 2016 15:48:53 +0200, Dmitry Vyukov wrote: > > On Fri, Jun 24, 2016 at 3:33 PM, Takashi Iwai wrote: > > On Tue, 21 Jun 2016 19:41:28 +0200, > > Dmitry Vyukov wrote: > >> > >> On Mon, Jun 6, 2016 at 6:39 PM, Takashi Iwai wrote: > >> > On Mon, 06 Jun

[patch V3 18/22] tick/sched: Remove pointless empty function

2016-06-24 Thread Thomas Gleixner
This was a failed attempt to optimize the timer expiry in idle, which was disabled and never revisited. Remove the cruft. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Chris Mason Cc:

[patch V3 09/22] timer: Remove mod_timer_pinned

2016-06-24 Thread Thomas Gleixner
We switched all users to initialize the timers as pinned and call mod_timer(). Remove the now unused function. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Chris Mason Cc: Eric Dumazet

[patch V3 12/22] timer: Give a few structs and members proper names

2016-06-24 Thread Thomas Gleixner
Some of the names are not longer correct and others are simply too long to type. Clean it up before we switch the wheel implementation over to the new scheme. No functional change. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Frederic

[patch V3 11/22] hlist: Add hlist_is_singular_node() helper

2016-06-24 Thread Thomas Gleixner
Required to figure out whether the entry is the only one in the hlist. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Chris Mason Cc: Eric Dumazet Cc:

[patch V3 01/22] timer: Make pinned a timer property

2016-06-24 Thread Thomas Gleixner
We want to move the timer migration from a push to a pull model. This requires to store the pinned attribute of a timer in the timer itself. This must happen at initialization time. Add the helper macros for this. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra

[patch V3 03/22] x86/mce: Initialize timer as pinned

2016-06-24 Thread Thomas Gleixner
Pinned timers must carry that attribute in the timer itself. No functional change. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Chris Mason Cc: Eric Dumazet Cc:

[patch V3 10/22] signal: Use hrtimer for sigtimedwait

2016-06-24 Thread Thomas Gleixner
We've converted most timeout related syscalls to hrtimers. sigtimedwait() did not get this treatment. Convert it so we get a reasonable accuracy and remove the user space exposure to the timer wheel properties. Signed-off-by: Thomas Gleixner Cc: Cyril Hrubis

Re: [PATCH net] Bridge: Fix ipv6 mc snooping if bridge has no ipv6 address

2016-06-24 Thread Linus Lüssing
On Fri, Jun 24, 2016 at 12:35:18PM +0200, Daniel Danzberger wrote: > The bridge is falsly dropping ipv6 mulitcast packets if there is: > 1. No ipv6 address assigned on the brigde. > 2. No external mld querier present. > 3. The internal querier enabled. > > When the bridge fails to build mld

Re: sound: use-after-free in hrtimer_cancel

2016-06-24 Thread Dmitry Vyukov
On Fri, Jun 24, 2016 at 3:32 PM, Takashi Iwai wrote: > On Tue, 21 Jun 2016 20:26:48 +0200, > Dmitry Vyukov wrote: >> >> On Mon, Jun 6, 2016 at 4:11 PM, Takashi Iwai wrote: >> > On Sat, 04 Jun 2016 20:27:50 +0200, >> > Dmitry Vyukov wrote: >> >> >> >> On Sat, Jun 4,

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-24 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 03:23:37PM +0200, Vincent Guittot wrote: > On 24 June 2016 at 15:09, Peter Zijlstra wrote: > > On Fri, Jun 24, 2016 at 02:44:07PM +0200, Vincent Guittot wrote: > > > >> > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > >> > index

Re: sound: use-after-free in hrtimer_cancel

2016-06-24 Thread Takashi Iwai
On Tue, 21 Jun 2016 19:41:28 +0200, Dmitry Vyukov wrote: > > On Mon, Jun 6, 2016 at 6:39 PM, Takashi Iwai wrote: > > On Mon, 06 Jun 2016 18:29:25 +0200, > > Dmitry Vyukov wrote: > >> > >> On Mon, Jun 6, 2016 at 4:11 PM, Takashi Iwai wrote: > >> > On Sat, 04 Jun

[PATCH] mcb: Added support for LPC or non PCI based MCB carrier

2016-06-24 Thread Andreas Werner
Add support for MCB bases FPGAs connected to the LPC or non PCI Bus. This driver currently supports the SC24 board. The FPGA is connected to the LPC bus and is identified using the BIOS DMI string. Signed-off-by: Andreas Werner --- drivers/mcb/Kconfig | 9 +++

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-24 Thread Michal Hocko
On Thu 23-06-16 20:52:21, Oleg Nesterov wrote: > On 06/23, Linus Torvalds wrote: > > > > On Thu, Jun 23, 2016 at 10:03 AM, Oleg Nesterov wrote: > > > > > > Let me quote my previous email ;) > > > > > > And we can't free/nullify it when the parent/debuger reaps a > > >

Re: [RFC 0/5] rework fences on struct sync_file

2016-06-24 Thread Christian König
Am 24.06.2016 um 15:17 schrieb Gustavo Padovan: Hi Christian, 2016-06-24 Christian König : Am 23.06.2016 um 17:29 schrieb Gustavo Padovan: From: Gustavo Padovan Hi all, This is an attempt to improve fence support on Sync File. The

Re: [PATCH v1 19/25] PCI: rcar Gen2: Request host bridge window resources

2016-06-24 Thread Geert Uytterhoeven
Hi Bjorn, On Tue, Jun 21, 2016 at 6:49 PM, Bjorn Helgaas wrote: > On Tue, Jun 21, 2016 at 06:41:00PM +0300, Valentine Barshak wrote: >> On Tue, Jun 21, 2016 at 09:26:23AM -0500, Bjorn Helgaas wrote: >> > On Tue, Jun 21, 2016 at 12:41:31PM +0200, Geert Uytterhoeven wrote: >> >

[PATCH 0/3] Another stab at making spidev usable with devicetree

2016-06-24 Thread Michal Suchanek
Hello, This small patchset makes it possible to bind spidev manually to any SPI slave without much hassle. Thanks Michal Michal Suchanek (3): spi: spidev: fix the check for spidev in dt spi: of: allow instantiating slaves without a driver drivers core: allow id match override when

[PATCH 1/3] spi: spidev: fix the check for spidev in dt

2016-06-24 Thread Michal Suchanek
The check is supposed to warn about spidev specified directly in devicetree as compatible. This just does not work. I have a devicetree with no compatible whatsoever and hacked my kernel so I can manually bind spidev. This still triggers. Also I have no idea how this could have build with !

Re: [PATCH 1/5] hwmon: (tmp102) Use devm_add_action to register cleanup function

2016-06-24 Thread Guenter Roeck
Hi Nishanth, On 06/24/2016 07:13 AM, Nishanth Menon wrote: On 06/23/2016 07:28 PM, Guenter Roeck wrote: By registering a cleanup function with devm_add_action(), we can simplify the error path in the probe function and drop the remove function entirely. Signed-off-by: Guenter Roeck

[patch V3 20/22] timer: Only wake softirq if necessary

2016-06-24 Thread Thomas Gleixner
With the wheel forwading in place and with the HZ=1000 4ms folding we can avoid running the softirq at all. Signed-off-by: Thomas Gleixner --- kernel/time/timer.c | 11 +++ 1 file changed, 11 insertions(+) --- a/kernel/time/timer.c +++ b/kernel/time/timer.c @@

[patch V3 22/22] timer: Optimization for same expiry time in mod_timer()

2016-06-24 Thread Thomas Gleixner
From: Anna-Maria Gleixner The existing optimization for same expiry time in mod_timer() checks whether the timer expiry time is the same as the new requested expiry time. In the old timer wheel implementation this does not take the slack batching into account, neither

[PATCH 0/1] fs/nilfs2: Fix potential underflow in call to crc32_le

2016-06-24 Thread Ryusuke Konishi
Hi Andrew, Please send the following patch to upstream (hopefully in this cycle). It fixes a memory overrun issue due to incomplete sanity check of on-disk super block size information, which can result in a kernel panic, for instance, in the case where a non-nilfs volume is accidentally mounted

Re: sound: use-after-free in hrtimer_cancel

2016-06-24 Thread Takashi Iwai
On Fri, 24 Jun 2016 15:33:35 +0200, Dmitry Vyukov wrote: > > On Fri, Jun 24, 2016 at 3:32 PM, Takashi Iwai wrote: > > On Tue, 21 Jun 2016 20:26:48 +0200, > > Dmitry Vyukov wrote: > >> > >> On Mon, Jun 6, 2016 at 4:11 PM, Takashi Iwai wrote: > >> > On Sat, 04 Jun

[PATCH 1/1] fs/nilfs2: Fix potential underflow in call to crc32_le

2016-06-24 Thread Ryusuke Konishi
From: Torsten Hilbrich The value bytes comes from the filesystem which is about to be mounted. We cannot trust that the value is always in the range we expect it to be. Check its value before using it to calculate the length for the crc32_le call. It value must be

[patch V3 17/22] timer: Optimize collect timers for NOHZ

2016-06-24 Thread Thomas Gleixner
From: Anna-Maria Gleixner After a NOHZ idle sleep the wheel must be forwarded to current jiffies. There might be expired timers so the current code loops and checks the epxired buckets for timers. This can take quite some time for long NOHZ idle periods. The pending

Re: [RFC 0/5] rework fences on struct sync_file

2016-06-24 Thread Gustavo Padovan
Hi Christian, 2016-06-24 Christian König : > Am 23.06.2016 um 17:29 schrieb Gustavo Padovan: > > From: Gustavo Padovan > > > > Hi all, > > > > This is an attempt to improve fence support on Sync File. The basic idea > > is to have

Re: [RFC 1/5] dma-buf/fence: add .teardown() ops

2016-06-24 Thread Gustavo Padovan
2016-06-23 Chris Wilson : > On Thu, Jun 23, 2016 at 12:29:46PM -0300, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > fence_array requires a function to clean up its state before we > > are able to call fence_put() and release

Re: sound: use-after-free in hrtimer_cancel

2016-06-24 Thread Takashi Iwai
On Tue, 21 Jun 2016 20:26:48 +0200, Dmitry Vyukov wrote: > > On Mon, Jun 6, 2016 at 4:11 PM, Takashi Iwai wrote: > > On Sat, 04 Jun 2016 20:27:50 +0200, > > Dmitry Vyukov wrote: > >> > >> On Sat, Jun 4, 2016 at 8:00 PM, Dmitry Vyukov wrote: > >> > Hello, > >>

Re: [PATCH] ACPI: CPPC: Return error if _CPC is invalid on a CPU

2016-06-24 Thread Rafael J. Wysocki
On Wednesday, June 22, 2016 11:01:42 AM Prakash, Prashanth wrote: > Hi Hoan, > > On 6/17/2016 4:16 PM, Hoan Tran wrote: > > Based on 8.4.7.1 section of ACPI 6.1 specification, if the platform > > supports CPPC, the _CPC object must exist under all processor objects. > > If cpc_desc_ptr pointer is

Re: [PATCH v2] crypto: Jitter RNG - use ktime_get_ns as fallback

2016-06-24 Thread Herbert Xu
On Wed, Jun 22, 2016 at 07:26:06PM +0200, Stephan Mueller wrote: > Hi John, Herbert, > > Changes v2: use ktime_get_ns instead of ktime_get_raw_ns > > The testing was re-performed and indicate no difference to the previous > testing. Patch applied. Thanks. -- Email: Herbert Xu

[PATCH 1/2] ARM: dts: at91: Add pinctrl information to ethernet node.

2016-06-24 Thread Raashid Muhammed
Add missing pinctrl information to ethernet node. Signed-off-by: Raashid Muhammed Reviewed-by: Vijay Kumar B. --- arch/arm/boot/dts/at91-sam9_l9260.dts | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/2] ARM: dts: at91: Modify information in LED nodes.

2016-06-24 Thread Raashid Muhammed
Add power led node and rename status led node. Signed-off-by: Raashid Muhammed Reviewed-by: Vijay Kumar B. --- arch/arm/boot/dts/at91-sam9_l9260.dts | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-24 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 02:44:07PM +0200, Vincent Guittot wrote: > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@ -2484,7 +2484,7 @@ static inline long calc_tg_weight(struct task_group > > *tg, struct cfs_rq *cfs_rq) > > */ > > tg_weight =

Re: [Nbd] [PATCH 3/3]nbd: make nbd device wait for its users

2016-06-24 Thread Eric Blake
On 06/24/2016 04:09 AM, Pranay Kr. Srivastava wrote: > When a timeout occurs or a recv fails, then > instead of abruplty killing nbd block device s/abruplty/abruptly/ > wait for it's users to finish. s/it's/its/ > > This is more required when filesystem(s) like > ext2 or ext3 don't expect

Re: [PATCH 2/3] printk: Make the printk*once() variants return a value

2016-06-24 Thread Joe Perches
On Fri, 2016-06-24 at 10:30 +0200, Borislav Petkov wrote: > From: Borislav Petkov > > Have printk*once() return a bool which denotes whether the string was > printed or not so that calling code can react accordingly. I expected object size to either increase or stay the same with

Re: [PATCH v3 0/6] watchdog: add watchdog pretimeout framework

2016-06-24 Thread Guenter Roeck
On 06/24/2016 02:46 AM, Wolfram Sang wrote: On Tue, Jun 07, 2016 at 08:38:41PM +0300, Vladimir Zapolskiy wrote: The change adds a simple watchdog pretimeout framework infrastructure, its purpose is to allow users to select a desired handling of watchdog pretimeout events, which may be generated

Re: sound: use-after-free in hrtimer_cancel

2016-06-24 Thread Dmitry Vyukov
On Fri, Jun 24, 2016 at 3:33 PM, Takashi Iwai wrote: > On Tue, 21 Jun 2016 19:41:28 +0200, > Dmitry Vyukov wrote: >> >> On Mon, Jun 6, 2016 at 6:39 PM, Takashi Iwai wrote: >> > On Mon, 06 Jun 2016 18:29:25 +0200, >> > Dmitry Vyukov wrote: >> >> >> >> On Mon, Jun 6,

Re: [PATCH 2/2] ARM: dts: at91: Modify information in LED nodes.

2016-06-24 Thread raashidmuhammed
On 06/24/2016 07:10 PM, Alexandre Belloni wrote: Hi, On 24/06/2016 at 19:01:09 +0530, Raashid Muhammed wrote : Add power led node and rename status led node. Well, I'm ok with the change but this does more: Signed-off-by: Raashid Muhammed Reviewed-by: Vijay

Re: [Xen-devel] [PATCH v3 1/2] xen-pciback: return proper values during BAR sizing

2016-06-24 Thread David Vrabel
On 24/06/16 10:13, Jan Beulich wrote: > Reads following writes with all address bits set to 1 should return all > changeable address bits as one, not the BAR size (nor, as was the case > for the upper half of 64-bit BARs, the high half of the region's end > address). Presumably this didn't cause

[PATCH v4 1/2] checkpatch: testing more config for Kconfig help text

2016-06-24 Thread Yingjoe Chen
Current help text check only check a config option if it is followed by another config. Adding check for help text if the next entry is menuconfig, choice/ endchoice, comment, menu/endmenu, if/endif, source or end of file. Signed-off-by: Yingjoe Chen --- checkpatch

[PATCH v4 2/2] checkpatch: add Kconfig 'default n' test

2016-06-24 Thread Yingjoe Chen
If a Kconfig config option doesn't specify 'default', the default will be n. Adding 'default n' is unnecessary. Add a test to warn about this. Signed-off-by: Yingjoe Chen --- scripts/checkpatch.pl | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH 1/5] hwmon: (tmp102) Use devm_add_action to register cleanup function

2016-06-24 Thread Nishanth Menon
On 06/23/2016 07:28 PM, Guenter Roeck wrote: By registering a cleanup function with devm_add_action(), we can simplify the error path in the probe function and drop the remove function entirely. Signed-off-by: Guenter Roeck I dont seem to have a cover letter to reply

Re: [ldv-project] [net] rtl8188ee: a potential race condition

2016-06-24 Thread Vaishali Thakkar
On Friday 10 June 2016 01:51 PM, Pavel Andrianov wrote: > Hi! > > There is a potential data race in > drivers/net/wireless/realtek/rtlwifi/rtl8188ee/rtl8188ee.ko. > > In the function rtl88ee_gpio_radio_on_off_checking the flag > ppsc->rfchange_inprogress is set with a spinlock protection. In

[PATCH 2/3] spi: of: allow instantiating slaves without a driver

2016-06-24 Thread Michal Suchanek
SPI slave devices are not created when looking up driver for the slave fails. Create a device anyway so it can be manually bound to a driver. Signed-off-by: Michal Suchanek --- drivers/spi/spi.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH 3/3] drivers core: allow id match override when manually binding driver

2016-06-24 Thread Michal Suchanek
This allows binding spidev on any slave device by hand using sysfs without adding superfluous compatibles or any other needless complication. Note that any slave driver that requires configuration will fail to probe anyway. Only a driver that binds to anything can be bound successfully.

Re: [PATCH 2/2] ARM: dts: at91: Modify information in LED nodes.

2016-06-24 Thread Raashid Muhammed
Alexandre Belloni writes: > Hi, > > On 24/06/2016 at 19:01:09 +0530, Raashid Muhammed wrote : >> Add power led node and rename status led node. >> > > Well, I'm ok with the change but this does more: > >> Signed-off-by: Raashid Muhammed >> Reviewed-by: Vijay Kumar

[patch V3 15/22] timer: Remove slack leftovers

2016-06-24 Thread Thomas Gleixner
We now have implicit batching in the timer wheel. The slack is not longer used. Remove it. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Chris Mason Cc: Eric Dumazet

[patch V3 16/22] timer: Move __run_timers() function

2016-06-24 Thread Thomas Gleixner
From: Anna-Maria Gleixner Move __run_timers() below __next_timer_interrupt() and next_pending_bucket() in preparation for __run_timers() NOHZ optimization. No functional change. Signed-off-by: Anna-Maria Gleixner Signed-off-by: Thomas

[patch V3 00/22] timer: Refactor the timer wheel

2016-06-24 Thread Thomas Gleixner
This is the third version of the timer wheel rework series. The previous versions can be found here: V1: http://lkml.kernel.org/r/20160613070440.950649...@linutronix.de V2: http://lkml.kernel.org/r/20160617121134.417319...@linutronix.de The series is also available in git:

[PATCH] connector: fix out-of-order cn_proc netlink message delivery

2016-06-24 Thread Aaron Campbell
The proc connector messages include a sequence number, allowing userspace programs to detect lost messages. However, performing this detection is currently more difficult than necessary, since netlink messages can be delivered to the application out-of-order. To fix this, leave pre-emption

Re: [PATCH v3 1/6] mm/page_alloc: recalculate some of zone threshold when on/offline memory

2016-06-24 Thread Vlastimil Babka
On 05/26/2016 08:22 AM, js1...@gmail.com wrote: From: Joonsoo Kim Some of zone threshold depends on number of managed pages in the zone. When memory is going on/offline, it can be changed and we need to adjust them. This patch add recalculation to appropriate places

Re: [RFC 5/5] dma-buf/sync_file: rework fence storage in struct file

2016-06-24 Thread Gustavo Padovan
2016-06-23 Chris Wilson : > On Thu, Jun 23, 2016 at 12:29:50PM -0300, Gustavo Padovan wrote: > > -static void sync_file_add_pt(struct sync_file *sync_file, int *i, > > +static int sync_file_set_fence(struct sync_file *sync_file, > > + struct

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-24 Thread Vincent Guittot
On 24 June 2016 at 15:09, Peter Zijlstra wrote: > On Fri, Jun 24, 2016 at 02:44:07PM +0200, Vincent Guittot wrote: > >> > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c >> > index 22d64b3f5876..d4f6fb2f3057 100644 >> > --- a/kernel/sched/fair.c >> > +++

Re: linux-next: build failure after merge of the crypto tree

2016-06-24 Thread Herbert Xu
On Fri, Jun 24, 2016 at 04:20:22PM +1000, Stephen Rothwell wrote: > Hi Herbert, > > After merging the crypto tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > net/built-in.o: In function `.ecdh_shared_secret': > (.text+0x4ad8d0): multiple definition of

Re: Crashes in -next due to 'mm, page_alloc: remove fair zone allocation policy'

2016-06-24 Thread Guenter Roeck
Hi Mel, On 06/24/2016 01:39 AM, Mel Gorman wrote: On Thu, Jun 23, 2016 at 11:05:33PM -0700, Guenter Roeck wrote: Hi, I see a lot of crashes with various architectures in next-20160623. I bisected mips and sh; both bisect log point to the same patch. Bisect log is attached. arm, ppc, and x86

Re: [PATCH 2/2] ARM: dts: at91: Modify information in LED nodes.

2016-06-24 Thread Alexandre Belloni
Hi, On 24/06/2016 at 19:01:09 +0530, Raashid Muhammed wrote : > Add power led node and rename status led node. > Well, I'm ok with the change but this does more: > Signed-off-by: Raashid Muhammed > Reviewed-by: Vijay Kumar B. > --- >

Re: Kernel 4.7rc3 - Performance drop 30-40% for SPECjbb2005 and SPECjvm2008 benchmarks against 4.6 kernel

2016-06-24 Thread Peter Zijlstra
On Fri, Jun 24, 2016 at 03:23:37PM +0200, Vincent Guittot wrote: > > It seemed like a simple and cheap way to increase accuracy, nothing more > > behind it until the commit you referred to. > > Thanks for the clarification. > I thought that the difference should always be smaller than 1/64th of >

Re: [PATCH v5 1/9] [media] v4l2-core: Add support for touch devices

2016-06-24 Thread Nick Dyer
On 22/06/2016 23:08, Nick Dyer wrote: > Some touch controllers send out touch data in a similar way to a > greyscale frame grabber. > > Use a new device prefix v4l-touch for these devices, to stop generic > capture software from treating them as webcams. > > Add formats: > -

[GIT PULL] xen: bug fixes for 4.7-rc4

2016-06-24 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.7b-rc4-tag xen: bug fixes for 4.7-rc4 - - Fix x86 PV dom0 crash during early boot on some hardware. - - Fix two pciback bugs

[PATCH] cpufreq: powernv: Replacing pstate_id with frequency table index

2016-06-24 Thread Akshay Adiga
Refactoring code to use frequency table index instead of pstate_id. This abstraction will make the code independent of the pstate values. - No functional changes - The highest frequency is at frequency table index 0 and the frequency decreases as the index increases. - Macros get_index() and

[patch V3 21/22] timer: Split out index calculation

2016-06-24 Thread Thomas Gleixner
From: Anna-Maria Gleixner For further optimizations we need to seperate index calculation and queueing. No functional change. Signed-off-by: Anna-Maria Gleixner Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra

[patch V3 05/22] driver/net/ethernet/tile: Initialize timer as pinned

2016-06-24 Thread Thomas Gleixner
Pinned timers must carry that attribute in the timer itself. No functional change. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Chris Mason Cc: Eric Dumazet Cc:

[PATCH] tpm: vtpm_proxy: Introduce flag to prevent sysfs entries

2016-06-24 Thread Stefan Berger
Introduce TPM_VTPM_PROXY_NO_SYSFS flag that prevents a vtpm_proxy driver instance from having the typical sysfs entries that shows the state of the TPM. The flag is to be set in the ioctl creating the vtpm_proxy device pair and maps on a new chip flags TPM_CHIP_FLAG_NO_SYSFS. This flag would be

[patch V3 14/22] timer: Switch to a non cascading wheel

2016-06-24 Thread Thomas Gleixner
The current timer wheel has some drawbacks: 1) Cascading Cascading can be an unbound operation and is completely pointless in most cases because the vast majority of the timer wheel timers are canceled or rearmed before expiration. 2) No fast lookup of the next expiring timer In

[patch V3 13/22] timer: Reduce the CPU index space to 256k

2016-06-24 Thread Thomas Gleixner
We want to store the array index in the flags space. 256k CPUs should be enough for a while. Signed-off-by: Thomas Gleixner --- include/linux/timer.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/include/linux/timer.h +++ b/include/linux/timer.h

[patch V3 07/22] drivers/tty/mips_ejtag: Initialize timer as pinned

2016-06-24 Thread Thomas Gleixner
Pinned timers must carry that attribute in the timer itself. No functional change. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra Cc: Frederic Weisbecker Cc: Chris Mason Cc: Eric Dumazet Cc:

[PATCH v9 2/2] Input: synaptics-rmi4 - add SMBus support

2016-06-24 Thread Benjamin Tissoires
Code obtained from https://raw.githubusercontent.com/mightybigcar/synaptics-rmi4/jf/drivers/input/rmi4/rmi_smbus.c and updated to match upstream. And fixed to make it work. Signed-off-by: Benjamin Tissoires Signed-off-by: Andrew Duggan ---

[PATCH v5] mmc: sdhci-pci: add Support of Synopsys DWC_MSHC IP

2016-06-24 Thread Prabu Thangamuthu
Patch to add Standard SD Host Controller Interface compliant Synopsys sdhci-dwc controller driver. Signed-off-by: Prabu Thangamuthu --- Change log v5: -Updated review comments. Change log v4: -Updated review comments to optimize the code. Change log v3:

[PATCH v9 1/2] i2c: i801: add support of Host Notify

2016-06-24 Thread Benjamin Tissoires
The i801 chip can handle the Host Notify feature since ICH 3 as mentioned in http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf Enable the functionality unconditionally and propagate the alert on each notification. With a T440s and a Synaptics touchpad that

  1   2   3   4   5   6   7   8   9   10   >