Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver (v4)

2013-11-04 Thread Frank Haverkamp
Hi Greg, Am Mittwoch, den 30.10.2013, 10:35 -0700 schrieb Greg KH: Don't let the user pick this, it's up to the driver to set this once and then live with it. Ok. I will remove it in the next version. And, from what I can tell in the driver, this help text is wrong (there are no device

Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver (v4)

2013-11-04 Thread Frank Haverkamp
Am Donnerstag, den 31.10.2013, 07:38 +1100 schrieb Ryan Mallon: On 31/10/13 04:35, Greg KH wrote: On Wed, Oct 30, 2013 at 10:32:58AM +0100, Frank Haverkamp wrote: +if GENWQE + +config GENWQE_DEVNAME +string Name for sysfs and device nodes + default genwqe +help

Re: [PATCH 3/5] timer: Change idle/iowait accounting semantics

2013-11-04 Thread Frederic Weisbecker
On Sun, Oct 20, 2013 at 09:34:56AM +0200, Andreas Mohr wrote: Hi, just wanted to report that this capricious open-coded (ok, lone-coded :) converter: +static inline ktime_t us_to_ktime(u64 us) +{ + static const ktime_t ktime_zero = { .tv64 = 0 }; + + return

Re: [PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6)

2013-11-04 Thread Oleg Nesterov
On 11/04, Oleg Nesterov wrote: But in any case, I strongly believe that it doesn't make any sense to rely on tu-inode in get_user_vaddr(). Hmm. But I forgot about the case when you probe the function in libc and want to dump the variable in libc... So probably I was wrong and this all needs

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-04 Thread Paul E. McKenney
On Mon, Nov 04, 2013 at 12:22:54PM +0100, Peter Zijlstra wrote: On Mon, Nov 04, 2013 at 02:51:00AM -0800, Paul E. McKenney wrote: OK, something like this for the definitions (though PowerPC might want to locally abstract the lwsync expansion): #define

Re: [Xen-devel] [PATCH v3] p2m: use GNTTABOP_unmap_and_duplicate if available

2013-11-04 Thread Ian Campbell
On Mon, 2013-11-04 at 17:09 +0100, Roger Pau Monné wrote: On 04/11/13 16:49, Ian Campbell wrote: On Mon, 2013-11-04 at 16:38 +0100, Roger Pau Monne wrote: The new GNTTABOP_unmap_and_duplicate operation I don't see this op in mainline Xen anywhere... Was it part of Stefano's

Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver (v4)

2013-11-04 Thread Frank Haverkamp
Hi Greg, Am Mittwoch, den 30.10.2013, 10:37 -0700 schrieb Greg KH: On Wed, Oct 30, 2013 at 10:32:58AM +0100, Frank Haverkamp wrote: +/* + * We like to be able to disable the health checking entirely in some + * cases e.g. if a card is broken and needs to be analyzed. I + * considered

Re: [PATCH] x86: Allow NR_CPUS=1024

2013-11-04 Thread H. Peter Anvin
On 11/03/2013 10:51 PM, Ingo Molnar wrote: randconfig will not randomize numeric Kconfig ranges, so there's no other mechanism right now to trigger those large config kernels. Sounds like the real problem... -hpa -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH -next] random: needs linux/device.h for struct device

2013-11-04 Thread Theodore Ts'o
On Mon, Nov 04, 2013 at 08:06:16AM -0800, Randy Dunlap wrote: on x86_64: drivers/char/random.c: In function 'add_device_attach_randomness': drivers/char/random.c:837:41: error: dereferencing pointer to incomplete type need to #include linux/device.h for struct device, I think. The patch

[PATCH 6/9] KEYS: Trusted: Use key preparsing

2013-11-04 Thread David Howells
Make use of key preparsing in trusted keys so that quota size determination can take place prior to keyring locking when a key is being added. Signed-off-by: David Howells dhowe...@redhat.com --- security/keys/trusted.c | 190 ++- 1 file changed, 90

[PATCH 1/9] KEYS: The RSA public key algorithm needs to select MPILIB

2013-11-04 Thread David Howells
The RSA public key algorithm needs to select MPILIB directly in Kconfig as the 'select' directive is not recursive and is thus MPILIB is not enabled by selecting MPILIB_EXTRA. Without this, the following errors can occur: crypto/built-in.o: In function `RSA_verify_signature':

[PATCH] arm64: use generic RW_DATA_SECTION macro in linker script

2013-11-04 Thread Mark Salter
The .data section in the arm64 linker script currently lacks a definition for page-aligned data. This leads to a .page_aligned section being placed between the end of data and start of bss. This patch corrects that by using the generic RW_DATA_SECTION macro which includes support for page-aligned

[PATCH 2/9] KEYS: Provide a generic instantiation function

2013-11-04 Thread David Howells
Provide a generic instantiation function for key types that use the preparse hook. This makes it easier to prereserve key quota before keyrings get locked to retain the new key. Signed-off-by: David Howells dhowe...@redhat.com --- crypto/asymmetric_keys/asymmetric_type.c | 25

Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver (v4)

2013-11-04 Thread Frank Haverkamp
Hi Greg, Am Mittwoch, den 30.10.2013, 10:44 -0700 schrieb Greg KH: On Wed, Oct 30, 2013 at 10:32:58AM +0100, Frank Haverkamp wrote: +/* + * Create device_attribute structures / params: name, mode, show, store + * additional flag if valid in VF + */ +struct genwqe_dev_attrib { +

Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver (v4)

2013-11-04 Thread Frank Haverkamp
Hi Ryan, Am Donnerstag, den 31.10.2013, 14:49 +1100 schrieb Ryan Mallon: +static ssize_t show_card_status(struct device *dev, + struct device_attribute *attr, + char *buf) +{ + ssize_t len = 0; + struct genwqe_dev *cd =

Re: [PATCH 12/13] tracing/uprobes: Add more fetch functions

2013-11-04 Thread Oleg Nesterov
On 11/04, Namhyung Kim wrote: On Thu, 31 Oct 2013 19:22:18 +0100, Oleg Nesterov wrote: On 10/29, Namhyung Kim wrote: +static void __user *get_user_vaddr(unsigned long addr, struct trace_uprobe *tu) +{ + unsigned long pgoff = addr PAGE_SHIFT; + struct vm_area_struct *vma; +

Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver (v4)

2013-11-04 Thread Frank Haverkamp
Hi Ryan, Am Donnerstag, den 31.10.2013, 14:49 +1100 schrieb Ryan Mallon: +/** + * create_card_sysfs() - Setup sysfs entries of the card device + * + * VFs have restricted mmio capabilities, so not all sysfs entries + * are allowed in VFs. + */ +int create_card_sysfs(struct

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-04 Thread Peter Zijlstra
On Mon, Nov 04, 2013 at 08:27:32AM -0800, Paul E. McKenney wrote: /* * One important detail is that the kbuf part and the kbuf_writer() are * strictly per cpu and we can thus rely on program order for those. * * Only the userspace consumer can possibly run on another cpu, and

[PATCH 0/6] powerpc/math-emu: e500 SPE float emulation fixes

2013-11-04 Thread Joseph S. Myers
This patch series fixes various problems with the floating-point emulation code for powerpc e500 SPE (some being issues with the e500-specific emulation code, some with the generic math-emu headers). All six patches were sent individually last month as the issues were identified and fixed in the

[PATCH 2/6] powerpc: fix e500 SPE float rounding inexactness detection

2013-11-04 Thread Joseph S. Myers
From: Joseph Myers jos...@codesourcery.com The e500 SPE floating-point emulation code for the rounding modes rounding to positive or negative infinity (which may not be implemented in hardware) tries to avoid emulating rounding if the result was inexact. However, it tests inexactness using the

[PATCH 4/6] math-emu: fix floating-point to integer overflow detection

2013-11-04 Thread Joseph S. Myers
From: Joseph Myers jos...@codesourcery.com On overflow, the math-emu macro _FP_TO_INT_ROUND tries to saturate its result (subject to the value of rsigned specifying the desired overflow semantics). However, if the rounding step has the effect of increasing the exponent so as to cause overflow

[PATCH 3/6] math-emu: fix floating-point to integer unsigned saturation

2013-11-04 Thread Joseph S. Myers
From: Joseph Myers jos...@codesourcery.com The math-emu macros _FP_TO_INT and _FP_TO_INT_ROUND are supposed to saturate their results for out-of-range arguments, except in the case rsigned == 2 (when instead the low bits of the result are taken). However, in the case rsigned == 0 (converting to

[PATCH 6/6] powerpc: fix e500 SPE float SIGFPE generation

2013-11-04 Thread Joseph S. Myers
From: Joseph Myers jos...@codesourcery.com The e500 SPE floating-point emulation code is called from SPEFloatingPointException and SPEFloatingPointRoundException in arch/powerpc/kernel/traps.c. Those functions have support for generating SIGFPE, but do_spe_mathemu and speround_handler don't

[PATCH 5/6] powerpc: fix e500 SPE float to integer and fixed-point conversions

2013-11-04 Thread Joseph S. Myers
From: Joseph Myers jos...@codesourcery.com The e500 SPE floating-point emulation code has several problems in how it handles conversions to integer and fixed-point fractional types. There are the following 20 relevant instructions. These can convert to signed or unsigned 32-bit integers, either

[PATCH 1/6] powerpc: fix exception clearing in e500 SPE float emulation

2013-11-04 Thread Joseph S. Myers
From: Joseph Myers jos...@codesourcery.com The e500 SPE floating-point emulation code clears existing exceptions (__FPU_FPSCR = ~FP_EX_MASK;) before ORing in the exceptions from the emulated operation. However, these exception bits are the sticky, cumulative exception bits, and should only be

Re: [RFC] arch: Introduce new TSO memory barrier smp_tmb()

2013-11-04 Thread Paul E. McKenney
On Mon, Nov 04, 2013 at 11:05:53AM +, Will Deacon wrote: On Sun, Nov 03, 2013 at 11:34:00PM +, Linus Torvalds wrote: So it would *kind* of act like a smp_wmb() + smp_rmb(), but the problem is that a smp_rmb() doesn't really attach to the preceding write. Agreed. This is

Re: BUG: soft lockup - CPU#8 stuck for 22s!

2013-11-04 Thread Mel Gorman
On Tue, Oct 22, 2013 at 01:29:22PM -0400, Don Morris wrote: Greetings, all. Just wanted to drop this out there to see if it rang any bells. I've been getting a soft lockup (numad thread stuck on a cpu while attempting to attach a task to a cgroup) for a while now, but I thought it was only

[PATCH 0/9] Generic WorkQueue Engine (GenWQE) device driver (v5)

2013-11-04 Thread Frank Haverkamp
The GenWQE device is a PCIe card used to acclerate different tasks. Since it is configurable, it can be adjusted to different purposes. Our initial task for the card is to do zlib style compression/decompression RFC1950, RFC1951, and RFC1952. I kindly ask for your feedback on the code, such that

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

2013-11-04 Thread Mark Brown
On Mon, Nov 04, 2013 at 05:52:51PM +1100, Stephen Rothwell wrote: Caused by commit fc1a38653793 (ASoC: Add pinctrl PM to components of active DAIs) from the sound-asoc tree. I have reverted that commit for today. Thanks, I'd already reverted it in my tree after a report from Fengguang but

[PATCH 8/9] GenWQE: Simplify sysfs buffer printouts

2013-11-04 Thread Frank Haverkamp
Rework code which was inteneded to print out multiple lines via sysfs attributes. This is not needed anymore. We just print one item. Signed-off-by: Frank Haverkamp ha...@linux.vnet.ibm.com --- drivers/misc/genwqe/card_sysfs.c | 59 +- 1 files changed, 14

[PATCH 4/9] GenWQE: Rework comments

2013-11-04 Thread Frank Haverkamp
Some leftovers from the comment cleanup. Fix them up such that they match the requested format. Signed-off-by: Frank Haverkamp ha...@linux.vnet.ibm.com --- include/linux/genwqe/genwqe_card.h | 40 +++ 1 files changed, 22 insertions(+), 18 deletions(-) diff

[PATCH 9/9] GenWQE: Increment driver internal version number

2013-11-04 Thread Frank Haverkamp
New version for this release. Signed-off-by: Frank Haverkamp ha...@linux.vnet.ibm.com --- drivers/misc/genwqe/genwqe_driver.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/misc/genwqe/genwqe_driver.h b/drivers/misc/genwqe/genwqe_driver.h index

[PATCH 5/9] GenWQE: Move comments

2013-11-04 Thread Frank Haverkamp
Move documentation from driver sources to appropriate place in the sysfs documentation file for this driver Signed-off-by: Frank Haverkamp ha...@linux.vnet.ibm.com --- Documentation/ABI/testing/sysfs-driver-genwqe |9 + drivers/misc/genwqe/card_base.c | 20

[PATCH 7/9] GenWQE: Start using sysfs attribute groups

2013-11-04 Thread Frank Haverkamp
Use the existing sysfs infrastructure to create multiple attributes instead of doing things manually. Use the is_visible callback now to determine if an attribute is visible or not. Signed-off-by: Frank Haverkamp ha...@linux.vnet.ibm.com --- drivers/misc/genwqe/card_base.h |6 +-

[PATCH 2/9] GenWQE: Remove option to select name

2013-11-04 Thread Frank Haverkamp
Selecting interface names via configuration option is obsolete. Signed-off-by: Frank Haverkamp ha...@linux.vnet.ibm.com --- drivers/misc/genwqe/Kconfig| 14 ++ include/linux/genwqe/genwqe_card.h |6 +- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git

Re: [PATCH v4] ASoC: Add pinctrl PM to components of active DAIs

2013-11-04 Thread Mark Brown
On Mon, Nov 04, 2013 at 02:57:31PM +0800, Nicolin Chen wrote: It's quite popular that more drivers are using pinctrl PM, for example: (Documentation/devicetree/bindings/arm/primecell.txt). Just like what runtime PM does, it would deactivate and activate pin group depending on whether it's

[PATCH 6/9] GenWQE: Remove/rework module parameters

2013-11-04 Thread Frank Haverkamp
The module parameter genwqe_vf_jobtimeout_msec is changed into a debugfs interface: /sys/kernel/debug/genwqe/genwqen_card/vf0..14_jobtimeout_msec The setting is applied when the virtual functions are enabled. Switching during operation is not allowed. The following thow former module parameters

[PATCH 3/9] GenWQE: Remove obsolete constants

2013-11-04 Thread Frank Haverkamp
The removed constants should not be part of the user-space kernel interface. Signed-off-by: Frank Haverkamp ha...@linux.vnet.ibm.com --- include/linux/genwqe/genwqe_card.h | 12 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/include/linux/genwqe/genwqe_card.h

Re: rcu: Throttle rcu_try_advance_all_cbs() execution causes visible slowdown in ftrace switching

2013-11-04 Thread Paul E. McKenney
On Fri, Nov 01, 2013 at 06:19:44PM +0100, Petr Mladek wrote: Hi, I am doing some clean up in x86 ftrace code. I check the performance by switching between different tracers and by enabling and disabling them. The operation has started to be much slower after rebasing on the kernel tip

[RESEND][PATCH] x86, procfs: always print MP information in /proc/cpuinfo

2013-11-04 Thread HATAYAMA Daisuke
show_cpuinfo_core() has displayed cpu core information only if the number of threads per a whole cores is strictly larger than 1. However, this condition doesn't care about the number of sockets. For example, this condition doesn't hold on the system with two logical cpus consisting of two

Re: [PATCH 12/13] tracing/uprobes: Add more fetch functions

2013-11-04 Thread Steven Rostedt
On Mon, 4 Nov 2013 17:44:31 +0100 Oleg Nesterov o...@redhat.com wrote: On 11/04, Namhyung Kim wrote: On Thu, 31 Oct 2013 19:22:18 +0100, Oleg Nesterov wrote: On 10/29, Namhyung Kim wrote: +static void __user *get_user_vaddr(unsigned long addr, struct trace_uprobe *tu) +{ +

[PATCH v5 0/4] qrwlock: Introducing a queue read/write lock implementation

2013-11-04 Thread Waiman Long
v4-v5: - Fix wrong definitions for QW_MASK_FAIR QW_MASK_UNFAIR macros. - Add an optional patch 4 which should only be applied after the mcs_spinlock.h header file is merged. v3-v4: - Optimize the fast path with better cold cache behavior and performance. - Removing some testing code.

[PATCH v5 4/4] qrwlock: Use the mcs_spinlock helper functions for MCS queuing

2013-11-04 Thread Waiman Long
There is a pending patch in the rwsem patch series that adds a generic MCS locking helper functions to do MCS-style locking. This patch will enable the queue rwlock to use that generic MCS lock/unlock primitives for internal queuing. This patch should only be merged after the merging of that

[PATCH v5 2/4] qrwlock x86: Enable x86 to use queue read/write lock

2013-11-04 Thread Waiman Long
This patch makes the necessary changes at the x86 architecture specific layer to enable the presence of the CONFIG_QUEUE_RWLOCK kernel option to replace the read/write lock by the queue read/write lock. It also enables CONFIG_ARCH_QUEUE_RWLOCK which will force the use of queue read/write lock for

[PATCH v5 1/4] qrwlock: A queue read/write lock implementation

2013-11-04 Thread Waiman Long
This patch introduces a new read/write lock implementation that put waiting readers and writers into a queue instead of actively contending the lock like the current read/write lock implementation. This will improve performance in highly contended situation by reducing the cache line bouncing

Re: [PATCH 3/3] perf tools: Add -L as short option for call-graph for record/top commands

2013-11-04 Thread Jiri Olsa
On Fri, Nov 01, 2013 at 04:53:59PM +0100, Andi Kleen wrote: On Fri, Nov 01, 2013 at 04:23:14PM +0100, Jiri Olsa wrote: Adding -L as short option for call-graph for record/top commands. Plus documentation update. Seems overkill. I guess the long option is enough, and in perf short options

[PATCH v5 3/4] qrwlock: Enable fair queue read/write lock

2013-11-04 Thread Waiman Long
By default, queue rwlock is fair among writers and gives preference to readers allowing them to steal lock even if a writer is waiting. However, there is a desire to have a fair variant of rwlock that is more deterministic. To enable this, fair variants of lock initializers are added by this patch

Re: [PATCH] arm64: use generic RW_DATA_SECTION macro in linker script

2013-11-04 Thread Will Deacon
On Mon, Nov 04, 2013 at 04:38:47PM +, Mark Salter wrote: The .data section in the arm64 linker script currently lacks a definition for page-aligned data. This leads to a .page_aligned section being placed between the end of data and start of bss. This patch corrects that by using the

Re: [linux-sunxi] [PATCH 2/2] ARM: sun6i: Add SMP support for the Allwinner A31

2013-11-04 Thread Ian Campbell
Not a comment on the patch, or even A31, but a question about how the SMP boot process works on sunxi generally... On Sun, 2013-11-03 at 10:30 +0100, Maxime Ripard wrote: The A31 is a quad Cortex-A7. Add the logic to use the IPs used to control the CPU configuration and the CPU power so that we

Re: [Xen-devel] [PATCH] drivers: xen-selfballoon: consider slab pages

2013-11-04 Thread David Vrabel
On 04/11/13 12:39, Bob Liu wrote: Currently the goal_page in xen-selfballon doesn't consider much about pages used in kernel space. A typical usage is slab pages, without consider slab pages the goal_page result may be too rough and lead extra memory pressure to guest os. Can you provide

[PATCH 1/4] ahci: Add Device IDs for Intel Wildcat Point-LP

2013-11-04 Thread James Ralston
This patch adds the AHCI-mode SATA Device IDs for the Intel Wildcat Point-LP PCH. Signed-off-by: James Ralston james.d.rals...@intel.com --- drivers/ata/ahci.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 8e28f92..e2903d0 100644 ---

[PATCH 9/9] KEYS: Fix encrypted key type update method

2013-11-04 Thread David Howells
The encrypted key type was using the update method to change the master key used to encrypt a key without passing in all the requisite parameters to completely replace the key contents (it was taking some parameters from the old key contents). Unfortunately, this has a number of problems: (1)

[PATCH 2/4] hda_intel: Add Device IDs for Intel Wildcat Point-LP PCH

2013-11-04 Thread James Ralston
This patch adds the HD Audio Device IDs for the Intel Wildcat Point-LP PCH. Signed-off-by: James Ralston james.d.rals...@intel.com --- sound/pci/hda/hda_intel.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 6e61a01..1560266

[PATCH 3/4] i2c-i801: Add Device IDs for Intel Wildcat Point-LP PCH

2013-11-04 Thread James Ralston
This patch adds the SMBus Device IDs for the Intel Wildcat Point-LP PCH. Signed-off-by: James Ralston james.d.rals...@intel.com --- Documentation/i2c/busses/i2c-i801 | 1 + drivers/i2c/busses/Kconfig| 1 + drivers/i2c/busses/i2c-i801.c | 3 +++ 3 files changed, 5 insertions(+) diff

[PATCH 4/4] lpc_ich: Add Device IDs for Intel Wildcat Point-LP PCH

2013-11-04 Thread James Ralston
This patch adds the TCO Watchdog Device IDs for the Intel Wildcat Point-LP PCH. Signed-off-by: James Ralston james.d.rals...@intel.com --- drivers/mfd/lpc_ich.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index 9483bc8..e775bfb

Re: [PATCH 2/4] hda_intel: Add Device IDs for Intel Wildcat Point-LP PCH

2013-11-04 Thread Takashi Iwai
At Mon, 4 Nov 2013 09:27:45 -0800, James Ralston wrote: This patch adds the HD Audio Device IDs for the Intel Wildcat Point-LP PCH. Signed-off-by: James Ralston james.d.rals...@intel.com Thanks, applied. Takashi --- sound/pci/hda/hda_intel.c | 4 1 file changed, 4 insertions(+)

Re: BUG: soft lockup - CPU#8 stuck for 22s!

2013-11-04 Thread Don Morris
On 11/04/2013 12:04 PM, Mel Gorman wrote: On Tue, Oct 22, 2013 at 01:29:22PM -0400, Don Morris wrote: Greetings, all. Just wanted to drop this out there to see if it rang any bells. I've been getting a soft lockup (numad thread stuck on a cpu while attempting to attach a task to a cgroup)

Re: [PATCH 4/5] sched: Refactor iowait accounting

2013-11-04 Thread Frederic Weisbecker
On Sun, Oct 20, 2013 at 01:10:06PM +0200, Andreas Mohr wrote: Hi, +u64 get_cpu_iowait_time_us(int cpu, u64 *last_update_time) +{ + ktime_t iowait, delta = { .tv64 = 0 }; + struct rq *rq = cpu_rq(cpu); + ktime_t now = ktime_get(); + unsigned int seq; + + do { +

Re: [PATCH 02/11] devicetree: bindings: Document Qualcomm cpus and enable-method

2013-11-04 Thread Stephen Boyd
On 11/01, Rob Herring wrote: On Fri, Nov 1, 2013 at 5:08 PM, Stephen Boyd sb...@codeaurora.org wrote: From: Rohit Vaswani rvasw...@codeaurora.org Scorpion and Krait are Qualcomm cpus. These cpus don't use the spin-table enable-method. Instead they rely on mmio register accesses to

Re: [GIT PULL] (xen) stable/for-jens-3.12 for Jens Axboe

2013-11-04 Thread Konrad Rzeszutek Wilk
On Fri, Sep 06, 2013 at 02:26:34PM -0600, Jens Axboe wrote: On 09/06/2013 02:25 PM, Konrad Rzeszutek Wilk wrote: Hey Jens, I sent you a git pull a couple of weeks ago but I am not sure if you pulled it. It does not look like it, so here it is again along with an extra bug-fix.

[PATCH 5/9] KEYS: Call -free_preparse() even after -preparse() returns an error

2013-11-04 Thread David Howells
Call the -free_preparse() key type op even after -preparse() returns an error as it does cleaning up type stuff. Signed-off-by: David Howells dhowe...@redhat.com --- Documentation/security/keys.txt |4 +++- security/keys/key.c |9 - 2 files changed, 7 insertions(+),

Re: [PATCH 4/4] lpc_ich: Add Device IDs for Intel Wildcat Point-LP PCH

2013-11-04 Thread Samuel Ortiz
Hi James, On Mon, Nov 04, 2013 at 09:31:20AM -0800, James Ralston wrote: This patch adds the TCO Watchdog Device IDs for the Intel Wildcat Point-LP PCH. Signed-off-by: James Ralston james.d.rals...@intel.com --- drivers/mfd/lpc_ich.c | 13 + 1 file changed, 13 insertions(+)

Re: [GIT PULL] (xen) stable/for-jens-3.12 for Jens Axboe

2013-11-04 Thread Jens Axboe
On 11/04/2013 10:37 AM, Konrad Rzeszutek Wilk wrote: On Fri, Sep 06, 2013 at 02:26:34PM -0600, Jens Axboe wrote: On 09/06/2013 02:25 PM, Konrad Rzeszutek Wilk wrote: Hey Jens, I sent you a git pull a couple of weeks ago but I am not sure if you pulled it. It does not look like it, so here it

Re: Linux 3.12 released .. and no merge window yet .. and 4.0 plans?

2013-11-04 Thread Alexander Holler
Am 04.11.2013 01:10, schrieb Linus Torvalds: (...) Onto a totally different topic: we're getting to release numbers where I have to take off my socks to count that high again. I'm ok with 3.low teens, but I don't want us to get to the kinds of crazy numbers we had in the 2.x series, so at some

Re: [PATCH] x86: Allow NR_CPUS=1024

2013-11-04 Thread Ingo Molnar
* Russ Anderson r...@sgi.com wrote: Russ, does SGI (or anyone else that you know of) have x86 hardware with more than 4096 CPUs? Yes. We have a system in the lab with 254 12-core IVB sockets for a total of 3048 cores. With HT is it 6096 cpus. It would then be nice to up MAXSMP to

Re: [PATCH for-next] dm: fix missing bi_remaining accounting

2013-11-04 Thread Mikulas Patocka
On Mon, 4 Nov 2013, Mike Snitzer wrote: On Mon, Nov 04 2013 at 10:25am -0500, Mikulas Patocka mpato...@redhat.com wrote: On Mon, 4 Nov 2013, Mike Snitzer wrote: On Mon, Nov 04 2013 at 10:06am -0500, Mikulas Patocka mpato...@redhat.com wrote: The code uses

Re: [PATCH] phy: Add MOXA RTL8201CP PHY support

2013-11-04 Thread Florian Fainelli
. Yes, I tried using phy_mac_interrupt() but had some difficulties (I'll explain below). It seemed to be what I want and is wrapped with EXPORT_SYMBOL(). However, as of next-20131104 I don't see how this works for DT probed devices (those that set PHY_IGNORE_INTERRUPT). As I tried

Re: [PATCH] mm: cache largest vma

2013-11-04 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: On Mon, Nov 04, 2013 at 08:05:00AM +0100, Ingo Molnar wrote: * Davidlohr Bueso davidl...@hp.com wrote: Btw, do you suggest using a high level tool such as perf for getting this data or sprinkling get_cycles() in find_vma() -- I'd

[PATCH 01/29] perf probe: Fix typo

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com s/tyep/type/g. Cc: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa jo...@redhat.com Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Mike Galbraith

[PATCH 09/29] perf script: Set up output options for in-stream attributes

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Attributes (struct perf_event_attr) are recorded separately in the perf.data file. perf script uses them to set up output options. However attributes can also be in the event stream, for example when the input is a pipe (i.e. live mode). This patch

[PATCH 22/29] tools lib traceevent: Add support for extracting trace_clock in report

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com If trace-cmd extracts trace_clock, trace-cmd reads trace_clock data from the trace.dat and switches outputting format of timestamp for each trace_clock. Signed-off-by: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com Cc: Andrew Morton

[GIT PULL 00/29] perf/core improvements and fixes

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@ghostprotocols.net Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 46d525eae2a076adfde92dca1db12d9a3b8ad8bb: perf test: Update command line callchain attribute tests (2013-11-01 10:42:57 -0300) are available in the

[PATCH 02/29] perf tools: Add missing data.h into LIB_H headers

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding missing data.h into LIB_H headers so the build could keep up with its changes. Reported-by: Adrian Hunter adrian.hun...@intel.com Cc: Adrian Hunter adrian.hun...@intel.com Cc: Andi Kleen a...@firstfloor.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc:

[PATCH 12/29] perf evlist: Add a debug print if event buffer mmap fails

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Add a debug print if mmap of the perf event ring buffer fails. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@redhat.com Cc: Jiri Olsa

[PATCH 16/29] perf evsel: Synthesize PERF_SAMPLE_TRANSACTION

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Add missing PERF_SAMPLE_TRANSACTION to perf_event__synthesize_sample() and perf_event__sample_event_size(). This makes the sample parsing test pass. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: Andi Kleen a...@firstfloor.org Cc: David

[PATCH 03/29] perf tools: Use an accessor to read thread comm

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Frederic Weisbecker fweis...@gmail.com As the thread comm is going to be implemented by way of a more complicated data structure than just a pointer to a string from the thread struct, convert the readers of comm to use an accessor instead of accessing it directly. The accessor will be

[PATCH 15/29] perf test: Update sample parsing test for PERF_SAMPLE_TRANSACTION

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com In fact the sample parsing test does not automatically check new sample type bits - they must be added to the comparison logic. Doing that shows that the test fails because the functions perf_event__synthesize_sample() and

Re: [GIT PULL] (xen) stable/for-jens-3.12 for Jens Axboe

2013-11-04 Thread Konrad Rzeszutek Wilk
On Mon, Nov 04, 2013 at 10:40:02AM -0700, Jens Axboe wrote: On 11/04/2013 10:37 AM, Konrad Rzeszutek Wilk wrote: On Fri, Sep 06, 2013 at 02:26:34PM -0600, Jens Axboe wrote: On 09/06/2013 02:25 PM, Konrad Rzeszutek Wilk wrote: Hey Jens, I sent you a git pull a couple of weeks ago but I

[PATCH 27/29] tools lib traceevent: Check for spaces in character array

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Steven Rostedt (Red Hat) rost...@goodmis.org Currently when using the raw format for fields, when looking at a character array, to determine if it is a string or not, we make sure all characters are isprint(). If not, then we consider it a numeric array, and print the hex numbers of the

[PATCH 14/29] perf evsel: Add missing overflow check for TRANSACTION

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Add missing overflow check for PERF_SAMPLE_TRANSACTION in perf_evsel__parse_sample(). Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@redhat.com Cc:

[PATCH 10/29] perf tools: Fix 32-bit cross build

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Setting EXTRA_CFLAGS=-m32 did not work because it was not passed around. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@redhat.com Cc: Jiri Olsa

Re: [PATCH 3/3] perf tools: Check maximum frequency rate for record/top

2013-11-04 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 04, 2013 at 04:32:16PM +0100, Jiri Olsa escreveu: On Mon, Nov 04, 2013 at 08:17:24AM -0700, David Ahern wrote: On 11/4/13, 4:06 AM, Jiri Olsa wrote: Adding the check for maximum allowed frequency rate defined in following file: /proc/sys/kernel/perf_event_max_sample_rate

[PATCH 28/29] tools lib traceevent: Add flags NOHANDLE and PRINTRAW to individual events

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Steven Rostedt srost...@redhat.com Add the flags EVENT_FL_NOHANDLE and EVENT_FL_PRINTRAW to the event flags to have the event either ignore the register handler or to ignore the handler and also print the raw format respectively. This allows a tool to force a raw format or non handle for

[PATCH 18/29] perf report: Postpone setting up browser after parsing options

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com If setup_browser() called earlier than option parsing, the actual error message can be discarded during the terminal reset. So move it after setup_sorting() checks whether the sort keys are valid. Signed-off-by: Namhyung Kim namhy...@kernel.org Acked-by:

[PATCH 17/29] perf tools: Show single option when failed to parse

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Current option parser outputs whole option help string when it failed to parse an option. However this is not good for user if the command has many option, she might feel hard which one is related easily. Fix it by just showing the help message of the

Re: [PATCH 09/11] ARM: msm: Add SMP support for KPSSv2

2013-11-04 Thread Stephen Boyd
On 11/01, Janakiram Sistla wrote: On 1 November 2013 15:08, Stephen Boyd sb...@codeaurora.org wrote: + err = -ENOMEM; + goto err_map; + } + + l2_saw_base = of_iomap(l2_node, 0); + if (!l2_saw_base) { + err = -ENOMEM; +

[PATCH 08/29] perf evsel: Add a debug print if perf_event_open fails

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com There is a debug print (at verbose level 2) for each call to perf_event_open. Add another debug print if the call fails, and print the error number. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic

[PATCH 23/29] tools lib traceevent: Update printk formats when entered

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Steven Rostedt (Red Hat) rost...@goodmis.org Instead of cropping off the '' and '\n' from a printk format every time it is referenced, do it when it's added. This makes it easier to reference a printk_map and should speed things up a little. Signed-off-by: Steven Rostedt

[PATCH 29/29] tools lib traceevent: Add pevent_print_func_field() helper function

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Steven Rostedt srost...@redhat.com Add the pevent_print_func_field() that will look up a field that is expected to be a function pointer, and it will print the function name and offset of the address given by the field. Signed-off-by: Steven Rostedt rost...@goodmis.org Cc: Andrew Morton

[PATCH 13/29] perf evsel: Always use perf_evsel__set_sample_bit()

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Always use perf_evsel__set_sample_bit() rather than just setting the bit. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@redhat.com Cc: Jiri Olsa

[PATCH 20/29] perf top: Use parse_options_usage() for -s option failure

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com The -s (--sort) option was processed after normal option parsing so that it cannot call the parse_options_usage() automatically. Currently it calls usage_with_options() which shows entire help messages for event option. Fix it by showing just -s options.

[PATCH 11/29] perf tools: Fix libunwind build and feature detection for 32-bit build

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Use -lunwind-x86 instead of -lunwind-x86_64 for 32-bit build. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Jiri Olsa jo...@redhat.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar

[PATCH 21/29] perf stat: Enhance option parse error message

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Print related option help messages only when it failed to process options. While at it, modify parse_options_usage() to skip usage part so that it can be used for showing multiple option help messages naturally like below: $ perf stat -Bx, ls -B

[PATCH 07/29] perf tools: Get current comm instead of last one

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com At insert time, a hist entry should reference comm at the time otherwise it'll get the last comm anyway. Signed-off-by: Namhyung Kim namhy...@kernel.org Acked-by: Frederic Weisbecker fweis...@gmail.com Tested-by: Jiri Olsa jo...@redhat.com Cc: Frederic

[PATCH 26/29] tools lib traceevent: Have bprintk output the same as the kernel does

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Steven Rostedt (Red Hat) rost...@goodmis.org The trace_bprintk() in the kernel looks like: ring_buffer_producer_thread: Missed: 0 ring_buffer_producer_thread: Hit: 62174350 ring_buffer_producer_thread: Entries per millisec: 6296 ring_buffer_producer_thread: 158 ns per entry

[PATCH 24/29] tools lib traceevent: If %s is a pointer, check printk formats

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Steven Rostedt (Red Hat) rost...@goodmis.org If the format string of TP_printk() contains a %s, and the argument is not a string, check if the argument is a pointer that might match the printk_formats that were stored. Signed-off-by: Steven Rostedt rost...@goodmis.org Cc: Andrew Morton

[PATCH 19/29] perf report: Use parse_options_usage() for -s option failure

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com The -s (--sort) option was processed after normal option parsing so that it cannot call the parse_options_usage() automatically. Currently it calls usage_with_options() which shows entire help messages for event option. Fix it by showing just -s options.

[PATCH 25/29] tools lib traceevent: Handle __print_hex(__get_dynamic_array(fieldname), len)

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Howard Cochran hcoch...@lexmark.com The kernel has a few events with a format similar to this excerpt: field:unsigned int len; offset:12; size:4; signed:0; field:__data_loc unsigned char[] data_array; offset:16; size:4; signed:0; print fmt: %s,

[PATCH 05/29] perf tools: Add new COMM infrastructure

2013-11-04 Thread Arnaldo Carvalho de Melo
From: Frederic Weisbecker fweis...@gmail.com This new COMM infrastructure provides two features: 1) It keeps track of all comms lifecycle for a given thread. This way we can associate a timeframe to any thread COMM, as long as PERF_SAMPLE_TIME samples are joined to COMM and fork events. As a

[PATCH 7/9] KEYS: Add a keyctl function to alter/control a key in type-dependent way

2013-11-04 Thread David Howells
Add a function to permit a key to be altered or controlled in a type-dependent way. This is given text strings as its command and argument parameters and is permitted to return a string to a maximum buffer size (including NUL): long keyctl_control(key_serial_t keyid,

  1   2   3   4   5   6   7   8   9   10   >