[tip:perf/urgent] perf evlist: Open event on evsel cpus and threads

2015-09-01 Thread tip-bot for Kan Liang
Commit-ID: d988d5ee647861706bc7a391ddbc29429b50f00e Gitweb: http://git.kernel.org/tip/d988d5ee647861706bc7a391ddbc29429b50f00e Author: Kan Liang AuthorDate: Fri, 21 Aug 2015 02:23:14 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Aug 2015 17:28:01 -0300 perf evlist: Open

[tip:perf/urgent] bpf tools: New API to get name from a BPF object

2015-09-01 Thread tip-bot for Wang Nan
Commit-ID: acf860ae7c53cc8b0c5d372c218332aac3eeba4f Gitweb: http://git.kernel.org/tip/acf860ae7c53cc8b0c5d372c218332aac3eeba4f Author: Wang Nan AuthorDate: Thu, 27 Aug 2015 02:30:55 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Aug 2015 16:53:15 -0300 bpf tools: New API

Re: [PATCH 0/2] Fixes for cpu cooling

2015-09-01 Thread Javi Merino
On Tue, Aug 25, 2015 at 07:53:48PM +0100, Javi Merino wrote: > On Mon, Aug 17, 2015 at 07:21:41PM +0100, Javi Merino wrote: > > Commit c36cf0717631 ("thermal: cpu_cooling: implement the power > > cooling device API") introduced two bugs: a call to kcalloc() (that > > might sleep) under RCU and not

[tip:perf/urgent] perf tools: Fix build on powerpc broken by pt/ bts

2015-09-01 Thread tip-bot for Adrian Hunter
Commit-ID: 97db62062ac76e314c8bda4dc5b63f0ea906d15f Gitweb: http://git.kernel.org/tip/97db62062ac76e314c8bda4dc5b63f0ea906d15f Author: Adrian Hunter AuthorDate: Mon, 31 Aug 2015 21:39:44 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Aug 2015 15:47:33 -0300 perf tools: F

Re: [BUG] perf: does not compile on ARM because of Intel PT code

2015-09-01 Thread Ingo Molnar
* Stephane Eranian wrote: > Hi, > > If you compile tip.git on ARM32 (or ARM64, I bet) you compile link time > errors: > > libperf.a(libperf-in.o): In function `intel_pt_synth_branch_sample': > /home/ubuntu/perfmon/linux/tools/perf/util/intel-pt.c:899: undefined > reference to `tsc_to_perf_tim

Re: [BUG] perf: does not compile on ARM because of Intel PT code

2015-09-01 Thread Stephane Eranian
On Tue, Sep 1, 2015 at 1:26 AM, Adrian Hunter wrote: > On 01/09/15 11:26, Stephane Eranian wrote: >> Hi, >> >> If you compile tip.git on ARM32 (or ARM64, I bet) you compile link time >> errors: >> >> libperf.a(libperf-in.o): In function `intel_pt_synth_branch_sample': >> /home/ubuntu/perfmon/linu

Re: [PATCH] ARM: dts: qcom: Remove extra reg element from iadc device

2015-09-01 Thread Ivan T. Ivanov
On Wed, 2015-08-26 at 12:35 -0700, Stephen Boyd wrote: > This doesn't match the binding, and the driver doesn't look to > be using it. Remove the extra element. > > CC: Ivan T. Ivanov iva...@linaro.org> > Signed-off-by: Stephen Boyd Acked-by: Ivan T. Ivanov Leftover from earlier driver versi

Re: [BUG] perf: does not compile on ARM because of Intel PT code

2015-09-01 Thread Adrian Hunter
On 01/09/15 11:26, Stephane Eranian wrote: > Hi, > > If you compile tip.git on ARM32 (or ARM64, I bet) you compile link time > errors: > > libperf.a(libperf-in.o): In function `intel_pt_synth_branch_sample': > /home/ubuntu/perfmon/linux/tools/perf/util/intel-pt.c:899: undefined > reference to `t

Re: [STLinux Kernel] [PATCH v2 1/4] ARM: STiH407: Add nodes for RemoteProc

2015-09-01 Thread Peter Griffin
Hi Lee, On Fri, 28 Aug 2015, Lee Jones wrote: > Signed-off-by: Ludovic Barre > Signed-off-by: Lee Jones > --- > arch/arm/boot/dts/stih407-family.dtsi | 48 > +++ > 1 file changed, 48 insertions(+) > > diff --git a/arch/arm/boot/dts/stih407-family.dtsi > b/arc

Re: [GIT PULL 0/6] perf/core improvements and fixes

2015-09-01 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit bac2e4a96d1c0bcce5e9654dcc902f75576b9b03: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core

[BUG] perf: does not compile on ARM because of Intel PT code

2015-09-01 Thread Stephane Eranian
Hi, If you compile tip.git on ARM32 (or ARM64, I bet) you compile link time errors: libperf.a(libperf-in.o): In function `intel_pt_synth_branch_sample': /home/ubuntu/perfmon/linux/tools/perf/util/intel-pt.c:899: undefined reference to `tsc_to_perf_time' libperf.a(libperf-in.o): In function `intel

Re: [PATCH V3 2/3] kvm: don't register wildcard MMIO EVENTFD on two buses

2015-09-01 Thread Jason Wang
On 09/01/2015 02:54 PM, Michael S. Tsirkin wrote: > On Tue, Sep 01, 2015 at 12:47:36PM +0800, Jason Wang wrote: >> >> On 09/01/2015 12:31 PM, Michael S. Tsirkin wrote: >>> On Tue, Sep 01, 2015 at 11:33:43AM +0800, Jason Wang wrote: On 08/31/2015 07:33 PM, Michael S. Tsirkin wrote: > On M

linux-next: Tree for Sep 1

2015-09-01 Thread Stephen Rothwell
Hi all, Please do not add material for v4.4 until after v4.3-rc1 is out. Changes since 20150831: I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The tty tree still had its build failure for which I reverted part of a commit. The rcu

Re: [PATCH 1/4] perf tools: Add a test for decoding of new x86 instructions

2015-09-01 Thread Adrian Hunter
On 01/09/15 03:18, 平松雅巳 / HIRAMATU,MASAMI wrote: >> From: Adrian Hunter [mailto:adrian.hun...@intel.com] >> >> Add a new test titled: >> >> Test x86 instruction decoder - new instructions >> >> The purpose of this test is to check the instruction decoder >> after new instructions have been add

Re: [PATCH 1/4] dt-binding: gpio: Add Qualcomm SMSM device tree documentation

2015-09-01 Thread Stanimir Varbanov
On 08/27/2015 08:37 PM, Bjorn Andersson wrote: > This documents a device tree binding for exposing the Qualcomm Shared > Memory State Machine as a set of gpio- and interrupt-controllers. > > Signed-off-by: Bjorn Andersson > --- > .../devicetree/bindings/gpio/qcom,smsm.txt | 114 > ++

Re: [GIT PULL] scheduler changes for v4.3

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.01 at 09:27 +0200, Ingo Molnar wrote: > > * Markus Trippelsdorf wrote: > > > On 2015.08.31 at 19:24 +0200, Ingo Molnar wrote: > > > Please pull the latest sched-core-for-linus git tree from: > > > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > > sched-core-fo

Re: [STLinux Kernel] [PATCH v2 3/4] remoteproc: Supply controller driver for ST's Remote Processors

2015-09-01 Thread Peter Griffin
Hi, On Tue, 01 Sep 2015, Lee Jones wrote: > On Fri, 28 Aug 2015, Nathan Lynch wrote: > > > On 08/28/2015 05:31 AM, Lee Jones wrote: > > > diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig > > > index 28c711f..72e97d7 100644 > > > --- a/drivers/remoteproc/Kconfig > > > +++ b/dr

Re: [PATCH v3 1/6] mtd: nand: gpmi: add gpmi dsm supend/resume support

2015-09-01 Thread Huang Shijie
On Sat, Aug 29, 2015 at 11:17:40AM +0200, Nicholas Mc Guire wrote: > On Fri, 28 Aug 2015, Han Xu wrote: > > > From: Huang Shijie > > > > i.MX6SX supports deep sleep mode(DSM) that may turn off GPMI/BCH power > > during suspend, add gpmi nand suspend/resume function to release DMA > > channel in

Re: [PATCH v2] reset: Add (devm_)reset_control_get stub functions

2015-09-01 Thread Philipp Zabel
Am Dienstag, den 01.09.2015, 07:56 +0800 schrieb Axel Lin: > So the drivers can be compiled with CONFIG_RESET_CONTROLLER disabled. > > Signed-off-by: Axel Lin Applied, thanks. regards Philipp -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] x86, arm64, acpi: Handle lapic/x2apic entries in MADT

2015-09-01 Thread Tomasz Nowicki
On 26.08.2015 19:49, Lukasz Anaczkowski wrote: v3: () Fixed entries counting () Added missing acpi_table_parse_entries definition () acpi_parse_entries() now returns sum of all matching entries v2: Fixed ARM64 syntax error From the ACPI spec: "Logical processors with API

Re: [PATCH] security: smack: Add support automatic Smack labeling

2015-09-01 Thread jonghwa3 . lee
On 2015년 08월 31일 22:59, Lukasz Pawelczyk wrote: > On pon, 2015-08-31 at 15:13 +0900, jonghwa3@samsung.com wrote: >> A rule is defined for a process, 'process A', in smack rule table. >> >> ... >> Process Adevice::Aarwx- >> ... >> >> The object 'device::A' will be used to a device node

Re: [PATCH 2/2] usbnet: Fix a race between usbnet_stop() and the BH

2015-09-01 Thread Oliver Neukum
On Mon, 2015-08-31 at 11:50 +0300, Eugene Shatokhin wrote: > > But I would have liked it much better if the code became simpler > instead > > of more complex. > > Me too, but I can see no other way here. The code is simpler without > locking, indeed, but locking is needed to prevent the problems

Re: [PATCH v3 2/6] ARM: DT: STi: STiH407: Add c8sectpfe LinuxDVB DT node.

2015-09-01 Thread Lee Jones
On Fri, 28 Aug 2015, Peter Griffin wrote: > This patch adds in the required DT node for the c8sectpfe > Linux DVB demux driver which allows the tsin channels > to be used on an upstream kernel. > > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stihxxx-b2120.dtsi | 35 ++

Re: [PATCH 2/2] usbnet: Fix a race between usbnet_stop() and the BH

2015-09-01 Thread Oliver Neukum
On Fri, 2015-08-28 at 11:09 +0300, Eugene Shatokhin wrote: > > Exactly what problem will that result in? The tasklet_kill() will > wait > > for the processing of the single element done queue, and everything > will > > be fine. Or? > > Given enough time, what prevents defer_bh() from calling >

Re: [PATCH v3 4/6] [media] c8sectpfe: Update binding to reset-gpios

2015-09-01 Thread Lee Jones
On Mon, 31 Aug 2015, Rob Herring wrote: > On Fri, Aug 28, 2015 at 12:52 PM, Peter Griffin > wrote: > > gpio.txt documents that GPIO properties should be named > > "[-]gpios", with being the purpose of this > > GPIO for the device. > > > > This change has been done as one atomic commit. > > dtb

Re: [PATCH v2 3/4] remoteproc: Supply controller driver for ST's Remote Processors

2015-09-01 Thread Lee Jones
On Fri, 28 Aug 2015, Nathan Lynch wrote: > On 08/28/2015 05:31 AM, Lee Jones wrote: > > diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig > > index 28c711f..72e97d7 100644 > > --- a/drivers/remoteproc/Kconfig > > +++ b/drivers/remoteproc/Kconfig > > @@ -77,4 +77,13 @@ config DA8

Re: [PATCH] xhci: fix warning when CONFIG_PM disabled.

2015-09-01 Thread Mathias Nyman
On 01.09.2015 00:26, Dave Hansen wrote: From: Dave Hansen I have a .config with CONFIG_PM disabled. I get the following whenever compiling the xhci driver: drivers/usb/host/xhci-pci.c:192:13: warning: ‘xhci_pme_quirk’ defined but not used [-Wunused-function] Looks like we just need to m

Re: [PATCH] [s390]: Use .rept directive to store/load fpu registers

2015-09-01 Thread Christian Borntraeger
Am 28.08.2015 um 15:49 schrieb Alexander Kuleshov: > We can use .rept directive to simplify/decrease assembly code > that makes storing and loading floating point registers in the > arch/s390/kernel/swsusp.S. > > The resulting code after the patch is the same that before > > 2c4: 68 00 d2 00

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

2015-09-01 Thread Paul E. McKenney
On Tue, Sep 01, 2015 at 01:50:06PM +1000, Stephen Rothwell wrote: > Hi Paul, > > After merging the rcu tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > ERROR: "sched_setscheduler_nocheck" [kernel/locking/locktorture.ko] undefined! > ERROR: "percpu_down_write" [kernel/l

Re: [PATCH v2 4/4] remoteproc: debugfs: Add ability to boot remote processor using debugfs

2015-09-01 Thread Lee Jones
On Fri, 28 Aug 2015, Nathan Lynch wrote: > On 08/28/2015 05:31 AM, Lee Jones wrote: > > +static ssize_t rproc_state_write(struct file *filp, const char __user > > *userbuf, > > +size_t count, loff_t *ppos) > > +{ > > + struct rproc *rproc = filp->private_data; > > +

Re: [GIT PULL] scheduler changes for v4.3

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.01 at 09:27 +0200, Ingo Molnar wrote: > > * Markus Trippelsdorf wrote: > > > On 2015.08.31 at 19:24 +0200, Ingo Molnar wrote: > > > Please pull the latest sched-core-for-linus git tree from: > > > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > > sched-core-fo

Re: [PATCH 03/11] ocfs2: Less checks in ocfs2_rename() after error detection

2015-09-01 Thread SF Markus Elfring
>> From: Markus Elfring >> Date: Sat, 4 Jul 2015 15:30:18 +0200 >> >> Skip checks for a few variables in three error handling cases within >> the ocfs2_rename() function by adjustment of a few jump targets >> according to the Linux coding style convention. >> >> Signed-off-by: Markus Elfring > >

Re: [PATCH v2 4/4] remoteproc: debugfs: Add ability to boot remote processor using debugfs

2015-09-01 Thread Lee Jones
On Fri, 28 Aug 2015, Florian Fainelli wrote: > On 28/08/15 03:31, Lee Jones wrote: > > This functionality is especially useful during the testing phase. When > > used in conjunction with Mailbox's Test Framework we can trivially conduct > > end-to-end testing i.e. boot co-processor, send and recei

Re: [PATCH] spi: spi-pxa2xx: Check status register to determine if SSSR_TINT is disabled

2015-09-01 Thread Jarkko Nikula
On 09/01/2015 05:22 AM, Tan Jui Nee wrote: From: "Tan, Jui Nee" On Intel Baytrail, there is case when interrupt handler get called, no SPI message is captured. The RX FIFO is indeed empty when RX timeout pending interrupt (SSSR_TINT) happens. Use the BIOS version where both HSUART and SPI are

RE: [PATCH 2/3][v2] drivers: usb: dwc3: Add frame length adjustment quirk

2015-09-01 Thread Badola Nikhil
> -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Tuesday, September 01, 2015 12:51 PM > To: Badola Nikhil-B46172 > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; linux- > o...@vger.kernel.org; ba...@ti.com; gre...@linuxfoundation.org > Subject: Re: [PAT

Re: [PATCH] [PATCH v5] mtd:spi-nor: Add Altera Quad SPI Driver

2015-09-01 Thread Viet Nga Dao
On Thu, Aug 20, 2015 at 2:55 PM, wrote: > From: VIET NGA DAO > > Altera Quad SPI Controller is a soft IP which enables access to > Altera EPCS and EPCQ flash chips. This patch adds driver > for these devices. > > Signed-off-by: VIET NGA DAO > > --- > v5: > - Remove Micron support > - Add multip

[PATCH] usb: core: Fix side effect of clear port feature in hub port reset

2015-09-01 Thread hyunho747.kim
After successful port reset by set_port_feature, some devices show immediate link connection which generates port connect change interrupt. But, the next step is an unconditional usb_clear_port_feature and this flow always clears USB_PORT_FEAT_C_CONNECTION bit in port status though next kick_khubd

Re: [GIT PULL] scheduler changes for v4.3

2015-09-01 Thread Ingo Molnar
* Markus Trippelsdorf wrote: > On 2015.08.31 at 19:24 +0200, Ingo Molnar wrote: > > Please pull the latest sched-core-for-linus git tree from: > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > sched-core-for-linus > > > ># HEAD: ff277d4250fe715b219b1a3423b863418

Re: [PATCH 2/3][v2] drivers: usb: dwc3: Add frame length adjustment quirk

2015-09-01 Thread Felipe Balbi
Hi, On Mon, Aug 17, 2015 at 09:54:56AM +0530, Nikhil Badola wrote: > +static void dwc3_frame_length_adjustment(struct dwc3 *dwc, u32 fladj) > +{ > + if (dwc->revision < DWC3_REVISION_250A) > + return; > + > + if (fladj == 0) > + return; > + > + if (fladj) { rig

Re: linux-next: manual merge of the slave-dma tree with the pm, mfd and rtc trees

2015-09-01 Thread Geert Uytterhoeven
On Thu, Aug 27, 2015 at 5:24 AM, Vinod Koul wrote: > On Thu, Aug 27, 2015 at 11:26:45AM +1000, Stephen Rothwell wrote: >> Hi Vinod, >> >> Today's linux-next merge of the slave-dma tree got conflicts in: >> >> drivers/dma/Kconfig >> drivers/dma/Makefile >> >> between commit: >> >> 667dfed9861

Re: [PATCH 2/2] drivers/base/node.c: skip non-present sections in register_mem_sect_under_node

2015-09-01 Thread Dave Young
On 08/27/15 at 04:43pm, Jan Stancek wrote: > Skip non-present sections in mem_blk to avoid crashing during boot > at register_mem_sect_under_node()->get_nid_for_pfn(): > > Unable to handle kernel paging request for data at address > 0xf0080020 > Faulting instruction address: 0xc00

Re: [PATCH 1/2] drivers/base/node.c: split loop in register_mem_sect_under_node

2015-09-01 Thread Dave Young
Ccing linux-mm On 08/27/15 at 04:43pm, Jan Stancek wrote: > Split single loop going over all pfn in mem_blk into 2 loops, > where outer loop goes over all sections and inner loop goes over > pfn from that section. > > This is preparatory patch for next patch: > "skip non-present sections in reg

Re: [GIT PULL] scheduler changes for v4.3

2015-09-01 Thread Markus Trippelsdorf
On 2015.08.31 at 19:24 +0200, Ingo Molnar wrote: > Please pull the latest sched-core-for-linus git tree from: > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > sched-core-for-linus > ># HEAD: ff277d4250fe715b219b1a3423b863418794 sched/deadline: Fix > comment in enqueue_

Possible deadlock related to CPU hotplug and kernfs

2015-09-01 Thread Jiang Liu
Hi Rafael and Tejun, When running CPU hotplug tests, it triggers an lockdep warning as follow. The two possible deadlock paths are: 1) echo x > /sys/devices/system/cpu/cpux/online ->kernfs_fop_write() ->kernfs_get_active() 1.a) ->rwsem_acquire_read(&kn->dep_map, 0, 1, _RET_IP_);

Re: [PATCH] dax, pmem: add support for msync

2015-09-01 Thread Christoph Hellwig
On Tue, Sep 01, 2015 at 09:38:03AM +1000, Dave Chinner wrote: > On Mon, Aug 31, 2015 at 12:59:44PM -0600, Ross Zwisler wrote: > > For DAX msync we just need to flush the given range using > > wb_cache_pmem(), which is now a public part of the PMEM API. > > This is wrong, because it still leaves fs

[PATCH 23/31] perf tools: Introduce regs_query_register_offset() for x86

2015-09-01 Thread Wang Nan
regs_query_register_offset() is a helper function which converts register name like "%rax" to offset of a register in 'struct pt_regs', which is required by BPF prologue generator. Since the function is identical, try to reuse the code in arch/x86/kernel/ptrace.c. Comment inside dwarf-regs.c list

[PATCH 22/31] perf tools: Add BPF_PROLOGUE config options for further patches

2015-09-01 Thread Wang Nan
If both LIBBPF and DWARF are detected, it is possible to create prologue for eBPF programs to help them accessing kernel data. HAVE_BPF_PROLOGUE and CONFIG_BPF_PROLOGUE is added as flags for this feature. PERF_HAVE_ARCH_REGS_QUERY_REGISTER_OFFSET indicates an architecture supports converting name

<    3   4   5   6   7   8