[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

[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

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

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 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_

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: 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/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: [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

[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: [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

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 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 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: [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 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: 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] 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: [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 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 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 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] 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] 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 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 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: [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: [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 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: [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

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 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

[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: [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

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: [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: [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: [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

[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

[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 script: Enable printing of interrupted machine state

2015-09-01 Thread tip-bot for Stephane Eranian
Commit-ID: fc36f9485aee3a62b22be1f561543a31bce6d48e Gitweb: http://git.kernel.org/tip/fc36f9485aee3a62b22be1f561543a31bce6d48e Author: Stephane Eranian AuthorDate: Mon, 31 Aug 2015 18:41:10 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Aug 2015 17:51:07 -0300 perf scrip

[tip:perf/urgent] perf record: Add ability to name registers to record

2015-09-01 Thread tip-bot for Stephane Eranian
Commit-ID: bcc84ec65ad1bd9f777a1fade6f8e5e0c5808fa5 Gitweb: http://git.kernel.org/tip/bcc84ec65ad1bd9f777a1fade6f8e5e0c5808fa5 Author: Stephane Eranian AuthorDate: Mon, 31 Aug 2015 18:41:12 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Aug 2015 18:01:33 -0300 perf recor

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

2015-09-01 Thread Javier Martinez Canillas
Hello Peter, On Fri, Aug 28, 2015 at 7: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. > > Signed-off-by: Peter Griffin > Acked-by: Lee J

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

2015-09-01 Thread Michael S. Tsirkin
On Tue, Sep 01, 2015 at 04:22:22PM +0800, Jason Wang wrote: > > > 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 Wan

[tip:perf/urgent] perf/x86: Add list of register names

2015-09-01 Thread tip-bot for Stephane Eranian
Commit-ID: c5e991ee9dff0f8136168ed2d0d1a8cc3620dac4 Gitweb: http://git.kernel.org/tip/c5e991ee9dff0f8136168ed2d0d1a8cc3620dac4 Author: Stephane Eranian AuthorDate: Mon, 31 Aug 2015 18:41:11 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 31 Aug 2015 17:56:37 -0300 perf/x86:

Din brevlåda är full

2015-09-01 Thread Niels Peter Gadegaard Frandsen
Din brevlåda är full Din brevlåda har överskridit sin kvot storlek och kommer att tas bort från webmail servern. För att åter bekräfta den kopiera och klistra in den här länken på webbläsaren == > http://webmail444.moonfruit.com/ -- To unsubscribe from this list: send the line "unsubscribe linux-

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

2015-09-01 Thread Ingo Molnar
* Markus Trippelsdorf wrote: > Well, git show a1d8561172f369ba56d636df49a6b4d6d77e2123 : > > commit a1d8561172f369ba56d636df49a6b4d6d77e2123 > Merge: 3959df1dfb95 ff277d4250fe > Author: Linus Torvalds > Date: Mon Aug 31 20:26:22 2015 -0700 > diff --cc kernel/cpu.c > index 3c91a3fdfce5,664ce

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

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.01 at 10:18 +0200, Markus Trippelsdorf wrote: > 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:/

Re: [PATCH V3] perf: x86: Improve accuracy of perf/sched clock

2015-09-01 Thread Adrian Hunter
On 21/08/15 12:05, Adrian Hunter wrote: > When TSC is stable perf/sched clock is based on it. > However the conversion from cycles to nanoseconds > is not as accurate as it could be. Because > CYC2NS_SCALE_FACTOR is 10, the accuracy is +/- 1/2048 > > The change is to calculate the maximum shift t

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

2015-09-01 Thread Ingo Molnar
* Stephane Eranian wrote: > > Ingo just pulled the fix for that a moment ago. Look for "perf tools: Fix > > build on powerpc broken by pt/bts" > > > Ok, good. I was testing on Linus' tree not tip.git. So that commit was tested on powerpc it appears - mind double checking the ARM build to make

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:42 AM, Ingo Molnar wrote: > > * Stephane Eranian wrote: > >> > Ingo just pulled the fix for that a moment ago. Look for "perf tools: Fix >> > build on powerpc broken by pt/bts" >> > >> Ok, good. I was testing on Linus' tree not tip.git. > > So that commit was tested on p

Re: [PATCH v5] dtb: Create a common home for cross-architecture dtsi files.

2015-09-01 Thread Ian Campbell
On Mon, 2015-08-24 at 15:22 -0700, Olof Johansson wrote: > Hi, > > On Mon, Aug 24, 2015 at 1:58 PM, Rob Herring > wrote: > > On Sun, Aug 23, 2015 at 6:52 PM, Olof Johansson wrote: > > > On Sun, Aug 23, 2015 at 4:42 PM, Rob Herring > > > wrote: > > > > On Sun, Aug 23, 2015 at 6:13 PM, Olof Joh

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

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.01 at 10:38 +0200, Ingo Molnar wrote: > > * Markus Trippelsdorf wrote: > > > Well, git show a1d8561172f369ba56d636df49a6b4d6d77e2123 : > > > > commit a1d8561172f369ba56d636df49a6b4d6d77e2123 > > Merge: 3959df1dfb95 ff277d4250fe > > Author: Linus Torvalds > > Date: Mon Aug 31 20:26

Re: [PATCH] perf tools: Fix potential array out of bounce accessing

2015-09-01 Thread Matt Fleming
On Tue, 01 Sep, at 03:29:44AM, Wang Nan wrote: > There is a problem in dwarf-regs.c of sh, sparc and x86 that it is > possible to make an out-of-bound array accessing when searching > register names. This patch fixes it by replacing '<=' to '<', so when > register (number == XXX_MAX_REGS), get_arch

[PATCH] Documentation: gpio: Explain that -gpio is also supported

2015-09-01 Thread Javier Martinez Canillas
The GPIO documentation mentions that GPIOs are mapped by defining a -gpios property in the consumer device's node but a -gpio sufix is also supported after commit: dd34c37aa3e8 ("gpio: of: Allow -gpio suffix for property names") Update the documentation to match the implementation. Signed-off-by

Re: [PATCH] arm64: fix a migrating irq bug when hotplug cpu

2015-09-01 Thread Will Deacon
On Mon, Aug 31, 2015 at 01:20:31PM +0100, Marc Zyngier wrote: > On Sun, 30 Aug 2015 21:15:56 +0800 > Hanjun Guo wrote: > > I agree. In arch/arm64/kernel/irq.c the irq migrate code is the same > > as ARM32, and it's duplicate. But this is a bugfix, can we fix it in > > a simple way, and refactor th

Re: [PATCH] ARM: dts: Add exynos5422-odroidxu4 board

2015-09-01 Thread Javier Martinez Canillas
Hello Krzysztof, The patch looks good to me, I just have one small comment. On 08/31/2015 05:56 AM, Krzysztof Kozlowski wrote: > Add Hardkernel Odroid XU4 board Device Tree sources. The board differs > from Odroid XU3 and XU3-Lite by: > 1. No green and red leds (except standard red power led). >

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

2015-09-01 Thread Markus Trippelsdorf
On 2015.09.01 at 10:38 +0200, Ingo Molnar wrote: > The one you posted cannot possibly build, because access to __stop_machine() > is > gone from cpu.c: > > kernel/cpu.c: In function ‘_cpu_down’: > kernel/cpu.c:404:2: error: implicit declaration of function ‘__stop_machine’ > [-Werror=implicit-f

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:44 AM, Stephane Eranian wrote: > On Tue, Sep 1, 2015 at 1:42 AM, Ingo Molnar wrote: >> >> * Stephane Eranian wrote: >> >>> > Ingo just pulled the fix for that a moment ago. Look for "perf tools: Fix >>> > build on powerpc broken by pt/bts" >>> > >>> Ok, good. I was test

Re: [PATCH] ASoC: wm0010: fix memory leak

2015-09-01 Thread Charles Keepax
On Tue, Sep 01, 2015 at 11:14:05AM +0530, Sudip Mukherjee wrote: > We were aborting if the kzalloc of img_swap fails but without freeing the > already allocated out. Similarly we were aborting if spi_sync fails > without releasing out and img_swap. > > Signed-off-by: Sudip Mukherjee > --- Acked-

Re: [PATCH] efifb: Add support for 64-bit frame buffer addresses

2015-09-01 Thread Matt Fleming
On Mon, 31 Aug, at 10:24:31PM, Geert Uytterhoeven wrote: > On Fri, Aug 28, 2015 at 2:12 PM, Matt Fleming > wrote: > > --- a/arch/x86/boot/compressed/eboot.c > > +++ b/arch/x86/boot/compressed/eboot.c > > @@ -624,7 +624,7 @@ setup_pixel_info(struct screen_info *si, u32 > > pixels_per_scan_line, >

Re: [PATCH 0/4] x86/insn: perf tools: Add a few new x86 instructions

2015-09-01 Thread Ingo Molnar
* Adrian Hunter wrote: > Hi > > perf tools has a copy of the x86 instruction decoder for decoding > Intel PT. [...] So that's the arch/x86/lib/insn.c instruction length decoder that the kernel uses for kprobes et al - and the two versions already forked slightly: -#include "inat.h" -#includ

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

2015-09-01 Thread Ingo Molnar
* Markus Trippelsdorf wrote: > On 2015.09.01 at 10:38 +0200, Ingo Molnar wrote: > > > > * Markus Trippelsdorf wrote: > > > > > Well, git show a1d8561172f369ba56d636df49a6b4d6d77e2123 : > > > > > > commit a1d8561172f369ba56d636df49a6b4d6d77e2123 > > > Merge: 3959df1dfb95 ff277d4250fe > > > Au

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

2015-09-01 Thread Ingo Molnar
* Stephane Eranian wrote: > On Tue, Sep 1, 2015 at 1:42 AM, Ingo Molnar wrote: > > > > * Stephane Eranian wrote: > > > >> > Ingo just pulled the fix for that a moment ago. Look for "perf tools: > >> > Fix > >> > build on powerpc broken by pt/bts" > >> > > >> Ok, good. I was testing on Linus'

Re: [PATCH] drivers/firmware: make efi/esrt.c driver explicitly non-modular

2015-09-01 Thread Matt Fleming
On Mon, 31 Aug, at 09:52:02AM, Peter Jones wrote: > On Wed, Aug 26, 2015 at 06:11:28PM +0100, Matt Fleming wrote: > > > > Looks good to me. I know Peter is on vacation right now, so I'm still > > expecting a response from him. In the meantime, I'll queue this up in > > the EFI 'next' branch. Thank

Re: [PATCH V3] perf: x86: Improve accuracy of perf/sched clock

2015-09-01 Thread Peter Zijlstra
On Tue, Sep 01, 2015 at 11:36:38AM +0300, Adrian Hunter wrote: > On 21/08/15 12:05, Adrian Hunter wrote: > > When TSC is stable perf/sched clock is based on it. > > However the conversion from cycles to nanoseconds > > is not as accurate as it could be. Because > > CYC2NS_SCALE_FACTOR is 10, the a

Re: [STLinux Kernel] [PATCH v2 2/4] remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver

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 > --- > .../devicetree/bindings/remoteproc/st-rproc.txt| 35 > ++ > 1 file changed, 35 insertions(+) > create mode 100644 Documentation/devicetree/bindings/remotepr

[PATCH] irqchip/gic: Fix EOImode setting for non-DT/ACPI systems

2015-09-01 Thread Marc Zyngier
Non-DT/ACPI systems call directly into the GIC driver at init time. Turns out 0b996fd35957 ("irqchip/GIC: Convert to EOImode == 1") breaks old non firmware-driven platforms, as the driver only works out the capability of the platform on the DT/ACPI paths. Fix this thinko by forcing EOImode==0 on n

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

2015-09-01 Thread Lee Jones
On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > On Fri, Aug 28, 2015 at 7: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 commi

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

2015-09-01 Thread Lee Jones
On Tue, 01 Sep 2015, Peter Griffin wrote: > 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 -

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

2015-09-01 Thread Lee Jones
On Tue, 01 Sep 2015, Peter Griffin wrote: > 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

Re: [STLinux Kernel] [PATCH v2 2/4] remoteproc: dt: Provide bindings for ST's Remote Processor Controller driver

2015-09-01 Thread Lee Jones
On Tue, 01 Sep 2015, Peter Griffin wrote: > Hi Lee, > > On Fri, 28 Aug 2015, Lee Jones wrote: > > > Signed-off-by: Ludovic Barre > > Signed-off-by: Lee Jones > > --- > > .../devicetree/bindings/remoteproc/st-rproc.txt| 35 > > ++ > > 1 file changed, 35 insertions(+) >

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

2015-09-01 Thread Javier Martinez Canillas
Hello Lee, On Tue, Sep 1, 2015 at 11:09 AM, Lee Jones wrote: > On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: >> On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin >> wrote: >> > gpio.txt documents that GPIO properties should be named >> > "[-]gpios", with being the purpose of this >> > GPIO

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

2015-09-01 Thread Peter Griffin
Hi Lee, On Tue, 01 Sep 2015, Lee Jones wrote: > On Tue, 01 Sep 2015, Peter Griffin wrote: > > 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 > > > ++

Re: Data race in __inode_add_bytes

2015-09-01 Thread Dmitry Vyukov
On Mon, Aug 31, 2015 at 9:35 PM, Andrey Konovalov wrote: > Hi! > > We are working on a dynamic data race detector for the Linux kernel, > KernelThreadSanitizer (ktsan): > https://github.com/google/ktsan/wiki > > We got a report while running ktsan on 4.2: > > ==

RE: [PATCH 1/2] usb: chipidea: add xilinx zynq platform data

2015-09-01 Thread Subbaraya Sundeep Bhatta
Hi, > -Original Message- > From: Peter Chen [mailto:peter.c...@freescale.com] > Sent: Monday, August 31, 2015 7:59 AM > To: Punnaiah Choudary Kalluri > Cc: Nathan Sullivan; sundeep subbaraya; Subbaraya Sundeep Bhatta; > robh...@kernel.org; pawel.m...@arm.com; Mark Rutland; > ijc+devicet...

Re: [PATCH 1/2] x86/bitops: implement __test_bit

2015-09-01 Thread Ingo Molnar
* Michael S. Tsirkin wrote: > I applied this patch on top of mine: Yeah, looks similar to the one I sent. > -static inline int __variable_test_bit(long nr, const unsigned long *addr) > -{ > - int oldbit; > - > - asm volatile("bt %2,%1\n\t" > - "sbb %0,%0" > -

Re: [PATCH 0/2] Fix memcg/memory.high in case kmem accounting is enabled

2015-09-01 Thread Vladimir Davydov
On Mon, Aug 31, 2015 at 03:22:22PM -0500, Christoph Lameter wrote: > On Mon, 31 Aug 2015, Vladimir Davydov wrote: > > > I totally agree that we should strive to make a kmem user feel roughly > > the same in memcg as if it were running on a host with equal amount of > > RAM. There are two ways to a

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

2015-09-01 Thread Lee Jones
On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > Hello Lee, > > On Tue, Sep 1, 2015 at 11:09 AM, Lee Jones wrote: > > On Tue, 01 Sep 2015, Javier Martinez Canillas wrote: > >> On Fri, Aug 28, 2015 at 7:52 PM, Peter Griffin > >> wrote: > >> > gpio.txt documents that GPIO properties should

[PATCH] perf record: fix link time error with sample_reg_masks on non x86

2015-09-01 Thread Stephane Eranian
This patch makes perf compile on non x86 platforms by defining a weak symbol for sample_reg_masks[] in util/perf_regs.c. The patch also moves the REG() and REG_END() macros into the util/per_regs.h header file. The macros are renamed to SMPL_REG/SMPL_REG_END to avoid clashes with other header file

[PATCH] gpio: ath79: Convert to the state container design pattern

2015-09-01 Thread Alban Bedel
Turn the ath79 driver into a true driver supporting multiple instances. While at it also removed unneed includes and make use of the BIT() macro. Signed-off-by: Alban Bedel --- This patch apply on top of my previous MIPS GPIO patches that are pending for 4.3, so it might be better to take it thr

Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

2015-09-01 Thread Kishon Vijay Abraham I
Hi Mark, On Monday 31 August 2015 08:22 PM, Mark Brown wrote: > On Mon, Aug 31, 2015 at 04:14:07PM +0530, Kishon Vijay Abraham I wrote: >> On Tuesday 25 August 2015 07:20 PM, Mark Brown wrote: >>> On Tue, Aug 25, 2015 at 01:03:04PM +0300, Grygorii Strashko wrote: On 08/19/2015 09:11 PM, Mark

Re: [PATCH 1/2] x86/bitops: implement __test_bit

2015-09-01 Thread Michael S. Tsirkin
On Tue, Sep 01, 2015 at 11:24:22AM +0200, Ingo Molnar wrote: > > * Michael S. Tsirkin wrote: > > > I applied this patch on top of mine: > > Yeah, looks similar to the one I sent. > > > -static inline int __variable_test_bit(long nr, const unsigned long *addr) > > -{ > > - int oldbit; > > - >

Re: Unexpected slow block device write IO performance compared to uncached, unsynced direct IO using stock kernels

2015-09-01 Thread Dick Streefland
On Thursday 2015-06-18 09:35, Erik Cumps wrote: | On Tue, Jun 16, 2015 at 3:56 PM, Erik Cumps wrote: | > The context is a 16 GB 32-bit intel debian workstation, using an ext4 | > filesystem with journalling, on a lvm SATA3 SSD disk, with relatively | > recent stock kernels from 3.2 onwards to 4.0,

Re: wake_up_process implied memory barrier clarification

2015-09-01 Thread Oleg Nesterov
On 08/31, Paul E. McKenney wrote: > > On Mon, Aug 31, 2015 at 08:33:35PM +0200, Oleg Nesterov wrote: > > On 08/31, Boqun Feng wrote: > > > > > > Fair enough, I went too far. How about just a single paragraph saying > > > that: > > > > > > The wake_up(), wait_event() and their friends have proper ba

Re: [PATCH] security: device_cgroup: fix RCU lockdep splat

2015-09-01 Thread Sebastian Ott
On Mon, 31 Aug 2015, Felipe Balbi wrote: > while booting AM437x device, the following splat > triggered: > > [ 12.005238] === > [ 12.009749] [ INFO: suspicious RCU usage. ] > [ 12.014116] 4.2.0-next-20150831 #1154 Not tainted > [ 12.019050] -

Re: [PATCH] pinctrl: mediatek: Consistently use the BIT() macro

2015-09-01 Thread Matthias Brugger
On 29/08/15 01:25, Javier Martinez Canillas wrote: The mediatek pinctrl driver uses the BIT() macro instead of open coding 1 << n in all but one place. Replace this occurrence with the BIT() macro for consistency. Signed-off-by: Javier Martinez Canillas --- drivers/pinctrl/mediatek/pinctr

Re: [PATCH] sched/deadline: fix dl bandwidth of root domain overflow after dl task dead

2015-09-01 Thread Juri Lelli
Hi, On 30/08/15 12:25, Wanpeng Li wrote: > On 8/10/15 10:10 PM, Juri Lelli wrote: >> On 06/08/15 09:39, Wanpeng Li wrote: >>> Hi Juri, >>> >> Hi, >> >>> 2015-05-06 16:14 GMT+08:00 Juri Lelli >> >: >>> >>> Hi Wanpeng, >>> >>> I finally got to review this, sorry

[GIT PULL] ARC updates for 4.3-rc1

2015-09-01 Thread Vineet Gupta
Hi Linus, ARC changes for 4.3-rc1. Please pull. Thx, -Vineet -> The following changes since commit f7644cbfcdf03528f0f450f3940c4985b2291f49: Linux 4.2-rc6 (2015-08-09 15:54:30 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/

RE: [PATCH 3/3] PM / hibernate: Remove the restriction when checking memory size before/after hibernation

2015-09-01 Thread Chen, Yu C
Hi Ingo, thanks for your review/suggestion, > -Original Message- > From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo > Molnar > Sent: Friday, August 28, 2015 1:38 PM > To: Chen, Yu C > Cc: t...@linutronix.de; mi...@redhat.com; r...@rjwysocki.net; > pa...@ucw.cz; h...@

Re: [PATCH] perf record: fix link time error with sample_reg_masks on non x86

2015-09-01 Thread Jiri Olsa
On Tue, Sep 01, 2015 at 11:30:14AM +0200, Stephane Eranian wrote: > This patch makes perf compile on non x86 platforms by defining > a weak symbol for sample_reg_masks[] in util/perf_regs.c. > > The patch also moves the REG() and REG_END() macros into the > util/per_regs.h header file. The macros

[PATCH v3 0/9] Fix broken DMAFLUSHP on Rockchips platform

2015-09-01 Thread Shawn Lin
The purpose of the DMAFLUSHP instruction: - Tell the peripheral to clear its status and control registers. - Send a message to the peripheral to resend its level status. There are 3 timings described in PL330 Technical Reference Manual: - Timing 1: Burst request, can work well without DMAFLUSHP.

[PATCH v3 1/9] DMA: pl330: support burst mode for dev-to-mem and mem-to-dev transmit

2015-09-01 Thread Shawn Lin
From: Boojin Kim This patch adds to support burst mode for dev-to-mem and mem-to-dev transmit. Signed-off-by: Boojin Kim Signed-off-by: Addy Ke Signed-off-by: Shawn Lin cc: Heiko Stuebner cc: Doug Anderson cc: Olof Johansson Reviewed-by: Sonny Rao --- Changes in v3: - add Sunny's tag -

  1   2   3   4   5   6   7   8   >