[PATCH 09/14] perf hists: Sort hist entries by accumulated period

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim When callchain accumulation is requested, we need to sort the entries by accumulated period value. When accumulated periods of two entries are same (i.e. single path callchain) put the caller above since accumulation tends to put callers on higher position for obvious reason.

[PATCH 06/14] perf hists: Accumulate hist entry stat based on the callchain

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim Call __hists__add_entry() for each callchain node to get an accumulated stat for an entry. However skip nodes which do not have symbol info as they caused subtle problems. AFAICS the current sort methods cannot distinguish entries with NULL dso/sym well so that processing a c

[PATCH 10/14] perf ui/hist: Add support to accumulated hist stat

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim Print accumulated stat of a hist entry if requested. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/hist.c | 41 + tools/perf/util/hist.h | 1 + 2 files changed, 42 insertions(+) diff --git

[PATCH 11/14] perf ui/browser: Add support to accumulated hist stat

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim Print accumulated stat of a hist entry if requested. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 17 + 1 file changed, 17 insertions(+) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui

[PATCH 05/14] perf hists: Check if accumulated when adding a hist entry

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim To support callchain accumulation, @entry should be recognized if it's accumulated or not when add_hist_entry() called. The period of an accumulated entry should be added to ->stat_acc but not ->stat. Add @sample_self arg for that. Cc: Arun Sharma Cc: Frederic Weisbecker Si

[PATCH 12/14] perf ui/gtk: Add support to accumulated hist stat

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim Print accumulated stat of a hist entry if requested. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/hists.c | 16 1 file changed, 16 insertions(+) diff --git a/tools/perf/ui/gtk/hists.c b/tools/perf/ui/gtk/hists.

[PATCH 13/14] perf tools: Apply percent-limit to cumulative percentage

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim If -g cumulative option is given, it needs to show entries which don't have self overhead. So apply percent-limit to accumulated overhead percentage in this case. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 15 +

[PATCH 08/14] perf report: Cache cumulative callchains

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim It is possble that a callchain has cycles or recursive calls. In that case it'll end up having entries more than 100% overhead in the output. In order to prevent such entries, cache each callchain node and skip if same entry already cumulated. Cc: Arun Sharma Cc: Frederic W

[PATCH 07/14] perf tools: Update cpumode for each cumulative entry

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim The cpumode and level in struct addr_localtion was set for a sample and but updated as cumulative callchains were added. This led to have non-matching symbol and cpumode in the output. Update it accordingly based on the fact whether the map is a part of the kernel or not. Cc

[PATCH 01/14] perf tools: Consolidate __hists__add_*entry()

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim The __hists__add_{branch,mem}_entry() did almost same thing that __hists__add_entry() does. Consolidate them into one. Cc: Jiri Olsa Cc: Stephane Eranian Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-dif

[PATCH 14/14] perf report: Add -g cumulative option

2013-10-30 Thread Namhyung Kim
From: Namhyung Kim The -g cumulative option is for showing accumulated overhead (period) value as well as self overhead. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 2 ++ tools/perf/builtin-report.c | 3 +++

[PATCH 2/4] clk: clk-s2mps11: Add support for clocks in S5M8767 MFD

2013-10-30 Thread Tushar Behera
Since clock operation within S2MPS11 and S5M8767 are similar, we can support both the devices within a single driver. Signed-off-by: Tushar Behera CC: Yadwinder Singh Brar CC: Mike Turquette --- drivers/clk/Kconfig |6 -- drivers/clk/clk-s2mps11.c |5 + 2 files changed, 9

[PATCH 3/4] mfd: sec-core: Add cells for S5M8767-clocks

2013-10-30 Thread Tushar Behera
S5M8767 chip has 3 crystal oscillators running at 32KHz. These are supported by s2mps11-clk driver. Signed-off-by: Tushar Behera CC: Lee Jones --- drivers/mfd/sec-core.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c ind

[PATCH 4/4] ARM: dts: Add S5M8767 clock nodes on Arndale board

2013-10-30 Thread Tushar Behera
Signed-off-by: Tushar Behera CC: Kukjin Kim --- arch/arm/boot/dts/exynos5250-arndale.dts |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts index b77a37e..34b305d 100644 --- a/arch/arm/boot/dts/exynos

[PATCH 1/4] clk: clk-s2mps11: Refactor for including support for other MFD clocks

2013-10-30 Thread Tushar Behera
The clocks in S2MPS11 and S5M8767 are managed in the same way, baring a difference in the register offset. It would be better to update existing S2MPS11 driver to support the clocks in S5M8767, rather than creating an almost duplicate driver altogether. Signed-off-by: Tushar Behera CC: Yadwinder

[PATCH 0/4] Add support for clocks in S5M8767

2013-10-30 Thread Tushar Behera
S5M8767 chip has 3 crystal oscillators which are operated in the same as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to support clocks in S5M8767. The patches are based on next-20131030. Tushar Behera (4): clk: clk-s2mps11: Refactor for including support for other MFD clocks

Re: [PATCH] arc: include: asm: define empty SERIAL_PORT_DFNS in serial.h

2013-10-30 Thread Vineet Gupta
On 10/31/2013 07:15 AM, Chen Gang wrote: > For some architectures (e.g. arc, openrisc), BASE_BAUD isn't constant > And SERIAL_PORT_DFNS always use BASE_BAUND, and also all drivers use > SERIAL_PORT_DFNS to initialize static variables, statically. > > So need define SERIAL_PORT_DFNS as empty to tell

Re: [PATCH RFC] kvm: optimize out smp_mb using srcu_read_unlock

2013-10-30 Thread Gleb Natapov
On Wed, Oct 30, 2013 at 09:56:29PM -0700, Paul E. McKenney wrote: > On Thu, Oct 31, 2013 at 01:26:05AM +0200, Michael S. Tsirkin wrote: > > > > Paul, could you review this patch please? > > > > Documentation/memory-barriers.txt says that unlock has a weaker > > > > uni-directional barrier, but in p

Re: [3.11.4] Thunderbolt/PCI unplug oops in pci_pme_list_scan

2013-10-30 Thread Yinghai Lu
On Wed, Oct 30, 2013 at 12:57 AM, Yijing Wang wrote: Bisection points to 928bea964827d7824b548c1f8e06eccbbc4d0d7d . >>> >>> This is "PCI: Delay enabling bridges until they're needed" by Yinghai. >> >> that double disabling should be addressed by: >> >> https://lkml.org/lkml/2013/4/25/608 >> >

[drm pull] drm radeon fixes

2013-10-30 Thread Dave Airlie
Oops missed in my post ks sweep, just 3 small fixes for radeon. Dave. The following changes since commit 12aee278b50c4a94a93fa0b4d201ae35d792c696: Merge branch 'akpm' (fixes from Andrew Morton) (2013-10-30 14:27:10 -0700) are available in the git repository at: git://people.freedesktop.o

Re: [PATCH] pci: fix invalid list entry warning for double pci device removing via sysfs

2013-10-30 Thread Yinghai Lu
On Wed, Oct 30, 2013 at 3:14 AM, Gu Zheng wrote: > When concurent removing pci devices which are in the same pci subtree > via sysfs, such as: > echo -n 1 > /sys/bus/pci/devices/\:10\:00.0/remove ; echo -n 1 > > /sys/bus/pci/devices/\:1a\:01.0/remove > (1a:01.0 device is downstream from th

Re: [PATCH] arch: *: remove '__init' for setup_profiling_timer()

2013-10-30 Thread Chen Gang
On 10/31/2013 02:22 PM, Vineet Gupta wrote: > On 10/31/2013 11:45 AM, Chen Gang wrote: >> > Hmm... if so, recommend to modify another architectures which also only >> > return "-EINVAL", but without "__init" prefix. > Yes in first pass, it will only convert the arches which return EINVAL but > can

Re: [PATCH v4] efivars,efi-pstore: Hold off deletion of sysfs entry until the scan is completed

2013-10-30 Thread Madper Xie
seiji.agu...@hds.com writes: > Change from v3: > - Introduce EFI_VARS_DATA_SIZE_MAX macro. > - Add some description why a scanning/deleting logic is needed. > > Currently, when mounting pstore file system, a read callback of efi_pstore > driver runs mutiple times as below. > > - In the first read

[PATCH v2 3/4] ASoC: fsl_ssi: Add dual fifo mode support

2013-10-30 Thread Nicolin Chen
By enabling dual fifo mode, it would allow SSI enter a better performance to transimit/receive data without occasional hardware underrun/overrun. [ Passed compile-test with mpc85xx_defconfig ] Signed-off-by: Nicolin Chen --- sound/soc/fsl/fsl_ssi.c | 24 +++- 1 file changed,

[PATCH v2 1/4] dma: imx-sdma: Add sdma firmware version 2 support

2013-10-30 Thread Nicolin Chen
On i.MX5/6 series, SDMA is using new version firmware to support SSI dual FIFO feature and HDMI Audio (i.MX6Q/DL only). Thus add it. Signed-off-by: Nicolin Chen --- drivers/dma/imx-sdma.c | 15 ++- include/linux/platform_data/dma-imx-sdma.h | 3 +++ 2 files chang

[PATCH v2 4/4] ARM: dts: imx: use dual-fifo sdma script for ssi

2013-10-30 Thread Nicolin Chen
Use dual-fifo sdma scripts instead of shared scripts for ssi on i.MX series. Signed-off-by: Nicolin Chen --- arch/arm/boot/dts/imx51.dtsi | 4 ++-- arch/arm/boot/dts/imx53.dtsi | 4 ++-- arch/arm/boot/dts/imx6qdl.dtsi | 12 ++-- arch/arm/boot/dts/imx6sl.dtsi | 12 ++-- 4 f

[PATCH v2 2/4] dma: imx-sdma: Add new dma type for ssi dual fifo script

2013-10-30 Thread Nicolin Chen
This patch adds a new DMA_TYPE for SSI dual FIFO script, included in SDMA firmware version 2. This script would allow SSI use dual fifo mode to transimit/receive data without occasional hardware underrun/overrun. Signed-off-by: Nicolin Chen --- Documentation/devicetree/bindings/dma/fsl-imx-sdma.

[PATCH v2 0/4] Add dual-fifo mode support of i.MX ssi

2013-10-30 Thread Nicolin Chen
Changelog v2: * Instead of adding rogue scripts to current SDMA driver based on firmware * V1, we define the new SDMA firmware as version 2 and bisect the PATCH-1 * to two patches: The first is to add version check code to the SDMA driver; * And the second is to add SSI dual FIFO DMATYPE. * *

[PATCH v2] audit: remove useless code in audit_enable

2013-10-30 Thread Gao feng
Since kernel parameter is operated before initcall, so the audit_initialized must be AUDIT_UNINITIALIZED or DISABLED in audit_enable. Signed-off-by: Gao feng --- kernel/audit.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) change from v1: convert "printk(KERN_INFO " to "p

Re: [PATCH] commit: Add -f, --fixes option to add Fixes: line

2013-10-30 Thread Duy Nguyen
On Thu, Oct 31, 2013 at 1:12 AM, Johan Herland wrote: > Yes, we do lack a good infrastructure for managing Git hooks from > multiple sources. It makes people afraid to use them, because they > might conflict with hooks from another source. There are (off the top > of my head): > > - "personal" ho

linux-next: manual merge of the devicetree tree with the crypto tree

2013-10-30 Thread Stephen Rothwell
Hi Grant, Today's linux-next merge of the devicetree tree got a conflict in drivers/crypto/caam/jr.c between commit 313ea293e9c4 ("crypto: caam - Add Platform driver for Job Ring") from the crypto tree and commit f7578496a671 ("of/irq: Use irq_of_parse_and_map()") from the devicetree tree. I fixe

Re: [PATCH] arch: *: remove '__init' for setup_profiling_timer()

2013-10-30 Thread Vineet Gupta
On 10/31/2013 11:45 AM, Chen Gang wrote: > Hmm... if so, recommend to modify another architectures which also only > return "-EINVAL", but without "__init" prefix. Yes in first pass, it will only convert the arches which return EINVAL but can ask the maintainers whether they want the alternate ve

Re: [PATCH] arch: *: remove '__init' for setup_profiling_timer()

2013-10-30 Thread Chen Gang
On 10/31/2013 02:11 PM, Chen Gang wrote: > On 10/31/2013 01:45 PM, Vineet Gupta wrote: >> On 10/23/2013 07:36 AM, Chen Gang wrote: >>> Most of architectures not use '__init' for setup_profiling_timer(), so >>> need remove it, or can generate warning (e.g. arc with allmodconfig): >>> >>> MODPOST

Re: [PATCH] arch: *: remove '__init' for setup_profiling_timer()

2013-10-30 Thread Chen Gang
On 10/31/2013 01:45 PM, Vineet Gupta wrote: > On 10/23/2013 07:36 AM, Chen Gang wrote: >> Most of architectures not use '__init' for setup_profiling_timer(), so >> need remove it, or can generate warning (e.g. arc with allmodconfig): >> >> MODPOST vmlinux.o >> WARNING: vmlinux.o(.text+0x3c682

Re: Question: Takes about 2s in sched_clock_init() when kernel boots

2013-10-30 Thread Xie XiuQi
On 2013/10/31 13:29, Younger Liu wrote: > Hi, > When I analyse boot time on ArmV7, I found that it takes > about 2s in sched_clock_init(), the log is as follow: > [0.00] before:sched_clock_init. > [0.00] start:sched_clock_init. > [2.100505] end :sched_clock_init. > [2.103

Re: [PATCH 2/2] misc: atmel_pwm: set initcall level to subsys

2013-10-30 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:19 Thu 31 Oct , Bo Shen wrote: > Hi Arnd, > > On 10/31/2013 04:46, Arnd Bergmann wrote: > >On Wednesday 30 October 2013, Johan Hovold wrote: > >>>I really hate this type of patch, as it's papering over the real > >>>problem. What happens when someone else moves their driver to this > >>

RE: [PATCH net v2 2/3] r8152: modify the tx flow

2013-10-30 Thread hayeswang
From: David Miller [mailto:da...@davemloft.net] Sent: Thursday, October 31, 2013 5:05 AM > > From: Hayes Wang > Date: Wed, 30 Oct 2013 15:13:39 +0800 [...] > Basically, your driver will now queue up to 1,000 packets onto > this tx_queue list, because that is what tx_queue_len will be > for alloc

Re: [patch] mm, memcg: add memory.oom_control notification for system oom

2013-10-30 Thread Johannes Weiner
On Wed, Oct 30, 2013 at 06:39:16PM -0700, David Rientjes wrote: > A subset of applications that wait on memory.oom_control don't disable > the oom killer for that memcg and simply log or cleanup after the kernel > oom killer kills a process to free memory. > > We need the ability to do this for sy

Re: [PATCH 2/2] perf/x86/intel: Add Ivy Bridge-EP uncore IRP box support

2013-10-30 Thread Joe Perches
On Thu, 2013-10-31 at 13:36 +0800, Yan, Zheng wrote: > Unlike other uncore boxes, IRP boxes live in PCI buses with no UBOX > device. For PCI bus without UBOX device, we find the next bus that > has UBOX device and use its 'bus to socket' mapping. [] > diff --git a/arch/x86/kernel/cpu/perf_event_int

Re: [PATCH] arch: *: remove '__init' for setup_profiling_timer()

2013-10-30 Thread Vineet Gupta
On 10/23/2013 07:36 AM, Chen Gang wrote: > Most of architectures not use '__init' for setup_profiling_timer(), so > need remove it, or can generate warning (e.g. arc with allmodconfig): > > MODPOST vmlinux.o > WARNING: vmlinux.o(.text+0x3c682): Section mismatch in reference from the > functi

[PATCH 1/2] perf/x86/intel/uncore: Add filter support for IvyBridge-EP QPI boxes

2013-10-30 Thread Yan, Zheng
From: "Yan, Zheng" The encoding for filter registers of IvyBridge-EP uncore QPI boxes is completely the same as SandyBridge-EP. Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event_intel_uncore.c | 61 ++- 1 file changed, 51 insertions(+), 10 deletions(-) diff

[PATCH 2/2] perf/x86/intel: Add Ivy Bridge-EP uncore IRP box support

2013-10-30 Thread Yan, Zheng
From: "Yan, Zheng" Unlike other uncore boxes, IRP boxes live in PCI buses with no UBOX device. For PCI bus without UBOX device, we find the next bus that has UBOX device and use its 'bus to socket' mapping. Besides the counter/control registers in IRP boxes are not properly aligned Signed-off-b

Re: [PATCH v5] PWM: atmel-pwm: add PWM controller driver

2013-10-30 Thread Bo Shen
Hi Nicolas, On 10/28/2013 10:49 PM, Nicolas Ferre wrote: On 22/10/2013 12:13, Bo Shen : Hi All, On 10/8/2013 21:17, Thierry Reding wrote: On Mon, Sep 30, 2013 at 05:10:40PM +0800, Bo Shen wrote: Add Atmel PWM controller driver based on PWM framework. This is the basic function implementatio

Question: Takes about 2s in sched_clock_init() when kernel boots

2013-10-30 Thread Younger Liu
Hi, When I analyse boot time on ArmV7, I found that it takes about 2s in sched_clock_init(), the log is as follow: [0.00] before:sched_clock_init. [0.00] start:sched_clock_init. [2.100505] end :sched_clock_init. [2.103983] before:calibrate_delay. In my config, CONFIG_H

RE: [PATCHv4 5/9] Thermal: Add trip point sysfs nodes for sensor

2013-10-30 Thread R, Durgadoss
> -Original Message- > From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- > ow...@vger.kernel.org] On Behalf Of Srinivas Pandruvada > Sent: Thursday, October 31, 2013 7:03 AM > To: R, Durgadoss; Zhang, Rui > Cc: eduardo.valen...@ti.com; linux...@vger.kernel.org; linux- > ker...@vger.ker

Re: Re: [PATCH 3/3] md/raid5: For stripe with R5_ReadNoMerge, we replace REQ_FLUSH with REQ_NOMERGE.

2013-10-30 Thread kedacomkernel
>On Wed, 30 Oct 2013 10:41:46 +0800 majianpeng wrote: > >> For R5_ReadNoMerge,it mean this bio can't merge with other bios or >> request.It used REQ_FLUSH to achieve this. But REQ_NOMERGE can do the >> same work. >> >> Signed-off-by: Jianpeng Ma >> --- >> drivers/md/raid5.c | 2 +- >> 1 file ch

Re: [PATCH v2 1/2] clocksource: sh_tmu: Release clock when sh_tmu_register() fails

2013-10-30 Thread Simon Horman
On Tue, Oct 29, 2013 at 03:31:36PM +0100, Laurent Pinchart wrote: > Fix the probe error path to release the clock resource when the > sh_tmu_register() call fails. > > Cc: Daniel Lezcano > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Laurent Pinchart Thanks, I have queued this up. -- To un

Re: [PATCH v2 2/2] clocksource: sh_tmu: Add clk_prepare/unprepare support

2013-10-30 Thread Simon Horman
On Tue, Oct 29, 2013 at 03:31:37PM +0100, Laurent Pinchart wrote: > Prepare the clock at probe time, as there is no other appropriate place > in the driver where we're allowed to sleep. > > Cc: Daniel Lezcano > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Laurent Pinchart Thanks, I have qu

Re: [PATCH v2 2/2] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-30 Thread Simon Horman
On Tue, Oct 29, 2013 at 03:30:45PM +0100, Laurent Pinchart wrote: > Prepare the clock at probe time, as there is no other appropriate place > in the driver where we're allowed to sleep. > > Cc: Daniel Lezcano > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Laurent Pinchart Thanks, I have qu

Re: Any news on Runtime Interpreted Power Sequences

2013-10-30 Thread Alex Courbot
On 10/31/2013 01:59 PM, NeilBrown wrote: * PGP Signed by an unknown key On Tue, 29 Oct 2013 09:18:16 -0700 Mark Brown wrote: On Tue, Oct 29, 2013 at 11:10:37AM +1100, NeilBrown wrote: Yes, the device is soldered down and has a reset line that needs to be pulsed low at about the same time th

Re: [PATCH v2 1/2] clocksource: sh_mtu2: Release clock when sh_mtu2_register() fails

2013-10-30 Thread Simon Horman
On Tue, Oct 29, 2013 at 03:30:44PM +0100, Laurent Pinchart wrote: > Fix the probe error path to release the clock resource when the > sh_mtu2_register() call fails. > > Cc: Daniel Lezcano > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Laurent Pinchart Thanks, I have queued this up. -- To u

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-30 Thread Olof Johansson
On Wed, Oct 30, 2013 at 7:45 PM, Daniel Walker wrote: > On Wed, Oct 30, 2013 at 05:36:58PM -0700, Olof Johansson wrote: >> On Wed, Oct 30, 2013 at 4:25 PM, Daniel Walker wrote: >> >> > So the current users of those platforms are, what SOL ? >> >> What users? Show me one. > > What am I chop liver

Re: [PATCH] mm: __rmqueue_fallback() should respect pageblock type

2013-10-30 Thread KOSAKI Motohiro
(10/31/13 12:24 AM), kosaki.motoh...@gmail.com wrote: > From: KOSAKI Motohiro > > When __rmqueue_fallback() don't find out a free block with the same size > of required, it splits a larger page and puts back rest peiece of the page > to free list. > > But it has one serious mistake. When putting

Re: [PATCH] mm: __rmqueue_fallback() should respect pageblock type

2013-10-30 Thread KOSAKI Motohiro
(10/31/13 12:35 AM), Andrew Morton wrote: On Thu, 31 Oct 2013 00:24:49 -0400 kosaki.motoh...@gmail.com wrote: When __rmqueue_fallback() don't find out a free block with the same size of required, it splits a larger page and puts back rest peiece of the page to free list. But it has one serious

Re: Any news on Runtime Interpreted Power Sequences

2013-10-30 Thread NeilBrown
On Tue, 29 Oct 2013 09:18:16 -0700 Mark Brown wrote: > On Tue, Oct 29, 2013 at 11:10:37AM +1100, NeilBrown wrote: > > > Yes, the device is soldered down and has a reset line that needs to be > > pulsed > > low at about the same time that the MMC port enables the regulator. > > > How do you pro

Re: [PATCH] mm: Do not walk all of system memory during show_mem

2013-10-30 Thread KOSAKI Motohiro
(10/16/13 6:42 AM), Mel Gorman wrote: It has been reported on very large machines that show_mem is taking almost 5 minutes to display information. This is a serious problem if there is an OOM storm. The bulk of the cost is in show_mem doing a very expensive PFN walk to give us the following infor

Re: [PATCH RFC] kvm: optimize out smp_mb using srcu_read_unlock

2013-10-30 Thread Paul E. McKenney
On Thu, Oct 31, 2013 at 01:26:05AM +0200, Michael S. Tsirkin wrote: > > > Paul, could you review this patch please? > > > Documentation/memory-barriers.txt says that unlock has a weaker > > > uni-directional barrier, but in practice srcu_read_unlock calls > > > smp_mb(). > > > > > > Is it OK to re

Re: [RFC PATCH] kernel/kallsyms.c: only show legal kernel symbol

2013-10-30 Thread Ming Lei
On Thu, Oct 31, 2013 at 11:14 AM, Rusty Russell wrote: > Russell King - ARM Linux writes: > > Kallsyms tends to fall between modules and scripts. I assume it's not > urgent, so no cc:stable on this one. Rusty, thanks a lot. BTW, there is already other report on the problem: http://lkml.ind

I GOT YOUR CONTACT... I WAIT OK!

2013-10-30 Thread Mr Keba Ba
Dear Friend, Greeting to you!!! I know that this mail will come to you as a surprise as we never met before. I am Mr. Keba Ba The Chief representative of the African Development Bank for Central and West African Division, I Hoped that you will not expose or betray th

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-30 Thread HATAYAMA Daisuke
(2013/10/31 9:58), jerry.hoem...@hp.com wrote: On Wed, Oct 23, 2013 at 09:05:06AM +0900, HATAYAMA Daisuke wrote: - Rebased on top of v3.12-rc6 - Basic design has been changed. Now users need to figure out initial APIC ID of BSP in the 1st kernel and configures kernel parameter for the 2n

Re: perf events ring buffer memory barrier on powerpc

2013-10-30 Thread Paul E. McKenney
On Wed, Oct 30, 2013 at 03:28:54PM +0200, Victor Kaplansky wrote: > "Paul E. McKenney" wrote on 10/30/2013 > 11:27:25 AM: > > > If you were to back up that insistence with a description of the > orderings > > you are relying on, why other orderings are not important, and how the > > important ord

Re: perf events ring buffer memory barrier on powerpc

2013-10-30 Thread Paul E. McKenney
On Wed, Oct 30, 2013 at 04:51:16PM +0100, Peter Zijlstra wrote: > On Wed, Oct 30, 2013 at 03:28:54PM +0200, Victor Kaplansky wrote: > > one of the authors of Documentation/memory-barriers.txt is on cc: list ;-) > > > > Disclaimer: it is anyway impossible to prove lack of *any* problem. > > > > Ha

Re: 3.12-rc7 regression - network panic from ipv6

2013-10-30 Thread David Miller
From: mr...@linux.ee Date: Wed, 30 Oct 2013 23:41:09 +0200 (EET) >> Signed-off-by: Steffen Klassert > > Works fine, thanks! > > Tested-by: Meelis Roos Thanks for reporting the bug and testing the fix. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] mm: __rmqueue_fallback() should respect pageblock type

2013-10-30 Thread Andrew Morton
On Thu, 31 Oct 2013 00:24:49 -0400 kosaki.motoh...@gmail.com wrote: > When __rmqueue_fallback() don't find out a free block with the same size > of required, it splits a larger page and puts back rest peiece of the page > to free list. > > But it has one serious mistake. When putting back, __rmqu

Re: [PATCH] bnx2: Use dev_kfree_skb_any() in bnx2_tx_int()

2013-10-30 Thread David Miller
From: Cong Wang Date: Wed, 30 Oct 2013 15:01:12 -0700 > On Wed, Oct 30, 2013 at 2:32 PM, David Miller wrote: >> >> Explain to me then why other ethernet drivers implemented identically, >> such as tg3, can use plain dev_kfree_skb() just fine? > > I don't think they are fine, I just don't see bu

[PATCH] mm: __rmqueue_fallback() should respect pageblock type

2013-10-30 Thread kosaki . motohiro
From: KOSAKI Motohiro When __rmqueue_fallback() don't find out a free block with the same size of required, it splits a larger page and puts back rest peiece of the page to free list. But it has one serious mistake. When putting back, __rmqueue_fallback() always use start_migratetype if type is

linux-next: manual merge of the net-next tree with the net tree

2013-10-30 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/bridge/br_private.h between commit 06499098a02b ("bridge: pass correct vlan id to multicast code") from the net tree and commit 348662a1429f ("net: 8021q/bluetooth/bridge/can/ceph: Remove extern from function prototypes")

RE: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-10-30 Thread qiwang
On Tue, 2013-10-29 at 11:19 +, Artem Bityutskiy wrote: > On Mon, 2013-10-28 at 04:54 +, Qi Wang 王起 (qiwang) wrote: > > On Sa, 2013-10-26 at 05:19 +, Artem Bityutskiy wrote: > > > On Thu, 2013-10-10 at 08:28 +, Qi Wang 王起 (qiwang) wrote: > > > > But I want to say the potential risk i

Re: [RFC PATCH] kernel/kallsyms.c: only show legal kernel symbol

2013-10-30 Thread Rusty Russell
Russell King - ARM Linux writes: > On Mon, Oct 28, 2013 at 04:20:19PM +1030, Rusty Russell wrote: >> Ming Lei writes: >> > On Mon, 28 Oct 2013 13:44:30 +1030 >> > Rusty Russell wrote: >> > >> >> Ming Lei writes: >> >> >> >> I don't know... It would be your job, as the person making the change

Re: [RFC Part1 PATCH 00/20 v2] Add namespace support for audit

2013-10-30 Thread Gao feng
Hi Eric Paris, Can you give me some comments? You think the tying audit namespace to user namespace is a bad idea, so this patchset doesn't assign auditns to userns and introduce an new audit netlink type to help to create audit namespace. and this patchset also introduces an new proc interface

Re: [PATCH] Generic WorkQueue Engine (GenWQE) device driver (v4)

2013-10-30 Thread Ryan Mallon
On 30/10/13 20:32, Frank Haverkamp wrote: > From: Frank Haverkamp > Signed-off-by: Frank Haverkamp > Co-authors: Joerg-Stephan Vogt , > Michael Jung , > Michael Ruettger > --- > Documentation/ABI/testing/debugfs-driver-genwqe | 57 + > Documentation/ABI/testing/sysfs-

Re: [PATCH] [trivial] doc: usb: Fix typo in Documentation/usb/gadget_configs.txt

2013-10-30 Thread Randy Dunlap
On 10/30/13 18:57, Masanari Iida wrote: > Correct spelling typo in Documentation/usb/gadget_configs.txt > > Signed-off-by: Masanari Iida Acked-by: Randy Dunlap Thanks. > --- > Documentation/usb/gadget_configfs.txt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) -- ~Randy --

Re: perf confused by modules being loaded in between addresses in /proc/kallsyms

2013-10-30 Thread Ming Lei
Hi Michael, On Wed, Oct 30, 2013 at 8:53 AM, Michael Hudson-Doyle wrote: > Hi, > > On arm, probably since "ARM: use linker magic for vectors and vector > stubs" (although I haven't checked this), perf report tends to allocate > all kernel time to the module loaded at the highest address. > > This

Re: [patch 3/6] Cleanup efi_enter_virtual_mode function

2013-10-30 Thread H. Peter Anvin
On 10/30/2013 07:07 PM, Dave Young wrote: > On 10/31/13 at 10:04am, Dave Young wrote: >> On 10/30/13 at 11:47am, Borislav Petkov wrote: >>> On Wed, Oct 30, 2013 at 10:03:49AM +0800, Dave Young wrote: Will try, but please keep the posted patches in mailing list up-to-date, >>> >>> Would you lik

Re: [PATCH 3/3] md/raid5: For stripe with R5_ReadNoMerge, we replace REQ_FLUSH with REQ_NOMERGE.

2013-10-30 Thread NeilBrown
On Wed, 30 Oct 2013 10:41:46 +0800 majianpeng wrote: > For R5_ReadNoMerge,it mean this bio can't merge with other bios or > request.It used REQ_FLUSH to achieve this. But REQ_NOMERGE can do the > same work. > > Signed-off-by: Jianpeng Ma > --- > drivers/md/raid5.c | 2 +- > 1 file changed, 1 i

Re: [PATCH v4 1/3] hwmon: (lm90) Define status bits

2013-10-30 Thread Wei Ni
On 10/31/2013 10:47 AM, Wei Ni wrote: > On 10/30/2013 11:41 PM, Jean Delvare wrote: >> Hi Wei, >> >> On Wed, 7 Aug 2013 14:18:24 +0800, Wei Ni wrote: >>> Add bit defines for the status register. And add a function >>> lm90_is_tripped() which will read status register and return >>> tripped or not,

RE: [PATCH] net/cdc_ncm: fix null pointer panic at usbnet_link_change

2013-10-30 Thread Du, ChangbinX
> From: Bjørn Mork [mailto:bj...@mork.no] > Sent: Tuesday, October 29, 2013 4:41 PM > To: Du, ChangbinX > Cc: oli...@neukum.org; linux-...@vger.kernel.org; net...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] net/cdc_ncm: fix null pointer panic at usbnet_link_change > > "D

Re: [PATCH 0/2] make all stored entries accessible.

2013-10-30 Thread Madper Xie
tony.l...@intel.com writes: >> So, do you mean efivars should fix to use the "id" in a proper way? > > It would avoid the need for all these tests, and additions to the filename to > guarantee > uniqueness. > > Not sure what options efivars has to create a unique, persistent "id" for each > reco

[PATCH] fs/befs/linuxvfs.c: need signed cast for variable 'block'

2013-10-30 Thread Chen Gang
Need signed cast for it, the original author assume the type of 'block' is long, so just cast to long. The related warnings (with allmodconfig): fs/befs/linuxvfs.c:136:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] Signed-off-by: Chen Gang --- fs/befs/linux

Re: [PATCH v4 1/3] hwmon: (lm90) Define status bits

2013-10-30 Thread Wei Ni
On 10/30/2013 11:41 PM, Jean Delvare wrote: > Hi Wei, > > On Wed, 7 Aug 2013 14:18:24 +0800, Wei Ni wrote: >> Add bit defines for the status register. And add a function >> lm90_is_tripped() which will read status register and return >> tripped or not, then lm90_alert can call it directly, and in

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-30 Thread Daniel Walker
On Wed, Oct 30, 2013 at 05:36:58PM -0700, Olof Johansson wrote: > On Wed, Oct 30, 2013 at 4:25 PM, Daniel Walker wrote: > > > So the current users of those platforms are, what SOL ? > > What users? Show me one. > What am I chop liver ? Daniel -- To unsubscribe from this list: send the line "

Got iperf regression while intel_iommu is on, how to cut the cost of cache flushing

2013-10-30 Thread Ethan Zhao
Hi guys, We got network I/O performance degradation with latest stable kernel and the be2net driver as compared to old kernel 3.0.6. later we found even compared to the same latest stable kernel but the INTEL_IOMMU set to 'n', still got very noticeable performance regression: Kernel : 3

Re: [Resend PATCH 5/5] IA64/PCI/ACPI: Rework PCI root bridge ACPI resource conversion

2013-10-30 Thread Lan Tianyu
On 2013年10月31日 00:23, Bjorn Helgaas wrote: > On Wed, Oct 30, 2013 at 2:34 AM, Lan Tianyu wrote: >> On 2013年10月29日 01:32, Bjorn Helgaas wrote: >>> >>> On Sat, Oct 26, 2013 at 10:53 AM, Lan Tianyu wrote: On 10/24/2013 06:39 AM, Bjorn Helgaas wrote: > > On Fri, Oct 18, 2013 at 08:4

Re: [PATCH] mm: cma: free cma page to buddy instead of being cpu hot page

2013-10-30 Thread Laura Abbott
On 10/29/2013 10:40 PM, Minchan Kim wrote: We've had a similar patch in our tree for a year and a half because of CMA migration failures, not just for a speedup in allocation time. I understand that CMA is not the fast case or the general use case but the problem is that the cost of CMA failure

Re: [patch 3/6] Cleanup efi_enter_virtual_mode function

2013-10-30 Thread Dave Young
On 10/31/13 at 10:04am, Dave Young wrote: > On 10/30/13 at 11:47am, Borislav Petkov wrote: > > On Wed, Oct 30, 2013 at 10:03:49AM +0800, Dave Young wrote: > > > Will try, but please keep the posted patches in mailing list up-to-date, > > > > Would you like me to send them to you privately? > > Th

Re: [patch 3/6] Cleanup efi_enter_virtual_mode function

2013-10-30 Thread Dave Young
On 10/30/13 at 11:47am, Borislav Petkov wrote: > On Wed, Oct 30, 2013 at 10:03:49AM +0800, Dave Young wrote: > > Will try, but please keep the posted patches in mailing list up-to-date, > > Would you like me to send them to you privately? Thanks, do not bother to send me privately I can get it fr

[PATCH] [trivial] doc: usb: Fix typo in Documentation/usb/gadget_configs.txt

2013-10-30 Thread Masanari Iida
Correct spelling typo in Documentation/usb/gadget_configs.txt Signed-off-by: Masanari Iida --- Documentation/usb/gadget_configfs.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/usb/gadget_configfs.txt b/Documentation/usb/gadget_configfs.txt index 8ec2

[PATCH] openrisc: include: asm: define empty SERIAL_PORT_DFNS in serial.h

2013-10-30 Thread Chen Gang
For some architectures (e.g. openrisc, arc), BASE_BAUD isn't constant And SERIAL_PORT_DFNS always use BASE_BAUND, and also all drivers use SERIAL_PORT_DFNS to initialize static variables, statically. So need define SERIAL_PORT_DFNS as empty to tell drivers they don't support SERIAL_PORT_DFNS (most

[PATCH] arc: include: asm: define empty SERIAL_PORT_DFNS in serial.h

2013-10-30 Thread Chen Gang
For some architectures (e.g. arc, openrisc), BASE_BAUD isn't constant And SERIAL_PORT_DFNS always use BASE_BAUND, and also all drivers use SERIAL_PORT_DFNS to initialize static variables, statically. So need define SERIAL_PORT_DFNS as empty to tell drivers they don't support SERIAL_PORT_DFNS (most

[patch] mm, memcg: add memory.oom_control notification for system oom

2013-10-30 Thread David Rientjes
A subset of applications that wait on memory.oom_control don't disable the oom killer for that memcg and simply log or cleanup after the kernel oom killer kills a process to free memory. We need the ability to do this for system oom conditions as well, i.e. when the system is depleted of all memor

Re: [PATCHv4 5/9] Thermal: Add trip point sysfs nodes for sensor

2013-10-30 Thread Srinivas Pandruvada
You might want to use new DEVICE_ATTR_RO and DEVICE_ATTR_RW in this series. GKH wanted this changes in my powercap patchset. Thanks, Srinivas On 10/15/2013 06:12 AM, R, Durgadoss wrote: -Original Message- From: Zhang, Rui Sent: Tuesday, October 15, 2013 4:33 PM To: R, Durgadoss Cc: edu

Re: [PATCH] pci-sysfs: fix a potential deadlock when concurrent remove&rescan pci device via sysfs

2013-10-30 Thread Gu Zheng
Hi Bjorn, On 10/31/2013 01:19 AM, Bjorn Helgaas wrote: > On Wed, Oct 30, 2013 at 06:12:27PM +0800, Gu Zheng wrote: >> There is a potential deadlock situation when we manipulate pci device >> (remove&rescan) via the pci-sysfs user interfaces simultaneously. >> >> Privious patch: >> https://lkml.

Re: [RFC PATCH RESEND] fb: reorder the lock sequence to fix a potential lockdep

2013-10-30 Thread Gu Zheng
Hi Tomi, On 10/30/2013 07:20 PM, Tomi Valkeinen wrote: > Hi, > > On 2013-10-28 08:01, Gu Zheng wrote: >> Following commits: >> 50e244cc79 fb: rework locking to fix lock ordering on takeover >> e93a9a8687 fb: Yet another band-aid for fixing lockdep mess >> 054430e773 fbcon: fix locking harder >>

Re: [PATCH 2/2] misc: atmel_pwm: set initcall level to subsys

2013-10-30 Thread Bo Shen
Hi Arnd, On 10/31/2013 04:46, Arnd Bergmann wrote: On Wednesday 30 October 2013, Johan Hovold wrote: I really hate this type of patch, as it's papering over the real problem. What happens when someone else moves their driver to this level? Then you are back to the original problem. Yes, it'

Re: WTF: driver-core-next contains recursive directory removal!

2013-10-30 Thread Eric W. Biederman
Greg Kroah-Hartman writes: > On Wed, Oct 30, 2013 at 03:38:58PM -0700, Eric W. Biederman wrote: >> >> Greg what is going on? I just looked and Tejuns ill-conceived recursive >> directory deletion code has been merged into your driver-core-next tree. >> >> That code is semantically broken. I

Re: [RFC 4/9] of/irq: Refactor interrupt-map parsing

2013-10-30 Thread Ming Lei
On Wed, Oct 30, 2013 at 12:23 AM, Olof Johansson wrote: > Hi, > > On Tue, Oct 15, 2013 at 1:39 PM, Grant Likely wrote: >> All the users of of_irq_parse_raw pass in a raw interrupt specifier from >> the device tree and expect it to be returned (possibly modified) in an >> of_phandle_args structure

[PATCH 3/4] ACPICA: Return error if DerefOf resolves to a null package element.

2013-10-30 Thread Lv Zheng
From: Bob Moore commit a50abf4842dd7d603a2ad6dcc7f1467fd2a66f03 upstream. Disallow the dereference of a reference (via index) to an uninitialized package element. Provides compatibility with other ACPI implementations. ACPICA BZ 1003. Cc: # 3.8.x: 3f654ba: ACPICA: Interpreter: Fix Cc: # 3.8

[PATCH 2/4] ACPICA: DeRefOf operator: Update to fully resolve FieldUnit and BufferField refs.

2013-10-30 Thread Lv Zheng
From: Bob Moore commit 63660e05ec719613b518547b40a1c501c10f0bc4 upstream. Previously, references to these objects were resolved only to the actual FieldUnit or BufferField object. The correct behavior is to resolve these references to an actual value. The problem is that DerefOf did not resolve

[PATCH 4/4] ACPICA: Fix for a Store->ArgX when ArgX contains a reference to a field.

2013-10-30 Thread Lv Zheng
From: Bob Moore commit 4be4be8fee2ee99a52f94f90d03d2f287ee1db86 upstream. This change fixes a problem where a Store operation to an ArgX object that contained a reference to a field object did not complete the automatic dereference and then write to the actual field object. Instead, the object t

[PATCH 0/4] ACPICA: Stable material of ACPI executer fixes for linux-3.8.

2013-10-30 Thread Lv Zheng
There are bug-fixes for AML interpreter upstreamed, fixing some serious issues found in recent platforms. These fixes make Linux AML interpreter more ACPI 2.0 ASL concept compliant. Further AML interpreter fixes should be based on such improvements, thus they are good materials for stable. This

  1   2   3   4   5   6   7   >