[PATCH 2/3 v2] Refactor msi/msix restore code Part2

2013-08-05 Thread Zhenzhong Duan
xen_initdom_restore_msi_irqs trigger a hypercall to restore addr/data/mask in dom0. It's better to do the same in default_restore_msi_irqs for baremetal. Move restore of mask in default_restore_msi_irqs, this could avoid mask restored twice in dom0, and the logic for baremetal keep same. First

Re: [PATCH v2 2/3] sched: factor out code to should_we_balance()

2013-08-05 Thread Joonsoo Kim
On Fri, Aug 02, 2013 at 12:20:40PM +0200, Peter Zijlstra wrote: > On Fri, Aug 02, 2013 at 06:05:51PM +0900, ���ؼ� wrote: > > What is with you people; have you never learned to trim emails? > > Seriously, I'm going to write a script which tests to too many quoted > lines, too many nested quotes

[PATCH V2 1/3] pinctrl: add utility functions for add map/configs

2013-08-05 Thread Laxman Dewangan
Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc. In place of duplicating this in each driver, add the common utility function in common file and use from device specific driver. This will reduce the duplicating of

[PATCH V2 0/3] pinctrl: add pincontrol driver for palmas device.

2013-08-05 Thread Laxman Dewangan
Changes from V1: - Split the additon of common code into pinctrl-utils and pinconf-generic. - Use the pinconf-generic APIs for mapping node. - Use pinconf generic properties to define the Palmas pincontrol nodes. - Nit and cleanups, typo fixes, rephrasing the sentences etc. - Use pin specific APIs

[PATCH V2 3/3] pinctrl: palmas: add pincontrol driver

2013-08-05 Thread Laxman Dewangan
TI Palmas series Power Management IC have multiple pins which can be configured for different functionality. This pins can be configured for different function. Also their properties like pull up/down, open drain enable/disable are configurable. Add support for pincontrol driver Palmas series

[PATCH V2 2/3] pinctrl: pinconf-generic: add generic APIs for mapping pinctrl node

2013-08-05 Thread Laxman Dewangan
Add generic APIs to map the DT node and its sub node in pinconf generic driver. These APIs can be used from driver to parse the DT node who uses the pinconf generic APIs for defining their nodes. Signed-off-by: Laxman Dewangan --- Changes from V1: - Add generic property for pins and functions

Re: [PATCH resend] drop_caches: add some documentation and info message

2013-08-05 Thread Michal Hocko
On Sun 04-08-13 21:13:44, KOSAKI Motohiro wrote: > On Sun, Aug 4, 2013 at 4:07 AM, Michal Hocko wrote: > > On Sat 03-08-13 16:16:58, KOSAKI Motohiro wrote: > >> >>> You missed the "!". I'm proposing that setting the new bit 2 will > >> >>> permit people to prevent the new printk if it is causing

Re: [PATCH 2/3] Refactor msi/msix restore code Part2

2013-08-05 Thread Zhenzhong Duan
On 2013-08-02 20:01, Konrad Rzeszutek Wilk wrote: Konrad, are you OK with this patch now? Yes, I wanted to make sure that the existing behavior under baremetal was not altered. And Duan had confirmed it was not - thought to be on a safe side it would be good to confirm this via testing just

[PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Minchan Kim
I was preparing to promote zram and it was almost done. Before sending patch, I tried to test and eyebrows went up. [1] introduced down_write in zram_slot_free_notify to prevent race between zram_slot_free_notify and zram_bvec_[read|write]. The race could happen if somebody who has right

Re: [PATCH 01/17] perf util: Save pid-cmdline mapping into tracing header

2013-08-05 Thread Namhyung Kim
Hi Arnaldo, On Wed, 31 Jul 2013 11:07:46 -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jul 31, 2013 at 09:51:54AM +0900, Namhyung Kim escreveu: >> 2013-07-30 오후 10:28, Arnaldo Carvalho de Melo 쓴 글: >> >Em Tue, Jul 30, 2013 at 06:18:58PM +0900, Namhyung Kim escreveu: >> >>Current trace info

[PATCH v3 3/3] Correct unfaithful translation on HOWTO in ko_KR

2013-08-05 Thread Lee, Jae-Hong
From: "Lee, Jae-Hong" This patch corrects unfaithful Korean translation in Documentation/ko_KR/HOWTO. Signed-off-by: Lee, Jae-Hong Acked-by: Minchan Kim --- Documentation/ko_KR/HOWTO |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/ko_KR/HOWTO

RE: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-08-05 Thread Kim, Milo
> > > Although, I think the 0 = 1, 1 = 2 ... stuff is really confusing. Is > > > there nothing we can do about that? > > > > OK, enum value of lp3943_pwm_output can be changed as below because > > LP3943_PWM_INVALID is not used anymore. > > > > enum lp3943_pwm_output { > > LP3943_PWM_OUT0, > >

[PATCH v3 2/3] Type fix on stable_api_nonsense.txt

2013-08-05 Thread Lee, Jae-Hong
From: "Lee, Jae-Hong" This patch fixes some minor typos in Documentation/ko_KR/stable_api_nonsense.txt Signed-off-by: Lee, Jae-Hong Acked-by: Minchan Kim --- Documentation/ko_KR/stable_api_nonsense.txt |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v2 2/3] ARM: dts: vf610: Add eDMA node

2013-08-05 Thread Jingchang Lu
Signed-off-by: Jingchang Lu --- changes in v2: using generic dma-channels property instead of fsl,dma-channels. arch/arm/boot/dts/vf610.dtsi | 49 + include/dt-bindings/dma/vf610-edma.h | 103 +++ 2 files changed, 152 insertions(+)

[PATCH v2 3/3] dma: Add Freescale eDMA engine driver support

2013-08-05 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang Signed-off-by: Xiaochun Li Signed-off-by: Jingchang Lu --- changes

Re: [PATCH 9/9] perf kvm stat report: Add option to analyze specific VM

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > Add an option to analyze a specific VM within a data file. This > allows the collection of kvm events for all VMs and then analyze > data for each VM (or set of VMs) individually. Interesting. But how can we know which pid is the guest's pid after

Antw: Re: Possible mmap() write() problem in SLES11 SP2 kernel

2013-08-05 Thread Ulrich Windl
>>> Hugh Dickins schrieb am 04.08.2013 um 00:37 in Nachricht : > On Thu, 1 Aug 2013, Ulrich Windl wrote: >> Hi folks! >> >> I think I'd let you know (maybe I'm wrong, and the kernel is right): >> >> I write a C-program that maps a file into an private writable map. Then I > modify the area a

leds-lp5523: Broken commit db6eaf8388a413a5ee1b4547ce78506b9c6456b0

2013-08-05 Thread Pali Rohár
Hello, git commit "leds-lp5523: use generic firmware interface" db6eaf8388a413a5ee1b4547ce78506b9c6456b0 introduced in kernel 3.10 changed user space API for modifing lp5523 led patterns via /sys. Before this commit there were sysfs attributes engineX_mode, engineX_load and engineX_leds (for

Re: [PATCH 8/9] perf kvm: debug for missing vmexit/vmentry event

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > Expected to have missing events for each vcpu when perf is > started. After that should not have missing events. Sorry, i can not understand what's this info used for. > > Signed-off-by: David Ahern > Cc: Arnaldo Carvalho de Melo > Cc: Ingo Molnar

linux-next: Tree for Aug 5

2013-08-05 Thread Stephen Rothwell
Hi all, Changes since 20130802: The ext4 tree still has its build failure so I used the version from next-20130726. The tty tree gained a conflict against the sh tree. I have created today's linux-next tree at

Re: [PATCH 07/13] tracing/kprobes: Remove duplicate set_print_fmt()

2013-08-05 Thread Masami Hiramatsu
Remove? or Integrate? :) (2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > The set_print_fmt() functions are implemented almost same for > [ku]probes. Move it to a common place and get rid of the duplication. Anyway this looks good for me;) Acked-by: Masami Hiramatsu Thanks!

[PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-08-05 Thread Pali Rohár
Here is new version (v3) of omap secure part patch: Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0 but Nokia RX-51 board needs to call smc #1 for PPA access. Signed-off-by: Ivaylo Dimitrov Signed-off-by: Pali Rohár --- diff --git

Re: [PATCH] omapfb: In omapfb_probe return -EPROBE_DEFER when display driver is not loaded yet

2013-08-05 Thread Pali Rohár
Hello, On Tuesday 23 July 2013 12:01:39 Tomi Valkeinen wrote: > On 13/07/13 21:27, Pavel Machek wrote: > > On Wed 2013-07-10 15:08:59, Pali Rohár wrote: > >> * On RX-51 probing for acx565akm driver is later then for > >> omapfb which cause that omapfb probe fail and framebuffer > >> is not

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-05 Thread Tony Lindgren
* Olof Johansson [130802 22:37]: > On Fri, Aug 2, 2013 at 2:31 PM, Matt Sealey wrote: > > On Fri, Aug 2, 2013 at 3:13 AM, Tony Lindgren wrote: > >> * Mel Gorman [130731 08:28]: > >>> On Wed, Jul 31, 2013 at 12:38:03AM -0700, Tony Lindgren wrote: > >>> > Hi all, > >>> > > >>> > Probably the

Re: [PATCH 7/9] perf kvm: option to print events that exceed a threshold

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > This is useful to spot high latency blips. Yes, it is a good idea. > > Signed-off-by: David Ahern > Cc: Arnaldo Carvalho de Melo > Cc: Ingo Molnar > Cc: Frederic Weisbecker > Cc: Peter Zijlstra > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Xiao

Re: [PATCH] clk: tegra30: Don't wait for PLL_U lock bit

2013-08-05 Thread Prashant Gaikwad
On Thursday 01 August 2013 02:34 AM, Stephen Warren wrote: On 07/31/2013 11:42 AM, Tuomas Tynkkynen wrote: The lock bit on PLL_U does not seem to be working correctly and sometimes never gets set when waiting for the PLL to come up. Remove the TEGRA_PLL_USE_LOCK flag to use a constant delay.

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-05 Thread Tony Lindgren
* Mike Turquette [130802 13:04]: > Quoting Tony Lindgren (2013-08-02 00:53:53) > > People are unnecessarily defining registers in kernel for similar devices > > over and over again for each new SoC at the arch level and now more and > > more at the driver level. > > > > One example of that are

Re: [GIT PULL] extcon next for 3.12

2013-08-05 Thread Greg KH
On Mon, Aug 05, 2013 at 09:49:36AM +0900, Chanwoo Choi wrote: > Hi Greg, > > This is extcon-next pull request for 3.12. I add detailed description > of this pull request on below. Please pull extcon with following updates. > > Best Regards, > Chanwoo Choi > > The following changes since commit

Re: [PATCH 13/13] tracing/probes: Fix basic print type functions

2013-08-05 Thread Joe Perches
On Mon, 2013-08-05 at 15:22 +0900, Masami Hiramatsu wrote: > (2013/07/31 18:03), Namhyung Kim wrote: > > From: Namhyung Kim > > > > The print format of s32 type was "ld" and it's casted to "long". So > > it turned out to print 4294967295 for "-1" on 64-bit systems. Not > > sure whether it

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-05 Thread Tony Lindgren
* Russell King - ARM Linux [130802 06:31]: > On Fri, Aug 02, 2013 at 05:41:31AM -0700, Tony Lindgren wrote: > > Oh and thinking about it a bit more, this issue is mostly with the > > device drivers implementing frameworks, not the device drivers > > using the frameworks. Things like clocks,

[PATCH] dma-buf: Expose buffer size to userspace

2013-08-05 Thread Christopher James Halse Rogers
Each dma-buf has an associated size and it's reasonable for userspace to want to know what it is. Since userspace already has an fd, expose the size using the size = lseek(fd, SEEK_END, 0); lseek(fd, SEEK_CUR, 0); idiom. Signed-off-by: Christopher James Halse Rogers --- I've run into a point

Re: [PATCH v2 RESEND 13/18] x86, numa, mem_hotplug: Skip all the regions the kernel resides in.

2013-08-05 Thread Tang Chen
Hi tj, I have resent the v2 patch-set. Would you please give some more comments about the memblock and x86 booting code modification ? And I'm also discussing with the ACPICA guys about the implementation on ACPI side. I hope we can catch up with 3.12 this time. Thanks. On 08/02/2013 05:14

Re: [PATCH 13/13] tracing/probes: Fix basic print type functions

2013-08-05 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > The print format of s32 type was "ld" and it's casted to "long". So > it turned out to print 4294967295 for "-1" on 64-bit systems. Not > sure whether it worked well on 32-bit systems. > > Anyway, it'd be better if we have exact

Re: [Ksummit-2013-discuss] [ARM ATTEND] arch/arm SoC organization

2013-08-05 Thread Tony Lindgren
* Christian Daudt [130802 16:13]: > On Fri, Aug 2, 2013 at 1:33 AM, Tony Lindgren wrote: > > * Jason Cooper [130731 07:25]: > >> So, I'd like to propose we discuss some lessons learned and maybe arrive > >> at some best practices. eg, should we just go with mach-$COMPANY/? How > >> best to

Re: [PATCH 6/9] perf kvm: add min and max stats to display

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > Signed-off-by: David Ahern > Cc: Arnaldo Carvalho de Melo > Cc: Ingo Molnar > Cc: Frederic Weisbecker > Cc: Peter Zijlstra > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Xiao Guangrong > Cc: Runzhen Wang > --- > tools/perf/builtin-kvm.c | 21

[PATCH] regulator: s2mps11: Fix setting ramp_delay

2013-08-05 Thread Axel Lin
Current code has wrong mask and val arguments for updating ramp_delay. Fix it. Also ensure the return value of get_ramp_delay() won't greater than 3 because the mask field for ramp_val only takes 2 bits. Signed-off-by: Axel Lin --- drivers/regulator/s2mps11.c | 8 ++-- 1 file changed, 6

Re: [PATCH] KVM: MMU: fix check the reserved bits on the gpte of L2

2013-08-05 Thread Gleb Natapov
On Mon, Aug 05, 2013 at 12:59:19PM +0800, Xiao Guangrong wrote: > Current code always uses arch.mmu to check the reserved bits on guest gpte > which is valid only for L1 guest, we should use arch.nested_mmu instead when > we translate gva to gpa for the L2 guest > > Fix it by using @mmu instead

Re: [PATCH 06/13] tracing/kprobes: Move common functions to trace_probe.c

2013-08-05 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > The __get_data_size() and store_trace_args() will be used by uprobes > too. Move them to a common location. Hmm, could you move this into trace_probe.h? Since this will be used in fast path, I'd like to keep it as inlined. > >

Re: [PATCH 2/9] perf stats: add max and min stats

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: > Need an initialization function to set min to -1 to > differentiate from an actual min of 0. Reviewed-by: Xiao Guangrong -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 09/13] tracing/uprobes: Fix a comment for uprobe registration syntax

2013-08-05 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > The uprobe syntax requires an offset after a file path not a symbol. Is this a bugfix? If so, IMHO, it should be applied earlier in the series. Reviewed-by: Masami Hiramatsu > > Cc: Masami Hiramatsu > Cc: Srikar Dronamraju >

Re: [PATCH 04/13] tracing/kprobes: Factor out struct trace_probe

2013-08-05 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: > From: Namhyung Kim > > There are functions that can be shared to both of kprobes and uprobes. > Separate common data structure to struct trace_probe and use it from > the shared functions. Thanks, basically I'm good at this change. Could you also rename

Re: [PATCH 04/13] tracing/kprobes: Factor out struct trace_probe

2013-08-05 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com There are functions that can be shared to both of kprobes and uprobes. Separate common data structure to struct trace_probe and use it from the shared functions. Thanks, basically I'm good at this change. Could

Re: [PATCH 09/13] tracing/uprobes: Fix a comment for uprobe registration syntax

2013-08-05 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The uprobe syntax requires an offset after a file path not a symbol. Is this a bugfix? If so, IMHO, it should be applied earlier in the series. Reviewed-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com

Re: [PATCH 2/9] perf stats: add max and min stats

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: Need an initialization function to set min to -1 to differentiate from an actual min of 0. Reviewed-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 06/13] tracing/kprobes: Move common functions to trace_probe.c

2013-08-05 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The __get_data_size() and store_trace_args() will be used by uprobes too. Move them to a common location. Hmm, could you move this into trace_probe.h? Since this will be used in fast path, I'd like to keep it as

Re: [PATCH] KVM: MMU: fix check the reserved bits on the gpte of L2

2013-08-05 Thread Gleb Natapov
On Mon, Aug 05, 2013 at 12:59:19PM +0800, Xiao Guangrong wrote: Current code always uses arch.mmu to check the reserved bits on guest gpte which is valid only for L1 guest, we should use arch.nested_mmu instead when we translate gva to gpa for the L2 guest Fix it by using @mmu instead since

Re: [PATCH 6/9] perf kvm: add min and max stats to display

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: Signed-off-by: David Ahern dsah...@gmail.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Ingo Molnar mi...@kernel.org Cc: Frederic Weisbecker fweis...@gmail.com Cc: Peter Zijlstra pet...@infradead.org Cc: Jiri Olsa jo...@redhat.com Cc:

[PATCH] regulator: s2mps11: Fix setting ramp_delay

2013-08-05 Thread Axel Lin
Current code has wrong mask and val arguments for updating ramp_delay. Fix it. Also ensure the return value of get_ramp_delay() won't greater than 3 because the mask field for ramp_val only takes 2 bits. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/s2mps11.c | 8 ++-- 1

Re: [Ksummit-2013-discuss] [ARM ATTEND] arch/arm SoC organization

2013-08-05 Thread Tony Lindgren
* Christian Daudt cs...@daudt.org [130802 16:13]: On Fri, Aug 2, 2013 at 1:33 AM, Tony Lindgren t...@atomide.com wrote: * Jason Cooper ja...@lakedaemon.net [130731 07:25]: So, I'd like to propose we discuss some lessons learned and maybe arrive at some best practices. eg, should we just go

Re: [PATCH 13/13] tracing/probes: Fix basic print type functions

2013-08-05 Thread Masami Hiramatsu
(2013/07/31 18:03), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The print format of s32 type was ld and it's casted to long. So it turned out to print 4294967295 for -1 on 64-bit systems. Not sure whether it worked well on 32-bit systems. Anyway, it'd be better if we

Re: [PATCH v2 RESEND 13/18] x86, numa, mem_hotplug: Skip all the regions the kernel resides in.

2013-08-05 Thread Tang Chen
Hi tj, I have resent the v2 patch-set. Would you please give some more comments about the memblock and x86 booting code modification ? And I'm also discussing with the ACPICA guys about the implementation on ACPI side. I hope we can catch up with 3.12 this time. Thanks. On 08/02/2013 05:14

[PATCH] dma-buf: Expose buffer size to userspace

2013-08-05 Thread Christopher James Halse Rogers
Each dma-buf has an associated size and it's reasonable for userspace to want to know what it is. Since userspace already has an fd, expose the size using the size = lseek(fd, SEEK_END, 0); lseek(fd, SEEK_CUR, 0); idiom. Signed-off-by: Christopher James Halse Rogers

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-05 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [130802 06:31]: On Fri, Aug 02, 2013 at 05:41:31AM -0700, Tony Lindgren wrote: Oh and thinking about it a bit more, this issue is mostly with the device drivers implementing frameworks, not the device drivers using the frameworks. Things

Re: [PATCH 13/13] tracing/probes: Fix basic print type functions

2013-08-05 Thread Joe Perches
On Mon, 2013-08-05 at 15:22 +0900, Masami Hiramatsu wrote: (2013/07/31 18:03), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The print format of s32 type was ld and it's casted to long. So it turned out to print 4294967295 for -1 on 64-bit systems. Not sure whether it

Re: [GIT PULL] extcon next for 3.12

2013-08-05 Thread Greg KH
On Mon, Aug 05, 2013 at 09:49:36AM +0900, Chanwoo Choi wrote: Hi Greg, This is extcon-next pull request for 3.12. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-05 Thread Tony Lindgren
* Mike Turquette mturque...@linaro.org [130802 13:04]: Quoting Tony Lindgren (2013-08-02 00:53:53) People are unnecessarily defining registers in kernel for similar devices over and over again for each new SoC at the arch level and now more and more at the driver level. One example of

Re: [PATCH] clk: tegra30: Don't wait for PLL_U lock bit

2013-08-05 Thread Prashant Gaikwad
On Thursday 01 August 2013 02:34 AM, Stephen Warren wrote: On 07/31/2013 11:42 AM, Tuomas Tynkkynen wrote: The lock bit on PLL_U does not seem to be working correctly and sometimes never gets set when waiting for the PLL to come up. Remove the TEGRA_PLL_USE_LOCK flag to use a constant delay.

Re: [PATCH 7/9] perf kvm: option to print events that exceed a threshold

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: This is useful to spot high latency blips. Yes, it is a good idea. Signed-off-by: David Ahern dsah...@gmail.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Ingo Molnar mi...@kernel.org Cc: Frederic Weisbecker fweis...@gmail.com Cc:

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-05 Thread Tony Lindgren
* Olof Johansson o...@lixom.net [130802 22:37]: On Fri, Aug 2, 2013 at 2:31 PM, Matt Sealey n...@bakuhatsu.net wrote: On Fri, Aug 2, 2013 at 3:13 AM, Tony Lindgren t...@atomide.com wrote: * Mel Gorman mgor...@suse.de [130731 08:28]: On Wed, Jul 31, 2013 at 12:38:03AM -0700, Tony Lindgren

Re: [PATCH] omapfb: In omapfb_probe return -EPROBE_DEFER when display driver is not loaded yet

2013-08-05 Thread Pali Rohár
Hello, On Tuesday 23 July 2013 12:01:39 Tomi Valkeinen wrote: On 13/07/13 21:27, Pavel Machek wrote: On Wed 2013-07-10 15:08:59, Pali Rohár wrote: * On RX-51 probing for acx565akm driver is later then for omapfb which cause that omapfb probe fail and framebuffer is not working *

Re: [PATCH 07/13] tracing/kprobes: Remove duplicate set_print_fmt()

2013-08-05 Thread Masami Hiramatsu
Remove? or Integrate? :) (2013/07/31 18:03), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The set_print_fmt() functions are implemented almost same for [ku]probes. Move it to a common place and get rid of the duplication. Anyway this looks good for me;) Acked-by: Masami

[PATCH v3 1/2] ARM: OMAP: Add secure function omap_smc3() which calling instruction smc #1

2013-08-05 Thread Pali Rohár
Here is new version (v3) of omap secure part patch: Other secure functions omap_smc1() and omap_smc2() calling instruction smc #0 but Nokia RX-51 board needs to call smc #1 for PPA access. Signed-off-by: Ivaylo Dimitrov freemangor...@abv.bg Signed-off-by: Pali Rohár pali.ro...@gmail.com --- diff

linux-next: Tree for Aug 5

2013-08-05 Thread Stephen Rothwell
Hi all, Changes since 20130802: The ext4 tree still has its build failure so I used the version from next-20130726. The tty tree gained a conflict against the sh tree. I have created today's linux-next tree at

Re: [PATCH 8/9] perf kvm: debug for missing vmexit/vmentry event

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: Expected to have missing events for each vcpu when perf is started. After that should not have missing events. Sorry, i can not understand what's this info used for. Signed-off-by: David Ahern dsah...@gmail.com Cc: Arnaldo Carvalho de Melo

leds-lp5523: Broken commit db6eaf8388a413a5ee1b4547ce78506b9c6456b0

2013-08-05 Thread Pali Rohár
Hello, git commit leds-lp5523: use generic firmware interface db6eaf8388a413a5ee1b4547ce78506b9c6456b0 introduced in kernel 3.10 changed user space API for modifing lp5523 led patterns via /sys. Before this commit there were sysfs attributes engineX_mode, engineX_load and engineX_leds (for

Antw: Re: Possible mmap() write() problem in SLES11 SP2 kernel

2013-08-05 Thread Ulrich Windl
Hugh Dickins hu...@google.com schrieb am 04.08.2013 um 00:37 in Nachricht alpine.LNX.2.00.1308031516010.11134@eggly.anvils: On Thu, 1 Aug 2013, Ulrich Windl wrote: Hi folks! I think I'd let you know (maybe I'm wrong, and the kernel is right): I write a C-program that maps a file into an

Re: [PATCH 9/9] perf kvm stat report: Add option to analyze specific VM

2013-08-05 Thread Xiao Guangrong
On 08/03/2013 04:05 AM, David Ahern wrote: Add an option to analyze a specific VM within a data file. This allows the collection of kvm events for all VMs and then analyze data for each VM (or set of VMs) individually. Interesting. But how can we know which pid is the guest's pid after

[PATCH v2 3/3] dma: Add Freescale eDMA engine driver support

2013-08-05 Thread Jingchang Lu
Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Xiaochun Li b41...@freescale.com

[PATCH v2 2/3] ARM: dts: vf610: Add eDMA node

2013-08-05 Thread Jingchang Lu
Signed-off-by: Jingchang Lu b35...@freescale.com --- changes in v2: using generic dma-channels property instead of fsl,dma-channels. arch/arm/boot/dts/vf610.dtsi | 49 + include/dt-bindings/dma/vf610-edma.h | 103 +++ 2 files changed,

[PATCH v3 2/3] Type fix on stable_api_nonsense.txt

2013-08-05 Thread Lee, Jae-Hong
From: Lee, Jae-Hong pyra...@gmail.com This patch fixes some minor typos in Documentation/ko_KR/stable_api_nonsense.txt Signed-off-by: Lee, Jae-Hong pyra...@gmail.com Acked-by: Minchan Kim minc...@kernel.org --- Documentation/ko_KR/stable_api_nonsense.txt |6 +++--- 1 file changed, 3

RE: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-08-05 Thread Kim, Milo
Although, I think the 0 = 1, 1 = 2 ... stuff is really confusing. Is there nothing we can do about that? OK, enum value of lp3943_pwm_output can be changed as below because LP3943_PWM_INVALID is not used anymore. enum lp3943_pwm_output { LP3943_PWM_OUT0,

[PATCH v3 3/3] Correct unfaithful translation on HOWTO in ko_KR

2013-08-05 Thread Lee, Jae-Hong
From: Lee, Jae-Hong pyra...@gmail.com This patch corrects unfaithful Korean translation in Documentation/ko_KR/HOWTO. Signed-off-by: Lee, Jae-Hong pyra...@gmail.com Acked-by: Minchan Kim minc...@kernel.org --- Documentation/ko_KR/HOWTO |4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH 01/17] perf util: Save pid-cmdline mapping into tracing header

2013-08-05 Thread Namhyung Kim
Hi Arnaldo, On Wed, 31 Jul 2013 11:07:46 -0300, Arnaldo Carvalho de Melo wrote: Em Wed, Jul 31, 2013 at 09:51:54AM +0900, Namhyung Kim escreveu: 2013-07-30 오후 10:28, Arnaldo Carvalho de Melo 쓴 글: Em Tue, Jul 30, 2013 at 06:18:58PM +0900, Namhyung Kim escreveu: Current trace info data lacks

[PATCH] zram: bug fix: delay lock holding in zram_slot_free_noity

2013-08-05 Thread Minchan Kim
I was preparing to promote zram and it was almost done. Before sending patch, I tried to test and eyebrows went up. [1] introduced down_write in zram_slot_free_notify to prevent race between zram_slot_free_notify and zram_bvec_[read|write]. The race could happen if somebody who has right

Re: [PATCH 2/3] Refactor msi/msix restore code Part2

2013-08-05 Thread Zhenzhong Duan
On 2013-08-02 20:01, Konrad Rzeszutek Wilk wrote: Konrad, are you OK with this patch now? Yes, I wanted to make sure that the existing behavior under baremetal was not altered. And Duan had confirmed it was not - thought to be on a safe side it would be good to confirm this via testing just

Re: [PATCH resend] drop_caches: add some documentation and info message

2013-08-05 Thread Michal Hocko
On Sun 04-08-13 21:13:44, KOSAKI Motohiro wrote: On Sun, Aug 4, 2013 at 4:07 AM, Michal Hocko mho...@suse.cz wrote: On Sat 03-08-13 16:16:58, KOSAKI Motohiro wrote: You missed the !. I'm proposing that setting the new bit 2 will permit people to prevent the new printk if it is causing

[PATCH V2 0/3] pinctrl: add pincontrol driver for palmas device.

2013-08-05 Thread Laxman Dewangan
Changes from V1: - Split the additon of common code into pinctrl-utils and pinconf-generic. - Use the pinconf-generic APIs for mapping node. - Use pinconf generic properties to define the Palmas pincontrol nodes. - Nit and cleanups, typo fixes, rephrasing the sentences etc. - Use pin specific APIs

[PATCH V2 3/3] pinctrl: palmas: add pincontrol driver

2013-08-05 Thread Laxman Dewangan
TI Palmas series Power Management IC have multiple pins which can be configured for different functionality. This pins can be configured for different function. Also their properties like pull up/down, open drain enable/disable are configurable. Add support for pincontrol driver Palmas series

[PATCH V2 2/3] pinctrl: pinconf-generic: add generic APIs for mapping pinctrl node

2013-08-05 Thread Laxman Dewangan
Add generic APIs to map the DT node and its sub node in pinconf generic driver. These APIs can be used from driver to parse the DT node who uses the pinconf generic APIs for defining their nodes. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- Changes from V1: - Add generic property for

[PATCH V2 1/3] pinctrl: add utility functions for add map/configs

2013-08-05 Thread Laxman Dewangan
Some of pincontrol driver needs the utility function to create map list. The utility function needed for adding mux, configs etc. In place of duplicating this in each driver, add the common utility function in common file and use from device specific driver. This will reduce the duplicating of

Re: [PATCH v2 2/3] sched: factor out code to should_we_balance()

2013-08-05 Thread Joonsoo Kim
On Fri, Aug 02, 2013 at 12:20:40PM +0200, Peter Zijlstra wrote: On Fri, Aug 02, 2013 at 06:05:51PM +0900, ���ؼ� wrote: What is with you people; have you never learned to trim emails? Seriously, I'm going to write a script which tests to too many quoted lines, too many nested quotes and

Re: [PATCH v2 2/3] sched: factor out code to should_we_balance()

2013-08-05 Thread Joonsoo Kim
On Mon, Aug 05, 2013 at 09:52:28AM +0530, Preeti U Murthy wrote: On 08/02/2013 04:02 PM, Peter Zijlstra wrote: On Fri, Aug 02, 2013 at 02:56:14PM +0530, Preeti U Murthy wrote: You need to iterate over all the groups of the sched domain env-sd and not just the first group of env-sd like you

[PATCH 2/3 v2] Refactor msi/msix restore code Part2

2013-08-05 Thread Zhenzhong Duan
xen_initdom_restore_msi_irqs trigger a hypercall to restore addr/data/mask in dom0. It's better to do the same in default_restore_msi_irqs for baremetal. Move restore of mask in default_restore_msi_irqs, this could avoid mask restored twice in dom0, and the logic for baremetal keep same. First

Re: [PATCH] drm/i915: add fast boot support for Haswell

2013-08-05 Thread Daniel Vetter
On Thu, Aug 01, 2013 at 02:12:22PM -0700, Furquan Shaikh wrote: Enables getting correct mode clock when reading pipe config Signed-off-by: Furquan Shaikh furq...@google.com --- drivers/gpu/drm/i915/intel_ddi.c | 8 drivers/gpu/drm/i915/intel_display.c | 9 - 2 files

RE: leds-lp5523: Broken commit db6eaf8388a413a5ee1b4547ce78506b9c6456b0

2013-08-05 Thread Kim, Milo
Hello, git commit leds-lp5523: use generic firmware interface db6eaf8388a413a5ee1b4547ce78506b9c6456b0 introduced in kernel 3.10 changed user space API for modifing lp5523 led patterns via /sys. Before this commit there were sysfs attributes engineX_mode, engineX_load and engineX_leds

Re: Re: [PATCH 13/13] tracing/probes: Fix basic print type functions

2013-08-05 Thread Masami Hiramatsu
(2013/08/05 15:31), Joe Perches wrote: On Mon, 2013-08-05 at 15:22 +0900, Masami Hiramatsu wrote: (2013/07/31 18:03), Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The print format of s32 type was ld and it's casted to long. So it turned out to print 4294967295 for -1 on

Re: leds-lp5523: Broken commit db6eaf8388a413a5ee1b4547ce78506b9c6456b0

2013-08-05 Thread Pali Rohár
On Monday 05 August 2013 09:26:46 Kim, Milo wrote: Hello, git commit leds-lp5523: use generic firmware interface db6eaf8388a413a5ee1b4547ce78506b9c6456b0 introduced in kernel 3.10 changed user space API for modifing lp5523 led patterns via /sys. Before this commit there were

Re: [PATCH v2 3/3] sched: clean-up struct sd_lb_stat

2013-08-05 Thread Joonsoo Kim
+ if (busiest-group_imb) { + busiest-sum_weighted_load = + min(busiest-sum_weighted_load, sds-sd_avg_load); Right here we get confused as to why the total load is being compared against load per task (although you are changing it to load per task above).

Re: i915 backlight

2013-08-05 Thread Daniel Vetter
On Fri, Aug 02, 2013 at 09:16:03AM +0800, Aaron Lu wrote: Hi Jani Daniel, It turned out there is an integer overflow problem, and the below patch fixed this problem on Acer Aspire 4732Z and thinkpad R61i. From: Aaron Lu aaron...@intel.com Subject: [PATCH] drm/i915: avoid brightness

Re: [PATCH 17/18] mm, hugetlb: retry if we fail to allocate a hugepage with use_reserve

2013-08-05 Thread Joonsoo Kim
Any mapping that doesn't use the reserved pool, not just MAP_NORESERVE. For example, if a process makes a MAP_PRIVATE mapping, then fork()s then the mapping is instantiated in the child, that will not draw from the reserved pool. Should we ensure them to allocate the last hugepage? They

Re: [PATCH 2/4] mm, migrate: allocation new page lazyily in unmap_and_move()

2013-08-05 Thread Joonsoo Kim
get_new_page() sets up result to communicate error codes from the following checks. While the existing ones (page freed and thp split failed) don't change rc, somebody else might add a condition whose error code should be propagated back into *result but miss it. Please leave

Re: [3.10rc6] /proc/dri/0/vma broken on nouveau.

2013-08-05 Thread Daniel Vetter
On Mon, Jul 29, 2013 at 08:53:35PM -0400, Dave Jones wrote: On Mon, Jun 17, 2013 at 09:49:27PM -0400, David Airlie wrote: Reading /proc/dri/0/vma causes bad things to happen on a box with nouveau loaded. (Note, no X running on that box) Trace below shows trinity, but I

Re: [PATCH V2 3/3] pinctrl: palmas: add pincontrol driver

2013-08-05 Thread Lee Jones
On Mon, 05 Aug 2013, Laxman Dewangan wrote: TI Palmas series Power Management IC have multiple pins which can be configured for different functionality. This pins can be configured for different function. Also their properties like pull up/down, open drain enable/disable are configurable.

Re: [PATCHSET 00/17] perf tools: Introduce new 'ftrace' command (v4)

2013-08-05 Thread Namhyung Kim
Hi Ingo and Jiri, On Fri, 2 Aug 2013 11:16:59 +0200, Ingo Molnar wrote: * Jiri Olsa jo...@redhat.com wrote: On Tue, Jul 30, 2013 at 06:18:57PM +0900, Namhyung Kim wrote: This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal

Re: [PATCH v2 1/4] mfd: add LP3943 MFD driver

2013-08-05 Thread Lee Jones
Although, I think the 0 = 1, 1 = 2 ... stuff is really confusing. Is there nothing we can do about that? OK, enum value of lp3943_pwm_output can be changed as below because LP3943_PWM_INVALID is not used anymore. enum lp3943_pwm_output { LP3943_PWM_OUT0,

Re: [PATCH] perf tools: Renaming 'time' variable in perf_time_to_tsc due to name shadowing error

2013-08-05 Thread Jiri Olsa
On Sat, Aug 03, 2013 at 10:23:05PM +0300, Adrian Hunter wrote: On 2/08/2013 4:33 p.m., Jiri Olsa wrote: The perf compilation fails with following error: ... CC arch/x86/util/tsc.o arch/x86/util/tsc.c: In function ‘perf_time_to_tsc’: arch/x86/util/tsc.c:13:6: error:

Re: [PATCH 2/4] ARM: dts: dra7: Add USB related nodes

2013-08-05 Thread Roger Quadros
On 08/02/2013 06:02 PM, George Cherian wrote: On 8/1/2013 8:28 PM, Roger Quadros wrote: Add nodes for the Super Speed USB controllers, omap-control-usb, USB2 PHY and USB3 PHY devices. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 136

Re: [PATCH v2 3/3] dma: Add Freescale eDMA engine driver support

2013-08-05 Thread Lothar Waßmann
Hi, Jingchang Lu writes: Add Freescale enhanced direct memory(eDMA) controller support. The eDMA controller deploys DMAMUXs routing DMA request sources(slot) to eDMA channels. This module can be found on Vybrid and LS-1 SoCs. [...] +static struct fsl_edma_desc *fsl_edma_alloc_desc(struct

Re: [PATCH 3/4] dts: dra7-evm: add USB support

2013-08-05 Thread Roger Quadros
On 08/02/2013 06:04 PM, George Cherian wrote: On 8/1/2013 8:28 PM, Roger Quadros wrote: Add USB drv_vbus pinctrl information and USB mode for the USB controller. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 22 ++ 1 files changed,

Re: [PATCH] mutex: fix deadlock injection

2013-08-05 Thread Daniel Vetter
On Tue, Jul 30, 2013 at 10:13:41AM +0200, Maarten Lankhorst wrote: The check needs to be for 1, because ctx-acquired is already incremented. This will prevent ww_mutex_lock_slow from returning -EDEADLK and not locking the mutex. It caused a lot of false gpu lockups on radeon with

<    3   4   5   6   7   8   9   10   11   12   >