Re: frequent lockups in 3.18rc4

2014-12-03 Thread Thomas Gleixner
On Wed, 3 Dec 2014, Dave Jones wrote: > On Wed, Dec 03, 2014 at 09:59:20PM +0100, Thomas Gleixner wrote: > > > Can you please provide the cpuinfo flags of that box? > > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge > mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss

[PATCH] firmware: Correct function name in comment

2014-12-03 Thread Borislav Petkov
From: Borislav Petkov Use the correct function name in the kernel-doc comment above it. Cc: Ming Lei Cc: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org Signed-off-by: Borislav Petkov --- drivers/base/firmware_class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

[PATCH] media: i2c/adp1653: devicetree support for adp1653

2014-12-03 Thread Pavel Machek
We are moving to device tree support on OMAP3, but that currently breaks ADP1653 driver. This adds device tree support, plus required documentation. Signed-off-by: Pavel Machek --- /dev/null +++ b/Documentation/devicetree/bindings/media/i2c/adp1653.txt @@ -0,0 +1,38 @@ +* Analog Devices ADP1653

Re: [PATCH v3 1/3] devicetree: of: Add bindings for chosen node, stdout-path

2014-12-03 Thread Grant Likely
On Wed, Dec 3, 2014 at 7:46 PM, Frank Rowand wrote: > On 12/3/2014 7:12 AM, Grant Likely wrote: >> On Wed, Dec 3, 2014 at 2:24 AM, Frank Rowand wrote: >>> On 11/27/2014 9:56 AM, Leif Lindholm wrote: Add a global binding for the chosen node. Include a description of the stdout-path, and

Re: [RESEND PATCH v5 0/5] acerhdf: adding new models, appropriate governor and minor clean up

2014-12-03 Thread Peter Feuerer
Hi Darren / platform-driver-x86 list, Peter Feuerer writes: please apply this series of patches. did you find time for my patchseries already? Is there any problem with it? -- kind regards, --peter; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

[PATCH v5 7/9] xen/pciback: Restore configuration space when detaching from a guest.

2014-12-03 Thread Konrad Rzeszutek Wilk
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 callers of 'pcistub_put_pci_dev' take the device lock.

[PATCH v5 5/9] xen/pciback: Remove tons of dereferences

2014-12-03 Thread Konrad Rzeszutek Wilk
A little cleanup. No functional difference. Reviewed-by: Boris Ostrovsky Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/xen-pciback/pci_stub.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pc

[PATCH v5 2/9] driver core: Provide an wrapper around the mutex to do lockdep warnings

2014-12-03 Thread Konrad Rzeszutek Wilk
Instead of open-coding it in drivers that want to double check that their functions are indeed holding the device lock. Signed-off-by: Konrad Rzeszutek Wilk Suggested-by: David Vrabel Acked-by: Greg Kroah-Hartman --- drivers/xen/xen-pciback/pci_stub.c | 2 +- include/linux/device.h

[PATCH] Staging: octeon: Added several blank lines after declarations

2014-12-03 Thread Jamie Lawler
Hi, I've added blank lines after several declarations that were previously missing them, reducing the number of warnings from checkpatch.pl. Regards, Jamie Lawler Signed-off-by: Jamie Lawler --- drivers/staging/octeon/ethernet-rx.c | 4 drivers/staging/octeon/ethernet-tx.c | 11 ++

[PATCH v5 4/9] xen/pciback: Print out the domain owning the device.

2014-12-03 Thread Konrad Rzeszutek Wilk
We had been printing it only if the device was built with debug enabled. But this information is useful in the field to troubleshoot. Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: David Vrabel --- drivers/xen/xen-pciback/xenbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [PATCHv11 net-next 1/2] openvswitch: Refactor ovs_nla_fill_match().

2014-12-03 Thread Joe Stringer
On 3 December 2014 at 11:37, Pravin Shelar wrote: > On Tue, Dec 2, 2014 at 6:56 PM, Joe Stringer wrote: >> diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c >> index 332b5a0..b2a3796 100644 >> --- a/net/openvswitch/datapath.c >> +++ b/net/openvswitch/datapath.c >> @@ -462,10 +4

[PATCH v5 9/9] xen/pciback: Implement PCI reset slot or bus with 'do_flr' SysFS attribute

2014-12-03 Thread Konrad Rzeszutek Wilk
The life-cycle of a PCI device in Xen pciback is complex and is constrained by the PCI generic locking mechanism. It starts with the device being binded to us - for which we do a device function reset (and done via SysFS so the PCI lock is held) If the device is unbinded from us - we also do a fu

[PATCH v5 6/9] PCI: Expose pci_load_saved_state for public consumption.

2014-12-03 Thread Konrad Rzeszutek Wilk
We have the pci_load_and_free_saved_state, and pci_store_saved_state but are missing the functionality to just load the state multiple times in the PCI device without having to free/save the state. This patch makes it possible to use this function. CC: Bjorn Helgaas Signed-off-by: Konrad Rzeszut

[PATCH v5] Fixes for PCI backend for 3.19.

2014-12-03 Thread Konrad Rzeszutek Wilk
Since v4 (http://lists.xen.org/archives/html/xen-devel/2014-11/msg02130.html): - Per David's review altered one of the patches. v3 (https://lkml.org/lkml/2014/7/8/533): - Epic discussion. These patches fix some issues with PCI back and also add proper bus/slot reset. Documentation/ABI/testin

[PATCH v5 8/9] xen-pciback: drop SR-IOV VFs when PF driver unloads

2014-12-03 Thread Konrad Rzeszutek Wilk
From: Jan Beulich When a PF driver unloads, it may find it necessary to leave the VFs around simply because of pciback having marked them as assigned to a guest. Utilize a suitable notification to let go of the VFs, thus allowing the PF to go back into the state it was before its driver loaded (w

[PATCH v5 3/9] xen/pciback: Include the domain id if removing the device whilst still in use

2014-12-03 Thread Konrad Rzeszutek Wilk
Cleanup the function a bit - also include the id of the domain that is using the device. Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: David Vrabel --- drivers/xen/xen-pciback/pci_stub.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/xen/xen-pciback/p

[PATCH v5 1/9] xen/pciback: Don't deadlock when unbinding.

2014-12-03 Thread Konrad Rzeszutek Wilk
As commit 0a9fd0152929db372ff61b0d6c280fdd34ae8bdb 'xen/pciback: Document the entry points for 'pcistub_put_pci_dev'' explained there are four entry points in this function. Two of them are when the user fiddles in the SysFS to unbind a device which might be in use by a guest or not. Both 'unbind'

Re: linux-next: manual merge of the driver-core tree with the net-next tree

2014-12-03 Thread Jeremiah Mahler
On Wed, Dec 03, 2014 at 01:06:59PM -0800, Jeremiah Mahler wrote: > Arend, > > On Wed, Dec 03, 2014 at 01:49:00PM +0100, Arend van Spriel wrote: > > On 12/03/14 11:51, Jeremiah Mahler wrote: > > >On Wed, Dec 03, 2014 at 12:36:55AM -0800, Jeremiah Mahler wrote: > > >>all, > > >> > > >>On Mon, Dec 01

[PATCH] mce: Spell "panicked" correctly

2014-12-03 Thread Borislav Petkov
From: Borislav Petkov We need the additional "k" to make it a hard-c: https://en.wiktionary.org/wiki/panicked Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/mcheck/mce.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/

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

2014-12-03 Thread Jason Wilkes
I'm pretty sure I did. I'd normally just say "yes I'm sure," but the kernel folks do extremely clever things with the compiler, linker, and basically everything else, so I'm reluctant to assume that *anything* I know about C in userspace or C in less-cleverly-written code holds here. To that end, I

[PATCH v4 1/3] video: omapdss: Add opa362 driver

2014-12-03 Thread Marek Belisko
opa362 is amplifier for video and can be connected to the tvout pads of the OMAP3. It has one gpio control for enable/disable of the output (high impedance). Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- drivers/video/fbdev/omap2/displays-new/Kconfig | 6 + drivers/

[PATCH v4 2/3] Documentation: DT: Add documentation for ti,opa362 bindings

2014-12-03 Thread Marek Belisko
Signed-off-by: Marek Belisko --- .../devicetree/bindings/video/ti,opa362.txt| 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/ti,opa362.txt diff --git a/Documentation/devicetree/bindings/video/ti,opa362.txt b/Docume

[PATCH v2] Staging: dgnc: Fix long line coding style issues in dgnc_cls.h

2014-12-03 Thread Sean Cleator
A patch to fix the rest of the long line warnings in the dgnc_cls.h file found by the checkpatch.pl tool Signed-off-by: Sean Cleator --- drivers/staging/dgnc/dgnc_cls.h | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_cls.h b/drive

[PATCH v4 3/3] arm: dts: omap3-gta04: Add handling for tv output

2014-12-03 Thread Marek Belisko
Add handling for gta04 tv out chain: venc -> opa362 -> svideo Use invert-polarity in venc node because opa362 is doing polarity inversion also. Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 49 ++ 1 file changed, 49 insertions(+) diff

[PATCH v4 0/3] omapdss: Add video output support for gta04

2014-12-03 Thread Marek Belisko
changes from v3: - use GPL v2 instead GPL - fix wrong gpios property name in doc and DT - set gpio to NULL if invalid - drop unnecessary header changes from v2: - rename amplifier-opa362.c to encoder-opa362 - drop inversion handlign from driver - add ti,invert-polarity to venc node I also drop de

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

2014-12-03 Thread Richard Weinberger
Am 03.12.2014 um 14:56 schrieb Harald Geyer: > Richard Weinberger writes: >> Am 03.12.2014 um 13:58 schrieb Harald Geyer: >>> Richard Weinberger writes: Currently the driver uses pr_* and dev_* functions. Change all logging functions to dev_* style to be consistent and have the corre

[PATCH] thermal: Fix error path in thermal_init()

2014-12-03 Thread Luis Henriques
thermal_unregister_governors() and class_unregister() were being called in the wrong order. Fixes: 80a26a5c22b9 ("Thermal: build thermal governors into thermal_sys module") Cc: sta...@vger.kernel.org Signed-off-by: Luis Henriques --- drivers/thermal/thermal_core.c | 4 ++-- 1 file changed, 2 ins

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Linus Torvalds
On Wed, Dec 3, 2014 at 12:55 PM, Thomas Gleixner wrote: > > But it's always negative, which means HPET is always ahead of > TSC. That excludes pretty much the clocksource watchdog starvation > issue which results in TSC being ahead of HPET due to a HPET > wraparound (which takes ~300s). Still, I'

Re: Why not make kdbus use CUSE?

2014-12-03 Thread Greg Kroah-Hartman
On Wed, Dec 03, 2014 at 04:22:33AM -0500, Richard Yao wrote: > On 12/02/2014 12:26 PM, Greg Kroah-Hartman wrote: > > On Tue, Dec 02, 2014 at 07:22:11AM -0500, Richard Yao wrote: > >> Assuming that this dance succeeds, the FUSE process could then make a > >> readonly file in itself, open it read onl

Re: [PATCH] kernel: sysctl: use 'unsigned long' type for 'zero' variable

2014-12-03 Thread David Rientjes
On Wed, 3 Dec 2014, Andrey Ryabinin wrote: > > Commit ed4d4902ebdd ("mm, hugetlb: remove hugetlb_zero and hugetlb_infinity") > replaced > 'unsigned long hugetlb_zero' with 'int zero' leading to out-of-bounds access > in proc_doulongvec_minmax(): > > ===

Re: linux-next: manual merge of the driver-core tree with the net-next tree

2014-12-03 Thread Jeremiah Mahler
Arend, On Wed, Dec 03, 2014 at 01:49:00PM +0100, Arend van Spriel wrote: > On 12/03/14 11:51, Jeremiah Mahler wrote: > >On Wed, Dec 03, 2014 at 12:36:55AM -0800, Jeremiah Mahler wrote: > >>all, > >> > >>On Mon, Dec 01, 2014 at 08:34:05AM +0100, Arend van Spriel wrote: > >>>On 01-12-14 08:19, Steph

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Dave Jones
On Wed, Dec 03, 2014 at 09:59:20PM +0100, Thomas Gleixner wrote: > Can you please provide the cpuinfo flags of that box? flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant

Re: [PATCHv11 net-next 2/2] openvswitch: Add support for unique flow IDs.

2014-12-03 Thread Joe Stringer
On 3 December 2014 at 11:45, Pravin Shelar wrote: > On Wed, Dec 3, 2014 at 10:47 AM, Joe Stringer wrote: >> I forgot to mention that this is the first post based against net-next. >> >> On 2 December 2014 at 18:56, Joe Stringer wrote: >>> >>> diff --git a/net/openvswitch/flow.h b/n

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Thomas Gleixner
On Wed, 3 Dec 2014, Dave Jones wrote: > On Wed, Dec 03, 2014 at 09:37:10PM +0100, Thomas Gleixner wrote: > > > Right, that resulted in a delta > 0. I have no idea how we could > > create a negative delta via wrapping the HPET around, i.e. HPET being > > 96 seconds ahead of TSC. > > > > This

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Chris Mason
On Wed, Dec 3, 2014 at 3:11 PM, Dave Jones wrote: On Wed, Dec 03, 2014 at 02:59:58PM -0500, Chris Mason wrote: > You've also mentioned a few times where messages stopped hitting the > console? > > commit 5874af2003b1053128d655710140e3187226 > Author: Jan Kara > Date: Wed Aug 6

Re: [GIT PULL] USB driver fixes for 3.18-rc7

2014-12-03 Thread Mathias Nyman
On 02.12.2014 20:18, Greg KH wrote: > On Sun, Nov 30, 2014 at 11:47:20AM -0800, Linus Torvalds wrote: >> Hmm, Greg. >> >> I seem to get this problem possibly more commonly at boot these days: >> >> usb 1-6: new full-speed USB device number 2 using xhci_hcd >> usb 1-6: device descriptor read/64,

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Thomas Gleixner
On Wed, 3 Dec 2014, Linus Torvalds wrote: > On Wed, Dec 3, 2014 at 12:09 PM, Dave Jones wrote: > > > > fwiw, there's quite a bit of variance in the delta that seems to show up. > > Yeah, anything from 1 to 251 seconds. That's definitely "quite a bit > of variance" But it's always negative, which

Re: Bug: Fatal errors result in infinite stream of error messages

2014-12-03 Thread Borislav Petkov
On Wed, Dec 03, 2014 at 05:11:49PM +0800, rui wang wrote: > The problem is because kdump fails to load a new kernel, and we're > executing past crash_kexec() in panic(). And it calls > bust_spinlocks(0) which calls into the GPU driver trying to unblank > the screen, which eventually calls __schedul

[PATCH v5 01/11] mfd: syscon: Add atmel-matrix registers definition

2014-12-03 Thread Boris Brezillon
AT91 SoCs have a memory range reserved for internal bus configuration. Expose those registers so that drivers can make use of the matrix syscon declared in at91 DTs. Signed-off-by: Boris Brezillon Acked-by: Lee Jones --- include/linux/mfd/syscon/atmel-matrix.h | 117

[PATCH v5 02/11] mfd: syscon: Add Atmel Matrix bus DT binding documentation

2014-12-03 Thread Boris Brezillon
The Matrix registers are provided to configure internal bus behavior on at91 SoCs. Some registers might be accessed by several drivers (e.g. to configure external memory bus timings), hence we declare this register set as a syscon device. Signed-off-by: Boris Brezillon Acked-by: Lee Jones --- .

[PATCH v5 03/11] mfd: syscon: Add atmel-smc registers definition

2014-12-03 Thread Boris Brezillon
Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory Controller) configuration. Expose those registers so that drivers can make use of the smc syscon declared in at91 DTs. Signed-off-by: Boris Brezillon Acked-by: Lee Jones --- include/linux/mfd/syscon/atmel-smc.h | 173 ++

[PATCH v5 00/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-03 Thread Boris Brezillon
The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device is assigned a CS line and an address range and can have its own configuration (timings, access mode, bus width, ...). This driver provides a g

[PATCH v5 04/11] mfd: syscon: Add Atmel SMC binding doc

2014-12-03 Thread Boris Brezillon
The SMC registers are used to configure Atmel EBI (External Bus Interface) to interface with standard memory devices (NAND, NOR, SRAM or specialized devices like FPGAs). Declare this memory region as a syscon, so that different drivers can configure the SMC interface (mostly timing configuration)

[PATCH v5 09/11] ARM: at91/dt: add matrix node in sama5d3 dtsi

2014-12-03 Thread Boris Brezillon
Add matrix node in sama5d3 dtsi so that it can be referenced by other devices. Signed-off-by: Boris Brezillon --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 9f1eed5..d49dab7 100644

[PATCH v5 05/11] memory: add Atmel EBI (External Bus Interface) driver

2014-12-03 Thread Boris Brezillon
The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device is assigned a CS line and an address range and can have its own configuration (timings, access mode, bus width, ...). This driver provides a g

[PATCH v5 07/11] ARM: at91: select ATMEL_EBI when compiling a kernel for at91sam9 or sama5d3

2014-12-03 Thread Boris Brezillon
at91sam9* and sama5d* SoCs have an EBI (External Bus Interface). Select the ATMEL_EBI driver when support for these SoCs is selected. Signed-off-by: Boris Brezillon --- .../bindings/memory-controllers/atmel-ebi.txt | 18 +- arch/arm/mach-at91/Kconfig

[PATCH v5 06/11] memory: atmel-ebi: add DT bindings documentation

2014-12-03 Thread Boris Brezillon
The EBI (External Bus Interface) is used to access external peripherals (NOR, SRAM, NAND, and other specific devices like ethernet controllers). Each device is assigned a CS line and an address range and can have its own configuration (timings, access mode, bus width, ...). This driver provides a g

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

2014-12-03 Thread Trond Myklebust
On Wed, Dec 3, 2014 at 3:21 PM, Jeff Layton wrote: > On Wed, 3 Dec 2014 14:59:43 -0500 > Trond Myklebust wrote: > >> On Wed, Dec 3, 2014 at 2:20 PM, Jeff Layton >> wrote: >> > On Wed, 3 Dec 2014 14:08:01 -0500 >> > Trond Myklebust wrote: >> >> Which workqueue are you using? Since the receive c

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Dave Jones
On Wed, Dec 03, 2014 at 09:37:10PM +0100, Thomas Gleixner wrote: > Right, that resulted in a delta > 0. I have no idea how we could > create a negative delta via wrapping the HPET around, i.e. HPET being > 96 seconds ahead of TSC. > > This looks more like a genuine TSC wreckage. So we have

[PATCH v5 10/11] ARM: at91/dt: add EBI (External Bus Interface) node in sama5d3 dtsi

2014-12-03 Thread Boris Brezillon
Add EBI node and EBI pin muxing. Signed-off-by: Boris Brezillon --- arch/arm/boot/dts/sama5d3.dtsi | 83 ++ 1 file changed, 83 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index d49dab7..d011ade 100644 --- a/a

[PATCH v5 08/11] ARM: at91/dt: add HSMC (Static Memory Controller) node in sama5d3 dtsi

2014-12-03 Thread Boris Brezillon
Add the SMC node in sama5d3 dtsi. Signed-off-by: Boris Brezillon --- arch/arm/boot/dts/sama5d3.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi index 5f4144d..9f1eed5 100644 --- a/arch/arm/boot/dts/sama5d3.dtsi +++ b/ar

[PATCH v5 11/11] ARM: at91/dt: add NOR definition in sama5d3xcm dtsi

2014-12-03 Thread Boris Brezillon
The sama5d3 evaluation kit embeds a NOR chip which is connected through the EBI. Define this NOR chip in the CPU module dtsi. Signed-off-by: Boris Brezillon --- arch/arm/boot/dts/sama5d3xcm.dtsi | 33 + 1 file changed, 33 insertions(+) diff --git a/arch/arm/boot/

[BUG] Possible locking issues in stop_machine code on 6k core machine

2014-12-03 Thread Alex Thorlton
Hey guys,

Re: audit: rcu_read_lock() used illegally while idle

2014-12-03 Thread Andy Lutomirski
On Wed, Dec 3, 2014 at 12:19 PM, Dave Jones wrote: > On Wed, Dec 03, 2014 at 12:06:56PM -0800, Andy Lutomirski wrote: > > > >> Did something in RCU change recently ? > > > > > > Not since -rc1, as far as I know, anyway. > > > > I have patches to delete this whole fscking sysret fast but not r

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Thomas Gleixner
On Wed, 3 Dec 2014, John Stultz wrote: > I'll look around for some other suspects though. The nohz ntp > improvments might be high on my list there, since it was a 3.17 item. > Will dig. Neither the clocksource watchdog nor the timestamp of the kernel watchdog are affected by NTP adjustments. Tha

pull request: wireless 2014-12-03

2014-12-03 Thread John W. Linville
Dave, One last(?) batch of fixes hoping to make 3.18... In this episode, we have another trio of rtlwifi fixes repairing a little more damage from the major update of the rtlwifi-family of drivers. These editing mistakes caused some memory corruption and missed a flag critical to proper interrup

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Linus Torvalds
On Wed, Dec 3, 2014 at 12:09 PM, Dave Jones wrote: > > fwiw, there's quite a bit of variance in the delta that seems to show up. Yeah, anything from 1 to 251 seconds. That's definitely "quite a bit of variance" Linus -- To unsubscribe from this list: send the line "unsubscribe li

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Thomas Gleixner
On Wed, 3 Dec 2014, John Stultz wrote: > On Wed, Dec 3, 2014 at 11:25 AM, Linus Torvalds > wrote: > > On Wed, Dec 3, 2014 at 11:00 AM, Dave Jones wrote: > >> > >> So right after sending my last mail, I rebooted, and restarted the run > >> on the same kernel again. > >> > >> As I was writing this

Re: [PATCH] optimize ktime_divns for constant divisors

2014-12-03 Thread Nicolas Pitre
On Wed, 3 Dec 2014, Robert Jarzmik wrote: > Nicolas Pitre writes: > > > Let ktime_divns() use do_div() inline whenever the divisor is constant > > and small enough. This will make things like ktime_to_us() and > > ktime_to_ms() much faster. > > Hi Nicolas, > > I suppose the "small enough" is

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

2014-12-03 Thread Konrad Rzeszutek Wilk
On Tue, Dec 02, 2014 at 06:11:50PM -0500, Boris Ostrovsky wrote: > 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

[PATCH] thunderbolt: Add missing blank lines after declarations

2014-12-03 Thread Jamie Lawler
Hi, I've attached a patch that fixes the lack of blank lines after 9 declarations within drivers/thunderbolt/ctl.c. ctl.c now passes checkpatch.pl Regards, Jamie Lawler Signed-off-by: Jamie Lawler --- drivers/thunderbolt/ctl.c | 9 + 1 file changed, 9 insertions(+) diff --git a/driver

Re: [PATCH v9 0/7] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-12-03 Thread Arnd Bergmann
On Wednesday 03 December 2014 16:03:32 Russell King - ARM Linux wrote: > On Fri, Nov 28, 2014 at 12:11:38PM +0100, Arnd Bergmann wrote: > > I'm fine with it either way. Russell, if you like you can merge > > http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung > > v3.19-next/pm-samsu

Re: [PATCH] ARM: pxa: fix lubbock interrupts handling

2014-12-03 Thread Robert Jarzmik
Haojian Zhuang writes: > > I think that it's a kind of irq muxing, just like lots of PMIC (power > management IC). > We should move the lubbock board irqs to a mfd driver, and register them as > threaded irqs. I will have a look. I didn't consider mfd for motherboard gates, I'll think of it, tha

[PULL REQUEST] i2c for 3.18

2014-12-03 Thread Wolfram Sang
Linus, i2c has a few driver bugfixes for 3.18. Please pull. Thanks, Wolfram The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ws

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

2014-12-03 Thread Jeff Layton
On Wed, 3 Dec 2014 14:59:43 -0500 Trond Myklebust wrote: > On Wed, Dec 3, 2014 at 2:20 PM, Jeff Layton > wrote: > > On Wed, 3 Dec 2014 14:08:01 -0500 > > Trond Myklebust wrote: > >> Which workqueue are you using? Since the receive code is non-blocking, > >> I'd expect you might be able to use

Re: audit: rcu_read_lock() used illegally while idle

2014-12-03 Thread Dave Jones
On Wed, Dec 03, 2014 at 12:06:56PM -0800, Andy Lutomirski wrote: > >> Did something in RCU change recently ? > > > > Not since -rc1, as far as I know, anyway. > > I have patches to delete this whole fscking sysret fast but not really > fast path. I'll resend them for 3.19. In the mean t

Re: iio: dht11 Updates

2014-12-03 Thread Richard Weinberger
Harald, Am 03.12.2014 um 13:18 schrieb Harald Geyer: > Hi Richard, > > thanks for all the work you put into this! > > Richard Weinberger writes: >> 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

Re: [PATCH 4/5] ASoC: dwc: Add devicetree support for Designware I2S

2014-12-03 Thread Mark Brown
On Wed, Dec 03, 2014 at 09:13:18PM +0100, Arnd Bergmann wrote: > I don't think we even have to worry about the platform_data case here: > the only platform using this hardware in Linux is arm/mach-spear, and > it defines a device node with a binding that is similar to the one you > document here b

Re: [PATCH] optimize ktime_divns for constant divisors

2014-12-03 Thread Robert Jarzmik
Nicolas Pitre writes: > Let ktime_divns() use do_div() inline whenever the divisor is constant > and small enough. This will make things like ktime_to_us() and > ktime_to_ms() much faster. Hi Nicolas, I suppose the "small enough" is linked to the "!(div >> 32)" in your patch. Can I have the

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

2014-12-03 Thread Hartmut Knaack
Richard Weinberger schrieb am 02.12.2014 um 19:12: > Oh, that's a very valuable information! Currently I'm evaluating some sensors > for a private project. You can recommend a better temp/humidity sensor? Si7013 and Si7021 look very promising to me, regarding accuracy. Both are supported by driv

Re: [PATCH 4/5] ASoC: dwc: Add devicetree support for Designware I2S

2014-12-03 Thread Arnd Bergmann
On Wednesday 03 December 2014 16:39:08 Andrew Jackson wrote: > Convert to driver to use either platform_data or device-tree for configuration > of the device. When using device-tree, the I2S block's configuration is read > from the relevant registers: this reduces the amount of information require

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Dave Jones
On Wed, Dec 03, 2014 at 02:59:58PM -0500, Chris Mason wrote: > > [ 503.692038] Switched to clocksource hpet > > [ 524.420897] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! > > [trinity-c178:20182] > > Neat. We often see switching to hpet on boxes as they are diving into > so

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Dave Jones
On Wed, Dec 03, 2014 at 11:48:55AM -0800, Linus Torvalds wrote: > On Wed, Dec 3, 2014 at 11:25 AM, Linus Torvalds > wrote: > > > > I don't know. This piece of code: > > > > delta = clocksource_delta(wdnow, cs->wd_last, watchdog->mask); > > > > makes no sense to me. > > Yeah, no,

[PATCH v4 4/5] crypto: AF_ALG: add random number generator support

2014-12-03 Thread Stephan Mueller
This patch adds the random number generator support for AF_ALG. A random number generator's purpose is to generate data without requiring the caller to provide any data. Therefore, the AF_ALG interface handler for RNGs only implements a callback handler for recvmsg. The following parameters provi

[PATCH v4 3/5] crypto: AF_ALG: enable AEAD interface compilation

2014-12-03 Thread Stephan Mueller
Enable compilation of the AEAD AF_ALG support and provide a Kconfig option to compile the AEAD AF_ALG support. Signed-off-by: Stephan Mueller --- crypto/Kconfig | 9 + crypto/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 87bbc9c..0

[PATCH v4 2/5] crypto: AF_ALG: add AEAD support

2014-12-03 Thread Stephan Mueller
This patch adds the AEAD support for AF_ALG. The implementation is based on algif_skcipher, but contains heavy modifications to streamline the interface for AEAD uses. To use AEAD, the user space consumer has to use the salg_type named "aead". The AEAD implementation includes some overhead to ca

[PATCH v4 5/5] crypto: AF_ALG: enable RNG interface compilation

2014-12-03 Thread Stephan Mueller
Enable compilation of the RNG AF_ALG support and provide a Kconfig option to compile the RNG AF_ALG support. Signed-off-by: Stephan Mueller --- crypto/Kconfig | 9 + crypto/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 0b2affc..8e9

[PATCH v4 1/5] crypto: AF_ALG: add user space interface for AEAD

2014-12-03 Thread Stephan Mueller
AEAD requires the caller to specify the following information separate from the data stream. This information allows the AEAD interface handler to identify the AAD, ciphertext/plaintext and the authentication tag: * Associated authentication data of arbitrary length and length

[PATCH v4 0/5] crypto: AF_ALG: add AEAD and RNG support

2014-12-03 Thread Stephan Mueller
Hi, This patch set adds AEAD and RNG support to the AF_ALG interface exported by the kernel crypto API. By extending AF_ALG with AEAD and RNG support, all cipher types the kernel crypto API allows access to are now accessible from userspace. Both, AEAD and RNG implementations are stand-alone and

Re: linux-next: manual merge of the driver-core tree with the net-next tree

2014-12-03 Thread Arend van Spriel
On 12/03/14 17:21, Greg KH wrote: On Wed, Dec 03, 2014 at 01:49:00PM +0100, Arend van Spriel wrote: On 12/03/14 11:51, Jeremiah Mahler wrote: On Wed, Dec 03, 2014 at 12:36:55AM -0800, Jeremiah Mahler wrote: all, On Mon, Dec 01, 2014 at 08:34:05AM +0100, Arend van Spriel wrote: On 01-12-14 08

Re: audit: rcu_read_lock() used illegally while idle

2014-12-03 Thread Andy Lutomirski
On 12/03/2014 11:29 AM, Paul E. McKenney wrote: > On Wed, Dec 03, 2014 at 01:19:22PM -0500, Dave Jones wrote: >> I'm not sure why this only just started complaining, because this code >> hasn't changed in years, but I don't recall seeing this before. >> This gets spewed during bootup since I put 3.

Re: [PATCH V3 2/2] i2c-designware: Add Intel Baytrail PMIC I2C bus support

2014-12-03 Thread Mika Westerberg
On Mon, Dec 01, 2014 at 04:09:33PM -0800, David E. Box wrote: > This patch implements an I2C bus sharing mechanism between the host and > platform > hardware on select Intel BayTrail SoC platforms using the X-Powers AXP288 > PMIC. > > On these platforms access to the PMIC must be shared with pla

Re: Question about patch "i2c: omap: resize fifos before each message"

2014-12-03 Thread Alexander Kochetkov
03 дек. 2014 г., в 22:38, Felipe Balbi написал(а): > then handle slave interrupts :-) But handle them so that it won't race > with a master transfer request. Moving omap_i2c_xfer() inside the IRQ > handler isn't the best way to do it, however. I do that with care :) Currently, only 'resize fif

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

2014-12-03 Thread Mark Brown
On Wed, Dec 03, 2014 at 11:38:13AM -0800, Sonny Rao wrote: > On Wed, Dec 3, 2014 at 11:20 AM, Mark Brown wrote: > > I would expect that the clock for the CODEC should be managed by the > > CODEC if at all possible - that seems more logical than having the CPU > > I2S controller request and manage

Re: [PATCH] optimize ktime_divns for constant divisors

2014-12-03 Thread Arnd Bergmann
On Wednesday 03 December 2014 14:43:06 Nicolas Pitre wrote: > At least on ARM, do_div() is optimized to turn constant divisors into > an inline multiplication by the reciprocal value at compile time. > However this optimization is missed entirely whenever ktime_divns() is > used and the slow out-o

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Chris Mason
On Wed, Dec 3, 2014 at 2:00 PM, Dave Jones wrote: On Wed, Dec 03, 2014 at 10:45:57AM -0800, Linus Torvalds wrote: > On Wed, Dec 3, 2014 at 10:41 AM, Dave Jones wrote: > > > > I've been stuck on this kernel for a few days now trying to prove it > > good/bad one way or the other, and I'm

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

2014-12-03 Thread Trond Myklebust
On Wed, Dec 3, 2014 at 2:20 PM, Jeff Layton wrote: > On Wed, 3 Dec 2014 14:08:01 -0500 > Trond Myklebust wrote: >> Which workqueue are you using? Since the receive code is non-blocking, >> I'd expect you might be able to use rpciod, for the initial socket >> reads, but you wouldn't want to use th

Re: [PATCH v2 2/7] ARM: Exynos: add support for sub-power domains

2014-12-03 Thread Kevin Hilman
Marek Szyprowski writes: > Hello, > > On 2014-12-03 13:36, Geert Uytterhoeven wrote: >> Hi Marek, >> >> On Wed, Dec 3, 2014 at 1:33 PM, Marek Szyprowski >> wrote: >>> diff --git a/Documentation/devicetree/bindings/arm/exynos/power_domain.txt >>> b/Documentation/devicetree/bindings/arm/exynos/po

Re: frequent lockups in 3.18rc4

2014-12-03 Thread John Stultz
On Wed, Dec 3, 2014 at 11:25 AM, Linus Torvalds wrote: > On Wed, Dec 3, 2014 at 11:00 AM, Dave Jones wrote: >> >> So right after sending my last mail, I rebooted, and restarted the run >> on the same kernel again. >> >> As I was writing this mail, this happened. >> >> [ 524.420897] NMI watchdog:

[PATCH v2 1/1] oom: don't assume that a coredumping thread will exit soon

2014-12-03 Thread Oleg Nesterov
oom_kill.c assumes that PF_EXITING task should exit and free the memory soon. This is wrong in many ways and one important case is the coredump. A task can sleep in exit_mm() "forever" while the coredumping sub-thread can need more memory. Change the PF_EXITING checks to take SIGNAL_GROUP_COREDUMP

[PATCH v2 0/1] oom: don't assume that a coredumping thread will exit soon

2014-12-03 Thread Oleg Nesterov
Andrew, This replaces oom-dont-assume-that-a-coredumping-thread-will-exit-soon.patch in -mm tree. The patch is basically the same, but as Michal pointed out mem_cgroup_out_of_memory() can use the new helper too, it can face the same problems. Also, I tried to update the changelog. Mic

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

2014-12-03 Thread Arnd Bergmann
On Wednesday 03 December 2014 03:02:24 Rafael J. Wysocki wrote: > 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

Re: [PATCH 3.12 000/101] 3.12.34-stable review

2014-12-03 Thread Guenter Roeck
On Wed, Dec 03, 2014 at 12:26:07PM +0100, Jiri Slaby wrote: > This is the start of the stable review cycle for the 3.12.34 release. > There are 101 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Linus Torvalds
On Wed, Dec 3, 2014 at 11:25 AM, Linus Torvalds wrote: > > I don't know. This piece of code: > > delta = clocksource_delta(wdnow, cs->wd_last, watchdog->mask); > > makes no sense to me. Yeah, no, I see what's up. I missed that whole wd_last vs cs_last pairing. I guess that part is all goo

Re: frequent lockups in 3.18rc4

2014-12-03 Thread Dave Jones
On Wed, Dec 03, 2014 at 11:25:29AM -0800, Linus Torvalds wrote: > On Wed, Dec 3, 2014 at 11:00 AM, Dave Jones wrote: > > > > So right after sending my last mail, I rebooted, and restarted the run > > on the same kernel again. > > > > As I was writing this mail, this happened. > > > > [ 52

Re: [PATCH v3 1/3] devicetree: of: Add bindings for chosen node, stdout-path

2014-12-03 Thread Frank Rowand
On 12/3/2014 7:12 AM, Grant Likely wrote: > On Wed, Dec 3, 2014 at 2:24 AM, Frank Rowand wrote: >> On 11/27/2014 9:56 AM, Leif Lindholm wrote: >>> Add a global binding for the chosen node. >>> Include a description of the stdout-path, and an explicit statement on >>> its extra options in the conte

Re: [PATCHv11 net-next 1/2] openvswitch: Refactor ovs_nla_fill_match().

2014-12-03 Thread Pravin Shelar
On Tue, Dec 2, 2014 at 6:56 PM, Joe Stringer wrote: > Refactor the ovs_nla_fill_match() function into separate netlink > serialization functions ovs_nla_put_{unmasked_key,masked_key,mask}(). > Modify ovs_nla_put_flow() to handle attribute nesting and expose the > 'is_mask' parameter - all callers

Re: Incorrect Key Values in the array atakbd_keycode in atakdb.c

2014-12-03 Thread Dmitry Torokhov
On Wed, Dec 03, 2014 at 08:12:39AM -0500, nick wrote: > No I don't. I am was wondering why they are there still if there is no reason > for them. > Cheers Nick I'd rather hear this statement from a person with the hardware (such as Geert for example). Thanks. > > On 2014-12-03 12:52 AM, Dmitr

Re: [PATCHv11 net-next 2/2] openvswitch: Add support for unique flow IDs.

2014-12-03 Thread Pravin Shelar
On Wed, Dec 3, 2014 at 10:47 AM, Joe Stringer wrote: > I forgot to mention that this is the first post based against net-next. > > On 2 December 2014 at 18:56, Joe Stringer wrote: >> >> diff --git a/net/openvswitch/flow.h b/net/openvswitch/flow.h >> index a8b30f3..7f31dbf 100644 >>

[PATCH] optimize ktime_divns for constant divisors

2014-12-03 Thread Nicolas Pitre
At least on ARM, do_div() is optimized to turn constant divisors into an inline multiplication by the reciprocal value at compile time. However this optimization is missed entirely whenever ktime_divns() is used and the slow out-of-line division code is used all the time. Let ktime_divns() use do

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