Re: [PATCH net-next v2 0/8] net: thunderx: New features and fixes

2015-08-31 Thread Sunil Kovvuri
>> >> Series applied, thanks. >> -- Thanks a lot. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

2015-08-31 Thread Ricard Wanderlof
On Fri, 28 Aug 2015, Mark Brown wrote: > On Fri, Aug 28, 2015 at 09:40:41AM +0200, Ricard Wanderlof wrote: > > On Fri, 28 Aug 2015, Stephen Rothwell wrote: > > > In fact the exact same construct is used by a handful of other codec > > drivers which apparently don't fail. > > > I'm suspecting s

RE: [PATCH] mei, make modules.alias UUID information easier to read

2015-08-31 Thread Winkler, Tomas
> On 08/29/2015 05:21 PM, Winkler, Tomas wrote: > >> > >> Hi Prarit, > >> > >> On Fri, Aug 28, 2015 at 07:50:52AM -0400, Prarit Bhargava wrote: > >>> Heikki, Tomas? > >> > >> I'm afraid I don't know much about Intel's Management Engine > >> Interface. Looks like the driver is from Samuel (CC'd) so

Re: [PATCH v3 2/5] ARM: NSP: add minimal Northstar Plus device tree

2015-08-31 Thread Ray Jui
On 8/30/2015 7:24 PM, Jon Mason wrote: > On Fri, Aug 28, 2015 at 05:20:20PM -0700, Ray Jui wrote: >> >> >> On 8/28/2015 4:47 PM, Jon Mason wrote: >>> Add a very minimalistic set of Northstar Plus Device Tree files which >>> describes the SoC and the BCM958625 implementation. The perpherials >>>

[PATCH] perf tests: improve reading of objdump output

2015-08-31 Thread Jan Stancek
There are couple of situations, where objdump output doesn't match "code reading" test expectations: 1. gaps in output, objdump skips zero blocks by default 816704fe : 816704fe: 7b 34 jnp81670534 ... 81670501 : 8

Re: [PATCH 1/1] fix cpufreq/cpufreq.c null pointer access issue

2015-08-31 Thread Viresh Kumar
On 29-08-15, 01:32, 俞伟 wrote: > Hi, > This patch fixes an issue in cpufreq_init_policy(). > > Best regards, > Yu Wei You have done the right thing in the wrong way. Firstly, this is not how you send patches. Please read Documentation/SubmittingPatches for right details.. Secondly, this is even

Re: [PATCH] perf tests: improve reading of objdump output

2015-08-31 Thread Peter Zijlstra
On Mon, Aug 31, 2015 at 09:18:33AM +0200, Jan Stancek wrote: > There are couple of situations, where objdump output doesn't > match "code reading" test expectations: > > 1. gaps in output, objdump skips zero blocks by default > > 816704fe : > 816704fe: 7b 34

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-08-31 Thread Sascha Hauer
On Fri, Aug 28, 2015 at 10:23:15AM +0800, Daniel Kurtz wrote: > On Thu, Aug 27, 2015 at 7:49 PM, Punit Agrawal wrote: > > [ + device tree folks ] > > > > Hi Sascha, > > > > When introducing a new binding, it is a good idea to get reviews from > > the device tree maintainers. I've added a few folks

Re: [PATCH v2] mmc: core: fix race condition in mmc_wait_data_done

2015-08-31 Thread Ulf Hansson
On 28 August 2015 at 16:01, Shawn Lin wrote: > From: Jialing Fu > > The following panic is captured in ker3.14, but the issue still exists > in latest kernel. > - > [ 20.738217] c0 3136 (Compiler) Unable to handle kernel NULL p

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

2015-08-31 Thread Michael S. Tsirkin
On Mon, Aug 31, 2015 at 11:12:07AM +0800, Jason Wang wrote: > > > On 08/26/2015 01:10 PM, Jason Wang wrote: > > On 08/25/2015 07:51 PM, Michael S. Tsirkin wrote: > >> > On Tue, Aug 25, 2015 at 05:05:47PM +0800, Jason Wang wrote: > >> > We register wildcard mmio eventfd on two buses, one for

Re: Possible memory allocation deadlock in kmem_alloc and hung task in xfs_log_commit_cil and xlog_cil_push

2015-08-31 Thread Gavin Guo
On Sun, Aug 30, 2015 at 6:31 AM, Dave Chinner wrote: > On Fri, Aug 28, 2015 at 08:54:04PM +0800, Gavin Guo wrote: >> On Wed, Jul 8, 2015 at 7:37 AM, Dave Chinner wrote: >> > On Tue, Jul 07, 2015 at 05:29:43PM +0800, Gavin Guo wrote: >> >> Hi all, >> >> >> >> Recently, we observed that there is th

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

2015-08-31 Thread Bjørn Mork
Eugene Shatokhin writes: > 28.08.2015 11:55, Bjørn Mork пишет: > >> I guess you are right. At least I cannot prove that you are not :) >> >> There is a bit too much complexity involved here for me... > > :-) > > Yes, it is quite complex. > > I admit, it was easier for me to find the races in usbn

[PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-08-31 Thread Sascha Hauer
This adds support for the Mediatek thermal controller found on MT8173 and likely other SoCs. The controller is a bit special. It does not have its own ADC, instead it controls the on-SoC AUXADC via AHB bus accesses. For this reason we need the physical address of the AUXADC. Also it controls a mux

[PATCH 3/3] ARM64: dts: mt8173: Add thermal/auxadc device nodes

2015-08-31 Thread Sascha Hauer
Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 27237a1..ddacb86 100644 --- a/arch/

[PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2015-08-31 Thread Sascha Hauer
Signed-off-by: Sascha Hauer Reviewed-by: Daniel Kurtz --- .../bindings/thermal/mediatek-thermal.txt | 38 ++ include/dt-bindings/thermal/mt8173.h | 13 2 files changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/the

[PATCH v8] Add Mediatek thermal support

2015-08-31 Thread Sascha Hauer
This series adds support for the thermal sensors included in the MT8173 SoC. Currently only basic temperature reading is supported without any interrupt support. The cpufreq driver for MT8173 is currently under review, so there's no real cooling device available in mainline. Until this is availabl

Re: [PATCH 01/11] tools: Add err.h with ERR_PTR PTR_ERR interface

2015-08-31 Thread Jiri Olsa
On Fri, Aug 28, 2015 at 01:21:39PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Aug 26, 2015 at 03:46:43PM +0200, Jiri Olsa escreveu: > > Adding part of the kernel's interface: > > inline void * __must_check ERR_PTR(long error); > > inline long __must_check PTR_ERR(__force const void *pt

Re: [PATCH v4 0/3] KVM: Dynamic Halt-Polling

2015-08-31 Thread Wanpeng Li
On 8/30/15 6:26 AM, Peter Kieser wrote: Thanks, Wanpeng. Applied this to Linux 3.18 and seeing much higher CPU usage (200%) for qemu 2.4.0 process on a Windows 10 x64 guest. qemu parameters: Interesting. I test this against latest kvm tree and stable qemu 2.0.0, 4 vCPUs on pCPU0(other pCPUs ar

Re: [PATCH 05/11] perf tools: Move tracing_path stuff under same namespace

2015-08-31 Thread Jiri Olsa
On Fri, Aug 28, 2015 at 02:06:50PM +0100, Matt Fleming wrote: > On Wed, 26 Aug, at 05:06:37PM, Jiri Olsa wrote: > > > > no problem with moving it over to the lib > > > > how about having api/fs/tpfs > > or eventsfs > > or tracingfs > > > > > > doing the

Re: [PATCH RFC 1/3] vmx: allow ioeventfd for EPT violations

2015-08-31 Thread Michael S. Tsirkin
On Mon, Aug 31, 2015 at 10:53:58AM +0800, Xiao Guangrong wrote: > > > On 08/30/2015 05:12 PM, Michael S. Tsirkin wrote: > >Even when we skip data decoding, MMIO is slightly slower > >than port IO because it uses the page-tables, so the CPU > >must do a pagewalk on each access. > > > >This overhea

Re: [PATCH v4 0/3] KVM: Dynamic Halt-Polling

2015-08-31 Thread Wanpeng Li
On 8/31/15 3:44 PM, Wanpeng Li wrote: On 8/30/15 6:26 AM, Peter Kieser wrote: Thanks, Wanpeng. Applied this to Linux 3.18 and seeing much higher CPU usage (200%) for qemu 2.4.0 process on a Windows 10 x64 guest. qemu parameters: Interesting. I test this against latest kvm tree and stable qemu

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

2015-08-31 Thread Stephen Rothwell
Hi Ricard, On Mon, 31 Aug 2015 09:04:22 +0200 Ricard Wanderlof wrote: > > On Fri, 28 Aug 2015, Mark Brown wrote: > > > On Fri, Aug 28, 2015 at 09:40:41AM +0200, Ricard Wanderlof wrote: > > > On Fri, 28 Aug 2015, Stephen Rothwell wrote: > > > > > In fact the exact same construct is used by a ha

Re: [PATCH 3/7] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-08-31 Thread Maxime Coquelin
Hi Paul, On 07/09/2015 10:17 AM, Paul Bolle wrote: >+static int __exit st_fdma_remove(struct platform_device *pdev) >+{ >+ struct st_fdma_dev *fdev = platform_get_drvdata(pdev); >+ >+ wait_for_completion(&fdev->fw_ack); >+ >+ st_fdma_clk_disable(fdev); >+ >+ return 0; >+} Since this dri

is it a problem when cat /proc/pid/status

2015-08-31 Thread zhong jiang
I want to know whether the NUMA bound memory node with CONFIG_CGROUPS related or associted with NUMA binding. I wrote an example test,the results are as follows. > euler-linux:/home/zhongjiang # numactl --membind=1 ./new & > [1] 6529 > euler-linux:/home/zhongjiang # ps -ef | grep new > root

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

2015-08-31 Thread Stephen Rothwell
Hi Ricard, On Mon, 31 Aug 2015 17:48:42 +1000 Stephen Rothwell wrote: > > On Mon, 31 Aug 2015 09:04:22 +0200 Ricard Wanderlof > wrote: > > > > On Fri, 28 Aug 2015, Mark Brown wrote: > > > > > On Fri, Aug 28, 2015 at 09:40:41AM +0200, Ricard Wanderlof wrote: > > > > On Fri, 28 Aug 2015, Stephe

Re: [PATCH v2] spi: bitbang: Replace spinlock by mutex

2015-08-31 Thread Nicolas Boichat
Hi Mark, On Mon, Aug 17, 2015 at 11:52 AM, Nicolas Boichat wrote: > chipselect (in the case of spi-gpio: spi_gpio_chipselect, which > calls gpiod_set_raw_value_cansleep) can sleep, so we should not > hold a spinlock while calling it from spi_bitbang_setup. > > This issue was introduced by this co

Re: [PATCH] drivers/nfc/s3fwrn5/Makefile: remove superfluous cflags

2015-08-31 Thread Robert Baldyga
On 08/25/2015 10:50 AM, Valentin Rothberg wrote: > NFC_DEBUG is not defined in Kconfig and since DEBUG is not used > anywhere in this directory, we can safely remove this line. > > Signed-off-by: Valentin Rothberg Acked-by: Robert Baldyga Thanks, Robert Baldyga > --- > I detected the issue wi

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

2015-08-31 Thread Michael S. Tsirkin
On Sun, Aug 30, 2015 at 11:13:20PM -0700, H. Peter Anvin wrote: > Presumably because gcc can't generate bt... whether or not it is worth it is > another matter. > > On August 30, 2015 11:05:49 PM PDT, Ingo Molnar wrote: > > > >* Michael S. Tsirkin wrote: > > > >> +static __always_inline int __c

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

2015-08-31 Thread Ingo Molnar
* Michael S. Tsirkin wrote: > On Sun, Aug 30, 2015 at 11:13:20PM -0700, H. Peter Anvin wrote: > > Presumably because gcc can't generate bt... whether or not it is worth it > > is another matter. > > > > On August 30, 2015 11:05:49 PM PDT, Ingo Molnar wrote: > > > > > >* Michael S. Tsirkin wr

Re: [PATCH] drivers/nfc/s3fwrn5/Makefile: remove superfluous cflags

2015-08-31 Thread Robert Baldyga
[ +cc Samuel Ortiz and ] Hi Samuel, Could you please apply this patch? Thanks, Robert On 08/31/2015 09:54 AM, Robert Baldyga wrote: > On 08/25/2015 10:50 AM, Valentin Rothberg wrote: >> NFC_DEBUG is not defined in Kconfig and since DEBUG is not used >> anywhere in this directory, we can safely

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

2015-08-31 Thread Jason Wang
On 08/31/2015 03:29 PM, Michael S. Tsirkin wrote: > Thinking more about this, invoking the 0-length write after > > >> > the != 0 length one would be better: it would mean we only > > >> > handle the userspace MMIO like this. >>> > > Right. >>> > > >> > >> > Using current unittest. T

Re: [PATCH 21/22] xfs: %pF is only for function pointers

2015-08-31 Thread Dave Chinner
On Wed, Mar 11, 2015 at 10:13:56PM -0500, Scott Wood wrote: > Use %pS for actual addresses, otherwise you'll get bad output > on arches like ppc64 where %pF expects a function descriptor. > > Signed-off-by: Scott Wood > Cc: x...@oss.sgi.com Scott, I've just found that this change (commit 65dd297

Re: [PATCH 3/7] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-08-31 Thread Paul Bolle
Hi Maxime, On ma, 2015-08-31 at 09:49 +0200, Maxime Coquelin wrote: > On 07/09/2015 10:17 AM, Paul Bolle wrote: > > > > +static int __exit st_fdma_remove(struct platform_device *pdev) > > > > +{ > > > > + struct st_fdma_dev *fdev = platform_get_drvdata(pdev); > > > > + > > > > + wait_f

RE: [scsi 5/7 RESEND] scsi_debug: schedule_resp fix input variable check

2015-08-31 Thread Winkler, Tomas
> > On Sun, 2015-08-30 at 10:36 +, Winkler, Tomas wrote: > > > > > > > > > > > > > > > I'm just not sure why the patches are not merged or even rejected. > > > > > > > > Because ideally I want a Maintainer ack. That's Doug Gilbert. > > > > James > > The patches were discussed and the ACked by

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

2015-08-31 Thread yalin wang
> On Aug 31, 2015, at 15:59, Ingo Molnar wrote: > > > * Michael S. Tsirkin wrote: > >> On Sun, Aug 30, 2015 at 11:13:20PM -0700, H. Peter Anvin wrote: >>> Presumably because gcc can't generate bt... whether or not it is worth it >>> is another matter. >>> >>> On August 30, 2015 11:05:49 PM

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

2015-08-31 Thread Ingo Molnar
* Ingo Molnar wrote: > > Disassembly of section .text: > > > > <__variable_test_bit>: > > __variable_test_bit(): > >0: 8b 54 24 08 mov0x8(%esp),%edx > >4: 8b 44 24 04 mov0x4(%esp),%eax > >8: 0f a3 02bt %eax,(%edx) >

Re: [PATCH] power: Remove unnecessary MODULE_ALIAS() for I2C drivers

2015-08-31 Thread Javier Martinez Canillas
[adding cc list again] Hello Pali, On 08/31/2015 09:17 AM, Pali Rohár wrote: > On Monday 31 August 2015 01:18:35 Javier Martinez Canillas wrote: >> These drivers already have an I2C device id table that is used to create >> module aliases and the used MODULE_ALIAS() was either already in the I2C

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

2015-08-31 Thread Ricard Wanderlof
On Mon, 31 Aug 2015, Stephen Rothwell wrote: > On Mon, 31 Aug 2015 17:48:42 +1000 Stephen Rothwell > wrote: > > > > On Mon, 31 Aug 2015 09:04:22 +0200 Ricard Wanderlof > > wrote: > > > > > > On Fri, 28 Aug 2015, Mark Brown wrote: > > > > > > > On Fri, Aug 28, 2015 at 09:40:41AM +0200, Ricard

Re: [PATCH 1/1] signals: kill block_all_signals() and unblock_all_signals()

2015-08-31 Thread Daniel Vetter
On Thu, Aug 27, 2015 at 06:25:29PM +0200, Oleg Nesterov wrote: > It is hardly possible to enumerate all problems with block_all_signals() > and unblock_all_signals(). Just for example, > > 1. block_all_signals(SIGSTOP/etc) simply can't help if the caller is >multithreaded. Another thread can d

Re: perf mem report segfaulting

2015-08-31 Thread Jiri Olsa
On Fri, Aug 28, 2015 at 02:04:14PM -0300, Arnaldo Carvalho de Melo wrote: > > Hi, > > While trying to test my tmp.perf/ui_browser.horiz_scroll branch > with 'perf mem report' to allow that kind of browsing on the TUI, as of > now it works only on --stdio mode, using the right/left arrow key

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

2015-08-31 Thread Ingo Molnar
* yalin wang wrote: > > > On Aug 31, 2015, at 15:59, Ingo Molnar wrote: > > > > > > * Michael S. Tsirkin wrote: > > > >> On Sun, Aug 30, 2015 at 11:13:20PM -0700, H. Peter Anvin wrote: > >>> Presumably because gcc can't generate bt... whether or not it is worth it > >>> is another matter.

[PATCH] perf/x86/intel/pt: rdmsr before the CPUID test produces KVM warning

2015-08-31 Thread Huaitong Han
If KVM does not support INTEL_PT, guest MSR_IA32_RTIT_CTL reading will produce host warning like "kvm [2469]: vcpu0 unhandled rdmsr: 0x570". Guest can determine whether the CPU supports Intel_PT according to CPUID, so test_cpu_cap function is added before rdmsr,and it is more in line with the code

Re: [GIT PULL 0/1] perf stat fix

2015-08-31 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider applying, > > Kan Liang (1): > perf stat: Get correct cpu id for print_aggr > > tools/perf/builtin-stat.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > -- > 2.1.0 > > The following changes since co

[tip:perf/urgent] perf stat: Get correct cpu id for print_aggr

2015-08-31 Thread tip-bot for Kan Liang
Commit-ID: 601083cffb7cabdcc55b8195d732f0f7028570fa Gitweb: http://git.kernel.org/tip/601083cffb7cabdcc55b8195d732f0f7028570fa Author: Kan Liang AuthorDate: Thu, 2 Jul 2015 03:08:43 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 11:49:52 -0300 perf stat: Get cor

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

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

[tip:perf/core] perf script: Add --[no-]-demangle/--[no-] -demangle-kernel

2015-08-31 Thread tip-bot for Mark Drayton
Commit-ID: 77e0070da41f76e1ebd15291fb0254b0c174adfa Gitweb: http://git.kernel.org/tip/77e0070da41f76e1ebd15291fb0254b0c174adfa Author: Mark Drayton AuthorDate: Wed, 26 Aug 2015 12:18:15 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 11:47:40 -0300 perf script: A

[tip:perf/core] perf scripts python: Add new compaction-times script

2015-08-31 Thread tip-bot for Tony Jones
Commit-ID: 84e5d89a777cca26cc513264752b439874702dd6 Gitweb: http://git.kernel.org/tip/84e5d89a777cca26cc513264752b439874702dd6 Author: Tony Jones AuthorDate: Mon, 17 Aug 2015 12:48:52 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 14:53:40 -0300 perf scripts pyt

[tip:perf/core] tools lib traceeveent: Allow for negative numbers in print format

2015-08-31 Thread tip-bot for Steven Rostedt
Commit-ID: 1d945012d1381f0232ea2d66e32b06182eedb476 Gitweb: http://git.kernel.org/tip/1d945012d1381f0232ea2d66e32b06182eedb476 Author: Steven Rostedt AuthorDate: Thu, 27 Aug 2015 09:46:01 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 11:47:40 -0300 tools lib tr

[tip:perf/core] perf trace: Add header with copyright and background info

2015-08-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a598bb5e3558509cbb8aa1d422071ef61fda9d77 Gitweb: http://git.kernel.org/tip/a598bb5e3558509cbb8aa1d422071ef61fda9d77 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 28 Aug 2015 12:02:37 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 14:53:48 -0300 pe

[tip:perf/core] perf evsel: Add a backpointer to the evlist a evsel is in

2015-08-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d49e4695077278ee3016cd242967de23072ec331 Gitweb: http://git.kernel.org/tip/d49e4695077278ee3016cd242967de23072ec331 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 27 Aug 2015 08:07:40 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 14:53:49 -0300 pe

[tip:perf/core] perf buildid: Introduce sysfs/ filename__sprintf_build_id

2015-08-31 Thread tip-bot for Masami Hiramatsu
Commit-ID: 0b5a7935f3b5b7d40293b02c3e552f3d67af208b Gitweb: http://git.kernel.org/tip/0b5a7935f3b5b7d40293b02c3e552f3d67af208b Author: Masami Hiramatsu AuthorDate: Sat, 15 Aug 2015 20:42:59 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 14:53:50 -0300 perf build

[tip:perf/core] perf tools: Add tracing_path and remove unneeded functions

2015-08-31 Thread tip-bot for Jiri Olsa
Commit-ID: 9f44f0cc1c32f1542071447a9493652bbc03facb Gitweb: http://git.kernel.org/tip/9f44f0cc1c32f1542071447a9493652bbc03facb Author: Jiri Olsa AuthorDate: Wed, 26 Aug 2015 15:46:44 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 14:53:51 -0300 perf tools: Add t

[tip:perf/core] perf tools: Do not change lib/api/fs/ debugfs directly

2015-08-31 Thread tip-bot for Jiri Olsa
Commit-ID: 9f30fffc78ca35c862f74f34cc597c7fdddc8793 Gitweb: http://git.kernel.org/tip/9f30fffc78ca35c862f74f34cc597c7fdddc8793 Author: Jiri Olsa AuthorDate: Wed, 26 Aug 2015 15:46:45 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 14:53:53 -0300 perf tools: Do no

[tip:perf/core] perf tools: Rename perf_session_env to perf_env

2015-08-31 Thread tip-bot for Kan Liang
Commit-ID: ce80d3bef9ff97638ca57a5659ef6ad356f35047 Gitweb: http://git.kernel.org/tip/ce80d3bef9ff97638ca57a5659ef6ad356f35047 Author: Kan Liang AuthorDate: Fri, 28 Aug 2015 05:48:04 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 14:53:55 -0300 perf tools: Renam

[tip:perf/core] perf evlist: Add backpointer for perf_env to evlist

2015-08-31 Thread tip-bot for Kan Liang
Commit-ID: 2c07144dfce366e21465cc7b0ada9f0b6dc7b7ed Gitweb: http://git.kernel.org/tip/2c07144dfce366e21465cc7b0ada9f0b6dc7b7ed Author: Kan Liang AuthorDate: Fri, 28 Aug 2015 05:48:05 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 28 Aug 2015 14:54:14 -0300 perf evlist: Add

Re: [PATCH] power: Remove unnecessary MODULE_ALIAS() for I2C drivers

2015-08-31 Thread Pali Rohár
On Monday 31 August 2015 10:17:11 Javier Martinez Canillas wrote: > [adding cc list again] > > Hello Pali, > > On 08/31/2015 09:17 AM, Pali Rohár wrote: > > On Monday 31 August 2015 01:18:35 Javier Martinez Canillas wrote: > >> These drivers already have an I2C device id table that is used to cre

Re: [PATCH RFC 1/3] vmx: allow ioeventfd for EPT violations

2015-08-31 Thread Xiao Guangrong
On 08/31/2015 03:46 PM, Michael S. Tsirkin wrote: On Mon, Aug 31, 2015 at 10:53:58AM +0800, Xiao Guangrong wrote: On 08/30/2015 05:12 PM, Michael S. Tsirkin wrote: Even when we skip data decoding, MMIO is slightly slower than port IO because it uses the page-tables, so the CPU must do a pag

Re: [PATCH 09/15] x86, amd: add accessor for number of cores per compute unit

2015-08-31 Thread Peter Zijlstra
On Sun, Aug 30, 2015 at 05:53:22PM +0200, Borislav Petkov wrote: > On Sat, Aug 29, 2015 at 11:19:14AM +0200, Ingo Molnar wrote: > > So let me withdraw my ack: the much more important question that I > > missed first time around, why is this reporting feature living in > > hwmon, not in perf? We hav

Re: [PATCH] power: Remove unnecessary MODULE_ALIAS() for I2C drivers

2015-08-31 Thread Javier Martinez Canillas
Hello Pali, On 08/31/2015 10:35 AM, Pali Rohár wrote: > On Monday 31 August 2015 10:17:11 Javier Martinez Canillas wrote: >> [adding cc list again] >> >> Hello Pali, >> >> On 08/31/2015 09:17 AM, Pali Rohár wrote: >>> On Monday 31 August 2015 01:18:35 Javier Martinez Canillas wrote: These dri

Re: [PATCH 3/7] dmaengine: st_fdma: Add STMicroelectronics FDMA engine driver support

2015-08-31 Thread Maxime Coquelin
On 08/31/2015 10:08 AM, Paul Bolle wrote: Hi Maxime, On ma, 2015-08-31 at 09:49 +0200, Maxime Coquelin wrote: On 07/09/2015 10:17 AM, Paul Bolle wrote: +static int __exit st_fdma_remove(struct platform_device *pdev) +{ + struct st_fdma_dev *fdev = platform_get_drvdata(pdev); + +

[PATCH v2] clk:mxs: Fix bug on frequency divider

2015-08-31 Thread Victorien Vedrine
On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad result. The division before multiplication computes a wrong value ; the calculation is inverted to fix the problem. The second issue is that the exact rate have decimals and they are truncate. The consequence is that the

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

2015-08-31 Thread Eugene Shatokhin
31.08.2015 10:32, Bjørn Mork пишет: Eugene Shatokhin writes: 28.08.2015 11:55, Bjørn Mork пишет: I guess you are right. At least I cannot prove that you are not :) There is a bit too much complexity involved here for me... :-) Yes, it is quite complex. I admit, it was easier for me to f

[PATCH v2] power: Remove unnecessary MODULE_ALIAS() for I2C drivers

2015-08-31 Thread Javier Martinez Canillas
These drivers already have an I2C device id table that is used to create module aliases and the used MODULE_ALIAS() was either already in the I2C table so it was redundant or wasn't a valid I2C id so it was never used. Signed-off-by: Javier Martinez Canillas --- Changes in v2: - Don't remove MO

RE: [V3 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-08-31 Thread 河合英宏 / KAWAI,HIDEHIRO
Hello Peter, > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of 河合英宏 / KAWAI, > > Hi, > > > From: Peter Zijlstra [mailto:pet...@infradead.org] > > > > On Sat, Aug 22, 2015 at 02:35:24AM +, 河合英宏 / KAWAI,HIDEHIRO wrote: > > > > From: Peter Zi

Re: [PATCH v8 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-31 Thread Michal Hocko
On Fri 28-08-15 15:34:54, Eric B Munson wrote: > On Fri, 28 Aug 2015, Michal Hocko wrote: > > > On Wed 26-08-15 14:24:22, Eric B Munson wrote: > > > The cost of faulting in all memory to be locked can be very high when > > > working with large mappings. If only portions of the mapping will be > >

Re: [PATCH] spi: omap2-mcspi: add runtime PM to set_cs()

2015-08-31 Thread Mark Brown
On Sun, Aug 30, 2015 at 11:44:45AM -0500, Michael Welling wrote: > The patch is currently sitting in linux-next. > Not sure why it wasn't merged with 4.2.0-rc8. You didn't indicate that it was a bug fix for Linus rather than a fix for recent development :( signature.asc Description: Digital si

[PATCH] drm/fsl-dcu: Add multi layers support

2015-08-31 Thread Jianwei Wang
For DCU support atmost 16 layers(on ls1021a) or 64 layers(on vf610), add (total_layer - 1) overlay planes. Signed-off-by: Jianwei Wang --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/f

[PATCH] cpufreq: imx: use the managed interfaces for resources allocation

2015-08-31 Thread Bai Ping
Replace the clk_get() and regulator_get() with the managed interfaces then the error path can be simplified. Signed-off-by: Bai Ping --- drivers/cpufreq/imx6q-cpufreq.c | 52 +++-- 1 file changed, 13 insertions(+), 39 deletions(-) diff --git a/drivers/cpufreq

[PATCH V7 1/3] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-08-31 Thread Zhao Qiang
Bytes alignment is required to manage some special RAM, so add gen_pool_first_fit_align to genalloc, meanwhile add gen_pool_alloc_data to pass data to gen_pool_first_fit_align(modify gen_pool_alloc as a wrapper) Signed-off-by: Zhao Qiang --- Changes for v6: - patches set v6 include a new

[PATCH V7 2/3] qe_common: add qe_muram_ functions to manage muram

2015-08-31 Thread Zhao Qiang
muram is used for qe, add qe_muram_ functions to manage muram. Signed-off-by: Zhao Qiang --- Changes for v2: - no changes Changes for v3: - no changes Changes for v4: - no changes Changes for v5: - no changes Changes for v6: - using genalloc instead rheap t

[PATCH V7 3/3] QE: Move QE from arch/powerpc to drivers/soc

2015-08-31 Thread Zhao Qiang
ls1 has qe and ls1 has arm cpu. move qe from arch/powerpc to drivers/soc/fsl to adapt to powerpc and arm Signed-off-by: Zhao Qiang --- hanges for v2: - move code to driver/soc Changes for v3: - change drivers/soc/qe to drivers/soc/fsl-qe Changes for v4: - move drivers/soc/

Re: [PATCH] cpufreq: imx: use the managed interfaces for resources allocation

2015-08-31 Thread Viresh Kumar
On 01-09-15, 01:05, Bai Ping wrote: > Replace the clk_get() and regulator_get() with the managed interfaces > then the error path can be simplified. > > Signed-off-by: Bai Ping > --- > drivers/cpufreq/imx6q-cpufreq.c | 52 > +++-- > 1 file changed, 13 inserti

Re: [V3 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-08-31 Thread Peter Zijlstra
On Mon, Aug 31, 2015 at 08:53:11AM +, 河合英宏 / KAWAI,HIDEHIRO wrote: > > I understand your question. I don't intend to permit the recursive > > call of crash_kexec() as for 'old_cpu != this_cpu' check. That is > > needed for the case of panic() --> crash_kexec(). Since panic_cpu has > > alread

QEMU fw_cfg DMA interface

2015-08-31 Thread Marc Marí
Implementation of the FW CFG DMA interface. When running a Linux guest on top of QEMU, using the -kernel options, this is the timing improvement for x86: QEMU commit 090d0bf and SeaBIOS commit 2fc20dc QEMU startup time: .078 BIOS startup time: .060 Kernel setup time: .578 Total time: .716 QEMU w

[PATCH v2] QEMU fw_cfg DMA interface documentation

2015-08-31 Thread Marc Marí
Add fw_cfg DMA interface specfication in the fw_cfg documentation. Signed-off-by: Marc Marí --- Documentation/devicetree/bindings/arm/fw-cfg.txt | 51 +++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt b/Docume

Re: [PATCH v5 2/2] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status

2015-08-31 Thread Michal Hocko
On Thu 27-08-15 10:23:51, Jörn Engel wrote: > On Thu, Aug 27, 2015 at 08:48:18AM +0200, Michal Hocko wrote: > > > > > On x86, HUGE_MAX_HSTATE == 2. I don't consider that to be expensive. > > > > > > If you are concerned about the memory allocation of struct hugetlb_usage, > > > it could easily

Re: [PATCH] mremap.2: Add note about mremap with locked areas

2015-08-31 Thread Michal Hocko
On Fri 28-08-15 14:42:52, Eric B Munson wrote: > When mremap() is used to move or expand a mapping that is locked with > mlock() or equivalent it will attempt to populate the new area. > However, like mmap(MAP_LOCKED), mremap() will not fail if the area > cannot be populated. Also like mmap(MAP_LO

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

2015-08-31 Thread Axel Lin
So the drivers can be compiled with CONFIG_RESET_CONTROLLER disabled. Signed-off-by: Axel Lin --- include/linux/reset.h | 12 1 file changed, 12 insertions(+) diff --git a/include/linux/reset.h b/include/linux/reset.h index da5602b..cd42c1b 100644 --- a/include/linux/reset.h +++ b/

Re: [PATCH] mlock.2: mlock2.2: Add entry to for new mlock2 syscall

2015-08-31 Thread Michal Hocko
On Fri 28-08-15 14:43:11, Eric B Munson wrote: > Update the mlock.2 man page with information on mlock2() and the new > mlockall() flag MCL_ONFAULT. > > Signed-off-by: Eric B Munson > Cc: Michal Hocko Acked-by: Michal Hocko I am not familiar with the format much so I am just looking at the te

Re: [PATCH 0/6] sched/fair: Compute capacity invariant load/utilization tracking

2015-08-31 Thread Peter Zijlstra
On Fri, Aug 14, 2015 at 05:23:08PM +0100, Morten Rasmussen wrote: > Target: ARM TC2 A7-only (x3) > Test: hackbench -g 25 --threads -l 1 > > BeforeAfter > 315.545 313.408 -0.68% > > Target: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz > Test: hackbench -g 25 --threads -l 1000 (avg of

Re: [PATCH V7 1/8] perf,tools: introduce generic FEAT for CPU attributes

2015-08-31 Thread Jiri Olsa
On Fri, Aug 28, 2015 at 05:48:02AM -0400, Kan Liang wrote: SNIP > > +static int process_cpu_attributes(struct perf_file_section *section > __maybe_unused, > + struct perf_header *ph, int fd, > + void *data __maybe_unused) > +{ > +

Re: [PATCH V7 2/8] perf,tools: read msr pmu type from header.

2015-08-31 Thread Jiri Olsa
On Fri, Aug 28, 2015 at 05:48:03AM -0400, Kan Liang wrote: > From: Kan Liang > > Get msr pmu type when processing pmu_mappings > > Signed-off-by: Kan Liang Acked-by: Jiri Olsa thanks, jirka > --- > tools/perf/util/header.c | 3 +++ > tools/perf/util/header.h | 1 + > 2 files changed, 4 ins

[linux-next PATCH] regmap: fix a NULL pointer dereference in __regmap_init

2015-08-31 Thread Sergey SENOZHATSKY
__regmap_init() may receive a NULL `struct regmap_bus *bus' pointer, for example, from snd_hdac_regmap_init(), and it make sure that it does not NULL deference `bus`, except around ->max_raw_read and ->max_raw_write initialisation. Add missing check. Signed-off-by: Sergey Senozhatsky --- drivers

linux-next: Tree for Aug 31

2015-08-31 Thread Stephen Rothwell
Hi all, Changes since 20150828: I used the h8300 tree from next-20150828 since the current tree has been rebased onto linux-next :-( The sound-asoc tree lost its build failure. The trivial tree gained a conflict against the drm tree. The tty tree still had its build failure for which I reverte

RE: [V3 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-08-31 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Peter Zijlstra [mailto:pet...@infradead.org] > On Mon, Aug 31, 2015 at 08:53:11AM +, 河合英宏 / KAWAI,HIDEHIRO wrote: > > > I understand your question. I don't intend to permit the recursive > > > call of crash_kexec() as for 'old_cpu != this_cpu' check. That is > > > needed for the case

[GIT pull] x86/apic updates for 4.3

2015-08-31 Thread Thomas Gleixner
Linus, please pull the latest x86-apic-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-apic-for-linus This udpate contains: - Rework the irq vector array to store a pointer to the irq descriptor instead of the irq number to avoid a lookup of

Re: [PATCH v2 3/4] KVM: arm/arm64: check power_off in critical section before VCPU run

2015-08-31 Thread Christoffer Dall
On Fri, Aug 07, 2015 at 06:08:32PM +0200, Eric Auger wrote: > In case KVM_SET_MP_STATE ioctl is called just after we executed the > vcpu_sleep check, we can enter the guest although KVM_MP_STATE_STOPPED > is set. Let's check the power_off state in the critical section, > just before entering the gu

Applied "regmap: Support bulk reads for devices without raw formatting" to the regmap tree

2015-08-31 Thread Mark Brown
The patch regmap: Support bulk reads for devices without raw formatting has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Re: [PATCH v2] spi: bitbang: Replace spinlock by mutex

2015-08-31 Thread Mark Brown
On Mon, Aug 31, 2015 at 03:54:13PM +0800, Nicolas Boichat wrote: > On Mon, Aug 17, 2015 at 11:52 AM, Nicolas Boichat > wrote: > Any update on this patch? It still applies on for-next but happy to > resend if necessary (patchwork: > https://patchwork.kernel.org/patch/7023091/). Please don't send

[PATCH 2/2] IGMP: Inhibit reports for local multicast groups - DOCUMENT

2015-08-31 Thread Philip Downey
Document the addition of a new sysctl variable which controls the generation of IGMP reports for link local multicast groups in the 224.0.0.X range. IGMP reports for local multicast groups can now be optionally inhibited by setting the value to zero e.g.: echo 0 > /proc/sys/net/ipv4/igmp_link_loca

RE: [PATCH] IGMP: Inhibit reports for local multicast groups

2015-08-31 Thread Philip Downey
> -Original Message- > From: Cong Wang [mailto:cw...@twopensource.com] > Sent: Friday, August 28, 2015 10:20 PM > To: Philip Downey > Cc: David Miller; Alexey Kuznetsov; James Morris; Hideaki YOSHIFUJI; Patrick > McHardy; linux-kernel@vger.kernel.org; netdev > Subject: Re: [PATCH] IGMP: I

ARCv2 testing exposure (Re: arc build failures in -next due to ARCv2 patch)

2015-08-31 Thread Vineet Gupta
Hi Guenter, On Sunday 28 June 2015 08:46 PM, Vineet Gupta wrote: > On Saturday 27 June 2015 07:46 PM, Guenter Roeck wrote: >>> >> Thx for reporting the issue - I have pushed a fix (also attached) which >>> >> shd cure >>> >> it (don't have exactly similar oldish gcc at hand). >> > >> > Not that

Re: [PATCH v2 4/4] KVM: arm/arm64: implement kvm_arm_[halt,resume]_guest

2015-08-31 Thread Christoffer Dall
On Fri, Aug 07, 2015 at 06:08:33PM +0200, Eric Auger wrote: > We introduce kvm_arm_halt_guest and resume functions. They > will be used for IRQ forward state change. > > Halt is synchronous and prevents the guest from being re-entered. > We use the same mechanism put in place for PSCI former pause

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

2015-08-31 Thread Kishon Vijay Abraham I
Hi Mark, 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 Brown wrote: > >>> So substract this address from the start of the resource to get the >>> offset? Or provide a wrapper function in

[GIT PULL] regulator updates for v4.3

2015-08-31 Thread Mark Brown
The following changes since commit c13dcf9f2d6f5f06ef1bf79ec456df614c5e058b: Linux 4.2-rc8 (2015-08-23 20:52:59 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v4.3 for you to fetch changes up to f5164b883349

Re: [PATCH 1/2] media: atmel-isi: setup the ISI_CFG2 register directly

2015-08-31 Thread Josh Wu
Hi, Guennadi Thanks for the review. On 8/30/2015 4:48 PM, Guennadi Liakhovetski wrote: Hi Josh, On Wed, 17 Jun 2015, Josh Wu wrote: In the function configure_geometry(), we will setup the ISI CFG2 according to the sensor output format. It make no sense to just read back the CFG2 register an

Re: [PATCH 2/3] rhashtable-test: retry insert operations in threads

2015-08-31 Thread Phil Sutter
On Sun, Aug 30, 2015 at 03:47:17PM +0800, Herbert Xu wrote: > Phil Sutter wrote: > > > > Should we introduce a new field to struct rhashtable to track the > > internal state? This might allow to clean up some rather obscure tests, > > e.g. whether a table resize is in progress or not. > > Why wou

Re: [PATCH 05/11] x86, pci, acpi: Move arch-agnostic MMCONFIG (aka ECAM) and ACPI code out of arch/x86/ directory

2015-08-31 Thread Tomasz Nowicki
On 08.06.2015 17:14, Lorenzo Pieralisi wrote: On Mon, Jun 08, 2015 at 03:57:38AM +0100, Hanjun Guo wrote: [...] Why can't we make use of the ECAM implementation used by pci-host-generic and drivers/pci/access.c? We had that question when I had posted MMCFG patch set separately, please see: h

Re: [PATCH] cpufreq: imx: use the managed interfaces for resources allocation

2015-08-31 Thread Lucas Stach
Am Dienstag, den 01.09.2015, 01:05 +0800 schrieb Bai Ping: > Replace the clk_get() and regulator_get() with the managed interfaces > then the error path can be simplified. > > Signed-off-by: Bai Ping NACK. Please go back in the git history of this file and look at the commits. Those clocks and r

Re: [PATCH V7 6/8] perf,tools: Dump per-sample freq/CPU%/CORE_BUSY% in report -D

2015-08-31 Thread Jiri Olsa
On Fri, Aug 28, 2015 at 05:48:07AM -0400, Kan Liang wrote: > From: Kan Liang > > The group read results from cycles/ref-cycles/TSC/ASTATE/MSTATE event > can be used to calculate the frequency, CPU Utilization and percent > performance during each sampling period. > This patch shows them in report

  1   2   3   4   5   6   7   >