Re: [PATCH v17 1/7] mm: support madvise(MADV_FREE)

2014-12-02 Thread Minchan Kim
On Tue, Dec 02, 2014 at 11:01:25AM +0100, Michal Hocko wrote: On Mon 01-12-14 08:56:52, Minchan Kim wrote: [...] From 2edd6890f92fa4943ce3c452194479458582d88c Mon Sep 17 00:00:00 2001 From: Minchan Kim minc...@kernel.org Date: Mon, 1 Dec 2014 08:53:55 +0900 Subject: [PATCH] madvise.2:

Re: Checking to see if a bit is _not_ set in a ftrace event filter

2014-12-02 Thread Alexei Starovoitov
On Tue, Dec 2, 2014 at 4:14 AM, Theodore Ts'o ty...@mit.edu wrote: Well, if eBPF can get more information without DWARF, that's great. I'll use whatever I can get, so long as I can do it without DWARF. :-) eBPF is just an engine. Anyone can develop a userspace bits that will use debug info

Re: [tpmdd-devel] [PATCH v8 0/8] TPM 2.0 support

2014-12-02 Thread Thomas Gleixner
On Wed, 3 Dec 2014, Peter Hüwe wrote: From: Peter Huewe peterhu...@gmx.de Date: Wed, 3 Dec 2014 00:18:52 +0100 Subject: [PATCH] tpm:tpm_i2c_nuvoton: simpyl return statements simpyl? if !rc evals to false it is 0 - we can return rc in both cases Why assigning rc and returning it when you

RE: [PATCH 1/1] X86: Mark the Hyper-V clocksource as being continuous

2014-12-02 Thread Jeff Leung
Does this mean that host-to guest timesync now works properly with Linux guests? -- Jeff -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of K. Y. Srinivasan Sent: Tuesday, December 2, 2014 17:04 To: x...@kernel.org;

[PATCH] drivers: scsi: aic7xxx: Fix positive error codes.

2014-12-02 Thread Jason Wilkes
Note: There are more instances of the problem described below, but I thought I'd explain the first one in detail, to make sure it's worth fixing the others (and to make sure I didn't do anything stupid, which I may have. I'm new to this :-). Alright, here we go! A few drivers seem to return

RE: [PATCH 1/1] X86: Mark the Hyper-V clocksource as being continuous

2014-12-02 Thread KY Srinivasan
-Original Message- From: Jeff Leung [mailto:jle...@v10networks.ca] Sent: Tuesday, December 2, 2014 3:58 PM To: KY Srinivasan; x...@kernel.org; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com;

Re: frequent lockups in 3.18rc4

2014-12-02 Thread Linus Torvalds
On Tue, Dec 2, 2014 at 3:32 PM, Sasha Levin sasha.le...@oracle.com wrote: I've disabled lock debugging to see if anything new will show up, and hit something that may be related: Very interesting. But your source code doesn't match mine - can you say what that kernel/sched/fair.c:4541:17

[PATCH 04/12] irqchip: nvic: support routable irq domain ops

2014-12-02 Thread Stefan Agner
Add support for routable irq domain ops like the GIC interrupt controller provides. This is useful for asymmetrical multi- processor SoCs, such as Freescale Vybrid (VF6xx) which have a Cortex-M4 alongside a Cortex-A5 and a interrupt router to route the peripheral interrupts between them.

[PATCH 00/12] ARM: vf610m4: Add Vybrid Cortex-M4 support

2014-12-02 Thread Stefan Agner
This is the second version (first was RFC) of this patchset. It contains feedback from RFC and mainly grew by the support for the interrupt router which is part of the MSCM IP contained in Vybrid. MSCM provides a simple router for the pheriperal interrupts which allows to select which CPU should

[PATCH 03/12] irqchip: gic: define register_routable_domain_ops conditional

2014-12-02 Thread Stefan Agner
The inline function register_routable_domain_ops is only usable if CONFIG_ARM_GIC is set. Make it depend on this configuration. This also allows other SoC interrupt controller to provide such a function. Signed-off-by: Stefan Agner ste...@agner.ch --- include/linux/irqchip/arm-gic.h | 3 +++ 1

[PATCH 02/12] ARM: dts: vf610: add Miscellaneous System Control Module (MSCM)

2014-12-02 Thread Stefan Agner
Add the Miscellaneous System Control Module (MSCM) to the base device tree for Vybrid SoCs. This module contains the peripheral interrupt router, which is handling the routing of the interrupts between the two cores. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/boot/dts/vfxxx.dtsi |

[PATCH 01/12] ARM: dts: vf610: add routable-irqs property for gic node

2014-12-02 Thread Stefan Agner
From: Stefan Agner stefan.ag...@toradex.com To enable proper routable interrupt controller support for the GIC driver, the routable-irqs need to be specified. Hence add the routable-irqs property with the amount of IRQs supported by the GIC controller on the Vybrid SoC. Signed-off-by: Stefan

[PATCH 12/12] ARM: vf610m4: add defconfig for Linux on Vybrids Cortex-M4

2014-12-02 Thread Stefan Agner
Add defconfig for Linux on Vybrid (vf610) on the secondary Cortex- M4 CPU. The use of a XIP image has been tested which needs to be loaded (e.g. using the custom m4boot loader) to the end of the available RAM at address 0x8f00. The Cortex-M4 has a code-alias which makes sure that the

RE: [PATCH 1/1] X86: Mark the Hyper-V clocksource as being continuous

2014-12-02 Thread Jeff Leung
We have had the Hyper-V clocksource for sometime now and this patch just marks this clocksource as being continuous. Nothing has changed with regards to timesynch. Alright, that cleared up that question. Gleaning around from the source tree, I don't seem to comprehend what changes are being

Re: [PATCH 8/8] wusb: replace memset by memzero_explicit

2014-12-02 Thread Greg Kroah-Hartman
On Sun, Nov 30, 2014 at 05:59:34PM +0100, Julia Lawall wrote: From: Julia Lawall ju...@diku.dk Memset on a local variable may be removed when it is called just before the variable goes out of scope. Using memzero_explicit defeats this optimization. A simplified version of the semantic

[PATCH 11/12] ARM: dts: add support for Vybrid running on Cortex-M4

2014-12-02 Thread Stefan Agner
This adds an initial device tree to run Linux on the Cortex-M4 on the Vybrid based Colibri VF61. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/vf610m4-colibri.dts | 52 +++

[PATCH 09/12] ARM: unify MMU/!MMU addruart calls

2014-12-02 Thread Stefan Agner
Remove the needless differences between MMU/!MMU addruart calls. This allows to use the same addruart macro on SoC level. Useful for SoC consisting of multiple CPUs with and without MMU such as Freescale Vybrid. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/include/debug/efm32.S | 2

[PATCH 10/12] ARM: vf610m4: add new machine and SoC for Vybrid on Cortex-M4

2014-12-02 Thread Stefan Agner
This patch adds a new machine MACH_MXCM4 which requires !MMU and !MULTIARCH and is meant as machine for the hetregenous multi-core Vybrid/i.MX SoC's to run Linux on the Cortex-M4. The first SoC supported is Vybrid on Cortex-M4 (SOC_VF610M4). Signed-off-by: Stefan Agner ste...@agner.ch ---

[PATCH 07/12] Documentation: dt: imx: add MSCM documentation

2014-12-02 Thread Stefan Agner
Add documentation for Miscellaneous System Control Module found in Freescale Vybrid SoCs. Signed-off-by: Stefan Agner ste...@agner.ch --- .../devicetree/bindings/arm/freescale/fsl,vf610-mscm.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644

Re: [PATCH] Documentation: memory-barriers: Fix typo in the first example

2014-12-02 Thread Måns Rullgård
Paul E. McKenney paul...@linux.vnet.ibm.com writes: On Tue, Dec 02, 2014 at 05:01:36PM -0500, Jonathan Corbet wrote: On Tue, 2 Dec 2014 13:50:06 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: I am guessing that this patch is against an old version of this file (there have been

[PATCH 06/12] ARM: imx: add support for MSCM interrupt router

2014-12-02 Thread Stefan Agner
This adds support for Vybrids interrupt router for the shared peripherals. The router is part of the MSCM (Miscellaneous System Control Module). Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/mach-imx/Kconfig | 4 ++ arch/arm/mach-imx/Makefile | 1 +

[PATCH 05/12] irqchip: nvic: increase number of external interrupts to 112

2014-12-02 Thread Stefan Agner
So far only vectors for up to 48 external interrupts have been registred in the vector table. Increase the amount of registred external vectors to 112. Also, add a warning in case NVIC reports support for more interrupts than 128. Note: the vector table must align to the number of entires in the

[PATCH 08/12] clocksource: add dependencies for Vybrid pit clocksource

2014-12-02 Thread Stefan Agner
Add the minimal dependencies required to use the Vybrid PIT clocksource driver. Those are not part of the SoC dependencies. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/clocksource/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clocksource/Kconfig

Re: [PATCH v5 3/4] mmc: dw_mmc: Cleanup disable of low power mode w/ SDIO interrupts

2014-12-02 Thread Jaehoon Chung
Hi, Doug. On 12/03/2014 08:42 AM, Doug Anderson wrote: In the patch (9623b5b mmc: dw_mmc: Disable low power mode if SDIO interrupts are used) I added code that disabled the low power mode of dw_mmc when SDIO interrupts are used. That code worked but always felt a little hacky because we

Re: [PATCH] pci: support Thunderbolt requirements for I/O resources.

2014-12-02 Thread Bjorn Helgaas
On Mon, Nov 24, 2014 at 2:17 AM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: This was also discussed internally and the only way to identify Thunderbolt devices is to check the device IDs. As you said, this will require us to maintain and keep the list up-to-date as we deliver

Re: [PATCH 8/8] wusb: replace memset by memzero_explicit

2014-12-02 Thread Daniel Borkmann
On 12/03/2014 01:14 AM, Greg Kroah-Hartman wrote: On Sun, Nov 30, 2014 at 05:59:34PM +0100, Julia Lawall wrote: From: Julia Lawall ju...@diku.dk Memset on a local variable may be removed when it is called just before the variable goes out of scope. Using memzero_explicit defeats this

Re: frequent lockups in 3.18rc4

2014-12-02 Thread Sasha Levin
On 12/02/2014 07:09 PM, Linus Torvalds wrote: On Tue, Dec 2, 2014 at 3:32 PM, Sasha Levin sasha.le...@oracle.com wrote: I've disabled lock debugging to see if anything new will show up, and hit something that may be related: Very interesting. But your source code doesn't match mine - can

Re: [Xen-devel] [PATCH v4 0/2] xen/pci: Use APIC for MSIs when APIC virtualization is supported

2014-12-02 Thread Andrew Cooper
On 02/12/2014 20:48, Konrad Rzeszutek Wilk wrote: On Tue, Dec 02, 2014 at 03:19:11PM -0500, Boris Ostrovsky wrote: Changes in v4: * Added comment describing what we check for in pci_xen_init() Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Reviewed-by: Andrew Cooper

Re: [PATCH] Documentation: memory-barriers: Fix typo in the first example

2014-12-02 Thread Paul E. McKenney
On Wed, Dec 03, 2014 at 12:15:50AM +, Måns Rullgård wrote: Paul E. McKenney paul...@linux.vnet.ibm.com writes: On Tue, Dec 02, 2014 at 05:01:36PM -0500, Jonathan Corbet wrote: On Tue, 2 Dec 2014 13:50:06 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: I am guessing that

[PATCH v2] media: platform: add VPFE capture driver support for AM437X

2014-12-02 Thread Lad, Prabhakar
From: Benoit Parrot bpar...@ti.com This patch adds Video Processing Front End (VPFE) driver for AM437X family of devices Driver supports the following: - V4L2 API using MMAP buffer access based on videobuf2 api - Asynchronous sensor/decoder sub device registration - DT support Signed-off-by:

Re: [PATCH v3 0/3] kvm: vmx: enable xsaves for kvm

2014-12-02 Thread Wanpeng Li
On Tue, Dec 02, 2014 at 02:00:24PM +0100, Paolo Bonzini wrote: On 02/12/2014 12:14, Wanpeng Li wrote: This patchset is to enable xsaves for kvm part, the patch for qemu part will be sent out later. The patchset is tested on skylake-client. v2 - v3: * add kvm_get/set for ia32_xss *

Re: [PATCH] mtd: nand: gpmi: remove deprecated comment

2014-12-02 Thread Huang Shijie
On Tue, Dec 02, 2014 at 07:37:09PM +0100, Boris Brezillon wrote: Now that we have raw functions properly implemented we can remove this FIXME. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 8 1 file changed, 8

Re: [PATCH] Drivers:staging:octeon: Fixed checkpatch warning

2014-12-02 Thread Greg KH
On Sat, Nov 29, 2014 at 11:04:00AM +0530, Athira Lekshmi wrote: Fixed the checkpatch warning: Missing a blank line after declarations Signed-off-by: Athira Lekshmi andnlnb...@gmail.com --- drivers/staging/octeon/ethernet-rx.c |1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH v5 3/4] mmc: dw_mmc: Cleanup disable of low power mode w/ SDIO interrupts

2014-12-02 Thread Doug Anderson
Jaehoon, On Tue, Dec 2, 2014 at 4:17 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: @@ -1245,27 +1246,37 @@ static int dw_mci_get_cd(struct mmc_host *mmc) return present; } -/* - * Disable lower power mode. - * - * Low power mode will stop the card clock when idle. According to

Re: [PATCH] staging:drivers:staging:clocking-wizard:clk-xlnx-clock-wizard.c: Added a line after declaration

2014-12-02 Thread Greg KH
On Sat, Nov 29, 2014 at 06:25:30PM +0530, Anjana Sasindran wrote: This patch fix the checkpatch.pl warning WARNING:Missing a blank line after declaration Signed-off-by: Anjana Sasindran anjanasasindran...@gmail.com --- drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c | 1 + 1

Re: [PATCH v2] media: platform: add VPFE capture driver support for AM437X

2014-12-02 Thread Prabhakar Lad
On Wed, Dec 3, 2014 at 12:29 AM, Lad, Prabhakar prabhakar.cse...@gmail.com wrote: From: Benoit Parrot bpar...@ti.com This patch adds Video Processing Front End (VPFE) driver for AM437X family of devices Driver supports the following: - V4L2 API using MMAP buffer access based on videobuf2 api

Re: [PATCH - v3?] workqueue: allow rescuer thread to do more work.

2014-12-02 Thread NeilBrown
On Tue, 2 Dec 2014 15:43:04 -0500 Tejun Heo t...@kernel.org wrote: Hello, On Tue, Nov 18, 2014 at 03:27:54PM +1100, NeilBrown wrote: @@ -2253,26 +2253,36 @@ repeat: struct pool_workqueue, mayday_node); struct worker_pool *pool = pwq-pool;

Re: [PATCH v13 10/11] pvqspinlock, x86: Enable PV qspinlock for KVM

2014-12-02 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Waiman Long wrote: AIM7 XFS Disk Test (no overcommit) kernel JPMReal Time Sys TimeUsr Time - ---- PV ticketlock 25423737.08 98.95 5.44 PV

[PATCH 2/2] posix_fadvise.2: Document the behaviour of partial page discard requests

2014-12-02 Thread Mel Gorman
It is not obvious from the interface that partial page discard requests are ignored. It should be spelled out. Signed-off-by: Mel Gorman mgor...@suse.de --- man2/posix_fadvise.2 | 5 + 1 file changed, 5 insertions(+) diff --git a/man2/posix_fadvise.2 b/man2/posix_fadvise.2 index

[PATCH 0/2] Improve documentation of FADV_DONTNEED behaviour

2014-12-02 Thread Mel Gorman
Partial page discard requests are ignored and the documentation on why this is correct behaviour sucks. A readahead patch looked like a regression to a random IO storage benchmark because posix_fadvise() was used incorrectly to force IO requests to go to disk. In reality, the benchmark sucked but

[PATCH 1/2] mm: fadvise: Document the fadvise(FADV_DONTNEED) behaviour for partial pages

2014-12-02 Thread Mel Gorman
A random seek IO benchmark appeared to regress because of a change to readahead but the real problem was the benchmark. To ensure the IO request accesssed disk, it used fadvise(FADV_DONTNEED) on a block boundary (512K) but the hint is ignored by the kernel. This is correct but not necessarily

Re: [PATCH v8 08/50] virtio: memory access APIs

2014-12-02 Thread Prabhakar Lad
Hi Michael, Thanks for the patch. On Mon, Dec 1, 2014 at 4:03 PM, Michael S. Tsirkin m...@redhat.com wrote: virtio 1.0 makes all memory structures LE, so [Snip] +/* + * Low-level memory accessors for handling virtio in modern little endian and in + * compatibility native endian format. +

Re: [PATCH] Staging: ft1000: fix spaces around comparisons in ft1000_debug.c

2014-12-02 Thread Greg KH
On Tue, Dec 02, 2014 at 09:11:15AM -0600, Paul Hedman wrote: This fix fixes spacing issues around operators, e.g. i=0 to i = 0, found by the checkpatch.pl tool. Please wrap your changelog at the correct column. Signed-off-by: Paul Hedman p...@mybb.com ---

Re: [PATCH 2/2 V6] intel_pstate: add kernel parameter to force loading on Sun X86 servers.

2014-12-02 Thread ethan zhao
Kristen, On 2014/12/3 2:24, Kristen Carlson Accardi wrote: On Fri, 28 Nov 2014 12:36:17 +0900 Ethan Zhao ethan.z...@oracle.com wrote: To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = ora_force For those who be aware of the risk of no

Re: [PATCH] staging: rt8192u: fix sparse warnings in r8192U_core.c

2014-12-02 Thread Greg KH
On Mon, Dec 01, 2014 at 09:54:45AM +0800, Fred wrote: Fixed the following warnings in sparse: drivers/staging/rtl8192u/r8192U_core.c:670:6: warning: symbol 'dump_eprom' was not declared. Should it be static? drivers/staging/rtl8192u/r8192U_core.c:1489:5: warning: symbol

Re: [PATCH v15 06/12] dt-bindings: add document for dw_hdmi

2014-12-02 Thread Andy Yan
Hi Philipp: On 2014年12月03日 02:23, Philipp Zabel wrote: Hi Andy, Am Dienstag, den 02.12.2014, 15:42 +0800 schrieb Andy Yan: diff --git a/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt b/Documentation/devicetree/bindings/drm/bridge/dw_hdmi.txt new file mode 100644 index

[PATCH v4 0/3] kvm: vmx: enable xsaves for kvm

2014-12-02 Thread Wanpeng Li
This patchset is to enable xsaves for kvm part and tested on skylake-client. v3 - v4: * return false from an svm_xsaves_supported function * prevent setting MSR_IA32_XSS to any non-zero value v2 - v3: * add kvm_get/set for ia32_xss * fix the type XSS_EXIT_BITMAP * load host_xss just once in

[PATCH v4 2/3] kvm: vmx: add kvm_get/set logic to xsaves

2014-12-02 Thread Wanpeng Li
Add kvm_get/set logic to xsaves. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- arch/x86/kvm/vmx.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 12915f1..ad1153a 100644 --- a/arch/x86/kvm/vmx.c +++

[PATCH v4 3/3] kvm: x86: Enable Intel XSAVES for guest

2014-12-02 Thread Wanpeng Li
Expose intel xsaves feature to guest. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- arch/x86/kvm/cpuid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/cpuid.c b/arch/x86/kvm/cpuid.c index a4f5ac4..0d919bc 100644 --- a/arch/x86/kvm/cpuid.c +++

[PATCH v4 1/3] kvm: vmx: Intel XSAVES vmx and msr handle

2014-12-02 Thread Wanpeng Li
Intel xsaves vmx and msr handle. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- arch/x86/include/asm/kvm_host.h | 2 ++ arch/x86/include/asm/vmx.h | 3 +++ arch/x86/include/uapi/asm/vmx.h | 6 +- arch/x86/kvm/svm.c | 6 ++ arch/x86/kvm/vmx.c |

Re: [PATCH 2/2] ASoC: rockchip: i2s: add support for grabbing output clock to codec

2014-12-02 Thread Jianqun
Hi Doug: 在 12/03/2014 01:54 AM, Doug Anderson 写道: Jianqun, This ought to be a v3 patch and ideally ought to describe differences from v2 (after the cut). Please have Kever or Chris review your next patch before sending it out since I think they are familiar with the process. On Tue,

Re: [PATCH v5 3/4] mmc: dw_mmc: Cleanup disable of low power mode w/ SDIO interrupts

2014-12-02 Thread Jaehoon Chung
Hi Doug On 12/03/2014 09:36 AM, Doug Anderson wrote: Jaehoon, On Tue, Dec 2, 2014 at 4:17 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: @@ -1245,27 +1246,37 @@ static int dw_mci_get_cd(struct mmc_host *mmc) return present; } -/* - * Disable lower power mode. - * - * Low power

[git pull] drm radeon + nouveau fixes

2014-12-02 Thread Dave Airlie
Hi, so nouveau had a few regression introduced, Ben and Maarten finally tracked down the one that was causing problems on my MacBookPro, also nvidia gave some info on the an engine we were using incorrectly, so disable our use of it, and one regresion with pci hotplug affecting optimus users.

Re: [PATCH] Staging: ft1000: fix spaces around comparisons in ft1000_debug.c

2014-12-02 Thread Paul H
A tutorial I read suggested using a different branch for applying the patches; I named it fix-spaces. It would appear it is mistaken then? Thanks again, hope I'm not bothering at all, first time trying to give back. -Paul On Tue, Dec 2, 2014 at 6:48 PM, Greg KH g...@kroah.com wrote: On Tue,

Re: [mm] BUG: unable to handle kernel paging request at c2446ffc

2014-12-02 Thread Joonsoo Kim
On Mon, Dec 01, 2014 at 09:04:17PM -0800, Fengguang Wu wrote: Hello, Fengguang. First of all, thanks for reporting! It always helps me a lot. But, in this time, I can't reproduce this failure with your attached Judging from the bisect log, it showed up once per 26 boots, so may

Re: [PATCH v2 1/2] kvm: x86: revert mask out xsaves

2014-12-02 Thread Wanpeng Li
On Tue, Dec 02, 2014 at 09:55:09AM +0100, Paolo Bonzini wrote: On 02/12/2014 07:14, Wanpeng Li wrote: xsaves will be exported to guest in the next patch, so revert the mask out xsaves patch. Signed-off-by: Wanpeng Li wanpeng...@linux.intel.com --- arch/x86/kvm/cpuid.c | 10 +- 1

Re: [RFC PATCH 00/14] nfsd/sunrpc: add support for a workqueue-based nfsd

2014-12-02 Thread NeilBrown
On Tue, 2 Dec 2014 13:24:09 -0500 Jeff Layton jlay...@primarydata.com wrote: tl;dr: this code works and is much simpler than the dedicated thread pool, but there are some latencies in the workqueue code that seem to keep it from being as fast as it could be. This patchset is

linux-next: manual merge of the pm tree with the arm tree

2014-12-02 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in include/linux/pm_runtime.h between commit 3fb1581ea1ab (ARM: 8199/1: PM / Runtime: Add getter for querying the IRQ safe option v12) from the arm tree and commit 6d14dd40f550 (PM: Drop CONFIG_PM_RUNTIME from the driver core) from

[PATCH] block / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Replace CONFIG_PM_RUNTIME with

Re: [PATCH v5 3/4] mmc: dw_mmc: Cleanup disable of low power mode w/ SDIO interrupts

2014-12-02 Thread Doug Anderson
Jaehoon, On Tue, Dec 2, 2014 at 5:06 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Doug On 12/03/2014 09:36 AM, Doug Anderson wrote: Jaehoon, On Tue, Dec 2, 2014 at 4:17 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: @@ -1245,27 +1246,37 @@ static int dw_mci_get_cd(struct mmc_host

Re: [PATCH v3 1/8] mm/page_ext: resurrect struct page extending code for debugging

2014-12-02 Thread Joonsoo Kim
On Mon, Nov 24, 2014 at 05:15:19PM +0900, Joonsoo Kim wrote: When we debug something, we'd like to insert some information to every page. For this purpose, we sometimes modify struct page itself. But, this has drawbacks. First, it requires re-compile. This makes us hesitate to use the powerful

Re: [PATCH v5 3/4] mmc: dw_mmc: Cleanup disable of low power mode w/ SDIO interrupts

2014-12-02 Thread Jaehoon Chung
Doug. On 12/03/2014 10:12 AM, Doug Anderson wrote: Jaehoon, On Tue, Dec 2, 2014 at 5:06 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi Doug On 12/03/2014 09:36 AM, Doug Anderson wrote: Jaehoon, On Tue, Dec 2, 2014 at 4:17 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: @@

[PATCH] hwrandom / exynos / PM: Use CONFIG_PM in #ifdef

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com CONFIG_PM is defined as the alternative of CONFIG_PM_RUNTIME and CONFIG_PM_SLEEP, so it can be used instead of that. Besides, after commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set,

[PATCH] DMA / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Replace CONFIG_PM_RUNTIME with

Re: linux-next: manual merge of the pm tree with the arm tree

2014-12-02 Thread Rafael J. Wysocki
On Wednesday, December 03, 2014 12:12:35 PM Stephen Rothwell wrote: Hi Rafael, Hi, Today's linux-next merge of the pm tree got a conflict in include/linux/pm_runtime.h between commit 3fb1581ea1ab (ARM: 8199/1: PM / Runtime: Add getter for querying the IRQ safe option v12) from the arm tree

[PATCH] gpio / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Replace CONFIG_PM_RUNTIME with

Re: [RFC PATCH 00/14] nfsd/sunrpc: add support for a workqueue-based nfsd

2014-12-02 Thread Jeff Layton
On Wed, 3 Dec 2014 12:11:18 +1100 NeilBrown ne...@suse.de wrote: On Tue, 2 Dec 2014 13:24:09 -0500 Jeff Layton jlay...@primarydata.com wrote: tl;dr: this code works and is much simpler than the dedicated thread pool, but there are some latencies in the workqueue code that

[PATCH] Staging: ft1000: fix spaces around operators in ft1000_debug.c

2014-12-02 Thread Paul Hedman
Fixes spacing issues around operators, e.g. i=0 to i = 0, as found by the checkpatch.pl tool. --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 28 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_debug.c

Re: [PATCH] Staging: ft1000: fix spaces around comparisons in ft1000_debug.c

2014-12-02 Thread Greg KH
On Tue, Dec 02, 2014 at 07:10:41PM -0600, Paul H wrote: A tutorial I read suggested using a different branch for applying the patches; I named it fix-spaces. It would appear it is mistaken then? You have to make your patch against the linux-next tree, not Linus's tree, so as to not duplicate

[PATCH] drm / exynos / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Replace CONFIG_PM_RUNTIME with

Re: [PATCH] Staging: ft1000: fix spaces around comparisons in ft1000_debug.c

2014-12-02 Thread Paul H
Well shoot, please ignore what I just sent in then, I thought I had it. -Paul On Tue, Dec 2, 2014 at 7:31 PM, Greg KH g...@kroah.com wrote: On Tue, Dec 02, 2014 at 07:10:41PM -0600, Paul H wrote: A tutorial I read suggested using a different branch for applying the patches; I named it

[PATCH] i2c-hid / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Replace CONFIG_PM_RUNTIME with

[PATCH] Documentation: describe trace_buf_size parameter more accurately

2014-12-02 Thread Joonsoo Kim
I'm stuck into panic that too litte free memory is left when I boot with trace_buf_size parameter. After digging into the problem, I found that trace_buf_size is the size of trace buffer on each cpu rather than total size of trace buffer. To prevent victim like me, change description of

[PATCH] i2c-omap / PM: Drop CONFIG_PM_RUNTIME from i2c-omap.c

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so some #ifdef blocks depending on CONFIG_PM_RUNTIME may be dropped now. Do that in drivers/i2c/busses/i2c-omap.c.

Re: [PATCH] drm / exynos / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Jingoo Han
On Wednesday, December 03, 2014 10:54 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may

[PATCH] hsi / OMAP / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Do that for the omap_ssi driver.

[PATCH] iio / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Replace CONFIG_PM_RUNTIME with

Re: [PATCH 2/2] drm/msm/hdmi: add hdmi hdcp support

2014-12-02 Thread Bjorn Andersson
On Mon, Dec 1, 2014 at 1:56 PM, Jilai Wang jil...@codeaurora.org wrote: Add HDMI HDCP support including HDCP PartI/II/III authentication. Signed-off-by: Jilai Wang jil...@codeaurora.org --- Hi Jilai, [..] diff --git a/drivers/gpu/drm/msm/hdmi/hdmi.c b/drivers/gpu/drm/msm/hdmi/hdmi.c [..]

[PATCH] input / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. The alternative of CONFIG_PM_SLEEP

[PATCH] media / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. The alternative of CONFIG_PM_SLEEP

linux-next: manual merge of the net-next tree with the kselftest-fixes tree

2014-12-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in include/uapi/linux/Kbuild between commit 3f4994cfc15f (kcmp: Move kcmp.h into uapi) from the kselftest-fixes tree and commit df32dd2054b6 (uapi: resort Kbuild entries) from the net-next tree. I fixed it up (see below) and

Re: [PATCH] hsi / OMAP / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Sebastian Reichel
Hi, On Wed, Dec 03, 2014 at 03:02:24AM +0100, Rafael J. Wysocki wrote: After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Do that

Re: [PATCH 1/2 V6] intel_pstate: skip this driver if Sun server has _PPC method

2014-12-02 Thread Rafael J. Wysocki
On Tuesday, December 02, 2014 10:22:31 AM Kristen Carlson Accardi wrote: On Mon, 1 Dec 2014 11:32:08 +0900 Ethan Zhao ethan.z...@oracle.com wrote: Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has

[PATCH v3 0/3] Series short description

2014-12-02 Thread Leonid Yegoshin
The following series implements an executable stack protection in MIPS. It sets up a per-thread 'VDSO' page and appropriate TLB support. Page is set write-protected from user and is maintained via kernel VA. MIPS FPU emulation is shifted to new page and stack is relieved for execute protection as

[PATCH v3 1/3] MIPS: mips_flush_cache_range is added

2014-12-02 Thread Leonid Yegoshin
New function mips_flush_cache_range() is added. It flushes D-cache on kernel VA and I-cache on user VA. It is significant in case of cache aliasing systems. It can be used to flush a short sequence of newly written code to user space and especially usefull in ptrace() and dsemul(). Today a full

[PATCH v3 2/3] MIPS: Setup an instruction emulation in VDSO protected page instead of user stack

2014-12-02 Thread Leonid Yegoshin
Historically, during FPU emulation MIPS runs live BD-slot instruction in stack. This is needed because it was the only way to correctly handle branch exceptions with unknown COP2 or ASE instructions in BD-slot. Now there is an eXecuteInhibit feature and it is desirable to protect stack from

[PATCH v3 3/3] MIPS: set stack/data protection as non-executable

2014-12-02 Thread Leonid Yegoshin
This is a last step of 3 patches which shift FPU emulation out of stack into protected area. So, it disables a default executable stack. Additionally, it sets a default data area non-executable protection. Signed-off-by: Leonid Yegoshin leonid.yegos...@imgtec.com ---

Re: frequent lockups in 3.18rc4

2014-12-02 Thread Lai Jiangshan
On 12/03/2014 12:58 AM, Dâniel Fraga wrote: On Tue, 2 Dec 2014 16:40:37 +0800 Lai Jiangshan la...@cn.fujitsu.com wrote: It is needed at lest for testing. CONFIG_TREE_PREEMPT_RCU=y with CONFIG_PREEMPT=n is needed for testing too. Please enable them (or enable them under CONFIG_RCU_TRACE=y)

Re: [PATCH] input / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Jingoo Han
On Wednesday, December 03, 2014 11:09 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may

Re: [PATCH 0/6] ACPICA: 20141107 Release

2014-12-02 Thread Rafael J. Wysocki
On Thursday, November 27, 2014 02:25:53 PM Lv Zheng wrote: The 20141107 ACPICA kernel-resident subsystem updates are linuxized based on the pm/linux-next branch to form this patchset. The patchset has passed the following build/boot tests. Build tests are performed as follows: 1. i386 +

Re: [PATCH] ACPI / video: update the condition to check if a device is in _DOD list

2014-12-02 Thread Rafael J. Wysocki
On Sunday, November 30, 2014 09:14:29 AM Aaron Lu wrote: On 11/30/2014 01:34 AM, Brian Norris wrote: Tested-by: Brian Norris computersforpe...@gmail.com Thanks for the test! Updated patch with changelog: From 0b11bb529245ddceb69eb558477b9b4a81208f4b Mon Sep 17 00:00:00 2001 From: Aaron

[PATCH v5 6/6] powerpc/perf/hv-24x7: Document sysfs event description entries

2014-12-02 Thread Sukadev Bhattiprolu
From: Cody P Schafer c...@linux.vnet.ibm.com CC: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com CC: Haren Myneni hb...@us.ibm.com CC: Cody P Schafer d...@codyps.com Signed-off-by: Cody P Schafer c...@linux.vnet.ibm.com --- .../testing/sysfs-bus-event_source-devices-hv_24x7 | 22

[PATCH v5 2/6] perf: add PMU_EVENT_ATTR_STRING() helper

2014-12-02 Thread Sukadev Bhattiprolu
From: Cody P Schafer c...@linux.vnet.ibm.com Helper for constructing static struct perf_pmu_events_attr s. CC: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com CC: Haren Myneni hb...@us.ibm.com CC: Cody P Schafer d...@codyps.com Signed-off-by: Cody P Schafer c...@linux.vnet.ibm.com ---

[PATCH v5 5/6] powerpc/perf/hv-gpci: add the remaining gpci requests

2014-12-02 Thread Sukadev Bhattiprolu
From: Cody P Schafer c...@linux.vnet.ibm.com Add the remaining gpci requests that contain counters suitable for use by perf. Omit those that don't contain any counters (but note their ommision). CC: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com CC: Haren Myneni hb...@us.ibm.com CC: Cody P

[PATCH v5 0/6]: Make 24x7 and GPCI events available in sysfs

2014-12-02 Thread Sukadev Bhattiprolu
The current support for the 24x7 and GPCI counters in the kernel requires users to specify the domain and offset of the event numerically, which is obviously hard to use: perf stat -C 0 -e \ 'hv_24x7/domain=2,offset=0xd58,starting_index=0,lpar=0x/' \ sleep 1 This

[PATCH v5 1/6] perf: provide sysfs_show for struct perf_pmu_events_attr

2014-12-02 Thread Sukadev Bhattiprolu
From: Cody P Schafer c...@linux.vnet.ibm.com (struct perf_pmu_events_attr) is defined in include/linux/perf_event.h, but the only show for it is in x86 and contains x86 specific stuff. Make a generic one for those of us who are just using the event_str. CC: Sukadev Bhattiprolu

[PATCH v5 4/6] powerpc/perf/{hv-gpci, hv-common}: generate requests with counters annotated

2014-12-02 Thread Sukadev Bhattiprolu
From: Cody P Schafer c...@linux.vnet.ibm.com This adds (in req-gen/) a framework for defining gpci counter requests. It uses macro magic similar to ftrace. Also convert the existing hv-gpci request structures and enum values to use the new framework (and adjust old users of the structs and enum

[PATCH v5 3/6] powerpc/perf/hv-24x7: parse catalog and populate sysfs with events

2014-12-02 Thread Sukadev Bhattiprolu
From: Cody P Schafer c...@linux.vnet.ibm.com Retrieves and parses the 24x7 catalog on POWER systems that supply it (right now, only POWER 8). Events are exposed via sysfs in the standard fashion, and are all parameterized. $ cd /sys/bus/event_source/devices/hv_24x7/events $ cat

[PATCH v5 3/4] perf Documentation: add event parameters

2014-12-02 Thread Sukadev Bhattiprolu
From: Cody P Schafer c...@linux.vnet.ibm.com Event parameters are a basic way for partial events to be specified in sysfs with per-event names given to the fields that need to be filled in when using a particular event. It is intended for supporting cases where the single 'cpu' parameter is

[PATCH v5 4/4] tools/perf: Document parameterized and symbolic events

2014-12-02 Thread Sukadev Bhattiprolu
From: Cody P Schafer c...@linux.vnet.ibm.com Changelog[v6]: - [Sukadev Bhattiprolu]: Update documentation of perf-list and perf-record; Added documentation for perf-stat. CC: Haren Myneni hb...@us.ibm.com CC: Cody P Schafer d...@codyps.com Signed-off-by: Cody P Schafer

<    4   5   6   7   8   9   10   11   12   13   >