Re: [PATCH RFC] vfs: add a O_NOMTIME flag

2015-05-08 Thread Eric Sandeen
On 5/7/15 10:24 PM, Andy Lutomirski wrote: > On May 8, 2015 8:11 AM, "Dave Chinner" wrote: >> >> On Thu, May 07, 2015 at 10:20:53AM -0700, Zach Brown wrote: >>> On Thu, May 07, 2015 at 10:26:17AM +1000, Dave Chinner wrote: On Wed, May 06, 2015 at 03:00:12PM -0700, Zach Brown wrote: > Add

Re: [PATCH RFC] vfs: add a O_NOMTIME flag

2015-05-08 Thread Austin S Hemmelgarn
On 2015-05-07 21:01, Sage Weil wrote: On Thu, 7 May 2015, Zach Brown wrote: On Thu, May 07, 2015 at 10:26:17AM +1000, Dave Chinner wrote: On Wed, May 06, 2015 at 03:00:12PM -0700, Zach Brown wrote: The criteria for using O_NOMTIME is the same as for using O_NOATIME: owning the file or having t

Re: [PATCH V6 00/10] namespaces: log namespaces per task

2015-05-08 Thread Richard Guy Briggs
On 15/04/27, Eric W. Biederman wrote: > Richard Guy Briggs writes: > > On 15/04/24, Eric W. Biederman wrote: > >> Richard Guy Briggs writes: > >> > On 15/04/22, Richard Guy Briggs wrote: > >> >> On 15/04/20, Eric W. Biederman wrote: > >> >> > Richard Guy Briggs writes: > >> > Do I even need to r

Re: [PATCH RFC] MIPS: KVM: role back pc in case of EMULATE_FAIL

2015-05-08 Thread James Hogan
On 07/05/15 13:51, Nicholas Mc Guire wrote: > Currently if kvm_mips_complete_mmio_load() fails with EMULATE_FAIL it will > not role back the pc nor will the caller handle this failure. > > Signed-off-by: Nicholas Mc Guire > --- > arch/mips/kvm/emulate.c |4 +++- > 1 file changed, 3 insertion

Re: [PATCHv3] ftrace: Provide trace clock monotonic raw

2015-05-08 Thread Steven Rostedt
On Fri, 8 May 2015 07:30:39 -0700 Drew Richardson wrote: > Expose the NMI safe accessor to the monotonic raw clock to the > tracer. The mono clock was added with commit > 1b3e5c0936046e7e023149ddc8946d21c2ea20eb. The advantage of the > monotonic raw clock is that it will advance more constantly t

Re: pmu_dev_alloc; warning at at kernel/locking/lockdep.c:3002 lockdep_init_map

2015-05-08 Thread Tvrtko Ursulin
On 05/07/2015 06:29 PM, Peter Zijlstra wrote: On Thu, May 07, 2015 at 07:06:26PM +0200, Peter Zijlstra wrote: On Thu, May 07, 2015 at 05:29:57PM +0100, Tvrtko Ursulin wrote: May 7 11:58:20 skl kernel: [6.066696] futex hash table entries: 1024 (order: 5, 131072 bytes) May 7 11:58:20 s

Re: [RFC] i2c-tools: i2ctransfer: add new tool

2015-05-08 Thread Wolfram Sang
> Having slept over it, I came up with a 3rd proposal: > > # i2ctransfer 0 w0x11@0x50 0xc0 0xbd= r1@0x51 > > That is, combining the slave address, direction and length into a > single parameter. The advantage is that this is all more explicit and > the risk of mixing up values is close to zero.

Re: Question about barriers for ARM on tools/perf/

2015-05-08 Thread Arnaldo Carvalho de Melo
Em Fri, May 08, 2015 at 04:25:13PM +0200, Peter Zijlstra escreveu: > On Fri, May 08, 2015 at 03:21:08PM +0100, Will Deacon wrote: > > Wouldn't it be better to go the other way, and use compiler builtins for > > the memory barriers instead of relying on the kernel? It looks like the > > perf_mmap__{

Re: Question about barriers for ARM on tools/perf/

2015-05-08 Thread David Ahern
On 5/8/15 8:27 AM, Will Deacon wrote: On Fri, May 08, 2015 at 03:25:13PM +0100, Peter Zijlstra wrote: On Fri, May 08, 2015 at 03:21:08PM +0100, Will Deacon wrote: Wouldn't it be better to go the other way, and use compiler builtins for the memory barriers instead of relying on the kernel? It lo

Re: [PATCH v4 1/3] usb: notify hcd when USB device suspend or resume

2015-05-08 Thread Alan Stern
On Fri, 8 May 2015, Lu Baolu wrote: > This patch adds two new entries in hc_driver. With these new entries, > USB core can notify host driver when a USB device is about to suspend > or just resumed. > > The xHCI spec is designed to allow an xHC implementation to cache the > endpoint state. Cachin

Re: [PATCH 1/1] suspend: delete sys_sync()

2015-05-08 Thread Alan Stern
On Fri, 8 May 2015, Len Brown wrote: > From: Len Brown > > Remove sys_sync() from the kernel's suspend flow. > > sys_sync() is extremely expensive in some configurations, > and so the kernel should not force users to pay this cost > on every suspend. > > The user-space utilities s2ram and s2di

[PATCHv3] ftrace: Provide trace clock monotonic raw

2015-05-08 Thread Drew Richardson
Expose the NMI safe accessor to the monotonic raw clock to the tracer. The mono clock was added with commit 1b3e5c0936046e7e023149ddc8946d21c2ea20eb. The advantage of the monotonic raw clock is that it will advance more constantly than the monotonic clock. Imagine someone is trying to optimize a p

Re: [PATCH] net: phy: micrel: support !CONFIG_HAVE_CLK

2015-05-08 Thread Johan Hovold
On Mon, May 04, 2015 at 01:30:58PM +0200, Niklas Cassel wrote: > On 04/27/2015 07:59 PM, Fabio Estevam wrote: > > On Mon, Apr 27, 2015 at 8:00 AM, Niklas Cassel > > wrote: > > > >> Since NULL is a valid clock, we shouldn't use > >> IS_ERR_OR_NULL. > > > > Yes, but this code is not using IS_ERR_

Re: [PATCH RFC] vfs: add a O_NOMTIME flag

2015-05-08 Thread John Stoffel
> "Sage" == Sage Weil writes: Sage> On Thu, 7 May 2015, Zach Brown wrote: >> On Thu, May 07, 2015 at 10:26:17AM +1000, Dave Chinner wrote: >> > On Wed, May 06, 2015 at 03:00:12PM -0700, Zach Brown wrote: >> > > The criteria for using O_NOMTIME is the same as for using O_NOATIME: >> > > owning

Re: [PATCH v2] nand: Add NAND driver for Mikrotik RB4xx series boards

2015-05-08 Thread Bert Vermeulen
On 05/08/2015 12:14 PM, Frans Klaver wrote: > On Thu, May 7, 2015 at 2:31 PM, Bert Vermeulen wrote: >> + >> + info->chip.priv = info; >> + info->mtd.priv = &info->chip; >> + info->mtd.owner = THIS_MODULE; > > If you should respin, could you add > > info->mtd.dev.parent = &pdev

Re: [PATCH] ftrace: Provide trace clock monotonic raw

2015-05-08 Thread Drew Richardson
On Fri, May 08, 2015 at 03:09:03PM +0100, Steven Rostedt wrote: > On Tue, 5 May 2015 07:54:46 -0700 > Drew Richardson wrote: > > > CLOCK_MONOTONIC_RAW will advance more constantly than CLOCK_MONOTONIC. > > > > Imagine someone is trying to optimize a particular program to reduce > > instructions

Re: Question about barriers for ARM on tools/perf/

2015-05-08 Thread Will Deacon
On Fri, May 08, 2015 at 03:25:13PM +0100, Peter Zijlstra wrote: > On Fri, May 08, 2015 at 03:21:08PM +0100, Will Deacon wrote: > > Wouldn't it be better to go the other way, and use compiler builtins for > > the memory barriers instead of relying on the kernel? It looks like the > > perf_mmap__{rea

RE: [PATCH 02/10] drivers:host:fsl: Use ehci_overrides structure for EHCI drv

2015-05-08 Thread Alan Stern
On Fri, 8 May 2015, Ramneek Mehresh wrote: > > On Thu, 7 May 2015, Ramneek Mehresh wrote: > > > > > Make use of ehci_driver_overrides structure for ehci-fsl driver > > > > > > Signed-off-by: Ramneek Mehresh > > > > You need to change a lot more than this. See commit a76dd463c58e (USB: > > EHCI

Re: Question about barriers for ARM on tools/perf/

2015-05-08 Thread Peter Zijlstra
On Fri, May 08, 2015 at 03:21:08PM +0100, Will Deacon wrote: > Wouldn't it be better to go the other way, and use compiler builtins for > the memory barriers instead of relying on the kernel? It looks like the > perf_mmap__{read,write}_head functions are basically just acquire/release > operations

Re: [PATCH] x86: tell the world boot_params is 16-byte aligned

2015-05-08 Thread Borislav Petkov
On Fri, May 08, 2015 at 03:42:33PM +0200, Rasmus Villemoes wrote: > It doesn't matter much, but this disassembly makes me cry a little bit: > > 81f21223 : > 81f21223: 55 push %rbp > 81f21224: 48 c7 c0 40 c2 02 82mov > $0x82

Re: Question about barriers for ARM on tools/perf/

2015-05-08 Thread Peter Zijlstra
On Fri, May 08, 2015 at 03:21:56PM +0100, Will Deacon wrote: > > The dmb things include a fence for IO, the dsb are only for between > > CPUs. > > > > So for your work the dsb are fine. > > Other way around ;) > Duh.. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: Question about barriers for ARM on tools/perf/

2015-05-08 Thread Will Deacon
On Fri, May 08, 2015 at 03:16:20PM +0100, Peter Zijlstra wrote: > On Fri, May 08, 2015 at 11:04:59AM -0300, Arnaldo Carvalho de Melo wrote: > > Hi Will, > > > > I am working on moving the stuff we have for mb/rmb/wmb from > > tools/perf/perf-sys.h to tools/include/asm/barrier.h, redirecting >

Re: [PATCH v2 1/3] usb: notify hcd when USB device suspend or resume

2015-05-08 Thread Alan Stern
On Fri, 8 May 2015, Lu, Baolu wrote: > On 05/07/2015 10:34 PM, Alan Stern wrote: > > On Thu, 7 May 2015, Lu, Baolu wrote: > > > +void(*device_suspend)(struct usb_hcd *, struct usb_device > *udev, > +pm_message_t msg); > +void(*de

Re: Question about barriers for ARM on tools/perf/

2015-05-08 Thread Will Deacon
On Fri, May 08, 2015 at 03:04:59PM +0100, Arnaldo Carvalho de Melo wrote: > Hi Will, Hi Arnaldo, > I am working on moving the stuff we have for mb/rmb/wmb from > tools/perf/perf-sys.h to tools/include/asm/barrier.h, redirecting > to tools/arch/$ARCH/include/asm/barrier.h, to make it look li

[PATCH] net: mdio-gpio: Allow for unspecified bus id

2015-05-08 Thread Bert Vermeulen
When the bus id was supplied via a struct platform_device, the driver wasn't handling -1 to mean an unspecified id of the only instance of this driver, as the platform spec requires. Signed-off-by: Bert Vermeulen --- drivers/net/phy/mdio-gpio.c | 5 - 1 file changed, 4 insertions(+), 1 delet

Re: [PATCH 3/3] tracing/mm: Don't trace mm_page_pcpu_drain on offline cpus

2015-05-08 Thread Steven Rostedt
On Fri, 08 May 2015 10:07:15 +0530 Shreyas B Prabhu wrote: > Hi Steve, > Do you have any other suggestions for this patchset or will you take > them as is? I'm fine with them (add my Acked-by), but I don't usually pull in changes for include/trace/events/*.h files. Those are usually maintained

Re: [PATCH 1/3] perf probe: Remove length limitation for showing available variables

2015-05-08 Thread Masami Hiramatsu
On 2015/05/08 21:23, He Kuang wrote: > Use struct strbuf instead of bare char[] to remove the length limitation > of variables in variable_list, so they will not disappear due to > overlength, and make preparation for adding more description for > variables. Looks good to me, except one memory lea

Re: [PATCH] MIPS: KVM: do not sign extend on unsigned MMIO load

2015-05-08 Thread James Hogan
On 07/05/15 13:47, Nicholas Mc Guire wrote: > Fix possible unintended sign extension in unsigned MMIO loads by casting > to uint16_t in the case of mmio_needed != 2. > > Signed-off-by: Nicholas Mc Guire Looks good to me. I wrote an MMIO test to reproduce the issue, and this fixes it. Reviewed-b

Re: [PATCH v2 2/2] arm64: dts: qcom: Add msm8916 CoreSight components

2015-05-08 Thread Ivan T. Ivanov
On Fri, 2015-05-08 at 08:13 -0600, Mathieu Poirier wrote: > On 8 May 2015 at 07:47, Ivan T. Ivanov iva...@linaro.org> wrote: > > On Fri, 2015-05-08 at 07:38 -0600, Mathieu Poirier wrote: > > > On 7 May 2015 at 09:36, Ivan T. Ivanov iva...@linaro.org> wrote: > > > > Add initial set of CoreSight com

Re: Question about barriers for ARM on tools/perf/

2015-05-08 Thread Peter Zijlstra
On Fri, May 08, 2015 at 11:04:59AM -0300, Arnaldo Carvalho de Melo wrote: > Hi Will, > > I am working on moving the stuff we have for mb/rmb/wmb from > tools/perf/perf-sys.h to tools/include/asm/barrier.h, redirecting > to tools/arch/$ARCH/include/asm/barrier.h, to make it look like the > ke

Re: [PATCH] drivers/base: cacheinfo: fix annoying typo when DT nodes are absent

2015-05-08 Thread Sudeep Holla
On 08/05/15 14:45, Will Deacon wrote: s/hierarcy/hierarchy/ Maybe the typo will annoy people enough so that they add the missing nodes to their device-tree files, but I still think this is better off fixed. Thanks for fixing this Will. I did notice this in few commit messages and seem to ha

Re: [PATCH v2 2/2] arm64: dts: qcom: Add msm8916 CoreSight components

2015-05-08 Thread Mathieu Poirier
On 8 May 2015 at 07:47, Ivan T. Ivanov wrote: > > On Fri, 2015-05-08 at 07:38 -0600, Mathieu Poirier wrote: >> On 7 May 2015 at 09:36, Ivan T. Ivanov iva...@linaro.org> wrote: >> > Add initial set of CoreSight components found on Qualcomm's 8x16 chipset. >> > >> > >> > + replicator@824000 {

Re: [PATCH v3 08/12] KVM: arm64: re-factor hyp.S debug register code

2015-05-08 Thread Christoffer Dall
On Thu, May 07, 2015 at 10:07:11AM +0100, Alex Bennée wrote: > This is a pre-cursor to sharing the code with the guest debug support. > This replaces the big macro that fishes data out of a fixed location > with a more general helper macro to restore a set of debug registers. It > uses macro substi

Re: [Linaro-acpi] [PATCH 2/2] ACPI / scan: Parse _CCA and setup device coherency

2015-05-08 Thread Arnd Bergmann
On Friday 01 May 2015 12:06:44 Catalin Marinas wrote: > > > Note that there are lots of ways in which you could have noncoherent DMA: > > the default on ARM32 is that it requires uncached access or explicit > > cache flushes, but it's also possible to have an SMP system where a device > > is only

Re: [PATCH] ftrace: Provide trace clock monotonic raw

2015-05-08 Thread Steven Rostedt
On Tue, 5 May 2015 07:54:46 -0700 Drew Richardson wrote: > CLOCK_MONOTONIC_RAW will advance more constantly than CLOCK_MONOTONIC. > > Imagine someone is trying to optimize a particular program to reduce > instructions executed for a given workload while minimizing the effect > on runtime. Also

Re: [PATCH 3/3] perf probe: Add --range option to show variable location range

2015-05-08 Thread Masami Hiramatsu
On 2015/05/08 21:23, He Kuang wrote: > It is not easy for users to get the accurate byte offset or the line > number where a local variable can be probed. With '--range' option, > local variables in scope of the probe point are showed with byte offset > range, and can be added according to this ran

Re: [PATCH 01/11] coresight-etm4x: Adding CoreSight ETM4x driver

2015-05-08 Thread Mathieu Poirier
On 28 April 2015 at 06:28, Linus Walleij wrote: > On Thu, Apr 23, 2015 at 12:40 AM, Mathieu Poirier > wrote: > >> From: Pratik Patel >> >> This driver manages the CoreSight ETMv4 (Embedded Trace Macrocell) IP block >> to support HW assisted tracing on ARMv7 and ARMv8 architectures. >> >> Signed-

Re: [PATCH v2 00/10] evacuate struct page from the block layer, introduce __pfn_t

2015-05-08 Thread Ingo Molnar
* Rik van Riel wrote: > The disadvantage is pretty obvious too: 4kB pages would no longer be > the fast case, with an indirection. I do not know how much of an > issue that would be, or whether it even makes sense for 4kB pages to > continue being the fast case going forward. I strongly disa

Question about barriers for ARM on tools/perf/

2015-05-08 Thread Arnaldo Carvalho de Melo
Hi Will, I am working on moving the stuff we have for mb/rmb/wmb from tools/perf/perf-sys.h to tools/include/asm/barrier.h, redirecting to tools/arch/$ARCH/include/asm/barrier.h, to make it look like the kernel and who knows, at some point even share the source code. For now I am

Re: [PATCH v2 0/3] Introduce support for MMC35240 magnetic sensor

2015-05-08 Thread jic23
Daniel Baluta writes: On Sun, Apr 26, 2015 at 8:00 PM, Jonathan Cameron wrote: On 24/04/15 16:58, Daniel Baluta wrote: This adds support for Memsic's MMC35240 magnetometer. The sensor does not offer an interrupt line for data ready so for the moment we only expose raw readings via sysfs inter

Re: [Linaro-acpi] [PATCH 2/2] ACPI / scan: Parse _CCA and setup device coherency

2015-05-08 Thread Arnd Bergmann
On Thursday 30 April 2015 16:55:14 Catalin Marinas wrote: > On Thu, Apr 30, 2015 at 03:52:17PM +0200, Arnd Bergmann wrote: > > On Thursday 30 April 2015 14:13:45 Will Deacon wrote: > > > On Thu, Apr 30, 2015 at 02:03:00PM +0100, Arnd Bergmann wrote: > > > > On Thursday 30 April 2015 12:46:15 Will D

Re: [PATCH V3] cpuidle: Handle tick_broadcast_enter() failure gracefully

2015-05-08 Thread Rafael J. Wysocki
On Friday, May 08, 2015 01:05:32 PM Preeti U Murthy wrote: > When a CPU has to enter an idle state where tick stops, it makes a call > to tick_broadcast_enter(). The call will fail if this CPU is the > broadcast CPU. Today, under such a circumstance, the arch cpuidle code > handles this CPU. This

Re: [PATCH] builddeb: fix stripped module signatures if CONFIG_DEBUG_INFO and CONFIG_MODULE_SIG_ALL are set

2015-05-08 Thread maximilian attems
Hello Michal, On Wed, May 06, 2015 at 03:30:28PM +0200, Michal Marek wrote: > > I applied the patch to kbuild.git#misc now, after fixing the whitespace. > Andrey, please use tabs for indentation, especially when the surrounding > code is already using this style. please apply this arm thingy too

Re: [PATCH v2 2/2] arm64: dts: qcom: Add msm8916 CoreSight components

2015-05-08 Thread Ivan T. Ivanov
On Fri, 2015-05-08 at 07:38 -0600, Mathieu Poirier wrote: > On 7 May 2015 at 09:36, Ivan T. Ivanov iva...@linaro.org> wrote: > > Add initial set of CoreSight components found on Qualcomm's 8x16 chipset. > > > > > > +   replicator@824000 { > > + compatible = "qcom,coresight-repl

Re: [PATCH v3 4/6] cpufreq: powernv: Call throttle_check() on receiving OCC_THROTTLE

2015-05-08 Thread Rafael J. Wysocki
On Friday, May 08, 2015 09:16:44 AM Preeti U Murthy wrote: > On 05/08/2015 02:29 AM, Rafael J. Wysocki wrote: > > On Thursday, May 07, 2015 05:49:22 PM Preeti U Murthy wrote: > >> On 05/05/2015 02:11 PM, Preeti U Murthy wrote: > >>> On 05/05/2015 12:03 PM, Shilpasri G Bhat wrote: > Hi Preeti,

RE: [PATCH V1 5/6] watchdog: da9062: DA9062 watchdog driver

2015-05-08 Thread Opensource [Steve Twiss]
On 18 April 2015 16:53 Guenter Roeck wrote: Hi Guenter, There were some missing explanations in my previous e-mails for some of your comments. Please find them below. During the da9062_wdt_probe() there were several ignored error paths and a missing cleanup . I intend to rectify this with the f

[PATCH] cpuidle: Fix the kerneldoc comment for cpuidle_enter_state()

2015-05-08 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The kerneldoc comment for cpuidle_enter_state() doesn't match the function's header any more, so fix it. Signed-off-by: Rafael J. Wysocki --- drivers/cpuidle/cpuidle.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-pm/drivers/cpuidle/cpuidle.c ==

Re: [PATCH v2 00/10] evacuate struct page from the block layer, introduce __pfn_t

2015-05-08 Thread Rik van Riel
On 05/07/2015 03:11 PM, Ingo Molnar wrote: > Stable, global page-struct descriptors are a given for real RAM, where > we allocate a struct page for every page in nice, large, mostly linear > arrays. > > We'd really need that for pmem too, to get the full power of struct > page: and that means

[PATCH] drivers/base: cacheinfo: fix annoying typo when DT nodes are absent

2015-05-08 Thread Will Deacon
s/hierarcy/hierarchy/ Maybe the typo will annoy people enough so that they add the missing nodes to their device-tree files, but I still think this is better off fixed. Cc: Sudeep Holla Cc: Greg Kroah-Hartman Signed-off-by: Will Deacon --- Documentation/ABI/testing/sysfs-devices-system-cpu |

[PATCH v3] dma-buf: add ref counting for module as exporter

2015-05-08 Thread Sumit Semwal
Add reference counting on a kernel module that exports dma-buf and implements its operations. This prevents the module from being unloaded while DMABUF file is in use. The original patch [1] was submitted by Tomasz Stanislawski, but this is a simpler way to do it. v3: call module_put() as late as

[PATCH] x86: tell the world boot_params is 16-byte aligned

2015-05-08 Thread Rasmus Villemoes
It doesn't matter much, but this disassembly makes me cry a little bit: 81f21223 : 81f21223: 55 push %rbp 81f21224: 48 c7 c0 40 c2 02 82mov$0x8202c240,%rax 81f2122b: 48 89 femov%rdi,%rsi ff

Re: [PATCH RFC 1/5] ACPI / containers : add support for ACPI0010 processor container

2015-05-08 Thread Rafael J. Wysocki
On Friday, May 08, 2015 04:50:10 PM Hanjun Guo wrote: > Hi Sudeep, > > On 2015年05月06日 22:31, Sudeep Holla wrote: > > ACPI 6.0 adds support for optional processor container device which may > > contain child objects that are either processor devices or other processor > > containers. This allows re

Re: [PATCH v3 06/10] mtd: brcmstb_nand: add SoC-specific support

2015-05-08 Thread Arnd Bergmann
On Thursday 07 May 2015 11:42:46 Brian Norris wrote: > On Thu, May 07, 2015 at 12:01:02PM +0200, Arnd Bergmann wrote: > > On Wednesday 06 May 2015 13:49:10 Brian Norris wrote: > > > On Wed, May 06, 2015 at 09:12:43PM +0200, Arnd Bergmann wrote: > > > > It looks to me like this should be handled as

Re: [PATCH v2 2/2] arm64: dts: qcom: Add msm8916 CoreSight components

2015-05-08 Thread Mathieu Poirier
On 7 May 2015 at 09:36, Ivan T. Ivanov wrote: > Add initial set of CoreSight components found on Qualcomm's 8x16 chipset. > > Signed-off-by: Ivan T. Ivanov > --- > arch/arm64/boot/dts/qcom/msm8916-coresight.dtsi | 254 > > 1 file changed, 254 insertions(+) > create mod

Re: [PATCH] VFS: Add back check for !inode in walk_component()

2015-05-08 Thread Steven Rostedt
On Thu, 7 May 2015 18:02:50 -0400 Steven Rostedt wrote: > It booted. Now I'm running my tests on it. Seems to survive. > > I'll reboot without it and see how long it takes to crash, and then > I'll make sure that it can survive at least 10x that time. > > I may not report back till tomorrow (u

Re: [PATCH] intel_pstate: set BYT MSR with wrmsrl_on_cpu()

2015-05-08 Thread Rafael J. Wysocki
On Thursday, May 07, 2015 04:22:32 PM Joe Konno wrote: > On Thu, May 07, 2015 at 10:58:11PM +0200, Rafael J. Wysocki wrote: > > On Thursday, May 07, 2015 09:59:39 AM Joe Konno wrote: > > > From: Joe Konno > > > > > > In instances where the default cpufreq governor is Performance, reading > > > >

[PATCH v6 4/4] iio: Documentation: Add IIO configfs documentation

2015-05-08 Thread Daniel Baluta
Signed-off-by: Daniel Baluta --- Documentation/ABI/testing/configfs-iio | 20 Documentation/iio/iio_configfs.txt | 58 ++ 2 files changed, 78 insertions(+) create mode 100644 Documentation/ABI/testing/configfs-iio create mode 100644 Documentation

Re: [PATCHv6 05/10] ARM: mxs: fix in tree users of ssd1306

2015-05-08 Thread Maxime Ripard
Hi Shawn, On Thu, May 07, 2015 at 07:28:01PM +0800, Shawn Guo wrote: > On Thu, May 07, 2015 at 01:55:35PM +0300, Tomi Valkeinen wrote: > > Hi, > > > > On 31/03/15 21:27, Thomas Niederprüm wrote: > > > This patch updates the in tree-users of the SSD1306 controller for using > > > the newly introdu

[PATCH v6 3/4] iio: trigger: Introduce IIO hrtimer based trigger

2015-05-08 Thread Daniel Baluta
This patch registers a new IIO software trigger interrupt source based on high resolution timers. Notice that if configfs is enabled we create sampling_frequency attribute allowing users to change hrtimer period (1/sampling_frequency). The IIO hrtimer trigger has a long history, this patch is bas

[PATCH v6 1/4] iio: core: Introduce IIO software triggers

2015-05-08 Thread Daniel Baluta
A software trigger associates an IIO device trigger with a software interrupt source (e.g: timer, sysfs). This patch adds the generic infrastructure for handling software triggers. Software interrupts sources are kept in a iio_trigger_types_list and registered separately when the associated kernel

[tip:locking/core] locking/qspinlock: Introduce a simple generic 4-byte queued spinlock

2015-05-08 Thread tip-bot for Waiman Long
Commit-ID: a33fda35e3a7655fb7df756ed67822afb5ed5e8d Gitweb: http://git.kernel.org/tip/a33fda35e3a7655fb7df756ed67822afb5ed5e8d Author: Waiman Long AuthorDate: Fri, 24 Apr 2015 14:56:30 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:36:25 +0200 locking/qspinlock: Introduce

[tip:x86/asm] x86/entry: Remove unused 'kernel_stack' per-cpu variable

2015-05-08 Thread tip-bot for Denys Vlasenko
Commit-ID: fed7c3f0f750f225317828d691e9eb76eec887b3 Gitweb: http://git.kernel.org/tip/fed7c3f0f750f225317828d691e9eb76eec887b3 Author: Denys Vlasenko AuthorDate: Fri, 24 Apr 2015 17:31:34 +0200 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 13:49:43 +0200 x86/entry: Remove unused '

[tip:x86/asm] x86/entry: Define 'cpu_current_top_of_stack' for 64-bit code

2015-05-08 Thread tip-bot for Denys Vlasenko
Commit-ID: 3a23208e69679597e767cf3547b1a30dd845d9b5 Gitweb: http://git.kernel.org/tip/3a23208e69679597e767cf3547b1a30dd845d9b5 Author: Denys Vlasenko AuthorDate: Fri, 24 Apr 2015 17:31:35 +0200 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 13:50:02 +0200 x86/entry: Define 'cpu_cur

[PATCH v6 0/4] Add initial configfs support for IIO

2015-05-08 Thread Daniel Baluta
This patchset introduces IIO software triggers, offers a way of configuring them via configfs and adds the IIO hrtimer based interrupt source to be used with software triggers. The arhitecture is now split in 3 parts, to remove all IIO trigger specific parts from IIO configfs core: (1) IIO softwa

[PATCH v6 2/4] iio: core: Introduce IIO configfs support

2015-05-08 Thread Daniel Baluta
This creates an IIO configfs subystem named "iio", with a default "triggers" group. Triggers group is used for handling software triggers. To create a new software trigger one must create a directory inside the trigger directory. Software trigger name MUST follow the following convention:

[PATCH] ARM: dts: Add syscon property to the MIPI phy in exynos5420

2015-05-08 Thread Tomeu Vizoso
Since e4b3d38088df6f3acd40 ("phy: exynos-video-mipi: Fix regression by adding support for PMU regmap") the syscon property is required in samsung,s5pv210-mipi-video-phy nodes, but this DTS hadn't been updated yet. Signed-off-by: Tomeu Vizoso Cc: Sylwester Nawrocki --- arch/arm/boot/dts/exynos54

[tip:x86/asm] x86: Force inlining of atomic ops

2015-05-08 Thread tip-bot for Denys Vlasenko
Commit-ID: 2a4e90b18c256d52a7f3f77d58114f6d4e4a7f9f Gitweb: http://git.kernel.org/tip/2a4e90b18c256d52a7f3f77d58114f6d4e4a7f9f Author: Denys Vlasenko AuthorDate: Fri, 8 May 2015 12:26:02 +0200 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:55:50 +0200 x86: Force inlining of atom

[tip:x86/asm] x86/entry: Stop using PER_CPU_VAR(kernel_stack)

2015-05-08 Thread tip-bot for Denys Vlasenko
Commit-ID: 63332a8455d8310b77d38779c6c21a660a8d9feb Gitweb: http://git.kernel.org/tip/63332a8455d8310b77d38779c6c21a660a8d9feb Author: Denys Vlasenko AuthorDate: Fri, 24 Apr 2015 17:31:33 +0200 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 13:43:52 +0200 x86/entry: Stop using PER_

[tip:x86/build] x86/kconfig: Fix the CONFIG_NR_CPUS description

2015-05-08 Thread tip-bot for Kirill A. Shutemov
Commit-ID: cad14bb9f8ef8bed42c3118adc0d9756e2aeeaa1 Gitweb: http://git.kernel.org/tip/cad14bb9f8ef8bed42c3118adc0d9756e2aeeaa1 Author: Kirill A. Shutemov AuthorDate: Fri, 8 May 2015 13:25:26 +0300 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:58:56 +0200 x86/kconfig: Fix the CO

[tip:x86/asm] x86, selftests: Add a test for the "sysret_ss_attrs " bug

2015-05-08 Thread tip-bot for Andy Lutomirski
Commit-ID: e22438f8e997ac1c8911d8808b6a4c492cd8bc6e Gitweb: http://git.kernel.org/tip/e22438f8e997ac1c8911d8808b6a4c492cd8bc6e Author: Andy Lutomirski AuthorDate: Fri, 24 Apr 2015 15:09:19 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 13:33:59 +0200 x86, selftests: Add a tes

[tip:locking/core] locking/pvqspinlock, x86: Enable PV qspinlock for Xen

2015-05-08 Thread tip-bot for David Vrabel
Commit-ID: e95e6f176c61dd0e7bd9fdfb4956df1f9bfe99d4 Gitweb: http://git.kernel.org/tip/e95e6f176c61dd0e7bd9fdfb4956df1f9bfe99d4 Author: David Vrabel AuthorDate: Fri, 24 Apr 2015 14:56:40 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:37:18 +0200 locking/pvqspinlock, x86: En

[tip:locking/core] locking/pvqspinlock, x86: Implement the paravirt qspinlock call patching

2015-05-08 Thread tip-bot for Peter Zijlstra (Intel)
Commit-ID: f233f7f1581e78fd9b4023f2e7d8c1ed89020cc9 Gitweb: http://git.kernel.org/tip/f233f7f1581e78fd9b4023f2e7d8c1ed89020cc9 Author: Peter Zijlstra (Intel) AuthorDate: Fri, 24 Apr 2015 14:56:38 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:37:09 +0200 locking/pvqspinloc

[tip:locking/core] locking/qspinlock: Use a simple write to grab the lock

2015-05-08 Thread tip-bot for Waiman Long
Commit-ID: 2c83e8e9492dc823be1d96d4c5ef75d16d3866a0 Gitweb: http://git.kernel.org/tip/2c83e8e9492dc823be1d96d4c5ef75d16d3866a0 Author: Waiman Long AuthorDate: Fri, 24 Apr 2015 14:56:35 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:36:55 +0200 locking/qspinlock: Use a simp

[tip:x86/build] x86/kconfig: Bump default NR_CPUS from 8 to 64 for 64-bit configuration

2015-05-08 Thread tip-bot for Kirill A. Shutemov
Commit-ID: c5c19941ad1bb18f010ae47f1db333c00b276d55 Gitweb: http://git.kernel.org/tip/c5c19941ad1bb18f010ae47f1db333c00b276d55 Author: Kirill A. Shutemov AuthorDate: Fri, 8 May 2015 13:25:45 +0300 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:58:56 +0200 x86/kconfig: Bump defau

[tip:locking/core] locking/qspinlock: Optimize for smaller NR_CPUS

2015-05-08 Thread tip-bot for Peter Zijlstra (Intel)
Commit-ID: 69f9cae90907e09af95fb991ed384670cef8dd32 Gitweb: http://git.kernel.org/tip/69f9cae90907e09af95fb991ed384670cef8dd32 Author: Peter Zijlstra (Intel) AuthorDate: Fri, 24 Apr 2015 14:56:34 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:36:48 +0200 locking/qspinlock:

[tip:locking/core] locking/qspinlock: Extract out code snippets for the next patch

2015-05-08 Thread tip-bot for Waiman Long
Commit-ID: 6403bd7d0ea1878a487296114eccf78658d7dd7a Gitweb: http://git.kernel.org/tip/6403bd7d0ea1878a487296114eccf78658d7dd7a Author: Waiman Long AuthorDate: Fri, 24 Apr 2015 14:56:33 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:36:41 +0200 locking/qspinlock: Extract ou

[tip:locking/core] locking/qspinlock: Revert to test-and-set on hypervisors

2015-05-08 Thread tip-bot for Peter Zijlstra (Intel)
Commit-ID: 2aa79af64263190eec610422b07f60e99a7d230a Gitweb: http://git.kernel.org/tip/2aa79af64263190eec610422b07f60e99a7d230a Author: Peter Zijlstra (Intel) AuthorDate: Fri, 24 Apr 2015 14:56:36 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:36:58 +0200 locking/qspinlock:

[tip:locking/core] locking/pvqspinlock: Implement simple paravirt support for the qspinlock

2015-05-08 Thread tip-bot for Waiman Long
Commit-ID: a23db284fe0d1879ca2002bf31077b5efa2fe2ca Gitweb: http://git.kernel.org/tip/a23db284fe0d1879ca2002bf31077b5efa2fe2ca Author: Waiman Long AuthorDate: Fri, 24 Apr 2015 14:56:37 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:37:05 +0200 locking/pvqspinlock: Implemen

[tip:locking/core] locking/pvqspinlock, x86: Enable PV qspinlock for KVM

2015-05-08 Thread tip-bot for Waiman Long
Commit-ID: bf0c7c34adc286bec3a5a38c00c773ba1b2d0396 Gitweb: http://git.kernel.org/tip/bf0c7c34adc286bec3a5a38c00c773ba1b2d0396 Author: Waiman Long AuthorDate: Fri, 24 Apr 2015 14:56:39 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:37:17 +0200 locking/pvqspinlock, x86: Ena

[tip:sched/core] signals, ptrace, sched: Fix a misaligned load inside ptrace_attach()

2015-05-08 Thread tip-bot for Palmer Dabbelt
Commit-ID: e7cc4173115347bcdaa5de2824dd46ef2c58425f Gitweb: http://git.kernel.org/tip/e7cc4173115347bcdaa5de2824dd46ef2c58425f Author: Palmer Dabbelt AuthorDate: Thu, 30 Apr 2015 21:19:55 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:06:57 +0200 signals, ptrace, sched: Fi

[tip:sched/core] sched/wait: Change wait_on_bit*() to take an unsigned long *, not a void *

2015-05-08 Thread tip-bot for Palmer Dabbelt
Commit-ID: 7e60598785f30cf3dc9e476cc0fc3feeb37a0c63 Gitweb: http://git.kernel.org/tip/7e60598785f30cf3dc9e476cc0fc3feeb37a0c63 Author: Palmer Dabbelt AuthorDate: Thu, 30 Apr 2015 21:19:56 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:05:41 +0200 sched/wait: Change wait_on

[tip:locking/core] kernel: Replace reference to ASSIGN_ONCE() with WRITE_ONCE() in comment

2015-05-08 Thread tip-bot for Preeti U Murthy
Commit-ID: 663fdcbee0a656cdaef934e7f50e6c2670373bc9 Gitweb: http://git.kernel.org/tip/663fdcbee0a656cdaef934e7f50e6c2670373bc9 Author: Preeti U Murthy AuthorDate: Thu, 30 Apr 2015 17:27:21 +0530 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:28:53 +0200 kernel: Replace reference

[tip:sched/core] ipc/mqueue: Implement lockless pipelined wakeups

2015-05-08 Thread tip-bot for Davidlohr Bueso
Commit-ID: fa6004ad4528153b699a4d5ce5ea6b33acce74cc Gitweb: http://git.kernel.org/tip/fa6004ad4528153b699a4d5ce5ea6b33acce74cc Author: Davidlohr Bueso AuthorDate: Mon, 4 May 2015 07:02:46 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:23:07 +0200 ipc/mqueue: Implement lock

[tip:sched/core] futex: Implement lockless wakeups

2015-05-08 Thread tip-bot for Davidlohr Bueso
Commit-ID: 1d0dcb3ad9d336e6d6ee020a750a7f8d907e28de Gitweb: http://git.kernel.org/tip/1d0dcb3ad9d336e6d6ee020a750a7f8d907e28de Author: Davidlohr Bueso AuthorDate: Fri, 1 May 2015 08:27:51 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:21:40 +0200 futex: Implement lockless

[tip:locking/core] locking/qspinlock, x86: Enable x86-64 to use queued spinlocks

2015-05-08 Thread tip-bot for Waiman Long
Commit-ID: d73a33973f16ab6703e75ea00edee857afa3406e Gitweb: http://git.kernel.org/tip/d73a33973f16ab6703e75ea00edee857afa3406e Author: Waiman Long AuthorDate: Fri, 24 Apr 2015 14:56:31 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:36:26 +0200 locking/qspinlock, x86: Enabl

Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable & enable from context tracking on syscall entry

2015-05-08 Thread Ingo Molnar
* Andy Lutomirski wrote: > > on return from idle we'd do: > > > > rcu_qs_ctr += 4-2+1; /* Register QS, clear bit 1, set bit 0 */ > > > > etc. On all boundary transitions we can use a constant ADD on a > > suitable percpu variable. > > Sounds good to me, except that we need to be carefu

[tip:perf/core] perf_event: Don't allow vmalloc() backed perf on powerpc

2015-05-08 Thread tip-bot for Michael Ellerman
Commit-ID: cb307113746b4d184155d2c412e8069aeaa60d42 Gitweb: http://git.kernel.org/tip/cb307113746b4d184155d2c412e8069aeaa60d42 Author: Michael Ellerman AuthorDate: Mon, 4 May 2015 16:26:39 +1000 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:26:01 +0200 perf_event: Don't allow v

Re: [PATCH] ARM:Gemini:fix compiler waring

2015-05-08 Thread Arnd Bergmann
On Thursday 07 May 2015 19:34:28 Hans Ulli Kroll wrote: > Signed-off-by: Hans Ulli Kroll > Can you re-send that patch with a description of what warning it fixes? The patch looks reasonable, but we really want all patches we merge to have a changelog. Arnd -- To unsubscribe from this l

[tip:locking/core] locking/rwsem: Reduce spinlock contention in wakeup after up_read()/up_write()

2015-05-08 Thread tip-bot for Waiman Long
Commit-ID: 59aabfc7e959f5f213e4e5cc7567ab4934da2adf Gitweb: http://git.kernel.org/tip/59aabfc7e959f5f213e4e5cc7567ab4934da2adf Author: Waiman Long AuthorDate: Thu, 30 Apr 2015 17:12:16 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:27:59 +0200 locking/rwsem: Reduce spinloc

[tip:locking/core] locking/qspinlock: Add pending bit

2015-05-08 Thread tip-bot for Peter Zijlstra (Intel)
Commit-ID: c1fb159db9f2e50e0f4025bed92a67a6a7bfa7b7 Gitweb: http://git.kernel.org/tip/c1fb159db9f2e50e0f4025bed92a67a6a7bfa7b7 Author: Peter Zijlstra (Intel) AuthorDate: Fri, 24 Apr 2015 14:56:32 -0400 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:36:32 +0200 locking/qspinlock:

[tip:sched/core] sched: Implement lockless wake-queues

2015-05-08 Thread tip-bot for Peter Zijlstra
Commit-ID: 7675104990ed255b9315a82ae827ff312a2a88a2 Gitweb: http://git.kernel.org/tip/7675104990ed255b9315a82ae827ff312a2a88a2 Author: Peter Zijlstra AuthorDate: Fri, 1 May 2015 08:27:50 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:20:45 +0200 sched: Implement lockless w

[PATCH v3] tags: much faster, parallel "make tags"

2015-05-08 Thread Alexey Dobriyan
ctags is single-threaded program. Split list of files to be tagged into equal parts, 1 part for each CPU and then merge the results. Speedup on one 2-way box I have is ~143 s => ~99 s (-31%). On another 4-way box: ~120 s => ~65 s (-46%!). Resulting "tags" files aren't byte-for-byte identical beca

[tip:sched/core] sched, timer: Use the atomic task_cputime in thread_group_cputimer

2015-05-08 Thread tip-bot for Jason Low
Commit-ID: 7110744516276e906f9197e2857d026eb2343393 Gitweb: http://git.kernel.org/tip/7110744516276e906f9197e2857d026eb2343393 Author: Jason Low AuthorDate: Tue, 28 Apr 2015 13:00:24 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:17:46 +0200 sched, timer: Use the atomic ta

[tip:sched/core] sched, timer: Provide an atomic ' struct task_cputime' data structure

2015-05-08 Thread tip-bot for Jason Low
Commit-ID: 971e8a985482c76487edb5a49811e99b96e846e1 Gitweb: http://git.kernel.org/tip/971e8a985482c76487edb5a49811e99b96e846e1 Author: Jason Low AuthorDate: Tue, 28 Apr 2015 13:00:23 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:17:45 +0200 sched, timer: Provide an atomic

[tip:sched/core] sched, timer: Convert usages of ACCESS_ONCE() in the scheduler to READ_ONCE()/WRITE_ONCE()

2015-05-08 Thread tip-bot for Jason Low
Commit-ID: 316c1608d15c736439d4065ed12f306db554b3da Gitweb: http://git.kernel.org/tip/316c1608d15c736439d4065ed12f306db554b3da Author: Jason Low AuthorDate: Tue, 28 Apr 2015 13:00:20 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:11:32 +0200 sched, timer: Convert usages of

[tip:sched/core] sched/numa: Document usages of mm->numa_scan_seq

2015-05-08 Thread tip-bot for Jason Low
Commit-ID: 7e5a2c1729f1612618ed236249a15bf15f309325 Gitweb: http://git.kernel.org/tip/7e5a2c1729f1612618ed236249a15bf15f309325 Author: Jason Low AuthorDate: Thu, 30 Apr 2015 17:28:14 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:13:13 +0200 sched/numa: Document usages of

[tip:sched/core] sched, timer: Replace spinlocks with atomics in thread_group_cputimer(), to improve scalability

2015-05-08 Thread tip-bot for Jason Low
Commit-ID: 1018016c706f7ff9f56fde3a649789c47085a293 Gitweb: http://git.kernel.org/tip/1018016c706f7ff9f56fde3a649789c47085a293 Author: Jason Low AuthorDate: Tue, 28 Apr 2015 13:00:22 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:15:31 +0200 sched, timer: Replace spinlocks

Re: [PATCH v4 0/3] idle memory tracking

2015-05-08 Thread Vladimir Davydov
On Thu, May 07, 2015 at 05:09:39PM +0300, Vladimir Davydov wrote: > SCRIPT FOR COUNTING IDLE PAGES PER CGROUP Oops, this script is stale. The correct one is here: --- #! /usr/bin/python # import os import stat import errno import struct CGROUP_MOUNT = "/sys/fs/cgroup/memory" BUFSIZE =

[tip:sched/core] sched/core: Remove unnecessary down/ up conversion

2015-05-08 Thread tip-bot for Nicholas Mc Guire
Commit-ID: ce2f5fe46303d1e1a2ba453753a7e8200d32182c Gitweb: http://git.kernel.org/tip/ce2f5fe46303d1e1a2ba453753a7e8200d32182c Author: Nicholas Mc Guire AuthorDate: Sun, 3 May 2015 10:51:56 +0200 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:10:07 +0200 sched/core: Remove unnec

[tip:sched/core] signals, sched: Change all uses of JOBCTL_* from 'int' to 'long'

2015-05-08 Thread tip-bot for Palmer Dabbelt
Commit-ID: b76808e6808e34e7e78131d2b8cb0535622b8e9f Gitweb: http://git.kernel.org/tip/b76808e6808e34e7e78131d2b8cb0535622b8e9f Author: Palmer Dabbelt AuthorDate: Thu, 30 Apr 2015 21:19:57 -0700 Committer: Ingo Molnar CommitDate: Fri, 8 May 2015 12:04:36 +0200 signals, sched: Change all

<    1   2   3   4   5   6   7   8   >