Re: [PATCH 1/1] mfd: stmpe: Remove unnecessary semicolon

2014-02-04 Thread Lee Jones
> Semicolon is not necessary after the while statement. > > Signed-off-by: Sachin Kamat > --- > drivers/mfd/stmpe.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c > index 42ccd0544513..7145a89364fb 100644 > --- a/drivers/m

Re: [PATCH 2/5] CPU Jitter RNG: Enable compilation

2014-02-04 Thread Geert Uytterhoeven
On Tue, Feb 4, 2014 at 1:40 PM, Stephan Mueller wrote: > +CFLAGS_jitterentropy-base.o= -O0 Why? if really needed, this deserves a comment. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conver

Re: [alsa-devel] [PATCH v3 2/5] ASoC: tda998x: add a codec driver for the TDA998x

2014-02-04 Thread Lars-Peter Clausen
On 02/04/2014 02:30 PM, Mark Brown wrote: [...] What does this actually do? No information is being passed in to the core function here, not even any information on if it's starting or stopping. Looking at the rest of the code I can't help thinking it might be clearer to inline this possibly w

Re: [RFC][PATCH] ia64: Fix atomic ops vs memory barriers

2014-02-04 Thread Peter Zijlstra
On Tue, Feb 04, 2014 at 01:22:12PM +0100, Peter Zijlstra wrote: > > The IA64 SDM V1-4.4.7 describes the memory ordering rules of IA64. > > It states that the cmpxchg.{rel,acq} really have release and acquire > semantics and that xchg has acquire semantics. > > Despite this the ia64 atomic_t code

[PATCH -v2 2/6] memcg: cleanup charge routines

2014-02-04 Thread Michal Hocko
The current core of memcg charging is wild to say the least. __mem_cgroup_try_charge which is in the center tries to be too clever and it handles two independent cases * when the memcg to be charged is known in advance * when the given mm_struct is charged The resulting callchains a

[PATCH -v2 4/6] memcg: make sure that memcg is not offline when charging

2014-02-04 Thread Michal Hocko
The current charge path might race with memcg offlining because holding css reference doesn't neither prevent from task move to a different group nor stop css offline. When a charging task is the last one in the group and it is moved to a different group in the middle of the charge the old memcg mi

[PATCH -v2 3/6] memcg: mm == NULL is not allowed for mem_cgroup_try_charge_mm

2014-02-04 Thread Michal Hocko
An ancient comment tries to explain that a given mm might be NULL when a task is migrated. It has been introduced by 8a9f3ccd (Memory controller: memory accounting) along with other bigger changes so it is not much more specific about the conditions. Anyway, Even if the task is migrated to another

[PATCH 0/2] usb: musb: host: fixes for 3.14-rc

2014-02-04 Thread Roger Quadros
Hi Greg, Patch 1 fixes SuperSpeed hub enumeration on beaglebone. Patch 2 fixes remote-wakeup resume on beaglebone. Felipe has Acked the 1st patch but still needs to Ack the 2nd one. Patches are based on 3.14-rc1 cheers, -roger Ajay Kumar Gupta (1): usb: musb: host: Fix SuperSpeed hub enumera

[PATCH -v2 1/6] memcg: do not replicate try_get_mem_cgroup_from_mm in __mem_cgroup_try_charge

2014-02-04 Thread Michal Hocko
Johannes Weiner has pointed out that __mem_cgroup_try_charge duplicates try_get_mem_cgroup_from_mm for charges which came without a memcg. The only reason seems to be a tiny optimization when css_tryget is not called if the charge can be consumed from the stock. Nevertheless css_tryget is very chea

Re: [PATCH v3 2/5] ASoC: tda998x: add a codec driver for the TDA998x

2014-02-04 Thread Mark Brown
On Sun, Jan 26, 2014 at 07:45:36PM +0100, Jean-Francois Moine wrote: > + /* load the optional CODEC */ > + of_platform_populate(np, NULL, NULL, &client->dev); > + Why is this using of_platform_populate()? That's a very odd way of doing things. > +config SND_SOC_TDA998X > + tristate

[PATCH -v2 5/6] memcg, kmem: clean up memcg parameter handling

2014-02-04 Thread Michal Hocko
memcg_kmem_newpage_charge doesn't always set the given memcg parameter. Some early escape paths skip setting *memcg while __memcg_kmem_newpage_charge down the call chain sets *memcg even if no memcg is charged due to other escape paths. The current code is correct because the memcg is initialized

[PATCH -v2 6/6] Revert "mm: memcg: fix race condition between memcg teardown and swapin"

2014-02-04 Thread Michal Hocko
This reverts commit 96f1c58d853497a757463e0b57fed140d6858f3a because it is no longer needed after "memcg: make sure that memcg is not offline when charging" which makes sure that no charges will be accepted after mem_cgroup_reparent_charges has started. Signed-off-by: Michal Hocko --- mm/memcont

Re: [PATCH 3/6] mfd: add bcm59056 pmu driver

2014-02-04 Thread Lee Jones
> Add a driver for the BCM59056 PMU multi-function device. The driver > initially supports regmap initialization and instantiation of the > voltage regulator device function of the PMU. > > Signed-off-by: Matt Porter > Reviewed-by: Tim Kryger > Reviewed-by: Markus Mayer > --- > drivers/mfd/Kco

[PATCH 2/2] usb: musb: core: Fix remote-wakeup resume

2014-02-04 Thread Roger Quadros
During resume don't touch SUSPENDM/RESUME bits of POWER register while restoring controller context. These bits might be changed by the controller during resume operation and so will be different than what they were during suspend. e.g. SUSPENDM bit is set by software during USB global suspend but

Re: [PATCH] kernel: kprobe: move all *kretprobe* generic implementation to CONFIG_KRETPROBES enabled area

2014-02-04 Thread Masami Hiramatsu
(2014/02/04 21:07), Chen Gang wrote: > On 02/04/2014 03:17 PM, Masami Hiramatsu wrote: >> (2014/02/04 14:16), Chen Gang wrote: >>> When CONFIG_KRETPROBES disabled, all *kretprobe* generic implementation >>> are useless, so need move them to CONFIG_KPROBES enabled area. >>> >>> Now, *kretprobe* gene

[PATCH -v2 0/6] memcg: some charge path cleanups + css offline vs. charge race fix

2014-02-04 Thread Michal Hocko
Hi, this is a second version of the series previously posted here: http://marc.info/?l=linux-mm&m=138729515304263&w=2. It is based on 3.14-rc1 and I am still testing it but having another eyes on it would be great because this piece of code is really tricky. The first four patches are an attempt t

[PATCH 1/2] usb: musb: host: Fix SuperSpeed hub enumeration

2014-02-04 Thread Roger Quadros
From: Ajay Kumar Gupta Disables PING on status phase of control transfer. PING token is not mandatory in status phase of control transfer and so some high speed USB devices don't support it. If such devices are connected to MUSB then they would not respond to PING token causing delayed or failed

Re: [PATCH] arm64: Add architecture support for PCI

2014-02-04 Thread Andrew Murray
On 4 February 2014 12:29, Liviu Dudau wrote: > On Mon, Feb 03, 2014 at 10:34:40PM +, Andrew Murray wrote: >> On 3 February 2014 18:43, Liviu Dudau wrote: >> > diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h >> > index 4cc813e..ce5bad2 100644 >> > --- a/arch/arm64/includ

Re: [PATCH 34/52] devices.txt: add video4linux device for Software Defined Radio

2014-02-04 Thread Alan Cox
On Tue, 04 Feb 2014 11:19:03 -0200 Mauro Carvalho Chehab wrote: > Alan/Greg/Andrew/Rob, > > Not sure who is currently maintaining Documentation/devices.txt. > > We're needing to add support of a new type of V4L2 devices there. > > Could you please ack with the following patch? If this one is o

Re: [PATCH v2] x86, tsc: Add missing Baytrail frequency to the table

2014-02-04 Thread Mika Westerberg
On Wed, Jan 29, 2014 at 01:47:54PM -0800, Bin Gao wrote: > On Tue, Jan 28, 2014 at 02:04:07PM +0200, Mika Westerberg wrote: > > Actually it does not work. I had the fallback path still in the patch when > > I tried. > > Let's merge the ptach v2 then(continue on msr calibration retuning 0). > All s

Re: [PATCH v2 3/5] char: ti-usim: Add driver for USIM module on AM43xx

2014-02-04 Thread Roger Quadros
Hi Satish, On 01/20/2014 06:33 AM, Satish Patel wrote: > TI-USIM driver is a platform driver that provides a character > driver interface to user applications. > > It allows user applications to call IOCTL's to > perform smart card operations. > > Driver currently supports > - ATR > - T=0 & T=1

Re: [PATCH v8 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-02-04 Thread Christopher Covington
Hi Georgi, On 01/30/2014 01:45 PM, Georgi Djakov wrote: > This patchset adds basic support of the Secure Digital Host Controller > Interface compliant controller found in Qualcomm chipsets. > > Tested with eMMC and various micro SD cards on APQ8074 Dragonboard. [...] > .../devicetree/bindings/

Fw: [PATCH 34/52] devices.txt: add video4linux device for Software Defined Radio

2014-02-04 Thread Mauro Carvalho Chehab
Alan/Greg/Andrew/Rob, Not sure who is currently maintaining Documentation/devices.txt. We're needing to add support of a new type of V4L2 devices there. Could you please ack with the following patch? If this one is ok, I intend to send via my tree together with the patch series that implements s

Re: [PATCH V4 0/2] devm_* API operation for fixed regulator

2014-02-04 Thread Mark Brown
On Mon, Feb 03, 2014 at 06:45:04PM +0530, Manish Badarkhe wrote: > Are there any review comments on this series? Don't send contentless pings, especially not less than a week after you sent the original patch. That's just more mail to read. You need to allow a reasonable time for review, for no

Re: [Intel-gfx] [PATCH v3 2/6] x86: Add Intel graphics stolen memory quirk for gen2 platforms

2014-02-04 Thread Daniel Vetter
On Tue, Feb 04, 2014 at 02:47:07PM +0200, Ville Syrjälä wrote: > Hi x86 folks, > > Ping on getting the gen2 stolen memory early quirk patches into the x86 > tree. > > From our side Daniel and Chris both seemed happy with them, so I'd like > to get them in at some point. Yup, I think this is read

[PATCH] checkpatch: Add test for long udelay

2014-02-04 Thread Joe Perches
On Tue, 2014-02-04 at 08:03 +0100, Holger Schurig wrote: > The macro udelay > cannot handle large values because of lost-of-precision. > > IMHO udelay on ARM is broken, because it also cannot work with fast > ARM processors (where bogomips >= 3355, which is in sight now). It's > just not broken en

[PATCH] backlight: add PWM dependencies

2014-02-04 Thread Linus Walleij
In some compilations the LM3630A and LP855X backlight drivers fail like this: drivers/built-in.o: In function `lm3630a_pwm_ctrl': drivers/video/backlight/lm3630a_bl.c:168: undefined reference to `pwm_config' drivers/video/backlight/lm3630a_bl.c:172: undefined reference to `pwm_disable' drivers/vid

[RFC PATCH 0/5] CPU Jitter RNG

2014-02-04 Thread Stephan Mueller
Hi, with the previous release of the CPU Jitter RNG ([1]), concerns were raised on the presence of entropy in the CPU execution timing. With this new version of the CPU Jitter RNG, a new noise source based on memory access timings is now added and the concerns raised before are addressed with a

[PATCH 1/5] CPU Jitter RNG

2014-02-04 Thread Stephan Mueller
The jitterentropy-base.c file implements the CPU Jitter RNG as documented at http://www.chronox.de/jent/doc/CPU-Jitter-NPTRNG.html. The associated header file makes the RNG available to the remainder of the kernel. The CPU Jitter RNG delivers entropy on demand. Therefore, it only causes system ov

[PATCH 4/5] CPU Jitter RNG: provide status proc files

2014-02-04 Thread Stephan Mueller
After successful initialization of the CPU Jitter RNG as part of the Linux RNG, the two variables defining the memory size of the memory chunk used for measuring memory access times are set. In case the Jitter RNG does not successfully initialize, these variables are set to zero. These two variab

[PATCH 3/5] CPU Jitter RNG: integration with /dev/random

2014-02-04 Thread Stephan Mueller
The CPU Jitter RNG is included into random.c as a new noise source. The noise source, however, works differently than all other noise sources. The CPU Jitter RNG provides entropy on demand and thus, the callback to obtain new data is implemented as a pull operation. The pull operation is only exe

Re: [PATCH v3 2/6] x86: Add Intel graphics stolen memory quirk for gen2 platforms

2014-02-04 Thread Ville Syrjälä
Hi x86 folks, Ping on getting the gen2 stolen memory early quirk patches into the x86 tree. >From our side Daniel and Chris both seemed happy with them, so I'd like to get them in at some point. -- Ville Syrjälä Intel OTC -- To unsubscribe from this list: send the line "unsubscribe linux-kernel

[PATCH 2/5] CPU Jitter RNG: Enable compilation

2014-02-04 Thread Stephan Mueller
Amend Makefile to allow the CPU Jitter RNG code to be statically compiled. Signed-off-by: Stephan Mueller --- drivers/char/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/char/Makefile b/drivers/char/Makefile index 290fe5b..480c8f6 100644 --- a/drivers/cha

[PATCH 5/5] CPU Jitter RNG: add read/write sysctls

2014-02-04 Thread Stephan Mueller
The two added sysctls are read/writable to allow administrators to tweak the behavior of the CPU Jitter RNG. Normally, no tweaking is neccessary. Though, some overly cautious users may set the default to higher values. The sysctls are found under /proc/sys/kernel/random with the following files:

Re: serial8250: bogus low_latency destabilizes kernel, need sanity check

2014-02-04 Thread Peter Hurley
On 02/03/2014 06:10 AM, One Thousand Gnomes wrote: On Sat, 01 Feb 2014 10:09:03 -0500 Peter Hurley wrote: On 01/14/2014 11:24 AM, Pavel Roskin wrote: Hi Alan, Quoting One Thousand Gnomes : Maybe we should unset the low_latency flag as soon as DMA fails? There are two flags, one is state->

[PATCH] kbuild: dtbs_install: new make target

2014-02-04 Thread Grant Likely
From: Jason Cooper Unlike other build products in the Linux kernel, there is no 'make *install' mechanism to put devicetree blobs in a standard place. This commit adds a new 'dtbs_install' make target which copies all of the dtbs into the INSTALL_DTBS_PATH directory. INSTALL_DTBS_PATH can be set

[PATCH] i2c: designware-pci: Cleanup driver power management

2014-02-04 Thread Mika Westerberg
The PCI part of the DesignWare I2C driver does a lot of things that are not required anymore. For example drivers aren't supposed to handle PCI state transitions themselves. This is all provided by the PCI bus core already. In addition to that there is no point scheduling RPM suspend on driver's i

Re: [PATCH/RFC] dmaengine: omap-dma: split header file

2014-02-04 Thread Balaji T K
On Friday 24 January 2014 10:21 PM, Balaji T K wrote: To Resolve build failure seen with sh-allmodconfig: include/linux/omap-dma.h:171:8: error: expected identifier before numeric constant make[4]: *** [drivers/mmc/host/omap_hsmmc.o] Error 1 due to CCR redefinition, move dmaengine cons

[PATCH] slub: fix false-positive lockdep warning in free_partial()

2014-02-04 Thread Vladimir Davydov
Commit c65c1877bd68 ("slub: use lockdep_assert_held") requires remove_partial() to be called with n->list_lock held, but free_partial() called from kmem_cache_close() on cache destruction does not follow this rule, leading to a warning: WARNING: CPU: 0 PID: 2787 at mm/slub.c:1536 __kmem_cache_s

Re: [PATCH] block: Explicitly handle discard/write same segments

2014-02-04 Thread Kent Overstreet
Thanks! On Tue, Feb 4, 2014 at 4:25 AM, Hugh Dickins wrote: > On Tue, 4 Feb 2014, Kent Overstreet wrote: > >> Immutable biovecs changed the way biovecs are interpreted - drivers no >> longer use bi_vcnt, they have to go by bi_iter.bi_size (to allow for >> using part of an existing segment without

Re: [PATCH] arm64: Add architecture support for PCI

2014-02-04 Thread Liviu Dudau
On Mon, Feb 03, 2014 at 10:34:40PM +, Andrew Murray wrote: > On 3 February 2014 18:43, Liviu Dudau wrote: > > diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h > > index 4cc813e..ce5bad2 100644 > > --- a/arch/arm64/include/asm/io.h > > +++ b/arch/arm64/include/asm/io.h > >

Re: [PATCH] block: Explicitly handle discard/write same segments

2014-02-04 Thread Hugh Dickins
On Tue, 4 Feb 2014, Kent Overstreet wrote: > Immutable biovecs changed the way biovecs are interpreted - drivers no > longer use bi_vcnt, they have to go by bi_iter.bi_size (to allow for > using part of an existing segment without modifying it). > > This breaks with discards and write_same bios,

[RFC][PATCH] ia64: Fix atomic ops vs memory barriers

2014-02-04 Thread Peter Zijlstra
The IA64 SDM V1-4.4.7 describes the memory ordering rules of IA64. It states that the cmpxchg.{rel,acq} really have release and acquire semantics and that xchg has acquire semantics. Despite this the ia64 atomic_t code says that all atomic ops are fully serialized, and its smp_mb__{before,after}

[PATCH 1/6] i2c: bcm-kona: register with subsys_initcall

2014-02-04 Thread Matt Porter
Voltage regulators are needed very early due to deferred probe being incompatible with built-in USB gadget drivers. In order to have the PMU driver available before USB UDC, make i2c available during subsys_initcall. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer -

Re: [PATCH v7 1/7] VFS: Introduce new O_DENY* open flags

2014-02-04 Thread Jeff Layton
On Tue, 4 Feb 2014 16:03:14 +0400 Pavel Shilovsky wrote: > 2014-02-01 Jeff Layton : > > On Fri, 17 Jan 2014 14:07:06 +0400 > > Pavel Shilovsky wrote: > > > >> This patch adds 3 flags: > >> 1) O_DENYREAD that doesn't permit read access, > >> 2) O_DENYWRITE that doesn't permit write access, > >> 3

[PATCH 2/6] regulator: add bcm59056 pmu DT binding

2014-02-04 Thread Matt Porter
Add a DT binding for the BCM59056 PMU. The binding inherits from the generic regulator bindings. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- .../devicetree/bindings/regulator/bcm59056.txt | 37 ++ 1 file changed, 37 insertions(+) cr

[PATCH 5/6] ARM: configs: bcm_defconfig: enable bcm59056 regulator support

2014-02-04 Thread Matt Porter
Enable BCM59056 MFD and regulator drivers to manage voltage regulators on BCM281xx platforms. Signed-off-by: Tim Kryger Signed-off-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/configs/bcm_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/configs/bcm_defcon

[PATCH 6/6] ARM: dts: add bcm59056 pmu support and enable for bcm28155-ap

2014-02-04 Thread Matt Porter
Add a dtsi to support the BCM59056 PMU used by the BCM281xx family of SoCs. Enable regulators for use with the dwc2 and sdhci on bcm28155-ap. Signed-off-by: Tim Kryger Signed-off-by: Matt Porter Reviewed-by: Markus Mayer --- arch/arm/boot/dts/bcm28155-ap.dts | 41 ++ arch/arm/boot/dts

[PATCH 3/6] mfd: add bcm59056 pmu driver

2014-02-04 Thread Matt Porter
Add a driver for the BCM59056 PMU multi-function device. The driver initially supports regmap initialization and instantiation of the voltage regulator device function of the PMU. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- drivers/mfd/Kconfig |

[PATCH 0/6] BCM59056 PMU regulator support

2014-02-04 Thread Matt Porter
The BCM59056 is a multi-function power management unit used with the BCM281xx family of SoCs. This series adds an MFD and voltage regulator driver to support the BCM59056. The bcm28155-ap DT support is updated to enable use of regulators on the otg and sdhci peripherals. Matt Porter (6): i2c: bc

[PATCH 4/6] regulator: add bcm59056 regulator driver

2014-02-04 Thread Matt Porter
Add a regulator driver for the BCM59056 PMU voltage regulators. The driver supports LDOs and DCDCs in normal mode only. There is no support for low-power mode or power sequencing. Signed-off-by: Matt Porter Reviewed-by: Tim Kryger Reviewed-by: Markus Mayer --- drivers/regulator/Kconfig

Re: [PATCH v3 0/5] can: sja1000: cleanups and new OF property

2014-02-04 Thread Florian Vaussard
On 02/04/2014 09:19 AM, Andreas Larsson wrote: > On 2014-01-31 14:50, Andreas Larsson wrote: >> On 2014-01-31 14:40, Marc Kleine-Budde wrote: >>> On 01/31/2014 02:34 PM, Florian Vaussard wrote: Hello, (could someone with a SJA1000 on SPARC perform a functional test to see if int

[PATCH v2 2/5] drivers: of: implement reserved-memory handling for dma

2014-02-04 Thread Marek Szyprowski
From: Josh Cartwright Add support for handling 'shared-dma-pool' reserved-memory nodes using dma exclusive driver (dma_alloc_coherent()). Cc: Benjamin Herrenschmidt Cc: Laura Abbott Signed-off-by: Josh Cartwright Signed-off-by: Marek Szyprowski --- drivers/of/Kconfig |7 ++

[PATCH v2 4/5] ARM: init: add support for reserved memory defined by device tree

2014-02-04 Thread Marek Szyprowski
Enable reserved memory initialization from device tree. Cc: Benjamin Herrenschmidt Cc: Laura Abbott Signed-off-by: Marek Szyprowski --- arch/arm/mm/init.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index 804d61566a53..ebafdb479410 100644 -

[PATCH v2 3/5] drivers: of: implement reserved-memory handling for cma

2014-02-04 Thread Marek Szyprowski
From: Josh Cartwright Add support for handling 'shared-dma-pool' reserved-memory nodes using Contiguous Memory Allocator driver. Cc: Benjamin Herrenschmidt Cc: Laura Abbott Signed-off-by: Josh Cartwright Signed-off-by: Marek Szyprowski --- drivers/of/Kconfig |7 drive

[PATCH v2 5/5] of: document bindings for reserved-memory nodes

2014-02-04 Thread Marek Szyprowski
From: Grant Likely Reserved memory nodes allow for the reservation of static (fixed address) regions, or dynamically allocated regions for a specific purpose. [joshc: Based on binding document proposed (in non-patch form) here: http://lkml.kernel.org/g/20131030134702.19b57c40...@trevor.secretla

[PATCH v2 1/5] drivers: of: add initialization code for reserved memory

2014-02-04 Thread Marek Szyprowski
This patch adds device tree support for contiguous and reserved memory regions defined in device tree. Large memory blocks can be reliably reserved only during early boot. This must happen before the whole memory management subsystem is initialized, because we need to ensure that the given contigu

[PATCH v2 0/5] reserved-memory regions/CMA in devicetree, again

2014-02-04 Thread Marek Szyprowski
Hi all! This is an updated version of the second attempt to add basic support for dynamic allocation of memory reserved regions defined in device tree. The initial code for this feature were posted here [1], merged as commit 9d8eab7af79cb4ce2de5de39f82c455b1f796963 ("drivers: of: add initializati

Re: [PATCH] pci: Add support for creating a generic host_bridge from device tree

2014-02-04 Thread Liviu Dudau
On Tue, Feb 04, 2014 at 10:09:44AM +, Arnd Bergmann wrote: > On Monday 03 February 2014 22:17:44 Liviu Dudau wrote: > > On Mon, Feb 03, 2014 at 07:31:31PM +, Arnd Bergmann wrote: > > > Let's try to come up with nomenclature so we can talk about this better > > > > > > The ioport_resource is

Re: [PATCH] kernel: kprobe: move all *kretprobe* generic implementation to CONFIG_KRETPROBES enabled area

2014-02-04 Thread Chen Gang
On 02/04/2014 03:17 PM, Masami Hiramatsu wrote: > (2014/02/04 14:16), Chen Gang wrote: >> When CONFIG_KRETPROBES disabled, all *kretprobe* generic implementation >> are useless, so need move them to CONFIG_KPROBES enabled area. >> >> Now, *kretprobe* generic implementation are all implemented in 2

Re: [PATCH 17/22] pm8001: Use pci_enable_msix_range()

2014-02-04 Thread Jack Wang
On 02/04/2014 12:17 PM, Alexander Gordeev wrote: > As result of deprecation of MSI-X/MSI enablement functions > pci_enable_msix() and pci_enable_msi_block() all drivers > using these two interfaces need to be updated to use the > new pci_enable_msi_range() and pci_enable_msix_range() > interfaces.

Re: [PATCH] kernel: kprobe: move all *kretprobe* generic implementation to CONFIG_KRETPROBES enabled area

2014-02-04 Thread Chen Gang
On 02/04/2014 03:17 PM, Masami Hiramatsu wrote: > (2014/02/04 14:16), Chen Gang wrote: >> When CONFIG_KRETPROBES disabled, all *kretprobe* generic implementation >> are useless, so need move them to CONFIG_KPROBES enabled area. >> >> Now, *kretprobe* generic implementation are all implemented in 2

Re: [PATCH v7 1/7] VFS: Introduce new O_DENY* open flags

2014-02-04 Thread Pavel Shilovsky
2014-02-01 Jeff Layton : > On Fri, 17 Jan 2014 14:07:06 +0400 > Pavel Shilovsky wrote: > >> This patch adds 3 flags: >> 1) O_DENYREAD that doesn't permit read access, >> 2) O_DENYWRITE that doesn't permit write access, >> 3) O_DENYDELETE that doesn't permit delete or rename. >> >> Network filesyst

Re: [PATCH 16/22] pm8001: Fix invalid success return when request_irq() failed

2014-02-04 Thread Jack Wang
On 02/04/2014 12:17 PM, Alexander Gordeev wrote: > When enabling MSI-X if a call to request_irq() failed > pm8001_setup_msix() still returns success. This udate > fixes the described misbehaviour. > > Signed-off-by: Alexander Gordeev > Cc: xjtu...@gmail.com > Cc: lindar_...@usish.com > Cc: linux-

Re: [Patch v4 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-04 Thread Lars-Peter Clausen
On 02/04/2014 12:04 AM, Andy Gross wrote: [...] +static int bam_dma_remove(struct platform_device *pdev) +{ + struct bam_device *bdev = platform_get_drvdata(pdev); + u32 i; + + dma_async_device_unregister(&bdev->common); + of_dma_controller_free(pdev->dev.of_node); The c

Re: [PATCH] arm64: Add architecture support for PCI

2014-02-04 Thread Arnd Bergmann
On Tuesday 04 February 2014 11:09:22 Liviu Dudau wrote: > On Tue, Feb 04, 2014 at 08:44:36AM +, Arnd Bergmann wrote: > > Well, I/O space never starts at physical zero in reality, so it is > > broken in practice. The CONFIG_GENERIC_IOMAP option tries to solve > > the problem of I/O spaces that

Re: [PATCH] Subject: [PATCH] xen: Properly account for _PAGE_NUMA during xen pte translations

2014-02-04 Thread David Vrabel
On 04/02/14 11:44, Mel Gorman wrote: > Steven Noonan forwarded a users report where they had a problem starting > vsftpd on a Xen paravirtualized guest, with this in dmesg: > [...] > > The issue could not be reproduced under an HVM instance with the same kernel, > so it appears to be exclusive to

Re: [PATCH v4 2/3] clocksource: keystone: add bindings for keystone timer

2014-02-04 Thread Ivan Khoronzhuk
Sorry I forgot to add Acked-by: Santosh Shilimkar On 02/04/2014 01:30 PM, Ivan Khoronzhuk wrote: This patch provides bindings for the 64-bit timer in the KeyStone architecture devices. The timer can be configured as a general-purpose 64-bit timer, dual general-purpose 32-bit timers. When config

[PATCH] Subject: [PATCH] xen: Properly account for _PAGE_NUMA during xen pte translations

2014-02-04 Thread Mel Gorman
Steven Noonan forwarded a users report where they had a problem starting vsftpd on a Xen paravirtualized guest, with this in dmesg: [ 60.654862] BUG: Bad page map in process vsftpd pte:800493b88165 pmd:e9cc01067 [ 60.654876] page:ea00124ee200 count:0 mapcount:-1 mapping: (null)

Re: [PATCH v4 1/3] clocksource: timer-keystone: introduce clocksource driver for Keystone

2014-02-04 Thread Ivan Khoronzhuk
Reviewed-by: Stephen Boyd Acked-by: Santosh shilimkar On 02/04/2014 01:30 PM, Ivan Khoronzhuk wrote: Add broadcast clock-event device for the Keystone arch. The timer can be configured as a general-purpose 64-bit timer, dual general-purpose 32-bit timers. When configured as dual 32-bit timers

Re: [PATCH 3/4] power_supply: Introduce PSE compliant algorithm

2014-02-04 Thread Pavel Machek
Hi! > --- a/drivers/power/Kconfig > +++ b/drivers/power/Kconfig > @@ -22,6 +22,19 @@ config POWER_SUPPLY_CHARGER > drivers to keep the charging logic outside and the charger driver > just need to abstract the charger hardware. > > +config POWER_SUPPLY_CHARGING_ALGO_PSE > + bo

Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver

2014-02-04 Thread Pavel Machek
Hi! > +Throttling configuration example: > + > +struct psy_throttle_state my_throttle_states[] = { > + > + /* Level 0: Limit charge current to 1500mA. Normal Level */ > + { > + .throttle_action = PSY_THROTTLE_CC_LIMIT, > + .throttle_val = 1500, > + }, > + > +

Re: [PATCH 4/4] power_supply: bq24261 charger driver

2014-02-04 Thread Pavel Machek
Hi! > +#define DEV_MANUFACTURER "TI" > +#define DEV_MANUFACTURER_NAME_SIZE 4 This is unneccessarily complicated for no reason. You copy "TI" to struct, just so that ou can return pointer to the field on get_property. What about simply returning "TI" from get_property, without defines and copyin

Re: [PATCH v2] ceph: fix posix ACL hooks

2014-02-04 Thread Steven Whitehouse
On Mon, 2014-02-03 at 22:40 +, Al Viro wrote: > > >> +static int gfs2_vfs_permission(struct dentry *dentry, struct inode > > >> *inode, int mask) > > >> +{ > > >> + return gfs2_permission(inode, mask); > > >> +} > > > > > > Er... You do realize that callers of gfs2_permission() tend to ha

[PATCH v4 2/3] clocksource: keystone: add bindings for keystone timer

2014-02-04 Thread Ivan Khoronzhuk
This patch provides bindings for the 64-bit timer in the KeyStone architecture devices. The timer can be configured as a general-purpose 64-bit timer, dual general-purpose 32-bit timers. When configured as dual 32-bit timers, each half can operate in conjunction (chain mode) or independently (uncha

[PATCH v4 3/3] arm: dts: keystone: add keystone timer entry

2014-02-04 Thread Ivan Khoronzhuk
Add keystone timer entry to keystone device tree. This 64-bit timer is used as backup clock event device. Signed-off-by: Ivan Khoronzhuk --- arch/arm/boot/dts/keystone-clocks.dtsi | 10 ++ arch/arm/boot/dts/keystone.dtsi| 7 +++ 2 files changed, 17 insertions(+) diff --git

[PATCH v4 1/3] clocksource: timer-keystone: introduce clocksource driver for Keystone

2014-02-04 Thread Ivan Khoronzhuk
Add broadcast clock-event device for the Keystone arch. The timer can be configured as a general-purpose 64-bit timer, dual general-purpose 32-bit timers. When configured as dual 32-bit timers, each half can operate in conjunction (chain mode) or independently (unchained mode) of each other. Sign

[PATCH v4 0/3] Introduce clocksource driver for Keystone platform

2014-02-04 Thread Ivan Khoronzhuk
Add a broadcast timer64 based clockevent driver for keystone arch. This driver uses timer in 64-bit general purpose mode as clock event device. Documentation: http://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf Based on git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone.git keys

[PATCH 07/22] fnic: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Hiral Patel Cc: Sum

[PATCH 04/22] bfa: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Anil Gurumurthy Cc:

[PATCH 06/22] csiostor: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Naresh Kumar Inna C

[PATCH 03/22] bfa: Cleanup bfad_setup_intr()

2014-02-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: Anil Gurumurthy Cc: Vijaya Mohan Guvva Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/bfa/bfad.c | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/

[PATCH 05/22] csiostor: Remove superfluous call to pci_disable_msix()

2014-02-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: Naresh Kumar Inna Cc: Arvind Bhushan Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/csiostor/csio_isr.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/csiostor/csio_isr.c b/drivers/scsi

[PATCH 11/22] lpfc: Remove superfluous call to pci_disable_msix()

2014-02-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: James Smart Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/lpfc/lpfc_init.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 68c

[PATCH 17/22] pm8001: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: xjtu...@gmail.com Cc

[PATCH 18/22] pmcraid: Get rid of a redundant assignment

2014-02-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: Anil Ravindranath Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/pmcraid.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index be8ce54..c06af7f 100644 --

[PATCH 10/22] isci: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Lukasz Dorau Cc: Ma

[PATCH 12/22] lpfc: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: James Smart Cc: lin

[PATCH 16/22] pm8001: Fix invalid success return when request_irq() failed

2014-02-04 Thread Alexander Gordeev
When enabling MSI-X if a call to request_irq() failed pm8001_setup_msix() still returns success. This udate fixes the described misbehaviour. Signed-off-by: Alexander Gordeev Cc: xjtu...@gmail.com Cc: lindar_...@usish.com Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/s

[PATCH 20/22] qla2xxx: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Log message code 0x00c6 preserved, although it is reported

Re: [PATCH] spi: fix pointer-integer size mismatch warning

2014-02-04 Thread Mark Brown
On Tue, Feb 04, 2014 at 03:58:09PM +0900, SeongJae Park wrote: > Fix the pointer-integer size mismatch warning below: > drivers/spi/spi-gpio.c: In function ‘spi_gpio_setup’: > drivers/spi/spi-gpio.c:252:8: warning: cast from pointer to integer of > different size [

[PATCH 19/22] pmcraid: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Anil Ravindranath C

[PATCH 22/22] vmw_pvscsi: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Arvind Kumar Cc: pv

[PATCH 15/22] mpt3sas: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Nagalakshmi Nandigam

[PATCH 13/22] megaraid: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Neela Syam Kolli Cc

[PATCH 21/22] qla4xxx: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Vikas Chaudhary Cc:

[PATCH 14/22] mpt2sas: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Nagalakshmi Nandigam

[PATCH 09/22] hpsa: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: "Stephen M. Cameron"

[PATCH 08/22] hpsa: Fallback to MSI rather than to INTx if MSI-X failed

2014-02-04 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev Cc: "Stephen M. Cameron" Cc: iss_storage...@hp.com Cc: linux-s...@vger.kernel.org Cc: linux-...@vger.kernel.org --- drivers/scsi/hpsa.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 86

[PATCH 00/22] scsi: Use pci_enable_msix_range()

2014-02-04 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Cc: pv-driv...@vmware.com Cc: iscsi-dri...@qlogic.com Cc:

<    5   6   7   8   9   10   11   >