Re: [patch] perf_event_open.2: 3.19 PERF_SAMPLE_REGS_INTR support

2015-02-25 Thread Michael Kerrisk (man-pages)
Hi Stephane (and Jiri), Ping! Cheers, Michael On 02/17/2015 06:33 AM, Michael Kerrisk (man-pages) wrote: > Hi Stephane (and Jiri), > > Would you be willing to review/comment on Vince's patch, please. > > Cheers, > > Michael > > > On 02/12/2015 06:33 AM, Vince Weaver wrote: >> >> This

Re: [patch] perf_event_open.2: Exclude_hv clarification

2015-02-25 Thread Michael Kerrisk (man-pages)
Hello Paul, Ping! Cheers, Michael On 02/17/2015 06:32 AM, Michael Kerrisk (man-pages) wrote: > Hi Paul Mackerass, > > Would you be willing to review/comment on Vince's patch, please. > > Cheers, > > Michael > > On 02/11/2015 08:04 PM, Vince Weaver wrote: >> >> This manpage patch relates

Re: [PATCH 1/2] perf probe: export get_real_path

2015-02-25 Thread Masami Hiramatsu
(2015/02/26 16:12), Naohiro Aota wrote: > Export it to use from util/probe-finder.c Please fold this in to the next patch, since this exported symbol is not used until applying the next one. BTW, since get_real_path is compiled only when HAVE_DWARF_SUPPORT=y, we can also move it into

Re: [patch] perf_event_open.2: Exclude_host/exclude_guest clarification

2015-02-25 Thread Michael Kerrisk (man-pages)
Hello Joerg, Ping! Cheers, Michael On 02/17/2015 06:32 AM, Michael Kerrisk (man-pages) wrote: > Hi Joerg, > > Would you be willing to review/comment on Vince's patch, please. > > Cheers, > > Michael > > On 02/11/2015 08:06 PM, Vince Weaver wrote: >> >> This patch relates to the

Re: [PATCH 0/4] x86: use correct early_[mem,io][re,un]map pairs

2015-02-25 Thread Dave Young
On 02/24/15 at 10:13am, Juergen Gross wrote: > Areas mapped via early_memremap() should be unmapped via > early_memunmap(), while I/O-areas should be mapped via early_ioremap() > and unmapped via early_iounmap(). > > There are multiple spots where an area is mapped via the mem variant > and

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Peter Zijlstra
On Wed, Feb 25, 2015 at 12:50:15PM -0500, Steven Rostedt wrote: > > Well, the problem with it is one of collisions. So the 'easy' solution I > > proposed would be something like: > > > > int ips_next(struct ipi_pull_struct *ips) > > { > > int cpu = ips->src_cpu; > > cpu =

Re: [RFC][PATCH v2] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Peter Zijlstra
On Wed, Feb 25, 2015 at 12:50:15PM -0500, Steven Rostedt wrote: > It can't be used for state? > > If one CPU writes "zero", and the other CPU wants to decide if the > system is in the state to do something, isn't a rmb() fine to use? > > > CPU 1: > > x = 0; > /* Tell other CPUs

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Ray Jui
On 2/25/2015 10:51 PM, Sascha Hauer wrote: > On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: >> Hi Sascha, >> >> On 2/25/2015 9:54 PM, Sascha Hauer wrote: >>> Hi Ray, >>> >>> On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: Sometimes a clock needs to know the rate of its

[PATCH 1/2] perf probe: export get_real_path

2015-02-25 Thread Naohiro Aota
Export it to use from util/probe-finder.c Signed-off-by: Naohiro Aota --- tools/perf/util/probe-event.c | 2 +- tools/perf/util/probe-event.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c index

[PATCH 2/2] perf probe: Find compilation directory path for lazy matching

2015-02-25 Thread Naohiro Aota
If we use lazy matching, it failed to open a souce file if perf command is invoked outside of compilation directory: $ perf probe -a '__schedule;clear_*' Failed to open kernel/sched/core.c: No such file or directory Error: Failed to add events. (-2) OTOH, other commands like "probe -L" can

[PATCH] x86, traps: maps all IDTs to fixmap area.

2015-02-25 Thread Wang Nan
The reason why mapping idt_table to fixmap area should also be applied to debug_idt_table and trace_idt_table. This patch does same thing for all IDTs. Signed-off-by: Wang Nan --- I believe trace_idt_table and debug_idt_table should be symmetrical with idt_table. However, Like my previous patch

[PATCH 4/5] tty/serial: at91: set ops in property init each time

2015-02-25 Thread Leilei Zhao
The property in device tree will be reading each time when tty is opened, so the ops of serial port should be set after that instead of setting once in probe. Otherwise, the ops of serial port is inconsistent with the state of serial work manner. For example, the atmel serial driver can't work

[PATCH 3/5] tty/serial: at91: revise the return type of atmel_init_property

2015-02-25 Thread Leilei Zhao
The function of atmel_init_property is to set the work manner of atmel serial ports according to the property in device trees. If DMA or PDC is not set or something goes wrong in getting property, the work manner will switch to general PIO mode, thus there will not be any failure case in this

[PATCH 2/5] tty/serial: at91: correct buffer size used in DMA

2015-02-25 Thread Leilei Zhao
The buffer size set in DMA is inconsistent with its allocation. So keep them consistent here. The structure atmel_uart_char is used in PIO mode with its meaning. But here in DMA, all of the buffer is treated as general char. Signed-off-by: Leilei Zhao Acked-by: Nicolas Ferre ---

[PATCH 5/5] tty/serial: at91: correct the usage of tasklet

2015-02-25 Thread Leilei Zhao
The tasklet may be scheduled and executed after serial port was shutdown, for example, DMA rx callback will schedule the tasklet while serial port is shutting down, especially serial port is sending and receiving data in a higher baud rate and it's killed by external program. In this case,

[PATCH 1/5] tty/serial: at91: correct check of buf used in DMA

2015-02-25 Thread Leilei Zhao
We only use buf of ring In DMA rx function while using buf of xmit in DMA tx function. So here we need definitively to check the buf of ring which is corresponding to DMA rx function. Signed-off-by: Leilei Zhao Acked-by: Nicolas Ferre --- drivers/tty/serial/atmel_serial.c |2 +- 1 file

[PATCH 0/5] tty/serial: at91: fix bugs when using multiple serials

2015-02-25 Thread Leilei Zhao
The series of patches fix bugs when using multiple serial ports at the same time: - The using rx ring buffer in DMA is inconsistent with its allocation. - The serial port can't send and receive data when it's opened the second time and the later if it switches to PIO when DMA channel is not

[perf/core PATCH v5 2/4] perf buildid-cache: Add --purge FILE to remove all caches of FILE

2015-02-25 Thread Masami Hiramatsu
Add --purge FILE to remove all caches of FILE. Since the current --remove FILE removes a cache which has same build-id of given FILE. Since the command takes a FILE path, it can confuse user who tries to remove cache about FILE path. - # ./perf buildid-cache -v --add ./perf Adding

[perf/core PATCH v5 4/4] perf-buildid-cache: Show usage with incorrect params

2015-02-25 Thread Masami Hiramatsu
Show usage if no action is specified or unexpected parameter is given. In other words, be more user friendly. Signed-off-by: Masami Hiramatsu --- tools/perf/builtin-buildid-cache.c |5 + 1 file changed, 5 insertions(+) diff --git a/tools/perf/builtin-buildid-cache.c

[perf/core PATCH v5 3/4] perf-buildid-cache: Use pr_debug instead of verbose && pr_info

2015-02-25 Thread Masami Hiramatsu
Use pr_debug instead of the combination of verbose and pr_info. "if (verbose) pr_info(...)" is same as "pr_debug(...)", replace it. Suggested-by: Namhyung Kim Signed-off-by: Masami Hiramatsu --- tools/perf/builtin-buildid-cache.c | 20 1 file changed, 8 insertions(+),

[perf/core PATCH v5 1/4] perf buildid-cache: Add new buildid cache if update target is not cached

2015-02-25 Thread Masami Hiramatsu
Add new buildid cache if the update target file is not cached. This can happen when an old binary is replaced by new one after caching the old one. In this case, user sees his operation just failed. But it does not look straight, since user just pass the binary "path", not "build-id". #

[perf/core PATCH v5 0/4] perf-buildid-cache: Enhance --update and add --purge

2015-02-25 Thread Masami Hiramatsu
Hi, Here is the 5th version of of perf buildid-cache update. This updates the 2nd patch and add 2 patches just for cleanup and improve usability a bit. Here are the changes in v5. - [2/4] Remove NULL check before calling strlist__delete() (Thanks to Hemant!) - [3/4] Use pr_debug

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Sascha Hauer
On Wed, Feb 25, 2015 at 10:13:15PM -0800, Ray Jui wrote: > Hi Sascha, > > On 2/25/2015 9:54 PM, Sascha Hauer wrote: > > Hi Ray, > > > > On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: > >> Sometimes a clock needs to know the rate of its parent before itself is > >> registered to the

Re: [PATCH] x86, boot: skip relocs when load address unchanged

2015-02-25 Thread Baoquan He
On 02/26/15 at 07:29am, MegaBrutal wrote: > Thanks for this patch, and good to see it in mainline! > > This actually fixes the problem I reported here: > https://lkml.org/lkml/2014/12/1/15 > > I wish it to be backported into the Ubuntu Utopic kernel asap. > > > This patch works for me. And good

Re: [PATCH] x86, boot: skip relocs when load address unchanged

2015-02-25 Thread MegaBrutal
Thanks for this patch, and good to see it in mainline! This actually fixes the problem I reported here: https://lkml.org/lkml/2014/12/1/15 I wish it to be backported into the Ubuntu Utopic kernel asap. > This patch works for me. And good to see it's being merged. About the > patch log, I would

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete "struct pt_regs"

2015-02-25 Thread Stephen Rothwell
Hi all, On Wed, 25 Feb 2015 21:18:52 -0800 Andrew Morton wrote: > > On Thu, 26 Feb 2015 02:12:57 +0100 Denys Vlasenko > wrote: > > > On Thu, Feb 26, 2015 at 12:34 AM, Sabrina Dubroca > > wrote: > > > 2015-02-25, 23:40:55 +0100, Sabrina Dubroca wrote: > > >> I can run some userspace

[PATCH 1/2] cpumask: Properly calculate cpumask values

2015-02-25 Thread green
From: Oleg Drokin With CONFIG_CPUMASK_OFFSTACK enabled there seems to be some disparity between theoretical maximum of CPUs in the system (NR_CPUS that is huge) and the actual value that is calculated at runtime (nr_cpu_ids). Functions like cpus_weight should only check up to nr_cpu_ids bits in

[PATCH 0/2] incorrect cpumask behavior with CPUMASK_OFFSTACK

2015-02-25 Thread green
From: Oleg Drokin I just got a report today from Tyson Whitehead that Lustre crashes when CPUMASK_OFFSTACK is enabled. A little investigation revealed that this code: cpumask_t mask; ... cpumask_copy(, topology_thread_cpumask(0)); weight =

[PATCH 2/2] cpumask: make whole cpumask operations like copy to work with NR_CPUS bits

2015-02-25 Thread green
From: Oleg Drokin When we are doing things like cpumask_copy, and CONFIG_CPUMASK_OFFSTACK is set, we only copy actual number of bits equal to number of CPUs we have. But underlying allocations got NR_CPUS = 8192, so if the cpumask is allocated on the stack or has other prefilled values there's a

[PATCH] x86, traps: install gates using IST after cpu_init().

2015-02-25 Thread Wang Nan
X86_TRAP_NMI, X86_TRAP_DF and X86_TRAP_MC use their own stack. Those stacks are invalid until cpu_init() installs TSS. This patch moves setting of the 3 gates after cpu_init(). Signed-off-by: Wang Nan --- If I understand correctly, logically speaking the original code is incorrect. However,

Re: [PATCH 1/7] thinkpad_acpi: Remember adaptive kbd presence

2015-02-25 Thread Darren Hart
On Fri, Feb 20, 2015 at 03:44:10PM +0100, Bastien Nocera wrote: > Rather than checking on each suspend and resume whether the laptop > has an adaptive keyboard, check when the driver is initialised. Bastien, am I awaiting another version of this from you to address comments from Henrique?

[PATCH] mm: completely remove dumping per-cpu lists from show_mem()

2015-02-25 Thread Konstantin Khlebnikov
It seems nobody needs this. Signed-off-by: Konstantin Khlebnikov --- include/linux/mm.h |1 - mm/page_alloc.c| 22 ++ 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/include/linux/mm.h b/include/linux/mm.h index 9c21b42..6571dd78 100644 ---

Re: [PATCH v4 11/20] power_supply: Change ownership from driver to core

2015-02-25 Thread Darren Hart
On Thu, Feb 26, 2015 at 01:45:22AM +0100, Sebastian Reichel wrote: > Hi, > > On Mon, Feb 23, 2015 at 12:47:32PM +0100, Krzysztof Kozlowski wrote: > > Change the ownership of power_supply structure from each driver > > implementing the class to the power supply core. > > > > The patch changes

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Ray Jui
Hi Sascha, On 2/25/2015 9:54 PM, Sascha Hauer wrote: > Hi Ray, > > On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: >> Sometimes a clock needs to know the rate of its parent before itself is >> registered to the framework. An example is that a PLL may need to >> initialize itself to a

Re: [PATCH] platform: x86: dell-laptop: Add support for keyboard backlight

2015-02-25 Thread Darren Hart
On Sun, Feb 22, 2015 at 12:04:23PM +0100, Pali Rohár wrote: > On Thursday 19 February 2015 11:58:29 Gabriele Mazzotta wrote: > > This patch adds the support for the configuration of the > > keyboard backlight on supported Dell laptops. > > > > With this patch it is possible to set: > > * keyboard

[PATCH] thermal: fix the casting issue for long type

2015-02-25 Thread Leo Yan
When enable the thermal on arm64 platform, it will report failure when call function *thermal_zone_bind_cooling_device()*. The failure is caused by casting. If dtb specify the minimum cooling state and maximum cooling state as THERMAL_NO_LIMIT, then variables "lower" and "upper" equal to

Re: [PATCH] ARM: vf610: use SMP_ON_UP for Vybrid SoC

2015-02-25 Thread Shawn Guo
On Wed, Jan 21, 2015 at 12:12:45AM +0100, Stefan Agner wrote: > The Vybrid SoC has only one Cortex-A5 core and hence should select > the SMP_ON_UP configuration on a SMP kernel. > > Signed-off-by: Stefan Agner Applied, thanks. > --- > arch/arm/mach-imx/Kconfig | 1 + > 1 file changed, 1

Re: [PATCH v5 1/6] clk: add of_clk_get_parent_rate function

2015-02-25 Thread Sascha Hauer
Hi Ray, On Wed, Feb 04, 2015 at 04:55:00PM -0800, Ray Jui wrote: > Sometimes a clock needs to know the rate of its parent before itself is > registered to the framework. An example is that a PLL may need to > initialize itself to a specific VCO frequency, before registering to the > framework.

Re: [PATCH v2] coresight-stm: adding driver for CoreSight STM component

2015-02-25 Thread Shawn Guo
On Wed, Feb 25, 2015 at 04:32:32PM -0700, Mathieu Poirier wrote: > diff --git a/Documentation/ABI/testing/sysfs-bus-coresight-devices-stm > b/Documentation/ABI/testing/sysfs-bus-coresight-devices-stm > new file mode 100644 > index ..3ddb676831ab > --- /dev/null > +++

[PATCH] xen: avoid NULL pointer dereference in dom0 on large machines

2015-02-25 Thread Juergen Gross
Using the pvops kernel a NULL pointer dereference was detected on a large machine (144 processors) when booting as dom0 in evtchn_fifo_unmask() during assignment of a pirq. The event channel in question was the first to need a new entry in event_array[] in events_fifo.c. Unfortunately

Re: [PATCH v3 00/30] Refine PCI scan interfaces and make generic pci host bridge

2015-02-25 Thread Bjorn Helgaas
On Thu, Feb 26, 2015 at 09:29:17AM +0800, Yijing Wang wrote: > v2->v3: > Rebase this series on v4.0-rc1. Hm, still doesn't apply for me: 11:48:15 ~/linux (pci/enumeration)$ git show --oneline | head -1 c517d838eb7d Linux 4.0-rc1 11:48:36 ~/linux (pci/enumeration)$ stg import -M

[PATCH v2] x86, traps: Enable DEBUG_STACK after cpu_init() for TRAP_DB/BP.

2015-02-25 Thread Wang Nan
Before this patch early_trap_init() installs DEBUG_STACK for X86_TRAP_BP and X86_TRAP_DB. However, DEBUG_STACK doesn't work correctly until cpu_init() <-- trap_init(). This patch passes 0 to set_intr_gate_ist() and set_system_intr_gate_ist() instead of DEBUG_STACK to let it use same stack as

Re: [PATCH 32/35] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-02-25 Thread Preeti U Murthy
On 02/23/2015 11:03 PM, Nicolas Pitre wrote: > On Mon, 23 Feb 2015, Nicolas Pitre wrote: > >> On Mon, 23 Feb 2015, Peter Zijlstra wrote: >> >>> The reported function that fails: bL_switcher_restore_cpus() is called >>> in the error paths of the former and the main path in the latter to make >>>

[LKP] [mm] 8a0516ed8b9: -1.7% netperf.Throughput_Mbps, +2189.6% netperf.time.minor_page_faults, +3987.5% proc-vmstat.numa_pte_updates

2015-02-25 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 8a0516ed8b90c95ffa1363b420caa37418149f21 ("mm: convert p[te|md]_numa users to p[te|md]_protnone_numa") testbox/testcase/testparams:

mmotm 2015-02-25-21-19 uploaded

2015-02-25 Thread akpm
The mm-of-the-moment snapshot 2015-02-25-21-19 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH 2/3 v3] x86: entry_64.S: always allocate complete "struct pt_regs"

2015-02-25 Thread Andrew Morton
On Thu, 26 Feb 2015 02:12:57 +0100 Denys Vlasenko wrote: > On Thu, Feb 26, 2015 at 12:34 AM, Sabrina Dubroca > wrote: > > 2015-02-25, 23:40:55 +0100, Sabrina Dubroca wrote: > >> I can run some userspace programs, but I have no idea what would be > >> helpful. > >> I can also try booting a

RE: 0001-media-vb2-Fill-vb2_buffer-with-bytesused-from-user.patch; kernel version 3.10.69

2015-02-25 Thread Sudip JAIN
Hello Jeremiah, Please find the patch "inline" commit 3390900680e5182998916c8fa231bc79cd84046b Author: Sudip Jain Date: Thu Feb 26 10:40:34 2015 +0530 media: vb2: Fill vb2_buffer with bytesused from user In vb2_qbuf for dmabuf memory type, userside bytesused is not read to

[LKP] [drm/i915] f9b61ff6bce: +178.7% piglit.time.elapsed_time

2015-02-25 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit f9b61ff6bce9a44555324b29e593fdffc9a115bc ("drm/i915: Push vblank enable/disable past encoder->enable/disable") testbox/testcase/testparams: lkp-t410/piglit/performance-igt-069

Calling For Assistance Of USD200,000,000.00

2015-02-25 Thread Mr. Louis Botha
--- For more details View below attachment -- DEAR FRIEND.doc Description: MS-Word document

[LKP] [futex] 76835b0ebf8: -8.1% will-it-scale.per_thread_ops

2015-02-25 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 76835b0ebf8a7fe85beb03c75121419a7dec52f0 ("futex: Ensure get_futex_key_refs() always implies a barrier") testbox/testcase/testparams: lkp-wsx01/will-it-scale/performance-futex4

Re: [PATCH v4 1/4] time: Add needed macros for timekeeping_inject_sleeptime64()

2015-02-25 Thread John Stultz
On Sun, Feb 15, 2015 at 5:09 AM, Xunlei Pang wrote: > From: Xunlei Pang > > timekeeping_inject_sleeptime64() is only used by RTC suspend/resume, > so embrace it in RTC related macros. > > Signed-off-by: Xunlei Pang > --- > kernel/time/timekeeping.c | 4 > 1 file changed, 4 insertions(+) >

Re: [PATCH v4 3/4] time: rtc: Don't bother into rtc_resume() for the nonstop clocksource

2015-02-25 Thread John Stultz
On Sun, Feb 15, 2015 at 5:09 AM, Xunlei Pang wrote: > From: Xunlei Pang > > If a system does not provide a persistent_clock(), the time > will be updated on resume by rtc_resume(). With the addition > of the non-stop clocksources for suspend timing, those systems > set the time on resume in

Re: Trying to use 'perf probe' to debug perf itself

2015-02-25 Thread Masami Hiramatsu
(2015/02/25 22:25), Arnaldo Carvalho de Melo wrote: > Em Wed, Feb 25, 2015 at 11:53:16AM +0900, Masami Hiramatsu escreveu: >> (2015/02/25 3:49), Arnaldo Carvalho de Melo wrote: >>> Available variables at thread__get >>> @ >>> struct thread* thread >>> [root@ssdandy ~]# >

[PATCH] regulator: wm8350: Remove unused variable

2015-02-25 Thread Fabio Estevam
From: Fabio Estevam Commit 8f45acb5f9f34eab ("regulator: wm8350: Pass NULL data with REGULATION_OUT and UNDER_VOLTAGE events") introduced the following build warning: drivers/regulator/wm8350-regulator.c: In function 'pmic_uv_handler': drivers/regulator/wm8350-regulator.c:1154:17: warning:

Re: [PATCH] x86, traps: Enable DEBUG_STACK after cpu_init() for TRAP_DB/BP.

2015-02-25 Thread Masami Hiramatsu
(2015/02/26 12:57), Wang Nan wrote: > Before this patch early_trap_init() installs DEBUG_STACK for X86_TRAP_BP > and X86_TRAP_DB. However, DEBUG_STACK doesn't work correctly until > cpu_init() <-- trap_init(). > > This patch passes 0 to set_intr_gate_ist() and > set_system_intr_gate_ist() instead

Please let me know if you need to print color box, display box and labels

2015-02-25 Thread Jinghao Printing - CHINA
Hi, this is David Wu from Shanghai, China. Please let me know if you need color box, display box, corrugated box, label, hang tag etc. I will send you the website. Best regards, David Wu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Please let me know if you need to print color box, display box and labels

2015-02-25 Thread Jinghao Printing - CHINA
Hi, this is David Wu from Shanghai, China. Please let me know if you need color box, display box, corrugated box, label, hang tag etc. I will send you the website. Best regards, David Wu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH] sched/deadline: don't need to check throttled status when switched to dl

2015-02-25 Thread Wanpeng Li
After commit 40767b0dc768 ("sched/deadline: Fix deadline parameter modification handling"), deadline task throttled status is cleared each time switch from dl, so throttled status always unset when switch back, there is no need to check throttled status, this patch drop the check.

[tip:perf/x86] perf/x86/intel: Enable conflicting event scheduling for CQM

2015-02-25 Thread tip-bot for Matt Fleming
Commit-ID: 59bf7fd45c90a8fde22a7717b5413e4ed9666c32 Gitweb: http://git.kernel.org/tip/59bf7fd45c90a8fde22a7717b5413e4ed9666c32 Author: Matt Fleming AuthorDate: Fri, 23 Jan 2015 18:45:48 + Committer: Ingo Molnar CommitDate: Wed, 25 Feb 2015 13:53:36 +0100 perf/x86/intel: Enable

[tip:perf/x86] perf/x86/intel: Perform rotation on Intel CQM RMIDs

2015-02-25 Thread tip-bot for Matt Fleming
Commit-ID: bff671dba7981195a644a5dc210d65de8ae2d251 Gitweb: http://git.kernel.org/tip/bff671dba7981195a644a5dc210d65de8ae2d251 Author: Matt Fleming AuthorDate: Fri, 23 Jan 2015 18:45:47 + Committer: Ingo Molnar CommitDate: Wed, 25 Feb 2015 13:53:35 +0100 perf/x86/intel: Perform

[tip:perf/x86] perf/x86/intel: Support task events with Intel CQM

2015-02-25 Thread tip-bot for Matt Fleming
Commit-ID: bfe1fcd2688f557a6b6a88f59ea7619228728bd7 Gitweb: http://git.kernel.org/tip/bfe1fcd2688f557a6b6a88f59ea7619228728bd7 Author: Matt Fleming AuthorDate: Fri, 23 Jan 2015 18:45:46 + Committer: Ingo Molnar CommitDate: Wed, 25 Feb 2015 13:53:34 +0100 perf/x86/intel: Support

[tip:perf/x86] perf: Move cgroup init before PMU ->event_init()

2015-02-25 Thread tip-bot for Matt Fleming
Commit-ID: 79dff51e900fd26a073be8b23acfbd8c15edb181 Gitweb: http://git.kernel.org/tip/79dff51e900fd26a073be8b23acfbd8c15edb181 Author: Matt Fleming AuthorDate: Fri, 23 Jan 2015 18:45:42 + Committer: Ingo Molnar CommitDate: Wed, 25 Feb 2015 13:53:30 +0100 perf: Move cgroup init

[tip:perf/x86] x86: Add support for Intel Cache QoS Monitoring ( CQM) detection

2015-02-25 Thread tip-bot for Peter P Waskiewicz Jr
Commit-ID: cbc82b17263877ea5d21e84c58ce03f0292458a1 Gitweb: http://git.kernel.org/tip/cbc82b17263877ea5d21e84c58ce03f0292458a1 Author: Peter P Waskiewicz Jr AuthorDate: Fri, 23 Jan 2015 18:45:43 + Committer: Ingo Molnar CommitDate: Wed, 25 Feb 2015 13:53:31 +0100 x86: Add support

[tip:perf/x86] perf/x86/intel: Implement LRU monitoring ID allocation for CQM

2015-02-25 Thread tip-bot for Matt Fleming
Commit-ID: 35298e554c74b7849875e3676ba8eaf833c7b917 Gitweb: http://git.kernel.org/tip/35298e554c74b7849875e3676ba8eaf833c7b917 Author: Matt Fleming AuthorDate: Fri, 23 Jan 2015 18:45:45 + Committer: Ingo Molnar CommitDate: Wed, 25 Feb 2015 13:53:33 +0100 perf/x86/intel: Implement

[tip:perf/x86] perf/x86/intel: Add Intel Cache QoS Monitoring support

2015-02-25 Thread tip-bot for Matt Fleming
Commit-ID: 4afbb24ce5e723c8a093a6674a3c33062175078a Gitweb: http://git.kernel.org/tip/4afbb24ce5e723c8a093a6674a3c33062175078a Author: Matt Fleming AuthorDate: Fri, 23 Jan 2015 18:45:44 + Committer: Ingo Molnar CommitDate: Wed, 25 Feb 2015 13:53:32 +0100 perf/x86/intel: Add Intel

[tip:perf/x86] perf: Add ->count() function to read per-package counters

2015-02-25 Thread tip-bot for Matt Fleming
Commit-ID: eacd3ecc34472ce3751eedfc94e44c7cc6eb6305 Gitweb: http://git.kernel.org/tip/eacd3ecc34472ce3751eedfc94e44c7cc6eb6305 Author: Matt Fleming AuthorDate: Fri, 23 Jan 2015 18:45:41 + Committer: Ingo Molnar CommitDate: Wed, 25 Feb 2015 13:53:29 +0100 perf: Add ->count()

[tip:perf/x86] perf: Make perf_cgroup_from_task() global

2015-02-25 Thread tip-bot for Matt Fleming
Commit-ID: 39bed6cbb842d8edf5a26b01122b391d36775b5e Gitweb: http://git.kernel.org/tip/39bed6cbb842d8edf5a26b01122b391d36775b5e Author: Matt Fleming AuthorDate: Fri, 23 Jan 2015 18:45:40 + Committer: Ingo Molnar CommitDate: Wed, 25 Feb 2015 13:53:28 +0100 perf: Make

Re: [PATCH] x86, traps: Enable DEBUG_STACK after cpu_init() for TRAP_DB/BP.

2015-02-25 Thread Steven Rostedt
On Thu, 26 Feb 2015 11:57:56 +0800 Wang Nan wrote: > Before this patch early_trap_init() installs DEBUG_STACK for X86_TRAP_BP > and X86_TRAP_DB. However, DEBUG_STACK doesn't work correctly until > cpu_init() <-- trap_init(). > > This patch passes 0 to set_intr_gate_ist() and >

[PATCH] x86, traps: Enable DEBUG_STACK after cpu_init() for TRAP_DB/BP.

2015-02-25 Thread Wang Nan
Before this patch early_trap_init() installs DEBUG_STACK for X86_TRAP_BP and X86_TRAP_DB. However, DEBUG_STACK doesn't work correctly until cpu_init() <-- trap_init(). This patch passes 0 to set_intr_gate_ist() and set_system_intr_gate_ist() instead of DEBUG_STACK to let it use same stack as

[PATCH] phy: exynos-mipi-video: Fixup the test for state->regmap

2015-02-25 Thread Axel Lin
syscon_regmap_lookup_by_phandle() returns ERR_PTR on error. Thus don't use null test against state->regmap. Signed-off-by: Axel Lin --- drivers/phy/phy-exynos-mipi-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/phy-exynos-mipi-video.c

linux-next: Tree for Feb 26

2015-02-25 Thread Stephen Rothwell
Hi all, Changes since 20150225: The drm-intel tree gained a conflict against the drm-intel-fixes tree. The clk tree gained a build failure so I used the version from next-20150225. Non-merge commits (relative to Linus' tree): 1558 1217 files changed, 31765 insertions(+), 30907 deletions

Re: [PATCH] test-hexdump: test the return value of the hex_dump_to_buffer

2015-02-25 Thread long.wanglong
On 2015/2/16 17:47, Andy Shevchenko wrote: > On Sun, 2015-02-15 at 09:50 +, Wang Long wrote: >> As the function hex_dump_to_buffer returns the amount of bytes placed >> in the buffer without terminating NUL. the test-hexdump should test >> the return value of it. > > I don't think it's

[LKP] [mm] 4d942466994: +4.8% will-it-scale.per_process_ops

2015-02-25 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 4d9424669946532be754a6e116618dcb58430cb4 ("mm: convert p[te|md]_mknonnuma and remaining page table manipulations") testbox/testcase/testparams:

Re: [PATCH 4/4] powerpc/mpic: remove unused functions

2015-02-25 Thread Scott Wood
On Wed, 2015-02-25 at 20:39 -0600, Jia Hongtao-B38951 wrote: > Hi Scott, > > I'm really sorry for leave this patch like a zombie. > Now I have plan to revisit this patch. > > From the previous comments the compile error was fixed. > But beyond that I have had no plan to update it. > > Could you

[RFC][PATCH v3] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-02-25 Thread Steven Rostedt
When debugging the latencies on a 40 core box, where we hit 300 to 500 microsecond latencies, I found there was a huge contention on the runqueue locks. Investigating it further, running ftrace, I found that it was due to the pulling of RT tasks. The test that was run was the following:

[PATCH] tick/broadcast-hrtimer : Fix suspicious RCU usage in idle loop

2015-02-25 Thread Preeti U Murthy
The hrtimer mode of broadcast queues hrtimers in the idle entry path so as to wakeup cpus in deep idle states. hrtimer_{start/cancel} functions call into tracing which uses RCU. But it is not legal to call into RCU in cpuidle because it is one of the quiescent states. Hence protect this region

[PATCH 0/2] backlight: pwm: Add backlight-boot-off property

2015-02-25 Thread huang lin
Add backlight-boot-off property, so we can keeping the backlight disabled at boot until it is enabled implicitly by a panel driver, or explicitly by userspace huang lin (2): Documentation: devicetree: add backlight-boot-off property in pwm-backlight backlight: pwm: Add

[PATCH 1/2] Documentation: devicetree: add backlight-boot-off property in pwm-backlight

2015-02-25 Thread huang lin
Add the backlight-boot-ff property, so we can keeping the backlight disabled at boot until it is enabled implicitly by a panel driver, or explicitly by userspace. Signed-off-by: huang lin --- Documentation/devicetree/bindings/video/backlight/pwm-backlight.txt | 1 + 1 file changed, 1

[PATCH] Documentation: add print bitmap description

2015-02-25 Thread Wang Long
as the commit: "lib/vsprintf: implement bitmap printing through '%*pb[l]'" add an easy way to print bitmaps. so printk-formats.txt should reflect it. Signed-off-by: Wang Long --- Documentation/printk-formats.txt | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH] kasan, module, vmalloc: rework shadow allocation for modules

2015-02-25 Thread Rusty Russell
Andrey Ryabinin writes: > On 02/25/2015 09:25 AM, Rusty Russell wrote: >> Andrey Ryabinin writes: >>> On 02/23/2015 11:26 AM, Rusty Russell wrote: Andrey Ryabinin writes: > On 02/20/2015 03:15 AM, Rusty Russell wrote: >> Andrey Ryabinin writes: >>> On 02/19/2015 02:10 AM,

Re: [PATCH 3/3] kernel/module.c: Update debug alignment after symtable generation

2015-02-25 Thread Rusty Russell
Laura Abbott writes: > When CONFIG_DEBUG_SET_MODULE_RONX is enabled, the sizes of > module sections are aligned up so appropriate permissions can > be applied. Adjusting for the symbol table may cause them to > become unaligned. Make sure to re-align the sizes afterward. > > Signed-off-by: Laura

[LKP] [vmstat] ba4877b9ca5: not primary result change, -62.5% will-it-scale.time.involuntary_context_switches

2015-02-25 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit ba4877b9ca51f80b5d30f304a46762f0509e1635 ("vmstat: do not use deferrable delayed work for vmstat_update") testbox/testcase/testparams: wsm/will-it-scale/performance-malloc1

[LKP] [drm/i915] 3f678c96abb: piglit.igt/kms_cursor_crc/cursor-64-offscreen.fail

2015-02-25 Thread Huang Ying
FYI, we noticed the below changes on git://anongit.freedesktop.org/drm-intel for-linux-next commit 3f678c96abb43a977d2ea41aefccdc49e8a3e896 ("drm/i915: Switch planes from transitional helpers to full atomic helpers") testbox/testcase/testparams: lkp-t410/piglit/performance-igt-035

Re: [PATCH v6 1/5] mfd: max77843: Add max77843 MFD driver core driver

2015-02-25 Thread Jaewon Kim
Hi Lee Jones, On 26/02/2015 01:47, Lee Jones wrote: On Tue, 24 Feb 2015, Jaewon Kim wrote: This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones Signed-off-by: Jaewon Kim Signed-off-by:

RE: [PATCH 4/4] powerpc/mpic: remove unused functions

2015-02-25 Thread Hongtao Jia
Hi Scott, I'm really sorry for leave this patch like a zombie. Now I have plan to revisit this patch. From the previous comments the compile error was fixed. But beyond that I have had no plan to update it. Could you please comment on why it's still on hold? Thanks. > -Original

Continually increasing inflight IO statistics with md mirror and blk-mq enabled on 3.19 release

2015-02-25 Thread james owens
Please cc me personally on any replies as I am not a subscriber to the list. I currently have a 2 device md raid 1 on my Linux workstation where the slave devices are usb 3.0 external drives 4 TB each which I use for backup purposes. I also have a 3ware 9750 RAID controller with a HW RAID 1

Re: [PATCH v6 4/5] Input: add haptic drvier on max77843

2015-02-25 Thread Jaewon Kim
Hi Dmitry, On 26/02/2015 10:23, Dmitry Torokhov wrote: Hi Jaewon, On Tue, Feb 24, 2015 at 10:29:07AM +0900, Jaewon Kim wrote: +static void max77843_haptic_play_work(struct work_struct *work) +{ + struct max77843_haptic *haptic = + container_of(work, struct

[PATCH RESEND] sched/deadline: fix pull if dl task who's prio changed is not on queue

2015-02-25 Thread Wanpeng Li
Dl task who is not on queue and it is also the curr task simultaneously can not happen. In addition, pull since the priority of a not on queue dl task doesn't make any sense. This patch fix it by don't pull if dl task who's prio changed is not on queue. Signed-off-by: Wanpeng Li ---

Re: [PATCH v2] spi: qup: Add DMA capabilities

2015-02-25 Thread Mark Brown
On Tue, Feb 24, 2015 at 06:08:54PM +0200, Stanimir Varbanov wrote: > yes, there is a potential race between atomic_inc and dma callback. I > reordered these calls to save few checks, and now it returns to me. > I imagine few options here: > - reorder the dmaengine calls and atomic operations,

Re: [Patch] ASoC: max98357a: Use standard DAI names

2015-02-25 Thread Mark Brown
On Tue, Feb 24, 2015 at 10:39:04PM -0800, Kenneth Westfield wrote: > From: Kenneth Westfield > > Use the standard naming convention for the codec DAI. Applied, thanks. Please pay attention to who you're CCing and try to only include relevant people/lists - mail volumes are often very high and

Re: [PATCH 01/15] power_supply core: support use of devres to register/unregister a power supply.

2015-02-25 Thread Sebastian Reichel
Hi Heil, On Tue, Feb 24, 2015 at 03:33:50PM +1100, NeilBrown wrote: > Using devm_power_supply_register allows the unregister to happen > automatically on error or final put. > > Signed-off-by: NeilBrown Thanks, applied to battery-2.6.git. -- Sebastian signature.asc Description: Digital

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

2015-02-25 Thread Stephen Rothwell
ckdep asserts to find missing hold of prepare_lock"). Commit c440525cb967 ("clk: Remove unneeded NULL checks") removed that label along with the NULL check that a2146f032294 reintroduces (was this a bad rebase?). Please do simple build tests. I have used the clk tree from nex

Re: [PATCH 1/3] e820: Don't let unknown DIMM type come out BUSY

2015-02-25 Thread Dan Williams
On Mon, Feb 23, 2015 at 11:59 PM, Boaz Harrosh wrote: > No, this is a complete HACK, since when do we hard code specific (GLOBAL) > ARCHs strings in common code. Please look at linux/ioport.h see the richness > of options for all kind of buses and systems. The flag system works perfectly > and I

Re: [PATCH] spi: spidev_test: Added functionalities

2015-02-25 Thread Mark Brown
On Wed, Feb 25, 2015 at 08:08:44PM +0100, Adrian Remonda wrote: > This is a patch that add functionalities to the spidev_test tool found > in Documentation/spi/spidev_test.c. > - Cleaned hexadecimal dump > - Added verbose mode to see the transmitting sequence > - Added input buffer from the

[GIT PULL] Btrfs

2015-02-25 Thread Chris Mason
Hi Linus, I'm still testing more fixes, but I wanted to get out the fix for the btrfs raid5/6 memory corruption I mentioned in my merge window pull. Please pull my for-linus: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus Chris Mason (1) commits (+8/-1):

Re: [PATCH v4 02/20] power_supply: Move run-time configuration to separate structure

2015-02-25 Thread Sebastian Reichel
On Wed, Feb 25, 2015 at 05:10:07PM -0800, Dmitry Torokhov wrote: > On Thu, Feb 26, 2015 at 01:34:09AM +0100, Sebastian Reichel wrote: > > Hi, > > > > On Mon, Feb 23, 2015 at 12:47:23PM +0100, Krzysztof Kozlowski wrote: > > > Add new structure 'power_supply_config' for holding run-time > > >

Re: [PATCH v2 0/4] KVM: APIC improvements (with bonus mixed mode)

2015-02-25 Thread Marcelo Tosatti
Radim, On Thu, Feb 12, 2015 at 07:41:30PM +0100, Radim Krčmář wrote: > Each patch has a diff from v1, here is only a prologue on the mythical > mixed xAPIC and x2APIC mode: > > There is one interesting alias in xAPIC and x2APIC ICR destination, the > 0xff00, which is a broadcast in xAPIC and

[PATCH] Input: mma8450 - convert to using managed resources

2015-02-25 Thread Dmitry Torokhov
This simplifies error handling and device removal code. Also let's get rid of setting driver's owner since i2c core does it for us. Signed-off-by: Dmitry Torokhov --- Note that the following removal was intentional as devm_input_allocate_polled_device() does this for us: -

Re: [PATCH v4 1/1] vfs: Respect MS_RDONLY at bind mount creation

2015-02-25 Thread Mateusz Guzik
On Wed, Nov 05, 2014 at 08:44:03PM -0500, Richard Yao wrote: > `mount -o bind,ro ...` suffers from a silent failure where the readonly > flag is ignored. The bind mount will be created rw whenever the target > is rw. Users typically workaround this by remounting readonly, but that > does not work

[PATCH v3 17/30] PCI/powerpc: Rename pcibios_root_bridge_prepare()

2015-02-25 Thread Yijing Wang
Pcibios_root_bridge_prepare() in powerpc is used to set root bus speed. Rename it to pcibios_set_root_bus_speed() for better readability. Signed-off-by: Yijing Wang CC: Benjamin Herrenschmidt CC: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/machdep.h |2 +-

  1   2   3   4   5   6   7   8   9   10   >