[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

[PATCH v1.3 1/18] arcmsr: Revised interrupt service routine relate function to fix bug

2014-08-01 Thread Ching Huang
This patch rewrite the interrupt service routine relate function to fix command timeout when controller has very heavy loading. Signed-off-by: Chingching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h

[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

Re: [PATCH v3 1/4] mfd: pm8xxx-spmi: add support for Qualcomm SPMI PMICs

2014-08-01 Thread Stanimir Varbanov
On 07/31/2014 11:48 AM, Stanimir Varbanov wrote: Hi David, Thanks for the comments! On 07/30/2014 12:54 AM, David Collins wrote: On 07/24/2014 05:45 AM, Stanimir Varbanov wrote: From: Josh Cartwright jo...@codeaurora.org The Qualcomm SPMI PMIC chips are components used with the

[PATCH v1.3 2/18] arcmsr: Add code to support MSI-X, MSI interrupt

2014-08-01 Thread Ching Huang
This patch adds code to support MSI, MSI-X interrupt. Signed-off-by: Chingching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2014-04-28 16:02:46.0 +0800 +++ b/drivers/scsi/arcmsr/arcmsr.h

Re: [PATCH] VFS: allow -d_manage() to declare -EISDIR in rcu_walk mode.

2014-08-01 Thread Dan Carpenter
On Wed, Jul 30, 2014 at 04:08:33PM +1000, NeilBrown wrote: @@ -1110,11 +1110,16 @@ static bool __follow_mount_rcu(struct nameidata *nd, struct path *path, * Don't forget we might have a non-mountpoint managed dentry * that wants to block transit.

[PATCH 0/3 v5] sched: Rewrite per entity runnable load average tracking

2014-08-01 Thread Yuyang Du
v5 changes: Thank Peter intensively for reviewing this patchset in detail and all his comments. And Mike for general and cgroup pipe-test. Morten, Ben, and Vincent in the discussion. - Remove dead task and task group load_avg - Do not update trivial delta to task_group load_avg (threshold 1/64

[PATCH 1/3 v5] sched: Remove update_rq_runnable_avg

2014-08-01 Thread Yuyang Du
The current rq-avg is not made use of anywhere, and the code is in fair scheduler's critical path, so remove it. Signed-off-by: Yuyang Du yuyang...@intel.com --- kernel/sched/debug.c |8 kernel/sched/fair.c | 24 kernel/sched/sched.h |2 -- 3 files

[PATCH 3/3 v5] sched: Remove task and group entity load_avg when they are dead

2014-08-01 Thread Yuyang Du
When task exits or group is destroyed, the entity's load_avg should be removed from its parent cfs_rq's load_avg. Otherwise, it will take time for the parent cfs_rq to decay the dead entity's load_avg to 0, which is not desired. Signed-off-by: Yuyang Du yuyang...@intel.com ---

[PATCH 2/3 v5] sched: Rewrite per entity runnable load average tracking

2014-08-01 Thread Yuyang Du
The idea of per entity runnable load average (let runnable time contribute to load weight) was proposed by Paul Turner, and it is still followed by this rewrite. This rewrite is done due to the following ends: 1. cfs_rq's load average (namely runnable_load_avg and blocked_load_avg) is updated

[PATCH v1.3 3/18] arcmsr: Add code to support system hibernation

2014-08-01 Thread Ching Huang
This patch adds code to support system hibernation. Signed-off-by: Chingching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2014-08-01 11:03:00.0 +0800 +++ b/drivers/scsi/arcmsr/arcmsr_hba.c

[PATCH v1.3 4/18] arcmsr: limit max. number of SCSI command request

2014-08-01 Thread Ching Huang
This patch limits the max. number of SCSI command request to avoid command overflow. Signed-off-by: Chingching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h 2014-05-06 15:24:06.0 +0800 +++

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

2014-08-01 Thread Thierry Reding
On Thu, Jul 31, 2014 at 12:06:59PM -0700, Mike Turquette wrote: Quoting Thierry Reding (2014-07-30 02:34:57) [...] Not merging this feature upstream won't stop anybody from implementing it as a hack in Android/product kernels either. If it's useful then somebody will implement it in

[PATCH -tip ] [BUGFIX] kprobes: Skip kretprobe hit in NMI context to avoid deadlock

2014-08-01 Thread Masami Hiramatsu
Skip kretprobe hit in NMI context, because if an NMI happens inside the critical section protected by kretprobe_table.lock and another(or same) kretprobe hit, pre_kretprobe_handler tries to lock kretprobe_table.lock again. Normal interrupts have no problem because they are disabled with the lock.

[PATCH v1.3 5/18] arcmsr: bugfix - return status of abort command

2014-08-01 Thread Ching Huang
This patch fixes the wrong return status of abort command. Singed-off-by: Chingching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c --- a/drivers/scsi/arcmsr/arcmsr_hba.c 2014-08-01 11:05:44.0 +0800 +++

Re: [PATCH v1.3 2/18] arcmsr: Add code to support MSI-X, MSI interrupt

2014-08-01 Thread Alexander Gordeev
On Fri, Aug 01, 2014 at 04:33:09PM +0800, Ching Huang wrote: This patch adds code to support MSI, MSI-X interrupt. Signed-off-by: Chingching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h2014-04-28

[PATCH v1.3 6/18] arcmsr: precise checking adapter ID

2014-08-01 Thread Ching Huang
This patch rewrites the arcmsr_define_adapter_type function to precisely check Areca adapter's ID. This can prevent an unknown adapter being used as a default adapter type by driver. Signed-off-by: Chingching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c

Re: [PATCH] VFS: allow -d_manage() to declare -EISDIR in rcu_walk mode.

2014-08-01 Thread NeilBrown
On Fri, 1 Aug 2014 11:33:18 +0300 Dan Carpenter dan.carpen...@oracle.com wrote: On Wed, Jul 30, 2014 at 04:08:33PM +1000, NeilBrown wrote: @@ -1110,11 +1110,16 @@ static bool __follow_mount_rcu(struct nameidata *nd, struct path *path, * Don't forget we might have a

[FIX][RESEND PATCH v3] ARM: EXYNOS: Fix suspend/resume sequences

2014-08-01 Thread Tomasz Figa
From: Tomasz Figa t.f...@samsung.com Due to recent consolidation of Exynos suspend and cpuidle code, some parts of suspend and resume sequences are executed two times, once from exynos_pm_syscore_ops and then from exynos_cpu_pm_notifier() and thus it breaks suspend, at least on Exynos4-based

Re: [PATCH v5 02/14] mm, compaction: defer each zone individually instead of preferred zone

2014-08-01 Thread Vlastimil Babka
On 07/30/2014 06:22 PM, Vlastimil Babka wrote: On 07/29/2014 11:12 AM, Vlastimil Babka wrote: On 07/29/2014 08:38 AM, Joonsoo Kim wrote: I still don't understand why defer_compaction() is needed here. defer_compaction() is intended for not struggling doing compaction on the zone where we

Re: [PATCH v2 0/3 net-next] Lockless netlink_lookup() with new concurrent hash table

2014-08-01 Thread Thomas Graf
On 07/31/14 at 10:46pm, David Miller wrote: From: David Miller da...@davemloft.net Date: Thu, 31 Jul 2014 22:39:46 -0700 (PDT) Looks great, series applied, thanks! Actually, this needs more work, reverted: net/netfilter/nft_hash.c: In function ‘nft_hash_destroy’:

[PATCH net-next 3/3] nftables: Convert nft_hash to use generic rhashtable

2014-08-01 Thread Thomas Graf
If the set size is known in advance, the table is sized accordingly, otherwise the table size will default to 64. This is a slight change in behaviour as previously the default was 4 which eventually required many expansion iterations. The practice of requiring a lookup to retrieve the pprev to

[PATCH net-next v3 0/3] Lockless netlink_lookup() with new concurrent hash table

2014-08-01 Thread Thomas Graf
Netlink sockets are maintained in a hash table to allow efficient lookup via the port ID for unicast messages. However, lookups currently require a read lock to be taken. This series adds a new generic, resizable, scalable, concurrent hash table based on the paper referenced in the first patch. It

[PATCH net-next 2/3] netlink: Convert netlink_lookup() to use RCU protected hash table

2014-08-01 Thread Thomas Graf
Heavy Netlink users such as Open vSwitch spend a considerable amount of time in netlink_lookup() due to the read-lock on nl_table_lock. Use of RCU relieves the lock contention. Makes use of the new resizable hash table to avoid locking on the lookup. The hash table will grow if entries exceeds

[PATCH net-next 1/3] lib: Resizable, Scalable, Concurrent Hash Table

2014-08-01 Thread Thomas Graf
Generic implementation of a resizable, scalable, concurrent hash table based on [0]. The implementation supports both, fixed size keys specified via an offset and length, or arbitrary keys via own hash and compare functions. Lookups are lockless and protected as RCU read side critical sections.

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

2014-08-01 Thread Kefeng Wang
On 08/01 15:58, Russell King - ARM Linux wrote: 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

Re: [PATCH 1/2] x86: AMD: mark TSC unstable on APU family 15h models 10h-1fh

2014-08-01 Thread Borislav Petkov
On Thu, Jul 31, 2014 at 09:47:12AM +, Igor Mammedov wrote: Due to erratum #778 from Revision Guide for AMD Family 15h Models 10h-1Fh Processors, Publication # 48931, Issue Date: May 2013, Revision: 3.10 TSC on affected processor, a core may drift under certain conditions, which makes

Re: [PATCH 1/2] crypto: add support for TLS 1.0 record encryption

2014-08-01 Thread Cristian Stoica
Hi Andy On 31.07.2014 23:01, Andy Lutomirski wrote: On 07/29/2014 02:32 AM, Cristian Stoica wrote: ... + * crypto_tls_genicv - Calculate hmac digest for a TLS record + * @hash: (output) buffer to save the digest into + * @src:(input) scatterlist with the payload data + * @srclen:

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

2014-08-01 Thread Paolo Bonzini
Il 01/08/2014 10:09, Wanpeng Li ha scritto: 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

Re: [patch 2/3] mm, oom: remove unnecessary check for NULL zonelist

2014-08-01 Thread David Rientjes
On Thu, 31 Jul 2014, Johannes Weiner wrote: out_of_memory() wants the zonelist that was used during allocation, not just the random first node's zonelist that's simply picked to serialize page fault OOM kills system-wide. This would even change how panic_on_oom behaves for page fault OOMs

linux-next: Tree for Aug 1

2014-08-01 Thread Stephen Rothwell
Hi all, Changes since 20140731: The modules tree still had its build failure so I used the version from next-20140725. The mmc-uh tree still had its build failure so I used the version from next-20140725. The kvm tree gained a conflict against the ftrace tree. The staging tree gained a

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

2014-08-01 Thread Jan Kara
On Fri 01-08-14 17:34:46, Joonsoo Kim wrote: 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

Re: [PATCH v4 4/5] ARM: dts: Fix the sort ordering of EHCI and HSIC in rk3288.dtsi

2014-08-01 Thread Heiko Stübner
Am Donnerstag, 31. Juli 2014, 15:49:35 schrieb Doug Anderson: The EHCI and HSIC device tree nodes were added in the wrong place. Fix them. Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Kever Yang kever.y...@rock-chips.com hmm, not sure if this counts as fix ... aka

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

2014-08-01 Thread Maxime Ripard
On Fri, Aug 01, 2014 at 10:00:10AM +0200, Lars-Peter Clausen wrote: 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

Re: [PATCH] arm64: KVM: export current vcpu-pause state via pseudo regs

2014-08-01 Thread Alex Bennée
Christoffer Dall writes: On Thu, Jul 31, 2014 at 04:14:51PM +0100, Alex Bennée wrote: Christoffer Dall writes: On Wed, Jul 09, 2014 at 02:55:12PM +0100, Alex Bennée wrote: To cleanly restore an SMP VM we need to ensure that the current pause state of each vcpu is correctly recorded.

Re: [PATCH] efi-bgrt: Add error handling; inform the user when ignoring the BGRT

2014-08-01 Thread Matt Fleming
(Including akpm, the __GFP_NOWARN police) On Thu, 31 Jul, at 09:11:33AM, Josh Triplett wrote: I started to add an explicit limit, but any reasonable limit (large enough for modern screens) would be large enough that there's still a non-trivial possibility of allocation failure. And I think

Re: [PATCH] Add support to check for FALLOC_FL_COLLAPSE_RANGE and FALLOC_FL_ZERO_RANGE crap modes

2014-08-01 Thread Hugo Mills
On Thu, Jul 31, 2014 at 09:53:15PM -0400, Nick Krause wrote: On Thu, Jul 31, 2014 at 3:09 PM, Hugo Mills h...@carfax.org.uk wrote: On Thu, Jul 31, 2014 at 01:53:33PM -0400, Nicholas Krause wrote: This adds checks for the stated modes as if they are crap we will return error not

Re: [PATCH] mtd: nand: stm_nand_bch: add new driver

2014-08-01 Thread Lee Jones
On Thu, 31 Jul 2014, Brian Norris wrote: On Thu, Jul 31, 2014 at 05:47:09PM +0100, Lee Jones wrote: Finally getting round to this ... Sounds like me :) :) On Wed, 02 Jul 2014, Brian Norris wrote: On Wed, May 28, 2014 at 10:20:05AM +0100, Lee Jones wrote: This is a squashed version

Re: [PATCH 2/2 v4] sched: Rewrite per entity runnable load average

2014-08-01 Thread Vincent Guittot
On 31 July 2014 21:16, Yuyang Du yuyang...@intel.com wrote: Hi Vincent, On Thu, Jul 31, 2014 at 11:56:13AM +0200, Vincent Guittot wrote: load_sum is now the average runnable time before being weighted So when weight changes, load_avg will completely use new weight. I have some cents: 1)

[PATCH] random32: do not feed jiffies as seed from lpfc driver

2014-08-01 Thread Daniel Borkmann
In prandom we have already reseeding mechanisms that trigger periodically from a much better entropy source than just feeding in jiffies through lpfc_mbx_cmpl_fcf_scan_read_fcf_rec() [what a function name 8-)]. Therefore, just remove this. Signed-off-by: Daniel Borkmann dbork...@redhat.com Cc:

Re: [PATCH 1/3] irq / PM: New driver interface for wakeup interruptsn

2014-08-01 Thread Thomas Gleixner
On Fri, 1 Aug 2014, Rafael J. Wysocki wrote: On Friday, August 01, 2014 12:16:23 AM Thomas Gleixner wrote: Right, so instead of thinking about a proper solution driver folks just slap the next available thing on it w/o thinking about the consequences. But, thats partly our own fault due to

  1   2   3   4   5   6   7   8   9   10   >