Re: [PATCH v3 00/44] Meta Linux Kernel Port

2013-01-25 Thread Arnd Bergmann
On Friday 25 January 2013, James Hogan wrote: > Hi Arnd, > > On 10/01/13 15:30, James Hogan wrote: > > This patchset adds core architecture support to Linux for Imagination's > > Meta ATP (Meta 1) and HTP (Meta 2) processor cores. Most of the feedback > > from the RFC and v2 patchsets has now

Re: [Pv-drivers] [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-01-25 Thread Greg KH
On Fri, Jan 25, 2013 at 04:15:19PM -0800, Dmitry Torokhov wrote: > Hi Neil, > > On Friday, January 25, 2013 06:59:53 PM Neil Horman wrote: > > On Fri, Jan 25, 2013 at 09:37:50AM -0800, ack...@vmware.com wrote: > > > + > > > +config VMWARE_VSOCK > > > + tristate "Virtual Socket protocol" > > > +

Re: [PATCH] cgroup: fix cgroup_path() vs rename() race

2013-01-25 Thread Li Zefan
On 2013/1/26 0:42, Tejun Heo wrote: > On Fri, Jan 25, 2013 at 03:09:59PM +0800, Li Zefan wrote: >> rename() will change dentry->d_name. The result of this race can >> be worse than seeing partially rewritten name, but we might access >> a stale pointer because rename() will re-allocate memory to

Re: [Pv-drivers] [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-01-25 Thread Dmitry Torokhov
Hi Neil, On Friday, January 25, 2013 06:59:53 PM Neil Horman wrote: > On Fri, Jan 25, 2013 at 09:37:50AM -0800, ack...@vmware.com wrote: > > + > > +config VMWARE_VSOCK > > + tristate "Virtual Socket protocol" > > + depends on VMWARE_VMCI > > What is CONFIG_VMWARE_VMCI? I don't find that in

Re: [PATCH] Subtract min_free_kbytes from dirtyable memory

2013-01-25 Thread Jonathan Nieder
Hi Paul, paul.sz...@sydney.edu.au wrote: > Dear Ben, >> If you can identify where it was fixed then ... > > Sorry I cannot do that. I have no idea where kernel changelogs are kept. Here are some tools. # prerequisite: apt-get install git; # as root # to get the kernel history: git

Re: Bug#695182: [PATCH] Subtract min_free_kbytes from dirtyable memory

2013-01-25 Thread Ben Hutchings
On Sat, 2013-01-26 at 10:49 +1100, paul.sz...@sydney.edu.au wrote: > Dear Ben, > > > If you can identify where it was fixed then ... > > Sorry I cannot do that. I have no idea where kernel changelogs are kept. > > I am happy to do some work. Please do not call me lazy. The changelogs are in

Re: [PATCH v10 00/11] PCI, ACPI: pci root bus hotplug support / pci match_driver

2013-01-25 Thread Bjorn Helgaas
On Tue, Jan 22, 2013 at 3:19 PM, Yinghai Lu wrote: > On Tue, Jan 22, 2013 at 2:09 PM, Rafael J. Wysocki wrote: >> On Monday, January 21, 2013 01:20:41 PM Yinghai Lu wrote: >>> It includes >>> 1. preparing patches for pci root bus hotadd/hotremove support >>> 2. move root bus hotadd from acpiphp

Re: [PATCH v3 21/44] metag: Time keeping

2013-01-25 Thread Arnd Bergmann
On Thursday 10 January 2013, James Hogan wrote: > Add time keeping code for metag. Meta hardware threads have 2 timers. > The background timer (TXTIMER) is used as a free-running time base, and > the interrupt timer (TXTIMERI) is used for the timer interrupt. Both > counters traditionally count at

Re: [PATCH 1/1] VSOCK: Introduce VM Sockets

2013-01-25 Thread Neil Horman
On Fri, Jan 25, 2013 at 09:37:50AM -0800, ack...@vmware.com wrote: > From: Andy King > > VM Sockets allows communication between virtual machines and the hypervisor. > User level applications both in a virtual machine and on the host can use the > VM Sockets API, which facilitates fast and

Re: [PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-25 Thread Matt Fleming
On Wed, 2013-01-23 at 13:17 +, Ben Hutchings wrote: > On Wed, 2013-01-23 at 07:52 +, Matt Fleming wrote: > > On Wed, 2013-01-23 at 04:16 +, Ben Hutchings wrote: > > > On Mon, 2013-01-21 at 21:12 +, Matt Fleming wrote: > > > [...] > > > > From

[PATCH 1/1] Drivers: hv: balloon: Make adjustments to the pressure report

2013-01-25 Thread K. Y. Srinivasan
The host expects that the pressure report includes the pressure due to the pages that have been ballooned. Make necessary adjustments to reflect that. Also, include the free memory information in the pressure report. Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c | 12

Re: Bug#695182: [PATCH] Subtract min_free_kbytes from dirtyable memory

2013-01-25 Thread paul . szabo
Dear Ben, > If you can identify where it was fixed then ... Sorry I cannot do that. I have no idea where kernel changelogs are kept. I am happy to do some work. Please do not call me lazy. Cheers, Paul Paul Szabo p...@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/ School of

Re: [PATCH 06/13] sg_io: whitelist a few more commands for multimedia devices

2013-01-25 Thread Tejun Heo
Hello, Paolo. On Sat, Jan 26, 2013 at 12:32:36AM +0100, Paolo Bonzini wrote: > If I make a whitelist with all the commands that Linux sends, I'll have > many new commands in the whitelist and no old commands. The new > commands didn't exist when old drives were sold, so they are "dangerous" > in

Re: linux-next: Tree for Jan 25 (kvm)

2013-01-25 Thread Stephen Rothwell
On Fri, 25 Jan 2013 08:53:58 -0800 Randy Dunlap wrote: > > Seeing lots of this error on i386: > > arch/x86/kvm/emulate.c:1016: Error: unsupported for `push' Caused by commit 9ae9febae950 ("KVM: x86 emulator: covert SETCC to fastop") from the kvm tree. cc's added. -- Cheers, Stephen Rothwell

Re: [PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-25 Thread Arnd Bergmann
On Friday 25 January 2013, Myklebust, Trond wrote: > > -Original Message- > > From: Arnd Bergmann [mailto:a...@arndb.de] > > Marking it as __maybe_unused avoids a harmless gcc warning. > > Alternatively, just declare it using the RPC_IFDEBUG() macro. Right, makes sense: that's more

Linux Plumbers Conference 2013 Call for Participation

2013-01-25 Thread Becky Bruce
We are pleased to announce the Call for Participation for this year's Linux Plumbers Conference, which will be held September 18-20, 2013, in New Orleans, Louisiana. There are two ways for individuals to participate in the conference: by submitting a refereed track presentation, or

Re: boot warnings due to swap: make each swap partition have one address_space

2013-01-25 Thread Sasha Levin
On 01/24/2013 11:25 PM, Shaohua Li wrote: > On Thu, Jan 24, 2013 at 10:45:57PM -0500, Sasha Levin wrote: >> Hi folks, >> >> Commit "swap: make each swap partition have one address_space" is triggering >> a series of warnings on boot: >> >> [3.446071] [ cut here ] >> [

Re: [PATCH 0/7] cputime: Full dynticks task/cputime accounting v5

2013-01-25 Thread Frederic Weisbecker
2013/1/26 Paul E. McKenney : > Right... Replied to the wrong email. :-/ > > I queued "context_tracking: Add comments on interface and internals". Sounds perfect, thanks :) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] staging/omapdrm: Use kmemdup rather than duplicating its implementation

2013-01-25 Thread Peter Huewe
Found with coccicheck. The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Peter Huewe --- drivers/staging/omapdrm/omap_gem.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/omapdrm/omap_gem.c

Re: [Web10g-user] Web10g TCP statistics patch - mainlining into kernel?

2013-01-25 Thread Tom Herbert
> The user side of the list has been pretty quiet to be sure. Most of the > discussion happens internal to the team. The primary KIS developer is out > the office until next week but I'll try to make sure he addresses this as > soon as he can. I agree entirely with the more eyes approach and none

RE: [PATCH 0/4] staging: zsmalloc: various cleanups/improvments

2013-01-25 Thread Dan Magenheimer
> From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] > Subject: [PATCH 0/4] staging: zsmalloc: various cleanups/improvments > > These patches are the first 4 patches of the zswap patchset I > sent out previously. Some recent commits to zsmalloc and > zcache in staging-next forced a rebase.

Re: [PATCH 06/13] sg_io: whitelist a few more commands for multimedia devices

2013-01-25 Thread Paolo Bonzini
Il 25/01/2013 23:41, Tejun Heo ha scritto: > Hello, Paolo. > > On Fri, Jan 25, 2013 at 11:32:42PM +0100, Paolo Bonzini wrote: >> All you can do is use common sense, which says that if a command has >> been in a standard, someone has likely used it. Of course someone >> _might_ have misused it

Re: [PATCH 0/7] cputime: Full dynticks task/cputime accounting v5

2013-01-25 Thread Paul E. McKenney
Right... Replied to the wrong email. :-/ I queued "context_tracking: Add comments on interface and internals". Thanx, Paul On Fri, Jan 25, 2013 at 09:42:47AM -0800, Paul E. McKenney wrote: > On Thu, Jan 17, 2013 at 02:24:28PM +0100,

[PATCH 1/1] Drivers: hv: balloon: Make adjustments to the pressure report

2013-01-25 Thread K. Y. Srinivasan
The host expects that the pressure report includes the pressure due to the pages that have been ballooned. Make necessary adjustments to reflect that. Also, include the free memory information in the pressure report. Signed-off-by: K. Y. Srinivasan --- drivers/hv/hv_balloon.c | 12

[PATCH] staging/media/go7007: Use kmemdup rather than duplicating its implementation

2013-01-25 Thread Peter Huewe
Found with coccicheck. The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Peter Huewe --- drivers/staging/media/go7007/go7007-driver.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

Re: [RFC] ACPI scan handlers

2013-01-25 Thread Toshi Kani
On Fri, 2013-01-25 at 23:11 +0100, Rafael J. Wysocki wrote: > On Friday, January 25, 2013 09:52:21 AM Toshi Kani wrote: > > On Thu, 2013-01-24 at 01:26 +0100, Rafael J. Wysocki wrote: : > > > > > > I wonder if anyone is seeing any major problems with this at the high > > > level. > > First of

RE: [PATCHv2 8/9] zswap: add to mm/

2013-01-25 Thread Dan Magenheimer
> From: Rik van Riel [mailto:r...@redhat.com] > Subject: Re: [PATCHv2 8/9] zswap: add to mm/ > > On 01/07/2013 03:24 PM, Seth Jennings wrote: > > zswap is a thin compression backend for frontswap. It receives > > pages from frontswap and attempts to store them in a compressed > > memory pool,

[PATCH] staging/csr: Use kmemdup rather than duplicating its implementation

2013-01-25 Thread Peter Huewe
Found with coccicheck. The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Peter Huewe --- drivers/staging/csr/drv.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/csr/drv.c

Re: [PATCH 0/5] [v3] fix illegal use of __pa() in KVM code

2013-01-25 Thread Dave Hansen
On 01/22/2013 01:24 PM, Dave Hansen wrote: > This series fixes a hard-to-debug early boot hang on 32-bit > NUMA systems. It adds coverage to the debugging code, > adds some helpers, and eventually fixes the original bug I > was hitting. I got one more reviewed-by on this set, but otherwise no

Re: [PATCH 3/3] aio-use-cancellation-list-lazily-fix

2013-01-25 Thread Andrew Morton
On Fri, 25 Jan 2013 21:30:32 +0800 Hillf Danton wrote: > On Fri, Jan 25, 2013 at 5:43 AM, Kent Overstreet > wrote: > > The cancellation changes were fubar - we can't cancel a kiocb if it > > doesn't actually have a cancellation callback. > > > > The use of xchg() in aio_complete() was right -

[PATCH] staging/media/solo6x10: Use PTR_RET rather than if(IS_ERR(...)) + PTR_ERR

2013-01-25 Thread Peter Huewe
Found with coccicheck. The semantic patch that makes this change is available in scripts/coccinelle/api/ptr_ret.cocci. Signed-off-by: Peter Huewe --- drivers/staging/media/solo6x10/v4l2.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 07/19] scripts/sortextable: silence script output

2013-01-25 Thread David Daney
On 01/25/2013 06:14 AM, Arnd Bergmann wrote: The exception table sorter outputs one line every time it gets called, e.g. 'sort done marker at 66dc00', which is slightly annoying when doing 'make -s' which is otherwise completely silent. Since that output is not helpful to most people building

RE: [PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-25 Thread Myklebust, Trond
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Friday, January 25, 2013 5:44 PM > To: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org; Arnd Bergmann; J. Bruce Fields; > Myklebust, Trond; linux-...@vger.kernel.org; net...@vger.kernel.org >

[PATCH 02/19] ARM: disable virt_to_bus/virt_to_bus almost everywhere

2013-01-25 Thread Arnd Bergmann
We are getting a number of warnings about the use of the deprecated bus_to_virt function in drivers using the ARM ISA DMA API: drivers/parport/parport_pc.c: In function 'parport_pc_fifo_write_block_dma': drivers/parport/parport_pc.c:622:3: warning: 'bus_to_virt' is deprecated (declared at

[PATCH 04/19] oss/dmabuf: use dma_map_single

2013-01-25 Thread Arnd Bergmann
The virt_to_bus/bus_to_virt functions have been deprecated for as long as I can remember, and they are used in very few remaining instances, usually in obscure ISA device drivers. The OSS sound drivers are the only ones that are still used on the ARM architecture, and only on some of the earliest

[PATCH 08/19] lockdep: avoid warning about unused variables

2013-01-25 Thread Arnd Bergmann
When lockdep is disabled, a call to lockdep_assert_held does not use its argument, which results in a compiler warning if nothing else in the same function uses that variable. An instance of this was introduced by c9a49628819 "nfsd: make client_lock per net". Without this patch, building ARM

[PATCH 07/19] scripts/sortextable: silence script output

2013-01-25 Thread Arnd Bergmann
The exception table sorter outputs one line every time it gets called, e.g. 'sort done marker at 66dc00', which is slightly annoying when doing 'make -s' which is otherwise completely silent. Since that output is not helpful to most people building the kernel, turn it off by default.

[PATCH 15/19] sunrpc: don't warn for unused variable 'buf'

2013-01-25 Thread Arnd Bergmann
When RPC_DEBUG is unset, the dprintk() macro does nothing, causing the 'buf' variable in svc_printk to become unused. Marking it as __maybe_unused avoids a harmless gcc warning. Without this patch, building at91_dt_defconfig results in: net/sunrpc/svc.c: In function 'svc_printk':

[PATCH 05/19] sched: warnings in kernel/sched/fair.c

2013-01-25 Thread Arnd Bergmann
a4c96ae319 "sched: Unthrottle rt runqueues in __disable_runtime()" turned the unthrottle_offline_cfs_rqs function into a static symbol, which now triggers a warning about it being potentially unused: kernel/sched/fair.c:2055:13: warning: 'unthrottle_offline_cfs_rqs' defined but not used

[PATCH 18/19] ARM: at91: suspend both memory controllers on at91sam9263

2013-01-25 Thread Arnd Bergmann
For the past three years, we have had a #warning in mach-at91 about the sdram_selfrefresh_enable or at91sam9_standby functions possibly not working on at91sam9263. In the meantime a function was added to do the right thing on at91sam9g45, which looks like it should also work on '9263. This patch

[PATCH 17/19] input/joystick: use get_cycles on ARM

2013-01-25 Thread Arnd Bergmann
ARM normally has an accurate clock source, so we can theoretically use analog joysticks more accurately and at the same time avoid the build warning #warning Precise timer not defined for this architecture. from the joystick driver. Now, why anybody would use that driver no ARM I have no idea,

[PATCH 03/19] ARM: msm: proc_comm_boot_wait should not be __init

2013-01-25 Thread Arnd Bergmann
msm_smd_probe is a driver probe function and may get called after the __init time, so it must not call any __init function, as the link-time warning reports. Take away the __init annotation on proc_comm_boot_wait to fix this. Without this patch, building msm_defconfig results in: WARNING:

[PATCH 16/19] ARM: sa1100: don't warn about mach/ide.h

2013-01-25 Thread Arnd Bergmann
This warning has existed since before the start of (git) history. Apparently nobody has bothered to fix it in a long time, and this is unlikely to change. Note that the file that the warning refers to has moved to a different location and was subsequently deleted in 2008. Signed-off-by: Arnd

[PATCH 11/19] regmap: avoid undefined return from regmap_read_debugfs

2013-01-25 Thread Arnd Bergmann
Gcc warns about the case where regmap_read_debugfs tries to walk an empty map->debugfs_off_cache list, which results in uninitialized variable getting returned. Setting this variable to 0 first avoids the warning and the potentially undefined value. Without this patch, building mxs_defconfig

[PATCH 06/19] sched/debug: fix format string for 32 bit platforms

2013-01-25 Thread Arnd Bergmann
The type returned from atomic64_t can be either unsigned long or unsigned long long, depending on the architecture. Using a cast to unsigned long long lets us use the same format string for all architectures. Without this patch, building with scheduler debugging enabled results in:

[PATCH 12/19] pinctrl: exynos: don't mark probing functions as __init

2013-01-25 Thread Arnd Bergmann
Functions called from a driver probe() method must not be marked __init, because they may get called after the init phase is done, when the device shows up late, or because of deferred probing. Without this patch, building exynos_defconfig results in multiple warnings like: WARNING:

[PATCH 10/19] watchdog: at91sam9: at91_wdt_dt_ids cannot be __init

2013-01-25 Thread Arnd Bergmann
The device IDs are referenced by the driver and potentially used beyond the init time, as kbuild correctly warns about. Remove the __initconst annotation. Without this patch, building at91_dt_defconfig results in: WARNING: drivers/watchdog/built-in.o(.data+0x28): Section mismatch in reference

[PATCH 01/19] ARM: shmobile: fix defconfig warning on CONFIG_USB

2013-01-25 Thread Arnd Bergmann
A recent update to the marzen_defconfig introduced a duplicate CONFIG_USB=y line. This removes one of the two. arch/arm/configs/marzen_defconfig:86:warning: override: reassigning to symbol USB Signed-off-by: Arnd Bergmann Cc: Simon Horman Cc: linux...@vger.kernel.org ---

[PATCH 13/19] pinctrl: nomadik: nmk_prcm_gpiocr_get_mode may be unused

2013-01-25 Thread Arnd Bergmann
nmk_prcm_gpiocr_get_mode is only needed for debugfs output at the moment, which can be compile-time disabled. Marking the function __maybe_unused still gives us compile-time coverage, but avoids a gcc warning. Without this patch, building nhk8815_defconfig results in:

[PATCH 14/19] spi/atmel: remove incorrect __exit_p()

2013-01-25 Thread Arnd Bergmann
Since we no longer allow building without hotplug, the atmel_spi_remove function is always present and we should not use __exit_p() to refer to it. Without this patch, building at91_dt_defconfig results in: drivers/spi/spi-atmel.c:1006:12: warning: 'atmel_spi_remove' defined but not used

[PATCH 19/19] [INCOMPLETE] ARM: make return_address available for ARM_UNWIND

2013-01-25 Thread Arnd Bergmann
From: sahara This is a reminder that we still need to fix the return_address function to work correctly with the unwinder. Keun-O Park has made this attempt in the past, which is still under discussion[1], and Dave Martin has also mentioned that he would provide a solution for this problem.

[PATCH 09/19] mfd/twl4030: don't warn about uninitialized return code

2013-01-25 Thread Arnd Bergmann
If the twl4030_write_script function gets called with a zero length argument, its return value does not get set. We know that all scripts have a nonzero length, but returning an error in case they ever do is probably appropriate. Without this patch, building omap2plus_defconfig results in:

[PATCHv2 00/19] ARM: common warning fixes

2013-01-25 Thread Arnd Bergmann
Hi everyone, [fixing an embarrasing typo in the linux-arm-kernel mailing list address, sorry about the re-send] This series fixes all the known build warnings on ARM with any of the defconfig files. Most of these patches are regressions and warn about code that changed in linux-3.8, so it would

Re: [PATCHv2 8/9] zswap: add to mm/

2013-01-25 Thread Rik van Riel
On 01/07/2013 03:24 PM, Seth Jennings wrote: zswap is a thin compression backend for frontswap. It receives pages from frontswap and attempts to store them in a compressed memory pool, resulting in an effective partial memory reclaim and dramatically reduced swap device I/O. Additional, in most

Re: RE: RE: [PATCH v4 12/12] video: da8xx-fb: CCF clock divider handling

2013-01-25 Thread Mike Turquette
Quoting Mohammed, Afzal (2013-01-25 04:05:44) > Hi Mike, > > On Thu, Jan 24, 2013 at 22:30:44, Mike Turquette wrote: > > Quoting Mohammed, Afzal (2013-01-24 03:36:02) > > > > So there are 3 - LIDD is actually not for present use case, CORE could > > > be clubbed with the divider to have a

Re: [PATCH 06/13] sg_io: whitelist a few more commands for multimedia devices

2013-01-25 Thread Tejun Heo
Hello, Paolo. On Fri, Jan 25, 2013 at 11:32:42PM +0100, Paolo Bonzini wrote: > All you can do is use common sense, which says that if a command has > been in a standard, someone has likely used it. Of course someone > _might_ have misused it too, but how likely is that? So, that's where we

Re: [PATCH 06/13] sg_io: whitelist a few more commands for multimedia devices

2013-01-25 Thread Paolo Bonzini
Il 25/01/2013 20:01, Tejun Heo ha scritto: > Some did that at least in ATA. It was mapping some command to > firmware write. Given how many USB devices implement SCSI these days, > I wouldn't be too firm with "that doesn't happen". How can such > all-covering statement be asserted? Of course

perf PMU support for Haswell: Extended functionality v1

2013-01-25 Thread Andi Kleen
This is based on v7 of the earlier combined Haswell PMU patchkit. The basic functionality has moved into a separate patchkit. These patches implement more advanced functionality. Most of the functionality is related to TSX. This applies on top of the basic hsw/pmu4-basics patchkit posted

[PATCH 02/18] perf, kvm: Support the intx/intx_cp modifiers in KVM arch perfmon emulation v5

2013-01-25 Thread Andi Kleen
From: Andi Kleen This is not arch perfmon, but older CPUs will just ignore it. This makes it possible to do at least some TSX measurements from a KVM guest Cc: g...@redhat.com v2: Various fixes to address review feedback v3: Ignore the bits when no CPUID. No #GP. Force raw events with TSX bits.

[PATCH 15/18] perf, tools: Add perf stat --transaction v3

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add support to perf stat to print the basic transactional execution statistics: Total cycles, Cycles in Transaction, Cycles in aborted transsactions using the intx and intx_checkpoint qualifiers. Transaction Starts and Elision Starts, to compute the average transaction length.

[PATCH 07/18] perf, core: Add generic transaction flags v3

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add a generic qualifier for transaction events, as a new sample type that returns a flag word. This is particularly useful for qualifying aborts: to distinguish aborts which happen due to asynchronous events (like conflicts caused by another CPU) versus instructions that lead to

[PATCH 03/18] perf, x86: Support PERF_SAMPLE_ADDR on Haswell

2013-01-25 Thread Andi Kleen
From: Andi Kleen Haswell supplies the address for every PEBS memory event, so always fill it in when the user requested it. It will be 0 when not useful (no memory access) Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event_intel_ds.c |4 1 files changed, 4 insertions(+), 0

[PATCH 05/18] perf, x86: Support weight samples for PEBS

2013-01-25 Thread Andi Kleen
From: Andi Kleen When a weighted sample is requested, first try to report the TSX abort cost on Haswell. If that is not available report the memory latency. This allows profiling both by abort cost and by memory latencies. Memory latencies requires enabling a different PEBS mode (LL). When both

[PATCH 09/18] perf, tools: Add support for record transaction flags v3

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add the glue in the user tools to record transaction flags with --transaction (-T was already taken) and dump them. Followon patches will use them. v2: Fix manpage v3: Move transaction to the end Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-record.txt |4

[PATCH 08/18] perf, x86: Add Haswell specific transaction flag reporting

2013-01-25 Thread Andi Kleen
From: Andi Kleen In the PEBS handler report the transaction flags using the new generic transaction flags facility. Most of them come from the "tsx_tuning" field in PEBSv2, but the abort code is derived from the RAX register reported in the PEBS record. Signed-off-by: Andi Kleen ---

[PATCH 01/18] perf, tools: Support sorting by intx, abort branch flags v2

2013-01-25 Thread Andi Kleen
From: Andi Kleen Extend the perf branch sorting code to support sorting by intx or abort qualifiers. Also print out those qualifiers. This also fixes up some of the existing sort key documentation. We do not support notx here, because it's simply not showing the intx flag. v2: Readd flags to

Re: RE: RE: [PATCH v2 1/2] clk: divider: prepare for minimum divider

2013-01-25 Thread Mike Turquette
Quoting Mohammed, Afzal (2013-01-25 04:06:41) > Hi Mike, > > On Thu, Jan 24, 2013 at 22:36:30, Mike Turquette wrote: > > Quoting Mohammed, Afzal (2013-01-24 03:29:15) > > > > It is a functional constraint: divider has 8 bits and it can have > > > all possible values (0 to 255) and divider value

[PATCH 18/18] perf, tools: List kernel supplied event aliases in perf list v3

2013-01-25 Thread Andi Kleen
From: Andi Kleen List the kernel supplied pmu event aliases in perf list It's better when the users can actually see them. v2: Fix pattern matching v3: perf_pmu__alias -> perf_pmu_alias Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-list.txt |4 +- tools/perf/builtin-list.c

[PATCH 10/18] perf, tools: Add browser support for transaction flags v6

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add histogram support for the transaction flags. Each flags instance becomes a separate histogram. Support sorting and displaying the flags in report and top. The patch is fairly large, but it's really mostly just plumbing to pass the flags around. v2: Increase column. Fix

[PATCH 12/18] perf, x86: improve sysfs event mapping with event string

2013-01-25 Thread Andi Kleen
From: Stephane Eranian This patch extends Jiri's changes to make generic events mapping visible via sysfs. The patch extends the mechanism to non-generic events by allowing the mappings to be hardcoded in strings. This mechanism will be used by the PEBS-LL patch later on. [AK: Make

[PATCH 06/18] perf, tools: Add support for weight v8

2013-01-25 Thread Andi Kleen
From: Andi Kleen perf record has a new option -W that enables weightened sampling. Add sorting support in top/report for the average weight per sample and the total weight sum. This allows to both compare relative cost per event and the total cost over the measurement period. Add the necessary

[PATCH 17/18] perf, tools: Default to cpu// for events v5

2013-01-25 Thread Andi Kleen
From: Andi Kleen When an event fails to parse and it's not in a new style format, try to parse it again as a cpu event. This allows to use sysfs exported events directly without //, so I can use perf record -e tx-aborts ... instead of perf record -e cpu/tx-aborts/ v2: Handle multiple events

[PATCH 13/18] perf, x86: Support CPU specific sysfs events

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add a way for the CPU initialization code to register additional events, and merge them into the events attribute directory. Used in the next patch. Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event.c | 29 +

[PATCH 16/18] perf, x86: Add a Haswell precise instructions event v2

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add a instructions-p event alias that uses the PDIR randomized instruction retirement event. This is useful to avoid some systematic sampling shadow problems. Normally PEBS sampling has a systematic shadow. With PDIR enabled the hardware adds some randomization that

[PATCH 11/18] tools, perf: Add a precise event qualifier v2

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add a precise qualifier, like cpu/event=0x3c,precise=1/ This is needed so that the kernel can request enabling PEBS for TSX events. The parser bails out on any sysfs parse errors, so this is needed in any case to handle any event on the TSX perf kernel. v2: Allow 3 as value

[PATCH 14/18] perf, x86: Add Haswell TSX event aliases v2

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add infrastructure to generate event aliases in /sys/devices/cpu/events/ And use this to set up user friendly aliases for the common TSX events. TSX tuning relies heavily on the PMU, so it's important to be user friendly. This replaces the generic transaction events in an

[PATCH 04/18] perf, core: Add a concept of a weightened sample v2

2013-01-25 Thread Andi Kleen
From: Andi Kleen For some events it's useful to weight sample with a hardware provided number. This expresses how expensive the action the sample represent was. This allows the profiler to scale the samples to be more informative to the programmer. There is already the period which is used

Re: [PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-25 Thread Ben Hutchings
On Wed, 2013-01-23 at 07:52 +, Matt Fleming wrote: > On Wed, 2013-01-23 at 04:16 +, Ben Hutchings wrote: > > On Mon, 2013-01-21 at 21:12 +, Matt Fleming wrote: > > [...] > > > From 92e73f936e40a8c6562e47425d434a4e62d2b8e2 Mon Sep 17 00:00:00 2001 > > > From: Matt Fleming > > > Date:

Re: RE: [PATCH v2 1/4] ARM: OMAP2+: dpll: round rate to closest value

2013-01-25 Thread Mike Turquette
Quoting Mohammed, Afzal (2013-01-25 04:18:22) > Hi Paul, > > On Fri, Jan 25, 2013 at 13:48:11, Paul Walmsley wrote: > > On Wed, 23 Jan 2013, Afzal Mohammed wrote: > > > > Currently round rate function would return proper rate iff requested > > > rate exactly matches the PLL lockable rate. This

Re: [ 11/15] ahci: Add identifiers for ASM106x devices

2013-01-25 Thread Abdallah Chatila
On Fri, Jan 25, 2013 at 01:45:21PM -0700, Jerry Snitselaar wrote: > > There is a whitespace error in this patch: > > Applying: ahci: Add identifiers for ASM106x devices > /root/linux/linux/.git/rebase-apply/patch:12: space before tab in indent. > /* Asmedia */ > warning: 1 line adds

Re: [tip:x86/asm] x86/xor: Make virtualization friendly

2013-01-25 Thread H. Peter Anvin
On 01/25/2013 02:11 PM, H. Peter Anvin wrote: > On 01/25/2013 02:43 AM, tip-bot for Jan Beulich wrote: >> Commit-ID: 05fbf4d6fc6a3c0c3e63b77979c9311596716d10 >> Gitweb: >> http://git.kernel.org/tip/05fbf4d6fc6a3c0c3e63b77979c9311596716d10 >> Author: Jan Beulich >> AuthorDate: Fri, 2 Nov

Re: [tip:x86/asm] x86/xor: Make virtualization friendly

2013-01-25 Thread H. Peter Anvin
On 01/25/2013 02:43 AM, tip-bot for Jan Beulich wrote: > Commit-ID: 05fbf4d6fc6a3c0c3e63b77979c9311596716d10 > Gitweb: http://git.kernel.org/tip/05fbf4d6fc6a3c0c3e63b77979c9311596716d10 > Author: Jan Beulich > AuthorDate: Fri, 2 Nov 2012 14:21:23 + > Committer: Ingo Molnar >

Re: [PATCH 1/4 v11] arm: use device tree to get smp_twd clock

2013-01-25 Thread Rafael J. Wysocki
On Friday, January 25, 2013 09:40:00 PM Russell King - ARM Linux wrote: > On Fri, Jan 25, 2013 at 10:03:05PM +0100, Rafael J. Wysocki wrote: > > On Friday, January 25, 2013 01:46:42 PM Mark Langsdorf wrote: > > > From: Rob Herring > > > > > > Move clk setup to twd_local_timer_common_register and

Re: Bug#695182: [PATCH] Subtract min_free_kbytes from dirtyable memory

2013-01-25 Thread Ben Hutchings
On Fri, 2013-01-25 at 20:53 +1100, paul.sz...@sydney.edu.au wrote: > Dear Minchan, > > > So what's the effect for user? > > ... > > It seems you saw old kernel. > > ... > > Current kernel includes ... > > So I think we don't need this patch. > > As I understand now, my patch is "right" and

Re: [RFC] ACPI scan handlers

2013-01-25 Thread Rafael J. Wysocki
On Friday, January 25, 2013 09:52:21 AM Toshi Kani wrote: > On Thu, 2013-01-24 at 01:26 +0100, Rafael J. Wysocki wrote: > > Hi All, > > > > There is a considerable amount of confusion in the ACPI subsystem about what > > ACPI drivers are used for. Namely, some of them are used as "normal" device

[PATCH 10/12] perf, x86: Support LBR filtering by INTX/NOTX/ABORT v2

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add LBR filtering for branch in transaction, branch not in transaction or transaction abort. This is exposed as new sample types. v2: Rename ABORT to ABORTTX Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event_intel_lbr.c | 31 +--

[PATCH 04/12] perf, x86: Support the TSX intx/intx_cp qualifiers v2

2013-01-25 Thread Andi Kleen
From: Andi Kleen Implement the TSX transaction and checkpointed transaction qualifiers for Haswell. This allows e.g. to profile the number of cycles in transactions. The checkpointed qualifier requires forcing the event to counter 2, implement this with a custom constraint for Haswell. Also

[PATCH 03/12] perf, x86: Basic Haswell PEBS support v3

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add basic PEBS support for Haswell. The constraints are similar to SandyBridge with a few new events. v2: Readd missing pebs_aliases v3: Readd missing hunk. Fix some constraints. Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event.h |2 ++

[PATCH 07/12] perf, x86: Avoid checkpointed counters causing excessive TSX aborts v3

2013-01-25 Thread Andi Kleen
From: Andi Kleen With checkpointed counters there can be a situation where the counter is overflowing, aborts the transaction, is set back to a non overflowing checkpoint, causes interupt. The interrupt doesn't see the overflow because it has been checkpointed. This is then a spurious PMI,

[PATCH 01/12] perf, x86: Add PEBSv2 record support

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add support for the v2 PEBS format. It has a superset of the v1 PEBS fields, but has a longer record so we need to adjust the code paths. The main advantage is the new "EventingRip" support which directly gives the instruction, not off-by-one instruction. So with precise == 2

[PATCH 08/12] perf, x86: Move NMI clearing to end of PMI handler after the counter registers are reset

2013-01-25 Thread Andi Kleen
From: Andi Kleen This avoids some problems with spurious PMIs on Haswell. Haswell seems to behave more like P4 in this regard. Do the same thing as the P4 perf handler by unmasking the NMI only at the end. Shouldn't make any difference for earlier non P4 cores. Signed-off-by: Andi Kleen ---

[PATCH 09/12] perf, x86: Disable LBR recording for unknown LBR_FMT

2013-01-25 Thread Andi Kleen
From: Andi Kleen When the LBR format is unknown disable LBR recording. This prevents crashes when the LBR address is misdecoded and mis-sign extended. Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event_intel_lbr.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff

[PATCH 12/12] perf, tools: Add abort_tx,no_tx,in_tx branch filter options to perf record -j v3

2013-01-25 Thread Andi Kleen
From: Andi Kleen Make perf record -j aware of the new in_tx,no_tx,abort_tx branch qualifiers. v2: ABORT -> ABORTTX v3: Add more _ Signed-off-by: Andi Kleen --- tools/perf/Documentation/perf-record.txt |3 +++ tools/perf/builtin-record.c |3 +++ 2 files changed, 6

RE: [PATCH net-next 1/3] net: stmmac: add gmac autoneg set for SGMII, TBI, and RTBI

2013-01-25 Thread Byungho An
On 1/23/2013 1:43 PM, Giuseppe CAVALLARO write: > On 1/18/2013 6:41 PM, Byungho An wrote: > > On 1/15/2013 11:28 PM, Giuseppe CAVALLARO write: > >> On 1/15/2013 10:45 PM, Byungho An wrote: > >>> > >>> This patch adds gmac autoneg set function for SGMII, TBI, or RTBI > >>> interface. In case of

Basic perf PMU support for Haswell v1

2013-01-25 Thread Andi Kleen
This is based on v7 of the full Haswell PMU support, but ported to the latest perf/core and stripped down to the "basic support" as requested. I decided to include LBRs in the basic support. These are 4 patches self contained at the end, so could be also handled as a separate unit if that is

[PATCH 06/12] perf, x86: Support full width counting

2013-01-25 Thread Andi Kleen
From: Andi Kleen Recent Intel CPUs have a new alternative MSR range for perfctrs that allows writing the full counter width. Enable this range if the hardware reports it using a new capability bit. This lowers overhead of perf stat slightly because it has to do less interrupts to accumulate the

[PATCH 11/12] perf, tools: Support sorting by intx, abort branch flags v2

2013-01-25 Thread Andi Kleen
From: Andi Kleen Extend the perf branch sorting code to support sorting by intx or abort qualifiers. Also print out those qualifiers. This also fixes up some of the existing sort key documentation. We do not support notx here, because it's simply not showing the intx flag. v2: Readd flags to

[PATCH 05/12] perf, x86: Support Haswell v4 LBR format

2013-01-25 Thread Andi Kleen
From: Andi Kleen Haswell has two additional LBR from flags for TSX: intx and abort, implemented as a new v4 version of the LBR format. Handle those in and adjust the sign extension code to still correctly extend. The flags are exported similarly in the LBR record to the existing misprediction

[PATCH 02/12] perf, x86: Basic Haswell PMU support v2

2013-01-25 Thread Andi Kleen
From: Andi Kleen Add basic Haswell PMU support. Similar to SandyBridge, but has a few new events. Further differences are handled in followon patches. There are some new counter flags that need to be prevented from being set on fixed counters. Contains fixes from Stephane Eranian v2: Folded

Re: [PATCHv2 3/9] staging: zsmalloc: add page alloc/free callbacks

2013-01-25 Thread Rik van Riel
On 01/07/2013 03:24 PM, Seth Jennings wrote: This patch allows users of zsmalloc to register the allocation and free routines used by zsmalloc to obtain more pages for the memory pool. This allows the user more control over zsmalloc pool policy and behavior. If the user does not wish to

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