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 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 >>> wrote: > @@ -1245,27 +1246,37 @@ stati

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 power

[PATCH] block / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki 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 CONFIG_PM in the block device c

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 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 wrote: @@ -1245,27 +1246,37 @@ static int dw_mci_get_cd(struct mmc_host *mmc) return present; >

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") f

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 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 a little skunkworks

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 >> --- >> arch/x86/kvm/cpuid.c | 10 +- >> 1 file chan

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 boo

[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. ra

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 wrote: > On Tue, Dec 02, 2014

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 wrote: >>> @@ -1245,27 +1246,37 @@ static int dw_mci_get_cd(struct mmc_host *mmc) >>> return present; >>> } >>> >>> -/* >>> - * Disable lower power mode. >>> - * >>> - * Low p

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

[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 --- 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 | 31 +++

[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 --- 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 +++ b/arch/x86/kvm/cpuid.c @@ -267,6

[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 --- 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 +++ b/arch/x86/kvm/vmx.c @@ -99,6 +99,8

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

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 000..107c1c

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

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 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 power capping capabily w

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 > --- > drivers/staging/ft1000/ft1000-usb/ft100

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 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. > + */ > + > +

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

[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 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 --- man2/posix_fadvise.2 | 5 + 1 file changed, 5 insertions(+) diff --git a/man2/posix_fadvise.2 b/man2/posix_fadvise.2 index 25d0c50..07313a9 100644 ---

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

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 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 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 wrote: > From: Benoit Parrot > > 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 su

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 > --- > drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c | 1 + > 1 file changed, 1 insertio

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

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 > --- > drivers/staging/octeon/ethernet-rx.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/oc

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 > --- > drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 8 > 1 file changed, 8 deletions(-) > > diff --git a/dr

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

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

2014-12-02 Thread Lad, Prabhakar
From: Benoit Parrot 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: Benoit Parrot Sig

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" 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" wrote: > >> > >> > I am guessing that this patch is against an old ve

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 Reviewed-by: Andrew Cooper > >> Changes in v3: >> * Ex

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

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

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 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 new devices. >>

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 e

[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 --- drivers/clocksource/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig

[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 --- arch/arm/mach-imx/Kconfig | 4 ++ arch/arm/mach-imx/Makefile | 1 + arch/arm/mach-imx/common.h | 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 v

[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 --- arch/arm/Kconfig

[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 --- .../devicetree/bindings/arm/freescale/fsl,vf610-mscm.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/fr

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

2014-12-02 Thread Måns Rullgård
"Paul E. McKenney" 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" wrote: >> >> > I am guessing that this patch is against an old version of this file >> > (there have been two patches applied to this example

[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 --- arch/arm/include/debug/efm32.S | 2 +- arch/arm/kern

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

[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 --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/vf610m4-colibri.dts | 52 +++ arch/arm/boot/dts/vf610m4.dtsi| 3

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

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 m

[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 --- arch/arm/boot/dts/vfxxx.dtsi | 5 + 1 file

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

2014-12-02 Thread Stefan Agner
From: Stefan Agner 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 Agner --- arch/arm/boot/dt

[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 --- include/linux/irqchip/arm-gic.h | 3 +++ 1 file changed, 3 i

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

[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. Signed-of

Re: frequent lockups in 3.18rc4

2014-12-02 Thread Linus Torvalds
On Tue, Dec 2, 2014 at 3:32 PM, Sasha Levin 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 line is? There are

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; jasow...@

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

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

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 > 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 can return th

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 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 and/or their

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 > > Date: Mon, 1 Dec 2014 08:53:55 +0900 > > Subject: [PATCH] madvise.2: Document MA

[jbarnes:upstream-sync-points 2/2] drivers/gpu/drm/i915/i915_sync.c:43:12: sparse: symbol 'fence_lock' was not declared. Should it be static?

2014-12-02 Thread kbuild test robot
tree: git://people.freedesktop.org/~jbarnes/linux upstream-sync-points head: 97b242f63adaf11c3edf16b0282243cc4274eac8 commit: 97b242f63adaf11c3edf16b0282243cc4274eac8 [2/2] drm/i915: Android sync points for i915 v3 reproduce: # apt-get install sparse git checkout 97b242f63adaf11c3edf16b028

[PATCH jbarnes] drm/i915: fence_lock can be static

2014-12-02 Thread kbuild test robot
drivers/gpu/drm/i915/i915_sync.c:43:12: sparse: symbol 'fence_lock' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- i915_sync.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_sync.c b/drivers/gpu/drm/i915/i915_sync.c index

mmotm 2014-12-02-15-55 uploaded

2014-12-02 Thread akpm
The mm-of-the-moment snapshot 2014-12-02-15-55 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

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

2014-12-02 Thread K. Y. Srinivasan
The clocksource based on Hyper-V per-partition reference count MSR is continuous. Mark it accordingly. Signed-off-by: K. Y. Srinivasan cc: sta...@vger.kernel.org --- arch/x86/kernel/cpu/mshyperv.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/cpu/mshype

[PATCH] Staging: slicoss: Fix long line issues in slicoss.c

2014-12-02 Thread Sean Cleator
A patch to the slicoss.c file to fix some of the long line issues found by the checkpath.pl tool Signed-off-by: Sean Cleator --- drivers/staging/slicoss/slicoss.c | 39 ++- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/drivers/staging/sl

Re: [PATCH] sound: pci: cmipci.c: Cleaning up function that are not used anywhere

2014-12-02 Thread Bjorn Helgaas
Hi Rickard, Thanks a lot for fixing cruft like this. It makes life better for everybody. I'll let the maintainer of this driver take care of this patch, but I'll just point out that your subject ("Cleaning up function ...") is slightly ambiguous because sometimes "cleanup" means simplification,

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

2014-12-02 Thread Joe Perches
On Wed, 2014-12-03 at 00:33 +0100, Peter Hüwe wrote: > Am Mittwoch, 3. Dezember 2014, 00:24:43 schrieb Aaro Koskinen: > > On Wed, Dec 03, 2014 at 12:21:07AM +0100, Peter Hüwe wrote: > > > --- a/drivers/char/tpm/tpm_i2c_nuvoton.c > > > +++ b/drivers/char/tpm/tpm_i2c_nuvoton.c > > > @@ -605,10 +605,8

Re: [PATCH] cpuidle: add MAINTAINERS entry for ARM Exynos cpuidle driver

2014-12-02 Thread Rafael J. Wysocki
On Tuesday, December 02, 2014 04:41:35 PM Bartlomiej Zolnierkiewicz wrote: > Since there has been quite a lot of development going on for > ARM Exynos cpuidle driver recently I would like to add separate > MAINTAINERS entry for it and add myself as the primary maintainer. > > The merging process w

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

2014-12-02 Thread Doug Anderson
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 ended up disabling low power as a side effect of the first enable

[PATCH v5 0/4] Fixes for SDIO interrupts for dw_mmc

2014-12-02 Thread Doug Anderson
Bing Zhao at Marvell found a problem with dw_mmc where interrupts weren't firing sometimes. He tracked it down to a read-modify-write problem with the INTMASK. These patches fix the problem. Note: I've picked up a > 1-year old series here to make another attempt at landing it upstream. These pa

[PATCH v5 4/4] mmc: dw_mmc: Protect read-modify-write of INTMASK with a lock

2014-12-02 Thread Doug Anderson
We're running into cases where our enabling of the SDIO interrupt in dw_mmc doesn't actually take effect. Specifically, adding patch like this: +++ b/drivers/mmc/host/dw_mmc.c @@ -1076,6 +1076,9 @@ static void dw_mci_enable_sdio_irq(struct mmc_host *mmc, int enb) mci_writel(host, INTMAS

[PATCH v5 1/4] ARM: OMAP2+: Make sure pandora_wl1251_init_card() applies to SDIO only

2014-12-02 Thread Doug Anderson
In preparation for having init_card() called for all card types (not just SDIO), change pandora_wl1251_init_card() so it checks whether the card type is SDIO. Signed-off-by: Doug Anderson --- Changes in v5: - Split fixup to pandora_wl1251_init_card() into its own patch. Changes in v3: None Chang

Re: [PATCH v4 1/3] mmc: core: Support the optional init_card() callback for MMC and SD

2014-12-02 Thread Doug Anderson
Jaehoon, On Tue, Dec 2, 2014 at 3:15 PM, Jaehoon Chung wrote: > Hi Doug. > > I think good that this patch is separated to two patches. > (board file and codes relevant to mmc.) Yes, good idea. I've spun v5 with this. -Doug -- To unsubscribe from this list: send the line "unsubscribe linux-kern

[PATCH v5 2/4] mmc: core: Support the optional init_card() callback for MMC and SD

2014-12-02 Thread Doug Anderson
In (3fcb027 ARM: MXC: mxcmmc: work around a bug in the SDHC busy line handling) the optional init_card() callback was added. According to the original change it was "for now only called from mmc_sdio_init_card()". This callback really ought to be called from the SD and MMC init functions as well.

Re: [PATCH 2/4] iio: dht11: IRQ fixes

2014-12-02 Thread Richard Weinberger
Am 03.12.2014 um 00:32 schrieb Richard Weinberger: :-\ > Signed-off-by: Richard Weinberger -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please r

[PATCH 2/4] iio: dht11: IRQ fixes

2014-12-02 Thread Richard Weinberger
Signed-off-by: Richard Weinberger --- drivers/iio/humidity/dht11.c | 56 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/drivers/iio/humidity/dht11.c b/drivers/iio/humidity/dht11.c index 168ebc4..0023699 100644 --- a/drivers/iio/humidit

iio: dht11 Updates

2014-12-02 Thread Richard Weinberger
Please see my current patches for your driver. As discussed in an earlier mail I'm testing with the DHT22 sensor only. With the IRQ changes I see 84 edges. I have also a question on your driver. Why you increment DHT11_DATA_BIT_LOW/timeres by one in the ambiguity check? threshold = DHT11_

Re: [RFC PATCH 3/4] kmod - add call_usermodehelper_ns() helper

2014-12-02 Thread Ian Kent
On Mon, 2014-12-01 at 16:56 -0500, Benjamin Coddington wrote: > n Tue, 25 Nov 2014, Eric W. Biederman wrote: > Hi, > > > Ian Kent writes: > > > > > On Tue, 2014-11-25 at 17:19 -0600, Eric W. Biederman wrote: > > >> Ian Kent writes: > > >> > > >> > On Tue, 2014-11-25 at 16:23 -0600, Eric W. Biede

[PATCH 3/4] iio: dht11: Logging updates

2014-12-02 Thread Richard Weinberger
Currently the driver uses pr_* and dev_* functions. Change all logging functions to dev_* style to be consistent and have the correct device prefix in all messages. This change set also adds new messages to diagnose issues. Signed-off-by: Richard Weinberger --- drivers/iio/humidity/dht11.c | 16

[PATCH 1/4] iio: dht11: Add locking

2014-12-02 Thread Richard Weinberger
Make sure that the read function is not interrupted... Signed-off-by: Richard Weinberger --- drivers/iio/humidity/dht11.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/iio/humidity/dht11.c b/drivers/iio/humidity/dht11.c index d8771f5..168ebc4 100644 --- a/drivers/iio/humidity/

[PATCH 4/4] iio: dht11: Fix out-of-bounds read

2014-12-02 Thread Richard Weinberger
As we access i-1 we must not start with i=0. Signed-off-by: Richard Weinberger --- drivers/iio/humidity/dht11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/humidity/dht11.c b/drivers/iio/humidity/dht11.c index fbcd7cb..5dfe71b 100644 --- a/drivers/iio/humidity

Re: frequent lockups in 3.18rc4

2014-12-02 Thread Sasha Levin
On 12/02/2014 02:32 PM, Dave Jones wrote: > On Mon, Dec 01, 2014 at 06:08:38PM -0500, Chris Mason wrote: > > I'm not sure if this is related, but running trinity here, I noticed it > > was stuck at 100% system time on every CPU. perf report tells me we are > > spending all of our time in spin_l

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

2014-12-02 Thread Peter Hüwe
Am Mittwoch, 3. Dezember 2014, 00:24:43 schrieb Aaro Koskinen: > Hi, > > On Wed, Dec 03, 2014 at 12:21:07AM +0100, Peter Hüwe wrote: > > --- a/drivers/char/tpm/tpm_i2c_nuvoton.c > > +++ b/drivers/char/tpm/tpm_i2c_nuvoton.c > > @@ -605,10 +605,8 @@ static int i2c_nuvoton_probe(struct i2c_client > >

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

2014-12-02 Thread Aaro Koskinen
Hi, On Wed, Dec 03, 2014 at 12:21:07AM +0100, Peter Hüwe wrote: > --- a/drivers/char/tpm/tpm_i2c_nuvoton.c > +++ b/drivers/char/tpm/tpm_i2c_nuvoton.c > @@ -605,10 +605,8 @@ static int i2c_nuvoton_probe(struct i2c_client *client, > return -ENODEV; > > rc = tpm_chip_register(ch

Re: [CFT][PATCH 2/3] userns: Add a knob to disable setgroups on a per user namespace basis

2014-12-02 Thread Andy Lutomirski
On Tue, Dec 2, 2014 at 3:07 PM, Eric W. Biederman wrote: > Andy Lutomirski writes: > >> On Tue, Dec 2, 2014 at 1:45 PM, Eric W. Biederman >> wrote: >>> Andy Lutomirski writes: >>> On Tue, Dec 2, 2014 at 12:28 PM, Eric W. Biederman wrote: > > - Expose the knob to user space t

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

2014-12-02 Thread Peter Hüwe
Am Mittwoch, 3. Dezember 2014, 00:16:19 schrieb Peter Hüwe: > Am Dienstag, 2. Dezember 2014, 23:31:12 schrieb Jarkko Sakkinen: > > This patch set enables TPM2 protocol and provides drivers for FIFO and > > CRB interfaces. This patch set does not export any sysfs attributes for > > TPM 2.0 because e

Re: [PATCH v4 1/3] mmc: core: Support the optional init_card() callback for MMC and SD

2014-12-02 Thread Jaehoon Chung
Hi Doug. I think good that this patch is separated to two patches. (board file and codes relevant to mmc.) Best Regards, Jaehoon Chung On 12/03/2014 05:49 AM, Doug Anderson wrote: > In (3fcb027 ARM: MXC: mxcmmc: work around a bug in the SDHC busy line > handling) the optional init_card() callbac

[PATCH v2 0/6] scsi: Some seq_file cleanups/optimizations

2014-12-02 Thread Rasmus Villemoes
These patches mostly replace seq_printf with simpler and faster equivalents, e.g. seq_printf(m, "something") => seq_puts(m, "something") and seq_printf(m, "\n") => seq_putc(m, '\n). But before my Coccinelle scripts could be unleashed I had to clean up an unnecessary macro. The patches don't change

[PATCH v2 3/6] scsi/aha152x: Replace seq_printf with seq_puts

2014-12-02 Thread Rasmus Villemoes
Using seq_printf to print a simple string is a lot more expensive than it needs to be, since seq_puts exists. Replace seq_printf with seq_puts when possible. Signed-off-by: Rasmus Villemoes --- drivers/scsi/aha152x.c | 248 - 1 file changed, 124 in

[PATCH v2 2/6] scsi/advansys: Replace seq_printf with seq_puts

2014-12-02 Thread Rasmus Villemoes
Using seq_printf to print a simple string is a lot more expensive than it needs to be, since seq_puts exists. Replace seq_printf with seq_puts when possible. Signed-off-by: Rasmus Villemoes --- drivers/scsi/advansys.c | 155 +++- 1 file changed, 75 ins

[PATCH v2 1/6] scsi: Remove SPRINTF macro

2014-12-02 Thread Rasmus Villemoes
The macro SPRINTF doesn't save a lot of typing or make the code more readable, and depending on a specific identifier (m) in the surrounding scope is generally frowned upon. Nuke it. Signed-off-by: Rasmus Villemoes --- drivers/scsi/NCR5380.c | 20 ++- drivers/scsi/aha152x.c | 295 ++

[PATCH v2 5/6] scsi: misc: Merge consecutive seq_puts calls

2014-12-02 Thread Rasmus Villemoes
Consecutive seq_puts calls with literal strings may be replaced by a single call, saving a little .text. Signed-off-by: Rasmus Villemoes --- drivers/scsi/advansys.c | 43 +++ drivers/scsi/atp870u.c | 5 ++--- drivers/scsi/dc395x.c| 4 +

[PATCH v2 6/6] scsi: misc: Print single-character strings with seq_putc

2014-12-02 Thread Rasmus Villemoes
Using seq_putc to print a single character saves at least a strlen() call and a memory access, and may also give a small .text reduction. Signed-off-by: Rasmus Villemoes --- drivers/scsi/NCR5380.c | 2 +- drivers/scsi/advansys.c | 34 +-

[PATCH v2 4/6] scsi: misc: Replace seq_printf with seq_puts

2014-12-02 Thread Rasmus Villemoes
Using seq_printf to print a simple string is a lot more expensive than it needs to be, since seq_puts exists. Replace seq_printf with seq_puts when possible. Signed-off-by: Rasmus Villemoes --- drivers/scsi/BusLogic.c | 10 +- drivers/scsi/NCR5380.c | 4 ++-- dr

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

2014-12-02 Thread Peter Hüwe
Am Dienstag, 2. Dezember 2014, 23:31:12 schrieb Jarkko Sakkinen: > This patch set enables TPM2 protocol and provides drivers for FIFO and > CRB interfaces. This patch set does not export any sysfs attributes for > TPM 2.0 because existing sysfs attributes have three non-trivial issues: > > - They

[PATCH] sound: pci: cmipci.c: Cleaning up function that are not used anywhere

2014-12-02 Thread Rickard Strandqvist
Remove function snd_cmipci_pll_rmn() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- sound/pci/cmipci.c | 41 - 1 file changed, 41 deletions(-) diff --

Re: [Xen-devel] [PATCH v4 7/7] xen/pciback: Restore configuration space when detaching from a guest.

2014-12-02 Thread Boris Ostrovsky
On 11/21/2014 05:17 PM, Konrad Rzeszutek Wilk wrote: The commit "xen/pciback: Don't deadlock when unbinding." was using the version of pci_reset_function which would lock the device lock. That is no good as we can dead-lock. As such we swapped to using the lock-less version and requiring that the

Re: [CFT][PATCH 2/3] userns: Add a knob to disable setgroups on a per user namespace basis

2014-12-02 Thread Eric W. Biederman
Andy Lutomirski writes: > On Tue, Dec 2, 2014 at 1:45 PM, Eric W. Biederman > wrote: >> Andy Lutomirski writes: >> >>> On Tue, Dec 2, 2014 at 12:28 PM, Eric W. Biederman >>> wrote: - Expose the knob to user space through a proc file /proc//setgroups >>> >>> Can you rename this to so

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