Re: [PATCH v2] iio: add support of the max1027

2014-05-26 Thread Lars-Peter Clausen
On 05/20/2014 11:27 PM, Philippe Reynes wrote: This driver add partial support of the maxim 1027/1029/1031. Differential mode is not supported. It was tested on armadeus apf27 board. Signed-off-by: Philippe Reynes --- .../devicetree/bindings/iio/adc/max1027-adc.txt| 21 +

[PATCH] of_regulator: use of_property_read_{bool|u32}()

2014-05-26 Thread Sergei Shtylyov
Use more compact of_property_read_{bool|u32}() calls instead of the of_{find|get}_property() calls in of_get_regulation_constraints() where possible (note that of_property_read_{bool|u32}() were already used to read some properties). Signed-off-by: Sergei Shtylyov --- The patch is against Mark

Re: [PATCH] mm/process_vm_access: move into ipc/

2014-05-26 Thread Hugh Dickins
On Mon, 26 May 2014, Konstantin Khlebnikov wrote: > On Mon, May 26, 2014 at 11:16 PM, Hugh Dickins wrote: > > On Sat, 24 May 2014, Konstantin Khlebnikov wrote: > > > >> "CROSS_MEMORY_ATTACH" and mm/process_vm_access.c seems misnamed and > >> misplaced. > >> Actually it's a kind of IPC and it has

Re: fs/dcache.c - BUG: soft lockup - CPU#5 stuck for 22s! [systemd-udevd:1667]

2014-05-26 Thread Linus Torvalds
On Mon, May 26, 2014 at 11:26 AM, Al Viro wrote: > On Mon, May 26, 2014 at 11:17:42AM -0700, Linus Torvalds wrote: >> On Mon, May 26, 2014 at 8:27 AM, Al Viro wrote: >> > >> > That's the livelock. OK. >> >> Hmm. Is there any reason we don't have some exclusion around >>

[PATCH] powerpc: Introduce the use of the managed version of kzalloc

2014-05-26 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfree in probe function. The following Coccinelle semantic patch was used for making the change: @platform@ identifier p, probefn, removefn; @@ struct platform_driver p = {

[PATCH] staging: rtl8192u: rename CONFIG_IEEE80211_CRYPT_TKIP

2014-05-26 Thread Paul Bolle
dated. Use CONFIG_LIB80211_CRYPT_TKIP instead, as was clearly intended. Signed-off-by: Paul Bolle --- Compile tested only. Done on top of next-20140526. drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c | 2 +- drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletion

[PATCH 1/1] block/blk-lib.c: make __blkdev_issue_zeroout static

2014-05-26 Thread Fabian Frederick
__blkdev_issue_zeroout is only used in blk-lib.c Cc: Jens Axboe Cc: Andrew Morton Signed-off-by: Fabian Frederick --- block/blk-lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-lib.c b/block/blk-lib.c index 97a733c..8411be3 100644 --- a/block/blk-lib.c

Re: [RFC][PATCH 0/5] VM_PINNED

2014-05-26 Thread Konstantin Khlebnikov
On Mon, May 26, 2014 at 6:56 PM, Peter Zijlstra wrote: > Hi all, > > I mentioned at LSF/MM that I wanted to revive this, and at the time there were > no disagreements. > > I finally got around to refreshing the patch(es) so here goes. > > These patches introduce VM_PINNED infrastructure, vma

Re: [PATCH V3 0/6] namespaces: log namespaces per task

2014-05-26 Thread Richard Guy Briggs
On 14/05/26, Michael Kerrisk (man-pages) wrote: > Hi Richard > > On Mon, May 26, 2014 at 6:58 PM, Richard Guy Briggs wrote: > > On 14/05/22, Michael Kerrisk wrote: > >> Richard, > > > > Hi Michael, > > > >> On Tue, May 20, 2014 at 3:12 PM, Richard Guy Briggs > >> wrote: > >> > The purpose is

RE: [PATCH 0/15] x86/xsaves: Optimize xstate context switch by xsaves/xrstors

2014-05-26 Thread Yu, Fenghua
> From: Andy Lutomirski [mailto:l...@amacapital.net] > On 05/26/2014 10:01 AM, Fenghua Yu wrote: > > From: Fenghua Yu > > > > With ever growing extended state registers (xstate) on x86 processors, > kernel > > needs to cope with issue of growing memory space occupied by xstate. > The xsave > >

Re: mm: NULL ptr deref in remove_migration_pte

2014-05-26 Thread Hugh Dickins
On Fri, 23 May 2014, Sasha Levin wrote: > Ping? > > On 05/05/2014 11:51 AM, Sasha Levin wrote: > > Did anyone have a chance to look at it? I still see it in -next. > > > > > > Thanks, > > Sasha > > > > On 04/16/2014 10:59 AM, Sasha Levin wrote: > >> Hi all, > >> > >> While fuzzing with

Re: [PATCH] x86, MCE: Kill CPU_POST_DEAD

2014-05-26 Thread Borislav Petkov
On Thu, May 22, 2014 at 09:55:38PM +0200, Borislav Petkov wrote: > From: Borislav Petkov > Date: Thu, 22 May 2014 16:40:54 +0200 > Subject: [PATCH] x86, MCE: Kill CPU_POST_DEAD > > In conjunction with cleaning up CPU hotplug, we want to get rid of > CPU_POST_DEAD. Kill this instance here and

Re: [PATCH] mm/process_vm_access: move into ipc/

2014-05-26 Thread Konstantin Khlebnikov
On Mon, May 26, 2014 at 11:16 PM, Hugh Dickins wrote: > On Sat, 24 May 2014, Konstantin Khlebnikov wrote: > >> "CROSS_MEMORY_ATTACH" and mm/process_vm_access.c seems misnamed and >> misplaced. >> Actually it's a kind of IPC and it has no more relation to MM than >> sys_read(). >> This patch

[PATCH] x86, CPU: Convert more features to bugs

2014-05-26 Thread Borislav Petkov
From: Borislav Petkov X86_FEATURE_FXSAVE_LEAK, X86_FEATURE_11AP and X86_FEATURE_CLFLUSH_MONITOR are not really features but synthetic bits we use for applying different bug workarounds. Call them what they really are. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/apic.h | 2

Re: [PATCH] mm/process_vm_access: move into ipc/

2014-05-26 Thread Al Viro
On Mon, May 26, 2014 at 12:16:20PM -0700, Hugh Dickins wrote: > On Sat, 24 May 2014, Konstantin Khlebnikov wrote: > > > "CROSS_MEMORY_ATTACH" and mm/process_vm_access.c seems misnamed and > > misplaced. > > Actually it's a kind of IPC and it has no more relation to MM than > > sys_read(). > >

[PATCH 1/1] Documentation/filesystems/seq_file.txt: create_proc_entry deprecated

2014-05-26 Thread Fabian Frederick
Linked article in seq_file.txt still uses create_proc_entry which was removed in 80e928f7ebb958 "proc: Kill create_proc_entry()" This patch adds information for kernel 3.10 and above Cc: Jonathan Corbet Cc: Andrew Morton Signed-off-by: Fabian Frederick ---

Re: [PATCH v2] iio: add support of the max1027

2014-05-26 Thread trem
Hi Hartmut, First, thanks a lot for this feedback, I really appreciate it. On 26/05/14 00:52, Hartmut Knaack wrote: Philippe Reynes schrieb: This driver add partial support of the maxim 1027/1029/1031. Differential mode is not supported. It was tested on armadeus apf27 board.

[PATCH] staging: tidspbridge: check for CONFIG_SND_OMAP_SOC_MCBSP

2014-05-26 Thread Paul Bolle
e haven't been built for a while. Done on top of next-20140526. drivers/staging/tidspbridge/core/dsp-clock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/tidspbridge/core/dsp-clock.c b/drivers/staging/tidspbridge/core/dsp-clock.c index 2f084e181d39.

[PATCH 1/1] fs/ocfs2/ioctl.c: add static to local functions

2014-05-26 Thread Fabian Frederick
ocfs_info_foo() and ocfs2_get_request_ptr functions are only used in ioctl.c Cc: Mark Fasheh Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/ocfs2/ioctl.c | 81 1 file changed, 41 insertions(+), 40 deletions(-) diff --git

[PATCH] staging: rtl8192u: remove checks for CONFIG_RTL8192_PM

2014-05-26 Thread Paul Bolle
no functions rtl8192_suspend and rtl8192_resume. Done on top of next-20140526. drivers/staging/rtl8192u/r8192U_core.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c index 97af38f9f281..24272c51bc9d 100644

Re: [PATCH 1/3] driver core/platform: don't leak memory allocated for dma_mask

2014-05-26 Thread Emil Goode
Hello, On Mon, May 26, 2014 at 10:30:46PM +0300, Dan Carpenter wrote: > On Mon, May 26, 2014 at 06:41:21PM +0200, Emil Goode wrote: > > diff --git a/drivers/base/platform.c b/drivers/base/platform.c > > index 9e9227e..dd1fa07 100644 > > --- a/drivers/base/platform.c > > +++

Re: [PATCH 0/15] x86/xsaves: Optimize xstate context switch by xsaves/xrstors

2014-05-26 Thread Andy Lutomirski
On 05/26/2014 10:01 AM, Fenghua Yu wrote: > From: Fenghua Yu > > With ever growing extended state registers (xstate) on x86 processors, kernel > needs to cope with issue of growing memory space occupied by xstate. The xsave > area is holding more and more xstate registers, growing from legacy FP

Re: [PATCH 4/5] mm/rmap: share the i_mmap_rwsem

2014-05-26 Thread Hugh Dickins
On Thu, 22 May 2014, Davidlohr Bueso wrote: > Similarly to rmap_walk_anon() and collect_procs_anon(), > there is opportunity to share the lock in rmap_walk_file() > and collect_procs_file() for file backed pages. And lots of other places, no? I welcome i_mmap_rwsem, but I think you're

Re: [PATCH 1/5] irq_work: Split raised and lazy lists

2014-05-26 Thread Frederic Weisbecker
On Mon, May 26, 2014 at 09:26:33PM +0200, Peter Zijlstra wrote: > On Mon, May 26, 2014 at 06:53:13PM +0200, Frederic Weisbecker wrote: > > On Mon, May 26, 2014 at 05:59:44PM +0200, Peter Zijlstra wrote: > > > On Sun, May 25, 2014 at 04:29:47PM +0200, Frederic Weisbecker wrote: > > > > An irq work

Re: [PATCH 1/3] driver core/platform: don't leak memory allocated for dma_mask

2014-05-26 Thread Dan Carpenter
On Mon, May 26, 2014 at 06:41:21PM +0200, Emil Goode wrote: > diff --git a/drivers/base/platform.c b/drivers/base/platform.c > index 9e9227e..dd1fa07 100644 > --- a/drivers/base/platform.c > +++ b/drivers/base/platform.c > @@ -166,6 +166,7 @@ EXPORT_SYMBOL_GPL(platform_add_devices); > struct

[PATCH 1/1] drivers/tty/n_hdlc.c: replace kmalloc/memset by kzalloc

2014-05-26 Thread Fabian Frederick
Cc: Greg Kroah-Hartman Signed-off-by: Fabian Frederick --- drivers/tty/n_hdlc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/tty/n_hdlc.c b/drivers/tty/n_hdlc.c index 1b2db9a..b8fcc47 100644 --- a/drivers/tty/n_hdlc.c +++ b/drivers/tty/n_hdlc.c @@ -848,13

Re: [PATCH v5 6/6] seccomp: add SECCOMP_EXT_ACT_TSYNC and SECCOMP_FILTER_TSYNC

2014-05-26 Thread Andy Lutomirski
On Fri, May 23, 2014 at 10:05 AM, Kees Cook wrote: > On Thu, May 22, 2014 at 4:11 PM, Andy Lutomirski wrote: >> On Thu, May 22, 2014 at 4:05 PM, Kees Cook wrote: >>> Applying restrictive seccomp filter programs to large or diverse >>> codebases often requires handling threads which may be

[PATCH] staging: lirc: remove checks for CONFIG_LIRC_SERIAL_NSLU2

2014-05-26 Thread Paul Bolle
When support for homebrew serial port receivers was added in v2.6.36 its code contained checks for CONFIG_LIRC_SERIAL_NSLU2. The related Kconfig symbol didn't exist then. It still doesn't exist now. Remove these checks. Signed-off-by: Paul Bolle --- Untested. Done on top of next-20140526. I

Re: [PATCH 1/5] irq_work: Split raised and lazy lists

2014-05-26 Thread Peter Zijlstra
On Mon, May 26, 2014 at 06:53:13PM +0200, Frederic Weisbecker wrote: > On Mon, May 26, 2014 at 05:59:44PM +0200, Peter Zijlstra wrote: > > On Sun, May 25, 2014 at 04:29:47PM +0200, Frederic Weisbecker wrote: > > > An irq work can be handled from two places: from the tick if the work > > > carries

Re: [PATCH 3/5] irq_work: Implement remote queueing

2014-05-26 Thread Frederic Weisbecker
On Mon, May 26, 2014 at 09:19:18PM +0200, Peter Zijlstra wrote: > On Mon, May 26, 2014 at 06:50:41PM +0200, Frederic Weisbecker wrote: > > On Mon, May 26, 2014 at 06:02:24PM +0200, Peter Zijlstra wrote: > > > On Sun, May 25, 2014 at 04:29:49PM +0200, Frederic Weisbecker wrote: > > > > +bool

Re: [PATCH 3/5] irq_work: Implement remote queueing

2014-05-26 Thread Peter Zijlstra
On Mon, May 26, 2014 at 06:50:41PM +0200, Frederic Weisbecker wrote: > On Mon, May 26, 2014 at 06:02:24PM +0200, Peter Zijlstra wrote: > > On Sun, May 25, 2014 at 04:29:49PM +0200, Frederic Weisbecker wrote: > > > +bool irq_work_queue_on(struct irq_work *work, int cpu) > > > +{ > > > + /* Only

Re: [PATCH 1/9] procfs: use flags to deny or allow access to /proc//$entry

2014-05-26 Thread Andy Lutomirski
On Mon, May 26, 2014 at 12:13 PM, Djalal Harouni wrote: > On Mon, May 26, 2014 at 11:06:40AM -0700, Andy Lutomirski wrote: >> On Mon, May 26, 2014 at 10:21 AM, Djalal Harouni wrote: >> > I would like to keep it enum, enum is type-safe and I want to follow the >> > semantics of /proc/pid/stat and

[PATCH] staging: ctx1e1: remove checks for three macros

2014-05-26 Thread Paul Bolle
and remove the unused V7() macro too. Signed-off-by: Paul Bolle --- Untested. Done op top of next-20140526. drivers/staging/cxt1e1/functions.c | 18 -- drivers/staging/cxt1e1/linux.c | 17 - drivers/staging/cxt1e1/musycc.c| 30

Re: [PATCH] mm/process_vm_access: move into ipc/

2014-05-26 Thread Hugh Dickins
On Sat, 24 May 2014, Konstantin Khlebnikov wrote: > "CROSS_MEMORY_ATTACH" and mm/process_vm_access.c seems misnamed and misplaced. > Actually it's a kind of IPC and it has no more relation to MM than sys_read(). > This patch moves code into ipc/ and config option into init/Kconfig. > >

[PATCH v2] ALSA: hda: fix tegra build

2014-05-26 Thread Arnd Bergmann
When CONFIG_PM is disabled, the CONFIG_SND_HDA_POWER_SAVE_DEFAULT symbol does not get defined, which causes a build error for the hda-tegra driver: hda/hda_tegra.c:80:25: error: 'CONFIG_SND_HDA_POWER_SAVE_DEFAULT' undeclared here (not in a function) static int power_save =

Re: [PATCH 1/3] driver core/platform: don't leak memory allocated for dma_mask

2014-05-26 Thread Yann Droneaud
Hi Emil, Le lundi 26 mai 2014 à 18:41 +0200, Emil Goode a écrit : > The first two patches in the series are created from v4 of the > original patch, since I have not changed how the code works I think > it is correct to keep the original author and Signed-off-by line. > > Best regards, Thanks

Re: [PATCH 1/9] procfs: use flags to deny or allow access to /proc//$entry

2014-05-26 Thread Djalal Harouni
On Mon, May 26, 2014 at 11:06:40AM -0700, Andy Lutomirski wrote: > On Mon, May 26, 2014 at 10:21 AM, Djalal Harouni wrote: > > On Mon, May 26, 2014 at 09:57:16AM -0700, Andy Lutomirski wrote: > >> On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: > >> > Add the deny or allow flags, so we

Re: [PATCH V3 0/6] namespaces: log namespaces per task

2014-05-26 Thread Michael Kerrisk (man-pages)
Hi Richard On Mon, May 26, 2014 at 6:58 PM, Richard Guy Briggs wrote: > On 14/05/22, Michael Kerrisk wrote: >> Richard, > > Hi Michael, > >> On Tue, May 20, 2014 at 3:12 PM, Richard Guy Briggs wrote: >> > The purpose is to track namespaces in use by logged processes from the >> > perspective of

Re: [PATCHv5 0/2] imx2-wdt: Add regmap-mmio support

2014-05-26 Thread Wim Van Sebroeck
Hi Xiubo, > This patches are preparing for Vybird, LS1 and LS2. And on LS1 the IP will > in BE mode. > > Changes in V5: > - Select the REGMAP_MMIO default for IMX2 Watchdog. > > Changes in V4: > - Add the explanation why uing the regmap APIs. > > Changes in V3: > - convert to use regmap-mmio

[PATCH] staging: comedi: remove check for CONFIG_KMOD

2014-05-26 Thread Paul Bolle
ntless anyhow, but that's a different issue. Signed-off-by: Paul Bolle --- Untested. Done on top of next-20140526. drivers/staging/comedi/comedi_fops.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index

[PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v2)

2014-05-26 Thread Marcelo Tosatti
Zone specific allocations, such as GFP_DMA32, should not be restricted to cpusets allowed node list: the zones which such allocations demand might be contained in particular nodes outside the cpuset node list. The alternative would be to not perform such allocations from applications which are

Re: [PATCH 3/3] watchdog: via_wdt: replace del_timer by del_timer_sync

2014-05-26 Thread Wim Van Sebroeck
Hi Julia, > From: Julia Lawall > > Use del_timer_sync to ensure that the timer is stopped on all CPUs before > the driver exits. > > This change was suggested by Thomas Gleixner. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @r@ >

[PATCH 2/2] perf tools: Add warning when disabling perl scripting support due to missing devel files

2014-05-26 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We were just showing "libperl: OFF", unlike other features where we present the user with a message helping have a feature built in. Fix it by adding the following message: config/Makefile:450: Missing perl devel files. Disabling perl scripting support, consider

[PATCH 1/2] trace: Warn the user when not available

2014-05-26 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When the audit-libs devel package is not found at build time we disable the 'trace' command, as we are not able to map syscall numbers to strings, but then the message the user is presented is cryptic: [root@zoo linux]# trace ls perf: 'ls' is not a

[PATCH] [TRIVIAL] staging: go7007: remove reference to CONFIG_KMOD

2014-05-26 Thread Paul Bolle
The Kconfig symbol KMOD was removed in v2.6.29. Remove CONFIG_KMOD from this list of options too. Signed-off-by: Paul Bolle --- drivers/staging/media/go7007/go7007.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/media/go7007/go7007.txt

Re: [PATCH] watchdog: kempld-wdt: Use the correct value when configuring the prescaler with the watchdog

2014-05-26 Thread Wim Van Sebroeck
Hi Per, > Use the prescaler index, rather than its value, to configure the watchdog. > This will prevent a mismatch with the prescaler used to calculate the > cycles. > > Signed-off-by: Per Gundberg > --- > drivers/watchdog/kempld_wdt.c |2 +- > 1 file changed, 1 insertion(+), 1

[PATCH v5 0/2] context tracker support for arm64

2014-05-26 Thread Larry Bassel
Implement and enable context tracking for arm64 (which is a prerequisite for FULL_NOHZ support). This patchset builds upon earlier work by Kevin Hilman and is based on Will Deacon's tree. Changes v4 to v5: * Improvement to code restoring far_el1 (suggested by Christopher Covington) * Improvement

[PATCH v5 2/2] arm64: enable context tracking

2014-05-26 Thread Larry Bassel
Make calls to ct_user_enter when the kernel is exited and ct_user_exit when the kernel is entered (in el0_da, el0_ia, el0_svc, el0_irq and all of the "error" paths). These macros expand to function calls which will only work properly if el0_sync and related code has been rearranged (in a previous

[PATCH v5 1/2] arm64: adjust el0_sync so that a function can be called

2014-05-26 Thread Larry Bassel
To implement the context tracker properly on arm64, a function call needs to be made after debugging and interrupts are turned on, but before the lr is changed to point to ret_to_user(). If the function call is made after the lr is changed the function will not return to the correct place. For

Re: [PATCH 01/26] perf tools: Introduce struct hist_entry_iter

2014-05-26 Thread Jiri Olsa
On Fri, May 23, 2014 at 07:03:58PM +0900, Namhyung Kim wrote: > There're some duplicate code when adding hist entries. They are > different in that some have branch info or mem info but generally do > same thing. So introduce new struct hist_entry_iter and add callbacks > to customize each case

Re: [PATCH 3/9] procfs: add proc_read_from_buffer() and pid_entry_read() helpers

2014-05-26 Thread Djalal Harouni
On Mon, May 26, 2014 at 07:21:54PM +0100, Djalal Harouni wrote: > On Mon, May 26, 2014 at 10:59:10AM -0700, Andy Lutomirski wrote: > > On Mon, May 26, 2014 at 10:41 AM, Djalal Harouni wrote: > > > On Mon, May 26, 2014 at 10:01:20AM -0700, Andy Lutomirski wrote: > > >> On Mon, May 26, 2014 at 6:27

Hello I am David John

2014-05-26 Thread DavidJohn
Hello I am David John this is to bring to your notice your ATM card has been release please contact us immediately with your information -- 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

[PATCH 2/2] emac: aggregation of v1-2 PLB errors for IER register

2014-05-26 Thread Ivan Mikhaylov
Aggreagation of version 1-2 because of version 1 can hit PLB errors too. If it's not set so we missing events for PLB bits and driver can't process those interrupts. Signed-off-by: Ivan Mikhaylov --- drivers/net/ethernet/ibm/emac/mal.c | 5 + drivers/net/ethernet/ibm/emac/mal.h | 20

Re: [PATCH 1/3] driver core/platform: don't leak memory allocated for dma_mask

2014-05-26 Thread Emil Goode
Hello Russell, On Mon, May 26, 2014 at 05:51:05PM +0100, Russell King - ARM Linux wrote: > On Mon, May 26, 2014 at 06:41:21PM +0200, Emil Goode wrote: > > @@ -211,6 +215,7 @@ struct platform_device *platform_device_alloc(const > > char *name, int id) > > strcpy(pa->name, name); > >

Re: [PATCH 01/26] perf tools: Introduce struct hist_entry_iter

2014-05-26 Thread Jiri Olsa
On Fri, May 23, 2014 at 07:03:58PM +0900, Namhyung Kim wrote: SNIP > static int process_sample_event(struct perf_tool *tool, > union perf_event *event, > struct perf_sample *sample, > @@ -243,6 +84,9 @@ static int

Re: fs/dcache.c - BUG: soft lockup - CPU#5 stuck for 22s! [systemd-udevd:1667]

2014-05-26 Thread Al Viro
On Mon, May 26, 2014 at 11:17:42AM -0700, Linus Torvalds wrote: > On Mon, May 26, 2014 at 8:27 AM, Al Viro wrote: > > > > That's the livelock. OK. > > Hmm. Is there any reason we don't have some exclusion around > "check_submounts_and_drop()"? > > That would seem to be the simplest way to

[PATCH 1/2] emac: add missing support of 10mbit in emac/rgmii

2014-05-26 Thread Ivan Mikhaylov
In chips of emac/rgmii b'000' for 0/1 channel isn't suitable which resulted in non working network interface in this mode. Signed-off-by: Ivan Mikhaylov --- drivers/net/ethernet/ibm/emac/rgmii.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/ibm/emac/rgmii.c

Re: [PATCH 3/9] procfs: add proc_read_from_buffer() and pid_entry_read() helpers

2014-05-26 Thread Djalal Harouni
On Mon, May 26, 2014 at 10:59:10AM -0700, Andy Lutomirski wrote: > On Mon, May 26, 2014 at 10:41 AM, Djalal Harouni wrote: > > On Mon, May 26, 2014 at 10:01:20AM -0700, Andy Lutomirski wrote: > >> On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: > >> > This patch is preparation, it adds a

Re: [PATCH 20/51] Input: atmel_mxt_ts - Set default irqflags when there is no pdata

2014-05-26 Thread Yufeng Shen
On Sat, May 24, 2014 at 8:41 AM, Nick Dyer wrote: > Yufeng Shen wrote: >> On Thu, May 22, 2014 at 10:29 AM, Nick Dyer wrote: >>> Dmitry Torokhov wrote: >> Make the irqflags default to be IRQF_TRIGGER_FALLING if no platform data >> is >> provided. I think if there is no

Re: fs/dcache.c - BUG: soft lockup - CPU#5 stuck for 22s! [systemd-udevd:1667]

2014-05-26 Thread Linus Torvalds
On Mon, May 26, 2014 at 8:27 AM, Al Viro wrote: > > That's the livelock. OK. Hmm. Is there any reason we don't have some exclusion around "check_submounts_and_drop()"? That would seem to be the simplest way to avoid any livelock: just don't allow concurrent calls (we could make the lock

Re: [PATCH v2 5/5] regulator: axp20x: resolve self dependency issue

2014-05-26 Thread Mark Brown
On Mon, May 26, 2014 at 06:58:00PM +0200, Boris BREZILLON wrote: > AFAIU, we could factorize it by the mean of an helper function (say > devm_regulators_register), which would take a matches table and a > regulator desc table and do pretty much what I'm doing in this patch. > Is that what you

[PATCH 1/1] Fix confusing uses of %d prefixed by 0x in format strings

2014-05-26 Thread Hans Wennborg
Signed-off-by: Hans Wennborg --- arch/cris/arch-v32/drivers/cryptocop.c | 2 +- drivers/atm/eni.c | 4 ++-- drivers/block/DAC960.c | 4 ++-- drivers/block/cciss.c | 2 +-

Re: [PATCH 1/3] driver core/platform: don't leak memory allocated for dma_mask

2014-05-26 Thread Uwe Kleine-König
On Mon, May 26, 2014 at 06:41:21PM +0200, Emil Goode wrote: > From: Yann Droneaud > > Since commit 01dcc60a7cb8, platform_device_register_full() is > available to allocate and register a platform device. > > If a dma_mask is provided as part of platform_device_info, >

Re: [PATCH 20/51] Input: atmel_mxt_ts - Set default irqflags when there is no pdata

2014-05-26 Thread Yufeng Shen
On Mon, May 26, 2014 at 1:23 AM, Dmitry Torokhov wrote: > > On Fri, May 23, 2014 at 12:37:46PM -0400, Yufeng Shen wrote: > > On Thu, May 22, 2014 at 10:29 AM, Nick Dyer wrote: > > > > > > Dmitry Torokhov wrote: > > > > On Thu, Jul 18, 2013 at 07:17:44PM +0200, rydb...@euromail.se wrote: > > >

Re: Documenting execve() and EAGAIN

2014-05-26 Thread Vasiliy Kulikov
Hi Michael, On Wed, May 21, 2014 at 20:12 +0200, Michael Kerrisk (man-pages) wrote: > Vasily (and Motohiro), > > Sometime ago, Motohiro raised a documentation bug > ( https://bugzilla.kernel.org/show_bug.cgi?id=42704 ) which > relates to your commit 72fa59970f8698023045ab0713d66f3f4f96945c >

Re: [staging: r8192ee] WARNING: CPU: 0 PID: 1 at net/mac80211/rate.c:43 ieee80211_rate_control_register()

2014-05-26 Thread Jet Chen
On 05/27/2014 01:07 AM, Larry Finger wrote: > On 05/26/2014 09:55 AM, Jet Chen wrote: > > Jet, > >> 0day kernel testing robot got the below dmesg and the first bad commit is >> >> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next >> commit

Re: [PATCH 1/9] procfs: use flags to deny or allow access to /proc//$entry

2014-05-26 Thread Andy Lutomirski
On Mon, May 26, 2014 at 10:21 AM, Djalal Harouni wrote: > On Mon, May 26, 2014 at 09:57:16AM -0700, Andy Lutomirski wrote: >> On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: >> > Add the deny or allow flags, so we can perform proper permission checks >> > and set the result accordingly.

Re: [PATCH] /proc/pid/status: show all sets of pid according to ns

2014-05-26 Thread Vasily Kulikov
Hi Chen, On Mon, May 26, 2014 at 18:05 +0800, Chen Hanxiao wrote: > We need a direct method of getting the pid inside containers. > If some issues occurred inside a container guest, host user > could not know which process is in trouble just by guest pid: > the users of container guest only knew

Your Urgent reply.

2014-05-26 Thread HUSAM AL SAYED
Dear Friend, Compliments of the day.This mail May be a surprise to you Because you did not give me the permission to do so and Neither do you know me but before I tell you about myself I want you to please forgive me for sending this mail without your permission I have been in search of someone

Re: [PATCH] x86, MCE: Flesh out when to panic comment

2014-05-26 Thread Andy Lutomirski
On Mon, May 26, 2014 at 10:51 AM, Borislav Petkov wrote: > On Mon, May 26, 2014 at 09:47:38AM -0700, Andy Lutomirski wrote: >> It may be worth at least pointing out that mce_severity looks at >> whether we faulted from kernel context. I missed that the first time >> around because mce_severity

Re: [PATCH 3/9] procfs: add proc_read_from_buffer() and pid_entry_read() helpers

2014-05-26 Thread Andy Lutomirski
On Mon, May 26, 2014 at 10:41 AM, Djalal Harouni wrote: > On Mon, May 26, 2014 at 10:01:20AM -0700, Andy Lutomirski wrote: >> On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: >> > This patch is preparation, it adds a couple of helpers to read data and >> > to get the cached permission

Re: [PATCH 12/26] perf tools: Apply percent-limit to cumulative percentage

2014-05-26 Thread Jiri Olsa
On Fri, May 23, 2014 at 07:04:09PM +0900, Namhyung Kim wrote: SNIP > diff --git a/tools/perf/ui/stdio/hist.c b/tools/perf/ui/stdio/hist.c > index 9f57991025a9..475d2f5c7e16 100644 > --- a/tools/perf/ui/stdio/hist.c > +++ b/tools/perf/ui/stdio/hist.c > @@ -461,12 +461,12 @@ print_entries: > >

Re: [PATCH 10/26] perf ui/browser: Add support to accumulated hist stat

2014-05-26 Thread Jiri Olsa
On Fri, May 23, 2014 at 07:04:07PM +0900, Namhyung Kim wrote: > Print accumulated stat of a hist entry if requested. > > Tested-by: Arun Sharma > Tested-by: Rodrigo Campos > Acked-by: Jiri Olsa > Cc: Frederic Weisbecker > Signed-off-by: Namhyung Kim > --- > tools/perf/ui/browsers/hists.c |

Re: [PATCH] x86, MCE: Flesh out when to panic comment

2014-05-26 Thread Borislav Petkov
On Mon, May 26, 2014 at 09:47:38AM -0700, Andy Lutomirski wrote: > It may be worth at least pointing out that mce_severity looks at > whether we faulted from kernel context. I missed that the first time > around because mce_severity doesn't take a pt_regs pointer. Right, but next time we talk

Re: [PATCH 1/3] staging: panel: (coding style) Matching braces

2014-05-26 Thread Willy Tarreau
On Mon, May 26, 2014 at 10:28:10AM -0700, Joe Perches wrote: > On Mon, 2014-05-26 at 16:28 +0200, Willy Tarreau wrote: > > I believe that most of the kernel code prefers the two-line format resluting > > in this instead : > > > > } > > else if (*esc >= 'A' && *esc <= 'Z')

Re: linux-next: Tree for May 26 (staging/rtl8192ee)

2014-05-26 Thread Randy Dunlap
On 05/26/2014 02:38 AM, Stephen Rothwell wrote: > Hi all, > > The powerpc allyesconfig is again broken more than usual. > > Changes since 20140523: > on x86_64: when CONFIG_PCI is not enabled: CC drivers/staging/rtl8192ee/pci.o ../drivers/staging/rtl8192ee/pci.c: In function

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

2014-05-26 Thread Brian Norris
Hi Stephen, On Thu, May 22, 2014 at 03:30:47PM +1000, Stephen Rothwell wrote: > Hi Artem, FYI, I'm managing this tree now, not Artem. > After merging the l2-mtd tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/mtd/lpddr/lpddr2_nvm.c: In function 'ow_enable':

Re: linux-next: Tree for May 26 (syscalls is85/ia32 on x86_64)

2014-05-26 Thread Randy Dunlap
On 05/26/2014 02:38 AM, Stephen Rothwell wrote: > Hi all, > > The powerpc allyesconfig is again broken more than usual. > > Changes since 20140523: > I get lots of build errors (and have for the past week of so) like this: CC arch/x86/kernel/asm-offsets.s In file included from

Re: [PATCH 3/9] procfs: add proc_read_from_buffer() and pid_entry_read() helpers

2014-05-26 Thread Djalal Harouni
On Mon, May 26, 2014 at 10:01:20AM -0700, Andy Lutomirski wrote: > On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: > > This patch is preparation, it adds a couple of helpers to read data and > > to get the cached permission checks during that ->read(). > > > > Currently INF entries share

Re: [PATCHv2 00/14] perf tools: Speedup DWARF unwind

2014-05-26 Thread Jiri Olsa
On Fri, May 23, 2014 at 03:26:27PM +0200, Jean Pihet wrote: > Jiri, > > > On 23 May 2014 10:13, Jiri Olsa wrote: > > ping ;-) > This looks a ping to yourself ;-) :-) > > Here are the results on ARMv7: > - libunwind: between -29% in execution time for light load (i.e. using > not-so-deep

Re: [PATCH] perf, tools: Support spark lines in perf stat v2

2014-05-26 Thread Jiri Olsa
On Mon, May 12, 2014 at 04:01:26PM -0700, Andi Kleen wrote: > From: Andi Kleen > > perf stat -rX prints the stddev for multiple measurements. > Just looking at the stddev for judging the quality of the data > is a bit dangerous The simplest sanity check is to just look > at a simple plot. This

Re: [PATCH] perf, tools: Support spark lines in perf stat v3

2014-05-26 Thread Jiri Olsa
On Wed, Apr 16, 2014 at 11:41:18AM -0700, Andi Kleen wrote: > From: Andi Kleen > > perf stat -rX prints the stddev for multiple measurements. > Just looking at the stddev for judging the quality of the data > is a bit dangerous The simplest sanity check is to just look > at a simple plot. This

Re: [PATCH 1/3] staging: panel: (coding style) Matching braces

2014-05-26 Thread Joe Perches
On Mon, 2014-05-26 at 16:28 +0200, Willy Tarreau wrote: > I believe that most of the kernel code prefers the two-line format resluting > in this instead : > > } > else if (*esc >= 'A' && *esc <= 'Z') { > value |= (*esc - 'A' + 10) << shift; >

[PATCH 00/63] USB: (mostly runtime PM) patches for v3.16-rc

2014-05-26 Thread Johan Hovold
Turns out that the three current implementations of aggressive runtime power management in USB-TTY drivers were quite badly broken (and has so been since first merged in v2.6.27 and v2.6.32). These patches fix this runtime PM mess, but also do some clean up and fix a few other issues. Note that

Re: [PATCH 1/9] procfs: use flags to deny or allow access to /proc//$entry

2014-05-26 Thread Djalal Harouni
On Mon, May 26, 2014 at 09:57:16AM -0700, Andy Lutomirski wrote: > On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: > > Add the deny or allow flags, so we can perform proper permission checks > > and set the result accordingly. These flags are needed in case we have > > to cache the result

Re: [PATCH v2 4/4] ARM: debug: qcom: add UART addresses to Kconfig help

2014-05-26 Thread Matthias Brugger
2014-05-26 15:45 GMT+02:00 Georgi Djakov : > On 23.05.14, 19:39, Matthias Brugger wrote: >> >> 2014-05-23 17:12 GMT+02:00 Georgi Djakov : >>> >>> Add information about the APQ8084 debug UART physical and virtual >>> addresses in the DEBUG_QCOM_UARTDM Kconfig help section. >>> Requires:

[PATCH 7/6 v3] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-26 Thread Manfred Spraul
The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT) always (since 0.99.10) reported a thread as sleeping on all semaphores that are listed in the semop() call. The documented behavior (both in the Linux man page and in the Single Unix Specification) is that a task should be

Re: [PATCH v3 13/13] mmc: mmci: Add Qcom specific pio_read function.

2014-05-26 Thread Srinivas Kandagatla
On 26/05/14 15:34, Ulf Hansson wrote: This is hot path. As I suggested for the readl and writel wrapper functions, I think it would be better to use a function pointer in the struct mmci host, which you set up in the probe phase. That means the variant data don't need to be checked each an

Re: [staging: r8192ee] WARNING: CPU: 0 PID: 1 at net/mac80211/rate.c:43 ieee80211_rate_control_register()

2014-05-26 Thread Larry Finger
On 05/26/2014 09:55 AM, Jet Chen wrote: Jet, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next commit 0629f3b8c33899140b48d5897259eab8ebae78ca Author: Larry Finger AuthorDate: Wed May 21

Re: [PATCH v3 07/13] mmc: mmci: add ddrmode mask to variant data

2014-05-26 Thread Srinivas Kandagatla
On 26/05/14 10:53, Ulf Hansson wrote: On 23 May 2014 14:51, wrote: From: Srinivas Kandagatla This patch adds ddrmode mask to variant structure giving more flexibility to the driver to support more SOCs which have different datactrl register layout. Without this patch datactrl register is

Re: [PATCH v2 3/4] KVM: x86: check CS.DPL against RPL during task switch

2014-05-26 Thread Marcelo Tosatti
On Thu, May 15, 2014 at 06:51:30PM +0200, Paolo Bonzini wrote: > Table 7-1 of the SDM mentions a check that the code segment's > DPL must match the selector's RPL. This was not done by KVM, > fix it. > > Signed-off-by: Paolo Bonzini Exception number is incorrect, however not introduced by this

Re: [PATCH v2 4/4] KVM: x86: get CPL from SS.DPL

2014-05-26 Thread Marcelo Tosatti
On Thu, May 15, 2014 at 06:51:31PM +0200, Paolo Bonzini wrote: > CS.RPL is not equal to the CPL in the few instructions between > setting CR0.PE and reloading CS. And CS.DPL is also not equal > to the CPL for conforming code segments. > > However, SS.DPL *is* always equal to the CPL except for

Re: [PATCH v2 1/4] KVM: x86: use new CS.RPL as CPL during task switch

2014-05-26 Thread Marcelo Tosatti
On Thu, May 15, 2014 at 06:51:28PM +0200, Paolo Bonzini wrote: > During task switch, all of CS.DPL, CS.RPL, SS.DPL must match (in addition > to all the other requirements) and will be the new CPL. So far this > worked by carefully setting the CS selector and flag before doing the > task switch;

Re: [PATCH v3 06/13] mmc: mmci: Qcomm: Add 3 clock cycle delay after register write

2014-05-26 Thread Srinivas Kandagatla
I am not sure I like this approach. For each and every writel (including pio_writes) you will add a few cpu cycles, since you need to check for "mclk_delayed_writes" no matter of variant. How about, adding a new function pointer in the struct mmci_host, for "writel operations" which you

[PATCH 03/15] x86/alternative: Add alternative_input_2

2014-05-26 Thread Fenghua Yu
From: Fenghua Yu Add alternative_input_2 to take two features and respective instructions. If CPU has feature2, newinstr2 is used. Otherwise, if CPU has feature1, newinstr1 is used. Otherwise, oldinstr is used. Signed-off-by: Fenghua Yu --- arch/x86/include/asm/alternative.h | 13

[PATCH 0/15] x86/xsaves: Optimize xstate context switch by xsaves/xrstors

2014-05-26 Thread Fenghua Yu
From: Fenghua Yu With ever growing extended state registers (xstate) on x86 processors, kernel needs to cope with issue of growing memory space occupied by xstate. The xsave area is holding more and more xstate registers, growing from legacy FP and SSE to AVX, AVX2, AVX-512, MPX, and Intel PT.

[PATCH 02/15] x86/xsaves: Add kernel parameter to disable xsaves/xrstors

2014-05-26 Thread Fenghua Yu
From: Fenghua Yu Add kernel parameter noxsaves to disable xsaves/xrstors feature. Add kernel parameter noxsaveopt in doc. Signed-off-by: Fenghua Yu --- Documentation/kernel-parameters.txt | 9 + arch/x86/kernel/cpu/common.c| 8 2 files changed, 17 insertions(+) diff

[PATCH 06/15] x86/xsaves: Define macro for handle xsave/xrstor fault

2014-05-26 Thread Fenghua Yu
From: Fenghua Yu Define macro to handle fault generated by xsave, xsaveopt, xsaves, xrstor, xrstors instructions. Signed-off-by: Fenghua Yu --- arch/x86/include/asm/xsave.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/include/asm/xsave.h b/arch/x86/include/asm/xsave.h

Re: [PATCH 6/9] procfs: add pid_seq_private struct to handle /proc//{stat|stack}

2014-05-26 Thread Andy Lutomirski
On Mon, May 26, 2014 at 6:27 AM, Djalal Harouni wrote: > This patch is preparation to handle sensitive ONE entries: > /proc//stat > /proc//stack > > These files use sequence iterators and we want to keep that logic, and > their internal handler semantics. > > The sequence iterators stock the

[PATCH 05/15] x86/xsaves: Define macros for xsave instructions

2014-05-26 Thread Fenghua Yu
From: Fenghua Yu Define macros for xsave, xsaveopt, xsaves, xrstor, xrstors inline instructions. The instructions will be used for saving and rstoring xstate. Signed-off-by: Fenghua Yu --- arch/x86/include/asm/xsave.h | 6 ++ 1 file changed, 6 insertions(+) diff --git

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