Re: regression: nested: L1 3.15+ fails to load kvm-intel on L0 <3.10

2015-03-19 Thread Stefan Bader
On 18.03.2015 10:18, Paolo Bonzini wrote: > > > On 18/03/2015 09:46, Stefan Bader wrote: >> >> Regardless of that, I wonder whether the below (this version untested) sound >> acceptable for upstream? At least it would make debugging much simpler. :) >> >> --- a/arch/x86/kvm/vmx.c >> +++ b/arch/x8

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Andrew Morton
On Thu, 19 Mar 2015 17:54:15 +0200 Boaz Harrosh wrote: > On 03/19/2015 03:43 PM, Matthew Wilcox wrote: > <> > > > > Dan missed "Support O_DIRECT to a mapped DAX file". More generally, if we > > want to be able to do any kind of I/O directly to persistent memory, > > and I think we do, we need t

Re: [PATCH] regmap: introduce regmap_name to fix syscon regmap trace events

2015-03-19 Thread Mark Brown
On Thu, Mar 19, 2015 at 03:52:28PM -0400, Steven Rostedt wrote: > I'm not sure what you mean be driver-level vs subsystem-level. How is > this a subsystem level as regmap happens to be in the drivers code. Lots of generic, subsystem level code lives in drivers/ - most directories in there have a

Re: [PATCH 05/16] page-flags: define behavior of FS/IO-related flags on compound pages

2015-03-19 Thread Kirill A. Shutemov
On Thu, Mar 19, 2015 at 11:29:52AM -0700, Dave Hansen wrote: > On 03/19/2015 10:08 AM, Kirill A. Shutemov wrote: > > The odd exception is PG_dirty: sound uses compound pages and maps them > > with PTEs. NO_COMPOUND triggers VM_BUG_ON() in set_page_dirty() on > > handling shared fault. Let's use HEA

Re: screen goes blank when loading gma500_gfx (atom D2500)

2015-03-19 Thread One Thousand Gnomes
> Yes, with video=LVDS-1:d boot parameter, kernel boots fine and there is > graphics/video output on the screen, with the following message from kernel > when loading gma500_gfx: > > [6.472859] [drm] forcing LVDS-1 connector OFF > > (and a few others). > > There's one funky thing still -- th

Re: [PATCH v2] regmap: introduce regmap_name to fix syscon regmap trace events

2015-03-19 Thread Mark Brown
On Thu, Mar 19, 2015 at 03:58:45PM -0400, Steven Rostedt wrote: > I pulled your regmap tree: > git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git > And looked at each of the branches, and I don't see this applied. Is > there another tree I should look at? Huh, my push script seem

Re: regression: nested: L1 3.15+ fails to load kvm-intel on L0 <3.10

2015-03-19 Thread Paolo Bonzini
On 19/03/2015 20:58, Stefan Bader wrote: > This was added in 3.10. So the range of kernels affected <3.10 back > to when nested vmx became somewhat usable. For 3.2 Ben (and > obviously us) would be affected. Apart from that, I believe, it is > only 3.4 which has an active longterm. At least that

Re: [PATCH] vfio: Split virqfd into a separate module for vfio bus drivers

2015-03-19 Thread Alex Williamson
On Thu, 2015-03-19 at 20:32 +0100, Paul Bolle wrote: > On Wed, 2015-03-18 at 11:27 -0600, Alex Williamson wrote: > > --- a/drivers/vfio/virqfd.c > > +++ b/drivers/vfio/virqfd.c > > > +#define DRIVER_VERSION "0.1" > > +#define DRIVER_AUTHOR "Alex Williamson " > > +#define DRIVER_DESC "IRQFD

Re: [PATCH v2] sched, timer: Use atomics for thread_group_cputimer to improve scalability

2015-03-19 Thread Jason Low
On Thu, 2015-03-19 at 10:59 -0700, Linus Torvalds wrote: > On Thu, Mar 19, 2015 at 10:21 AM, Jason Low wrote: > > > > I tested this patch on a 32 bit ARM system with 4 cores. Using the > > generic 64 bit atomics, I did not see any performance change with this > > patch, and the relevant functions

Re: [PATCH 2/3] Documentation: i2c: describe the new slave mode

2015-03-19 Thread Uwe Kleine-König
Hello Wolfram, On Thu, Mar 12, 2015 at 01:42:02PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > Signed-off-by: Wolfram Sang > --- > Documentation/i2c/slave-interface | 178 > ++ > Documentation/i2c/summary | 4 - > 2 files changed, 178 inser

[PATCH] ARM: at91: fix pm_suspend.S compilation when ARMv6 is selected

2015-03-19 Thread Alexandre Belloni
When compiling for multiplatform for both ARMv6 and ARMv7, the default compiler flags are for ARMv6, and results in: arch/arm/mach-at91/pm_suspend.S:144: Error: selected processor does not support ARM mode `dsb' Enforce ARMv7 flags for pm_suspend.o when CPU_V7 is selected. Reported-by: fengguan

Re: [PATCH v4 1/5] mm: cma: add trace events to debug physically-contiguous memory allocations

2015-03-19 Thread Stefan Strogin
On 17/03/15 02:47, Steven Rostedt wrote: >>> +TRACE_EVENT(cma_alloc, >>> + >>> + TP_PROTO(struct cma *cma, struct page *page, int count), >>> + >>> + TP_ARGS(cma, page, count), >>> + >>> + TP_STRUCT__entry( >>> + __field(struct page *, page) >>> + __field(unsigned long, c

Re: [PATCH v4 1/5] mm: cma: add trace events to debug physically-contiguous memory allocations

2015-03-19 Thread Stefan Strogin
On 17/03/15 10:40, Ingo Molnar wrote: > > * Stefan Strogin wrote: > >>> +TRACE_EVENT(cma_alloc, >>> + >>> + TP_PROTO(struct cma *cma, struct page *page, int count), >>> + >>> + TP_ARGS(cma, page, count), >>> + >>> + TP_STRUCT__entry( >>> + __field(struct page *, page) >>> +

Re: [PATCH 1/3] i2c: slave: rework the slave API

2015-03-19 Thread Uwe Kleine-König
Hello Wolfram, On Thu, Mar 12, 2015 at 01:42:01PM +0100, Wolfram Sang wrote: > From: Wolfram Sang > > After more discussion, brave users, and additional datasheet evaluation, > some API updates for the new I2C slave framework became imminent. The > slave events now get some easier to understand

Re: [PATCH] staging: sm750fb: fixing multiple checkpatch errors and warnings

2015-03-19 Thread Dan Carpenter
On Thu, Mar 19, 2015 at 08:26:03PM +0100, Michel von Czettritz wrote: > This patch formats sm750.c to > - correct intendations > - no leading or trailing whitespaces > - no C99 Style comments > - correct braces and spacings for if, for and functions > - no initalisation of static variables to 0 or

Re: [PATCH 1/2 v2] Documentation, split up rtc.txt into documentation and test file

2015-03-19 Thread Jonathan Corbet
On Thu, 19 Mar 2015 12:24:41 -0600 Shuah Khan wrote: > Hi Jon, > > Would you like to review the change and Ack it, so I can > take the change in my tree. I'd sure like to move more stuff out of the top-level Documentation/ directory, but that's no reason to hold this up. Acked-by: Jonathan Co

Re: serial percpu_ref draining in exit_aio()

2015-03-19 Thread Jens Axboe
On 03/19/2015 11:34 AM, Tejun Heo wrote: Hello, So, Jens noticed that fio process exiting takes seconds when there are multiple aio contexts and the culprit seems to be the serial percpu_ref draining in exit_aio(). It's generally a bad idea to expose RCU latencies to userland because they add u

Re: [PATCH 1/2 v2] Documentation, split up rtc.txt into documentation and test file

2015-03-19 Thread Shuah Khan
On 03/19/2015 02:25 PM, Jonathan Corbet wrote: > On Thu, 19 Mar 2015 12:24:41 -0600 > Shuah Khan wrote: > >> Hi Jon, >> >> Would you like to review the change and Ack it, so I can >> take the change in my tree. > > I'd sure like to move more stuff out of the top-level Documentation/ > directory,

Re: [PATCH] vfio: Split virqfd into a separate module for vfio bus drivers

2015-03-19 Thread Paul Bolle
On Thu, 2015-03-19 at 14:12 -0600, Alex Williamson wrote: > Well, at some point when I was doing vfio it seemed like a good idea and > I copied it from another driver. For some time now I have this idea that there's a Linux kernel module template somewhere that uses defines like the ones you're us

Re: [PATCH v4 1/5] mm: cma: add trace events to debug physically-contiguous memory allocations

2015-03-19 Thread Steven Rostedt
On Thu, 19 Mar 2015 23:18:18 +0300 Stefan Strogin wrote: > Thank you for the reply, Steven. > I supposed that page_to_pfn() cannot change after mem_map > initialization, can it? I'm not sure about such things as memory hotplug > though... > Also cma_alloc() calls alloc_contig_range() which return

[PATCH v0 0/4] ppc64le: dynamic ftrace and kgraft support

2015-03-19 Thread Torsten Duwe
Here's an initial version of dynamic ftrace for ABIv2 (ppc64le), the code maturity is somewhere between proof of concept and pre-alpha. I have split it into 4 parts, for ftrace and kgraft, a configuration enablement and the actual code, respectively. Please have a look and tell me whether this is t

Re: [PATCH] doc: printk-formats: Fix %pU description

2015-03-19 Thread Jonathan Corbet
On Tue, 24 Feb 2015 15:26:06 +0100 Rasmus Villemoes wrote: > The documentation and the code disagrees; fix the former. Sorry for being so slow; applied, finally, to the docs tree. Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v0 1/4] ppc64le: dynamic ftrace

2015-03-19 Thread Torsten Duwe
I'm pretty sure not everything is ifdef'd properly, and the FIXME needs to be solved in order to disable ftracing again. Built upon some original code by Vojtech Pavlik. diff --git a/arch/powerpc/include/asm/ftrace.h b/arch/powerpc/include/asm/ftrace.h index e366187..a69d47e 100644 --- a/arch/pow

Re: [patch 2/7] dt: dtb version: document chosen/dtb-info node binding

2015-03-19 Thread Frank Rowand
On 3/19/2015 12:32 PM, Russell King - ARM Linux wrote: > On Thu, Mar 19, 2015 at 12:01:42PM -0700, Frank Rowand wrote: >> On 3/19/2015 11:41 AM, Russell King - ARM Linux wrote: >> What??? Why would we ever accept code that tested the dtb version >> instead of the compatible strings and properties

Re: [PATCH] Documentation: update the CONFIG_DEBUG_PAGEALLOC description

2015-03-19 Thread Jonathan Corbet
On Mon, 2 Mar 2015 07:28:40 + Wang Long wrote: > The CONFIG_DEBUG_PAGEALLOC option now is located under "Kernel > hacking" / "Memory Debugging" / "Debug page memory allocations". > so we should update the description in kmemcheck.txt. Applied to the docs tree, thanks. jon -- To unsubscribe

[PATCH v0 2/4] ppc64le: dynamic ftrace configuration options

2015-03-19 Thread Torsten Duwe
Switch on -mprofile-kernel, and remove it again from directories involved in exception handling. This needs to be done more fine grained, of course. diff --git a/Makefile b/Makefile index 1a60bdd..72644e6 100644 --- a/Makefile +++ b/Makefile @@ -732,7 +732,10 @@ ifdef CONFIG_FUNCTION_TRACER ifdef

Re: [PATCH] Documentation: i2o: remove duplicate documentation

2015-03-19 Thread Jonathan Corbet
On Tue, 3 Mar 2015 11:07:15 +0100 Wolfram Sang wrote: > We can remove the i2o documentation because a) the subsystem has been > moved to staging with commit 2cbf7fe2d5d32a (i2o: move to staging) > anyhow and b) the here removed files are present in the subsystem > directory again. There, README

Re: [RFC 01/19] extcon: add extcon-odroid-usbotg driver

2015-03-19 Thread Chanwoo Choi
Hi Roger, On Thu, Mar 19, 2015 at 11:45 PM, Roger Quadros wrote: > On 19/03/15 14:19, George Cherian wrote: >> Hi Robert, >> >> +Roger >> On Thu, Mar 19, 2015 at 5:37 PM, Robert Baldyga >> wrote: >>> Hi George, >>> >>> On 03/19/2015 09:50 AM, George Cherian wrote: Hi Robert, This

Re: [PATCH resend] kprobes: Update Documentation/kprobes.txt

2015-03-19 Thread Jonathan Corbet
On Thu, 5 Mar 2015 09:48:31 +0800 Li Bin wrote: > The patch 125e564("Move Kconfig.instrumentation to arch/Kconfig and > init/Kconfig") had removed the "Instrumentation Support" menu, > and the configurations under this had be moved to "General setup". > Update Documentation/kprobes.txt to reflect

[PATCH v0 3/4] ppc64le: kgraft support

2015-03-19 Thread Torsten Duwe
The kgraft hooks for ppc64. Just massaged a bit to get them to compile and not interfere. Feel free to test them if you're daring ;) diff --git a/arch/powerpc/include/asm/kgraft.h b/arch/powerpc/include/asm/kgraft.h new file mode 100644 index 000..7f8600d --- /dev/null +++ b/arch/powerpc/incl

[PATCH] KVM: x86: inline kvm_ioapic_handles_vector()

2015-03-19 Thread Radim Krčmář
An overhead from function call is not appropriate for its size and frequency of execution. Suggested-by: Paolo Bonzini Signed-off-by: Radim Krčmář --- I'm not very fond of that smp_rmb(): there is no real synchronization against update_handled_vectors(), so the only point I see is to drop

Re: [PATCH v7 0/9] arm64: Add the support for new Exynos5433 SoC

2015-03-19 Thread Chanwoo Choi
Dear Kukjin, Could you please pick or review this patch-set? Best Regards, Chanwoo Choi On Wed, Mar 18, 2015 at 9:17 AM, Chanwoo Choi wrote: > This patchset adds new 64-bit Exynos5433 Samsung SoC which contains quad > Cortex-A57 and quad Cortex-A53. It is desigend with the 20nm low power > pro

Re: [PATCH v3 1/4] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-03-19 Thread Sebastian Hesselbarth
On 19.03.2015 17:02, Wolfram Sang wrote: Perhaps better would be to have a mux-specific function to iterate over a mux's child nodes and instantiate buses for those. That function would check whether each bus node was disabled or not. That'd isolate the special case into the place where it was re

Re: [PATCH] Documentation/email-clients.txt: Fix one grammar mistake, add extra info about TB

2015-03-19 Thread Jonathan Corbet
On Mon, 9 Mar 2015 03:53:45 +0200 Giedrius Statkevičius wrote: > Fix one grammar mistake (Allows->Allow) and add extra information about > the external editor add-on of Thunderbird Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH v0 4/4] ppc64le: kgraft config options

2015-03-19 Thread Torsten Duwe
Enable kgraft on ppc, fairly trivial. diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 4bc7b62..d82d7c8 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -102,6 +104,7 @@ config PPC select HAVE_IOREMAP_PROT select HAVE_EFFICIENT_UNALIGNED_ACCESS if !CPU_

Re: [PATCH] perf tool: Fix ppid for synthesized fork events

2015-03-19 Thread Don Zickus
On Thu, Mar 19, 2015 at 11:41:15AM -0600, David Ahern wrote: > 363b785f38 added synthesized fork events and set a thread's parent id > to itself. Since we are already processing /proc//status the ppid > can be determined properly. Make it so. Thanks David. My tester, Joe, is currently running oth

Re: [PATCH] Documentation: Remove mentioning of block barriers

2015-03-19 Thread Jonathan Corbet
On Fri, 13 Mar 2015 23:53:22 +0300 "Leonid V. Fedorenchik" wrote: > Remove mentioning of block barriers since they were removed. Applied to the docs tree. Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.or

[PATCH] selftests: Add kselftest install tool

2015-03-19 Thread Shuah Khan
kselftest_install.sh tool installs selftests in default location which is tools/testing/selftests/kselftest or an user specified location. This tool invokes back-end selftests install target with the install location. Usage: cd tools/testing/selftests ./kselftest_install.sh [ install_dir ] Signed

Re: serial percpu_ref draining in exit_aio()

2015-03-19 Thread Jeff Moyer
Jens Axboe writes: > On 03/19/2015 11:34 AM, Tejun Heo wrote: >> Hello, >> >> So, Jens noticed that fio process exiting takes seconds when there are >> multiple aio contexts and the culprit seems to be the serial >> percpu_ref draining in exit_aio(). It's generally a bad idea to >> expose RCU la

[PATCH] selftests: Add tool to generate kselftest tar archive

2015-03-19 Thread Shuah Khan
gen_kselftest_tar.sh tool generates kselftest tar archive. This tool supports uncompressed tar, gz, bz, and xz compression formats and the default compression format is gzip. This tool runs kselftest install tool as its back-end. Usage: cd tools/testing/selftests ./gen_kselftest_tar [ tar | targz

Re: [PATCH] Documentation: drm: Use '->' when describing access through pointers.

2015-03-19 Thread Jonathan Corbet
On Mon, 16 Mar 2015 18:24:46 + Liviu Dudau wrote: > The documentation is trying to describe accessing a field through a > pointer, but it is using '-<' instead of '->'. Fix that. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [Linux-nvdimm] [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-19 Thread Dan Williams
On Thu, Mar 19, 2015 at 12:59 PM, Andrew Morton wrote: > On Thu, 19 Mar 2015 17:54:15 +0200 Boaz Harrosh wrote: > >> On 03/19/2015 03:43 PM, Matthew Wilcox wrote: >> <> >> > >> > Dan missed "Support O_DIRECT to a mapped DAX file". More generally, if we >> > want to be able to do any kind of I/O

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-19 Thread Andrew Morton
On Thu, 19 Mar 2015 08:25:02 +0100 Peter Zijlstra wrote: > On Wed, Mar 18, 2015 at 10:14:46PM -0700, Andrew Morton wrote: > > On Wed, 18 Mar 2015 14:36:32 +0100 Peter Zijlstra > > wrote: > > > > > include/linux/rbtree_latch.h | 223 > > > +++ > > > >

Re: [PATCH] doc:pci: Fix typo in Documentation/PCI

2015-03-19 Thread Jonathan Corbet
On Thu, 19 Mar 2015 00:29:30 +0900 Masanari Iida wrote: > This patch fix spelling typo in Documentation/PCI. Applied to the docs tree. Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: serial percpu_ref draining in exit_aio()

2015-03-19 Thread Tejun Heo
On Thu, Mar 19, 2015 at 04:58:33PM -0400, Jeff Moyer wrote: > Do you really want to do memory allocation in the exit path? That > sounds like a bad idea to me. (Of course, now you're going to point out > all the places that currently happens, right? ;-) I think we just need a counter there - le

Re: [PATCH 35/35 linux-next] pinctrl: constify of_device_id array

2015-03-19 Thread Hongzhou Yang
On Thu, 2015-03-19 at 19:41 +0100, Fabian Frederick wrote: > > > On 19 March 2015 at 02:58 Hongzhou Yang wrote: > > > > > > On Mon, 2015-03-16 at 20:59 +0100, Fabian Frederick wrote: > > > of_device_id is always used as const. > > > (See driver.of_match_table and open firmware functions) > > > >

Re: [PATCH v7 0/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-19 Thread Bjorn Helgaas
[+cc Florian] On Thu, Mar 12, 2015 at 05:48:48PM -0700, Ray Jui wrote: > This patch series adds the support for Broadcom iProc PCIe controller > > pcie-iproc.c servers as the common core driver, and front-end bus > interface needs to be added to support different bus interfaces > > pcie-iproc-pl

Re: [PATCH] perf tool: Fix ppid for synthesized fork events

2015-03-19 Thread David Ahern
On 3/19/15 2:56 PM, Don Zickus wrote: On Thu, Mar 19, 2015 at 11:41:15AM -0600, David Ahern wrote: >363b785f38 added synthesized fork events and set a thread's parent id >to itself. Since we are already processing/proc//status the ppid >can be determined properly. Make it so. Thanks David. My

Re: [PATCH 9/9] qspinlock,x86,kvm: Implement KVM support for paravirt qspinlock

2015-03-19 Thread Waiman Long
On 03/19/2015 06:01 AM, Peter Zijlstra wrote: On Wed, Mar 18, 2015 at 10:45:55PM -0400, Waiman Long wrote: On 03/16/2015 09:16 AM, Peter Zijlstra wrote: I do have some concern about this call site patching mechanism as the modification is not atomic. The spin_unlock() calls are in many places in

Re: [PATCH v2] perf tools: Work around lack of sched_getcpu in glibc < 2.6.

2015-03-19 Thread Vinson Lee
On Thu, Mar 19, 2015 at 6:14 AM, Arnaldo Carvalho de Melo wrote: > Em Thu, Mar 19, 2015 at 11:13:04AM +0100, Jiri Olsa escreveu: >> On Wed, Mar 18, 2015 at 04:11:52PM -0700, Vinson Lee wrote: >> > This patch fixes this build error with glibc < 2.6. > >> > +#ifdef __GLIBC_PREREQ >> > +#if !__GLIBC_

Re: [PATCH] README: Update version number reference

2015-03-19 Thread Jonathan Corbet
On Tue, 24 Feb 2015 20:22:56 -0800 Jeff Kirsher wrote: > When 4.0 is released, the README should reflect the new numbering. OK, I've applied this because it came in first. There were two other contenders, from Yaowei Bai and Josh Poimbeuf (copied) that all did mostly the same thing, but Josh wa

Re: [PATCH 2/2] README: Change gzip/bzip2 to xz compression format

2015-03-19 Thread Jonathan Corbet
On Tue, 3 Mar 2015 22:08:03 +0800 Yaowei Bai wrote: > Kernel.org is only hosting patches and kernel compressed with xz, > so change the old gzip/bzip2 instances to xz. OK, cancel my previous comment that nobody noticed this :) Applied, thanks. jon -- To unsubscribe from this list: send the li

Re: [PATCH] README: Update version number reference

2015-03-19 Thread Jeff Kirsher
On Thu, 2015-03-19 at 15:11 -0600, Jonathan Corbet wrote: > On Tue, 24 Feb 2015 20:22:56 -0800 > Jeff Kirsher wrote: > > > When 4.0 is released, the README should reflect the new numbering. > > OK, I've applied this because it came in first. There were two other > contenders, from Yaowei Bai an

Re: [patch 2/7] dt: dtb version: document chosen/dtb-info node binding

2015-03-19 Thread Frank Rowand
On 3/19/2015 12:12 PM, Mark Rutland wrote: >>> I'm not sure I see the point in adding a property which is not >>> well-defined and not guarnateed to be in any way stable. >> >> This binding is kind of an odd ball to me. It is clearly _not_ describing >> hardware, which is really the central point

Re: [PATCH v2] ARM: socfpga: dts: Add adxl34x

2015-03-19 Thread Walter Lozano
Hi Dinh, On Mon, Mar 16, 2015 at 10:10 AM, Walter Lozano wrote: > On Mon, Jan 5, 2015 at 6:21 AM, Steffen Trumtrar > wrote: >> Hi! >> >> On Wed, Dec 24, 2014 at 08:11:52PM -0300, Walter Lozano wrote: >>> This patch adds the DTS bindings for the adxl34x digital >>> accelerometer. >>> >>> Signed-o

Re: serial percpu_ref draining in exit_aio()

2015-03-19 Thread Jens Axboe
On 03/19/2015 03:00 PM, Tejun Heo wrote: On Thu, Mar 19, 2015 at 04:58:33PM -0400, Jeff Moyer wrote: Do you really want to do memory allocation in the exit path? That sounds like a bad idea to me. (Of course, now you're going to point out all the places that currently happens, right? ;-) I

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-19 Thread Steven Rostedt
On Thu, 19 Mar 2015 13:58:33 -0700 Andrew Morton wrote: > OK. This code is basically required to support perf/ftrace and > modules, yes? Presumably small and space-constrained systems aren't > using either, so they don't take the hit. > > However CONFIG_MODULES systems which aren't using perf/

Re: [PATCH 1/2 v2] Documentation, split up rtc.txt into documentation and test file

2015-03-19 Thread Shuah Khan
On 03/19/2015 02:27 PM, Shuah Khan wrote: > On 03/19/2015 02:25 PM, Jonathan Corbet wrote: >> On Thu, 19 Mar 2015 12:24:41 -0600 >> Shuah Khan wrote: >> >>> Hi Jon, >>> >>> Would you like to review the change and Ack it, so I can >>> take the change in my tree. >> >> I'd sure like to move more stu

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-19 Thread Steven Rostedt
On Thu, 19 Mar 2015 17:36:36 -0400 Steven Rostedt wrote: > diff --git a/lib/rbtree_latch.c b/lib/rbtree_latch.c > new file mode 100644 > index ..13867da4f27f > --- /dev/null > +++ b/lib/rbtree_latch.c > @@ -0,0 +1,5 @@ > + > +#ifndef CONFIG_RBTREE_LATCH_INLINE > +#define RBTREE_LATCH_

Re: [PATCH] eeprom: at24: Add support for large EEPROMs connected to SMBus adapters

2015-03-19 Thread Wolfram Sang
> Turns out this is really easy to reproduce. One process reads > the eeprom over and over again, another runs i2cdump in a loop, > and voila ... lots of corruptions. Scary, especially considering > how wide-spread this kind of i2c access is in the kernel. A coccinelle script should at least be a

Re: [PATCH 4/4] mm: numa: Slow PTE scan rate if migration failures occur

2015-03-19 Thread Linus Torvalds
On Wed, Mar 18, 2015 at 10:31 AM, Linus Torvalds wrote: > > So I think there's something I'm missing. For non-shared mappings, I > still have the idea that pte_dirty should be the same as pte_write. > And yet, your testing of 3.19 shows that it's a big difference. > There's clearly something I'm c

Re: [PATCH v1] lib/vsprintf.c: Even faster decimal conversion

2015-03-19 Thread Rasmus Villemoes
On Wed, Mar 11 2015, Andrew Morton wrote: > On Wed, 11 Mar 2015 00:01:11 +0100 Rasmus Villemoes > wrote: >> Test and verification code on github >> . It would be nice if someone could >> verify the code on architectures other than x86 - in particular, I >> bel

Re: [RFC PATCH v4 00/12] Second attempt at contained helper execution

2015-03-19 Thread Eric W. Biederman
Ian Kent writes: > Here is another update to the attempt at contained helper execution. > > The main change is I've tried to incorporate Oleg's suggestions > of directly constructing the namespaces rather than using the > open/setns approach and the addition of a namespace hash store. > > I'm not

Re: serial percpu_ref draining in exit_aio()

2015-03-19 Thread Jens Axboe
On 03/19/2015 03:27 PM, Jens Axboe wrote: On 03/19/2015 03:00 PM, Tejun Heo wrote: On Thu, Mar 19, 2015 at 04:58:33PM -0400, Jeff Moyer wrote: Do you really want to do memory allocation in the exit path? That sounds like a bad idea to me. (Of course, now you're going to point out all the plac

Re: [PATCH] KVM: x86: call irq notifiers with directed EOI

2015-03-19 Thread Marcelo Tosatti
On Wed, Mar 18, 2015 at 07:38:22PM +0100, Radim Krčmář wrote: > kvm_ioapic_update_eoi() wasn't called if directed EOI was enabled. > We need to do that for irq notifiers. (Like with edge interrupts.) > > Fix it by skipping EOI broadcast only. > > Bug: https://bugzilla.kernel.org/show_bug.cgi?id=

[PATCH] lib/vsprintf.c: improve put_dec_trunc8 slightly

2015-03-19 Thread Rasmus Villemoes
I hadn't had enough coffee when I wrote this. Currently, the final increment of buf depends on the value loaded from the table, and causes gcc to emit a cmov immediately before the return. It is smarter to let it depend on r, since the increment can then be computed in parallel with the final load/

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-19 Thread Andrew Morton
On Thu, 19 Mar 2015 17:36:36 -0400 Steven Rostedt wrote: > On Thu, 19 Mar 2015 13:58:33 -0700 > Andrew Morton wrote: > > > OK. This code is basically required to support perf/ftrace and > > modules, yes? Presumably small and space-constrained systems aren't > > using either, so they don't tak

[PATCH] regmap: Move tracing header into drivers/base/regmap

2015-03-19 Thread Steven Rostedt
The tracing events for regmap are confined to the regmap subsystem. It also requires accessing an internal header. Instead of including the internal header from a generic file location, move the tracing file into the regmap directory. Also rename the regmap tracing header to trace.h, as it is redu

clk: dt: bindings for mux-clock

2015-03-19 Thread Sergej Sawazki
Hi Mike, I came across your "[PATCH v2 0/5] clk: dt: bindings for mux, divider & gate clocks" email from 16 Jun 2013. The DT bindings for simple clock multiplexers would be very helpful for a board I am working on. Do you see any chance to get it into mainline? Many thanks in advance! Regard

Re: [PATCH v2] selftests/timers: Use shared logic to run and install tests

2015-03-19 Thread Shuah Khan
On 03/18/2015 06:20 PM, Michael Ellerman wrote: > Change the timers Makefile to make use of shared run and install logic > in lib.mk. Destructive tests are installed but not run by default. > > Add a new variable, TEST_PROGS_EXTENDED, which is a list of extra > programs to install, but which are n

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-19 Thread Steven Rostedt
On Thu, 19 Mar 2015 14:47:32 -0700 Andrew Morton wrote: > Should this be PERF_EVENTS, or PERF_EVENTS_NMI? No idea. I just whipped up a quick patch and guessed at the configs. I was trying to show other options for the solution more than to show a working patch ;-) > > Could we just keep the o

Re: [PATCH] kselftest/timers: Set default threadtest values to simplify execution scripts

2015-03-19 Thread Shuah Khan
On 03/18/2015 09:51 AM, John Stultz wrote: > In order to keep the kselftest Makefiles simpler, set the threadtest > default values to the ones used in standard run_tests > > Cc: Shuah Khan > Cc: Prarit Bhargava > Cc: Thomas Gleixner > Cc: Richard Cochran > Signed-off-by: John Stultz > --- >

[GIT PULL] ring-buffer: Replace this_cpu_*() with __this_cpu_*()

2015-03-19 Thread Steven Rostedt
Linus, The recursion code in the internals of the ftrace ring buffer requires using "preempt_disable_notrace". But it has been discovered that preempt_disable() is being used by this_cpu_read() in some architectures and trace_cpu_read() is part of the recursion protection of the ring buffer. The

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-19 Thread Peter Zijlstra
On Thu, Mar 19, 2015 at 01:58:33PM -0700, Andrew Morton wrote: > OK. This code is basically required to support perf/ftrace and > modules, yes? Presumably small and space-constrained systems aren't > using either, so they don't take the hit. > > However CONFIG_MODULES systems which aren't using

Re: [RFC PATCH 1/7] serial: Emulate break using control characters

2015-03-19 Thread Peter Hurley
[ + linux-serial ] Hi Daniel, I apologize for not reviewing this back in Sept when you first RFC'd this patch. On 03/18/2015 10:20 AM, Daniel Thompson wrote: > Currently the magic SysRq functions can accessed by sending a break on > the serial port. Unfortunately some networked serial proxies m

Re: [PATCH] lib/dma-debug: fix bucket_find_contain

2015-03-19 Thread Andrew Morton
On Mon, 16 Mar 2015 19:24:29 +0100 (CET) Sebastian Ott wrote: > bucket_find_contain will search the bucket list for a dma_debug_entry. When > the entry isn't found it needs to search other buckets too, since only the > start address of a dma range is hashed (which might be in a different bucket)

Re: [PATCH 0/5] coresight: next

2015-03-19 Thread Mathieu Poirier
On 27 February 2015 at 16:04, Mathieu Poirier wrote: > These are the latest coresight patches that I'd like you to consider for > inclusion in your tree. The set is based on v4.0-rc1. > > Thanks, > Mathieu > > Mathieu Poirier (4): > coresight: making cpu index lookup arm64 compliant > coresig

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-19 Thread Peter Zijlstra
On Thu, Mar 19, 2015 at 01:58:33PM -0700, Andrew Morton wrote: > On Thu, 19 Mar 2015 08:25:02 +0100 Peter Zijlstra > wrote: > > > On Wed, Mar 18, 2015 at 10:14:46PM -0700, Andrew Morton wrote: > > > On Wed, 18 Mar 2015 14:36:32 +0100 Peter Zijlstra > > > wrote: > > > > > > > include/linux/rb

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-19 Thread Peter Zijlstra
On Thu, Mar 19, 2015 at 05:36:36PM -0400, Steven Rostedt wrote: > On Thu, 19 Mar 2015 13:58:33 -0700 > Andrew Morton wrote: > > > OK. This code is basically required to support perf/ftrace and > > modules, yes? Presumably small and space-constrained systems aren't > > using either, so they don'

Re: + lib-vsprintfc-even-faster-decimal-conversion.patch added to -mm tree

2015-03-19 Thread Rasmus Villemoes
On Thu, Mar 19 2015, Alexey Dobriyan wrote: > On Wed, Mar 18, 2015 at 1:04 AM, Andrew Morton > wrote: >> On Mon, 16 Mar 2015 18:19:41 +0300 Alexey Dobriyan >> wrote: >> >>> Rasmus, I redid benchmarks: >> >> tl;dr ;) Is this an ack or a nack? > > New code executes slower for some input on one

Re: [GIT PULL] ring-buffer: Replace this_cpu_*() with __this_cpu_*()

2015-03-19 Thread Linus Torvalds
Ugh. I think this is bogus. Why? On Thu, Mar 19, 2015 at 3:02 PM, Steven Rostedt wrote: > > The generic version of this_cpu_read() and write() are: > > #define this_cpu_generic_read(pcp) \ > ({ typeof(pcp) ret__;

Re: [PATCH V4 0/7] x86/intel_rdt: Intel Cache Allocation Technology

2015-03-19 Thread Vikas Shivappa
Hello Ingo/Peter, On Thu, 26 Feb 2015, Ingo Molnar wrote: * Luck, Tony wrote: The CAT thing was annoying already, but at least one can find that in the SDM, this RDT thing, not a single mention. The problems of development at the bleeding edge. Would you rather Linux sat on the sidelines

Re: [PATCH v0 01/11] stm class: Introduce an abstraction for System Trace Module devices

2015-03-19 Thread Mathieu Poirier
On 17 March 2015 at 04:37, Alexander Shishkin wrote: > Mathieu Poirier writes: > >> On 7 March 2015 at 04:35, Alexander Shishkin >> wrote: >>> A System Trace Module (STM) is a device exporting data in System Trace >>> Protocol (STP) format as defined by MIPI STP standards. Examples of such >>> d

Re: [PATCH 1/4 V2] ocfs2: use retval instead of status for checking error

2015-03-19 Thread Andrew Morton
On Sat, 28 Feb 2015 08:48:40 +0900 Daeseok Youn wrote: > The use of 'status' in __ocfs2_add_entry() can return wrong > status when some functions are failed. > > If ocfs2_journal_access_db() in __ocfs2_add_entry() is failed, > that status is saved to 'status' but return variable is 'retval' > wh

Re: [PATCH] regmap: Move tracing header into drivers/base/regmap

2015-03-19 Thread Mark Brown
On Thu, Mar 19, 2015 at 05:50:47PM -0400, Steven Rostedt wrote: > The tracing events for regmap are confined to the regmap subsystem. It > also requires accessing an internal header. Instead of including the > internal header from a generic file location, move the tracing file > into the regmap dir

Re: [PATCH 0/5] coresight: next

2015-03-19 Thread Greg KH
On Thu, Mar 19, 2015 at 04:09:34PM -0600, Mathieu Poirier wrote: > On 27 February 2015 at 16:04, Mathieu Poirier > wrote: > > These are the latest coresight patches that I'd like you to consider for > > inclusion in your tree. The set is based on v4.0-rc1. > > > > Thanks, > > Mathieu > > > > Math

Re: [PATCH 3/3] Documentation: DT bindings: Tegra AHB: note base address change

2015-03-19 Thread Stephen Warren
I guess pretend like I never made the suggestion. On 03/19/2015 12:42 PM, Paul Walmsley wrote: On Thu, 19 Mar 2015, Stephen Warren wrote: On 03/19/2015 10:34 AM, Paul Walmsley wrote: On Thu, 19 Mar 2015, Stephen Warren wrote: On 03/19/2015 09:33 AM, Paul Walmsley wrote: On Tue, 17 Mar 2015

Re: [PATCH] coresight: moving to new "hwtracing" directory

2015-03-19 Thread Greg KH
On Thu, Mar 19, 2015 at 04:02:02PM -0600, Mathieu Poirier wrote: > Keeping drivers related to HW tracing on ARM, i.e coresight, > under "drivers/coresight" doesn't make sense when other > architectures start rolling out technologies of the same > nature. > > As such creating a new "drivers/hwtraci

[3.13.y-ckt stable] Patch "MIPS: Fix kernel lockup or crash after CPU offline/online" has been added to staging queue

2015-03-19 Thread Kamal Mostafa
This is a note to let you know that I have just added a patch titled MIPS: Fix kernel lockup or crash after CPU offline/online to the linux-3.13.y-queue branch of the 3.13.y-ckt extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/h

[3.13.y-ckt stable] Patch "lib/checksum.c: fix carry in csum_tcpudp_nofold" has been added to staging queue

2015-03-19 Thread Kamal Mostafa
This is a note to let you know that I have just added a patch titled lib/checksum.c: fix carry in csum_tcpudp_nofold to the linux-3.13.y-queue branch of the 3.13.y-ckt extended stable tree which can be found at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;a=shortlog;h=refs/heads/linux

Re: [PATCH] regmap: Move tracing header into drivers/base/regmap

2015-03-19 Thread Steven Rostedt
On Thu, 19 Mar 2015 22:23:23 + Mark Brown wrote: > On Thu, Mar 19, 2015 at 05:50:47PM -0400, Steven Rostedt wrote: > > The tracing events for regmap are confined to the regmap subsystem. It > > also requires accessing an internal header. Instead of including the > > internal header from a gen

Re: [GIT PULL] ring-buffer: Replace this_cpu_*() with __this_cpu_*()

2015-03-19 Thread Steven Rostedt
On Thu, 19 Mar 2015 15:16:25 -0700 Linus Torvalds wrote: > So I don't think the ring-buffer change is necessarily _wrong_, but if > this is a performance issue, why don't we just fix it up for the > generic case rather than for just one user? I totally agree with your analysis, but it's up to Ch

Re: [PATCH] kselftest/timers: Set default threadtest values to simplify execution scripts

2015-03-19 Thread John Stultz
On Thu, Mar 19, 2015 at 3:01 PM, Shuah Khan wrote: > On 03/18/2015 09:51 AM, John Stultz wrote: >> In order to keep the kselftest Makefiles simpler, set the threadtest >> default values to the ones used in standard run_tests >> >> Cc: Shuah Khan >> Cc: Prarit Bhargava >> Cc: Thomas Gleixner >>

[3.13.y-ckt stable] Linux 3.13.11-ckt17 stable review

2015-03-19 Thread Kamal Mostafa
This is the start of the review cycle for the Linux 3.13.11-ckt17 stable kernel. This version contains 80 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=linux-3.13.y-rev

[PATCH 3.13.y-ckt 01/80] splice: Apply generic position and size checks to each write

2015-03-19 Thread Kamal Mostafa
3.13.11-ckt17 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings We need to check the position and size of file writes against various limits, using generic_write_check(). This was not being done for the splice write path. It was f

[PATCH 3.13.y-ckt 09/80] Bluetooth: append new supported device to the list [0b05:17d0]

2015-03-19 Thread Kamal Mostafa
3.13.11-ckt17 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit a735f9e22432899cee188d167966782c29246390 upstream. The device found on Asus Z87 Expert motherboard requires firmware to work correctly. T: Bus=03 Lev=01 Prn

[PATCH 3.13.y-ckt 20/80] net: sctp: fix slab corruption from use after free on INIT collisions

2015-03-19 Thread Kamal Mostafa
3.13.11-ckt17 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 600ddd6825543962fb807884169e57b580dba208 upstream. When hitting an INIT collision case during the 4WHS with AUTH enabled, as already described in detail in co

[PATCH 3.13.y-ckt 40/80] drm/i915: Only fence tiled region of object.

2015-03-19 Thread Kamal Mostafa
3.13.11-ckt17 -stable review patch. If anyone has any objections, please let me know. -- From: Bob Paauwe commit af1a7301c7cf8912dca03065d448c4437c5c239f upstream. When creating a fence for a tiled object, only fence the area that makes up the actual tiles. The object may be

[PATCH 3.13.y-ckt 38/80] i2c: s3c2410: fix ABBA deadlock by keeping clock prepared

2015-03-19 Thread Kamal Mostafa
3.13.11-ckt17 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Osmialowski commit 34e81ad5f0b60007c95995eb7803da7e00c6c611 upstream. This patch solves deadlock between clock prepare mutex and regmap mutex reported by Tomasz Figa in [1] by

[PATCH 3.13.y-ckt 56/80] net: cls_bpf: fix auto generation of per list handles

2015-03-19 Thread Kamal Mostafa
3.13.11-ckt17 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 3f2ab135946dcd4eb6af92a53d6d4bd35e7526ca upstream. When creating a bpf classifier in tc with priority collisions and invoking automatic unique handle assignme

<    1   2   3   4   5   6   7   8   9   10   >