[PATCH 5/5] stop_machine: cpu_stop_park() should remove cpu_stop_work's from list

2015-06-29 Thread Oleg Nesterov
cpu_stop_park() does cpu_stop_signal_done() but leaves the work on stopper->works. The owner of this work can free/reuse this memory right after that and corrupt the list, so if this CPU becomes online again cpu_stopper_thread() will crash. Signed-off-by: Oleg Nesterov --- kernel/stop_machine.c

[PATCH 3/5] stop_machine: unexport __stop_machine()

2015-06-29 Thread Oleg Nesterov
The only caller outside of stop_machine.c is _cpu_down(), it can use stop_machine(). get_online_cpus() is fine under cpu_hotplug_begin(). Signed-off-by: Oleg Nesterov --- include/linux/stop_machine.h | 22 ++ kernel/cpu.c |3 +-- kernel/stop_machine.c

Re: [RFC v2 PATCH 7/8] mm: add the buddy system interface

2015-06-29 Thread Xishi Qiu
On 2015/6/30 9:01, Kamezawa Hiroyuki wrote: > On 2015/06/30 8:11, Luck, Tony wrote: >>> @@ -814,7 +814,7 @@ int __init_memblock memblock_clear_hotplug(phys_addr_t >>> base, phys_addr_t size) >>>*/ >>> int __init_memblock memblock_mark_mirror(phys_addr_t base, phys_addr_t >>> size) >>> {

Re: [PATCH] lib/bitmap.c: return -EINVAL for grouping errors in __bitmap_parselist

2015-06-29 Thread Pan Xinhui
hi, Yury thanks for your nice reply. On 2015年06月29日 21:39, Yury Norov wrote: Sometimes the input from user may cause an unexpected result. Could you please provide specific example? I wrote some scripts to do some tests about irqs. echo "1-3," > /proc/irq//smp_affinity_list this comm

Re: [RFC PATCH v9 49/50 -fix] perf probe: Init symbol as kprobe if any event is kprobe

2015-06-29 Thread Wangnan (F)
On 2015/6/29 22:33, Arnaldo Carvalho de Melo wrote: Em Sat, Jun 27, 2015 at 12:25:45PM +, Wang Nan escreveu: Before this patch, add_perf_probe_events() init symbol maps only for uprobe if the first 'struct perf_probe_event' passed to it is a uprobe event. This is a trick because 'perf prob

Re: [RFC v2 PATCH 0/8] mm: mirrored memory support for page buddy allocations

2015-06-29 Thread Dave Hansen
On 06/29/2015 06:26 PM, Xishi Qiu wrote: >> > Has there been any performance analysis done on this code? I'm always >> > nervous when I see page_alloc.c churn. >> > > Not yet, which benchmark do you suggest? mmtests is always a good place to start. aim9. I'm partial to will-it-scale. -- To u

Re: [PATCH v2] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-06-29 Thread Reyad Attiyat
Hey Mathias, The intention is to send an extra endpoint packet of length zero as my wireless card needs this to function properly. I have skimmed through the xhci spec and assumed that each td would generate a packet. That is why I do not chain the last trb or add a interrupt flag, since I don't w

Hello

2015-06-29 Thread brian . girling
Am writing you regarding a deceased clients of ours that shares the same surname as yours. Please reply to siegelsanth...@hotmail.com for more info. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [RFC v2 PATCH 7/8] mm: add the buddy system interface

2015-06-29 Thread Kamezawa Hiroyuki
On 2015/06/30 10:31, Xishi Qiu wrote: On 2015/6/30 9:01, Kamezawa Hiroyuki wrote: On 2015/06/30 8:11, Luck, Tony wrote: @@ -814,7 +814,7 @@ int __init_memblock memblock_clear_hotplug(phys_addr_t base, phys_addr_t size) */ int __init_memblock memblock_mark_mirror(phys_addr_t base, phys_

Re: [PATCH] ARM: dts: vf610: Extend I2C support to all available buses.

2015-06-29 Thread Cory Tusar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/16/2015 04:50 AM, Stefan Agner wrote: > On 2015-06-15 02:19, Cory Tusar wrote: >> This commit extends the existing Vybrid I2C support to cover buses i2c1, >> i2c2, and i2c3. Based in (very) large part on an initial patch by >> Stefan Agner that

[PATCH][RESEND] btrfs: fix search key advancing condition

2015-06-29 Thread Naohiro Aota
The search key advancing condition used in copy_to_sk() is loose. It can advance the key even if it reaches sk->max_*: e.g. when the max key = (512, 1024, -1) and the current key = (512, 1025, 10), it increments the offset by 1, continues hopeless search from (512, 1025, 11). This issue make ioctl(

Re: [RFC PATCH v9 02/50] tools build: Add feature check for eBPF API

2015-06-29 Thread Wangnan (F)
On 2015/6/30 3:41, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 29, 2015 at 04:21:51PM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Jun 26, 2015 at 02:15:07PM +, Wang Nan escreveu: In this patch, eBPF API is checked by compiling a c source file which uses fields in bpf_attr which will

Re: [RFC v2 PATCH 2/8] mm: introduce MIGRATE_MIRROR to manage the mirrored pages

2015-06-29 Thread Xishi Qiu
On 2015/6/29 15:32, Kamezawa Hiroyuki wrote: > On 2015/06/27 11:24, Xishi Qiu wrote: >> This patch introduces a new migratetype called "MIGRATE_MIRROR", it is used >> to >> allocate mirrored pages. >> When cat /proc/pagetypeinfo, you can see the count of free mirrored blocks. >> >> Signed-off-by:

RE: [f2fs-dev] [PATCH 01/12] f2fs: avoid freed stat information

2015-06-29 Thread Chao Yu
-Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, June 30, 2015 2:39 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 01/12] f2fs: avoid freed stat

[PULL] modules-next

2015-06-29 Thread Rusty Russell
The following changes since commit a8b253b9f253c05e5e10b829b8d1fb24556f4b56: Merge tag 'pinctrl-v4.1-4' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl (2015-05-25 15:15:54 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ru

Re: [RFC v2 PATCH 0/8] mm: mirrored memory support for page buddy allocations

2015-06-29 Thread Xishi Qiu
On 2015/6/30 9:52, Dave Hansen wrote: > On 06/29/2015 06:26 PM, Xishi Qiu wrote: Has there been any performance analysis done on this code? I'm always nervous when I see page_alloc.c churn. >> Not yet, which benchmark do you suggest? > > mmtests is always a good place to start. a

Re: [GIT PULL] ext4 changes for 4.2-rc1

2015-06-29 Thread Theodore Ts'o
On Mon, Jun 29, 2015 at 11:04:37AM +0200, Jan Kara wrote: > > BTW, what did you use to trigger the error for you? The ext4 path where the > assertion triggered for Linus is definitely correct so the assertion > failure was a false positive. I've managed to trigger it twice in about 5 or 6 full ru

Re: [RFC v2 PATCH 1/8] mm: add a new config to manage the code

2015-06-29 Thread Xishi Qiu
On 2015/6/29 14:50, Kamezawa Hiroyuki wrote: > On 2015/06/27 11:23, Xishi Qiu wrote: >> This patch introduces a new config called "CONFIG_ACPI_MIRROR_MEMORY", set it > CONFIG_MEMORY_MIRROR >> off by default. >> >> Signed-off-by: Xishi Qiu >> --- >> m

RE: [f2fs-dev] [PATCH 02/12] f2fs: avoid to use failed inode immediately

2015-06-29 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, June 30, 2015 2:39 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 02/12] f2fs: avoid to use fa

[PATCH v2 0/4] Add Mediatek MT8173 subsystem clocks support

2015-06-29 Thread James Liao
This patchset is based on 4.1-rc1 plus [1], and contains subsystem clocks support for Mediatek MT8173. There are many different implementation suggestions due to each subsystem HW contains multiple functions, such as clock and reset controllers. In this patch, I still put subsystem clock implemen

[PATCH v2 3/4] clk: mediatek: Add subsystem clocks of MT8173

2015-06-29 Thread James Liao
Most multimedia subsystem clocks will be accessed by multiple drivers, so it's a better way to manage these clocks in CCF. This patch adds clock support for MM, IMG, VDEC, VENC and VENC_LT subsystems. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt8173.c | 298

RE: [f2fs-dev] [PATCH 03/12] f2fs: convert inline_data for various fallocate

2015-06-29 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, June 30, 2015 2:39 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 03/12] f2fs: convert inline_

[PATCH v2 4/4] clk: mediatek: Add USB clock support in MT8173 APMIXEDSYS

2015-06-29 Thread James Liao
Add REF2USB_TX clock support into MT8173 APMIXEDSYS. This clock is needed by USB 3.0. Signed-off-by: James Liao --- drivers/clk/mediatek/clk-mt8173.c | 143 + drivers/clk/mediatek/clk-pll.c | 7 +- include/dt-bindings/clock/mt8173-clk.h | 3 +- 3

[PATCH v2 1/4] clk: mediatek: mt8173: Fix enabling of critical clocks

2015-06-29 Thread James Liao
From: Sascha Hauer On the MT8173 the clocks are provided by different units. To enable the critical clocks we must be sure that all parent clocks are already registered, otherwise the parents of the critical clocks end up being unused and get disabled later. To find a place where all parents are

[PATCH v2 2/4] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock controllers

2015-06-29 Thread James Liao
This adds the binding documentation for the mmsys, imgsys, vdecsys, vencsys and vencltsys controllers found on Mediatek SoCs. Signed-off-by: James Liao --- .../bindings/arm/mediatek/mediatek,imgsys.txt | 22 ++ .../bindings/arm/mediatek/mediatek,mmsys.txt | 22

RE: [f2fs-dev] [PATCH 04/12] f2fs: remove wrong f2fs_bug_on when merging extents

2015-06-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, June 30, 2015 2:39 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 04/12] f2fs: re

[PATCH 2/2] perf,tools: check and re-organize evsel cpu maps

2015-06-29 Thread kan . liang
From: Kan Liang Some PMU events have cpumask, e.g uncore events. The cpu list set by user may be incompatible with event's cpumask. This patch will check the user defined cpu list. If the incompatible cpu is found, it will warn the user and discard the incompatible cpu. Only available cpu can be

[PATCH 1/2] perf,tools: get correct cpu id for print_aggr

2015-06-29 Thread kan . liang
From: Kan Liang print_aggr fails to print per-core/per-socket statistics after commit b7f0c203586b ("perf evlist: Propagate cpu maps to evsels in an evlist"), if events have differnt cpus. Because in print_aggr, aggr_get_id needs index (not cpu id) to find core/pkg id. This patch introduced perf_

RE: [f2fs-dev] [PATCH 05/12] f2fs: fix wrong block address calculation for a split extent

2015-06-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, June 30, 2015 2:39 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 05/12] f2fs: fi

RE: [f2fs-dev] [PATCH 06/12] f2fs: update on-disk extents even under extent_cache

2015-06-29 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, June 30, 2015 2:40 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 06/12] f2fs: update on-disk

Re: drm/mgag200: doesn't work in panic context

2015-06-29 Thread Rui Wang
On Monday, June 29, 2015 5:25 PM, Daniel Vetter wrote: > As long as the display is up and running we should have a fair stab at > showing the oops - it's just that no one has seriously bothered with > the necessary infastructure, automated testing (it won't work > otherwise) and driver work. I th

Re: [PATCH 2/2] usb: chipidea: Wait 50 ms before reading ID bit

2015-06-29 Thread Peter Chen
On Fri, Jun 26, 2015 at 03:47:04PM +0200, Mike Looijmans wrote: > The datasheet for the USB343x PHY mentions a 50ms wait time before > reading back the ID bit after enabling the internal pull-up or a > reset: > "To monitor the status of the ID pin, the Link activates the IdPullup > bit in the OTG C

RE: [f2fs-dev] [PATCH 07/12] f2fs: set cached_en after checking finally

2015-06-29 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, June 30, 2015 2:40 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 07/12] f2fs: set cached_en a

Re: [PATCH 1/1] cxl/vphb.c: Use phb pointer after NULL check

2015-06-29 Thread Ian Munsie
Acked-by: Ian Munsie -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RESEND] Update kernel math-emu code from current glibc soft-fp

2015-06-29 Thread Michael Ellerman
On Mon, 2015-06-22 at 13:26 +, Joseph Myers wrote: > From: Joseph Myers > > The include/math-emu code (used for alpha powerpc sh sparc, and to a > very limited extent for s390) was taken from an old version of glibc's > soft-fp code around 15 years ago (in the pre-git era, anyway, and some .

Re: [PATCH 1/2] Move the pt_regs_offset struct definition from arch to common include file

2015-06-29 Thread Michael Ellerman
On Wed, 2015-06-17 at 14:30 -0400, David Long wrote: > On 06/16/15 09:17, Rob Herring wrote: > > On Mon, Jun 15, 2015 at 11:42 AM, David Long wrote: > >> > >> #define REG_OFFSET_NAME(r) \ > >> {.name = #r, .offset = offsetof(struct pt_regs, ARM_##r)} > >> #define REG_OFFSET_END {.name

Re: [PATCH 1/2] usb: chipidea: Reduce ULPI PHY reset pulse to datasheet spec of 1us

2015-06-29 Thread Peter Chen
On Fri, Jun 26, 2015 at 03:47:03PM +0200, Mike Looijmans wrote: > The datasheet for the 334x PHY mentions that a reset can be performed: > "... by bringing the pin low for a minimum of 1 microsecond and > then high." > A delay of 5ms to implement that seems overly long, so reduce it to > just 1us.

Re: Official bugreport 4.1 kernel (audio gadget and ChipIdea)

2015-06-29 Thread Peter Chen
On Fri, Jun 26, 2015 at 07:15:18PM +0200, Sébastien Pruvost wrote: > Hello, > > I'm sending this mail to report a bug concerning the latest kernel 4.1. > > Here is the problem (and the test I've done): > > I have firstly used the 3.10.53 kernel for my two sabrelites > in > order

RE: [f2fs-dev] [PATCH 08/12] f2fs: introduce a shrinker for mounted fs

2015-06-29 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, June 30, 2015 2:40 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 08/12] f2fs: introduce a shr

linux-next: build warning in the origin tree

2015-06-29 Thread Stephen Rothwell
Hi Linus, Building the origin tree, today's linux-next build (powerpc allyesconfig) produced this warning: WARNING: mm/built-in.o(.text.unlikely+0xc22): Section mismatch in reference from the function .new_kmalloc_cache() to the variable .init.rodata:kmalloc_info The function .new_kmalloc_cache(

[GIT PULL] xfs: updates for 4.2-rc1

2015-06-29 Thread Dave Chinner
Hi Linus, Can you please pull the XFS updates from the tag below? There's a couple of small API changes to the core DAX code which required small changes to the ext2 and ext4 code bases, but otherwise everything is within the XFS codebase. See the tag below for more detail on the individual change

Re: [PATCH] dmaengine: pl330: Really fix choppy sound because of wrong residue calculation

2015-06-29 Thread Vinod Koul
On Mon, Jun 22, 2015 at 11:14:42AM +0900, Krzysztof Kozłowski wrote: > 2015-06-15 23:00 GMT+09:00 Krzysztof Kozlowski : > > When pl330 driver was used during sound playback, after some time or > > after a number of plays the sound became choppy or totally noisy. For > > example on Odroid XU3 board

Re: [PATCH] rtl8712:Fix checkpatch warning

2015-06-29 Thread Sudip Mukherjee
On Tue, Jun 30, 2015 at 01:27:47AM +0530, Ravi Teja Darbha wrote: > > 1. Fix line over 80 characters warning. > 2. The checkpatch warning at line 499 seems to be false positive. > WARNING: else is not generally useful after a break or return > #499: FILE: rtl8712_recv.c:499: > +return

Re: [PATCH 11/28] ARCv2: extable: Enable sorting at build time

2015-06-29 Thread Vineet Gupta
On Tuesday 30 June 2015 02:08 AM, David Daney wrote: >> >> Sorry for missing you in the CC in orig post of this patch. Can I get your >> Ack on >> this one ! >> > > OK: > > Acked-by: David Daney Thx David. Although I had put the patch as it is in the end as I need to send a pull request to Lin

Re: [PATCH v2 4/4] arm64: dts: Add spi bus dts

2015-06-29 Thread Daniel Kurtz
Hi Leilk, On Mon, Jun 29, 2015 at 9:04 PM, Leilk Liu wrote: > This patch adds MT8173 spi bus controllers into device tree. > > Signed-off-by: Leilk Liu > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek

Re: [GIT PULL 00/24] perf/core improvements and fixes

2015-06-29 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 6eedf416429a32e0216f61b8b690d25577b2b91e: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/k

Re: [PATCH] dmaengine: pl330: Really fix choppy sound because of wrong residue calculation

2015-06-29 Thread Krzysztof Kozłowski
2015-06-30 13:14 GMT+09:00 Vinod Koul : > On Mon, Jun 22, 2015 at 11:14:42AM +0900, Krzysztof Kozłowski wrote: >> 2015-06-15 23:00 GMT+09:00 Krzysztof Kozlowski : >> > When pl330 driver was used during sound playback, after some time or >> > after a number of plays the sound became choppy or totall

[tip:perf/urgent] perf trace: Validate syscall list passed via -e argument

2015-06-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d0cc439b30be638c3a606767e9469c300d397433 Gitweb: http://git.kernel.org/tip/d0cc439b30be638c3a606767e9469c300d397433 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 25 Jun 2015 19:32:33 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 10:47:41 -0300 pe

[tip:perf/urgent] perf thread_map: Introduce thread_map__reset function

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 62eea464380633b88902da35bf9cbd8515289703 Gitweb: http://git.kernel.org/tip/62eea464380633b88902da35bf9cbd8515289703 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:06 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:03:41 -0300 perf thread_map:

[tip:perf/urgent] perf tests: Add thread_map object tests

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 134aa44f6bff6b967efb85255ee9e8982cb8e486 Gitweb: http://git.kernel.org/tip/134aa44f6bff6b967efb85255ee9e8982cb8e486 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:08 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:09:38 -0300 perf tests: Add t

[tip:perf/urgent] perf thrad_map: Add comm string into array

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 792402fd5c0a5a5300868e9dfc8ee569f3a39169 Gitweb: http://git.kernel.org/tip/792402fd5c0a5a5300868e9dfc8ee569f3a39169 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:07 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:07:01 -0300 perf thrad_map: A

[tip:perf/urgent] perf stat: Introduce perf_counts function

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 1ac77e1ce8654ec94ada0c508d58ba80a4647fba Gitweb: http://git.kernel.org/tip/1ac77e1ce8654ec94ada0c508d58ba80a4647fba Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:09 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:11:26 -0300 perf stat: Introd

[tip:perf/urgent] perf stat: Use xyarray for cpu evsel counts

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: a8e02324dfe6bcafc15d02b790f33321ec4facb0 Gitweb: http://git.kernel.org/tip/a8e02324dfe6bcafc15d02b790f33321ec4facb0 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:10 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:19:19 -0300 perf stat: Use xy

[tip:perf/urgent] perf stat: Rename struct perf_counts:: cpu member to values

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 57b289159ab4fe1f7b2b531464cf67f65e48dd00 Gitweb: http://git.kernel.org/tip/57b289159ab4fe1f7b2b531464cf67f65e48dd00 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:12 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:25:03 -0300 perf stat: Rename

[tip:perf/urgent] perf stat: Make stats work over the thread dimension

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: a6fa003855d38d53d90c1a8a5827102e62702334 Gitweb: http://git.kernel.org/tip/a6fa003855d38d53d90c1a8a5827102e62702334 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:11 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:20:02 -0300 perf stat: Make s

[tip:perf/urgent] perf stat: Introduce perf_evlist__reset_stats

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 254ecbc7474dfa08155c5595e90cd4a0fa9d14ce Gitweb: http://git.kernel.org/tip/254ecbc7474dfa08155c5595e90cd4a0fa9d14ce Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:13 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:25:39 -0300 perf stat: Introd

[tip:perf/urgent] perf stat: Move perf_evsel__(alloc|free|reset) _stat_priv into stat object

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 9689edfabc1547155a7cdd1304fd294107054291 Gitweb: http://git.kernel.org/tip/9689edfabc1547155a7cdd1304fd294107054291 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:14 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:26:44 -0300 perf stat: Move p

[tip:perf/urgent] perf stat: Move perf_evsel__(alloc|free) _prev_raw_counts into stat object

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: a939512d10a5583a32ae85c1bff6c4ae63a8a517 Gitweb: http://git.kernel.org/tip/a939512d10a5583a32ae85c1bff6c4ae63a8a517 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:15 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:34:43 -0300 perf stat: Move p

[tip:perf/urgent] perf stat: Move perf_evlist__(alloc|free|reset) _stats into stat object

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 24e34f68e21a47a582b3cc2eccdb835b80b1830a Gitweb: http://git.kernel.org/tip/24e34f68e21a47a582b3cc2eccdb835b80b1830a Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:16 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:44:37 -0300 perf stat: Move p

[PATCH 1/1] igb: Use ARRAY_SIZE instead fo sizeof(a)/sizeof(a[0])

2015-06-29 Thread Maninder Singh
Use ARRAY_SIZE instead fo sizeof(a)/sizeof(a[0]) Signed-off-by: Maninder Singh Reviewed-by: Yogesh Narayan Gaur --- drivers/net/ethernet/intel/igb/e1000_phy.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/intel/igb/e1000_phy.c b/drivers/net/e

[tip:perf/urgent] perf stat: Introduce perf_evsel__alloc_stats function

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: a7d0a102e4ae46b75b70a9500979e7ed3cdf183f Gitweb: http://git.kernel.org/tip/a7d0a102e4ae46b75b70a9500979e7ed3cdf183f Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:17 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:46:00 -0300 perf stat: Introd

[tip:perf/urgent] perf stat: Introduce read_counters function

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 106a94a0f8c207ef4113ce7e32f34a00b3b174e7 Gitweb: http://git.kernel.org/tip/106a94a0f8c207ef4113ce7e32f34a00b3b174e7 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:19 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:48:02 -0300 perf stat: Introd

[tip:perf/urgent] perf stat: Introduce perf_evsel__read function

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: f99f4719b841a9745d6a7652eef3956aaf2db66a Gitweb: http://git.kernel.org/tip/f99f4719b841a9745d6a7652eef3956aaf2db66a Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:18 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:46:57 -0300 perf stat: Introd

[tip:perf/urgent] perf stat: Move zero_per_pkg into counter process code

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 32ce0a47aaa401a7dd27dfe65210f3e3aa809682 Gitweb: http://git.kernel.org/tip/32ce0a47aaa401a7dd27dfe65210f3e3aa809682 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:21 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:49:45 -0300 perf stat: Move z

[tip:perf/urgent] perf stat: Separate counters reading and processing

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 3b3eb044519ac4c422dbc6084303c470b8d2dc61 Gitweb: http://git.kernel.org/tip/3b3eb044519ac4c422dbc6084303c470b8d2dc61 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:20 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:49:03 -0300 perf stat: Separa

Re: [RFC PATCH 1/2] regmap: add configurable lock class key for lockdep

2015-06-29 Thread Nicolas Boichat
On Mon, Jun 29, 2015 at 04:34:11PM +0100, Mark Brown wrote: > On Mon, Jun 29, 2015 at 04:18:11PM +0200, Lars-Peter Clausen wrote: > > Leaves us pretty much with only two options. Either add a lock key pointer > > to regmap_config which needs to be manually initialized. Or wrap all > > regmap_init()

[tip:perf/urgent] perf stat: Move perf_stat initialization counter process code

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 7ddb1b6bbf1e614e6700f226cb0a559c5c635336 Gitweb: http://git.kernel.org/tip/7ddb1b6bbf1e614e6700f226cb0a559c5c635336 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:22 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:50:19 -0300 perf stat: Move p

[tip:perf/urgent] perf stat: Using init_stats instead of memset

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 5835e2286583e4fa6c2a609446e1320e7da2b161 Gitweb: http://git.kernel.org/tip/5835e2286583e4fa6c2a609446e1320e7da2b161 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:25 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:51:49 -0300 perf stat: Using

[tip:perf/urgent] perf stat: Remove perf_evsel__read_cb function

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: d8ee3b54d0458cbed0a31a410458f4bfd38fc147 Gitweb: http://git.kernel.org/tip/d8ee3b54d0458cbed0a31a410458f4bfd38fc147 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:23 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:50:51 -0300 perf stat: Remove

[tip:perf/urgent] perf stat: Rename print_interval to process_interval

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: ba411a954eae3e88c02667a5670cac97fb9c3f58 Gitweb: http://git.kernel.org/tip/ba411a954eae3e88c02667a5670cac97fb9c3f58 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:24 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 11:51:23 -0300 perf stat: Rename

[tip:perf/urgent] perf stat: Introduce print_counters function

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: d4f63a4741a808c0bf25d92884713008706fca16 Gitweb: http://git.kernel.org/tip/d4f63a4741a808c0bf25d92884713008706fca16 Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:26 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 12:00:50 -0300 perf stat: Introd

[tip:perf/urgent] perf symbols: Check access permission when reading symbol files

2015-06-29 Thread tip-bot for Li Zhang
Commit-ID: 36c8bb56a9f718a9a5f35d1834ca9dcec95deb4a Gitweb: http://git.kernel.org/tip/36c8bb56a9f718a9a5f35d1834ca9dcec95deb4a Author: Li Zhang AuthorDate: Fri, 19 Jun 2015 16:57:33 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 12:11:53 -0300 perf symbols: Chec

[tip:perf/urgent] perf stat: Introduce --per-thread option

2015-06-29 Thread tip-bot for Jiri Olsa
Commit-ID: 32b8af82e3708bc19af75c31fa773a98449f0edc Gitweb: http://git.kernel.org/tip/32b8af82e3708bc19af75c31fa773a98449f0edc Author: Jiri Olsa AuthorDate: Fri, 26 Jun 2015 11:29:27 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 26 Jun 2015 12:05:04 -0300 perf stat: Introd

Re: [GIT PULL 0/8] perf/pt -> Intel PT/BTS

2015-06-29 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, there are several other patches after this, > but I think that this may be acceptable to showcase the capabilities already > present, look at the output of 'perf script' and callchains for userspace > without using

Re: [PATCH] fs/file.c: __fget() and dup2() atomicity rules

2015-06-29 Thread Eric Dumazet
On Mon, 2015-06-29 at 18:46 +0100, Al Viro wrote: > On Mon, Jun 29, 2015 at 05:10:30PM +0200, Eric Dumazet wrote: > > From: Eric Dumazet > > > > __fget() makes sure a file refcount is not zero before > > taking a reference. It should also fetch again file pointer > > in order to respect dup2() at

Re: [PATCH 1/1] igb: Use ARRAY_SIZE instead fo sizeof(a)/sizeof(a[0])

2015-06-29 Thread Joe Perches
On Tue, 2015-06-30 at 10:25 +0530, Maninder Singh wrote: > Use ARRAY_SIZE instead fo sizeof(a)/sizeof(a[0]) I think all of these #defines should be removed instead as they are all used only once. > diff --git a/drivers/net/ethernet/intel/igb/e1000_phy.c > b/drivers/net/ethernet/intel/igb/e1000_p

Re: [all better] Re: regression: massive trouble with fpu rework

2015-06-29 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 06/29/2015 02:35 AM, Ingo Molnar wrote: > > > > Indeed, I bet that makes a difference! > > > > I wish that 'unmasking' logic came with more comments: > > > > - Why do BIOSen ever mask CPUIDs? > > > > To work around bugs in legacy operating systems. > > > - W

Re: [all better] Re: regression: massive trouble with fpu rework

2015-06-29 Thread Ingo Molnar
* Borislav Petkov wrote: > On Mon, Jun 29, 2015 at 02:27:23PM +0200, Mike Galbraith wrote: > > With it commented out, and fpu__init_system() either back at previously > > booting position [5] or at original [0], doesn't matter, box is dead, > > but differently. It stalls after setting clocksour

Re: [all better] Re: regression: massive trouble with fpu rework

2015-06-29 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 06/28/2015 11:40 PM, Ingo Molnar wrote: > > > > Ok, so could you please move the fpu__init_system() further up and see > > which > > position is that starts breaking with the BIOS option set? > > > > here's the current, broken layout of the code: > > > >

Re: [v2,2/3] watchdog: max63xx: add GPIO support

2015-06-29 Thread Vivien Didelot
Hi Guenter, On Jun 27, 2015, at 12:17 PM, Guenter Roeck li...@roeck-us.net wrote: > On 06/22/2015 01:43 PM, Vivien Didelot wrote: >> Hi Guenter, >> >> On Jun 22, 2015, at 12:53 PM, Guenter Roeck li...@roeck-us.net wrote: >>> On Wed, Jun 17, 2015 at 06:58:59PM -0400, Vivien Didelot wrote: Int

Re: [PATCH 3/3] x86_64: kasan: add message about kasan being initialized

2015-06-29 Thread Ingo Molnar
* Andrey Ryabinin wrote: > On 06/20/2015 04:18 PM, Ingo Molnar wrote: > > > > Please call it 'kasan' or 'KASAN', and also explain it in the message and > > prefix > > it properly with the subsystem name (kasan), so something like: > > > > pr_info("kasan: Kernel Address SANitizer (KASAN)

[RFC 0/2] drm/dsi: DSI for devices with different control bus

2015-06-29 Thread Archit Taneja
We are currently restricted when it comes to supporting DSI on devices that have a non-DSI control bus. For example, DSI encoder chips are available in the market that are configured via i2c. Configuring their registers via DSI bus is either optional or not available at all. These devices still ne

[RFC 1/2] drm/dsi: Create dummy DSI devices

2015-06-29 Thread Archit Taneja
We can have devices where the data bus is MIPI DSI, but the control bus is something else (i2c, spi etc). A typical example is i2c controlled encoder bridge chips. Such devices too require passing DSI specific parameters (number of data lanes, DSI mode flags, color format etc) to their DSI host. F

[RFC 2/2] drm/dsi: Get DSI host by DT device node

2015-06-29 Thread Archit Taneja
mipi_dsi_devices are inherently aware of their host because they share a parent-child hierarchy in the device tree. Non-dsi drivers that create a dummy dsi device don't have this data. In order to get this information, they require to a phandle to the dsi host in the device tree. Maintain a list

[tip:x86/urgent] x86/fpu: Fix FPU related boot regression when CPUID masking BIOS feature is enabled

2015-06-29 Thread tip-bot for Ingo Molnar
Commit-ID: db52ef74b35dcb91fd154fa52c618bdd1b90e28e Gitweb: http://git.kernel.org/tip/db52ef74b35dcb91fd154fa52c618bdd1b90e28e Author: Ingo Molnar AuthorDate: Sat, 27 Jun 2015 10:25:14 +0200 Committer: Ingo Molnar CommitDate: Tue, 30 Jun 2015 07:22:10 +0200 x86/fpu: Fix FPU related boo

Re: [PATCH-V5 4/4] mfd: devicetree: bindings: Add new 88pm800 mfd binding

2015-06-29 Thread Vaibhav Hiremath
On Tuesday 30 June 2015 06:01 AM, Krzysztof Kozlowski wrote: 2015-06-30 0:31 GMT+09:00 Vaibhav Hiremath : With addition of DT support to 88pm800 mfd driver, this patch adds new DT binding documentation along with respective properties. Signed-off-by: Vaibhav Hiremath (once again, too early

[PATCH v2] kexec: Make a pair of map and unmap reserved pages when kdump fails to start

2015-06-29 Thread Minfei Huang
For some arch, kexec shall map the reserved pages, then use them, when we try to start the kdump service. Now kexec will never unmap the reserved pages, once it fails to continue starting the kdump service. Make a pair of reserved pages in kdump starting path, whatever kexec fails or not. Signed

[PATCH V1] regulator: da9211: support da9215

2015-06-29 Thread James Ban
This is a patch for supporting da9215 buck converter. Signed-off-by: James Ban --- This patch is relative to linux-next repository tag next-20150625. .../devicetree/bindings/regulator/da9211.txt | 32 +++- drivers/regulator/Kconfig |6 +-- driv

linux-next: Tree for Jun 30

2015-06-29 Thread Stephen Rothwell
Hi all, Changes since 20150629: I added a supplied patch to the akpm tree to fix a build problem. Non-merge commits (relative to Linus' tree): 1766 1583 files changed, 96150 insertions(+), 24683 deletions(-) I

[PATCH] rts5208:Fix checkpatch warnings

2015-06-29 Thread Ravi Teja Darbha
Else condition after if statement is not necessary, hence removed. Signed-off-by: Ravi Teja Darbha --- drivers/staging/rts5208/xd.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/staging/rts5208/xd.c b/drivers/staging/rts5208/xd.c index 10fea7b..42d8d82 10

Re: [PATCH] rtl8712:Fix checkpatch warning

2015-06-29 Thread Larry Finger
On 06/29/2015 11:29 PM, Sudip Mukherjee wrote: On Tue, Jun 30, 2015 at 01:27:47AM +0530, Ravi Teja Darbha wrote: 1. Fix line over 80 characters warning. 2. The checkpatch warning at line 499 seems to be false positive. WARNING: else is not generally useful after a break or return #499: FILE: rt

Re: [PATCH v2 2/2] schedstat: Expose /proc/pid/schedstat if CONFIG_SCHED_INFO is set

2015-06-29 Thread Srikar Dronamraju
* Naveen N. Rao [2015-06-25 23:53:38]: > /* > * Provides /proc/PID/schedstat > */ > static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns, > struct pid *pid, struct task_struct *task) > { > - seq_printf(m, "%llu %llu %lu\n", > + if (

Re: [PATCH v2] watchdog: omap_wdt: early_enable module parameter

2015-06-29 Thread Paul Gortmaker
On Thu, Jun 25, 2015 at 9:46 AM, Guenter Roeck wrote: > On 06/25/2015 03:21 AM, poesc...@lemonage.de wrote: >> >> From: Lars Poeschel >> >> Add a early_enable module parameter to the omap_wdt that starts the >> watchdog on module insertion. The default value is 0 which does not >> start the watch

Re: vfio: powerpc/spapr: One function call less in tce_iommu_attach_group() after kzalloc() failure

2015-06-29 Thread SF Markus Elfring
>>> than the existing one should have been renamed to "free_exit" or >>> "free_unlock_exit" >>> and new one would be "unlock_exit". >> >> I chose a smaller change at this place. > > I'd just drop this patch. How do you think about to improve the affected jump labels a bit more there? Regards, M

Re: [PATCH 2/3] mfd: Remove MFD_CROS_EC depends on X86 || ARM

2015-06-29 Thread Paul Gortmaker
[Re: [PATCH 2/3] mfd: Remove MFD_CROS_EC depends on X86 || ARM] On 25/06/2015 (Thu 10:44) Javier Martinez Canillas wrote: > Hello Lee, > > On 06/25/2015 10:38 AM, Lee Jones wrote: > > On Thu, 25 Jun 2015, Javier Martinez Canillas wrote: > > > >> A dependency on X86 || ARM for MFD_CROS_EC was ad

Re: [PATCH] rts5208:Fix checkpatch warnings

2015-06-29 Thread Sudip Mukherjee
On Tue, Jun 30, 2015 at 11:25:24AM +0530, Ravi Teja Darbha wrote: > Else condition after if statement is not necessary, hence removed. else is not necessary after if??? then what it is supposed to be used? :) I think your commit message should have been: "else is not necessary after return stateme

[PATCH] backlight: lp855x: use private data for regulator control

2015-06-29 Thread Milo Kim
LP855x backlight device can be enabled by external VDD input. The 'supply' data is used for this purpose. It's kind of private data which runs internally, so there is no reason to expose to the platform data. And LP855x DT property, 'power-supply' is unnecessary. If a regulator is registered corre

Re: [PATCH v2 2/2] schedstat: Expose /proc/pid/schedstat if CONFIG_SCHED_INFO is set

2015-06-29 Thread Naveen N. Rao
On 2015/06/30 11:25AM, Srikar Dronamraju wrote: > * Naveen N. Rao [2015-06-25 23:53:38]: > > > /* > > * Provides /proc/PID/schedstat > > */ > > static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns, > > struct pid *pid, struct task_struct *task

Re: [PATCH] gpio: generic: add get_direction support

2015-06-29 Thread Linus Walleij
On Fri, Jun 12, 2015 at 6:20 PM, Philipp Zabel wrote: > Allow to determine the current direction configuration by > reading back from the direction register. > > Signed-off-by: Philipp Zabel Patch applied for the next kernel cycle (4.3). Yours, Linus Walleij -- To unsubscribe from this list: s

Re: [PATCH] pinctrl: samsung: Remove old unused defines

2015-06-29 Thread Linus Walleij
On Mon, Jun 15, 2015 at 6:54 AM, Krzysztof Kozlowski wrote: > Since 9a2c1c3b91aa ("pinctrl: samsung: Allow grouping multiple > pinmux/pinconf nodes") the defines for GPIO group and function names are > not used anywhere in the driver. > > Signed-off-by: Krzysztof Kozlowski > Inspired-by: Dan Car

  1   2   3   4   5   6   7   8   >