[PATCH 2/4] ARM OMAP2+ GPMC: always program GPMCFCLKDIVIDER

2015-02-16 Thread Robert ABEL
GPMC uses GPMCFCLKDIVIDER during synchronous as well as asynchronous accesses in conjunction with WAITMONITORINGTIME. Thus, it's wrong to only program it for synchronous accesses. Remove the conditional. Signed-off-by: Robert ABEL ra...@cit-ec.uni-bielefeld.de --- arch/arm/mach-omap2/gpmc.c | 15

[PATCH 1/4] ARM OMAP2+ GPMC: fix debug output alignment

2015-02-16 Thread Robert ABEL
GPMC debug output is aligned to 10 characters for field names. However, some fields have bigger names, screwing up the alignment. Consequently, alignment was changed to longest field name (17 chars) for now. Signed-off-by: Robert ABEL ra...@cit-ec.uni-bielefeld.de --- arch/arm/mach-omap2/gpmc.c

[PATCH RESEND 7/12] xfstests: generic/044: Multi insert range tests

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This testcase(044) tries to test various corner cases with pre-existing holes for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com ---

Re: [PATCH 1/3] perf/e6500: Make event translations available in sysfs

2015-02-16 Thread Tom Huynh
On Mon, Feb 09, 2015 at 09:40:19PM +0100, Andi Kleen wrote: I'll NAK any external 'download area' (and I told that Andi before): tools/perf/event-tables/ or so is a good enough 'download area' with fast enough update cycles. The proposal was to put it on kernel.org, similar to how

Re: make mandocs build failure with next-20150210

2015-02-16 Thread Alan Cox
On Mon, 2015-02-16 at 11:29 +0900, Masanari Iida wrote: On Thu, Feb 12, 2015 at 12:48 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Wed, Feb 11, 2015 at 02:19:00PM +, Alan Cox wrote: On Wed, 2015-02-11 at 07:27 +1100, Stephen Rothwell wrote: Hi Jim, On Tue, 10 Feb

Re: [PATCH] x86,vdso: fix the x86 vdso2c tool includes

2015-02-16 Thread Andy Lutomirski
On Mon, Feb 16, 2015 at 6:15 AM, Tommi Kyntola tommi.kynt...@gmail.com wrote: The build-time tool arch/x86/vdso/vdso2c.c includes linux/elf.h, but cannot find it, unless the build host happens to provide it. It should be reading the uapi linux/elf.h This build regression came along with the

Re: [PATCH 1/1] pty: BREAK for pseudoterminals

2015-02-16 Thread Petr Tesarik
On Mon, 16 Feb 2015 11:24:16 -0500 Peter Hurley pe...@hurleysoftware.com wrote: Hi Petr, On 02/16/2015 08:22 AM, Petr Tesarik wrote: On Mon, 16 Feb 2015 08:04:02 -0500 Peter Hurley pe...@hurleysoftware.com wrote: On 02/05/2015 02:11 PM, Nan Li wrote: This will greatly enhance the

Re: 3.19: device name associates with IRQ's for ahci controllers operating with a single IRQ changed from ahci? to BDF

2015-02-16 Thread Alexander Gordeev
On Tue, Feb 10, 2015 at 09:51:20AM -0500, Tejun Heo wrote: Hello, On Tue, Feb 10, 2015 at 08:57:46AM +0100, Stefan Bader wrote: On 09.02.2015 20:54, Sander Eikelenboom wrote: Hi. In 3.19 the device name associates with IRQ's for ahci controllers operating with a single IRQ

Re: [PATCH] iommu: prompt for IOMMU_IO_PGTABLE_LPAE on ARM archs only

2015-02-16 Thread Will Deacon
Hi Chris, On Sun, Feb 15, 2015 at 11:17:19AM +, Chris Clayton wrote: When running make oldconfig for an x86_64 kernel, I was prompted for a setting for IOMMU_IO_PGTABLE_LPAE. From the prompt and the help text it appears that this config item is relevant to ARMv7/v8 only. This patch

Re: [PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-16 Thread Maxime Ripard
On Mon, Feb 16, 2015 at 10:35:50AM -0300, Ezequiel Garcia wrote: On 02/16/2015 09:51 AM, Maxime Ripard wrote: The NDDB register holds the data that are needed by the read and write commands. However, during a read PIO access, the datasheet specifies that after each 32 bits read in

Re: [PATCH 1/2] extcon: arizona: Deobfuscate arizona_extcon_do_magic

2015-02-16 Thread Lee Jones
On Mon, 16 Feb 2015, Charles Keepax wrote: arizona_extcon_do_magic does not lend a lot of clarity to the purpose of the function, and as all the registers used are described in the datasheet there is no need to obfuscate the code. This patch renames the function to arizona_extcon_hp_clamp, as

Re: [PATCH 1/2] pci: generic: Use the pci_scan_root_bus instead of pci_common_init_dev

2015-02-16 Thread Lorenzo Pieralisi
On Mon, Feb 09, 2015 at 03:22:29PM +, Suravee Suthikulpanit wrote: Replacing pci_common_init_dev with pci_scan_root_bus, and remove reference to struct pci_sys_data and pci_hw, which is specific to ARM32. This allows the PCI host generic driver to also usable in ARM64 architecture. Cc:

Re: [PATCH 1/8] x86, fpu: unlazy_fpu: don't reset thread.fpu_counter

2015-02-16 Thread Borislav Petkov
On Fri, Feb 06, 2015 at 03:01:58PM -0500, r...@redhat.com wrote: From: Oleg Nesterov o...@redhat.com It is not clear why the else branch clears -fpu_counter, this makes no sense. See below for why. If use_eager_fpu() then this has no effect. Otherwise, if we actually wanted to prevent fpu

Re: [PATCH 2/4] ARM OMAP2+ GPMC: always program GPMCFCLKDIVIDER

2015-02-16 Thread Tony Lindgren
* Robert ABEL ra...@cit-ec.uni-bielefeld.de [150216 07:52]: GPMC uses GPMCFCLKDIVIDER during synchronous as well as asynchronous accesses in conjunction with WAITMONITORINGTIME. Thus, it's wrong to only program it for synchronous accesses. Remove the conditional. Do you have some test case

Re: [RFC PATCH V2] rt/aio: fix rcu garbage collection might_sleep() splat

2015-02-16 Thread Sebastian Andrzej Siewior
* Benjamin LaHaise | 2014-06-25 11:24:45 [-0400]: I finally have some time to look at this patch in detail. I'd rather do the below variant that does what Kent suggested. Mike, can you confirm that this fixes the issue you reported? It's on top of my current aio-next tree at

RE: [PATCH] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-02-16 Thread Tirdea, Irina
-Original Message- From: Pandruvada, Srinivas Sent: 04 February, 2015 22:39 To: ji...@kernel.org Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; Tirdea, Irina; viorel.su...@gmail.com Subject: Re: [PATCH] iio: gyro: bmg160: optimize i2c transfers in trigger handler

Re: [PATCH 1/8] x86, fpu: unlazy_fpu: don't reset thread.fpu_counter

2015-02-16 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/16/2015 12:04 PM, Borislav Petkov wrote: ... and so by looking at the unlazy_fpu() call sites, I think this makes sense. So how's that for a commit message instead: --- x86, fpu, unlazy_fpu: Don't reset thread.fpu_counter The else

Re: [PATCH 0/8] x86,fpu: various small FPU cleanups and optimizations

2015-02-16 Thread Borislav Petkov
On Mon, Feb 16, 2015 at 10:26:19AM -0500, Rik van Riel wrote: Ingo, Borislav, Peter, what can I do to get these patches merged? Let me take a look, as far as I can. I'll collect them if all is fine and unless someone else chimes in with a desire to collect them :-) Thanks. --

Re: [Xen-devel] [PATCH V5] x86 spinlock: Fix memory corruption on completing completions

2015-02-16 Thread David Vrabel
On 15/02/15 17:30, Raghavendra K T wrote: --- a/arch/x86/xen/spinlock.c +++ b/arch/x86/xen/spinlock.c @@ -41,7 +41,7 @@ static u8 zero_stats; static inline void check_zero(void) { u8 ret; - u8 old = ACCESS_ONCE(zero_stats); + u8 old = READ_ONCE(zero_stats); if

Re: [PATCH 1/2] extcon: arizona: Deobfuscate arizona_extcon_do_magic

2015-02-16 Thread Chanwoo Choi
Hi Charles, On Tue, Feb 17, 2015 at 12:41 AM, Charles Keepax ckee...@opensource.wolfsonmicro.com wrote: arizona_extcon_do_magic does not lend a lot of clarity to the purpose of the function, and as all the registers used are described in the datasheet there is no need to obfuscate the code.

Re: [patchlet] rt,locking: fix __ww_mutex_lock_interruptible() lockdep annotation

2015-02-16 Thread Sebastian Andrzej Siewior
* Mike Galbraith | 2014-06-02 15:12:44 [+0200]: Using mutex_acquire_nest() as used in __ww_mutex_lock() fixes the splat below. Remove superfluous line break in __ww_mutex_lock() as well. applied. Signed-off-by: Mike Galbraith umgwanakikb...@gmail.com umgwanakikbuti? The good ones were taken,

Re: [PATCH] Documentation: Add MCB documentation

2015-02-16 Thread Jonathan Corbet
On Mon, 16 Feb 2015 08:55:12 +0100 Johannes Thumshirn johannes.thumsh...@men.de wrote: Add basic introductory documentation for the MEN Chameleon Bus. Applied to the docs tree. I don't entirely like it in the top-level directory, but we don't seem to have a better place at the moment. Maybe

Re: [PATCH] Input: ALPS: Move v7 packet info to Documentation and v6 packet info

2015-02-16 Thread Pali Rohár
On Monday 16 February 2015 18:28:30 Jonathan Corbet wrote: On Tue, 10 Feb 2015 13:43:33 +0100 Pali Rohár pali.ro...@gmail.com wrote: This patch move all packet info from driver source code to documentation and adds info about v6 packet format (from driver source code). I tried to

Re: mmc: Driver Strength Device Property

2015-02-16 Thread Philip Rakity
On Feb 16, 2015, at 5:39 PM, Arend van Spriel ar...@broadcom.com wrote: On 02/16/15 15:25, Adrian Hunter wrote: I am in the process of adding an ACPI Device Property to specify the driver strength (aka drive strength, driver type) for use with eMMC/SD/SDIO cards, however the ACPI

[PATCH RESEND 10/12] xfstests: fsstress: Add fallocate insert range operation

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This commit adds insert operation support for fsstress, which is meant to exercise fallocate FALLOC_FL_INSERT_RANGE support. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com Reviewed-by: Brian Foster

Re: [PATCH 05/14] ARM: call reset_controller_of_init from default time_init handler

2015-02-16 Thread Rob Herring
On Sun, Feb 15, 2015 at 5:12 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Sun, Feb 15, 2015 at 04:17:31PM -0600, Rob Herring wrote: On Thu, Feb 12, 2015 at 11:45 AM, Maxime Coquelin mcoquelin.st...@gmail.com wrote: Some DT ARM platforms need the reset controllers to be

[PATCH RESEND 9/12] xfstests: generic/046: Test multiple fallocate insert/collapse range calls

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This testcase(043) tries to test finsert range a single alternate block multiple times and test merge code of collase range. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com Reviewed-by: Brian Foster

[PATCH RESEND 11/12] xfstests: fsx: Add fallocate insert range operation

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This commit adds fallocate FALLOC_FL_INSERT_RANGE support for fsx. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com Reviewed-by: Brian Foster bfos...@redhat.com --- ltp/fsx.c | 124

[PATCH RESEND 12/12] manpage: update FALLOC_FL_INSERT_RANGE flag in fallocate

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Update FALLOC_FL_INSERT_RANGE flag in fallocate. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- man2/fallocate.2 | 88 ++ 1 file changed,

[RFC v2 04/10] powerpc/mpc85xx: Add platform support for the Freescale DPAA QMan

2015-02-16 Thread Emil Medve
From: Geoff Thorpe geoff.tho...@freescale.com Change-Id: I59de17c040cdd304f86306336fcf89f130f7db2d Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com --- arch/powerpc/platforms/85xx/corenet_generic.c | 8 +++- arch/powerpc/platforms/85xx/p1023_rdb.c | 8 +++- 2 files changed,

Re: [PATCH] sched/completion: completion_done() should serialize with complete()

2015-02-16 Thread Oleg Nesterov
On 02/16, Peter Zijlstra wrote: On Thu, Feb 12, 2015 at 08:59:13PM +0100, Oleg Nesterov wrote: Commit de30ec47302c Remove unnecessary -wait.lock serialization when reading completion state was not correct, without lock/unlock the code like stop_machine_from_inactive_cpu() while

Re: [RFC PATCH 3/8] kmod - teach call_usermodehelper() to use a namespace

2015-02-16 Thread Oleg Nesterov
On 02/16, Ian Kent wrote: On Tue, 2015-02-10 at 17:55 +0100, Oleg Nesterov wrote: On 02/10, Ian Kent wrote: On Mon, 2015-02-09 at 17:03 +0100, Oleg Nesterov wrote: I understand. but I still can't understand why we can't implement something like

Re: [PATCH 1/1] Documentation/robust-futex-API: remove alternative language

2015-02-16 Thread Jonathan Corbet
On Mon, 16 Feb 2015 15:56:17 +0100 Heinrich Schuchardt xypron.g...@gmx.de wrote: The man-pages as well as robust-futexes.txt use the word contend for a situation where two threads try to access the same futex at the same time. To avoid confusion robust-futex-API.txt should not use contest

Re: mmc: Driver Strength Device Property

2015-02-16 Thread Arend van Spriel
On 02/16/15 15:25, Adrian Hunter wrote: I am in the process of adding an ACPI Device Property to specify the driver strength (aka drive strength, driver type) for use with eMMC/SD/SDIO cards, however the ACPI Specification Workgroup requires that Device Properties be sufficiently generic. This

Re: [PATCH/RFC 0/4] Probe deferral for IOMMU DT integration

2015-02-16 Thread Laurent Pinchart
Hi Laura and all, On Thursday 05 February 2015 16:31:58 Laura Abbott wrote: Hi, On the heels of Exynos integrating SMMU in to the DT for probing, this series attempts to add support to make SMMU drivers work with deferred probing. This has been referenced before[1] but this is some actual

Re: [PATCH] usb: dwc3: Moved PCI IDS to linux/pci_ids.h

2015-02-16 Thread Joseph Kogut
It seems that the Synopsys vendor ID is used in usb/dwc2 as well, and the rest of the definitions aren't referenced outside of usb/dwc3. Would the proper approach be to move the Synopsys vendor ID to linux/pci_ids.h, remove the redefinition in usb/dwc2, and remove the fixme? -- To unsubscribe from

Re: [PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-16 Thread Thomas Petazzoni
Dear Maxime Ripard, On Mon, 16 Feb 2015 13:51:11 +0100, Maxime Ripard wrote: + while (index (len * 4)) { + u32 timeout; + + __raw_readsl(info-mmio_base + NDDB, data + index, 8); Are you guaranteed that 'len' is a multiple of 32 bytes?

Re: [PATCH 1/3] thermal: exynos: Fix NULL pointer exception during kernel booting

2015-02-16 Thread Lukasz Majewski
Hi Chanwoo, Hi Lukasz, On Tue, Feb 17, 2015 at 12:06 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Chanwoo, This patch fixes the NULL pointer exception during kernel booting. The thermal_zone _of_sensor_register() registers a sensor to DT thermal zone and then read the

Re: [PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-16 Thread Maxime Ripard
On Mon, Feb 16, 2015 at 05:27:53PM +0100, Thomas Petazzoni wrote: Dear Maxime Ripard, On Mon, 16 Feb 2015 13:51:11 +0100, Maxime Ripard wrote: + while (index (len * 4)) { + u32 timeout; + + __raw_readsl(info-mmio_base + NDDB, data +

Re: DVB suspend/resume regression on 3.19

2015-02-16 Thread Takashi Iwai
At Fri, 13 Feb 2015 16:12:40 +0100, Takashi Iwai wrote: At Fri, 13 Feb 2015 12:41:25 -0200, Mauro Carvalho Chehab wrote: Em Fri, 13 Feb 2015 15:02:42 +0100 Takashi Iwai ti...@suse.de escreveu: At Mon, 09 Feb 2015 11:59:07 +0100, Takashi Iwai wrote: Hi, we've

Re: [PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-16 Thread Robert Jarzmik
Vasily Khoruzhick anars...@gmail.com writes: On Sun, Feb 15, 2015 at 1:47 AM, Robert Jarzmik robert.jarz...@free.fr wrote: In order to slowly transition pxa to dmaengine, the legacy code will now rely on dmaengine to request a channel. Hi Robert, What about dropping old PXA DMA code

Re: [PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-16 Thread Ezequiel Garcia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 02/16/2015 01:41 PM, Maxime Ripard wrote: On Mon, Feb 16, 2015 at 05:27:53PM +0100, Thomas Petazzoni wrote: Dear Maxime Ripard, On Mon, 16 Feb 2015 13:51:11 +0100, Maxime Ripard wrote: + while (index (len * 4)) { +

Re: [PATCHv4] HID: sony: Enable Gasia third-party PS3 controllers

2015-02-16 Thread Antonio Ospite
On Mon, 16 Feb 2015 15:06:59 +0200 Lauri Kasanen c...@gmx.com wrote: Without this, my Gasia Co.,Ltd PS(R) Gamepad would not send any events. Now everything works including the leds. Based on work by Andrew Haines and Antonio Ospite. cc: Antonio Ospite a...@ao2.it cc: Andrew Haines

Re: [PATCH 1/3] thermal: exynos: Fix NULL pointer exception during kernel booting

2015-02-16 Thread Chanwoo Choi
Hi Lukasz, On Tue, Feb 17, 2015 at 1:28 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Chanwoo, Hi Lukasz, On Tue, Feb 17, 2015 at 12:06 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Chanwoo, This patch fixes the NULL pointer exception during kernel booting. The

[RFC v2 08/10] fsl_qman: Add debugfs support

2015-02-16 Thread Emil Medve
From: Geoff Thorpe geoff.tho...@freescale.com Change-Id: I59a75a91b289193b5ab1d30a08f60119dc4d7568 Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com --- drivers/soc/freescale/Kconfig|7 + drivers/soc/freescale/Makefile |1 + drivers/soc/freescale/qman_api.c | 58

[RFC v2 09/10] fsl_bman: Add HOTPLUG_CPU support

2015-02-16 Thread Emil Medve
From: Hai-Ying Wang haiying.w...@freescale.com Change-Id: I863d5c15c7f35f9de4ea3d985e4ff467167924b7 Signed-off-by: Hai-Ying Wang haiying.w...@freescale.com --- drivers/soc/freescale/bman_portal.c | 45 - 1 file changed, 44 insertions(+), 1 deletion(-) diff

[RFC v2 06/10] fsl_qman: Add self-tester

2015-02-16 Thread Emil Medve
From: Geoff Thorpe geoff.tho...@freescale.com Change-Id: I314d36d94717cfc34053b6212899f71cb729d16c Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com --- drivers/soc/freescale/Kconfig | 26 +- drivers/soc/freescale/Makefile | 4 +

Re: [PATCH 05/11] ARM: davinci: multi-soc kernels require AUTO_ZRELADDR

2015-02-16 Thread Sekhar Nori
On Friday 13 February 2015 01:12 AM, Arnd Bergmann wrote: The davinci DA8xx and DMx families have incompatible zreladdr settings, and attempting to build a kernel with both enabled results in an error unless AUTO_ZRELADDR is set: multiple zreladdrs: 0xc0008000 0x80008000 This needs

[PATCH 3/4] ARM OMAP2+ GPMC: fix WAITMONITORINGTIME divider bug

2015-02-16 Thread Robert ABEL
WAITMONITORINGTIME is expressed in GPMC_CLK cycles (even for asynchronous accesses). However the driver currently converts them to GPMC_FCLK cycles, thus waitmonitoringtime in dt had to be predivided by divider as a workaround. This patch fixes the issue by reading the current GPMCFCLKDIVIDER

[RFC v2 03/10] powerpc/mpc85xx: Add platform support for the Freescale DPAA BMan

2015-02-16 Thread Emil Medve
From: Geoff Thorpe geoff.tho...@freescale.com Change-Id: I59de17c040cdd304f86306336fcf89f130f7db2d Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com --- arch/powerpc/Kconfig | 5 + arch/powerpc/configs/mpc85xx_defconfig| 1 +

[RFC v2 00/10] Freescale DPAA B/QMan drivers

2015-02-16 Thread Emil Medve
v2: Moved out of staging into soc/freescale Hello, This is the se attempt to publish the . They are not to be applied yet. These are the Freescale DPAA B/QMan drivers. At this stage, this is more or less the drivers from the Freescale PowerPC SDK roughly squashed and split in a sequence

Re: [LKP] [vmstat] c3916839649: -63.9% will-it-scale.time.involuntary_context_switches, -17.6% will-it-scale.time.voluntary_context_switches, no primary result change

2015-02-16 Thread Michal Hocko
On Sun 15-02-15 15:55:19, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit c3916839649ddb3c0d541ce346360c4197898d52 (vmstat: do not use deferrable delayed work for vmstat_update)

Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-02-16 Thread Lee Jones
On Mon, 16 Feb 2015, robert.jarz...@free.fr wrote: - Mail original - De: Lee Jones lee.jo...@linaro.org À: Robert Jarzmik robert.jarz...@free.fr Cc: Rob Herring robh...@kernel.org, Pawel Moll pawel.m...@arm.com, Mark Rutland mark.rutl...@arm.com, Ian Campbell

[PATCH RESEND 3/12] ext4: Add support FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This patch implements fallocate's FALLOC_FL_INSERT_RANGE for Ext4. 1) Make sure that both offset and len are block size aligned. 2) Update the i_size of inode by len bytes. 3) Compute the file's logical block number against offset. If the computed

[PATCH RESEND 4/12] xfsprog: xfsio: update xfs_io manpage for FALLOC_FL_INSERT_RANGE

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Update xfs_io manpage for FALLOC_FL_INSERT_RANGE. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- man/man8/xfs_io.8 |5 + 1 file changed, 5 insertions(+) diff --git a/man/man8/xfs_io.8

[RFC v2 07/10] fsl_bman: Add debugfs support

2015-02-16 Thread Emil Medve
From: Geoff Thorpe geoff.tho...@freescale.com Change-Id: I7eea7aea8a58ad0c28451b70801c0d101e88d263 Signed-off-by: Geoff Thorpe geoff.tho...@freescale.com --- drivers/soc/freescale/Kconfig| 7 +++ drivers/soc/freescale/Makefile | 1 + drivers/soc/freescale/bman_api.c | 19

[PATCH RESEND 0/12] fs: Introduce FALLOC_FL_INSERT_RANGE for fallocate

2015-02-16 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com In continuation of the work of making the process of non linear editing of media files faster, we introduce here the new flag FALLOC_FL_INSERT_RANGE for fallocate. This flag will work opposite to the FALLOC_FL_COLLAPSE_RANGE flag. As such, specifying

Re: [PATCH 1/3] thermal: exynos: Fix NULL pointer exception during kernel booting

2015-02-16 Thread Chanwoo Choi
Hi Lukasz, On Tue, Feb 17, 2015 at 12:06 AM, Lukasz Majewski l.majew...@samsung.com wrote: Hi Chanwoo, This patch fixes the NULL pointer exception during kernel booting. The thermal_zone _of_sensor_register() registers a sensor to DT thermal zone and then read the current temperature by

[PATCH] ab8500_fg.c: only request threaded IRQs when necessary

2015-02-16 Thread Valentin Rothberg
All 5 IRQ handlers of the driver are requested as threaded interrupt handlers. However, only 1 handler can block. The remaining 4 handlers defer the actual handling to a workqueue. Hence, 4 of 5 IRQ handlers have a considerable overhead, since they are executed in a kernel thread to schedule

Re: [PATCH 2/2] extcon: arizona: Fix headphone clamping on wm5110

2015-02-16 Thread Chanwoo Choi
Hi Charles, On Tue, Feb 17, 2015 at 12:41 AM, Charles Keepax ckee...@opensource.wolfsonmicro.com wrote: wm5110 requires slightly different configuration of the headphone clamps to other Arizona devices. Otherwise headphone detection accuracy will be way off. This patch adds the needed

Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-16 Thread Arnd Bergmann
On Monday 16 February 2015 10:38:18 Rich Felker wrote: On Mon, Feb 16, 2015 at 03:40:54PM +0100, Arnd Bergmann wrote: On Friday 13 February 2015 13:37:07 Rich Felker wrote: On Fri, Feb 13, 2015 at 05:33:46PM +, Catalin Marinas wrote: I think there is another problem with

Re: linux-next: Tree for Feb 16

2015-02-16 Thread Guenter Roeck
On Thu, Feb 16, 2012 at 04:41:44PM +1100, Stephen Rothwell wrote: Hi all, Changes since 20120215: The net-net tree gained conflicts against the net and wireless trees. The fbdev tree gained a build failure for which I reverted a commit. I reverted a commit from the rr tree that causes

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-02-16 Thread Bjorn Andersson
On Wed, Feb 11, 2015 at 3:29 AM, Mark Rutland mark.rutl...@arm.com wrote: On Thu, Jan 29, 2015 at 03:58:42AM +, Suman Anna wrote: On 01/22/2015 12:56 PM, Mark Rutland wrote: [..] That's the only way I would expect this to possibly remain a stable over time, and it's the entire reason for

Re: [PATCH RFC 2/2] ARM: pxa: transition to dmaengine phase 1

2015-02-16 Thread Robert Jarzmik
Vasily Khoruzhick anars...@gmail.com writes: On Mon, Feb 16, 2015 at 7:54 PM, Robert Jarzmik robert.jarz...@free.fr wrote: Oh, do you volunteer ? That would indeed ease up my burden. I only rebased pxa3xx_nand, so any help to submit and push is welcome. At least I can commit to review,

[no subject]

2015-02-16 Thread Sebastian Andrzej Siewior
rost...@goodmis.org, paul.gortma...@windriver.com Bcc: Subject: [PATCH RT] work-simple: Simple work queue implemenation Reply-To: This is swork patch which is in -RT since v3.18. Two users so far… From: Daniel Wagner daniel.wag...@bmw-carit.de Provides a framework for enqueuing callbacks from

Re: [PATCH 1/8] x86, fpu: unlazy_fpu: don't reset thread.fpu_counter

2015-02-16 Thread Borislav Petkov
On Mon, Feb 16, 2015 at 07:14:17PM +0100, Oleg Nesterov wrote: Should I resend? No need, I've changed it before applying. :-) Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH 2/2] iio: accel: bmc150: optimize i2c transfers in trigger handler

2015-02-16 Thread Irina Tirdea
Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the bmc150 accel driver does one i2c transfer for each axis. This has an

[PATCH 1/2] iio: accel: bmc150: use available_scan_masks

2015-02-16 Thread Irina Tirdea
Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. This also fixes the issue of accessing the buffer scan_mask instead of active_scan_mask, since these might not be

[PATCH] lib/kstrtox.c Stop parsing integer on overflow

2015-02-16 Thread Anshul Garg
From: Anshul Garg aksgarg1...@gmail.com While converting string representation to integer break the loop if overflow is detected. Signed-off-by: Anshul Garg aksgarg1...@gmail.com --- lib/kstrtox.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/kstrtox.c

[PATCH 3/3] proc: fix /proc/pid/stack for running tasks

2015-02-16 Thread Josh Poimboeuf
Reading /proc/pid/stack for a running task can show garbage. Use the new safe version of the stack saving interface. For running tasks (other than current) it won't show anything. Signed-off-by: Josh Poimboeuf jpoim...@redhat.com --- fs/proc/base.c | 2 +- 1 file changed, 1 insertion(+), 1

[GIT PULL] Updates related to suspend-to-idle for 3.20-rc1

2015-02-16 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ suspend-to-idle-3.20-rc1 to receive changes adding support for quiescing timers during suspend-to-idle for v3.20-rc1 with top-most commit c7fb90dfbef49b03e6f3fd6a32338e59cbcf34ee ACPI / idle:

Re: [RFC PATCH RESEND] vfs: Move security_inode_killpriv() after permission checks

2015-02-16 Thread Josh Boyer
On Sat, Jan 17, 2015 at 6:26 PM, Ben Hutchings b...@decadent.org.uk wrote: chown() and write() should clear all privilege attributes on a file - setuid, setgid, setcap and any other extended privilege attributes. However, any attributes beyond setuid and setgid are managed by the LSM and not

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-16 Thread Steven Rostedt
On Mon, 16 Feb 2015 21:12:40 +0100 Richard Cochran richardcoch...@gmail.com wrote: On Mon, Feb 16, 2015 at 12:18:22PM +0100, Sebastian Andrzej Siewior wrote: - CPU hotplug works in general. Steven's test script however deadlocks usually on the second invocation. Where can I

[PATCH v2 2/2] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-02-16 Thread Irina Tirdea
Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the bmg160 driver does one i2c transfer for each axis. This has an impact

[PATCH v2 0/2] bmg160 driver optimizations

2015-02-16 Thread Irina Tirdea
Adds optimization of i2c transactions in trigger handler and usage of available_scan_masks for bmg160. Changes in v2: - fallback to i2c word transactions if i2c block transactions are not supported - use available_scan_masks to let the iio core choose the values selected by the user instead of

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-16 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2015-02-16 12:18:22 [+0100]: Known issues: - xor / raid_pq I had max latency jumping up to 67563us on one CPU while the next lower max was 58us. I tracked it down to module's init code of xor and raid_pq. Both disable preemption while

[PATCH v2 1/2] iio: gyro: bmg160: use available_scan_masks

2015-02-16 Thread Irina Tirdea
Use available_scan_masks to allow the iio core to select the data to send to userspace depending on which axes are enabled, instead of doing this in the driver's interrupt handler. This also fixes the issue of accessing the buffer scan_mask instead of active_scan_mask, since these might not be

Re: chelsio: Use a more common const struct pci_device_id foo[] style

2015-02-16 Thread Joe Perches
On Mon, 2015-02-16 at 19:07 +, Casey Leedom wrote: I understand that OS-independence issues aren't something which are normally accommodated, but as long as definitions don't introduce unnecessary foreign intrusion I would hope that it would be okay. As I noted, our t4_regs.h file is

Re: [PATCH 1/4] mm: cma: add currently allocated CMA buffers list to debugfs

2015-02-16 Thread Stefan Strogin
On 13/02/15 06:10, Joonsoo Kim wrote: @@ -28,4 +28,13 @@ extern int cma_init_reserved_mem(phys_addr_t base, struct cma **res_cma); extern struct page *cma_alloc(struct cma *cma, int count, unsigned int align); extern bool cma_release(struct cma *cma,

[PATCH] blk-throttle: check stats_cpu before reading it from sysfs

2015-02-16 Thread Thadeu Lima de Souza Cascardo
When reading blkio.throttle.io_serviced in a recently created blkio cgroup, it's possible to race against the creation of a throttle policy, which delays the allocation of stats_cpu. Like other functions in the throttle code, just checking for a NULL stats_cpu prevents the following oops caused

[PATCH 1/3] staging: lustre: Convert return seq_printf(...) uses to seq_has_overflowed

2015-02-16 Thread Joe Perches
The seq_printf return value will eventually be converted to void. Convert these uses to: seq_printf(seq, ...); return seq_has_overflowed(seq); Done via cocci script: @@ struct seq_file *seq; @@ - return \(seq_printf\|seq_puts\|seq_putc\)(seq, ...); +

[PATCH 3/3] staging: lustre: Convert remaining uses of = seq_printf(...)

2015-02-16 Thread Joe Perches
The seq_printf return value will eventually be converted to void. Convert the remaining uses by hand. Signed-off-by: Joe Perches j...@perches.com --- drivers/staging/lustre/lustre/llite/lproc_llite.c | 34 +--- .../lustre/lustre/obdclass/lprocfs_status.c| 94 +++---

Re: [PATCH] iommu: prompt for IOMMU_IO_PGTABLE_LPAE on ARM archs only

2015-02-16 Thread Chris Clayton
On 02/16/15 16:32, Will Deacon wrote: Hi Chris, On Sun, Feb 15, 2015 at 11:17:19AM +, Chris Clayton wrote: When running make oldconfig for an x86_64 kernel, I was prompted for a setting for IOMMU_IO_PGTABLE_LPAE. From the prompt and the help text it appears that this config item is

Re: [PATCH 1/4] mm: cma: add currently allocated CMA buffers list to debugfs

2015-02-16 Thread Stefan Strogin
Hello SeongJae, On 13/02/15 17:18, SeongJae Park wrote: Hello, Stefan. On Fri, 13 Feb 2015, Stefan Strogin wrote: #include linux/io.h +#include linux/list.h +#include linux/proc_fs.h +#include linux/time.h Looks like `proc_fs.h` and `time.h` are not necessary. Yes, of course.

Re: [PATCH V6 03/10] USB: f81232: implement RX bulk-in ep

2015-02-16 Thread Greg KH
On Mon, Feb 16, 2015 at 03:57:55PM +0800, Peter Hung wrote: The F81232 bulk-in is RX data + LSR channel, data format is [LSR+Data][LSR+Data]. , We had reimplemented in this patch. Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 68

Re: [PATCH] usb: dwc3: Moved PCI IDS to linux/pci_ids.h

2015-02-16 Thread Greg Kroah-Hartman
On Mon, Feb 16, 2015 at 09:27:09AM -0700, Joseph Kogut wrote: It seems that the Synopsys vendor ID is used in usb/dwc2 as well, and the rest of the definitions aren't referenced outside of usb/dwc3. Would the proper approach be to move the Synopsys vendor ID to linux/pci_ids.h, remove the

Re: [PATCH] x86,vdso: fix the x86 vdso2c tool includes

2015-02-16 Thread Andy Lutomirski
On Mon, Feb 16, 2015 at 8:50 AM, Tommi Kyntola tommi.kynt...@gmail.com wrote: It happened in our custom build system. The kernel there doesn't have a dependency to the kernel headers and that's pretty much it. It's a tiny thing and I already patched our stuff, but I thought I'd let you know.

Re: [PATCH 07/35] clockevents: Make suspend/resume calls explicit

2015-02-16 Thread Rafael J. Wysocki
On Monday, February 16, 2015 01:14:42 PM Peter Zijlstra wrote: From: Thomas Gleixner t...@linutronix.de clockevents_notify() is a leftover from the early design of the clockevents facility. It's really not a notification mechanism, it's a multiplex call. We are way better off to have

[PATCH] lib/vsprintf.c:Avoid extra operation in dentry_name

2015-02-16 Thread Anshul Garg
From: Anshul Garg aksgarg1...@gmail.com Remove unnecessary increment and decrement operation in dentry_name function as after increment operation loop is breaked and then decrement operation is performed. So remove increment and decrement operation from the function. Signed-off-by: Anshul Garg

Re: [PATCH 2/2] iio: accel: kxcjk-1013: optimize i2c transfers in trigger handler

2015-02-16 Thread Peter Meerwald
Reading all axis values in one i2c transfer reduces the delays introduced by the i2c bus. In case i2c block read is not supported, fallback to reading each axis as a separate word. see comments inline below Signed-off-by: Adriana Reus adriana.r...@intel.com Signed-off-by: Irina Tirdea

[PATCH 2/3] staging: lustre: Convert uses of int rc = seq_printf(...)

2015-02-16 Thread Joe Perches
The seq_printf return value will eventually be converted to void. Convert these uses to: seq_printf(seq, ...); return seq_has_overflowed(seq); Done via cocci script: @@ struct seq_file *seq; int i; @@ - i = seq_printf(seq, + seq_printf(seq, ...);

Re: [musl] Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-16 Thread Arnd Bergmann
On Monday 16 February 2015 12:51:35 Rich Felker wrote: On Mon, Feb 16, 2015 at 06:20:18PM +0100, Arnd Bergmann wrote: Would it really be that hard to do: if (ILP32_on_64_process) tv_nsec = (int)tv_nsec; or similar? That's all that's needed. In some cases, there may also

Re: [PATCH] scsi/lpfc: use remove handler as shutdown handler

2015-02-16 Thread James Smart
Looks good. Acked-By: James Smart james.sm...@emulex.com -- james On 1/26/2015 10:18 AM, Thadeu Lima de Souza Cascardo wrote: Without a shutdown handler, some cards behave very badly after a kexec. During probe, pending DMA writes will corrupt kernel memory, for example. Using the remove

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-02-16 Thread Bjorn Andersson
On Fri, Jan 30, 2015 at 9:41 PM, Ohad Ben-Cohen o...@wizery.com wrote: [..] Since the existence of several hwblocks is still fictional (Bjorn, please confirm too?), we may prefer to introduce changes to support it only when it shows up; it all depends on the amount of changes needed. Suman,

[GIT] nfsd bugfixes for 3.20 merge window

2015-02-16 Thread J. Bruce Fields
Please pull nfsd bugfixes from: git://linux-nfs.org/~bfields/linux.git for-3.20 These are fixes for two bugs introduced during the merge window. --b. Dan Carpenter (1): nfsd: fix comparison in fh_fsid_match() J. Bruce

[PATCH] iommu/io-pgtable-arm: fix self-test WARNs on i386

2015-02-16 Thread Will Deacon
Various build/boot bots have reported WARNs being triggered by the ARM iopgtable LPAE self-tests on i386 machines. This boils down to two instances of right-shifting a 32-bit unsigned long (i.e. an iova) by more than the size of the type. On 32-bit ARM, this happens to give us zero, hence my

Re: [PATCH 1/1] kernel/fork.c: avoid division by zero

2015-02-16 Thread Heinrich Schuchardt
I am resending this mail because the linux-kernel list was not CCed. On 16.02.2015 19:23, Guenter Roeck wrote: On Mon, Feb 16, 2015 at 07:00:44PM +0100, Heinrich Schuchardt wrote: PAGE_SIZE is not guaranteed to be equal to or less than 8 times the THREAD_SIZE. E.g. architecture hexagon may

[PATCH 2/3] stacktrace: add save_stack_trace_tsk_safe()

2015-02-16 Thread Josh Poimboeuf
It isn't possible to get the stack of a running task (other than current) because we don't have the stack pointer and the stack can be inconsistent anyway. Add a safe stack saving facility which only saves the stack of the task if it's sleeping or if it's the current task. Suggested-by: Jiri

[PATCH 1/3] sched: add sched_task_call()

2015-02-16 Thread Josh Poimboeuf
Add a sched_task_call() to allow a callback function to be called with the task's rq locked. It guarantees that a task remains either active or inactive during the function call, without having to expose rq locking details outside of the scheduler. Signed-off-by: Josh Poimboeuf

Re: [PATCH 00/35] Some kernel/time cleanups

2015-02-16 Thread Rafael J. Wysocki
On Monday, February 16, 2015 01:14:35 PM Peter Zijlstra wrote: Hi, While working with Rafael on the suspend to idle machinery Thomas made these cleanups; since one might as well clean code up while you've done the work of thinking through it again. As it stands there's very little overlap

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