Re: [PATCH -v3 5/5] oom, PM: make OOM detection in the freezer path raceless

2015-01-12 Thread Michal Hocko
On Mon 12-01-15 12:22:51, Tejun Heo wrote: > On Mon, Jan 12, 2015 at 05:10:11PM +0100, Michal Hocko wrote: > > Yes I had it this way but it didn't work out because thaw_kernel_threads > > is not called on the resume because it is only used as a fail > > path when kernel threads freezing fails. I

Re: [PATCH 2/3] x_tables: Use also dev->ifalias for interface matching

2015-01-12 Thread Patrick McHardy
On 12.01, Patrick Schaaf wrote: > On Monday 12 January 2015 08:51:54 Eric Dumazet wrote: > > On Mon, 2015-01-12 at 17:39 +0100, Patrick Schaaf wrote: > > > > > > Not to comment on the ifalias thing, which I think is unneccessary, > > > too, but matching on interface names instead of only ifindex,

Re: Query: ARM64: Behavior of el1_dbg exception while executing el0_dbg

2015-01-12 Thread Will Deacon
On Fri, Jan 09, 2015 at 05:13:29PM +, Pratyush Anand wrote: > > > On Friday 09 January 2015 09:16 PM, Will Deacon wrote: > > On Thu, Jan 08, 2015 at 05:28:37PM +, Pratyush Anand wrote: > >> On Thursday 08 January 2015 09:53 PM, Will Deacon wrote: > >>> On Thu, Jan 08, 2015 at 01:15:58PM

[RFC] media: stb0899: use sign_extend8 instead of manual work

2015-01-12 Thread Martin Kepplinger
Example change, using new sign_extend functions. --- drivers/media/dvb-frontends/stb0899_algo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/stb0899_algo.c b/drivers/media/dvb-frontends/stb0899_algo.c index 93596e0..7bbcfde 100644 ---

Re: [PATCH 3/3] usb: dwc3: add a quirk for device disconnection issue in Synopsis dwc3 core

2015-01-12 Thread Paul Bolle
On Mon, 2015-01-12 at 11:20 -0600, Felipe Balbi wrote: > On Sun, Jan 11, 2015 at 11:19:55PM +0800, Sneeker Yeh wrote: > > in case i express unclearly i also put a pdf: > > https://drive.google.com/file/d/0B18MmcvvKjNNbDF6eEdHSzZCazA/view > > > > This issue is defined by a two-way race at

[RFC] input: gtco: use bitops' sign_extend8

2015-01-12 Thread Martin Kepplinger
Example change, using new sign_extend functions. --- drivers/input/tablet/gtco.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index 8580456..25b3834 100644 --- a/drivers/input/tablet/gtco.c +++

Re: [PATCH v3 3/8] watchdog: at91rm9200: use the regmap from mfd

2015-01-12 Thread Guenter Roeck
On Mon, Jan 12, 2015 at 04:36:58PM +0100, Alexandre Belloni wrote: > The system timer MFD driver is providing a regmap. Use it to access the > registers. > > Signed-off-by: Alexandre Belloni > Acked-by: Boris Brezillon Reviewed-by: Guenter Roeck > --- > drivers/watchdog/Kconfig |

[RFC] rtc: use sign_extend8 instead of manual conversion

2015-01-12 Thread Martin Kepplinger
Example change, using new sign_extend functions. --- drivers/rtc/rtc-x1205.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-x1205.c b/drivers/rtc/rtc-x1205.c index b1de58e..3ec0b95 100644 --- a/drivers/rtc/rtc-x1205.c +++ b/drivers/rtc/rtc-x1205.c @@ -22,6

[RFC] hwmon: jc42: use bitops' sign_extend16

2015-01-12 Thread Martin Kepplinger
Example change, using new sign_extend functions. --- drivers/hwmon/jc42.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon/jc42.c index 388f8bc..d0582a3 100644 --- a/drivers/hwmon/jc42.c +++ b/drivers/hwmon/jc42.c @@ -31,6 +31,7 @@

Re: [PATCH 3.16.y-ckt 030/168] drm/i915: Handle failure to kick out a conflicting fb driver

2015-01-12 Thread Ben Hutchings
On Mon, 2015-01-12 at 18:20 +0100, Daniel Vetter wrote: > On Sun, Jan 11, 2015 at 10:49 PM, Ben Hutchings wrote: > > On Mon, 2014-12-15 at 14:24 +, Luis Henriques wrote: > >> 3.16.7-ckt3 -stable review patch. If anyone has any objections, please > >> let me know. > >> > >>

Re: [PATCH] arm64: allow late use of early_ioremap

2015-01-12 Thread Will Deacon
On Mon, Jan 12, 2015 at 04:55:11PM +, Mark Salter wrote: > Commit 0e63ea48b4d8 (arm64/efi: add missing call to early_ioremap_reset()) > added a missing call to early_ioremap_reset(). This triggers a BUG if code > tries using early_ioremap() after the early_ioremap_reset(). This is a > problem

Re: randconfig build error with next-20150112, in drivers/hwmon/gpio-fan.c

2015-01-12 Thread Guenter Roeck
On Mon, Jan 12, 2015 at 09:53:05AM -0700, Jim Davis wrote: > Building with the attached random configuration file, > > drivers/built-in.o: In function `gpio_fan_remove': > gpio-fan.c:(.text+0x6efea): undefined reference to > `thermal_cooling_device_unregister' > drivers/built-in.o: In function

[PATCH v2] bitops.h: add sign_extend8(), 16 and 64 functions

2015-01-12 Thread Martin Kepplinger
This adds helper functions for sign-extending signed values of any lower (hardware-)given size to s8, s16 or s64 respectively, just like sign_extend32() for s32. Signed-off-by: Martin Kepplinger Suggested-by: Christoph Muellner --- include/linux/bitops.h | 33 +

Re: [PATCH -v3 5/5] oom, PM: make OOM detection in the freezer path raceless

2015-01-12 Thread Tejun Heo
On Mon, Jan 12, 2015 at 05:10:11PM +0100, Michal Hocko wrote: > Yes I had it this way but it didn't work out because thaw_kernel_threads > is not called on the resume because it is only used as a fail > path when kernel threads freezing fails. I would rather keep the Ooh, that's kinda asymmetric.

Re: SATA link power management issues

2015-01-12 Thread Suman Tripathi
Can you dump the ata_id parameters(LPM section) from the drive and we can check the related LPM parameters of the drive ? On Mon, Jan 12, 2015 at 10:42 PM, Suman Tripathi wrote: > Hi, > > I'm having some problems with the link_power_management_policy on my > Dell XPS13 9333. > Changing policy

Re: [PATCH 3/3] usb: dwc3: add a quirk for device disconnection issue in Synopsis dwc3 core

2015-01-12 Thread Felipe Balbi
Hi, On Sun, Jan 11, 2015 at 11:19:55PM +0800, Sneeker Yeh wrote: > > > > enable the quirk only for you. Isn't there a better way of enabling the > > > > quirk based off of revision detection couple with a look on GHWPARAMS* > > > > registers ? > > > > > > > > What's tricking me is this claim that

Re: [PATCH 3.16.y-ckt 030/168] drm/i915: Handle failure to kick out a conflicting fb driver

2015-01-12 Thread Daniel Vetter
On Sun, Jan 11, 2015 at 10:49 PM, Ben Hutchings wrote: > On Mon, 2014-12-15 at 14:24 +, Luis Henriques wrote: >> 3.16.7-ckt3 -stable review patch. If anyone has any objections, please let >> me know. >> >> -- >> >> From: Chris Wilson >> >> commit

Re: [PATCH 2/3] x_tables: Use also dev->ifalias for interface matching

2015-01-12 Thread Patrick Schaaf
On Monday 12 January 2015 08:51:54 Eric Dumazet wrote: > On Mon, 2015-01-12 at 17:39 +0100, Patrick Schaaf wrote: > > > > Not to comment on the ifalias thing, which I think is unneccessary, > > too, but matching on interface names instead of only ifindex, is > > definitely needed, so that one can

Re: SATA link power management issues

2015-01-12 Thread Gabriele Mazzotta
On Monday 12 January 2015 12:07:34 Tejun Heo wrote: > Hello, Gabriele. > > On Mon, Jan 12, 2015 at 06:03:41PM +0100, Gabriele Mazzotta wrote: > > I tried it and got the same result: > > > > [ 451.077463] ahci :00:1f.2: port does not support device sleep > > [ 452.162451] ata3.00: exception

Re: [PATCH 1/5] mm/util: add kstrdup_const

2015-01-12 Thread Joe Perches
On Mon, 2015-01-12 at 10:18 +0100, Andrzej Hajda wrote: > The patch adds alternative version of kstrdup which returns pointer > to constant char array. The function checks if input string is in > persistent and read-only memory section, if yes it returns the input string, > otherwise it fallbacks

Re: [PATCH v9 1/4] drm/i2c: tda998x: Add DT support for audio

2015-01-12 Thread Jean-Francois Moine
On Mon, 12 Jan 2015 14:04:56 + Russell King - ARM Linux wrote: > On Mon, Jan 12, 2015 at 02:59:57PM +0100, Philipp Zabel wrote: > > Am Montag, den 12.01.2015, 12:25 + schrieb Russell King - ARM Linux: > > > It's not quite that simple, because the SPDIF AP pins are multiplexed > > > with

Re: [PATCH v8 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-12 Thread Peter Zijlstra
On Mon, Jan 12, 2015 at 06:37:36PM +0200, Alexander Shishkin wrote: > Peter Zijlstra writes: > > > Also, if its already enabled, should we not return ENODEV as well, no > > saying who or what programmed it, we should not be touching it. > > Or EBUSY? Sure, same end result I imagine, driver

Re: SATA link power management issues

2015-01-12 Thread Tejun Heo
Hello, Gabriele. On Mon, Jan 12, 2015 at 06:03:41PM +0100, Gabriele Mazzotta wrote: > I tried it and got the same result: > > [ 451.077463] ahci :00:1f.2: port does not support device sleep > [ 452.162451] ata3.00: exception Emask 0x10 SAct 0x400 SErr 0x5 action > 0xe frozen > [

Re: [PATCH/RFC v10 03/19] DT: leds: Add led-sources property

2015-01-12 Thread Mark Brown
On Mon, Jan 12, 2015 at 10:55:29AM -0600, Rob Herring wrote: > On Mon, Jan 12, 2015 at 10:10 AM, Jacek Anaszewski > > There are however devices that don't fall into this category, i.e. they > > have many outputs, that can be connected to a single LED or to many LEDs > > and the driver has to know

Re: SATA link power management issues

2015-01-12 Thread Gabriele Mazzotta
On Monday 12 January 2015 08:16:02 Tejun Heo wrote: > Hello, > > What you're experiencing looks like the ssd behaving badly after link > state transition. I wonder whether the right solution is plugging > PHYRDY IRQ for a while after LPM state change. Does the following > path make any

[PATCH] scripts/bloat-o-meter: include .rodata section comparison

2015-01-12 Thread Aristeu Rozanski
This patch adds section .rodata comparison in order to detect string constant changes. Cc: Josh Triplett Signed-off-by: Aristeu Rozanski diff --git a/scripts/bloat-o-meter b/scripts/bloat-o-meter index 23e78dc..cee812a 100755 --- a/scripts/bloat-o-meter +++ b/scripts/bloat-o-meter @@ -26,40

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-12 Thread Suzuki K. Poulose
On Fri, Jan 09, 2015 at 09:46:49PM +, Tejun Heo wrote: > On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: > > We have hit a hang on ARM64 defconfig, while running LTP tests on 3.19-rc3. > > We are > > in the process of a git bisect and will update the results as and > > when

[PATCH] arm64: allow late use of early_ioremap

2015-01-12 Thread Mark Salter
Commit 0e63ea48b4d8 (arm64/efi: add missing call to early_ioremap_reset()) added a missing call to early_ioremap_reset(). This triggers a BUG if code tries using early_ioremap() after the early_ioremap_reset(). This is a problem for some ACPI code which needs short-lived temporary mappings after

Re: [PATCH/RFC v10 03/19] DT: leds: Add led-sources property

2015-01-12 Thread Rob Herring
Adding Mark B and Liam... On Mon, Jan 12, 2015 at 10:10 AM, Jacek Anaszewski wrote: > On 01/12/2015 02:52 PM, Rob Herring wrote: >> >> On Mon, Jan 12, 2015 at 2:32 AM, Jacek Anaszewski >> wrote: >>> On 01/09/2015 07:33 PM, Rob Herring wrote: On Fri, Jan 9, 2015 at 9:22 AM, Jacek Anaszewski

Re: [PATCH v5 4/5] KVM: irqfd: use kvm_arch_is_virtual_intc_initialized

2015-01-12 Thread Christoffer Dall
On Mon, Jan 12, 2015 at 02:40:03PM +0100, Eric Auger wrote: > On 01/11/2015 10:17 PM, Christoffer Dall wrote: > > On Wed, Dec 03, 2014 at 05:07:11PM +0100, Eric Auger wrote: > >> On arm/arm64, the interrupt controller is dynamically instantiated. > >> There is a risk the user-space assigns an

[PATCHv2] remove recently added perl build requirement

2015-01-12 Thread Rob Landley
From: Rob Landley Commit e6023367d779 ("x86, kaslr: Prevent .bss from overlaping initrd") added perl back to the kernel build dependencies in -rc6. Replace those 39 lines of perl with 4 lines of shell script. Signed-off-by: Rob Landley Acked-by: Anca Emanuel ---

[PATCH v2] Staging: vt6656: Checkpatch fix: else after break or return

2015-01-12 Thread Emrys Bayliss
This patch fixes the following checkpatch.pl error: rxtx.c:588: WARNING: else is not generally useful after a break or return Signed-off-by: Emrys Bayliss --- drivers/staging/vt6656/rxtx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/vt6656/rxtx.c

randconfig build error with next-20150112, in drivers/hwmon/gpio-fan.c

2015-01-12 Thread Jim Davis
Building with the attached random configuration file, drivers/built-in.o: In function `gpio_fan_remove': gpio-fan.c:(.text+0x6efea): undefined reference to `thermal_cooling_device_unregister' drivers/built-in.o: In function `gpio_fan_probe': gpio-fan.c:(.text+0x6f376): undefined reference to

Re: [GIT PULL] at91: fixes for 3.19 #1 (bis)

2015-01-12 Thread Nicolas Ferre
Le 12/01/2015 16:59, Arnd Bergmann a écrit : > On Monday 12 January 2015 16:08:14 Nicolas Ferre wrote: >> Le 11/01/2015 22:12, Olof Johansson a écrit : >>> On Fri, Jan 09, 2015 at 10:02:50AM +0100, Nicolas Ferre wrote: Le 08/01/2015 23:41, Olof Johansson a écrit : > On Mon, Jan 05, 2015

Re: [PATCH 2/3] x_tables: Use also dev->ifalias for interface matching

2015-01-12 Thread Eric Dumazet
On Mon, 2015-01-12 at 17:39 +0100, Patrick Schaaf wrote: > > iptables should have used ifindex, its sad we allowed the substring > > > match in first place. > > > > Not to comment on the ifalias thing, which I think is unneccessary, > too, but matching on interface names instead of only

[PATCH v3] Drivers: hv: vmbus: prevent cpu offlining on newer hypervisors

2015-01-12 Thread Vitaly Kuznetsov
When an SMP Hyper-V guest is running on top of 2012R2 Server and secondary cpus are sent offline (with echo 0 > /sys/devices/system/cpu/cpu$cpu/online) the system freeze is observed. This happens due to the fact that on newer hypervisors (Win8, WS2012R2, ...) vmbus channel handlers are distributed

Re: [PATCH 4/4] PCI: quirk Atheros AR93xx to avoid bus reset

2015-01-12 Thread Alex Williamson
On Mon, 2015-01-12 at 16:20 +0100, Andreas Hartmann wrote: > Alex Williamson wrote: > > On Thu, 2015-01-08 at 09:07 -0700, Bjorn Helgaas wrote: > >> On Fri, Nov 21, 2014 at 11:24:27AM -0700, Alex Williamson wrote: > >>> Reports against the TL-WDN4800 card indicate that PCI bus reset of > >>> this

Re: [PATCHSET 0/7] perf diff: Fix and improve output ordering (v2)

2015-01-12 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 08, 2015 at 09:45:41AM +0900, Namhyung Kim escreveu: > Hello, > > This patchset improves perf diff output to sort by baseline and then > next columns in turn. And fix -o/--order option behavior too. > > * changes in v2) > - pass fmt arg to ->cmp, ->collapse, ->sort callbacks

Re: [PATCH v8 02/10] iommu/vt-d: Items required for kdump

2015-01-12 Thread Joerg Roedel
On Mon, Jan 12, 2015 at 11:15:38AM -0500, Vivek Goyal wrote: > On Mon, Jan 12, 2015 at 05:06:46PM +0100, Joerg Roedel wrote: > > On Mon, Jan 12, 2015 at 10:29:19AM -0500, Vivek Goyal wrote: > > > Kdump has the notion of backup region. Where certain parts of old kernels > > > memory can be moved to

Re: [PATCH 5/7] perf tools: Pass struct perf_hpp_fmt to its callbacks

2015-01-12 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 12, 2015 at 01:27:36PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Jan 12, 2015 at 01:21:40PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Thu, Jan 08, 2015 at 09:45:46AM +0900, Namhyung Kim escreveu: > > > Currently ->cmp, ->collapse and ->sort callbacks doesn't pass > > >

Re: [PATCH 2/3] x_tables: Use also dev->ifalias for interface matching

2015-01-12 Thread Eric Dumazet
On Mon, 2015-01-12 at 17:32 +0100, Jan Engelhardt wrote: > On Monday 2015-01-12 17:04, Eric Dumazet wrote: > > > >iptables should have used ifindex [for interface matching], > >it[']s sad we allowed the substring match in first place. > > How would you solve interface name wildcards with

Re: [RFC][PATCH] PCI / PM: Avoid resuming PCI devices during system suspend

2015-01-12 Thread Alan Stern
On Mon, 12 Jan 2015, Rafael J. Wysocki wrote: > On Thursday, January 08, 2015 10:51:06 AM Alan Stern wrote: > > On Thu, 8 Jan 2015, Rafael J. Wysocki wrote: > > > > > From: Rafael J. Wysocki > > > > > > Commit f25c0ae2b4c4 (ACPI / PM: Avoid resuming devices in ACPI PM > > > domain during

Re: [PATCH resend 2/2] [RFC] genirq: Set IRQCHIP_SKIP_SET_WAKE for no_irq_chip and dummy_irq_chip

2015-01-12 Thread santosh shilimkar
On 1/12/2015 8:04 AM, Geert Uytterhoeven wrote: If no_irq_chip or dummy_irq_chip are used for wake up (e.g. gpio-keys with a simple GPIO controller), the following warning is printed on resume from s2ram: WANING: CPU: 0 PID: 1046 at kernel/irq/manage.c:537 irq_set_irq_wake+0x9c/0xf8()

Re: [Patch v5 2/2] gpio: Document GPIO hogging mechanism

2015-01-12 Thread Benoit Parrot
Linus Walleij wrote on Mon [2015-Jan-12 11:20:14 +0100]: > On Fri, Dec 19, 2014 at 9:07 PM, Benoit Parrot wrote: > > > Add GPIO hogging documentation to gpio.txt > > > > Signed-off-by: Benoit Parrot > > Reviewed-by: Alexandre Courbot > > This is starting to look good ... > > > +

Re: [PATCH 5/7] perf tools: Pass struct perf_hpp_fmt to its callbacks

2015-01-12 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 12, 2015 at 05:40:50PM +0100, Jiri Olsa escreveu: > On Mon, Jan 12, 2015 at 01:27:36PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jan 12, 2015 at 01:21:40PM -0300, Arnaldo Carvalho de Melo escreveu: > > > Em Thu, Jan 08, 2015 at 09:45:46AM +0900, Namhyung Kim escreveu: > > > >

Re: [PATCH 5/7] perf tools: Pass struct perf_hpp_fmt to its callbacks

2015-01-12 Thread Jiri Olsa
On Mon, Jan 12, 2015 at 01:27:36PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jan 12, 2015 at 01:21:40PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Thu, Jan 08, 2015 at 09:45:46AM +0900, Namhyung Kim escreveu: > > > Currently ->cmp, ->collapse and ->sort callbacks doesn't pass > > >

[PATCH] staging: octeon: Fix checkpatch line spacing warnings

2015-01-12 Thread Tero Marttila
Fix missing blank lines after declarations in octeon/ethernet-rx.c Signed-off-by: Tero Marttila --- drivers/staging/octeon/ethernet-rx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index fcbe836..22667db

Re: [PATCH v8 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-12 Thread Alexander Shishkin
Peter Zijlstra writes: > Also, if its already enabled, should we not return ENODEV as well, no > saying who or what programmed it, we should not be touching it. Or EBUSY? Regards, -- Alex -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2 5/5] mm/compaction: add tracepoint to observe behaviour of compaction defer

2015-01-12 Thread Vlastimil Babka
On 01/12/2015 09:21 AM, Joonsoo Kim wrote: > compaction deferring logic is heavy hammer that block the way to > the compaction. It doesn't consider overall system state, so it > could prevent user from doing compaction falsely. In other words, > even if system has enough range of memory to

Re: [PATCH 2/3] x_tables: Use also dev->ifalias for interface matching

2015-01-12 Thread Jan Engelhardt
On Monday 2015-01-12 17:04, Eric Dumazet wrote: > >iptables should have used ifindex [for interface matching], >it[']s sad we allowed the substring match in first place. How would you solve interface name wildcards with ifindices? (They come in handy if you have something like lots of tun+/veth+

[PATCH] staging: android: Fixing checkpatch.pl warning

2015-01-12 Thread Moritz Fischer
This patch fixes a linewidth issue. Based on 3.19-rc4. Moritz Fischer (1): staging: android: Fixed checkpatch.pl warning drivers/staging/android/sync_debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] staging: android: Fixed checkpatch.pl warning

2015-01-12 Thread Moritz Fischer
The file triggered the following warning: WARNING: line over 80 characters Signed-off-by: Moritz Fischer --- drivers/staging/android/sync_debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_debug.c

Re: [PATCH 5/7] perf tools: Pass struct perf_hpp_fmt to its callbacks

2015-01-12 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 12, 2015 at 01:21:40PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Thu, Jan 08, 2015 at 09:45:46AM +0900, Namhyung Kim escreveu: > > Currently ->cmp, ->collapse and ->sort callbacks doesn't pass > > corresponding fmt. But it'll be needed by upcoming changes in > > perf diff

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-12 Thread Mark Brown
On Mon, Jan 12, 2015 at 10:05:49AM -0600, Rob Herring wrote: > On Sun, Jan 11, 2015 at 10:29 AM, atull wrote: > > Previous uses of the firmware layer has been to use it to load once after > > bootup; this is different since some use cases will want to switch out > > the FPGA image. If someone

Re: linux-next: Tree for Jan 12 (build failures: m68k, ppc)

2015-01-12 Thread Geert Uytterhoeven
On Mon, Jan 12, 2015 at 5:24 PM, Guenter Roeck wrote: > On Mon, Jan 12, 2015 at 06:03:22PM +1100, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20150109: >> >> The usb-gadget-fixes tree gained a conflict against the usb.current tree. >> >> The net-next tree gained a build failure for

Re: [PATCH v5 6/8] arm64/efi: move SetVirtualAddressMap() to UEFI stub

2015-01-12 Thread Matt Fleming
On Mon, 12 Jan, at 04:09:24PM, Ard Biesheuvel wrote: > > Cheers Matt > > It appears this series is converging in time for 3.20, but this patch > still lacks acked/reviewed-bys > > Are you ok with the remainder of the patch as well? In that case, may > I have your ack so the series can be merged

Re: linux-next: Tree for Jan 12 (build failures: m68k, ppc)

2015-01-12 Thread Guenter Roeck
On Mon, Jan 12, 2015 at 06:03:22PM +1100, Stephen Rothwell wrote: > Hi all, > > Changes since 20150109: > > The usb-gadget-fixes tree gained a conflict against the usb.current tree. > > The net-next tree gained a build failure for which I reverted a commit. > > The pinctrl tree gained a build

Re: [PATCH] brcmfmac: avoid duplicated suspend/resume operation

2015-01-12 Thread Arend van Spriel
On 01/12/15 15:06, Sergei Shtylyov wrote: Hello. On 1/12/2015 9:41 AM, Fu, Zhonghui wrote: From 8685c3c2746b4275fc808d9db23c364b2f54b52a Mon Sep 17 00:00:00 2001 From: Zhonghui Fu Date: Mon, 12 Jan 2015 14:25:46 +0800 Subject: [PATCH] brcmfmac: avoid duplicated suspend/resume operation The

Re: [RFC 1/4] lockdep: additional lock specific information when dumping locks

2015-01-12 Thread Peter Zijlstra
On Mon, Jan 12, 2015 at 11:06:17AM -0500, Sasha Levin wrote: > On 01/12/2015 10:37 AM, Peter Zijlstra wrote: > > On Mon, Jan 12, 2015 at 10:12:38AM -0500, Sasha Levin wrote: > >> The reason for my patch is simple: > > > > That might have maybe been good changelog material? > > > >> I'm fuzzing

Re: [PATCH 5/7] perf tools: Pass struct perf_hpp_fmt to its callbacks

2015-01-12 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 08, 2015 at 09:45:46AM +0900, Namhyung Kim escreveu: > Currently ->cmp, ->collapse and ->sort callbacks doesn't pass > corresponding fmt. But it'll be needed by upcoming changes in > perf diff command. > > Suggested-by: Jiri Olsa CC /tmp/build/perf/builtin-evlist.o

[PATCH] pinctrl: lantiq: remove bogus of_gpio_chip_add

2015-01-12 Thread Johan Hovold
Remove bogus call to of_gpiochip_add (and of_gpio_chip remove in error path) which is also called when adding the gpio chip. This prevents adding the same pinctrl range twice. Fixes: 3f8c50c9b110 ("OF: pinctrl: MIPS: lantiq: implement lantiq/xway pinctrl support") Signed-off-by: Johan Hovold

Possible bug in initramfs RAM handling

2015-01-12 Thread Tobias Powalowski
Hi, I have a weird bug here with initramfs, I have big initramfs files around 150MB zipped, 400MB extracted. I suppose the needed RAM to boot this setup should be around: 150MB zipped initramfs+ 400MB extracted initramfs + 5MB kernel image. Our distro kernel has tmpfs support, booting this setup

[PATCH] lowmemorykiller: Avoid excessive/redundant calling of LMK

2015-01-12 Thread Chintan Pandya
The global shrinker will invoke lowmem_shrink in a loop. The loop will be run (total_scan_pages/batch_size) times. The default batch_size will be 128 which will make shrinker invoking 100s of times. LMK does meaningful work only during first 2-3 times and then rest of the invocations are just CPU

Re: [PATCH] out out damn perl

2015-01-12 Thread Richard Weinberger
Am 12.01.2015 um 17:14 schrieb Rob Landley: > On 01/12/2015 09:27 AM, Richard Weinberger wrote: >> On Mon, Jan 12, 2015 at 4:16 PM, Lennart Sorensen >> wrote: >>> On Tue, Jan 06, 2015 at 05:41:35PM -0600, Rob Landley wrote: From: Rob Landley Commit e6023367d779 added perl back to

[PATCH 4/6] gpio: fix memory leak and sleep-while-atomic

2015-01-12 Thread Johan Hovold
Fix memory leak and sleep-while-atomic in gpiochip_remove. The memory leak was introduced by afa82fab5e13 ("gpio / ACPI: Move event handling registration to gpiolib irqchip helpers") that moved the release of acpi interrupt resources to gpiochip_irqchip_remove, but by then the resources are no

Re: [PATCH] gpu:drm:Change calls to mdelay to msleep in the functions,send_pkg_prepare and send_pkg_done for the file,mdfld_dsi_pkg_sender.c

2015-01-12 Thread Alan Cox
On Mon, 2015-01-12 at 17:12 +0100, Thierry Reding wrote: > On Mon, Jan 12, 2015 at 01:29:27PM +, Alan Cox wrote: > > On Sat, 2015-01-10 at 23:31 -0500, Nicholas Krause wrote: > > > Changes various calls in the functions,send_pkg_prepare and send_pkg_done > > > for mdelay to msleep. These

Re: [PATCH v8 02/10] iommu/vt-d: Items required for kdump

2015-01-12 Thread Vivek Goyal
On Mon, Jan 12, 2015 at 05:06:46PM +0100, Joerg Roedel wrote: > On Mon, Jan 12, 2015 at 10:29:19AM -0500, Vivek Goyal wrote: > > Kdump has the notion of backup region. Where certain parts of old kernels > > memory can be moved to a different location (first 640K on x86 as of now) > > and new

Re: [PATCH] lowmemorykiller: Avoid excessive/redundant calling of LMK

2015-01-12 Thread Chintan Pandya
Please ignore this patch. My extreme bad that I merged commit messages applicable to some very old kernel into this patch. Updating shortly. On 01/12/2015 09:38 PM, Chintan Pandya wrote: The global shrinker will invoke lowmem_shrink in a loop. The loop will be run (total_scan_pages/batch_size)

Re: linux-next: manual merge of the usb-gadget-fixes tree with the usb.current tree

2015-01-12 Thread Thierry Reding
On Mon, Jan 12, 2015 at 11:13:39AM +1100, Stephen Rothwell wrote: > * PGP Signed by an unknown key > > Hi Felipe, > > Today's linux-next merge of the usb-gadget-fixes tree got a conflict in > drivers/usb/phy/phy.c between commit 9c9d82492b73 ("usb: phy: Fix > deferred probing") from the

[PATCH 6/6] gpio: unregister gpiochip device before removing it

2015-01-12 Thread Johan Hovold
Unregister gpiochip device (used to export information through sysfs) before removing it internally. This way removal will reverse addition. Signed-off-by: Johan Hovold --- drivers/gpio/gpiolib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib.c

Re: [PATCH] out out damn perl

2015-01-12 Thread Rob Landley
On 01/12/2015 09:27 AM, Richard Weinberger wrote: > On Mon, Jan 12, 2015 at 4:16 PM, Lennart Sorensen > wrote: >> On Tue, Jan 06, 2015 at 05:41:35PM -0600, Rob Landley wrote: >>> From: Rob Landley >>> >>> Commit e6023367d779 added perl back to the kernel build in -rc6. >>> Replace 39 lines of

Re: [PATCH RESEND] PM / sleep: Fix racing timers

2015-01-12 Thread Lorenzo Pieralisi
On Mon, Jan 12, 2015 at 03:55:05PM +, Sören Brinkmann wrote: > On Mon, 2015-01-12 at 03:43PM +, Lorenzo Pieralisi wrote: > > Hi Rafael, Soren, > > > > On Sun, Jan 11, 2015 at 11:20:36PM +, Rafael J. Wysocki wrote: > > > On Friday, January 09, 2015 01:50:59 PM Sören Brinkmann wrote: > >

[PATCH 3/6] gpio: clean up gpiochip_add error handling

2015-01-12 Thread Johan Hovold
Clean up gpiochip_add error handling. Signed-off-by: Johan Hovold --- drivers/gpio/gpiolib.c | 38 +- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index ac5944b4e4d8..4efb92ca3463 100644 ---

[PATCHv2 0/2] mm: infrastructure for correctly handling foreign pages on Xen

2015-01-12 Thread David Vrabel
These two patches are the common parts of a larger Xen series[1] fixing several long-standing bugs the handling of foreign[2] pages in Xen guests. The first patch is required to fix get_user_pages[_fast]() with userspace space mappings of such foreign pages. Basically, pte_page() doesn't work so

[PATCH 0/6] gpio: fix gpio_chip add and remove

2015-01-12 Thread Johan Hovold
This series fix a few issues with gpiochip_add and gpiochip_remove. The gpio-chip removal paths have probably not been exercised much, and there are further issues here that I'm working on fixing in order better support hot-plugging of gpio chips. I believe these patches should go into 3.19

[PATCH 2/6] gpio: fix gpio-chip list corruption

2015-01-12 Thread Johan Hovold
Fix potential corruption of gpio-chip list due to failure to remove the chip from the list before returning in gpiochip_add error path. The chip could be long gone when the global list is next traversed, something which could lead to a null-pointer dereference. In the best case (chip not

Re: [PATCH] gpu:drm:Change calls to mdelay to msleep in the functions,send_pkg_prepare and send_pkg_done for the file,mdfld_dsi_pkg_sender.c

2015-01-12 Thread Thierry Reding
On Mon, Jan 12, 2015 at 01:29:27PM +, Alan Cox wrote: > On Sat, 2015-01-10 at 23:31 -0500, Nicholas Krause wrote: > > Changes various calls in the functions,send_pkg_prepare and send_pkg_done > > for mdelay to msleep. These changes are needed due to use working with > > various sleep modes

[PATCH 1/6] gpio: fix memory and reference leaks in gpiochip_add error path

2015-01-12 Thread Johan Hovold
Memory allocated and references taken by of_gpiochip_add and acpi_gpiochip_add were never released on errors in gpiochip_add (e.g. failure to find free gpio range). Fixes: 391c970c0dd1 ("of/gpio: add default of_xlate function if device has a node pointer") Fixes: 664e3e5ac64c ("gpio / ACPI:

Re: [PATCH 2/3] x_tables: Use also dev->ifalias for interface matching

2015-01-12 Thread Richard Weinberger
Am 12.01.2015 um 17:04 schrieb Eric Dumazet: > On Sun, 2015-01-11 at 21:52 +0100, Richard Weinberger wrote: >> Signed-off-by: Richard Weinberger >> --- >> include/linux/netfilter/x_tables.h | 22 ++ >> net/ipv4/netfilter/arp_tables.c| 28 +--- >>

[PATCH 5/6] gpio: fix sleep-while-atomic in gpiochip_remove

2015-01-12 Thread Johan Hovold
Move direct and indirect calls to gpiochip_remove_pin_ranges outside of spin lock as they can end up taking a mutex in pinctrl_remove_gpio_range. Note that the pin ranges are already added outside of the lock. Fixes: 9ef0d6f7628b ("gpiolib: call pin removal in chip removal function") Fixes:

Re: [PATCH] iio: Simplify IIO provider access locking mechanism

2015-01-12 Thread Lars-Peter Clausen
On 01/12/2015 02:54 PM, Ivan T. Ivanov wrote: On Fri, 2015-01-09 at 17:16 +0100, Lars-Peter Clausen wrote: On 01/09/2015 05:14 PM, Ivan T. Ivanov wrote: On Fri, 2015-01-09 at 16:54 +0100, Lars-Peter Clausen wrote: On 01/09/2015 04:50 PM, Ivan T. Ivanov wrote: On Fri, 2015-01-09 at 16:41

[PATCH 2/2] mm: add 'foreign' alias for the 'pinned' page flag

2015-01-12 Thread David Vrabel
From: Jenny Herbert The foreign page flag will be used by Xen guests to mark pages that have grant mappings of frames from other (foreign) guests. The foreign flag is an alias for the existing (Xen-specific) pinned flag. This is safe because pinned is only used on pages used for page tables

[PATCH 1/2] mm: provide a find_page vma operation

2015-01-12 Thread David Vrabel
The optional find_page VMA operation is used to lookup the pages backing a VMA. This is useful in cases where the normal mechanisms for finding the page don't work. This is only called if the PTE is special. One use case is a Xen PV guest mapping foreign pages into userspace. In a Xen PV

[PATCH v2 0/1] moving from pci to dma

2015-01-12 Thread Quentin Lambert
The second version of this patch fix a mistake in the numbering of the mails. The following paragraphs are the original cover letter of this patch. This patch replaces the references to the deprecated pci api with the corresponding dma api. To ensure that it was possible to access the dev field

[PATCH resend 2/2] [RFC] genirq: Set IRQCHIP_SKIP_SET_WAKE for no_irq_chip and dummy_irq_chip

2015-01-12 Thread Geert Uytterhoeven
If no_irq_chip or dummy_irq_chip are used for wake up (e.g. gpio-keys with a simple GPIO controller), the following warning is printed on resume from s2ram: WANING: CPU: 0 PID: 1046 at kernel/irq/manage.c:537 irq_set_irq_wake+0x9c/0xf8() Unbalanced IRQ 113 wake disable This happens

Re: [PATCH -v3 5/5] oom, PM: make OOM detection in the freezer path raceless

2015-01-12 Thread Michal Hocko
On Sat 10-01-15 14:43:22, Tejun Heo wrote: > On Fri, Jan 09, 2015 at 12:05:55PM +0100, Michal Hocko wrote: > ... > > @@ -142,7 +118,6 @@ static bool check_frozen_processes(void) > > int freeze_processes(void) > > { > > int error; > > - int oom_kills_saved; > > > > error =

[PATCH v2 1/1] atm: remove deprecated use of pci api

2015-01-12 Thread Quentin Lambert
Replace occurences of the pci api by appropriate call to the dma api. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @deprecated@ idexpression id; position p; @@ ( pci_dma_supported@p ( id, ...) | pci_alloc_consistent@p ( id,

Re: [PATCH/RFC v10 03/19] DT: leds: Add led-sources property

2015-01-12 Thread Jacek Anaszewski
On 01/12/2015 02:52 PM, Rob Herring wrote: On Mon, Jan 12, 2015 at 2:32 AM, Jacek Anaszewski wrote: On 01/09/2015 07:33 PM, Rob Herring wrote: On Fri, Jan 9, 2015 at 9:22 AM, Jacek Anaszewski wrote: Add a property for defining the device outputs the LED represented by the DT child node is

[PATCH] lowmemorykiller: Avoid excessive/redundant calling of LMK

2015-01-12 Thread Chintan Pandya
The global shrinker will invoke lowmem_shrink in a loop. The loop will be run (total_scan_pages/batch_size) times. The default batch_size will be 128 which will make shrinker invoking 100s of times. LMK does meaningful work only during first 2-3 times and then rest of the invocations are just CPU

Re: [PATCH v2 1/4] tty: serial: Add 8250 earlycon to support noinit option

2015-01-12 Thread Alan Cox
On Mon, 2015-01-12 at 16:35 +0100, Arnd Bergmann wrote: > On Monday 12 January 2015 21:08:21 Eddie Huang wrote: > > Add earlycon support not only baudrate option, but also add noinit option. > > If use noinit option, 8250 earlycon will not init serial hardware and use > > loader setting. > > > >

Re: [PATCH v5 6/8] arm64/efi: move SetVirtualAddressMap() to UEFI stub

2015-01-12 Thread Ard Biesheuvel
On 12 January 2015 at 11:46, Matt Fleming wrote: > On Thu, 08 Jan, at 06:48:32PM, Ard Biesheuvel wrote: >> @@ -46,4 +54,26 @@ extern void efi_idmap_init(void); >> >> #define EFI_ALLOC_ALIGN SZ_64K >> >> +/* >> + * On ARM systems, virtually remapped UEFI runtime services are set up

Re: [RFC 1/4] lockdep: additional lock specific information when dumping locks

2015-01-12 Thread Sasha Levin
On 01/12/2015 10:37 AM, Peter Zijlstra wrote: > On Mon, Jan 12, 2015 at 10:12:38AM -0500, Sasha Levin wrote: >> The reason for my patch is simple: > > That might have maybe been good changelog material? > >> I'm fuzzing with hundreds of worker threads >> which at some point trigger a complete

Re: [PATCHv10 man-pages 5/5] execveat.2: initial man page for execveat(2)

2015-01-12 Thread Rich Felker
On Mon, Jan 12, 2015 at 11:33:49AM +, David Drysdale wrote: > On Sat, Jan 10, 2015 at 1:33 AM, Rich Felker wrote: > > On Fri, Jan 09, 2015 at 07:17:41PM -0600, Eric W. Biederman wrote: > >> Rich Felker writes: > >> > >> > I'm not proposing code because I'm a libc developer not a kernel > >>

Re: [PATCH 4/5] sound: dmasound_atari: Remove obsolete IRQ_TYPE_SLOW

2015-01-12 Thread Takashi Iwai
At Mon, 12 Jan 2015 09:40:20 +0100, Geert Uytterhoeven wrote: > > IRQ_TYPE_SLOW is no longer used by the Atari platform interrupt code > since commit 734085651c9b80aa ("[PATCH] m68k: convert atari irq code") > in v2.6.18-rc1, so drop it. > > Note that its value has been reused for a different

Re: [PATCH v8 2/4] fpga manager: add sysfs interface document

2015-01-12 Thread Rob Herring
On Sun, Jan 11, 2015 at 10:29 AM, atull wrote: > On Sat, 10 Jan 2015, Pavel Machek wrote: > >> On Sat 2015-01-10 10:10:51, Pantelis Antoniou wrote: >> > Hi Pavel, >> > >> > > On Jan 9, 2015, at 22:56 , Pavel Machek wrote: >> > > >> > > On Fri 2015-01-09 13:14:24, atull wrote: >> > >> On Wed, 7

Re: [PATCH v8 02/10] iommu/vt-d: Items required for kdump

2015-01-12 Thread Joerg Roedel
On Mon, Jan 12, 2015 at 10:29:19AM -0500, Vivek Goyal wrote: > Kdump has the notion of backup region. Where certain parts of old kernels > memory can be moved to a different location (first 640K on x86 as of now) > and new kernel can make use of this memory now. > > So we will have to just make

[PATCH resend 1/2] gpio: pcf857x: Propagate wake-up setting to parent irq controller

2015-01-12 Thread Geert Uytterhoeven
The pcf857x GPIO and interrupt controller uses dummy_irq_chip, which does not implement irq_chip.irq_set_wake() and does not set IRQCHIP_SKIP_SET_WAKE. This causes two s2ram issues if wake-up is enabled for the pcf857x GPIO pins: 1. During resume from s2ram, the following warning is printed:

Re: [PATCH 2/3] x_tables: Use also dev->ifalias for interface matching

2015-01-12 Thread Eric Dumazet
On Sun, 2015-01-11 at 21:52 +0100, Richard Weinberger wrote: > Signed-off-by: Richard Weinberger > --- > include/linux/netfilter/x_tables.h | 22 ++ > net/ipv4/netfilter/arp_tables.c| 28 +--- > net/ipv4/netfilter/ip_tables.c | 15

[no subject]

2015-01-12 Thread Greg Young
unsubscribe -- 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 read the FAQ at http://www.tux.org/lkml/

[PATCH 2/2] firmware_loader: handle timeout via wait_for_completion_interruptible_timeout()

2015-01-12 Thread Ming Lei
It is simpler to handle timeout by wait_for_completion_interruptible_timeout(), so remove previous delay work for timeout. Signed-off-by: Ming Lei --- drivers/base/firmware_class.c | 30 ++ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git

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