Re: [PATCH] tools/perf/util: Document and clean up readn() a bit

2013-11-27 Thread Adrian Hunter
On 26/11/13 19:53, Ingo Molnar wrote: * Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Fri, Nov 22, 2013 at 03:24:26PM +0100, Jiri Olsa escreveu: } + +ssize_t perf_data_file__write(struct perf_data_file *file, + void *buf, size_t size) +{ +

Re: [PATCH] ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif

2013-11-27 Thread Sekhar Nori
+ MTD maintainers On Tuesday 26 November 2013 01:30 AM, Ivan Khoronzhuk wrote: The problem that the set timings code contains the call of Davinci platform function davinci_aemif_setup_timing() which is not accessible if kernel is built for another platform like Keystone. The Keysone

Re: [PATCH] phy: kconfig: add depends on USB_SUPPORT to OMAP_USB2 and TWL4030_USB

2013-11-27 Thread Kishon Vijay Abraham I
Hi, On Tuesday 26 November 2013 09:24 PM, Felipe Balbi wrote: On Tue, Nov 26, 2013 at 03:31:55PM +0530, Kishon Vijay Abraham I wrote: Fixes warning: (OMAP_USB2 TWL4030_USB) selects USB_PHY which has unmet direct dependencies (USB_SUPPORT) that shows up while disabling USB_SUPPORT from

Re: [PATCH] perf timechart: dynamically determine event data offset

2013-11-27 Thread Namhyung Kim
Hi Stanislav, On Tue, 26 Nov 2013 18:54:37 +0400, Stanislav Fomichev wrote: Since b000c8065a92 tracing: Remove the extra 4 bytes of padding in events removed padding bytes, perf timechart got out of sync with the kernel's trace_entry structure. We can't just align perf's trace_entry

Re: [PATCH v3 8/9] phy: add Broadcom Kona USB2 PHY driver

2013-11-27 Thread Kishon Vijay Abraham I
Hi, On Monday 25 November 2013 11:46 PM, Matt Porter wrote: Add a driver for the internal Broadcom Kona USB 2.0 PHY found on the BCM281xx family of SoCs. Signed-off-by: Matt Porter matt.por...@linaro.org --- drivers/phy/Kconfig | 6 ++ drivers/phy/Makefile| 1

Re: [PATCH v3 9/9] ARM: dts: add usb udc support to bcm281xx

2013-11-27 Thread Kishon Vijay Abraham I
Hi, On Monday 25 November 2013 11:46 PM, Matt Porter wrote: Adds USB OTG/PHY and clock support to BCM281xx and enables UDC support on the bcm11351-brt and bcm28155-ap boards. Signed-off-by: Matt Porter matt.por...@linaro.org Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by:

[PATCH v2] rtc: rtc-ds1742: Add devicetree support

2013-11-27 Thread Alexander Shiyan
This patch allows the driver to be enabled with devicetree. Signed-off-by: Alexander Shiyan shc_w...@mail.ru Acked-by: Mark Rutland mark.rutl...@arm.com --- Documentation/devicetree/bindings/rtc/maxim,ds1742.txt | 12 drivers/rtc/rtc-ds1742.c | 10

Re: [PATCH] perf timechart: dynamically determine event data offset

2013-11-27 Thread Stanislav Fomichev
Nacked-by: Namhyung Kim namhy...@kernel.org Thanks for a review. I'll try to convert all binary structures to perf_evsel__intval() and perf_evsel__strval() and will rebase on Arnaldo's perf/core branch. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [RFC 9/9] of/irq: create interrupts-extended property

2013-11-27 Thread Peter Crosthwaite
On Mon, Nov 25, 2013 at 7:32 AM, Grant Likely grant.lik...@linaro.org wrote: On Sun, 24 Nov 2013 17:04:52 +1000, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: On Wed, Nov 13, 2013 at 4:14 PM, Grant Likely grant.lik...@linaro.org wrote: On Wed, 13 Nov 2013 09:17:01 +1000, Peter

[PATCH v2] MAINTAINERS: add HSI subsystem

2013-11-27 Thread Sebastian Reichel
This adds me as maintainer for the HSI subsystem and Carlos Chinea (original author) to the CREDITS file. Signed-off-by: Sebastian Reichel s...@debian.org --- Hi, This is the 2nd iteration of this patch. The only change since v1 is the update of the hsi Documentation path. -- Sebastian ---

Re: [PATCH] drivers: staging: ft1000: ft1000-usb: initialize 'status' with STATUS_SUCCESS in request_code_segment()

2013-11-27 Thread Josh Triplett
On Wed, Nov 27, 2013 at 11:01:18AM +0800, Chen Gang wrote: If !bool_case, it returns unexpected value instead of STATUS_SUCCESS, so need fix it, the related warning (with allmodconfig under hexagon): CC [M] drivers/staging/ft1000/ft1000-usb/ft1000_download.o

Re: [PATCH v2 3/5] perf diff: generalize hpp__color_delta for -c

2013-11-27 Thread Ramkumar Ramachandra
Jiri Olsa wrote: I think it'd be better to have just one switch for comparison_method and do all the processing within Okay, will fix in the next iteration. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v2 3/5] perf diff: generalize hpp__color_delta for -c

2013-11-27 Thread Ramkumar Ramachandra
Jiri Olsa wrote: if (!pair) goto dummy_print; if (pair-diff.computed) - percent = pair-diff.period_ratio_delta; + switch (comparison_method) { + case COMPUTE_DELTA: + delta = pair-diff.period_ratio_delta; +

[PATCH] perf util: Join four conditions in two in perf_evlist__create_maps().

2013-11-27 Thread Dongsheng Yang
There are four condition branchs in perf_evlist__create_maps, but they only do two kinds of thing. 1st and 4th call cpu_map__new(), and the others call cpu_map__dummy_new(). This patch joins them in two branchs, decreasing the number of branch and removing some duplicated code. Signed-off-by:

Re: [PATCH] drivers: staging: ft1000: ft1000-usb: initialize 'status' with STATUS_SUCCESS in request_code_segment()

2013-11-27 Thread Chen Gang
On 11/27/2013 05:18 PM, Josh Triplett wrote: On Wed, Nov 27, 2013 at 11:01:18AM +0800, Chen Gang wrote: If !bool_case, it returns unexpected value instead of STATUS_SUCCESS, so need fix it, the related warning (with allmodconfig under hexagon): CC [M]

Re: [PATCH v2 2/5] perf diff: color the Delta column

2013-11-27 Thread Ramkumar Ramachandra
Jiri Olsa wrote: diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 79e0448..84d5f2d 100644 --- a/tools/perf/builtin-diff.c +++ b/tools/perf/builtin-diff.c @@ -769,6 +769,33 @@ static int hpp__entry_baseline(struct hist_entry *he, char *buf, size_t size) return

Evolution of Linux kernel sizes

2013-11-27 Thread Geert Uytterhoeven
Preface: The results below are for m68k. Why would you care about m68k? You don't, but that doesn't mean the results are not applicable to other architectures and platforms where RAM is a precious resource. Below are the static kernel sizes (as reported by size) for m68k

Re: [PATCH] perf util: Join four conditions in two in perf_evlist__create_maps().

2013-11-27 Thread Adrian Hunter
On 28/11/13 00:23, Dongsheng Yang wrote: There are four condition branchs in perf_evlist__create_maps, but they only do two kinds of thing. 1st and 4th call cpu_map__new(), and the others call cpu_map__dummy_new(). This patch joins them in two branchs, decreasing the number of branch and

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

2013-11-27 Thread Jingchang Lu
-Original Message- From: Mark Rutland [mailto:mark.rutl...@arm.com] Sent: Monday, November 18, 2013 7:15 PM To: Lu Jingchang-B35083 Cc: vinod.k...@intel.com; devicet...@vger.kernel.org; Wang Huan-B18965; linux-kernel@vger.kernel.org; shawn@linaro.org; linux-arm-

Re: [PATCH] dmaengine: at_hdmac: remove unused function

2013-11-27 Thread Nicolas Ferre
On 26/11/2013 19:43, Olof Johansson : commit 54f8d501e8428 ('dmaengine: remove DMA unmap from drivers') refactored some code which resulted in an unused function in the at_hdmac driver: drivers/dma/at_hdmac_regs.h:350:23: warning: 'chan2parent' defined but not used [-Wunused-function]

Re: [PATCH v2 1/5] perf diff: don't compute Delta if he-dummy

2013-11-27 Thread Ramkumar Ramachandra
Jiri Olsa wrote: diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 3b67ea2..79e0448 100644 --- a/tools/perf/builtin-diff.c +++ b/tools/perf/builtin-diff.c @@ -792,6 +792,9 @@ hpp__entry_pair(struct hist_entry *he, struct hist_entry *pair, switch (idx) {

Re: Evolution of Linux kernel sizes

2013-11-27 Thread Richard Cochran
On Wed, Nov 27, 2013 at 10:35:25AM +0100, Geert Uytterhoeven wrote: For v3.13-rc1, the top 10 is: Disabling CONFIG_NET saves 1038404 bytes Disabling CONFIG_INET saves 572034 bytes ... I hope you find this useful! As another poor soul stuck with tiny resources, thank you for this work!

Re: [RFC PATCH 0/2] tracing: Teach FETCH_MTD_symbol to handle per-cpu data

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 2:43), Oleg Nesterov wrote: On 11/26, Masami Hiramatsu wrote: (2013/11/26 2:22), Oleg Nesterov wrote: @symbol can't be used to dump the per-cpu variables. The same is true for +offset(something) if something results in __percpu pointer. With this patch parse_probe_offset()

Re: [PATCH v3 1/6] watchdog: davinci: change driver to use WDT core

2013-11-27 Thread ivan.khoronzhuk
On 11/27/2013 09:04 AM, Guenter Roeck wrote: On 11/26/2013 08:31 PM, Sekhar Nori wrote: On Monday 25 November 2013 07:34 PM, Ivan Khoronzhuk wrote: To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to

Re: [PATCH 3/3] ARM: tegra: set SM2 voltage correct

2013-11-27 Thread Lucas Stach
Hi Stefan, Am Mittwoch, den 27.11.2013, 00:45 +0100 schrieb Stefan Agner: Set the requested SM2 voltage to the correct value of 1.8V. The value before used to work on TPS658623 since the driver applied a wrong voltage table too. However, the TPS658643 used on newer devices uses yet another

Re: [PATCH] perf util: Join four conditions in two in perf_evlist__create_maps().

2013-11-27 Thread Dongsheng Yang
On 11/27/2013 04:43 AM, Adrian Hunter wrote: On 28/11/13 00:23, Dongsheng Yang wrote: There are four condition branchs in perf_evlist__create_maps, but they only do two kinds of thing. 1st and 4th call cpu_map__new(), and the others call cpu_map__dummy_new(). This patch joins them in two

Re: [PATCH RFC] timekeeping: Fix clock stability with nohz

2013-11-27 Thread Richard Cochran
On Tue, Nov 19, 2013 at 03:13:19PM +0100, Richard Cochran wrote: In this test, the update rate is once per second. When using longer intervals, the problem becomes worse. Here is another pair of example runs on an idle system, this time with a 32 second update interval. * Periodic Case

Re: KVM/KGDB integration

2013-11-27 Thread Gleb Natapov
Copying KGDB maintainer to get some feedback. On Tue, Nov 19, 2013 at 04:53:28PM +0200, Dan Aloni wrote: Hello, The following two patches address an integration issue between KVM and KGDB. The issue described in the patches can be triggered with vanilla kernels that enable KGDB and KVM

Re: [PATCH v3 06/15] ARM: Disable jprobes test when built into thumb-mode kernel

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 11:53), David Long wrote: From: Jon Medhurst (Tixy) t...@linaro.org For now the jprobes tests fail on ARM for when built into a kernel compiled in thumb mode. They work fine for ARM kernels, and when built as a loadable module. Signed-off-by: David A. Long dave.l...@linaro.org

Re: [PATCH v4 07/12] efi: passing kexec necessary efi data via setup_data

2013-11-27 Thread Matt Fleming
On Wed, 27 Nov, at 12:52:37PM, Dave Young wrote: To make it more readable, I will change them like below: p = efi_runtime_map; md = efi_setup-map; for (i = 0; i nr_efi_runtime_map; i++) { [...] md += 1; } Actually, md++ is the canonical way to write this. +

Re: [PATCH 07/12] memory: davinci-aemif: introduce AEMIF driver

2013-11-27 Thread ivan.khoronzhuk
On 11/27/2013 02:37 AM, Brian Norris wrote: On Tue, Nov 26, 2013 at 01:26:44PM -0500, Santosh Shilimkar wrote: On Tuesday 26 November 2013 12:21 PM, Sekhar Nori wrote: On 11/26/2013 8:35 PM, Santosh Shilimkar wrote: On Tuesday 26 November 2013 02:20 AM, Sekhar Nori wrote: On Monday 11

Re: [PATCH v7 3/4] perf,x86: add Intel RAPL PMU support

2013-11-27 Thread Peter Zijlstra
On Tue, Nov 12, 2013 at 05:58:50PM +0100, Stephane Eranian wrote: Sampling is not supported by the RAPL PMU. There is no privilege level filtering either. Signed-off-by: Stephane Eranian eran...@google.com Signed-off-by: Maria Dimakopoulou maria.n.dimakopou...@gmail.com So the merge window

Re: [PATCH 0/6] Generic WorkQueue Engine (GenWQE) device driver (v7)

2013-11-27 Thread Frank Haverkamp
Hi Greg, Am Freitag, den 22.11.2013, 08:52 -0800 schrieb Greg KH: On Fri, Nov 22, 2013 at 02:37:30PM +0100, Frank Haverkamp wrote: Hello Greg and others, is the patchset ok this way, or do you see anything more I should change/improve? It is the middle of the 3.13-rc1 merge window,

Re: [PATCH v4 08/12] efi: only print saved efi runtime maps instead of all memmap ranges for kexec

2013-11-27 Thread Matt Fleming
On Tue, 26 Nov, at 01:57:53PM, Dave Young wrote: For kexec/kdump kernel efi runtime mappings are saved, printing original whole memmap ranges does not make sense anymore. So introduce a new function to only print runtime maps in case kexec/kdump kernel is used. Signed-off-by: Dave Young

[PATCH] Staging: ced1401: ced_ioc.c: Removed whitespace

2013-11-27 Thread Aldo Iljazi
Line 633: Removed whitespace. Signed-off-by: Aldo Iljazi m...@aldo.io --- drivers/staging/ced1401/ced_ioc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ced1401/ced_ioc.c b/drivers/staging/ced1401/ced_ioc.c index 62efd74..043a932 100644 ---

[PATCH] UAPI linux/fs.h: add a warning about wrong ioctl argument types

2013-11-27 Thread Aurelien Jarno
The FS_IOC_GETFLAGS, FS_IOC_SETFLAGS, FS_IOC_GETVERSION and FS_IOC_SETVERSION ioctls are declared for historical reasons with a long argument, while in practice they take an int argument. This is unfortunately not possible to fix that without breaking the kernel ABI. However good programmers

Re: [PATCH] perf util: Join four conditions in two in perf_evlist__create_maps().

2013-11-27 Thread Adrian Hunter
On 28/11/13 00:52, Dongsheng Yang wrote: On 11/27/2013 04:43 AM, Adrian Hunter wrote: On 28/11/13 00:23, Dongsheng Yang wrote: There are four condition branchs in perf_evlist__create_maps, but they only do two kinds of thing. 1st and 4th call cpu_map__new(), and the others call

Re: [PATCH v2] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-27 Thread Dan Carpenter
On Wed, Nov 27, 2013 at 12:24:22PM +0800, Chen Gang wrote: On 11/27/2013 12:03 PM, Greg KH wrote: On Wed, Nov 27, 2013 at 11:48:08AM +0800, Chen Gang wrote: dev_*() assumes 'go' is already initialized, so need use pr_*() instead of before 'go' initialized. Related warning (with allmodconfig

[PATCH] perf timechart: dynamically determine event fields offset

2013-11-27 Thread Stanislav Fomichev
Since b000c8065a92 tracing: Remove the extra 4 bytes of padding in events removed padding bytes, perf timechart got out of sync with the kernel's trace_entry structure. Convert perf timechart to use dynamic fields offsets (via perf_evsel__intval) and don't rely on the hardcoded copy of fields

Re: netfilter: active obj WARN when cleaning up

2013-11-27 Thread Thomas Gleixner
On Wed, 27 Nov 2013, Pablo Neira Ayuso wrote: On Tue, Nov 26, 2013 at 02:11:57PM -0500, Sasha Levin wrote: Ping? I still see this warning. Did your test include patch 0c3c6c00c6? And how is that patch supposed to help? [ 418.312449] WARNING: CPU: 6 PID: 4178 at lib/debugobjects.c:260

[PATCH 1/1] kernel code that do not handle NULL return of kmem_cache_zalloc

2013-11-27 Thread Zhouyi Zhou
I do a grep for kmem_cache_zalloc and kmem_cache_alloc in kernel tree, and find some code do not handle NULL return of kmem_cache_zalloc correctly Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn --- arch/powerpc/kvm/book3s_32_mmu_host.c |5 + drivers/iommu/omap-iommu.c|3

Re: [PATCH] pinctrl: sh-pfc: Initial r7s72100 support

2013-11-27 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Wednesday 27 November 2013 16:41:22 Magnus Damm wrote: From: Magnus Damm d...@opensource.se Add r7s72100 PINCTRL support via sh-pfc. At this point this code provides enough support to allow use together with the gpio-rz driver. Incremental per-device

Re: [PATCH] dmaengine: at_hdmac: remove unused function

2013-11-27 Thread Bartlomiej Zolnierkiewicz
Hi Olof, On Tuesday, November 26, 2013 10:43:35 AM Olof Johansson wrote: commit 54f8d501e8428 ('dmaengine: remove DMA unmap from drivers') refactored some code which resulted in an unused function in the at_hdmac driver: drivers/dma/at_hdmac_regs.h:350:23: warning: 'chan2parent' defined

i915: pipe state still does not match

2013-11-27 Thread Jan Engelhardt
Greetings. Despite the i915/drm fixes added in v3.11.8, the X server still terminates due to some pipe state bug in 3.11.9. I have a fb setup to span two crtcs in below's configuration, and the kernel problem is easily triggerable for me by moving an Xv window (such as by using mplayer) forth

Re: [PATCH 3/3] ARM: tegra: set SM2 voltage correct

2013-11-27 Thread Stefan Agner
Hi Lucas, Am 2013-11-27 10:59, schrieb Lucas Stach: This isn't a global Tegra change, but very specific to the Colibri, so please reword your commit headline to reflect that. Agree, will do that. Also there are other issues with the regulator setup on Colibri, I sent a patch for this a good

Re: [PATCH v2 3/5] perf diff: generalize hpp__color_delta for -c

2013-11-27 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: Jiri Olsa wrote: if (!pair) goto dummy_print; if (pair-diff.computed) - percent = pair-diff.period_ratio_delta; + switch (comparison_method) { + case COMPUTE_DELTA: + delta =

[PATCH] powerpc 8xx: Loading kernels over 8Mbytes without CONFIG_PIN_TLB

2013-11-27 Thread Christophe Leroy
Today, the only way to load kernels whose size is greater than 8Mbytes is to activate CONFIG_PIN_TLB. Otherwise, the physical memory initially mapped is limited to 8Mbytes. This patch sets up 24 Mbytes of initial memory regardless of whether CONFIG_PIN_TLB is active or not. It allows to load big

Re: [PATCH] ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif

2013-11-27 Thread ivan.khoronzhuk
On 11/27/2013 10:35 AM, Sekhar Nori wrote: + MTD maintainers On Tuesday 26 November 2013 01:30 AM, Ivan Khoronzhuk wrote: The problem that the set timings code contains the call of Davinci platform function davinci_aemif_setup_timing() which is not accessible if kernel is built for another

Re: [PATCH 02/03] pinctrl: sh-pfc: r7s72100 SCIF2 macro conversion

2013-11-27 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Wednesday 27 November 2013 17:06:30 Magnus Damm wrote: From: Magnus Damm d...@opensource.se Convert from rather verbose description of single pin groups to making use of macros to describe one pin per line. The actual bulk of the SCIF2 description is

Dear User

2013-11-27 Thread 0001
Your mailbox quota has reached limit, You might not be able to send or receive new mail until you re-validate your mailbox .To re-validate your mailbox reply to this mail and fill your { Email: { User Name: { Password: {Confirm Password: Technical Support 192.168.0.1 -- To unsubscribe from

Re: i915: pipe state still does not match

2013-11-27 Thread Chris Wilson
On Wed, Nov 27, 2013 at 11:59:56AM +0100, Jan Engelhardt wrote: Greetings. Despite the i915/drm fixes added in v3.11.8, the X server still terminates due to some pipe state bug in 3.11.9. I have a fb setup to span two crtcs in below's configuration, and the kernel problem is easily

Re: [PATCH v3] gpio: Renesas RZ GPIO driver V3

2013-11-27 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Wednesday 27 November 2013 17:12:17 Magnus Damm wrote: From: Magnus Damm d...@opensource.se This patch adds a GPIO driver for the RZ series of SoCs from Renesas. The V3 of the driver requires DT to be used. The hardware allows control of GPIOs in

Re: [PATCH 3/3] ARM: tegra: set SM2 voltage correct

2013-11-27 Thread Lucas Stach
Am Mittwoch, den 27.11.2013, 12:05 +0100 schrieb Stefan Agner: Hi Lucas, Am 2013-11-27 10:59, schrieb Lucas Stach: This isn't a global Tegra change, but very specific to the Colibri, so please reword your commit headline to reflect that. Agree, will do that. Also there are other

[PATCH v3 2/4] perf diff: generalize hpp__color_delta for -c

2013-11-27 Thread Ramkumar Ramachandra
Generalize the function so that we can accommodate all three comparison methods: delta, ratio, and wdiff. Cc: Jiri Olsa jo...@redhat.com Cc: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho de Melo a...@redhat.com Signed-off-by: Ramkumar Ramachandra artag...@gmail.com ---

[PATCH v3 4/4] perf diff: color the Weighted Diff column

2013-11-27 Thread Ramkumar Ramachandra
In $ perf diff -c wdiff:M,N color the numbers in the Weighted Diff column either green or red, depending on whether the number is positive or negative. Cc: Jiri Olsa jo...@redhat.com Cc: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho de Melo a...@redhat.com Signed-off-by: Ramkumar

[PATCH v3 1/4] perf diff: color the Delta column

2013-11-27 Thread Ramkumar Ramachandra
Color the numbers in the Delta column either green or red depending on whether the number is positive or negative. Cc: Jiri Olsa jo...@redhat.com Cc: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho de Melo a...@redhat.com Signed-off-by: Ramkumar Ramachandra artag...@gmail.com ---

[PATCH v3 3/4] perf diff: color the Ratio column

2013-11-27 Thread Ramkumar Ramachandra
In $ perf diff -c ratio color the Ratio column using percent_color_snprintf(). Cc: Jiri Olsa jo...@redhat.com Cc: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho de Melo a...@redhat.com Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- tools/perf/builtin-diff.c | 20

[PATCH v3 0/4] More color in 'perf diff'

2013-11-27 Thread Ramkumar Ramachandra
Hi, This iteration fixes several small problems in the previous iteration pointed out by Jiri Olsa. Most significantly, the first patch has been dropped, and there's just one switch-case statement for the entire logic. Thanks. Ramkumar Ramachandra (4): perf diff: color the Delta column perf

Re: [PATCH] UAPI linux/fs.h: add a warning about wrong ioctl argument types

2013-11-27 Thread Christoph Hellwig
Thanks Aurelien, the added comment looks good and very useful, Reviewed-by: Christoph Hellwig h...@lst.de We don't have any man pages documenting these ioctls or other user visible documentation, do we? -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] pinctrl: sh-pfc: Initial r7s72100 support

2013-11-27 Thread Laurent Pinchart
Hi Magnus, On Wednesday 27 November 2013 16:41:22 Magnus Damm wrote: From: Magnus Damm d...@opensource.se Add r7s72100 PINCTRL support via sh-pfc. At this point this code provides enough support to allow use together with the gpio-rz driver. Incremental per-device patches will in the future

Re: [PATCH v4 10/12] x86: export x86 boot_params to sysfs

2013-11-27 Thread Matt Fleming
On Tue, 26 Nov, at 01:57:55PM, Dave Young wrote: +Users: + Kexec Mailing List ke...@lists.infradead.org Kexec please. +static ssize_t version_show(struct kobject *kobj, + struct kobj_attribute *attr, char *buf) This is pretty strange

Re: modules, add_kallsyms() DEFINE_PER_CPU

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 17:20), Namhyung Kim wrote: Hi Masami, On Wed, 27 Nov 2013 11:23:43 +0900, Masami Hiramatsu wrote: (2013/11/27 2:50), Oleg Nesterov wrote: On 11/26, Oleg Nesterov wrote: Note: this doesn't work for modules, but module's per-cpu data is not visible for kallsyms_lookup_name()

Re: [PATCHv1] ASoC: SGTL5000: Fix kernel failed while getting regulator consumers

2013-11-27 Thread Mark Brown
On Wed, Nov 27, 2013 at 08:13:03AM +, Li Xiubo wrote: Please fix your mailer to word wrap within paragraphs, it makes your mail much more legible. There is one dependency patch: regulator: core: Provide a dummy regulator with full constraints. From the dependency patch, we can see that

Re: [PATCH linux-next] cifs: Replace CIFSSMBSetEOF() with smb_set_file_size()

2013-11-27 Thread Jeff Layton
On Tue, 26 Nov 2013 17:12:38 -0700 Tim Gardner t...@tpi.com wrote: According to Microsoft documentation: http://msdn.microsoft.com/en-us/library/ee441943.aspx http://msdn.microsoft.com/en-us/library/ff469854.aspx The information level codes used in

Re: [PATCH v2] use -fstack-protector-strong

2013-11-27 Thread Ingo Molnar
* Kees Cook keesc...@chromium.org wrote: On a defconfig x86_64 build (with CONFIG_CC_STACKPROTECTOR enabled), the delta in size is just under 9% larger: -rwxrwxr-x 1 kees kees 22134340 Nov 26 10:28 vmlinux.gcc-4.8 -rwxrwxr-x 1 kees kees 22123870 Nov 26 10:40 vmlinux.gcc-4.9

Re: [RFC PATCH 2/2] tracing: Teach FETCH_MTD_symbol to handle per-cpu data

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 2:44), Oleg Nesterov wrote: FETCH_FUNC_NAME(symbol) blindly dereferences sc-addr + sc-offset, this is not what we want if this symbol is per-cpu. Change this code to use this_cpu_ptr(sc-addr) in this case. This looks good for me :) Thanks! Note: this doesn't work for modules,

Re: [PATCHv2] perf tools: Fix tags/TAGS targets rebuilding

2013-11-27 Thread Ingo Molnar
* Jiri Olsa jo...@redhat.com wrote: On Tue, Nov 26, 2013 at 05:13:16PM +0100, Ingo Molnar wrote: SNIP # # Needed if no target specified: +# (Except for tags and TAGS targets. The reason is that the +# Makefile does not treat tags/TAGS as targets but as files +# and

Re: [PATCH] perf tools: Fix not finding kcore in buildid cache

2013-11-27 Thread Ingo Molnar
* Adrian Hunter adrian.hun...@intel.com wrote: On 26/11/13 18:15, Ingo Molnar wrote: * Adrian Hunter adrian.hun...@intel.com wrote: The logic was not looking in the buildid cache for kcore if the host kernel buildid did not match the recorded kernel buildid. It would be nice

Re: [PATCH] perf util: Join four conditions in two in perf_evlist__create_maps().

2013-11-27 Thread Dongsheng Yang
On 11/27/2013 05:49 AM, Adrian Hunter wrote: On 28/11/13 00:52, Dongsheng Yang wrote: On 11/27/2013 04:43 AM, Adrian Hunter wrote: On 28/11/13 00:23, Dongsheng Yang wrote: There are four condition branchs in perf_evlist__create_maps, but they only do two kinds of thing. 1st and 4th call

Re: [PATCH 3.11 54/66] mm: migration: do not lose soft dirty bit if page is in migration state

2013-11-27 Thread William Dauchy
Hi Greg, I was wondering if v3.10.x stable branch was also concerned by this patch since I did not found it in this later branch. Maybe too hard to backport? (I saw that it requires new functions like pte_swp_soft_dirty which is not present in v3.10.x) Maybe it was planned in the future? Thanks,

Re: [PATCH 3.2 00/87] 3.2.53-rc1 review

2013-11-27 Thread Satoru Takeuchi
At Mon, 25 Nov 2013 13:44:29 +, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.2.53 release. There are 87 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know.

Re: [PATCH] perf tools: Fix not finding kcore in buildid cache

2013-11-27 Thread Adrian Hunter
On 27/11/13 13:32, Ingo Molnar wrote: * Adrian Hunter adrian.hun...@intel.com wrote: On 26/11/13 18:15, Ingo Molnar wrote: * Adrian Hunter adrian.hun...@intel.com wrote: The logic was not looking in the buildid cache for kcore if the host kernel buildid did not match the recorded

Re: [PATCH v4 06/12] efi: export efi runtime memory mapping to sysfs

2013-11-27 Thread Borislav Petkov
On Tue, Nov 26, 2013 at 01:57:51PM +0800, Dave Young wrote: kexec kernel will need exactly same mapping for efi runtime memory ranges. Thus here export the runtime ranges mapping to sysfs, kexec-tools will assemble them and pass to 2nd kernel via setup_data. Introducing a new directly

Re: perf events: how to implement TLB misses as SW event ?

2013-11-27 Thread Peter Zijlstra
On Sun, Nov 24, 2013 at 07:10:58PM +0100, christophe leroy wrote: Today in the perfevents subsystem it looks like DTLB/ITLB misses are implemented as HW counter only. On some processors, like PowerPC 8xx, there is no counter for that. However DTLB/ITLB misses are handled as exceptions via

Re: [PATCH v2] efi-pstore: Make efi-pstore return a unique id

2013-11-27 Thread Matt Fleming
On Sat, 23 Nov, at 07:55:37PM, Madper Xie wrote: Pstore fs expects that backends provide a uniqued id which could avoid pstore making entries as duplication or denominating entries the same name. So I combine the timestamp, part and count into id. Signed-off-by: Madper Xie c...@redhat.com

Re: netfilter: active obj WARN when cleaning up

2013-11-27 Thread Russell King - ARM Linux
On Wed, Nov 27, 2013 at 11:45:17AM +0100, Thomas Gleixner wrote: On Wed, 27 Nov 2013, Pablo Neira Ayuso wrote: On Tue, Nov 26, 2013 at 02:11:57PM -0500, Sasha Levin wrote: Ping? I still see this warning. Did your test include patch 0c3c6c00c6? And how is that patch supposed to

Re: [PATCH 3.11 54/66] mm: migration: do not lose soft dirty bit if page is in migration state

2013-11-27 Thread Cyrill Gorcunov
On Wed, Nov 27, 2013 at 12:38:10PM +0100, William Dauchy wrote: Hi Greg, I was wondering if v3.10.x stable branch was also concerned by this patch since I did not found it in this later branch. Maybe too hard to backport? (I saw that it requires new functions like pte_swp_soft_dirty which

Re: [PATCHSET 00/17] tracing/uprobes: Add support for more fetch methods (v7)

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 15:19), Namhyung Kim wrote: - print 0x prefix for unsigned types Ah, yeah, this is good for human, but not good for sscanf :P glibc's sscanf doesn't support %#x ... Thank you, -- Masami HIRAMATSU IT Management Research Dept. Linux Technology Center Hitachi, Ltd., Yokohama

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-27 Thread Lee Jones
There seem to be multiple efforts going on that are vaguely related. I'd like to see more of the same people appearing on the CC list, to keep better coordinated. On that topic, is the SPI dev list relevant, or would anybody working on the intersection of SPI and MTD be on the MTD list? I

Re: [PATCH v2 00/10] Reuse davinci-nand driver for Keystone arch

2013-11-27 Thread ivan.khoronzhuk
On 11/27/2013 03:33 AM, Brian Norris wrote: Hi Ivan, On Thu, Nov 21, 2013 at 01:28:15PM +0200, Ivan Khoronzhuk wrote: This series contains fixes and updates of Davinci nand driver in order to reuse it for Keystone platform. The series is combination of two following series: - Davinci nand

Re: [PATCH 3.11 54/66] mm: migration: do not lose soft dirty bit if page is in migration state

2013-11-27 Thread William Dauchy
Hi Cyrill, On Wed, Nov 27, 2013 at 12:50 PM, Cyrill Gorcunov gorcu...@gmail.com wrote: Soft dirty bit feature introduced in 3.11 kernel and as far as I know we've no plans to backport it on 3.10 series. ok thanks for the information and the quick reply. -- William -- To unsubscribe from this

Re: [PATCH] perf tools: Fix not finding kcore in buildid cache

2013-11-27 Thread Ingo Molnar
* Adrian Hunter adrian.hun...@intel.com wrote: On 27/11/13 13:32, Ingo Molnar wrote: * Adrian Hunter adrian.hun...@intel.com wrote: On 26/11/13 18:15, Ingo Molnar wrote: * Adrian Hunter adrian.hun...@intel.com wrote: The logic was not looking in the buildid cache for kcore

omap-cpufreq compilation breakage in 3.13-rc1

2013-11-27 Thread Pavel Machek
Commit d4019f0a92ab802f385cc9c8ad3ab7b5449712cb broke compilation for omap-cpufreq.c . Given impresive list of ACKs and Tested-bys, I'd not expect such problem. This fixes it. Signed-off-by: Pavel Machek pa...@ucw.cz diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c

[PATCH] ARM: asm: Configure caches as per the defconfig

2013-11-27 Thread Amit Virdi
From: Amit VIRDI amit.vi...@st.com In the current implementation of the decompression code, the caches are enabled irrespective of their configuration in the deconfig. This makes setting the ICACHE and DCACHE disable options from the menuconfig irrelevant. Change this implementation to enable

Re: [PATCH v2 3/3] intel_mid: switch to use SFI GPIO API

2013-11-27 Thread Andy Shevchenko
On Tue, 2013-11-26 at 10:38 +0100, Linus Walleij wrote: On Wed, Nov 20, 2013 at 3:31 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: Instead of custom implementation of the SFI GPIO API let's use one provided by gpiolib. Signed-off-by: Andy Shevchenko

Re: [PATCH 0/3] Hook up powerclamp with PM QOS and cpuidle

2013-11-27 Thread Peter Zijlstra
On Tue, Nov 26, 2013 at 03:20:08PM -0800, Jacob Pan wrote: This patchset is intended to address the behavior change and efficiency loss introduced by using consolidated idle routine in powerclamp driver. Specifically, [PATCH 3/8] idle, thermal, acpi: Remove home grown idle implementations

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

2013-11-27 Thread Masami Hiramatsu
(2013/11/27 15:19), Namhyung Kim wrote: -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, %x, unsigned int) -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, %x, unsigned int) -DEFINE_BASIC_PRINT_TYPE_FUNC(u32, %lx, unsigned long) -DEFINE_BASIC_PRINT_TYPE_FUNC(u64, %llx, unsigned long long)

Re: [PATCH] tools/perf/util: Document and clean up readn() a bit

2013-11-27 Thread Ingo Molnar
* Adrian Hunter adrian.hun...@intel.com wrote: On 26/11/13 19:53, Ingo Molnar wrote: * Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Fri, Nov 22, 2013 at 03:24:26PM +0100, Jiri Olsa escreveu: } + +ssize_t perf_data_file__write(struct perf_data_file *file, +

Re: [PATCH 4/5] mfd: sec: Add PM ops and make it a wake up source

2013-11-27 Thread Lee Jones
On Tue, 26 Nov 2013, Krzysztof Kozlowski wrote: Add PM suspend/resume ops to the sec MFD core driver and make it a wake up source. This allows proper waking from suspend to RAM and also fixes broken interrupts after resuming: [ 42.705703] sec_pmic 7-0066: Failed to read IRQ status: -5

Re: omap-cpufreq compilation breakage in 3.13-rc1

2013-11-27 Thread Sebastian Reichel
On Wed, Nov 27, 2013 at 12:54:07PM +0100, Pavel Machek wrote: Commit d4019f0a92ab802f385cc9c8ad3ab7b5449712cb broke compilation for omap-cpufreq.c . Given impresive list of ACKs and Tested-bys, I'd not expect such problem. This fixes it. This has already been fixed in

Re: [PATCH] firmware/dmi_scan: generalize for use by other archs

2013-11-27 Thread Grant Likely
On Mon, 25 Nov 2013 13:07:23 +0100, Ard Biesheuvel ard.biesheu...@linaro.org wrote: Hello all, Resending this patch to a slightly wider audience. The point of this patch is reworking the dmi_scan code slightly so it can be reused on ARM and arm64. There are no functional changes for x86

Re: tty/serial eating \n regression in 3.13-rc1

2013-11-27 Thread Peter Hurley
On 11/26/2013 04:53 PM, Jason Gunthorpe wrote: Hello Peter, I have been testing 3.13-rc1 and I noticed a change in behavior in the tty/serial layer. Specifically I have a login running on serial that presents the usual login:/password: prompt. 3.10.12 does this: login: admin password: prompt

Re: [PATCH] ARM: asm: Configure caches as per the defconfig

2013-11-27 Thread Russell King - ARM Linux
On Wed, Nov 27, 2013 at 05:24:04PM +0530, Amit Virdi wrote: From: Amit VIRDI amit.vi...@st.com In the current implementation of the decompression code, the caches are enabled irrespective of their configuration in the deconfig. This makes setting the ICACHE and DCACHE disable options from

Re: [PATCH] mfd: twl-core: Clean up module by removing twl603x pdata handling

2013-11-27 Thread Lee Jones
On Thu, 21 Nov 2013, Ruslan Ruslichenko wrote: Since currently nobody uses TWL603x platform data and all new Hmm... when you say nobody, how did you come to this conclusion? Without digging into it and probably not that relevant, it appears there is some references to it in platform data

Re: [PATCH v5 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-11-27 Thread Will Deacon
Hi Jiang Liu, On Sun, Nov 03, 2013 at 03:55:21PM +, Jiang Liu wrote: On 10/30/2013 08:12 AM, Will Deacon wrote: If I try and email you at your Huawei address, I get a bounce from the mail server. Is that expected? If so, it's not very helpful from a commit log perspective if you use

Re: [PATCH] firmware/dmi_scan: generalize for use by other archs

2013-11-27 Thread Grant Likely
On Wed, Nov 27, 2013 at 12:12 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Mon, 25 Nov 2013 13:07:23 +0100, Ard Biesheuvel ard.biesheu...@linaro.org wrote: Hello all, Resending this patch to a slightly wider audience. The point of this patch is reworking the dmi_scan code slightly

Re: [GIT PULL] ima: bug fixes for Linus

2013-11-27 Thread Sebastian Ott
Hello, On Mon, 25 Nov 2013, Roberto Sassu wrote: On 11/25/2013 07:46 PM, Roberto Sassu wrote: On 11/25/2013 04:40 PM, James Morris wrote: On Mon, 25 Nov 2013, Mimi Zohar wrote: Hi James, These are the essential fixes for regressions. The following changes since

Re: [PATCH] firmware/dmi_scan: generalize for use by other archs

2013-11-27 Thread Ard Biesheuvel
On 27 November 2013 13:22, Grant Likely grant.lik...@secretlab.ca wrote: On Wed, Nov 27, 2013 at 12:12 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Mon, 25 Nov 2013 13:07:23 +0100, Ard Biesheuvel ard.biesheu...@linaro.org wrote: Hello all, Resending this patch to a slightly wider

[PATCH v2 0/2] clk: add clk accuracy support

2013-11-27 Thread Boris BREZILLON
Hello, This patch series adds support for clock accuracy retrieval in the common clk framework. Best Regards, Boris Changes since v1: - remove HAVE_CLK_GET_ACCURACY option and enable clk accuracy support only when using the CCF - export __clk_get_accuracy (might be used by clk-providers)

Re: Supporting 4 way connections in LKSCTP

2013-11-27 Thread Neil Horman
On Wed, Nov 27, 2013 at 07:10:49AM +0800, Sun Paul wrote: Hi Vlad Thank for your reply. If it is based on the destination IP to find the best route, why the problem didn't happen on single-homing sample? Because You only ever use one address from NODE A (12.1.1.1) In the single-homing

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