Re: [PATCH -tip ] [BUGFIX/URGENT] perf-probe: Do not add offset to uprobe address

2014-02-05 Thread Namhyung Kim
Hi Masami, On Wed, 05 Feb 2014 05:18:58 +, Masami Hiramatsu wrote: > Fix perf-probe not to add offset value to uprobe probe > address when post processing. > tevs[i].point.address is the address of symbol+offset, > but current perf-probe adjusts the point.address by > adding the offset. As a

Re: 3.12: ethernet controller missing after resuming from suspend to RAM

2014-02-05 Thread Francis Moreau
Hi, On 02/06/2014 12:42 AM, Bastien Traverse wrote: > Hello, > > I'm encountering the exact same problem (same model of machine, same > controller, same OS) and was wondering where this bug was at. I'm still leaving with this issue since my initial posting unfortunately :( I'm wondering why PM

Re: [PATCH] backlight: add PWM dependencies

2014-02-05 Thread Jingoo Han
On Thursday, February 06, 2014 3:50 PM, Jingoo Han wrote: > On Wednesday, February 05, 2014 5:58 PM, Linus Walleij wrote: > > On Wed, Feb 5, 2014 at 6:01 AM, Jingoo Han wrote: > > > On Tuesday, February 04, 2014 9:57 PM, Linus Walleij wrote: > > >> > > >> In some compilations the LM3630A and

Re: [PATCH V4 5/8] SPEAr13xx: Fixup: Move SPEAr1340 SATA platform code to phy driver

2014-02-05 Thread Pratyush Anand
On Thu, Feb 06, 2014 at 02:32:42PM +0800, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 06 February 2014 10:14 AM, Pratyush Anand wrote: > > ahci driver needs some platform specific functions which are called at > > init, exit, suspend and resume conditions. Till now these functions were >

[PATCH 1/2] iio:as3935: Add DT binding docs for AS3935 driver

2014-02-05 Thread Matt Ranostay
Document compatible string, required and optional DT properties for AS3935 chipset driver. Signed-off-by: Matt Ranostay --- .../devicetree/bindings/iio/proximity/as3935.txt | 28 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 2 files changed, 29

[PATCH 2/2] iio: Add AS3935 lightning sensor support

2014-02-05 Thread Matt Ranostay
AS3935 chipset can detect lightning strikes and reports those back as events and the estimated distance to the storm. Signed-off-by: Matt Ranostay --- .../ABI/testing/sysfs-bus-iio-proximity-as3935 | 18 + drivers/iio/Kconfig| 1 + drivers/iio/Makefile

[PATCH 0/2] AS3935 lightning sensor support

2014-02-05 Thread Matt Ranostay
This series adds support for the AMS AS3935 lightning sensor that allows reporting back estimated storm distance and strike events. Matt Ranostay (2): iio:as3935: Add DT binding docs for AS3935 driver iio: Add AS3935 lightning sensor support .../ABI/testing/sysfs-bus-iio-proximity-as3935

Re: [PATCH] backlight: add PWM dependencies

2014-02-05 Thread Jingoo Han
On Wednesday, February 05, 2014 5:58 PM, Linus Walleij wrote: > On Wed, Feb 5, 2014 at 6:01 AM, Jingoo Han wrote: > > On Tuesday, February 04, 2014 9:57 PM, Linus Walleij wrote: > >> > >> In some compilations the LM3630A and LP855X backlight drivers > >> fail like this: > >> > >>

[PATCH 2/2] regulator: rc5t583: Allow missing init_data for diagnostics

2014-02-05 Thread Axel Lin
The regulator core supports this to allow the configuration to be inspected at runtime even if no software management is enabled. Signed-off-by: Axel Lin --- drivers/regulator/rc5t583-regulator.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git

Re: [PATCH V4 4/8] phy: st-miphy-40lp: Add skeleton driver

2014-02-05 Thread Pratyush Anand
On Thu, Feb 06, 2014 at 02:23:20PM +0800, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 06 February 2014 11:44 AM, Pratyush Anand wrote: > > Hi Kishon, > > > > On Thu, Feb 06, 2014 at 02:01:45PM +0800, Kishon Vijay Abraham I wrote: > >> Hi, > >> > >> On Thursday 06 February 2014 10:14 AM,

[PATCH 1/2] regulator: as3711: Allow missing init_data for diagnostics

2014-02-05 Thread Axel Lin
The regulator core supports this to allow the configuration to be inspected at runtime even if no software management is enabled. Signed-off-by: Axel Lin --- drivers/regulator/as3711-regulator.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git

Re: [PATCH v2] slub: Do not assert not having lock in removing freed partial

2014-02-05 Thread Vladimir Davydov
On 02/06/2014 07:21 AM, Steven Rostedt wrote: > Vladimir reported the following issue: > > Commit c65c1877bd68 ("slub: use lockdep_assert_held") requires > remove_partial() to be called with n->list_lock held, but free_partial() > called from kmem_cache_close() on cache destruction does not follow

Re: [PATCH v3 1/6] fat: add i_disksize to represent uninitialized size

2014-02-05 Thread Namjae Jeon
2014-02-04, OGAWA Hirofumi : > OGAWA Hirofumi writes: > Don't we need to update ->i_disksize after cont_write_begin()? >>> We don't need to update i_disksize after cont_write_begin. >>> It is taken care by the fat_get_block after the allocation. >>> For all write paths we align the

Re: [PATCH] mm: __set_page_dirty_nobuffers uses spin_lock_irqseve instead of spin_lock_irq

2014-02-05 Thread Yasuaki Ishimatsu
(2014/02/04 1:49), kosaki.motoh...@gmail.com wrote: From: KOSAKI Motohiro During aio stress test, we observed the following lockdep warning. This mean AIO+numa_balancing is currently deadlockable. The problem is, aio_migratepage disable interrupt, but __set_page_dirty_nobuffers

Re: [PATCH V4 5/8] SPEAr13xx: Fixup: Move SPEAr1340 SATA platform code to phy driver

2014-02-05 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 February 2014 10:14 AM, Pratyush Anand wrote: > ahci driver needs some platform specific functions which are called at > init, exit, suspend and resume conditions. Till now these functions were > present in a platform driver with a fixme notes. > > Similar functions modifying

Re: [PATCH 1/3] perf tools: Put proper period for for samples without PERIOD sample_type

2014-02-05 Thread Namhyung Kim
Hi Jiri, On Wed, 5 Feb 2014 15:33:29 +0100, Jiri Olsa wrote: > On Wed, Feb 05, 2014 at 10:27:30AM +0900, Namhyung Kim wrote: >> Hi Jiri, >> >> On Mon, 3 Feb 2014 12:44:41 +0100, Jiri Olsa wrote: >> > We use PERF_SAMPLE_PERIOD sample type only for frequency >> > setup -F (default) option. The -c

Re: [PATCH V4 4/8] phy: st-miphy-40lp: Add skeleton driver

2014-02-05 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 February 2014 11:44 AM, Pratyush Anand wrote: > Hi Kishon, > > On Thu, Feb 06, 2014 at 02:01:45PM +0800, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Thursday 06 February 2014 10:14 AM, Pratyush Anand wrote: >>> ST miphy-40lp supports PCIe, SATA and Super Speed USB. This

Re: 3.13: BUG: unable to handle kernel paging request at 00000000b4343e88

2014-02-05 Thread Meelis Roos
> > Using your config I was able to reproduce the crash and locate the > > cause. Commit d61931d89b, "x86: Add optimized popcnt variants" adds > > option -fcall-saved-rdi to the compile flags of lib/hweight.c when > > compiling for x86_64. Together with options --coverage and -O2, this > > results

Re: [PATCH V4 4/8] phy: st-miphy-40lp: Add skeleton driver

2014-02-05 Thread Pratyush Anand
Hi Kishon, On Thu, Feb 06, 2014 at 02:01:45PM +0800, Kishon Vijay Abraham I wrote: > Hi, > > On Thursday 06 February 2014 10:14 AM, Pratyush Anand wrote: > > ST miphy-40lp supports PCIe, SATA and Super Speed USB. This driver adds > > skeleton support for the same. > > > > Currently phy ops are

Re: [PATCH v3 1/1] watchdog: Add tegra watchdog

2014-02-05 Thread Guenter Roeck
On 02/05/2014 07:38 PM, Andrew Chew wrote: Add a driver for the hardware watchdogs in NVIDIA Tegra SoCs (Tegra30 and later). This driver will configure one watchdog timer that will reset the system in the case of a watchdog timeout. This driver binds to the nvidia,tegra30-timer device node and

Re: f2fs: f2fs unmount hangs if f2fs_init_acl() fails during mkdir syscall

2014-02-05 Thread Jaegeuk Kim
Hi, Thank you for the test and valuable report. This bug was fixed recently by: commit 03dea3129d558bf5293a6e9f12777176619ac876 Author: Jaegeuk Kim Date: Wed Feb 5 11:16:39 2014 +0900 f2fs: fix to truncate dentry pages in the error case You can find that from the tree:

[PATCH 1/1] minix: Add __init macro to init_inodecache

2014-02-05 Thread Fabian Frederick
init_inodecache is only called by __init init_minix_fs. Signed-off-by: Fabian Frederick --- fs/minix/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/minix/inode.c b/fs/minix/inode.c index 0332109..d10aeee 100644 --- a/fs/minix/inode.c +++ b/fs/minix/inode.c @@

Re: [PATCH V4 4/8] phy: st-miphy-40lp: Add skeleton driver

2014-02-05 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 February 2014 10:14 AM, Pratyush Anand wrote: > ST miphy-40lp supports PCIe, SATA and Super Speed USB. This driver adds > skeleton support for the same. > > Currently phy ops are returning -EINVAL. They can be elaborated > depending on the SOC being supported in future. > >

[PATCH V3 2/3] tick/cpuidle: Initialize hrtimer mode of broadcast

2014-02-05 Thread Preeti U Murthy
From: Thomas Gleixner On some architectures, in certain CPU deep idle states the local timers stop. An external clock device is used to wakeup these CPUs. The kernel support for the wakeup of these CPUs is provided by the tick broadcast framework by using the external clock device as the wakeup

[PATCH V3 3/3] time/cpuidle:Handle failed call to BROADCAST_ENTER on archs with CPUIDLE_FLAG_TIMER_STOP set

2014-02-05 Thread Preeti U Murthy
Some archs set the CPUIDLE_FLAG_TIMER_STOP flag for idle states in which the local timers stop. The cpuidle_idle_call() currently handles such idle states by calling into the broadcast framework so as to wakeup CPUs at their next wakeup event. With the hrtimer mode of broadcast, the

[PATCH V3 0/3] time/cpuidle: Support in tick broadcast framework in absence of external clock device

2014-02-05 Thread Preeti U Murthy
On some architectures, the local timers of CPUs stop in deep idle states. They will need to depend on an external clock device to wake them up. However certain implementations of archs do not have an external clock device. This patchset provides support in the tick broadcast framework for such

[PATCH V3 1/3] time: Change the return type of clockevents_notify() to integer

2014-02-05 Thread Preeti U Murthy
The broadcast framework can potentially be made use of by archs which do not have an external clock device as well. Then, it is required that one of the CPUs need to handle the broadcasting of wakeup IPIs to the CPUs in deep idle. As a result its local timers should remain functional all the

f2fs: f2fs unmount hangs if f2fs_init_acl() fails during mkdir syscall

2014-02-05 Thread Andrey Tsyvarev
Hello, Testing f2fs (of linux-3.13) under fault simulation, we detected umount() hangs up after mkdir()-> f2fs_add_link()-> init_inode_metadata()-> f2fs_init_acl()-> f2fs_get_acl()-> f2fs_getxattr()-> read_all_xattrs() fails. Also there was a BUG_ON

[PATCH v2 1/4] mfd: DT bindings for TPS65218 PMIC

2014-02-05 Thread Keerthy
Add DT bindings for TPS65218 PMIC. Signed-off-by: Keerthy --- Documentation/devicetree/bindings/mfd/tps65218.txt | 58 .../devicetree/bindings/regulator/tps65218.txt | 22 2 files changed, 80 insertions(+) create mode 100644

[PATCH v2 2/4] MFD: TPS65218: Add driver for the TPS65218 PMIC

2014-02-05 Thread Keerthy
The TPS65218 chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Over Temperature warning and Shut down. This patch adds support for tps65218 mfd device. At this time only the regulator functionality

[PATCH v2 3/4] Regulators: TPS65218: Add Regulator driver for TPS65218 PMIC

2014-02-05 Thread Keerthy
This patch adds support for TPS65218 PMIC regulators. The regulators set consists of 6 DCDCs and 1 LDO. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Keerthy --- drivers/regulator/Kconfig |9 +

[PATCH 4/4] ARM: dts: AM43x: Add dts nodes of TPS65218 PMIC

2014-02-05 Thread Keerthy
Add DT bindings for TPS65218 PMIC. Signed-off-by: Keerthy --- arch/arm/boot/dts/am43x-epos-evm.dts | 40 ++ 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index fbf9c4c..fba45c2 100644

[PATCH 0/4] [PATCH v2 0/4] MFD: TPS65218: Drivers for TPS65218 PMIC.

2014-02-05 Thread Keerthy
The TPS65218 chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Over Temperature warning and Shut down. This patch adds support for TPS65218 mfd device. At this time only the regulator functionality

Re: [PATCH v2] x86, tsc: Add missing Baytrail frequency to the table

2014-02-05 Thread Ingo Molnar
* Mika Westerberg wrote: > On Wed, Jan 29, 2014 at 01:47:54PM -0800, Bin Gao wrote: > > On Tue, Jan 28, 2014 at 02:04:07PM +0200, Mika Westerberg wrote: > > > Actually it does not work. I had the fallback path still in the patch when > > > I tried. > > > > Let's merge the ptach v2

Re: [RFC] de-asmify the x86-64 system call slowpath

2014-02-05 Thread Ingo Molnar
* Linus Torvalds wrote: > [...] > > No, I was thinking "try to optimistically map 8 adjacent aligned > pages at a time" - that would be the same cacheline in the page > tables, so it would be fairly cheap if we couple it with a > gang-lookup of the pages in the page cache (or, for anonymous

[PATCH -tip v3 00/11] perf-probe: Updates for handling local functions correctly and distro debuginfo

2014-02-05 Thread Masami Hiramatsu
Hi, Here is the 3rd version of the series for handling local functions correctly with perf-probe. This version also includes distro debuginfo-file support (a small enhancement, based on existing feature). In this version, I used ref_reloc_sym based probe point instead of absolute

[PATCH -tip v3 04/11] [CLEANUP] perf-probe: Unify show_available_functions for uprobes/kprobes

2014-02-05 Thread Masami Hiramatsu
Unify show_available_functions for uprobes/kprobes to cleanup and reduce the code. This also improves error messages. Signed-off-by: Masami Hiramatsu --- tools/perf/util/probe-event.c | 72 +++-- 1 file changed, 26 insertions(+), 46 deletions(-) diff --git

Re: [PATCH] Make math_state_restore() save and restore the interrupt flag

2014-02-05 Thread George Spelvin
> 3.13 plus this patch: boots and fixes the testcase I reported (core dump > on ecrypt). > > Tested-by: Nate Eldredge It's looking good for me so far, too. I'm slower to reproduce, so I'd like a couple more days before signing off on it, but no complaints yet. -- To unsubscribe from this

[PATCH -tip v3 02/11] [CLEANUP] perf-probe: Remove incorrect symbol check for --list

2014-02-05 Thread Masami Hiramatsu
Remove unneeded symbol check for --list option. This code actually checks whether the given symbol exists in the kernel. But this is incorrect for online kernel/module and offline module too. - For online kernel/module, the kprobes itself already ensured the symbol exist in the kernel. - For

[PATCH -tip v3 06/11] perf-probe: Use ref_reloc_sym based address instead of the symbol name

2014-02-05 Thread Masami Hiramatsu
Since several local symbols can have same name (e.g. t_show), we need to use the relative address from the symbol referred by kmap->ref_reloc_sym instead of the target symbol name itself. Because the kernel address space layout randomize (kASLR) changes the absolute address of kernel symbols, we

[PATCH -tip v3 03/11] [CLEANUP] perf-probe: Replace line_list with intlist

2014-02-05 Thread Masami Hiramatsu
Replace line_list (struct line_node) with intlist for reducing similar codes. Signed-off-by: Masami Hiramatsu --- tools/perf/builtin-probe.c | 12 +++--- tools/perf/util/probe-event.c | 22 +-- tools/perf/util/probe-event.h | 12 +- tools/perf/util/probe-finder.c | 81

[PATCH -tip v3 10/11] perf-probe: Allow to add events on the local functions

2014-02-05 Thread Masami Hiramatsu
Allow to add events on the local functions without debuginfo. (With the debuginfo, we can add events even on inlined functions) Currently, probing on local functions requires debuginfo to locate actual address. It is also possible without debuginfo since we have symbol maps. Without this change;

[PATCH -tip v3 07/11] perf-probe: Find given address from offline dwarf

2014-02-05 Thread Masami Hiramatsu
Find the given address from offline dwarfs instead of online kernel dwarfs. On the KASLR enabled kernel, the kernel text section is loaded with random offset, and the debuginfo__new_online_kernel can't handle it. So let's move to the offline dwarf loader instead of using the online dwarf loader.

[PATCH -tip v3 05/11] perf-probe: Show in what binaries/modules probes are set

2014-02-05 Thread Masami Hiramatsu
Show the name of binary file or modules in which the probes are set with --list option. Without this change; # ./perf probe -m drm drm_av_sync_delay # ./perf probe -x perf dso__load_vmlinux # ./perf probe -l probe:drm_av_sync_delay (on drm_av_sync_delay)

[PATCH -tip v3 08/11] perf-probe: Show appropriate symbol for ref_reloc_sym based kprobes

2014-02-05 Thread Masami Hiramatsu
Show appropriate symbol for ref_reloc_sym based kprobes instead of refpoint+offset when perf-probe -l runs without debuginfo. Without this change: # ./perf probe -l probe:t_show (on _stext+889880 with m v) probe:t_show_1 (on _stext+928568 with m v t) probe:t_show_2

[PATCH -tip v3 09/11] perf-probe: Show source-level or symbol-level info for uprobes

2014-02-05 Thread Masami Hiramatsu
Show source-level or symbol-level information for uprobe events. Without this change; # ./perf probe -l probe_perf:dso__load_vmlinux (on 0x0006d110 in /kbuild/ksrc/linux-3/tools/perf/perf) With this change; # ./perf probe -l probe_perf:dso__load_vmlinux (on

[PATCH -tip v3 11/11] perf probe: Support distro-style debuginfo for uprobe

2014-02-05 Thread Masami Hiramatsu
Support distro-style debuginfo supported by dso for setting uprobes. Note that this tries to find a debuginfo file based on the real path of the target binary. If the debuginfo is not correctly installed on the system, this can not find it. Signed-off-by: Masami Hiramatsu ---

[PATCH -tip v3 01/11] [BUGFIX] perf-probe: Fix to do exit call for symbol maps

2014-02-05 Thread Masami Hiramatsu
Some perf-probe commands do symbol_init() but doesn't do exit call. This fixes that to call symbol_exit() and releases machine if needed. This also merges init_vmlinux() and init_user_exec() because both of them are doing similar things. (init_user_exec() just skips init vmlinux related symbol

Re: [PATCH] Make math_state_restore() save and restore the interrupt flag

2014-02-05 Thread Nate Eldredge
On Sun, 2 Feb 2014, Suresh Siddha wrote: Here is the second patch, which should fix the issue reported in this thread. Maarten, Nate, George, please give this patch a try as is and see if it helps address the issue you ran into. And please ack/review with your test results. 3.13 plus this

[PATCH] ARM: davinci: fix typo

2014-02-05 Thread Prabhakar Lad
From: "Lad, Prabhakar" this patch fixes a typo in mach/hardware.h, by replacing "ths" to "this". Signed-off-by: Lad, Prabhakar --- arch/arm/mach-davinci/include/mach/hardware.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-davinci/include/mach/hardware.h

[git pull] drm fixes

2014-02-05 Thread Dave Airlie
Hi Linus, a few regression fixes already, one for my own stupidity, and mgag200 typo fix, vmwgfx fixes and ttm regression fixes, and a radeon register checker update for older cards to handle geom shaders. Dave. The following changes since commit 38dbfb59d1175ef458d006556061adeaa8751b72:

Re: [PATCHv2 1/2] zram: introduce compressing backend abstraction

2014-02-05 Thread Minchan Kim
Hello Sergey, Sorry for late response. On Thu, Jan 30, 2014 at 10:28:07PM +0300, Sergey Senozhatsky wrote: > ZRAM performs direct LZO compression algorithm calls, making it the one > and only option. Introduce struct zram_comp in order to support multiple > compression algorithms. struct

Re: [Xen-devel] [PATCH v2 0/4] xen-blk: bug fixes

2014-02-05 Thread Matt Wilson
On Tue, Feb 04, 2014 at 11:15:01AM -0400, Konrad Rzeszutek Wilk wrote: > On Tue, Feb 04, 2014 at 11:26:11AM +0100, Roger Pau Monne wrote: > > This series contain blkback bug fixes for memory leaks (patches 1 and > > 2) and a race (patch 3). Patch 4 removes blkif_request_segment_aligned > > since

Re: [PATCH 3.12 117/133] alpha: fix broken network checksum

2014-02-05 Thread Michael Cree
On Tue, Feb 04, 2014 at 01:08:38PM -0800, Greg Kroah-Hartman wrote: > 3.12-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Mikulas Patocka > > commit 0ef38d70d4118b2ce1a538d14357be5ff9dc2bbd upstream. > > The patch

[PATCH V4 0/8]PCI:Add SPEAr13xx PCie support

2014-02-05 Thread Pratyush Anand
First three patches are improvement and fixes for SPEAr13xx support. Patches 4-6 add miphy40lp skelten driver and support for spear1310/40 miphy wrapper. Patch 7 add support for SPEAr13xx PCIe. These pathes are tested with linux-3.14-rc1 with following patch on the top of it: Author: Balaji T K

[PATCH V4 4/8] phy: st-miphy-40lp: Add skeleton driver

2014-02-05 Thread Pratyush Anand
ST miphy-40lp supports PCIe, SATA and Super Speed USB. This driver adds skeleton support for the same. Currently phy ops are returning -EINVAL. They can be elaborated depending on the SOC being supported in future. Signed-off-by: Pratyush Anand Tested-by: Mohit Kumar Cc: Arnd Bergmann Cc:

[PATCH V4 6/8] phy: st-miphy-40lp: Add SPEAr1310 and SPEAr1340 PCIe phy support

2014-02-05 Thread Pratyush Anand
SPEAr1310 and SPEAr1340 uses miphy40lp phy for PCIe. This driver adds support for the same. Signed-off-by: Pratyush Anand Tested-by: Mohit Kumar Cc: Arnd Bergmann Cc: Kishon Vijay Abraham I Cc: spear-de...@list.st.com Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org

[PATCH V4 5/8] SPEAr13xx: Fixup: Move SPEAr1340 SATA platform code to phy driver

2014-02-05 Thread Pratyush Anand
ahci driver needs some platform specific functions which are called at init, exit, suspend and resume conditions. Till now these functions were present in a platform driver with a fixme notes. Similar functions modifying same set of registers will also be needed in case of PCIe phy init/exit. So

Re: [PATCH] ieee80211: Print human-readable disassoc/deauth reason codes

2014-02-05 Thread Joe Perches
On Wed, 2014-02-05 at 19:44 -0600, Calvin Owens wrote: > Create a function to return a descriptive string for each reason code, > and print that instead of the numeric value in the kernel log. These > codes are easily found on popular search engines, but one is generally > not able to access the

Re: [RFC] de-asmify the x86-64 system call slowpath

2014-02-05 Thread Linus Torvalds
On Wed, Feb 5, 2014 at 6:32 PM, Linus Torvalds wrote: > > No, I was thinking "try to optimistically map 8 adjacent aligned pages > at a time" - that would be the same cacheline in the page tables, so > it would be fairly cheap if we couple it with a gang-lookup of the > pages in the page cache

Re: [REVIEW PATCH] scsi: Add 'retry_timeout' to avoid infinite command retry

2014-02-05 Thread Eiichi Tsukata
(2014/02/06 1:55), James Bottomley wrote: On Wed, 2014-02-05 at 14:47 +0900, Eiichi Tsukata wrote: Currently, scsi error handling in scsi_decide_disposition() tries to unconditionally requeue scsi command when device keeps some error state. This is because retryable errors are thought to be

Re: [PATCH v2] slub: Do not assert not having lock in removing freed partial

2014-02-05 Thread David Rientjes
On Wed, 5 Feb 2014, Steven Rostedt wrote: > Vladimir reported the following issue: > > Commit c65c1877bd68 ("slub: use lockdep_assert_held") requires > remove_partial() to be called with n->list_lock held, but free_partial() > called from kmem_cache_close() on cache destruction does not follow

[PATCH net] r8152: fix the submission of the interrupt transfer

2014-02-05 Thread Hayes Wang
The submission of the interrupt transfer should be done after setting the bit of WORK_ENABLE, otherwise the callback function would have the opportunity to be returned directly. Clear the bit of WORK_ENABLE before killing the interrupt transfer. Signed-off-by: Hayes Wang ---

mmotm 2014-02-05 list_lru_add lockdep splat

2014-02-05 Thread Hugh Dickins
== [ INFO: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected ] 3.14.0-rc1-mm1 #1 Not tainted -- kswapd0/48 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: (&(>node[i].lock)->rlock){+.+.-.}, at:

Re: [PATCH v2 3/5] char: ti-usim: Add driver for USIM module on AM43xx

2014-02-05 Thread Satish Patel
On 2/4/2014 6:49 PM, Roger Quadros wrote: > Hi Satish, > > On 01/20/2014 06:33 AM, Satish Patel wrote: >> TI-USIM driver is a platform driver that provides a character >> driver interface to user applications. >> >> It allows user applications to call IOCTL's to >> perform smart card

linux-next: Tree for Feb 6

2014-02-05 Thread Stephen Rothwell
Hi all, This tree fails (more than usual) the powerpc allyesconfig build. Changes since 20140205: The powerpc tree still had its build failure. The fscache tree gained a build failure so I used the version from next-20140205. Non-merge commits (relative to Linus' tree): 1225 998 files

Logging/buffering mechanism comparison? (ring buffer, relay, etc.)

2014-02-05 Thread Karim Yaghmour
Just wondering if anyone had some pointers on a comparison between the various logging/buffering mechanisms out there (ring buffer, relay, lttng buffering, etc.)? Googling was inconclusive. Anything that has benchmarks/pros/cons would be great. Thanks, -- Karim Yaghmour CEO - Opersys inc. /

[PATCH v3 1/1] watchdog: Add tegra watchdog

2014-02-05 Thread Andrew Chew
Add a driver for the hardware watchdogs in NVIDIA Tegra SoCs (Tegra30 and later). This driver will configure one watchdog timer that will reset the system in the case of a watchdog timeout. This driver binds to the nvidia,tegra30-timer device node and gets its register base from there.

[PATCH v2] slub: Do not assert not having lock in removing freed partial

2014-02-05 Thread Steven Rostedt
Vladimir reported the following issue: Commit c65c1877bd68 ("slub: use lockdep_assert_held") requires remove_partial() to be called with n->list_lock held, but free_partial() called from kmem_cache_close() on cache destruction does not follow this rule, leading to a warning: WARNING: CPU: 0

Re: [PATCH v3 1/2] qspinlock: Introducing a 4-byte queue spinlock implementation

2014-02-05 Thread Waiman Long
On 02/03/2014 06:40 AM, Peter Zijlstra wrote: On Fri, Jan 31, 2014 at 02:24:33PM -0500, Waiman Long wrote: Light contention is the only case where the qspinlock may not perform as good as the ticket spinlock. I know this is the most common case. However, I would argue that the slowdown, if any,

Re: [PATCH v11 0/4] Introducing a queue read/write lock implementation

2014-02-05 Thread Waiman Long
On 02/02/2014 04:03 AM, Ingo Molnar wrote: * Waiman Long wrote: How about making the selection of MCS or ticket queuing either user configurable or depending on the setting of NR_CPUS, NUMA, etc? No! There are lots of disadvantages to adding such CONFIG_NUMA Kconfig variants for locking

Re: [PATCH v3 0/2] qspinlock: Introducing a 4-byte queue spinlock

2014-02-05 Thread Waiman Long
On 02/03/2014 03:51 AM, Raghavendra K T wrote: On 01/31/2014 12:19 AM, Raghavendra K T wrote: On 01/30/2014 09:08 PM, Waiman Long wrote: On 01/30/2014 03:55 AM, Raghavendra K T wrote: On 01/28/2014 11:49 PM, Waiman Long wrote: [...] from kernel/bounds.c:9:

Re: [RFC] de-asmify the x86-64 system call slowpath

2014-02-05 Thread Linus Torvalds
On Wed, Feb 5, 2014 at 4:55 PM, Kirill A. Shutemov wrote: > > One thing that could help is THP for file-backed pages. And there's > prototype with basic infrasturure and support for ramfs and > shmem/tmpfs (by Ning Qu). Work in progress. THP isn't really realistic for any general-purpose loads.

Re: [PATCH 5/5] ARM: tegra: cpuidle: use firmware call for power down

2014-02-05 Thread Alexandre Courbot
On 02/06/2014 01:28 AM, Stephen Warren wrote: On 01/23/2014 12:39 AM, Alexandre Courbot wrote: On Thu, Jan 23, 2014 at 5:45 AM, Stephen Warren wrote: On 01/21/2014 03:10 AM, Alexandre Courbot wrote: Invoke the do_idle() firmware call before suspending a CPU so that the underlying firmware

Re: [PATCH 11/18] extcon: max14577: Add max14577 prefix to muic_irqs

2014-02-05 Thread Chanwoo Choi
On 02/05/2014 11:04 PM, Lee Jones wrote: >>> Following patch has conflict on extcon-next branch(Linus 3.14-rc1) >>> when apply patchset by using git am. >>> >>> [PATCH 11/18] extcon: max14577: Add max14577 prefix to muic_irqs >>> [PATCH 12/18] extcon: max14577: Choose muic_irqs according to device

[PATCH] serial/uart: Add tunable RX interrupt trigger I/F of FIFO buffers

2014-02-05 Thread Yoshihiro YUNOMAE
Add tunable RX interrupt trigger I/F of FIFO buffers. Serial devices are used as not only message communication devices but control or sending communication devices. For the latter uses, normally small data will be exchanged, so user applications want to receive data unit as soon as possible for

Re: [PATCH 06/14] perf, core: always switch pmu specific data during context switch

2014-02-05 Thread Yan, Zheng
On 02/06/2014 02:35 AM, Stephane Eranian wrote: > On Wed, Feb 5, 2014 at 6:55 PM, Peter Zijlstra wrote: >> On Wed, Feb 05, 2014 at 06:19:27PM +0100, Stephane Eranian wrote: >>> On Fri, Jan 3, 2014 at 6:48 AM, Yan, Zheng wrote: If two tasks were both forked from the same parent task, Events

Re: [PATCH 09/18] mfd: max14577: Add "muic" suffix to regmap and irq_chip

2014-02-05 Thread Chanwoo Choi
On 01/28/2014 09:18 PM, Krzysztof Kozlowski wrote: > This patch continues the preparation for adding support for max77836 > device to existing max14577 driver. > > Add "muic" suffix to regmap and irq_data fields in maxim_core state > container to prepare for max77836 support. > This is only a

Re: [PATCH 08/18] mfd: max14577: Rename state container to maxim_core

2014-02-05 Thread Chanwoo Choi
On 01/28/2014 09:18 PM, Krzysztof Kozlowski wrote: > This patch continues the preparation for adding support for max77836 > device to existing max14577 driver. > > The patch renames the struct "max14577" state container to "maxim_core". > This is only a rename-like patch, new code is not added. >

Re: [PATCH 04/14] perf, x86: Basic Haswell LBR call stack support

2014-02-05 Thread Yan, Zheng
On 02/05/2014 11:40 PM, Stephane Eranian wrote: > On Fri, Jan 3, 2014 at 6:48 AM, Yan, Zheng wrote: >> When the call stack feature is enabled, the LBR stack will capture >> unfiltered call data normally, but as return instructions are executed, >> the last captured branch record is flushed from

Re: [PATCH 07/18] mfd: max14577: Rename and add MAX14577 symbols to prepare for max77836

2014-02-05 Thread Chanwoo Choi
On 01/28/2014 09:18 PM, Krzysztof Kozlowski wrote: > This patch prepares for adding support for max77836 device to existing > max14577 driver: > 1. Renames most of symbols and defines prefixed with MAX14577 to MAXIM. > 2. Adds prefixes (MAXIM or MAX14577) to defines without any MAX* prefix. > >

[PATCH] ieee80211: Print human-readable disassoc/deauth reason codes

2014-02-05 Thread Calvin Owens
Create a function to return a descriptive string for each reason code, and print that instead of the numeric value in the kernel log. These codes are easily found on popular search engines, but one is generally not able to access the internet when dealing with wireless connectivity issues. On

[PATCH] thermal: add generic IIO channel thermal sensor driver

2014-02-05 Thread Courtney Cavin
This driver is a generic method for using IIO ADC channels as thermal sensors. Signed-off-by: Courtney Cavin --- .../devicetree/bindings/thermal/iio-thermal.txt| 46 + drivers/thermal/Kconfig| 13 ++ drivers/thermal/Makefile | 1

Re: [PATCH 02/14] perf, core: introduce pmu context switch callback

2014-02-05 Thread Yan, Zheng
On 02/06/2014 12:01 AM, Stephane Eranian wrote: > On Fri, Jan 3, 2014 at 6:47 AM, Yan, Zheng wrote: >> The callback is invoked when process is scheduled in or out. It >> provides mechanism for later patches to save/store the LBR stack. >> It can also replace the flush branch stack callback. >> >

[PATCH-next] powerpc: delete old PrPMC 280/2800 support

2014-02-05 Thread Paul Gortmaker
This processor/memory module was mostly used on ATCA blades and before that, on cPCI blades. It wasn't really user friendly, with custom non u-boot bootloaders (powerboot/motload) and no real way to recover corrupted boot flash (which was a common problem). As such, it had its day back before

Re: [PATCH] slub: Do not assert not having lock in removing freed partial

2014-02-05 Thread David Rientjes
On Wed, 5 Feb 2014, Steven Rostedt wrote: > > We'll want to do something similiar for the add_partial() called from > > early_kmem_cache_node_alloc(), right? It had the added n->list_lock for > > the same reason and is done during early init where nobody else can be > > referencing a

Re: [PATCH 42/51] hwmon, coretemp: Fix CPU hotplug callback registration

2014-02-05 Thread Guenter Roeck
On Wed, Feb 05, 2014 at 04:44:12PM -0800, Guenter Roeck wrote: > On Thu, Feb 06, 2014 at 03:42:06AM +0530, Srivatsa S. Bhat wrote: > > Subsystems that want to register CPU hotplug callbacks, as well as perform > > initialization for the CPUs that are already online, often do it as shown > > below:

Re: [PATCH 43/51] hwmon, via-cputemp: Fix CPU hotplug callback registration

2014-02-05 Thread Guenter Roeck
On Wed, Feb 05, 2014 at 04:44:31PM -0800, Guenter Roeck wrote: > On Thu, Feb 06, 2014 at 03:42:19AM +0530, Srivatsa S. Bhat wrote: > > Subsystems that want to register CPU hotplug callbacks, as well as perform > > initialization for the CPUs that are already online, often do it as shown > > below:

Re: [PATCH 44/51] xen, balloon: Fix CPU hotplug callback registration

2014-02-05 Thread Boris Ostrovsky
- srivatsa.b...@linux.vnet.ibm.com wrote: > Subsystems that want to register CPU hotplug callbacks, as well as > perform > initialization for the CPUs that are already online, often do it as > shown > below: > > get_online_cpus(); > > for_each_online_cpu(cpu) >

Re: [patch v2] mm, compaction: avoid isolating pinned pages

2014-02-05 Thread Hugh Dickins
On Thu, 6 Feb 2014, Joonsoo Kim wrote: > On Wed, Feb 05, 2014 at 12:56:40PM -0800, Hugh Dickins wrote: > > On Tue, 4 Feb 2014, David Rientjes wrote: > > > > > Page migration will fail for memory that is pinned in memory with, for > > > example, get_user_pages(). In this case, it is unnecessary

[RFC PATCH v2 tip 5/7] use BPF in tracing filters

2014-02-05 Thread Alexei Starovoitov
Such filters can be written in C and allow safe read-only access to any kernel data structure. Like systemtap but with safety guaranteed by kernel. The user can do: cat bpf_program > /sys/kernel/debug/tracing/.../filter if tracing event is either static or dynamic via kprobe_events. The program

Re: [PATCH 45/51] md, raid5: Fix CPU hotplug callback registration

2014-02-05 Thread NeilBrown
On Thu, 06 Feb 2014 03:42:45 +0530 "Srivatsa S. Bhat" wrote: > From: Oleg Nesterov > > Subsystems that want to register CPU hotplug callbacks, as well as perform > initialization for the CPUs that are already online, often do it as shown > below: > > get_online_cpus(); > >

[RFC PATCH v2 tip 1/7] Extended BPF core framework

2014-02-05 Thread Alexei Starovoitov
Extended BPF (or 64-bit BPF) is an instruction set to create safe dynamically loadable filters that can call fixed set of kernel functions and take generic bpf_context as an input. BPF filter is a glue between kernel functions and bpf_context. Different kernel subsystems can define their own set

[RFC PATCH v2 tip 2/7] Extended BPF JIT for x86-64

2014-02-05 Thread Alexei Starovoitov
Just-In-Time compiler that maps 64-bit BPF instructions to x86-64 instructions. Most BPF instructions have one to one mapping. Every BPF register maps to one x86-64 register: R0 -> rax R1 -> rdi R2 -> rsi R3 -> rdx R4 -> rcx R5 -> r8 R6 -> rbx R7 -> r13 R8 -> r14 R9 -> r15 FP -> rbp BPF calling

[RFC PATCH v2 tip 4/7] Revert "x86/ptrace: Remove unused regs_get_argument_nth API"

2014-02-05 Thread Alexei Starovoitov
This reverts commit aa5add93e92019018e905146f8c3d3f8e3c08300. Signed-off-by: Alexei Starovoitov --- arch/x86/include/asm/ptrace.h |3 +++ arch/x86/kernel/ptrace.c | 24 2 files changed, 27 insertions(+) diff --git a/arch/x86/include/asm/ptrace.h

[RFC PATCH v2 tip 3/7] Extended BPF (64-bit BPF) design document

2014-02-05 Thread Alexei Starovoitov
Signed-off-by: Alexei Starovoitov --- Documentation/bpf_jit.txt | 204 + 1 file changed, 204 insertions(+) create mode 100644 Documentation/bpf_jit.txt diff --git a/Documentation/bpf_jit.txt b/Documentation/bpf_jit.txt new file mode 100644 index

[RFC PATCH v2 tip 7/7] tracing filter examples in BPF

2014-02-05 Thread Alexei Starovoitov
filter_check/ - userspace correctness checker of BPF filter examples/ - BPF filter examples in C will be compiled by LLVM into .bpf $cd examples $make - compile .c into .bpf $make check - check correctness of *.bpf $make try - to apply netif_rcv.bpf as a tracing filter Signed-off-by: Alexei

[RFC PATCH v2 tip 0/7] 64-bit BPF insn set and tracing filters

2014-02-05 Thread Alexei Starovoitov
Hi All, this patch set addresses main sticking points of the previous discussion: http://thread.gmane.org/gmane.linux.kernel/1605783 Main difference: . all components are now in one place tools/bpf/llvm - standalone LLVM backend for extended BPF instruction set . regs.si, regs.di accessors

linux-next: build failure after merge of the fscache tree

2014-02-05 Thread Stephen Rothwell
sier") from the fscache tree interacting with commit b21996e36c8e ("locks: break delegations on unlink") from Linus' tree (which entered Linus' tree before v3.13-rc1). Does this build for you? I have used the fscache tree from next-20140205 for today. -- Cheers, Stephen Rot

Re: [PATCH] slub: Do not assert not having lock in removing freed partial

2014-02-05 Thread Steven Rostedt
On Wed, 5 Feb 2014 16:46:43 -0800 (PST) David Rientjes wrote: > > +/* > > + * The difference between remove_partial and remove_freed_partial > > + * is that remove_freed_partial happens only on a a freed slab > > Duplicate "a" there. oops. > > > + * that should not have anyone accessing it,

  1   2   3   4   5   6   7   8   9   10   >