Re: [PATCH] ver_linux: libcpp.patch

2015-10-01 Thread Greg KH
On Thu, Oct 01, 2015 at 09:17:42PM +0300, Alexander Kapshuk wrote: > Neither 'libg++.so', nor 'libstdc++.so' were found where the current > implementation expects them to be found in the distros below. > > > Gentoo Linux > Debian 6.0.10 > Oracle Linux Server release 7.1 > > The proposed

[PATCH 1/5] Staging: rtl8192u: quoted strings split across lines

2015-10-01 Thread mike dupuis
This is a patch to fix up instances where quoted strings are split across multiple lines in several instances in ieee80211_crypt_ccmp.c Signed-off-by: Mike Dupuis --- .../rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 27 +- 1 file changed, 11 insertions(+), 16

[PATCH 2/5] Staging: rtl8192u: missing blank lines after declarations

2015-10-01 Thread mike dupuis
This is a patch to add missing lines after variable decalarations in two functions in ieee80211_crypt_ccmp.c Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 3/5] Staging: rtl8192u: Fix block comment formatting

2015-10-01 Thread mike dupuis
This is a patch to correct block comment formatting in two instances in ieee80211_crypt_ccmp.c Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 5/5] Staging: rtl8192u: Remove spaces at the start of lines

2015-10-01 Thread mike dupuis
This is a patch to correct indentation in one instance in ieee80211_crypt_ccmp.c Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c

[PATCH v3] mtd: nand: pass page number to ecc->write_xxx() methods

2015-10-01 Thread Boris Brezillon
The ->read_xxx() methods are all passed the page number the NAND controller is supposed to read, but ->write_xxx() do not have such a parameter. This is a problem if we want to properly implement data scrambling/randomization in order to mitigate MLC sensibility to repeated pattern: to prevent

[PATCH 4/5] Staging: rtl8192u: Correct open brace placement

2015-10-01 Thread mike dupuis
This is a patch to move open braces to the appropriate lines in two instances in ieee80211_crypt_ccmp.c Signed-off-by: Mike Dupuis --- drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_ccmp.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH 0/5] Staging: rtl8192u: checkpatch.pl issues

2015-10-01 Thread mike dupuis
This is a series of patches to correct several checkpatch.pl warnings and errors in ieee80211_crypt_ccmp.c. Checkpatch.pl before/after summary: before: total: 2 errors, 23 warnings, 23 checks, 474 lines checked after: total: 0 errors, 10 warnings, 27 checks, 469 lines checked Mike Dupuis (5):

[PATCH 3/3] page-flags: hide PF_* validation check under separate config option

2015-10-01 Thread Kirill A. Shutemov
VM_BUG_ONs in PF_NO_TAIL() and PF_NO_COMPOUND() add 4+ KiB to mm/build-in.o for DEBUG_VM kernel. Let's hide them under new config option -- CONFIG_DEBUG_VM_PGFLAGS. With the option enabled VM_BUG_ON_PGFLAGS() is equal to VM_BUG_ON_PAGE. Signed-off-by: Kirill A. Shutemov ---

Re: [PATCH v4 1/5] gadget: Introduce the notifier functions

2015-10-01 Thread Greg KH
On Thu, Oct 01, 2015 at 12:29:32PM -0500, Felipe Balbi wrote: > On Thu, Sep 24, 2015 at 10:39:23AM -0700, Baolin Wang wrote: > > The usb charger framework is based on usb gadget. The usb charger > > need to be notified the state changing of usb gadget to confirm the > > usb charger state. > > > >

[PATCH 2/3] page-flags: add documentation for policies

2015-10-01 Thread Kirill A. Shutemov
The patch adds description for page flags policies. Signed-off-by: Kirill A. Shutemov --- include/linux/page-flags.h | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 465ca42af633..19e4129f00e5

[PATCH 0/3] page-flags updates

2015-10-01 Thread Kirill A. Shutemov
Few updates based on Andrew's feedback. Kirill A. Shutemov (3): page-flags: do not corrupt caller 'page' in PF_NO_TAIL page-flags: add documentation for policies page-flags: hide PF_* validation check under separate config option include/linux/mmdebug.h| 6 ++

[PATCH 1/3] page-flags: do not corrupt caller 'page' in PF_NO_TAIL

2015-10-01 Thread Kirill A. Shutemov
Andrew noticed that PF_NO_TAIL() modifies caller's 'page'. This doesn't trigger any bad results, because all users are inline functions which doesn't use the variable beyond the point. But still not good. The patch changes PF_NO_TAIL() to always return head page, regardless 'enforce'. This makes

[RFC/PATCH 02/38] perf tools: Save mmap_param.len instead of mask

2015-10-01 Thread Namhyung Kim
It is more convenient saving mmap length rather than (bit) mask. With this patch, we can eliminate dependency to perf_evlist other than getting mmap_desc for dealing with mmaps. The mask and length can be converted using perf_evlist__mmap_mask/len(). Cc: Jiri Olsa Cc: Adrian Hunter

[RFC/PATCH 05/38] perf tools: Create separate mmap for dummy tracking event

2015-10-01 Thread Namhyung Kim
When indexed data file support is enabled, a dummy tracking event will be used to track metadata (like task, comm and mmap events) for a session and actual samples will be recorded in separate (intermediate) files and then merged (with index table). Provide separate mmap to the dummy tracking

[RFC/PATCH 03/38] perf tools: Move auxtrace_mmap field to struct perf_evlist

2015-10-01 Thread Namhyung Kim
Since it's gonna share struct mmap with dummy tracking evsel to track meta events only, let's move auxtrace out of struct perf_mmap. Cc: Adrian Hunter Signed-off-by: Namhyung Kim --- tools/perf/builtin-record.c | 4 ++-- tools/perf/util/evlist.c| 30 +-

Re: [RFC v2 6/7] powerpc: atomic: Make atomic{,64}_xchg and xchg a full barrier

2015-10-01 Thread Peter Zijlstra
On Fri, Oct 02, 2015 at 07:19:04AM +0800, Boqun Feng wrote: > Hi Peter, > > Please forgive me for the format of my reply. I'm travelling, > and replying from my phone. > > 2015年10月1日 下午7:28,"Peter Zijlstra" 写道: > > > > On Wed, Sep 16, 2015 at 11:49:34PM +0800, Boqun Feng wrote: > > > According

[RFC/PATCH 08/38] perf tools: Handle indexed data file properly

2015-10-01 Thread Namhyung Kim
When perf detects data file has index table, process header part first and then rest data files in a row. Note that the indexed sample data is recorded for each cpu/thread separately, it's already ordered with respect to themselves so no need to use the ordered event queue interface.

[RFC/PATCH 10/38] perf report: Skip dummy tracking event

2015-10-01 Thread Namhyung Kim
The dummy tracking event is only for tracking task/comom/mmap events and has no sample data for itself. So no need to report, just skip it. Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c| 3 +++ tools/perf/ui/browsers/hists.c | 30 --

Queueing b0a688ddcc50 "usb: musb: cppi41: allow it to work again" for -stable

2015-10-01 Thread Ezequiel Garcia
Hello, Commit b0a688ddcc50 "usb: musb: cppi41: allow it to work again" seems to fix a regression. It applies cleanly on v4.1 and removes the "musb-hdrc musb-hdrc.1.auto: Need DT for the DMA engine." error. Any chance you can queue it for -stable? Thanks! -- Ezequiel García, VanguardiaSur

[RFC/PATCH 13/38] perf tools: Use thread__comm_by_time() when adding hist entries

2015-10-01 Thread Namhyung Kim
Now thread->comm can be handled with time properly, use it to find the correct comm at the time when adding hist entries. Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 5 +++-- tools/perf/builtin-diff.c | 8 tools/perf/tests/hists_link.c

[RFC/PATCH 15/38] perf tools: Introduce machine__find*_thread_by_time()

2015-10-01 Thread Namhyung Kim
With data file indexing is enabled, it needs to search thread based on sample time since sample processing is done after other (task, comm and mmap) events are processed. This can be a problem if a session is very long and pid is recycled - in that case it'll only see the last one. So keep

linux-next: Tree for Oct 2

2015-10-01 Thread Stephen Rothwell
Hi all, There will be no linux-next release on Monday. Changes since 20151001: I used the h8300 tree from next-20150828 since the current tree has been rebased onto linux-next again :-( The battery tree still had its build failure so I used the version from next-20150925. The target-updates

[RFC/PATCH 17/38] perf tools: Maintain map groups list in a leader thread

2015-10-01 Thread Namhyung Kim
To support multi-threaded perf report, we need to maintain time-sorted map groups. Add ->mg_list member to struct thread and sort the list by time. Now leader threads have one more refcnt for map groups in the list so also update the thread-mg-share test case. Currently only add a new map

[RFC/PATCH 19/38] perf callchain: Use thread__find_addr_location_by_time() and friends

2015-10-01 Thread Namhyung Kim
Find correct thread/map/symbol using proper functions. Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/machine.c | 25 - tools/perf/util/unwind-libdw.c | 12 +++- tools/perf/util/unwind-libunwind.c | 27

Re: [PATCH 1/2] irqchip: sunxi-nmi: Use driver name instead of DT node name for identification

2015-10-01 Thread Chen-Yu Tsai
On Fri, Oct 2, 2015 at 4:14 AM, Maxime Ripard wrote: > Hi, > > On Thu, Oct 01, 2015 at 11:33:48PM +0800, Chen-Yu Tsai wrote: >> The device tree node name is typically "interrupt-controller", which is >> rather useless when used in printk messages and irq chip names for >> identification purposes.

[RFC/PATCH 28/38] perf tools: Move BUILD_ID_SIZE definition to perf.h

2015-10-01 Thread Namhyung Kim
The util/event.h includes util/build-id.h only for BUILD_ID_SIZE. This is a problem when I include util/event.h from util/tool.h which is also included by util/build-id.h since it now makes a circular dependency resulting in incomplete type error. Signed-off-by: Namhyung Kim ---

[RFC/PATCH 23/38] perf tools: Use map_groups__find_addr_by_time()

2015-10-01 Thread Namhyung Kim
Use timestamp to find a corresponding map so that it can find a match symbol eventually. Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/util/event.c | 81 ++-- tools/perf/util/thread.c | 8 +++-- 2 files changed, 77 insertions(+),

[RFC/PATCH 25/38] perf callchain: Maintain libunwind's address space in map_groups

2015-10-01 Thread Namhyung Kim
Currently the address_space was kept in thread struct but it's more appropriate to keep it in map_groups as it's maintained throughout exec's with timestamps. Also we should not flush the address space after exec since it still can be accessed when used with an indexed data file. Cc: Frederic

[RFC/PATCH 22/38] perf tools: Introduce map_groups__{insert,find}_by_time()

2015-10-01 Thread Namhyung Kim
It'll manage maps using timestamp so that it can find correct map/symbol for sample at a certain time. With this API, it can maintain overlapping maps in a map_groups. Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/util/map.c | 64

[RFC/PATCH 21/38] perf tools: Save timestamp of a map creation

2015-10-01 Thread Namhyung Kim
It'll be used to support multiple maps on a same address like dlopen() and/or JIT compile cases. Cc: Stephane Eranian Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/dso.c | 2 +- tools/perf/util/machine.c | 29 +

[RFC/PATCH 26/38] perf session: Pass struct events stats to event processing functions

2015-10-01 Thread Namhyung Kim
Pass stats structure so that it can point separate object when used in multi-thread environment. Signed-off-by: Namhyung Kim --- tools/perf/util/session.c | 71 ++- 1 file changed, 45 insertions(+), 26 deletions(-) diff --git

[RFC/PATCH 27/38] perf hists: Pass hists struct to hist_entry_iter struct

2015-10-01 Thread Namhyung Kim
This is a preparation for perf report multi-thread support. When multi-thread is enable, each thread will have its own hists during the sample processing. Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 1 + tools/perf/builtin-top.c | 1 +

[RFC/PATCH 28/38] perf tools: Move BUILD_ID_SIZE definition to perf.h

2015-10-01 Thread Namhyung Kim
The util/event.h includes util/build-id.h only for BUILD_ID_SIZE. This is a problem when I include util/event.h from util/tool.h which is also included by util/build-id.h since it now makes a circular dependency resulting in incomplete type error. Signed-off-by: Namhyung Kim ---

Re: [PATCH v2 1/4] dt-bindings: add sunxi SPDIF transceiver bindings

2015-10-01 Thread Code Kipper
>> + >> + - compatible : should be one of the following: >> +- "allwinner,sun4i-a10-spdif": for the Allwinner A10 SoC >> +- "allwinner,sun7i-a20-spdif": for the Allwinner A20 SoC >> +- "allwinner,sun6i-a31-spdif": for the Allwinner A31 SoC > > Are all these compatibles

[RFC/PATCH 16/38] perf tools: Add a test case for timed thread handling

2015-10-01 Thread Namhyung Kim
A test case for verifying live and dead thread tree management during time change and new machine__find{,new}_thread_time(). Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/tests/Build| 1 + tools/perf/tests/builtin-test.c | 4 +

[RFC/PATCH 20/38] perf tools: Add a test case for timed map groups handling

2015-10-01 Thread Namhyung Kim
A test case for verifying thread->mg and ->mg_list handling during time change and new thread__find_addr_map_by_time() and friends. Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/tests/Build| 1 + tools/perf/tests/builtin-test.c | 4 ++

[RFC/PATCH 12/38] perf tools: Add a test case for thread comm handling

2015-10-01 Thread Namhyung Kim
The new test case checks various thread comm handling APIs like overridding and time sorting. Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/tests/Build | 1 + tools/perf/tests/builtin-test.c | 4 tools/perf/tests/tests.h| 1 +

[RFC/PATCH 06/38] perf tools: Extend perf_evlist__mmap_ex() to use track mmap

2015-10-01 Thread Namhyung Kim
The perf_evlist__mmap_ex function creates data and auxtrace mmaps and optionally tracking mmaps for events now. It'll be used for perf record to save events in a separate files and build an index table. Checking dummy tracking event in perf_evlist__mmap() alone is not enough as users can specify

[RFC/PATCH 18/38] perf tools: Introduce thread__find_addr_location_by_time() and friends

2015-10-01 Thread Namhyung Kim
These new functions are for find appropriate map (and symbol) at the given time when used with an indexed data file. This is based on the fact that map_groups list is sorted by time in the previous patch. Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/event.c | 59

[RFC/PATCH 11/38] perf tools: Introduce thread__comm(_str)_by_time() helpers

2015-10-01 Thread Namhyung Kim
When data file indexing is enabled, it processes all task, comm and mmap events first and then goes to the sample events. So all it sees is the last comm of a thread although it has information at the time of sample. Sort thread's comm by time so that it can find appropriate comm at the sample

[RFC/PATCH 14/38] perf tools: Convert dead thread list into rbtree

2015-10-01 Thread Namhyung Kim
Currently perf maintains dead threads in a linked list but this can be a problem if someone needs to search from it especially in a large session which might have many dead threads. Convert it to a rbtree like normal threads and it'll be used later with multi-thread changes. The list node is now

[RFC/PATCH 24/38] perf tools: Add testcase for managing maps with time

2015-10-01 Thread Namhyung Kim
This tests new map_groups__{insert,find}_by_time() API working correctly by using 3 * 100 maps. Cc: Stephane Eranian Signed-off-by: Namhyung Kim --- tools/perf/tests/Build | 1 + tools/perf/tests/builtin-test.c| 4 ++ tools/perf/tests/tests.h | 1 +

[RFC/PATCH 09/38] perf record: Add --index option for building index table

2015-10-01 Thread Namhyung Kim
The new --index option will create indexed data file which can be processed by multiple threads parallelly. It saves meta event and sample data in separate files and merges them with an index table. If there's an index table in the data file, the HEADER_DATA_INDEX feature bit is set and

[RFC/PATCH 07/38] perf tools: Add HEADER_DATA_INDEX feature

2015-10-01 Thread Namhyung Kim
The HEADER_DATA_INDEX feature is to record index table for sample data so that they can be processed by multiple thread concurrently. Each item is a struct perf_file_section which consists of an offset and size. Signed-off-by: Namhyung Kim --- tools/perf/builtin-record.c | 2 ++

[RFC/PATCH 01/38] perf tools: Use a software dummy event to track task/mmap events

2015-10-01 Thread Namhyung Kim
Add APIs for software dummy event to track task/comm/mmap events separately. The perf record will use them to save such events in a separate mmap buffer to make it easy to index. This is a preparation of multi-thread support which will come later. Cc: Adrian Hunter Signed-off-by: Namhyung Kim

[RFC/PATCH 04/38] perf tools: pass perf_mmap desc directly

2015-10-01 Thread Namhyung Kim
Pass struct perf_mmap to mmap handling functions directly. This will be used by both of normal mmap and track mmap later. Signed-off-by: Namhyung Kim --- tools/perf/util/evlist.c | 24 +++- tools/perf/util/evlist.h | 1 + 2 files changed, 16 insertions(+), 9 deletions(-)

[RFC/PATCH 00/38] perf tools: Speed-up perf report by using multi thread (v5)

2015-10-01 Thread Namhyung Kim
Hello, This patchset converts perf report to use multiple threads in order to speed up the processing on large data files. I can see a minimum ~30% of speedup with this change. The code is still experimental and contains many rough edges. But I'd like to share and give some feedbacks. *

Re: [PATCH 4.2 00/30] 4.2.3-stable review

2015-10-01 Thread Sudip Mukherjee
On Thu, Oct 01, 2015 at 11:21:22AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.2.3 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [RFC] arm: Add generic smc wrapper

2015-10-01 Thread kbuild test robot
Hi Lars, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: arm-rpc_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

Re: [PATCH v3 2/5] mailbox: Add support for ST's Mailbox IP

2015-10-01 Thread Jassi Brar
On Wed, Aug 19, 2015 at 7:52 PM, Lee Jones wrote: > + > +#define MBOX_BASE(mdev, inst) ((mdev)->base + (inst * 4)) > It should be(inst) * 4 > +/** > + * STi Mailbox device data > + * > + * An IP Mailbox is currently composed of 4 instances > + * Each instance is currently composed

Re: CPU hotplug and chained interrupts on x86

2015-10-01 Thread Mika Westerberg
On Thu, Oct 01, 2015 at 11:45:23PM +0200, Thomas Gleixner wrote: > On Thu, 1 Oct 2015, Thomas Gleixner wrote: > > On Thu, 1 Oct 2015, Mika Westerberg wrote: > > > Now if I plug/unplug the card I may get few interrupts to CPU0 but rest > > > of the interrupts never happen. Probably because IO-APIC

Re: [RFC PATCH 00/20] Coresight integration with perf

2015-10-01 Thread Alexander Shishkin
Mathieu Poirier writes: > On 30 September 2015 at 02:52, Alexander Shishkin > wrote: >> Mathieu Poirier writes: >> >>> This patchset aims to integrate configuration and control of >>> the Coresight tracers with the perf sub-system. >>> >>> The goal is to use PMUs to represent tracers and the

[PATCH v2 14/38] clk: vt8500: fix sign of possible PLL values

2015-10-01 Thread Andrzej Hajda
With unsigned values underflow in loops can occur resulting in theoretically infinite loops. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by:

Re: [RFC PATCH 15/20] coresight: etm-perf: implementing 'setup_aux()' API

2015-10-01 Thread Alexander Shishkin
Mathieu Poirier writes: > On 30 September 2015 at 05:50, Alexander Shishkin > wrote: >> Mathieu Poirier writes: >> >>> +static void *etm_setup_aux(int cpu, void **pages, >>> + int nr_pages, bool overwrite) >>> +{ >>> + struct coresight_device *csdev; >>> + >>> +

Re: [RFC PATCH 06/20] coresight: etm3x: unlocking tracer in default arch init

2015-10-01 Thread Alexander Shishkin
Mathieu Poirier writes: > On 30 September 2015 at 05:33, Alexander Shishkin > wrote: >> Mathieu Poirier writes: >> >>> Calling function 'smp_call_function_single()' to unlock the >>> tracer and calling it right after to perform the default >>> initialisation doesn't make sense. >>> >>> Moving

[PATCH v5 1/3] ARM: uniphier: add outer cache support

2015-10-01 Thread Masahiro Yamada
This commit adds support for UniPhier outer cache controller. All the UniPhier SoCs are equipped with the L2 cache, while the L3 cache is currently only integrated on PH1-Pro5 SoC. Signed-off-by: Masahiro Yamada Acked-by: Rob Herring --- .../bindings/arm/uniphier/cache-uniphier.txt |

[PATCH v5 0/3] ARM: uniphier: add outer cache support and rework SMP operations

2015-10-01 Thread Masahiro Yamada
Hi Olof, Now Linux 4.3-rc1 is out, so I am back to this. 1/3: add outer cache support 2/3: rework SMP operations 3/3: add device tree nodes Because 2/3 highly depends on 1/3, I hope whole of this series is applied through ARM-SOC tree. Changes in v5: - Add __init to

[PATCH v5 3/3] ARM: dts: uniphier: add outer cache controller nodes

2015-10-01 Thread Masahiro Yamada
Add L2 cache controller nodes for all the UniPhier SoC DTSI. Also, add an L3 cache controller node for PH1-Pro5 DTSI. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 13 + arch/arm/boot/dts/uniphier-ph1-pro4.dtsi| 14 ++

[PATCH v5 2/3] ARM: uniphier: rework SMP operations to use trampoline code

2015-10-01 Thread Masahiro Yamada
The complexity of the boot sequence of UniPhier SoC family is a PITA due to the following hardware limitations: [1] No dedicated on-chip SRAM SoCs in general have small SRAM, on which a tiny firmware or a boot loader can run before SDRAM is initialized. As UniPhier SoCs do not have any dedicated

Re: [RFC PATCH 01/20] coresight: etm3x: splitting 'etm_enable_hw()' operations

2015-10-01 Thread Alexander Shishkin
Mathieu Poirier writes: > On 30 September 2015 at 03:58, Alexander Shishkin > wrote: >> Most of these things can also be bypassed, as at least initially perf >> events won't be using trigger/sequencer configurations, so we could >> simply clear all these things out when a first perf event is

Re: [PATCH v4 0/3] ARM: uniphier: add outer cache support and rework SMP operations

2015-10-01 Thread Masahiro Yamada
2015-09-30 20:01 GMT+09:00 Masahiro Yamada : > Hi Olof, > > Now Linux 4.3-rc1 is out, so I am back to this. > > 1/3: add outer cache support > 2/3: rework SMP operations > 3/3: add device tree nodes > > Because 2/3 highly depends on 1/3, I hope whole of this series > is applied through ARM-SOC

linux-next: manual merge of the akpm-current tree with the tip tree

2015-10-01 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got conflicts in: Documentation/filesystems/proc.txt fs/proc/array.c fs/proc/base.c between commit: b2f73922d119 ("fs/proc, core/debug: Don't expose absolute kernel addresses via wchan") from the tip tree and commit:

Re: linux-next: build failure after merge of the pinctrl tree

2015-10-01 Thread Stephen Rothwell
Hi Linus, On Fri, 25 Sep 2015 13:34:10 +1000 Stephen Rothwell wrote: > > After merging the pinctrl tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/pinctrl/pinctrl-at91-pio4.c: In function 'atmel_gpio_irq_set_type': >

linux-next: manual merge of the target-updates tree with the kdbus tree

2015-10-01 Thread Stephen Rothwell
Hi Nicholas, Today's linux-next merge of the target-updates tree got a conflict in: samples/Makefile between commit: 2d41f8138508 ("kdbus: add walk-through user space example") from the kdbus tree and commit: f71933438300 ("configfs: remove old API") from the target-updates tree. I

Re: [v5, 2/6] fsl/fman: Add FMan support

2015-10-01 Thread Scott Wood
On Thu, Sep 24, 2015 at 12:10:34PM +0300, igal.liber...@freescale.com wrote: > +int fman_get_rx_extra_headroom(void) > +{ > + static bool fm_check_rx_extra_headroom; > + > + if (!fm_check_rx_extra_headroom) { > + if (fsl_fm_rx_extra_headroom > FSL_FM_RX_EXTRA_HEADROOM_MAX || >

netpoll_send_skb_on_dev warning with bnx2

2015-10-01 Thread Vinson Lee
Hi. I am seeing a netpoll_send_skb_on_dev warning with bnx2. It happens on Linux 4.1 and I am able to reproduce the warning with Linux 4.3-rc3. [ cut here ] WARNING: CPU: 11 PID: 3110 at net/core/netpoll.c:368 netpoll_send_skb_on_dev+0x183/0x201()

Re: [RESEND PATCH v2] mtd: nand: pass page number to ecc->write_xxx() methods

2015-10-01 Thread Brian Norris
On Thu, Oct 01, 2015 at 09:34:51PM +0200, Boris Brezillon wrote: > The ->read_xxx() methods are all passed the page number the NAND controller > is supposed to read, but ->write_xxx() do not have such a parameter. > > This is a problem if we want to properly implement data >

Re: [PATCH v4 2/5] mtd: nand: Qualcomm NAND controller driver

2015-10-01 Thread Brian Norris
Hi Archit, On Wed, Aug 19, 2015 at 10:19:03AM +0530, Archit Taneja wrote: > The Qualcomm NAND controller is found in SoCs like IPQ806x, MSM7xx, > MDM9x15 series. > > It exists as a sub block inside the IPs EBI2 (External Bus Interface 2) > and QPIC (Qualcomm Parallel Interface Controller). These

Re: [PATCH] soc: mediatek: Fix random hang up issue while kernel init

2015-10-01 Thread James Liao
Hi Daniel, On Thu, 2015-10-01 at 18:08 +0800, Daniel Kurtz wrote: > I see two cases where "a power domain is a consumer of a clock": > (a) the clock is needed to access the power domain control > registers. The clock must actually be in another power domain, since > otherwise you could never

[PATCH] misc: mic: use kstrdup() in mic_sysfs

2015-10-01 Thread Geliang Tang
Use kstrdup instead of kmalloc and strncpy. Signed-off-by: Geliang Tang --- drivers/misc/mic/host/mic_sysfs.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/drivers/misc/mic/host/mic_sysfs.c b/drivers/misc/mic/host/mic_sysfs.c index

Re: [PATCH v4 1/5] mtd: nand: Create a BBT flag to access bad block markers in raw mode

2015-10-01 Thread Brian Norris
On Wed, Aug 19, 2015 at 10:19:02AM +0530, Archit Taneja wrote: > Some controllers can access the factory bad block marker from OOB only > when they read it in raw mode. When ECC is enabled, these controllers > discard reading/writing bad block markers, preventing access to them > altogether. > >

Re: [dpdk-dev] [PATCH 2/2] uio: new driver to support PCI MSI-X

2015-10-01 Thread Alexander Duyck
On 10/01/2015 05:04 PM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 16:40:10 -0700 Alexander Duyck wrote: Do you really need to map IORESOURCE bars? Most drivers I can think of don't use IO BARs anymore. Maybe we could look at just dropping the code and adding it back later if we have a use

Re: [PATCH] ARM: shmobile: dt: Rename incorrect interrupt related binding

2015-10-01 Thread Simon Horman
[CCed linux-sh, Magnus] On Tue, Sep 29, 2015 at 09:43:08AM +0100, Lee Jones wrote: > interrupts-names => interrupt-names > > Other line changes are re-aligning. > > Signed-off-by: Lee Jones Thanks, I have queued this up as a cleanup for v4.4. > --- >

[PATCH] sched: Fix task_tick_fair from disabling numa_balancing

2015-10-01 Thread Srikar Dronamraju
If static branch sched_numa_balancing is enabled, it should kickstart numa_balancing through task_tick_numa(). However Commit 2a1ed24 ("sched/numa: Convert sched_numa_balancing to a static_branch") erroneously disables this. Fix this anomaly by enabling task_tick_numa when static branch

Re: [PATCH] PM / devfreq: fix double kfree

2015-10-01 Thread MyungJoo Ham
> When device_register() fails, kfree(devfreq) is called already in > devfreq_dev_release(), hence there is no need to call kfree(devfreq) > in err_dev again. > > Signed-off-by: Geliang Tang Thank you for pointing out that put_device() will eventually call kfree anyway. Signed-off-by: MyungJoo

Re: [PATCH 13/38] ARM: shmobile: apmu: correct type of CPU id

2015-10-01 Thread Simon Horman
On Mon, Sep 21, 2015 at 03:33:45PM +0200, Andrzej Hajda wrote: > CPU id can be negative, so it cannot be assigned to unsigned variable. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]:

Re: [PATCH] x86: uapi: Fix __BITS_PER_LONG for x32

2015-10-01 Thread Ben Hutchings
On Thu, 2015-10-01 at 21:54 +0100, Ben Hutchings wrote: > On Thu, 2015-10-01 at 09:02 -0400, Brian Gerst wrote: > > On Thu, Oct 1, 2015 at 4:23 AM, Ingo Molnar wrote: > > > > > > * Ben Hutchings wrote: > > > > > > > diff --git a/arch/x86/include/uapi/asm/bitsperlong.h > > > >

Re: linux-next: build failure after merge of the battery tree

2015-10-01 Thread Stephen Rothwell
Hi Sebastian, On Tue, 29 Sep 2015 11:45:31 +1000 Stephen Rothwell wrote: > > After merging the battery tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > ERROR (phandle_references): Reference to non-existent node or label > "twl4030_madc" > ERROR: Input tree has

Re: [dpdk-dev] [PATCH 0/2] uio_msi: device driver

2015-10-01 Thread Alexander Duyck
On 10/01/2015 05:04 PM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 16:43:23 -0700 Alexander Duyck wrote: Yes, but in the case of something like a VF it is going to just make a bigger mess of things since INTx doesn't work. So what would you expect your driver to do in that case? Also we

Re: [PATCH 26/26] x86, pkeys: Documentation

2015-10-01 Thread Linus Torvalds
On Thu, Oct 1, 2015 at 6:56 PM, Dave Hansen wrote: > > Also, a quick ftrace showed that most mmap() callers that set PROT_EXEC > also set PROT_READ. I'm just assuming that folks are setting PROT_READ > but aren't _really_ going to read it, so we can safely deny them all > access other than exec.

Re: [GIT PULL] clk: mediatek: New clocks support and fixes

2015-10-01 Thread Eddie Huang
On Thu, 2015-10-01 at 12:29 -0700, Stephen Boyd wrote: > On 09/30, Daniel Kurtz wrote: > > Hi Mike, > > > > On Tue, Sep 22, 2015 at 5:53 PM, James Liao > > wrote: > > > This is a collection of new Mediatek clocks support and fixes. These > > > patches come from Joe [1], Pi-cheng [2] and me [3],

Re: [PATCH 4.1 00/29] 4.1.10-stable review

2015-10-01 Thread Guenter Roeck
On Thu, Oct 01, 2015 at 11:31:36AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.1.10 release. > There are 29 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

[RFC][PATCH v2 0/2] PM / sleep: Make it possible to check if suspend/resume goes via firmware

2015-10-01 Thread Rafael J. Wysocki
On Wednesday, September 30, 2015 02:46:10 AM Rafael J. Wysocki wrote: > Hi All, > > Patch [1/2] introduces a new mechanism that can be used to check whether or > not > platform firmware is going to be involved in system suspend or was involved > in system resume. That's still the case, but

Re: [PATCH 4.2 00/30] 4.2.3-stable review

2015-10-01 Thread Guenter Roeck
On Thu, Oct 01, 2015 at 11:21:22AM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.2.3 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

[RFC][PATCH v2 2/2] PM / PCI / ACPI: Kick devices that might have been reset by firmware

2015-10-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is a concern that if the platform firmware was involved in the system resume that's being completed, some devices might have been reset by it and if those devices had the power.direct_complete flag set during the preceding suspend transition, they may stay in a

[RFC][PATCH v2 1/2] PM / sleep: Add flags to indicate platform firmware involvement

2015-10-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There are quite a few cases in which device drivers, bus types or even the PM core itself may benefit from knowing whether or not the platform firmware will be involved in the upcoming system power transition (during system suspend) or whether or not it was involved in it

Re: [PATCH] modpost: Add flag -f for making section mismatches fatal

2015-10-01 Thread Rusty Russell
Nicolas Boichat writes: > The section mismatch warning can be easy to miss during the kernel build > process. Allow it to be marked as fatal to be easily caught and prevent > bugs from slipping in. > > Setting CONFIG_SECTION_MISMATCH_WARNING=y causes these warnings to be > non-fatal, since there

Re: [RESEND PATCH] sched: consider missed ticks when updating global cpu load

2015-10-01 Thread Byungchul Park
On Fri, Oct 02, 2015 at 09:43:17AM +0900, Byungchul Park wrote: > On Sat, Sep 26, 2015 at 03:14:45PM +0200, Frederic Weisbecker wrote: > > On Fri, Sep 25, 2015 at 05:52:37PM +0900, byungchul.p...@lge.com wrote: > > > From: Byungchul Park > > > > > > hello, > > > > > > i have already sent this

Re: [PATCH] kernel/params.c: remove confusing cast

2015-10-01 Thread Rusty Russell
Rasmus Villemoes writes: > Both sides of the assignment are const char*, so this cast is > unnecessary and confusing. > > Signed-off-by: Rasmus Villemoes Acked-by: Rusty Russell Thanks, Rusty. > kernel/params.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [dpdk-dev] [PATCH 2/2] uio: new driver to support PCI MSI-X

2015-10-01 Thread Alexander Duyck
On 10/01/2015 05:01 PM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 16:40:10 -0700 Alexander Duyck wrote: I agree with some other reviewers. Why call pci_enable_msix in open? It seems like it would make much more sense to do this on probe, and then disable MSI-X on free. I can only assume

[GIT PULL] Power management and ACPI updates for v4.3-rc4

2015-10-01 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-4.3-rc4 to receive power management and ACPI material for v4.3-rc4 with top-most commit eb6d1c287ae1f7221248d5be26a5b1560073c09e Merge branches 'pm-cpuidle', 'pm-opp' and 'pm-tools' on

Re: [PATCH v4] clk: add CS2000 Fractional-N driver

2015-10-01 Thread Kuninori Morimoto
Hi Stephen Thank you for your review > > + init.parent_names = parent_names; > > + init.num_parents= ARRAY_SIZE(parent_names); > > + > > + priv->hw.init = > > + > > + clk = clk_register(NULL, >hw); > > How about using devm_clk_register() and passing the i2c device > down

RE: [alsa-devel] [RESEND PATCH v2 1/1] ASoC: dwc: fix dma stop transferring issue

2015-10-01 Thread yitian
Hi Mark: > From: alsa-devel-boun...@alsa-project.org > [mailto:alsa-devel-boun...@alsa-project.org] On Behalf Of yitian > Sent: Thursday, October 1, 2015 10:25 AM > To: 'Mark Brown' > Cc: alsa-de...@alsa-project.org; w...@the-dreams.de; > linux-kernel@vger.kernel.org; andrew.jack...@arm.com; >

Re: [PATCH 4.1 22/29] net: dsa: bcm_sf2: Do not override speed settings

2015-10-01 Thread David Miller
From: Ben Hutchings Date: Fri, 02 Oct 2015 01:47:23 +0100 > On Thu, 2015-10-01 at 11:31 +0200, Greg Kroah-Hartman wrote: >> 4.1-stable review patch. If anyone has any objections, please let me >> know. >> >> -- >> >> From: Florian Fainelli >> >> [ Upstream

Re: [RESEND PATCH] sched: consider missed ticks when updating global cpu load

2015-10-01 Thread Byungchul Park
On Wed, Sep 30, 2015 at 12:43:43PM +0200, Peter Zijlstra wrote: > On Sat, Sep 26, 2015 at 03:14:45PM +0200, Frederic Weisbecker wrote: > > > > when the next tick occurs, update_process_times() -> scheduler_tick() > > > -> update_cpu_load_active() is performed, assuming the distance between > > >

Re: [v3 1/8] devres: add devm_alloc_percpu()

2015-10-01 Thread Scott Wood
On Thu, Sep 24, 2015 at 06:00:12PM +0300, Madalin Bucur wrote: > Introduce managed counterparts for alloc_percpu() and free_percpu(). > Add devm_alloc_percpu() and devm_free_percpu() into the managed > interfaces list. > > Signed-off-by: Madalin Bucur > Tested-by: Madalin-Cristian Bucur > --- >

RE: [V4 PATCH 4/4] x86/apic: Introduce noextnmi boot option

2015-10-01 Thread 河合英宏 / KAWAI,HIDEHIRO
> On Thu, Oct 01, 2015 at 10:24:19AM +, 河合英宏 / KAWAI,HIDEHIRO wrote: > > But how do we check if the starting kernel is a dump capture kernel? > > How does that first kernel pass info to the capture kernel? As I described in the previous mail, You just have to add "noextnmi" to

[PATCH v4 4/4] irqchip/gic-v3-its: Add handling of PCI requester id.

2015-10-01 Thread David Daney
From: David Daney Replace open coded generation PCI/MSI requester id with call to the new function pci_msi_domain_get_msi_rid() which applies the "msi-map" to the id value. Signed-off-by: David Daney --- drivers/irqchip/irq-gic-v3-its-pci-msi.c | 4 +--- 1 file changed, 1 insertion(+), 3

[PATCH v4 2/4] of/irq: Add new function of_msi_map_rid()

2015-10-01 Thread David Daney
From: David Daney The device tree property "msi-map" specifies how to create the PCI requester id used in some MSI controllers. Add a new function of_msi_map_rid() that finds the msi-map property and applies its translation to a given requester id. Reviewed-by: Marc Zyngier Acked-by: Rob

  1   2   3   4   5   6   7   8   9   10   >