Re: [RFC PATCH] gpiolib: make gpiod_direction_output take a logical value, add gpiod_direction_output_raw

2014-01-11 Thread Alexandre Courbot
Hi Philipp, On Tue, Jan 7, 2014 at 8:34 PM, Philipp Zabel wrote: > The documentation was not clear about whether gpio_direction_output should > take > a logical value or the physical level on the output line, i.e. whether the > ACTIVE_LOW status would be taken into account. > This converts gpiod

Re: [PATCH 1/1] When timestamping is enabled, stmmac_tx_clean will call stmmac_get_tx_hwtstamp to get tx TS. It's possible that skb is NULL because there are other network frames that use several desc

2014-01-11 Thread Hannes Frederic Sowa
On Sun, Jan 12, 2014 at 10:01:35AM +0800, damuzi000 wrote: > > Signed-off-by: damuzi000 Please use real names in submissions. Thanks, Hannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info a

[PATCH mmotm/next] fanotify: fix corruption preventing startup

2014-01-11 Thread Hugh Dickins
Two of my machines couldn't boot mmotm with fanotify enabled: 0x4020 was being or'ed into a group's notification_waitq next pointer, with sad results. It comes from an over-simplification in fanotify_merge(): test_event isn't NULL when the loop finds no merge. Signed-off-by: Hugh Dickins ---

[PATCH] perf tools: Synthesize anon MMAP records on the heap

2014-01-11 Thread Gaurav Jain
Anon records usually do not have the 'execname' entry. However if they are on the heap, the execname shows up as '[heap]'. The fix considers any executable entries in the map that do not have a name or are on the heap as anon records and sets the name to '//anon'. This fixes JIT profiling for reco

In "pci_fixup_video" check if this is or should be the primary video device to prevent setting the IORESOURCE_ROM_SHADOW flag on a secondary VGA card

2014-01-11 Thread Sander Eikelenboom
Hi Eiichiro / Dave / Greg, While trying to get secondary PCI/VGA passthrough of a AMD 6570 card to a Xen guest with the radeon driver and modesetting i'm running into the problem that the driver says the BIOS is a COMBIOS while it expects a ATOMBIOS for the cards. So the Guest uses both it's no

[PATCH] In "pci_fixup_video" check if this is or should be the primary video device to prevent setting the IORESOURCE_ROM_SHADOW flag on a secondary VGA card

2014-01-11 Thread Sander Eikelenboom
Setting the IORESOURCE_ROM_SHADOW flag on a secondary VGA card prevents if from reading it's own rom. It will get the content of the shadowrom at C000 instead, which is of the primary VGA card and the driver of the secondary card will bail out. Fix this by checking if this is or should be the prim

Re: [ipv6_vti.c] INFO: trying to register non-static key.

2014-01-11 Thread David Miller
From: Fengguang Wu Date: Sun, 12 Jan 2014 07:10:23 +0800 > Here is a warning introduced by commit 469bdcefd ("ipv6: fix the use > of pcpu_tstats in ip6_vti.c"): It isn't fixed by the following, which is also in Linus's tree? >From 657e5d19657542631461e72fdc375b1e83e72070 Mon Sep 17 00:00:00 200

Re: [RFC PATCHv3 03/11] percpu: use VMALLOC_TOTAL instead of VMALLOC_END - VMALLOC_START

2014-01-11 Thread Tejun Heo
On Thu, Jan 02, 2014 at 01:53:21PM -0800, Laura Abbott wrote: > vmalloc already gives a useful macro to calculate the total vmalloc > size. Use it. > > Signed-off-by: Laura Abbott Applied to percpu/for-3.14. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCH] percpu-refcount: Add a WARN() for ref going negative

2014-01-11 Thread Tejun Heo
On Mon, Jan 06, 2014 at 01:13:26PM -0800, Kent Overstreet wrote: > AIO had a missing get, which led to an ioctx leak - after percpu_ref_kill() > the > ref was 0 so percpu_ref_put() never saw it hit 0. > > This wasn't noticed at the time because it all happened completely silently, > this adds a W

[PATCH] fs/notify: don't use module_init for non-modular inotify_user code

2014-01-11 Thread Paul Gortmaker
The INOTIFY_USER option is bool, and hence this code is either present or absent. It will never be modular, so using module_init as an alias for __initcall is rather misleading. Fix this up now, so that we can relocate module_init from init.h into module.h in the future. If we don't do this, we'

Re: [PATCH 1/3] workqueue: Calling destroy_work_on_stack() to pair with INIT_WORK_ONSTACK()

2014-01-11 Thread Tejun Heo
On Tue, Jan 07, 2014 at 04:50:05PM +0800, Chuansheng Liu wrote: > > In case CONFIG_DEBUG_OBJECTS_WORK is defined, it is needed to > call destroy_work_on_stack() which frees the debug object to pair > with INIT_WORK_ONSTACK(). > > Signed-off-by: Liu, Chuansheng Applied to wq/for-3.14. Thanks.

[tip:x86/urgent] x86, fpu, amd: Clear exceptions in AMD FXSAVE workaround

2014-01-11 Thread tip-bot for Linus Torvalds
Commit-ID: 26bef1318adc1b3a530ecc807ef99346db2aa8b0 Gitweb: http://git.kernel.org/tip/26bef1318adc1b3a530ecc807ef99346db2aa8b0 Author: Linus Torvalds AuthorDate: Sat, 11 Jan 2014 19:15:52 -0800 Committer: H. Peter Anvin CommitDate: Sat, 11 Jan 2014 19:15:52 -0800 x86, fpu, amd: Clear e

[PATCH] fs/ramfs: don't use module_init for non-modular core code

2014-01-11 Thread Paul Gortmaker
The ramfs is always built in. It will never be modular, so using module_init as an alias for __initcall is rather misleading. Fix this up now, so that we can relocate module_init from init.h into module.h in the future. If we don't do this, we'd have to add module.h to obviously non-modular code

[PATCH 1/1] Drivers: input: serio:hyperv-keyoard: Handle 0xE1 prefix

2014-01-11 Thread K. Y. Srinivasan
Handle the 0xE1 prefix. Signed-off-by: K. Y. Srinivasan --- drivers/input/serio/hyperv-keyboard.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/input/serio/hyperv-keyboard.c b/drivers/input/serio/hyperv-keyboard.c index 3a83c3c..6132619 100644 --- a/drivers

[PATCH 4/5] x86, mpx: add MPX related opcodes to the x86 opcode map

2014-01-11 Thread Qiaowei Ren
This patch adds all the MPX instructions to x86 opcode map, and then the x86 instruction decoder can decode MPX instructions used in kernel. Signed-off-by: Qiaowei Ren --- arch/x86/lib/x86-opcode-map.txt |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/lib/x86

[PATCH 3/5] x86, mpx: add prctl commands PR_MPX_INIT, PR_MPX_RELEASE

2014-01-11 Thread Qiaowei Ren
This patch adds the PR_MPX_INIT and PR_MPX_RELEASE prctl() commands on the x86 platform. These commands can be used to init and release MPX related resource. A MMU notifier will be registered during PR_MPX_INIT command execution. So the bound tables can be automatically deallocated when one memory

[PATCH 1/5] x86, mpx: add documentation on Intel MPX

2014-01-11 Thread Qiaowei Ren
This patch adds the Documentation/x86/intel_mpx.txt file with some information about Intel MPX. Signed-off-by: Qiaowei Ren --- Documentation/x86/intel_mpx.txt | 76 +++ 1 files changed, 76 insertions(+), 0 deletions(-) create mode 100644 Documentation/x86/i

[PATCH 2/5] x86, mpx: hook #BR exception handler to allocate bound tables

2014-01-11 Thread Qiaowei Ren
An access to an invalid bound directory entry will cause a #BR exception. This patch hook #BR exception handler to allocate one bound table and bind it with that buond directory entry. This will avoid the need of forwarding the #BR exception to the user space when bound directory has invalid entry

[PATCH 5/5] x86, mpx: extend siginfo structure to include bound violation information

2014-01-11 Thread Qiaowei Ren
This patch adds new fields about bound violation into siginfo structure. si_lower and si_upper are respectively lower bound and upper bound when bound violation is caused. These fields will be set in #BR exception handler by decoding the user instruction and constructing the faulting pointer. A us

[PATCH 1/1] When timestamping is enabled, stmmac_tx_clean will call stmmac_get_tx_hwtstamp to get tx TS. It's possible that skb is NULL because there are other network frames that use several descript

2014-01-11 Thread damuzi000
Signed-off-by: damuzi000 --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index 797b56a..47f2287 100644 --- a/drivers

[PATCH v3] arch: use ASM_NL instead of ';' for assembler new line character in the macro

2014-01-11 Thread Chen Gang
For some assemblers, they use another character as newline in a macro (e.g. arc uses '`'), so for generic assembly code, need use ASM_NL (a macro) instead of ';' for it. Signed-off-by: Chen Gang Acked-by: Vineet Gupta --- arch/arc/include/asm/linkage.h | 2 ++ include/linux/linkage.h|

Re: Problem: Possible regression in intel_pstate on 3.12

2014-01-11 Thread Joakim Hernberg
Hello Dirk, I don't seem to be able to apply this patch? For what kernel is it meant, and is it complete? Best wishes, On Mon, 16 Dec 2013 09:28:19 -0800 Dirk Brandewie wrote: > Hi Joakim, > > Add the following patch to your v3.12 kernel and collect some data > with the command and send the

Fwd: how to determine kernel interrupt latency

2014-01-11 Thread loody
hi all: is it possible to determine interrupt latency in kernel with any ftrace or proc? Appreciate your help in advance. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/

Re: [PATCH 0/9] re-shrink 'struct page' when SLUB is on.

2014-01-11 Thread Christoph Lameter
On Sat, 11 Jan 2014, Pekka Enberg wrote: > On Sat, Jan 11, 2014 at 1:42 AM, Dave Hansen wrote: > > On 01/10/2014 03:39 PM, Andrew Morton wrote: > >>> I tested 4 cases, all of these on the "cache-cold kfree()" case. The > >>> first 3 are with vanilla upstream kernel source. The 4th is patched >

[RFT][PATCH] ACPI / init: Run acpi_early_init() before efi_enter_virtual_mode() (was: Re: [RFC PATCH 00/14] Support timezone of ACPI TAD and EFI TIME)

2014-01-11 Thread Rafael J. Wysocki
On Saturday, December 21, 2013 12:21:48 PM Matt Fleming wrote: > On Fri, 20 Dec, at 11:18:56PM, Rafael J. Wysocki wrote: > > > > I'm not sure 100%, but I *think* we need to do that with interrupts enabled. > > At least after mm_init(), because it relies on things initialized there if I > > remembe

[PATCH v2 0/2] Staging: rtl8188eu: checkpatch.pl error cleanups

2014-01-11 Thread Tim Jester-Pfadt
This patchset fixes all occurrences of the "space required after ','" "space required around '='" aswell as "foo * bar" related checkpatch.pl errors in rtl8188eu. The patchset does not fix the remaining 80 character limit warnings, sinc this might require more substantial code modification. v2: P

[PATCH v2 2/2] Staging: rtl8188eu: Fixed "foo * bar" related coding style issues

2014-01-11 Thread Tim Jester-Pfadt
This patch fixes all "foo * bar", "foo*bar", "foo* bar" checkpatch.pl errors for rtl8188eu. Signed-off-by: Tim Jester-Pfadt --- drivers/staging/rtl8188eu/include/rtl8188e_hal.h | 2 +- drivers/staging/rtl8188eu/include/rtl8188e_recv.h | 6 +++--- drivers/staging/rtl8188eu/include/rtw_ioctl_se

[PATCH v2 1/2] Staging: rtl8188eu: Fixed required spaces after ',' and around '=' and '=='

2014-01-11 Thread Tim Jester-Pfadt
This patch fixes all spaces required after ',' and around '=' aswell as '==' checkpatch.pl errors for rtl8188eu. Signed-off-by: Tim Jester-Pfadt --- drivers/staging/rtl8188eu/include/Hal8188EPwrSeq.h | 2 +- drivers/staging/rtl8188eu/include/odm.h| 2 +- drivers/staging/rtl8188eu/inc

Re: [char-misc 1/4] mei: do not run reset flow from the interrupt thread

2014-01-11 Thread Greg KH
On Sat, Jan 11, 2014 at 10:46:14PM +, Winkler, Tomas wrote: > > > > > > This is a _really_ big patch for a stable kernel tree. Are you sure > > it's needed there? Please go read Documentation/stable_kernel_rules.txt > > again. > > I understand it's big though currently I do not have signi

Re: [PATCHSET v2 driver-core-next] kernfs, sysfs, driver-core: implement synchronous self-removal

2014-01-11 Thread Greg KH
On Sat, Jan 11, 2014 at 05:52:30PM -0500, Alan Stern wrote: > On Sat, 11 Jan 2014, Greg KH wrote: > > > On Sat, Jan 11, 2014 at 01:51:10PM -0500, Tejun Heo wrote: > > > Hey, Alan. > > > > > > On Fri, Jan 10, 2014 at 10:46:10AM -0500, Alan Stern wrote: > > > > The SUBJECT lines in your patch email

[PATCH driver-core-next] kernfs: remove unnecessary NULL check in __kernfs_remove()

2014-01-11 Thread Tejun Heo
895a068a524e ("kernfs: make kernfs_get_active() block if the node is deactivated but not removed") added "struct kernfs_root *root = kernfs_root(kn);" at the head of the function; however, the parameter @kn is checked for later implying that the function may be called with NULL. This means that we

Re: [PATCHSET v2 driver-core-next] kernfs, sysfs, driver-core: implement synchronous self-removal

2014-01-11 Thread Alan Stern
On Sat, 11 Jan 2014, Greg KH wrote: > On Sat, Jan 11, 2014 at 01:51:10PM -0500, Tejun Heo wrote: > > Hey, Alan. > > > > On Fri, Jan 10, 2014 at 10:46:10AM -0500, Alan Stern wrote: > > > The SUBJECT lines in your patch emails don't mention the version > > > number. That is, they just say "[PATCH]

RE: [char-misc 1/4] mei: do not run reset flow from the interrupt thread

2014-01-11 Thread Winkler, Tomas
> > This is a _really_ big patch for a stable kernel tree. Are you sure > it's needed there? Please go read Documentation/stable_kernel_rules.txt > again. I understand it's big though currently I do not have significantly simpler fix for the issue, all 4 patches are needed to make the reset

[char-misc 3/4 V2] mei: revamp mei reset state machine

2014-01-11 Thread Tomas Winkler
1. MEI_DEV_RESETTING device state spans only hardware reset flow while starting dev state is saved into a local variable for further reference, this let us to reduce big if statements in case we are trying to avoid nested resets 2. During initializations if the reset ended in MEI_DEV_DISABLED devi

[char-misc 4/4 V2] mei: limit the number of consecutive resets

2014-01-11 Thread Tomas Winkler
give up reseting after 3 unsuccessful tries Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- V2: rebased drivers/misc/mei/client.c | 1 + drivers/misc/mei/init.c| 10 ++ drivers/misc/mei/mei_dev.h | 7 +++ 3 files changed, 18 insertions(+) diff --git a/driv

Re: [PATCH v2 0/2] rcu_dereference_check_fdtable fix/cleanups

2014-01-11 Thread Paul E. McKenney
On Sat, Jan 11, 2014 at 07:19:08PM +0100, Oleg Nesterov wrote: > On 01/10, Paul E. McKenney wrote: > > > > On Fri, Jan 10, 2014 at 04:34:59PM +0100, Oleg Nesterov wrote: > > > > > > doesn't this look much simpler than adding the "bool unshared" argument > > > and changing the callers? > > > > I mig

[PATCH] perf, tools: Add --initial-delay support to perf record v3

2014-01-11 Thread Andi Kleen
From: Andi Kleen perf stat has a --delay option to delay measuring the workload. This is useful to skip measuring the startup phase of the program, which is often very different from the main workload. The same is useful for perf record when sampling. --no-delay was already taken, so add a --in

[PATCH] iio: gyro: itg3200: Add DT support.

2014-01-11 Thread Marek Belisko
Signed-off-by: NeilBrown Signed-off-by: Marek Belisko --- .../devicetree/bindings/iio/gyro/itg3200.txt | 22 ++ drivers/iio/gyro/itg3200_core.c| 9 + 2 files changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio

Re: No freezing of kernel threads (was: Re: [GIT PULL] libata fixes for v3.13-rc5)

2014-01-11 Thread Pavel Machek
Hi! > > Well, it looks like we don't really know why things are done the way they > > are done at least in some cases, so in my personal view it would be good to > > go through all of the kernel freezer users just for this reason alone. We > > can't really say which of them are legitimate without

[PATCH] ARM: dts: twl4030: Add power support.

2014-01-11 Thread Marek Belisko
Signed-off-by: NeilBrown Signed-off-by: Marek Belisko --- arch/arm/boot/dts/twl4030.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/twl4030.dtsi b/arch/arm/boot/dts/twl4030.dtsi index 4217096..21079e1 100644 --- a/arch/arm/boot/dts/twl4030.dtsi +++ b/arch/arm/boot/

Re: [PATCH 1/4] x86, ptdump: Add the functionality to dump an arbitrary pagetable

2014-01-11 Thread Joe Perches
On Sat, 2014-01-11 at 21:49 +0100, Borislav Petkov wrote: > From: Borislav Petkov > > With reusing the ->trampoline_pgd page table for mapping EFI regions in > order to use them after having switched to EFI virtual mode, it is very > useful to be able to dump aforementioned page table in dmesg. T

[PATCH 1/4] x86, ptdump: Add the functionality to dump an arbitrary pagetable

2014-01-11 Thread Borislav Petkov
From: Borislav Petkov With reusing the ->trampoline_pgd page table for mapping EFI regions in order to use them after having switched to EFI virtual mode, it is very useful to be able to dump aforementioned page table in dmesg. This adds that functionality through the walk_pgd_level() interface w

[PATCH 2/4] efi: Dump the EFI page table

2014-01-11 Thread Borislav Petkov
From: Borislav Petkov This is very useful for debugging issues with the recently added pagetable switching code for EFI virtual mode. Signed-off-by: Borislav Petkov --- arch/x86/platform/efi/efi.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/x86/platform/efi/efi.c b/ar

[PATCH 4/4] efi: Make efi virtual runtime map passing more robust

2014-01-11 Thread Borislav Petkov
From: Borislav Petkov Currently, running SetVirtualAddressMap() and passing the physical address of the virtual map array was working only by a lucky coincidence because the memory was present in the EFI page table too. Until Toshi went and booted this on a big HP box - the krealloc() manner of r

[PATCH 0/4] EFI memmap fix v2

2014-01-11 Thread Borislav Petkov
From: Borislav Petkov Ok, here's v2 rebased and rediffed against tip (which has the relevant efi branches). Toshi, I'm pushing it to: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git#efi-fixes so that you can give it another run and so that the build robot can poke at it. Thanks. Chan

[PATCH 3/4] x86, pageattr: Export page unmapping interface

2014-01-11 Thread Borislav Petkov
From: Borislav Petkov We will use it in efi so expose it. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/pgtable_types.h | 2 ++ arch/x86/mm/pageattr.c | 44 +--- 2 files changed, 33 insertions(+), 13 deletions(-) diff --git a/arch/x86/i

Re: [percpu_counter] WARNING: CPU: 1 PID: 1 at kernel/locking/lockdep.c:3537 check_flags()

2014-01-11 Thread Andrew Morton
On Sun, 12 Jan 2014 00:36:07 +0800 Ming Lei wrote: > > > > [8.093354] [ cut here ] > > [8.095469] WARNING: CPU: 1 PID: 1 at kernel/locking/lockdep.c:3537 > > check_flags+0x77/0x1ba() > > [8.095469] DEBUG_LOCKS_WARN_ON(current->hardirqs_enabled) > > The warnin

Re: [PATCH 0/2] Staging: rtl8188eu: checkpatch.pl error cleanups

2014-01-11 Thread Greg KH
On Thu, Jan 09, 2014 at 09:37:09PM +0100, Tim Jester-Pfadt wrote: > This patchset fixes all occurrences of the "space required after ','" > "space required around '='" aswell as "foo * bar" related checkpatch.pl > errors in > rtl8188eu. > > The patchset does not fix the remaining 80 character lim

Re: [PATCH v2 1/3] Staging: lustre: Fix return does not need parantheses

2014-01-11 Thread Greg KH
On Sun, Jan 12, 2014 at 01:31:41AM +0530, Monam Agarwal wrote: > The patch fixes the following checkpatch.pl error in > lustre/ldlm/ldlm_flock.c > ERROR: return is not a function, parentheses are not required > > Signed-off-by: Monam Agarwal I'm totally confused here. You have multiple series

Re: [PATCH v3 1/2] Staging: lustre: Refactor the function interval_erase_color() in /lustre/ldlm/interval_tree.c

2014-01-11 Thread Greg KH
On Sat, Jan 11, 2014 at 05:14:35PM +0530, Monam Agarwal wrote: > On Sat, Jan 11, 2014 at 5:09 PM, Dan Carpenter > wrote: > > On Sat, Jan 11, 2014 at 04:56:44PM +0530, Monam Agarwal wrote: > >> I took n as a flag to decide whether parent->in_left == node is true > >> or not in the called function.

Re: [ANNOUNCE] 3.12.6-rt9

2014-01-11 Thread Joakim Hernberg
On Fri, 27 Dec 2013 21:00:24 +0100 Nicholas Mc Guire wrote: > On Mon, 23 Dec 2013, Sebastian Andrzej Siewior wrote: > > > Dear RT folks! > > > > I'm pleased to announce the v3.12.6-rt9 patch set. > > > > Changes since v3.12.6-rt8 > > > - A patch from Thomas Gleixner not to raise the timer sof

Re: [PATCHSET v2 driver-core-next] kernfs, sysfs, driver-core: implement synchronous self-removal

2014-01-11 Thread Greg KH
On Sat, Jan 11, 2014 at 01:51:10PM -0500, Tejun Heo wrote: > Hey, Alan. > > On Fri, Jan 10, 2014 at 10:46:10AM -0500, Alan Stern wrote: > > The SUBJECT lines in your patch emails don't mention the version > > number. That is, they just say "[PATCH]", not "[PATCH v2]" or "[PATCH > > v3]". This mak

[PATCH v3] Staging: lustre: Use of fls to find last set bit

2014-01-11 Thread Monam Agarwal
This introduces fls in lustre/ldlm/ldlm_extent.c to find the last set bit. Signed-off-by: Monam Agarwal --- Changes since v1: * Incorrect commit message * Use of fls function Changes since v2: * Removal of extra variable drivers/staging/lustre/lustre/ldlm/ldlm_extent.c |2 +- 1 file changed

Re: [PATCH] mtd: nand: assign mtd->name in find_full_id_nand

2014-01-11 Thread Brian Norris
Hi, On Thu, Dec 26, 2013 at 10:19:39AM +0800, Huang Shijie wrote: > On Thu, Dec 26, 2013 at 01:51:58AM +, Caizhiyong wrote: > > From: Cai Zhiyong > > Date: Wed, 25 Dec 2013 21:19:21 +0800 > > Subject: [PATCH] mtd: nand: assign mtd->name in find_full_id_nand > > > > This patch assigned the ty

[PATCH v2 3/3] Staging: lustre: Fix warning on quoted string on multiple lines

2014-01-11 Thread Monam Agarwal
This patch fixes the following checkpatch.pl warning in lustre/ldlm/ldlm_flock.c WARNING: quoted string split across lines Signed-off-by: Monam Agarwal --- drivers/staging/lustre/lustre/ldlm/ldlm_flock.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/l

[PATCH v2 2/3] Staging: lustre: :Fix line over 80 character warning

2014-01-11 Thread Monam Agarwal
The patch fixes the following checkpatch.pl error in lustre/ldlm/ldlm_flock.c WARNING: line over 80 characters in the file Signed-off-by: Monam Agarwal --- drivers/staging/lustre/lustre/ldlm/ldlm_flock.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/lu

Re: [PATCH v2] Staging: lustre: Use of fls to find last set bit

2014-01-11 Thread Joe Perches
On Sun, 2014-01-12 at 01:02 +0530, Monam Agarwal wrote: > This introduces fls in lustre/ldlm/ldlm_extent.c > to find the last set bit. [] > Signed-off-by: Monam Agarwal > --- > Changes since v1: > *Incorrect commit message > *Use of fls function [] > diff --git a/drivers/staging/lustre/lustre/ld

[PATCH v2 1/3] Staging: lustre: Fix return does not need parantheses

2014-01-11 Thread Monam Agarwal
The patch fixes the following checkpatch.pl error in lustre/ldlm/ldlm_flock.c ERROR: return is not a function, parentheses are not required Signed-off-by: Monam Agarwal --- drivers/staging/lustre/lustre/ldlm/ldlm_flock.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --g

Re: [PATCH RFC 00/10] Generic Device Tree based power domain look-up

2014-01-11 Thread Tomasz Figa
On Saturday 11 of January 2014 20:42:42 Tomasz Figa wrote: > Up till now there was no single generic method to bind devices to their > power domains using Device Tree. Each platform has been doing this using > its own way, example of which are Exynos power domain bindings [1] and > look-up code [2]

[PATCH 5/9] perf, tools: Enable printing the srcline in the history

2014-01-11 Thread Andi Kleen
From: Andi Kleen For lbr-as-callgraph we need to see the line number in the history, because many LBR entries can be in a single function, and just showing the same function name many times is not useful. When the history code is configured to sort by address, also try to resolve the address to

[PATCH 2/9] perf, tools: Support handling complete branch stacks as histograms

2014-01-11 Thread Andi Kleen
From: Andi Kleen Currently branch stacks can be only shown as edge histograms for individual branches. I never found this display particularly useful. This implements an alternative mode that creates histograms over complete branch traces, instead of individual branches, similar to how normal ca

[PATCH 9/9] perf, tools: Support source line numbers in annotate

2014-01-11 Thread Andi Kleen
From: Andi Kleen With srcline key/sort'ing it's useful to have line numbers in the annotate window. This patch implements this. Use objdump -l to request the line numbers and save them in the line structure. Then the browser displays them for source lines. The line numbers are not displayed by

[PATCH RFC 00/10] Generic Device Tree based power domain look-up

2014-01-11 Thread Tomasz Figa
Up till now there was no single generic method to bind devices to their power domains using Device Tree. Each platform has been doing this using its own way, example of which are Exynos power domain bindings [1] and look-up code [2]. This series is intended to change this and provide generic DT bi

[PATCH 3/9] perf, tools: Add --branch-history option to report v2

2014-01-11 Thread Andi Kleen
From: Andi Kleen Add a --branch-history option to perf report that changes all the settings necessary for using the branches in callstacks. This is just a short cut to make this nicer to use, it does not enable any functionality by itself. v2: Change sort order. Rename option to --branch-histor

[PATCH 8/9] perf, tools: Only print base source file for srcline

2014-01-11 Thread Andi Kleen
From: Andi Kleen For perf report with --sort srcline only print the base source file name. This makes the results generally fit much better to the screen. The path is usually not that useful anyways because it is often from different systems. Signed-off-by: Andi Kleen --- tools/perf/util/srcli

[PATCH RFC 01/10] ARM: s3c64xx: pm: Use name field of generic_pm_domain

2014-01-11 Thread Tomasz Figa
This patch removes name field from private s3c64xx_pm_domain struct and moves domain name to dedicated field of generic_pm_domain struct. When at it, beautify the names a bit, since they are used by genpd core as message prefixes. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/pm.c | 19 +

[PATCH 7/9] perf, tools: Add overlap detection for report branch-call-stack mode

2014-01-11 Thread Andi Kleen
From: Andi Kleen Add a simple heuristic to detect overlap of LBR entries and the call stack when in lbr-as-callgraph mode. The return address in the normal callstack is one off compared to the from entry in the branch stack. Handle this with a simple "assume call instruction is not longer than 8

[PATCH RFC 03/10] ARM: s3c64xx: pm: Add pwr_stat bit for domain G

2014-01-11 Thread Tomasz Figa
There is a status bit for domain G present in BLK_PWR_STAT register, but it is currently not specified in the driver. This patch adds the status bit of domain G to structure describing it. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/pm.c | 1 + 1 file changed, 1 insertion(+) diff --gi

[PATCH RFC 04/10] base: power: Add generic OF-based power domain look-up

2014-01-11 Thread Tomasz Figa
This patch introduces generic code to perform power domain look-up using device tree and automatically bind devices to their power domains. Generic device tree binding is introduced to specify power domains of devices in their device tree nodes. Backwards compatibility with legacy Samsung-specific

[PATCH RFC 02/10] ARM: s3c64xx: pm: Add always_on field to s3c64xx_pm_domain struct

2014-01-11 Thread Tomasz Figa
This patch adds always_on field to s3c64xx_pm_domain struct to allow handling registration of all domains in the same way, without the need to have separate arrays for normal and always on domains. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/pm.c | 21 - 1 file chang

[PATCH RFC 05/10] ARM: exynos: Move to generic power domain bindings

2014-01-11 Thread Tomasz Figa
This patch moves Exynos power domain code to use the new generic power domain look-up framework introduced by previous patch, allowing the new code to be compiled with CONFIG_ARCH_EXYNOS selected as well. Signed-off-by: Tomasz Figa --- .../bindings/arm/exynos/power_domain.txt | 12 ++--

[PATCH RFC 09/10] ARM: dts: s3c64xx: Add node for display controller

2014-01-11 Thread Tomasz Figa
This patch adds device tree node for the display controller present on S3C64xx SoCs. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/s3c64xx.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/s3c64xx.dtsi b/arch/arm/boot/dts/s3c64xx.dtsi index 4e3be4d..6fe

[PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-11 Thread Tomasz Figa
This patch adds support for registering power domains of S3C64xx SoCs and binding devices to them using device tree. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/pm.c | 71 + include/dt-bindings/arm/s3c64xx-power-domains.h | 26 + 2 fi

[PATCH 1/9] perf, tools: fix BFD detection on opensuse

2014-01-11 Thread Andi Kleen
From: Andi Kleen opensuse libbfd requires -lz -liberty to build. Add those to the BFD feature detection. Signed-off-by: Andi Kleen --- tools/perf/config/Makefile| 2 +- tools/perf/config/feature-checks/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --gi

[PATCH RFC 08/10] ARM: dts: s3c64xx: Add nodes for power domains

2014-01-11 Thread Tomasz Figa
This patch adds device tree nodes for power domains available on S3C64xx SoCs. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/s3c6400.dtsi | 1 + arch/arm/boot/dts/s3c6410.dtsi | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/s3c6400.dtsi b/arch/arm/boot/dts/s3c6400.dtsi

[PATCH RFC 07/10] ARM: s3c64xx: dt: Enable SoC-level power management

2014-01-11 Thread Tomasz Figa
This patch adds call to s3c64xx_pm_init() from init_machine() callback of mach-s3c64xx-dt to enable SoC-level power management features, such as power domain management and sleep support. Signed-off-by: Tomasz Figa --- arch/arm/mach-s3c64xx/mach-s3c64xx-dt.c | 8 1 file changed, 8 inser

[PATCH RFC 10/10] ARM: dts: s3c6410-mini6410: Add support for LCD screen

2014-01-11 Thread Tomasz Figa
This patch adds necessary device tree nodes and properties to enable LCD screen on mini6410 board. Signed-off-by: Tomasz Figa --- arch/arm/boot/dts/s3c6410-mini6410.dts | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/dts/s3c6410-mini6410.dts

[PATCH 6/9] perf, tools: Fix max stack handling with lbr-as-callgraph

2014-01-11 Thread Andi Kleen
From: Andi Kleen The original lbr-as-callstack code ignored the maxium callgraph length set by the user. Fix this. Signed-off-by: Andi Kleen --- tools/perf/util/machine.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c

perf: Implement lbr-as-callgraph v2

2014-01-11 Thread Andi Kleen
This patchkit implements lbr-as-callgraphs in per freport, as an alternative way to present LBR information. Current perf report does a histogram over the branch edges, which is useful to look at basic blocks, but doesn't tell you anything about the larger control flow. This patchkit adds a new o

[PATCH 4/9] perf, tools: Filter out small loops from LBR-as-call-stack

2014-01-11 Thread Andi Kleen
From: Andi Kleen Small loops can cause unnecessary duplication in the LBR-as-callstack, because the loop body appears multiple times. Filter out duplications from the LBR before unifying it into the histories. This way the same loop body only appears once. This uses a simple hash based cycle de

Re: sysfs warnings since kernel 3.13-rc1: "WARNING: ... at fs/sysfs/group.c:214 sysfs_remove_group"

2014-01-11 Thread Frank Schäfer
Am 08.01.2014 21:32, schrieb Mauro Carvalho Chehab: > With the patches that split em28xx-v4l from the main em28xx, this logic > changed, as em28xx_release_analog_resources() now have another name and > don't free em28xx dev anymore. > > Could you please test again after that patches? Yes, I've test

[PATCH v2] Staging: lustre: Use of fls to find last set bit

2014-01-11 Thread Monam Agarwal
This introduces fls in lustre/ldlm/ldlm_extent.c to find the last set bit. It also fixes the following checkpatch.pl warning in lustre/ldlm/ldlm_extent.c WARNING: space prohibited before semicolon. The patch also fixes the following checkpatch.pl error in lustre/ldlm/ldlm_extent.c ERROR: traili

Re: [RFC PATCH] mm: thp: Add per-mm_struct flag to control THP

2014-01-11 Thread Alex Thorlton
On Sat, Jan 11, 2014 at 04:53:37PM +0100, Oleg Nesterov wrote: > On 01/10, Alex Thorlton wrote: > > > > This patch adds an mm flag (MMF_THP_DISABLE) to disable transparent > > hugepages using prctl. It is based on my original patch to add a > > per-task_struct flag to disable THP: > > I leave the

Re: [PATCH 1/4] perf, tools: Add support for prepending LBRs to the callstack

2014-01-11 Thread Andi Kleen
> What was your build command line? > > Here, on a f18 system it works with these: > > $ make -C tools/perf O=/tmp/build/perf install > > $ cd tools/perf ; make > > Trying on another system... Sorry for the false alarm. It looks like it was a problem on my side. Works now. -andi -- To unsubsc

Re: [PATCH 1/4] perf, tools: Add support for prepending LBRs to the callstack

2014-01-11 Thread Arnaldo Carvalho de Melo
Em Sat, Jan 11, 2014 at 06:58:16PM +0100, Andi Kleen escreveu: > On Sat, Jan 11, 2014 at 04:36:14PM +0100, Jiri Olsa wrote: > > On Fri, Jan 10, 2014 at 04:32:03AM -0800, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > I never found the default LBR display mode which generates histograms > >

Re: [PATCH 1/4] perf, tools: Add support for prepending LBRs to the callstack

2014-01-11 Thread Arnaldo Carvalho de Melo
Em Sat, Jan 11, 2014 at 04:16:57PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Sat, Jan 11, 2014 at 06:58:16PM +0100, Andi Kleen escreveu: > > On Sat, Jan 11, 2014 at 04:36:14PM +0100, Jiri Olsa wrote: > > > On Fri, Jan 10, 2014 at 04:32:03AM -0800, Andi Kleen wrote: > > > > From: Andi Kleen >

[PATCH v2 RESEND] clk: support hardware-specific debugfs entries

2014-01-11 Thread Alex Elder
Add a new clk_ops->debug_init method to allow a clock hardware driver to populate the clock's debugfs directory with entries beyond those common for every clock. Signed-off-by: Alex Elder --- v2: - Define debug_init unconditionally (suggested by Gerhard Sittig). drivers/clk/clk.c|

Re: [PATCH v2 0/28] drm/i2c: tda998x: add DT support and other improvements

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 11:56:51AM +0100, Jean-Francois Moine wrote: > This patch set contains various extensions to the tda998x driver: > > - simplify the i2c read/write > - code cleanup and fix some small errors > - use HDMI constants > - don't read write-only registers > - add DT support > - us

Re: blackfin + dmaengine: conflicting define/enum "DMA_COMPLETE"

2014-01-11 Thread Marc Kleine-Budde
On 01/11/2014 07:31 PM, Randy Dunlap wrote: > On 01/11/2014 10:09 AM, Marc Kleine-Budde wrote: >> Hello, >> >> in current linux-next (and net-next) the compilation of the CAN >> drivers[1] with ARCH=blackfin fails with: >> >>> CC [M] drivers/net/can/c_can/c_can.o >>> In file included from linux/

Re: [PATCH v2 26/28] drm/i2c: tda998x: code optimization

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 12:07:25PM +0100, Jean-Francois Moine wrote: > This patch reduces the number of I2C exchanges by setting many bits in > one write and removing a useless write. > > Signed-off-by: Jean-Francois Moine > --- > drivers/gpu/drm/i2c/tda998x_drv.c | 10 -- > 1 file cha

Re: [PATCHSET v2 driver-core-next] kernfs, sysfs, driver-core: implement synchronous self-removal

2014-01-11 Thread Tejun Heo
Hey, Alan. On Fri, Jan 10, 2014 at 10:46:10AM -0500, Alan Stern wrote: > The SUBJECT lines in your patch emails don't mention the version > number. That is, they just say "[PATCH]", not "[PATCH v2]" or "[PATCH > v3]". This makes it very difficult for me to tell which messages to > read. Hmm... t

Re: [PATCH v2 23/28] drm/i2c: tda998x: add the active aspect in HDMI AVI frame

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 12:06:39PM +0100, Jean-Francois Moine wrote: > This patch adds the active aspect as 'picture' in the HDMI AVI frame > and also some comments about this frame. Yes, this should've been set. It's probably a stable tree candidate, but first it needs testing. -- FTTC broadba

Re: [PATCHSET v3 driver-core-next] kernfs, sysfs, driver-core: implement synchronous self-removal

2014-01-11 Thread Tejun Heo
Hey, Greg. On Fri, Jan 10, 2014 at 04:19:53PM -0800, Greg KH wrote: > > It's really late in the -rc cycle for me to take this for 3.14, but I > > see patch 1 is a good one to have, so I'll take that now, and queue the > > rest up for after 3.14-rc1 is out for 3.15. Is that ok with you, or do > >

Re: [PATCH v2 21/28] drm/i2c: tda998x: use global constants

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 12:06:18PM +0100, Jean-Francois Moine wrote: > > Signed-off-by: Jean-Francois Moine > --- > drivers/gpu/drm/i2c/tda998x_drv.c | 23 +- > 1 file changed, 14 insertions(+), 9 deletions(-) > > diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c > b/drivers

Re: [PATCH v2 9/28] drm/i2c: tda998x: don't read write-only registers

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 11:59:41AM +0100, Jean-Francois Moine wrote: > @@ -936,10 +926,22 @@ tda998x_encoder_mode_set(struct drm_encoder *encoder, > /* must be last register set: */ > reg_clear(priv, REG_TBG_CNTRL_0, TBG_CNTRL_0_SYNC_ONCE); > > + /* > + * Always generate sync

man-pages-3.56 is released

2014-01-11 Thread Michael Kerrisk (man-pages)
Gidday, I've released man-pages-3.55 - man pages for Linux. Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: https://git.kernel.org/cgit/docs/man-pages/man-pages.git/ Online changelog: http://man7.org/linux/man-pages/changelog.html#release_3.55 A sh

Re: [PATCH v2 20/28] drm/i2c: tda998x: move the TBG_CNTRL_0 register setting

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 12:06:07PM +0100, Jean-Francois Moine wrote: > According to the comment, the TBG_CNTRL_0 register must be set at the > end of the mode change sequence. So you believe comments without understanding the history, and you move code around due to those. No, this is again wrong

Re: [PATCH v2 13/28] drm/i2c: tda998x: use irq for connection status and EDID read

2014-01-11 Thread Sebastian Hesselbarth
On 01/11/2014 07:14 PM, Russell King - ARM Linux wrote: On Thu, Jan 09, 2014 at 12:04:12PM +0100, Jean-Francois Moine wrote: @@ -1250,6 +1311,39 @@ tda998x_encoder_init(struct i2c_client *client, priv->vip_cntrl_2 = video; } + /* install the optional HDMI connect I

Re: [PATCH v2 19/28] drm/i2c: tda998x: fix the value of the TBG_CNTRL_1 register

2014-01-11 Thread Russell King - ARM Linux
On Thu, Jan 09, 2014 at 12:05:43PM +0100, Jean-Francois Moine wrote: > This patch fixes the 'toggle flag enable' bit of the TBG_CNTRL_1 > register which was set when no toggle was needed. > > Signed-off-by: Jean-Francois Moine > --- > drivers/gpu/drm/i2c/tda998x_drv.c | 6 +++--- > 1 file change

Re: blackfin + dmaengine: conflicting define/enum "DMA_COMPLETE"

2014-01-11 Thread Randy Dunlap
On 01/11/2014 10:09 AM, Marc Kleine-Budde wrote: > Hello, > > in current linux-next (and net-next) the compilation of the CAN > drivers[1] with ARCH=blackfin fails with: > >> CC [M] drivers/net/can/c_can/c_can.o >> In file included from linux/include/linux/netdevice.h:38:0, >>

  1   2   >