Re: [PATCH 1/3] x86 msr: msr goto extension support

2014-08-01 Thread Peter Zijlstra
On Thu, Jul 31, 2014 at 02:05:48PM -0700, Andy Lutomirski wrote: > On 07/31/2014 02:41 AM, kan.li...@intel.com wrote: > > +/* > > + * The _goto version is rdmsrl/wrmsrl with exception handling > > + * The advantage (than _safe) is that it can directly jump in the > > + * exception handling code,

Re: [PATCH 3/3] arm: dts: Add gta04a5 model

2014-08-01 Thread Tony Lindgren
* Javier Martinez Canillas [140729 07:14]: > Hello, > > On Tue, Jul 29, 2014 at 3:03 PM, Dr. H. Nikolaus Schaller > wrote: > > Hi, > >> So what's the conclusion? Are changes needed to this patch > >> series or not? > > > > I advocate that no changes are needed. > > > > I agree with Dr. H.

Re: [PATCH] Documentation: dmaengine: Add a documentation for the dma controller API

2014-08-01 Thread Lars-Peter Clausen
On 07/31/2014 07:37 PM, Maxime Ripard wrote: On Thu, Jul 31, 2014 at 06:54:11PM +0200, Lars-Peter Clausen wrote: On 07/31/2014 06:13 PM, Maxime Ripard wrote: [...] From what you're saying, and judging from the drivers that already implement it, can't it be moved directly to the framework

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-08-01 Thread Yuyang Du
On Fri, Aug 01, 2014 at 09:29:11AM +0200, Peter Zijlstra wrote: > On Fri, Aug 01, 2014 at 10:03:30AM +0800, Aaron Lu wrote: > > > > > ebe06187bf2aec1 a43455a1d572daf7b730fe12e > > > > > --- - > > > > > 94500 ~ 3%+115.6% 203711 ~ 6% > > > > >

Re: [PATCH] ARM: l2x0: fix build warning without CONFIG_OF

2014-08-01 Thread Russell King - ARM Linux
On Fri, Aug 01, 2014 at 10:42:00AM +0800, Kefeng Wang wrote: > Commit cf9ea8f13(ARM: l2c: remove obsolete l2x0 ops for non-OF init) > remove some obsolete l2x0 ops, the rest of ops: l2x0_cache_sync, > l2x0_cache_sync, l2x0_disable only use under OF enable, so move them > into OF part, or "defined

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Eric W. Biederman
Bert Wesarg writes: > On Fri, Aug 1, 2014 at 2:30 AM, Eric W. Biederman > wrote: >> >> This patchset implements /proc/thread-self a magic symlink that >> solves a couple of problems. > > shouldn't we keep the 'task' in the name, as it points into the 'task' > directory? And why not mimic the

tvtuner pixelview B1000

2014-08-01 Thread basteon
hello. I have pixelview B1000 card and this card won't work with assigned modules cx8800, cx8802. May be I'm use wrong modules or cardid prefix: 1554:4952, board: PixelView [card=3... # /usr/bin/tvtime-scanner Reading configuration from /etc/tvtime/tvtime.xml Scanning using TV standard NTSC.

Re: [PATCH 2/3] x86 perf: Protect LBR msrs accessing against potential #GP

2014-08-01 Thread Peter Zijlstra
On Fri, Aug 01, 2014 at 09:38:25AM +0200, Peter Zijlstra wrote: > On Thu, Jul 31, 2014 at 02:41:02AM -0700, kan.li...@intel.com wrote: > > From: Kan Liang > > > > Intel PT will take over LBR hardware. If RTIT_CTL.TraceEn=1, any attempt to > > read or write the LBR or LER MSRs, including LBR_TOS,

Re: [befs] BUG: unable to handle kernel paging request at cfc07000

2014-08-01 Thread Fabian Frederick
> On 01 August 2014 at 03:25 Fengguang Wu wrote: > > > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > commit dac52fc1826a788d2591a4f77e3c482b30f577e2 > Author:     Fabian

[PATCH] pinctrl: abx500: remove useless check

2014-08-01 Thread Patrice CHOTARD
pctldev can't be NULL at this stage so remove the check Reported-by: dan.carpen...@oracle.com Signed-off-by: Patrice Chotard --- drivers/pinctrl/pinctrl-abx500.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-abx500.c

Re: linux-next: manual merge of the staging tree with the tree

2014-08-01 Thread Greg KH
On Fri, Aug 01, 2014 at 04:21:42PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in > MAINTAINERS between commit 7eea35fe3df8 ("[media] MAINTAINERS: Update > go7007 pattern") from the v4l-dvb tree and commit 0d317b91d6d8 > ("staging:

Re: [PATCH 2/3] x86 perf: Protect LBR msrs accessing against potential #GP

2014-08-01 Thread Peter Zijlstra
On Thu, Jul 31, 2014 at 02:41:02AM -0700, kan.li...@intel.com wrote: > From: Kan Liang > > Intel PT will take over LBR hardware. If RTIT_CTL.TraceEn=1, any attempt to > read or write the LBR or LER MSRs, including LBR_TOS, will result in a #GP. > Intel PT can be enabled/disabled at runtime by

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-08-01 Thread Peter Zijlstra
On Thu, Jul 31, 2014 at 09:03:22PM -0700, Davidlohr Bueso wrote: > > Instead of removing info, why not document what each piece of data > represents. Or add headers to the table. etc. Yes headers are good, knowing exactly what a number is often removes a lot of confusion ;-) pgpKZNok1PSKp.pgp

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-08-01 Thread Peter Zijlstra
On Fri, Aug 01, 2014 at 10:03:30AM +0800, Aaron Lu wrote: > > > > ebe06187bf2aec1 a43455a1d572daf7b730fe12e > > > > --- - > > > > 94500 ~ 3%+115.6% 203711 ~ 6% > > > > ivb42/hackbench/50%-threads-pipe > > > > 67745 ~ 4% +64.1%

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Bert Wesarg
On Fri, Aug 1, 2014 at 2:30 AM, Eric W. Biederman wrote: > > This patchset implements /proc/thread-self a magic symlink that > solves a couple of problems. shouldn't we keep the 'task' in the name, as it points into the 'task' directory? And why not mimic the current 'self -> ' ideom under

Re: Oops in scsi_put_host_cmd_pool

2014-08-01 Thread Juergen Gross
On 08/01/2014 09:05 AM, James Bottomley wrote: On Fri, 2014-08-01 at 08:02 +0200, Juergen Gross wrote: On 08/01/2014 07:41 AM, Juergen Gross wrote: During test of Xen pvSCSI frontend module I found the following issue: When unplugging a passed-through SCSI-device the SCSI Host is removed.

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Eric W. Biederman
Randy Dunlap writes: > On 07/31/14 17:30, Eric W. Biederman wrote: >> >> This patchset implements /proc/thread-self a magic symlink that >> solves a couple of problems. >> >> - It makes it easy to get to a specific threads directory in /proc >> with gettid() not being exported in glibc this

Re: Oops in scsi_put_host_cmd_pool

2014-08-01 Thread James Bottomley
On Fri, 2014-08-01 at 08:02 +0200, Juergen Gross wrote: > On 08/01/2014 07:41 AM, Juergen Gross wrote: > > During test of Xen pvSCSI frontend module I found the following issue: > > > > When unplugging a passed-through SCSI-device the SCSI Host is removed. > > When calling the final

Re: [Regression 3.16-rc kernel] -55% reduction in throughput for OLTP benchmark

2014-08-01 Thread Al Viro
On Tue, Jul 29, 2014 at 05:12:48PM -0700, Christoph Hellwig wrote: > On Tue, Jul 29, 2014 at 04:57:12PM -0700, Tim Chen wrote: > > Christoph, we're glad to report that this patch does fix the problem. > > Wonder if Al or someone can pick it up. It is a large regression > > that should not be left

Re: [PATCH] mm: softdirty: respect VM_SOFTDIRTY in PTE holes

2014-08-01 Thread Cyrill Gorcunov
On Thu, Jul 31, 2014 at 06:43:25PM -0400, Peter Feiner wrote: > After a VMA is created with the VM_SOFTDIRTY flag set, > /proc/pid/pagemap should report that the VMA's virtual pages are > soft-dirty until VM_SOFTDIRTY is cleared (i.e., by the next write of > "4" to /proc/pid/clear_refs). However,

Re: [PATCH 10/19] ARM64 / ACPI: Get the enable method for SMP initialization in ACPI way

2014-08-01 Thread Hanjun Guo
On 2014-8-1 2:52, Geoff Levand wrote: > Hi Hanjun, Hi Geoff, > > On Thu, 2014-07-24 at 21:00 +0800, Hanjun Guo wrote: >> ACPI 5.1 only has two explicit methods to boot up SMP, >> PSCI and Parking protocol, but the Parking protocol is >> only suitable for ARMv7 now, so make PSCI as the only way

[PATCH] DRBG: fix failure of generating multiple of 2**16 bytes

2014-08-01 Thread Stephan Mueller
The function drbg_generate_long slices the request into 2**16 byte or smaller chunks. However, the loop, however invokes the random number generation function with zero bytes when the request size is a multiple of 2**16 bytes. The fix prevents zero bytes requests. Signed-off-by: Stephan Mueller

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Randy Dunlap
On 07/31/14 17:30, Eric W. Biederman wrote: > > This patchset implements /proc/thread-self a magic symlink that > solves a couple of problems. > > - It makes it easy to get to a specific threads directory in /proc > with gettid() not being exported in glibc this is currently a pain. > > - It

RE: [PATCH] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-01 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2014-08-01: > Il 01/08/2014 02:57, Zhang, Yang Z ha scritto: >>> TPR_THRESHOLD will be likely written as zero, but the processor >>> will never use it anyway. It's just a small optimization because >>> nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW) will almost always > be

Re: [PATCH 04/19] ARM64 / ACPI: Introduce arch_fix_phys_package_id() for cpu topology

2014-08-01 Thread Hanjun Guo
On 2014-7-29 2:51, Sudeep Holla wrote: > On 24/07/14 14:00, Hanjun Guo wrote: >> arch_fix_phys_package_id() will be called in ACPI core to use >> the slot number provided by ACPI to update the physical package >> id, then we can get the right value in the "physical id" field >> of /proc/cpuinfo.

Re: [PATCH] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-01 Thread Paolo Bonzini
Il 01/08/2014 02:57, Zhang, Yang Z ha scritto: > > TPR_THRESHOLD will be likely written as zero, but the processor will > > never use it anyway. It's just a small optimization because > > nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW) will almost always be true. > > Theoretically, you are right.

Re: [PATCH 8/8] clk: tegra: Add EMC clock driver

2014-08-01 Thread Mikko Perttunen
On 01/08/14 02:08, Mike Turquette wrote: ... That is sensible, and all the more reason that this patch shouldn't implement the rate-change feature within the clock driver. So consider it NAK'd. Also I agree that the per-clock debugfs entries are very useful for RO operations, especially

[PATCH] Save command pool address of Scsi_Host

2014-08-01 Thread jgross
From: Juergen Gross If a scsi host driver specifies .cmd_len in it's scsi_host_template, a driver's private command pool is needed. scsi_find_host_cmd_pool() will locate it, but scsi_alloc_host_cmd_pool() isn't saving the pool address in the host template. This will result in an access error

linux-next: manual merge of the staging tree with the tree

2014-08-01 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in MAINTAINERS between commit 7eea35fe3df8 ("[media] MAINTAINERS: Update go7007 pattern") from the v4l-dvb tree and commit 0d317b91d6d8 ("staging: frontier: remove driver") from the staging tree. I fixed it up (see below) and

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Eric W. Biederman
Davidlohr Bueso writes: > On Thu, 2014-07-31 at 17:30 -0700, Eric W. Biederman wrote: >> This is small chance changing /proc/net and /proc/mounts will cause >> userspace regressions (although nothing has shown up in my testing) if >> that happens we can just point the change that moves them from

Re: [PATCH 2/6] ARM: DTS: da850: Add node for edma0

2014-08-01 Thread Sekhar Nori
On Friday 01 August 2014 10:39 AM, Peter Ujfalusi wrote: > On 07/31/2014 05:26 PM, Sergei Shtylyov wrote: >> On 07/31/2014 02:18 PM, Peter Ujfalusi wrote: >> >>> Add DT node for edma0. >> >>> Signed-off-by: Peter Ujfalusi >>> --- >>> arch/arm/boot/dts/da850.dtsi | 6 ++ >>> 1 file changed,

[PATCH v2 0/6] ARM: DT/davinci: Audio for da850-evm in DT boot

2014-08-01 Thread Peter Ujfalusi
Hi, Changes since v1: - fixed the address missmatch for tlv320aic3106 codec (@1b -> 18) - The edma patches has been taken by Vinod, they should be in linux-next soon. The following series will enable audio via simple card on the board when booted with DT. For edma one patch is needed to have

[PATCH v2 4/6] ARM: DTS: da850-evm: Enable McASP via DT boot

2014-08-01 Thread Peter Ujfalusi
Add pinctrl nodes for the McASP0 pins and configure McASP to the desired mode for the board. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/da850-evm.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts

[PATCH v2 1/6] ARM: davinci: da8xx-dt: add OF_DEV_AUXDATA entry for mcasp0

2014-08-01 Thread Peter Ujfalusi
Add OF_DEV_AUXDATA for mcasp to be able to use clocks. Signed-off-by: Peter Ujfalusi --- arch/arm/mach-davinci/da8xx-dt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index ed1928740b5f..f703d82f08a8 100644 ---

[PATCH v2 2/6] ARM: DTS: da850: Add node for edma0

2014-08-01 Thread Peter Ujfalusi
Add DT node for edma0. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/da850.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index b695548dbb4e..41ce4e8bf227 100644 --- a/arch/arm/boot/dts/da850.dtsi +++

[PATCH v2 5/6] ARM: DTS: da850-evm: Add node for tlv320aic3106 codec

2014-08-01 Thread Peter Ujfalusi
The board uses aic3106 for audio. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/da850-evm.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 1422c311af4c..41715b495861 100644 ---

[PATCH v2 6/6] ARM: DTS: da850-evm: Enable audio via simple-card

2014-08-01 Thread Peter Ujfalusi
The audio on the board is using McASP <-> tlv320aic3106 codec and we have LineIn and LineOut jacks. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/da850-evm.dts | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts

[PATCH v2 3/6] ARM: DTS: da850: Add node for McASP

2014-08-01 Thread Peter Ujfalusi
Node for mcasp0 Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/da850.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 41ce4e8bf227..0bd98cd00816 100644 --- a/arch/arm/boot/dts/da850.dtsi +++

Re: Oops in scsi_put_host_cmd_pool

2014-08-01 Thread Juergen Gross
On 08/01/2014 07:41 AM, Juergen Gross wrote: During test of Xen pvSCSI frontend module I found the following issue: When unplugging a passed-through SCSI-device the SCSI Host is removed. When calling the final scsi_host_put() from the driver an Oops is happening: [ 219.816292]

[PATCH] perf kmem: Do not ignore mmap events

2014-08-01 Thread Namhyung Kim
The perf kmem command didn't process mmap events for some unknown reason and it instead gets symbol info from a running kernel. This is problematic if perf kmem record was run on a different kernel. This patch adds the mmap event handlers and reverts the commit e727ca73f85d ("perf kmem: Resolve

[PATCH] perf kmem: Do not ignore mmap events

2014-08-01 Thread Namhyung Kim
The perf kmem command didn't process mmap events for some unknown reason and it instead gets symbol info from a running kernel. This is problematic if perf kmem record was run on a different kernel. This patch adds the mmap event handlers and reverts the commit e727ca73f85d (perf kmem: Resolve

Re: Oops in scsi_put_host_cmd_pool

2014-08-01 Thread Juergen Gross
On 08/01/2014 07:41 AM, Juergen Gross wrote: During test of Xen pvSCSI frontend module I found the following issue: When unplugging a passed-through SCSI-device the SCSI Host is removed. When calling the final scsi_host_put() from the driver an Oops is happening: [ 219.816292]

[PATCH v2 3/6] ARM: DTS: da850: Add node for McASP

2014-08-01 Thread Peter Ujfalusi
Node for mcasp0 Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 41ce4e8bf227..0bd98cd00816 100644 ---

[PATCH v2 2/6] ARM: DTS: da850: Add node for edma0

2014-08-01 Thread Peter Ujfalusi
Add DT node for edma0. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index b695548dbb4e..41ce4e8bf227 100644 ---

[PATCH v2 5/6] ARM: DTS: da850-evm: Add node for tlv320aic3106 codec

2014-08-01 Thread Peter Ujfalusi
The board uses aic3106 for audio. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850-evm.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index 1422c311af4c..41715b495861 100644

[PATCH v2 6/6] ARM: DTS: da850-evm: Enable audio via simple-card

2014-08-01 Thread Peter Ujfalusi
The audio on the board is using McASP - tlv320aic3106 codec and we have LineIn and LineOut jacks. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850-evm.dts | 29 + 1 file changed, 29 insertions(+) diff --git

[PATCH v2 1/6] ARM: davinci: da8xx-dt: add OF_DEV_AUXDATA entry for mcasp0

2014-08-01 Thread Peter Ujfalusi
Add OF_DEV_AUXDATA for mcasp to be able to use clocks. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-davinci/da8xx-dt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index ed1928740b5f..f703d82f08a8

[PATCH v2 4/6] ARM: DTS: da850-evm: Enable McASP via DT boot

2014-08-01 Thread Peter Ujfalusi
Add pinctrl nodes for the McASP0 pins and configure McASP to the desired mode for the board. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850-evm.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/da850-evm.dts

[PATCH v2 0/6] ARM: DT/davinci: Audio for da850-evm in DT boot

2014-08-01 Thread Peter Ujfalusi
Hi, Changes since v1: - fixed the address missmatch for tlv320aic3106 codec (@1b - 18) - The edma patches has been taken by Vinod, they should be in linux-next soon. The following series will enable audio via simple card on the board when booted with DT. For edma one patch is needed to have

Re: [PATCH 2/6] ARM: DTS: da850: Add node for edma0

2014-08-01 Thread Sekhar Nori
On Friday 01 August 2014 10:39 AM, Peter Ujfalusi wrote: On 07/31/2014 05:26 PM, Sergei Shtylyov wrote: On 07/31/2014 02:18 PM, Peter Ujfalusi wrote: Add DT node for edma0. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/da850.dtsi | 6 ++ 1 file changed,

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Eric W. Biederman
Davidlohr Bueso davidl...@hp.com writes: On Thu, 2014-07-31 at 17:30 -0700, Eric W. Biederman wrote: This is small chance changing /proc/net and /proc/mounts will cause userspace regressions (although nothing has shown up in my testing) if that happens we can just point the change that moves

linux-next: manual merge of the staging tree with the tree

2014-08-01 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in MAINTAINERS between commit 7eea35fe3df8 ([media] MAINTAINERS: Update go7007 pattern) from the v4l-dvb tree and commit 0d317b91d6d8 (staging: frontier: remove driver) from the staging tree. I fixed it up (see below) and can

[PATCH] Save command pool address of Scsi_Host

2014-08-01 Thread jgross
From: Juergen Gross jgr...@suse.com If a scsi host driver specifies .cmd_len in it's scsi_host_template, a driver's private command pool is needed. scsi_find_host_cmd_pool() will locate it, but scsi_alloc_host_cmd_pool() isn't saving the pool address in the host template. This will result in an

Re: [PATCH 8/8] clk: tegra: Add EMC clock driver

2014-08-01 Thread Mikko Perttunen
On 01/08/14 02:08, Mike Turquette wrote: ... That is sensible, and all the more reason that this patch shouldn't implement the rate-change feature within the clock driver. So consider it NAK'd. Also I agree that the per-clock debugfs entries are very useful for RO operations, especially

Re: [PATCH] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-01 Thread Paolo Bonzini
Il 01/08/2014 02:57, Zhang, Yang Z ha scritto: TPR_THRESHOLD will be likely written as zero, but the processor will never use it anyway. It's just a small optimization because nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW) will almost always be true. Theoretically, you are right. But we

Re: [PATCH 04/19] ARM64 / ACPI: Introduce arch_fix_phys_package_id() for cpu topology

2014-08-01 Thread Hanjun Guo
On 2014-7-29 2:51, Sudeep Holla wrote: On 24/07/14 14:00, Hanjun Guo wrote: arch_fix_phys_package_id() will be called in ACPI core to use the slot number provided by ACPI to update the physical package id, then we can get the right value in the physical id field of /proc/cpuinfo.

RE: [PATCH] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-01 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2014-08-01: Il 01/08/2014 02:57, Zhang, Yang Z ha scritto: TPR_THRESHOLD will be likely written as zero, but the processor will never use it anyway. It's just a small optimization because nested_cpu_has(vmcs12, CPU_BASED_TPR_SHADOW) will almost always be true.

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Randy Dunlap
On 07/31/14 17:30, Eric W. Biederman wrote: This patchset implements /proc/thread-self a magic symlink that solves a couple of problems. - It makes it easy to get to a specific threads directory in /proc with gettid() not being exported in glibc this is currently a pain. - It allows

[PATCH] DRBG: fix failure of generating multiple of 2**16 bytes

2014-08-01 Thread Stephan Mueller
The function drbg_generate_long slices the request into 2**16 byte or smaller chunks. However, the loop, however invokes the random number generation function with zero bytes when the request size is a multiple of 2**16 bytes. The fix prevents zero bytes requests. Signed-off-by: Stephan Mueller

Re: [PATCH 10/19] ARM64 / ACPI: Get the enable method for SMP initialization in ACPI way

2014-08-01 Thread Hanjun Guo
On 2014-8-1 2:52, Geoff Levand wrote: Hi Hanjun, Hi Geoff, On Thu, 2014-07-24 at 21:00 +0800, Hanjun Guo wrote: ACPI 5.1 only has two explicit methods to boot up SMP, PSCI and Parking protocol, but the Parking protocol is only suitable for ARMv7 now, so make PSCI as the only way for the

Re: [PATCH] mm: softdirty: respect VM_SOFTDIRTY in PTE holes

2014-08-01 Thread Cyrill Gorcunov
On Thu, Jul 31, 2014 at 06:43:25PM -0400, Peter Feiner wrote: After a VMA is created with the VM_SOFTDIRTY flag set, /proc/pid/pagemap should report that the VMA's virtual pages are soft-dirty until VM_SOFTDIRTY is cleared (i.e., by the next write of 4 to /proc/pid/clear_refs). However,

Re: [Regression 3.16-rc kernel] -55% reduction in throughput for OLTP benchmark

2014-08-01 Thread Al Viro
On Tue, Jul 29, 2014 at 05:12:48PM -0700, Christoph Hellwig wrote: On Tue, Jul 29, 2014 at 04:57:12PM -0700, Tim Chen wrote: Christoph, we're glad to report that this patch does fix the problem. Wonder if Al or someone can pick it up. It is a large regression that should not be left

Re: Oops in scsi_put_host_cmd_pool

2014-08-01 Thread James Bottomley
On Fri, 2014-08-01 at 08:02 +0200, Juergen Gross wrote: On 08/01/2014 07:41 AM, Juergen Gross wrote: During test of Xen pvSCSI frontend module I found the following issue: When unplugging a passed-through SCSI-device the SCSI Host is removed. When calling the final scsi_host_put() from

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Eric W. Biederman
Randy Dunlap rdun...@infradead.org writes: On 07/31/14 17:30, Eric W. Biederman wrote: This patchset implements /proc/thread-self a magic symlink that solves a couple of problems. - It makes it easy to get to a specific threads directory in /proc with gettid() not being exported in

Re: Oops in scsi_put_host_cmd_pool

2014-08-01 Thread Juergen Gross
On 08/01/2014 09:05 AM, James Bottomley wrote: On Fri, 2014-08-01 at 08:02 +0200, Juergen Gross wrote: On 08/01/2014 07:41 AM, Juergen Gross wrote: During test of Xen pvSCSI frontend module I found the following issue: When unplugging a passed-through SCSI-device the SCSI Host is removed.

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Bert Wesarg
On Fri, Aug 1, 2014 at 2:30 AM, Eric W. Biederman ebied...@xmission.com wrote: This patchset implements /proc/thread-self a magic symlink that solves a couple of problems. shouldn't we keep the 'task' in the name, as it points into the 'task' directory? And why not mimic the current 'self -

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-08-01 Thread Peter Zijlstra
On Fri, Aug 01, 2014 at 10:03:30AM +0800, Aaron Lu wrote: ebe06187bf2aec1 a43455a1d572daf7b730fe12e --- - 94500 ~ 3%+115.6% 203711 ~ 6% ivb42/hackbench/50%-threads-pipe 67745 ~ 4% +64.1% 74 ~ 5%

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-08-01 Thread Peter Zijlstra
On Thu, Jul 31, 2014 at 09:03:22PM -0700, Davidlohr Bueso wrote: Instead of removing info, why not document what each piece of data represents. Or add headers to the table. etc. Yes headers are good, knowing exactly what a number is often removes a lot of confusion ;-) pgpKZNok1PSKp.pgp

Re: [PATCH 2/3] x86 perf: Protect LBR msrs accessing against potential #GP

2014-08-01 Thread Peter Zijlstra
On Thu, Jul 31, 2014 at 02:41:02AM -0700, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com Intel PT will take over LBR hardware. If RTIT_CTL.TraceEn=1, any attempt to read or write the LBR or LER MSRs, including LBR_TOS, will result in a #GP. Intel PT can be enabled/disabled at

Re: linux-next: manual merge of the staging tree with the tree

2014-08-01 Thread Greg KH
On Fri, Aug 01, 2014 at 04:21:42PM +1000, Stephen Rothwell wrote: Hi Greg, Today's linux-next merge of the staging tree got a conflict in MAINTAINERS between commit 7eea35fe3df8 ([media] MAINTAINERS: Update go7007 pattern) from the v4l-dvb tree and commit 0d317b91d6d8 (staging: frontier:

[PATCH] pinctrl: abx500: remove useless check

2014-08-01 Thread Patrice CHOTARD
pctldev can't be NULL at this stage so remove the check Reported-by: dan.carpen...@oracle.com Signed-off-by: Patrice Chotard patrice.chot...@st.com --- drivers/pinctrl/pinctrl-abx500.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-abx500.c

Re: [befs] BUG: unable to handle kernel paging request at cfc07000

2014-08-01 Thread Fabian Frederick
On 01 August 2014 at 03:25 Fengguang Wu fengguang...@intel.com wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit dac52fc1826a788d2591a4f77e3c482b30f577e2 Author:     

Re: [PATCH 2/3] x86 perf: Protect LBR msrs accessing against potential #GP

2014-08-01 Thread Peter Zijlstra
On Fri, Aug 01, 2014 at 09:38:25AM +0200, Peter Zijlstra wrote: On Thu, Jul 31, 2014 at 02:41:02AM -0700, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com Intel PT will take over LBR hardware. If RTIT_CTL.TraceEn=1, any attempt to read or write the LBR or LER MSRs,

tvtuner pixelview B1000

2014-08-01 Thread basteon
hello. I have pixelview B1000 card and this card won't work with assigned modules cx8800, cx8802. May be I'm use wrong modules or cardid prefix: 1554:4952, board: PixelView [card=3... # /usr/bin/tvtime-scanner Reading configuration from /etc/tvtime/tvtime.xml Scanning using TV standard NTSC.

Re: [REVIEW][PATCH 0/4] /proc/thread-self

2014-08-01 Thread Eric W. Biederman
Bert Wesarg bert.wes...@googlemail.com writes: On Fri, Aug 1, 2014 at 2:30 AM, Eric W. Biederman ebied...@xmission.com wrote: This patchset implements /proc/thread-self a magic symlink that solves a couple of problems. shouldn't we keep the 'task' in the name, as it points into the 'task'

Re: [PATCH] ARM: l2x0: fix build warning without CONFIG_OF

2014-08-01 Thread Russell King - ARM Linux
On Fri, Aug 01, 2014 at 10:42:00AM +0800, Kefeng Wang wrote: Commit cf9ea8f13(ARM: l2c: remove obsolete l2x0 ops for non-OF init) remove some obsolete l2x0 ops, the rest of ops: l2x0_cache_sync, l2x0_cache_sync, l2x0_disable only use under OF enable, so move them into OF part, or defined but

Re: [PATCH] Documentation: dmaengine: Add a documentation for the dma controller API

2014-08-01 Thread Lars-Peter Clausen
On 07/31/2014 07:37 PM, Maxime Ripard wrote: On Thu, Jul 31, 2014 at 06:54:11PM +0200, Lars-Peter Clausen wrote: On 07/31/2014 06:13 PM, Maxime Ripard wrote: [...] From what you're saying, and judging from the drivers that already implement it, can't it be moved directly to the framework

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-08-01 Thread Yuyang Du
On Fri, Aug 01, 2014 at 09:29:11AM +0200, Peter Zijlstra wrote: On Fri, Aug 01, 2014 at 10:03:30AM +0800, Aaron Lu wrote: ebe06187bf2aec1 a43455a1d572daf7b730fe12e --- - 94500 ~ 3%+115.6% 203711 ~ 6%

Re: [PATCH 3/3] arm: dts: Add gta04a5 model

2014-08-01 Thread Tony Lindgren
* Javier Martinez Canillas jav...@dowhile0.org [140729 07:14]: Hello, On Tue, Jul 29, 2014 at 3:03 PM, Dr. H. Nikolaus Schaller h...@goldelico.com wrote: Hi, So what's the conclusion? Are changes needed to this patch series or not? I advocate that no changes are needed. I agree

Re: [PATCH 1/3] x86 msr: msr goto extension support

2014-08-01 Thread Peter Zijlstra
On Thu, Jul 31, 2014 at 02:05:48PM -0700, Andy Lutomirski wrote: On 07/31/2014 02:41 AM, kan.li...@intel.com wrote: +/* + * The _goto version is rdmsrl/wrmsrl with exception handling + * The advantage (than _safe) is that it can directly jump in the + * exception handling code, and never

[RFC Patch] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-08-01 Thread Jiang Liu
We plan to use hierarchy irqdomain to suppport CPU vector assignment, interrupt remapping controller, IO-APIC controller, MSI interrupt and hypertransport interrupt etc on x86 platforms. So extend irqdomain interfaces to support hierarchy irqdomain. There are already many clients of current

[PATCH v2] KVM: nVMX: nested TPR shadow/threshold emulation

2014-08-01 Thread Wanpeng Li
This patch fix bug https://bugzilla.kernel.org/show_bug.cgi?id=61411 TPR shadow/threshold feature is important to speed up the Windows guest. Besides, it is a must feature for certain VMM. We map virtual APIC page address and TPR threshold from L1 VMCS. If TPR_BELOW_THRESHOLD VM exit is

[PATCH] staging: visorchipset: fix sparse warnings about static declaration

2014-08-01 Thread Vincent Bernat
Some functions were prototyped as static but the actual definition wasn't. While this is valid (the function is static because the two declarations don't conflict and the first one is static), this makes sparse unhappy and cause confusion of normal people too. Signed-off-by: Vincent Bernat

[PATCH v1.3 0/18] arcmsr: bugfix, new features and support new adapters

2014-08-01 Thread Ching Huang
Hi Christoph, This patches are made against the git://git.infradead.org/users/hch/scsi-queue.git/tree/drivers/scsi/arcmsr/ This patches series address following issues. 1. Bugfix for command timeout, abort and ioctl error. 2. Add new feature of support MSI-X interrupt and system hibernation.

Re: [PATCH] ARM: don't enter kgdb when userspace executes a kgdb break instruction.

2014-08-01 Thread Will Deacon
On Fri, Aug 01, 2014 at 04:05:20AM +0100, Omar Sandoval wrote: The kgdb breakpoint hooks (kgdb_brk_fn and kgdb_compiled_brk_fn) should only be entered when a kgdb break instruction is executed from the kernel. Otherwise, if kgdb is enabled, a userspace program can cause the kernel to drop

[PATCH 2/2] KVM: nVMX: fix acknowledge interrupt on exit when APICv is in use

2014-08-01 Thread Wanpeng Li
After commit 77b0f5d (KVM: nVMX: Ack and write vector info to intr_info if L1 asks us to), Acknowledge interrupt on exit behavior can be emulated. To do so, KVM will ask the APIC for the interrupt vector if during a nested vmexit if VM_EXIT_ACK_INTR_ON_EXIT is set. With APICv,

[PATCH 1/2] KVM: nVMX: Fix nested vmexit ack intr before load vmcs01

2014-08-01 Thread Wanpeng Li
External interrupt will cause L1 vmexit w/ reason external interrupt when L2 is running. Then L1 will pick up the interrupt through vmcs12 if L1 set the ack interrupt bit. Commit 77b0f5d (KVM: nVMX: Ack and write vector info to intr_info if L1 asks us to) get intr that belongs to L1 before load

Re: [PATCHv9 1/3] mfd: altera: Add Altera SDRAM Controller

2014-08-01 Thread Lee Jones
On Thu, 31 Jul 2014, Thor Thayer wrote: On 07/31/2014 03:26 AM, Lee Jones wrote: On Wed, 30 Jul 2014, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com Add a simple MFD for the Altera SDRAM Controller. Signed-off-by: Alan Tull

[PATCH 2/2] KVM: nVMX: fix acknowledge interrupt on exit when APICv is in use

2014-08-01 Thread Wanpeng Li
After commit 77b0f5d (KVM: nVMX: Ack and write vector info to intr_info if L1 asks us to), Acknowledge interrupt on exit behavior can be emulated. To do so, KVM will ask the APIC for the interrupt vector if during a nested vmexit if VM_EXIT_ACK_INTR_ON_EXIT is set. With APICv,

Re: [LKP] [sched/numa] a43455a1d57: +94.1% proc-vmstat.numa_hint_faults_local

2014-08-01 Thread Fengguang Wu
On Fri, Aug 01, 2014 at 09:29:11AM +0200, Peter Zijlstra wrote: On Fri, Aug 01, 2014 at 10:03:30AM +0800, Aaron Lu wrote: ebe06187bf2aec1 a43455a1d572daf7b730fe12e --- - 94500 ~ 3%+115.6% 203711 ~ 6%

[patch] clk: checking wrong variable in __set_clk_parents()

2014-08-01 Thread Dan Carpenter
There is a cut and paste bug so we check pclk instead of clk. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/clk/clk-conf.c b/drivers/clk/clk-conf.c index 1f73019..4e1bda7 100644 --- a/drivers/clk/clk-conf.c +++ b/drivers/clk/clk-conf.c @@ -55,10 +55,10 @@ static int

Re: [PATCH v2 1/2] printk: Add function to return log buffer address and size

2014-08-01 Thread Vasant Hegde
On 08/01/2014 03:52 AM, Andrew Morton wrote: On Thu, 31 Jul 2014 21:05:48 +0530 Vasant Hegde hegdevas...@linux.vnet.ibm.com wrote: Platforms like IBM Power Systems supports service processor assisted dump. It provides interface to add memory region to be captured when system is crashed.

Re: [PATCH] staging: visorchipset: fix sparse warnings about static declaration

2014-08-01 Thread Greg Kroah-Hartman
On Fri, Aug 01, 2014 at 10:10:22AM +0200, Vincent Bernat wrote: Some functions were prototyped as static but the actual definition wasn't. While this is valid (the function is static because the two declarations don't conflict and the first one is static), this makes sparse unhappy and cause

Re: [PATCHv9 2/4] mailbox: Introduce framework for mailbox

2014-08-01 Thread Lee Jones
On Thu, 31 Jul 2014, Jassi Brar wrote: On 23 July 2014 20:56, Lee Jones lee.jo...@linaro.org wrote: On Wed, 23 Jul 2014, Jassi Brar wrote: + if (chan-txdone_method == (TXDONE_BY_POLL | TXDONE_BY_ACK)) + chan-txdone_method = TXDONE_BY_POLL; Unless you're leaving it

Re: [PATCH 0/2] Manage OMAP34xx ES3.1.2 rev to resume from suspend

2014-08-01 Thread Tony Lindgren
* Jeremy Vial jv...@adeneo-embedded.com [140731 06:16]: Hi, My kernel crashed when my OMAP34xx ES3.1.2 leave suspend mode. The first patch seems to solve the issue, and the second one corrects Linux kernel coding style problems. Jeremy Vial (2): ARM: OMAP3: Fix choice of

[PATCH] perf script: Fix possible memory leaks

2014-08-01 Thread Namhyung Kim
Some paths in perf script don't call perf_session__delete() after creating a new session. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-script.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git

Re: [PATCH 0/2] Add TLS record layer encryption module

2014-08-01 Thread Cristian Stoica
This set of patches introduces support for TLS 1.0 record layer encryption/decryption with a corresponding algorithm called tls10(hmac(hash),cbc(cipher)). Similarly to authenc.c on which it is based, this module mixes the base algorithms in software to produce an algorithm that does record

Re: [PATCH 2/2] KVM: nVMX: fix acknowledge interrupt on exit when APICv is in use

2014-08-01 Thread Wanpeng Li
Please ignore this duplicate one. 于 14-8-1 下午4:13, Wanpeng Li 写道: After commit 77b0f5d (KVM: nVMX: Ack and write vector info to intr_info if L1 asks us to), Acknowledge interrupt on exit behavior can be emulated. To do so, KVM will ask the APIC for the interrupt vector if during a nested

Re: [Xen-devel] [PATCH 1/2] xen: Implement ioctl to restrict privcmd to a specific domain

2014-08-01 Thread Jan Beulich
On 31.07.14 at 15:16, frediano.zig...@citrix.com wrote: Add a RESTRICT ioctl to /dev/xen/privcmd, which allows privileged commands file descriptor to be restricted to only working with a particular domain. The with here has been quite confusing, and I realized that you mean the subject domain

Re: [PATCH 0/2] new API to allocate buffer-cache for superblock in non-movable area

2014-08-01 Thread Joonsoo Kim
On Thu, Jul 31, 2014 at 02:21:14PM +0200, Jan Kara wrote: On Thu 31-07-14 09:37:15, Gioh Kim wrote: 2014-07-31 오전 9:03, Jan Kara 쓴 글: On Thu 31-07-14 08:54:40, Gioh Kim wrote: 2014-07-30 오후 7:11, Jan Kara 쓴 글: On Wed 30-07-14 16:44:24, Gioh Kim wrote: 2014-07-22 오후 6:38, Jan Kara

<    1   2   3   4   5   6   7   8   9   10   >