Re: [alsa-devel] [PATCH] ASoC: dpcm: don't do hw_param when BE has done hw_param

2014-01-13 Thread Takashi Iwai
At Mon, 13 Jan 2014 10:48:51 +, Liam Girdwood wrote: On Sat, 2014-01-11 at 10:35 +0100, Takashi Iwai wrote: At Fri, 10 Jan 2014 18:43:09 +, Liam Girdwood wrote: On Fri, 2014-01-10 at 14:46 +0100, Takashi Iwai wrote: At Fri, 10 Jan 2014 12:29:08 +, Liam Girdwood

Re: [PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-13 Thread Mark Brown
On Sun, Jan 12, 2014 at 08:34:10PM +0100, Tomasz Figa wrote: On 12.01.2014 20:29, Mark Brown wrote: On Sat, Jan 11, 2014 at 08:42:48PM +0100, Tomasz Figa wrote: This patch adds support for registering power domains of S3C64xx SoCs and binding devices to them using device tree. +#ifdef

[PATCH 1/2] BCM2835: Add dmaengine driver to device tree

2014-01-13 Thread Florian Meier
This adds the definitions for the BCM2835 dmaengine driver to the device tree. The dma-channel-mask is currently fixed. Later it should be set via the firmware. Signed-off-by: Florian Meier florian.me...@koalo.de --- arch/arm/boot/dts/bcm2835.dtsi | 21 + 1 file changed, 21

Re: [PATCH] arm64: fix typo in entry.S

2014-01-13 Thread Will Deacon
On Mon, Jan 13, 2014 at 08:57:56AM +, Neil Zhang wrote: Commit 64681787 (arm64: let the core code deal with preempt_count) changed the code, but left the comments unchanged, fix it. Signed-off-by: Neil Zhang zhan...@marvell.com --- arch/arm64/kernel/entry.S |2 +- 1 file changed,

[PATCH RESEND] ACPI: Blacklist Win8 OSI for some HP laptop 2013 models

2014-01-13 Thread Takashi Iwai
The BIOS on recent HP laptops behaves differently with Win8 OSI, e.g. no backlight control and no rfkill are available. List them in the blacklist as a workaround. This patch tries to reduce the added items by matching G1 suffix, e.g. machines are named like HP ProBook 430 G1. Bugzilla:

[PATCH 2/2] BCM2835: Add I2S driver to device tree

2014-01-13 Thread Florian Meier
This adds the definitions for the BCM2835 I2S driver to the device tree. Some GPIO settings are needed for the correct pin functions. Signed-off-by: Florian Meier florian.me...@koalo.de --- arch/arm/boot/dts/bcm2835-rpi-b.dts | 12 +++- arch/arm/boot/dts/bcm2835.dtsi | 10 ++

Re: [PATCH] ASoC: wm8804: Allow control of master clock divider in PLL generation

2014-01-13 Thread Charles Keepax
On Sun, Jan 12, 2014 at 10:11:25PM +0100, Daniel Matuschek wrote: Signed-off-by: Daniel Matuschek dan...@matuschek.net After some discussions of the patch last week, here is a new version. Simply reducing the post_table did not work, as for some frequencies both settings (MCLKDIV=0 and

Re: [PATCH v5] video: add OpenCores VGA/LCD framebuffer driver

2014-01-13 Thread Stefan Kristiansson
On Mon, Jan 13, 2014 at 11:54:30AM +0100, Geert Uytterhoeven wrote: On Mon, Jan 13, 2014 at 11:43 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: On 2014-01-13 12:20, Stefan Kristiansson wrote: OB The VGA/LCD in the subject comes from the name of the core, the core itself presents a

Re: [PATCH 2/2] pwm: imx: support polarity inversion

2014-01-13 Thread Arnd Bergmann
On Monday 13 January 2014 11:29:48 Lothar Waßmann wrote: diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi index 01c0499..e3647a8 100644 --- a/arch/arm/boot/dts/imx50.dtsi +++ b/arch/arm/boot/dts/imx50.dtsi @@ -273,7 +273,7 @@ };

[PATCH 2/2] BCM2835: Add I2S driver to device tree

2014-01-13 Thread Florian Meier
This adds the definitions for the BCM2835 I2S driver to the device tree. Some GPIO settings are needed for the correct pin functions. Signed-off-by: Florian Meier florian.me...@koalo.de --- Sorry, I forgot to disable word-wrap again arch/arm/boot/dts/bcm2835-rpi-b.dts | 12 +++-

[PATCH 0/7] zram bug fix and lock redesign

2014-01-13 Thread Minchan Kim
This patchset includes a bug fix and clean up patchset to resolve lock mess. Finally, last patch enhances write path significantly. Minchan Kim (7): zram: fix race between reset and flushing pending work zram: delay pending free request in read path zram: remove unnecessary free zram: use

[PATCH 1/7] zram: fix race between reset and flushing pending work

2014-01-13 Thread Minchan Kim
Dan and Sergey reported that there is a racy between reset and flushing of pending work so that it could make oops by freeing zram-meta in reset while zram_slot_free can access zram-meta if new request is adding during the race window. This patch moves flush after taking init_lock so it prevents

[PATCH 7/7] zram: remove unnecessary lock

2014-01-13 Thread Minchan Kim
read/write lock's performance is really bad compared to mutex_lock in write most workload.(AFAIR, recenlty there were some effort to enhance it but not sure it got merged). Anyway, we don't need such big granuarity read-write lock any more so this patch replaces read/write lock with mutex. CPU

[PATCH 4/7] zram: use atomic operation for stat

2014-01-13 Thread Minchan Kim
Some of fields in zram-stats are protected by zram-lock which is rather coarse-grained so let's use atomic operation without explict locking. Signed-off-by: Minchan Kim minc...@kernel.org --- drivers/block/zram/zram_drv.c | 20 ++-- drivers/block/zram/zram_drv.h | 16

[PATCH 5/7] zram: introduce zram-tb_lock

2014-01-13 Thread Minchan Kim
Currently, table is protected by zram-lock but it's rather coarse-grained lock and it makes hard for scalibility. Let's use own lock instead of depending on zram-lock. Signed-off-by: Minchan Kim minc...@kernel.org --- drivers/block/zram/zram_drv.c | 26 +-

[PATCH 6/7] zram: remove workqueue for freeing removed pending slot

2014-01-13 Thread Minchan Kim
[1] introduced free request pending code to avoid scheduling by mutex under spinlock and it was a mess which made code lenghty and increased overhead. Now, we don't need zram-lock any more to free slot so this patch reverts it and then, tb_lock should protect it. [1] a0c516c, zram: don't grab

[PATCH 3/7] zram: remove unnecessary free

2014-01-13 Thread Minchan Kim
[1] introduced pending zram slot free in zram's write path in case of missing slot free by memory allocation failure in zram_slot_free_notify but it is not necessary because we have already freed the slot right before overwriting. [1] [a0c516cbfc, zram: don't grab mutex in zram_slot_free_noity]

Re: [PATCH] spi: Kill superfluous cast in spi_w8r16()

2014-01-13 Thread Mark Brown
On Sun, Jan 12, 2014 at 01:59:06PM +0100, Geert Uytterhoeven wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org spi_write_then_read() takes a void * for rxbuf, so there's no need to cast the buffer pointer to u8 *. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] spi: core: Improve tx/rx_nbits check comments

2014-01-13 Thread Mark Brown
On Sun, Jan 12, 2014 at 02:00:29PM +0100, Geert Uytterhoeven wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org - Rephrase the comments about tx/rx_nbits validity checks, - Remove the stale comment about SPI_3WIRE (the code it refers to was removed in commit

[PATCH 2/7] zram: delay pending free request in read path

2014-01-13 Thread Minchan Kim
Sergey Senozhatsky reporetd we don't need to handle pending free request every I/O so that this patch removes it in read path while we remain it in write path. Let's consider below example. Swap subsystem ask to zram A block free by swap_slot_free_notify but zram had been pended it without real

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Jan Beulich
On 13.01.14 at 11:14, Olaf Hering o...@aepfle.de wrote: --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -1634,37 +1634,22 @@ blkfront_closing(struct blkfront_info *info) static void blkfront_setup_discard(struct blkfront_info *info) { - int err; - char

Re: [alsa-devel] [PATCH] ASoC: simple-card: fix one bug to writing to the platform data

2014-01-13 Thread Mark Brown
On Mon, Jan 13, 2014 at 09:09:43AM +, li.xi...@freescale.com wrote: @Mark, Since what Jean-Francios is concerned by is another issue apart from this patch itself and being discussed, can you apply the patch? I thought I'd already applied it but if I didn't you'll need to resend.

Re: [PATCH RESEND] ACPI: Blacklist Win8 OSI for some HP laptop 2013 models

2014-01-13 Thread Rafael J. Wysocki
On Monday, January 13, 2014 12:14:18 PM Takashi Iwai wrote: The BIOS on recent HP laptops behaves differently with Win8 OSI, e.g. no backlight control and no rfkill are available. List them in the blacklist as a workaround. This patch tries to reduce the added items by matching G1 suffix,

[PATCH RESEND] hp_accel: Add a new PnP ID HPQ6007 for new HP laptops

2014-01-13 Thread Takashi Iwai
The DriveGuard chips on the new HP laptops are with a new PnP ID HPQ6007. It should be compatible with older chips. Acked-by: Éric Piel eric.p...@tremplin-utc.net Cc: sta...@vger.kernel.org Signed-off-by: Takashi Iwai ti...@suse.de --- Matthew, this seems to be forgotten for ages,

Re: [PATCH RESEND] ACPI: Blacklist Win8 OSI for some HP laptop 2013 models

2014-01-13 Thread Takashi Iwai
At Mon, 13 Jan 2014 12:46:31 +0100, Rafael J. Wysocki wrote: On Monday, January 13, 2014 12:14:18 PM Takashi Iwai wrote: The BIOS on recent HP laptops behaves differently with Win8 OSI, e.g. no backlight control and no rfkill are available. List them in the blacklist as a workaround.

[3.13-rc regression] Unbreak Loongson2 and r4k-generic flush icache range

2014-01-13 Thread Alexandre Oliva
Commit 14bd8c08, that replaced Loongson2-specific ifdefs with cpu tests, inverted the CPU test in local_r4k_flush_icache_range. Loongson2 won't boot up using the generic icache flush code. Presumably other CPUs might face other problems when presented with Loongson2-specific icache flush code

[GIT PULL] writeback data corruption fix

2014-01-13 Thread Fengguang Wu
Linus, Please pull a writeback fix, it has been in linux-next for one month. The following changes since commit 374b105797c3d4f29c685f3be535c35f5689b30e: Linux 3.13-rc3 (2013-12-06 09:34:04 -0800) are available in the git repository at:

[PATCH 0/2] mm/memblock: Excluded memory, free_all_bootmem

2014-01-13 Thread Philipp Hachtmann
These two patches fit (only) on top of linux-next! The first patch changes back the behavior of free_all_bootmem() to a more generic way: With CONFIG_DISCARD_MEMBLOCK memblock.memory and memblock.reserved will be freed (if allocated, of course). Removed the debugfs dependency. Think this is

[PATCH 1/2] mm/nobootmem: free_all_bootmem again

2014-01-13 Thread Philipp Hachtmann
get_allocated_memblock_reserved_regions_info() should work if it is compiled in. Extended the ifdef around get_allocated_memblock_memory_regions_info() to include get_allocated_memblock_reserved_regions_info() as well. Similar changes in nobootmem.c/free_low_memory_core_early() where the two

[PATCH 2/2] mm/memblock: Add support for excluded memory areas

2014-01-13 Thread Philipp Hachtmann
Add a new memory state nomap to memblock. This can be used to truncate the usable memory in the system without forgetting about what is really installed. Signed-off-by: Philipp Hachtmann pha...@linux.vnet.ibm.com --- include/linux/memblock.h | 50 ++-- mm/memblock.c| 307

Re: [BUG] at include/linux/page-flags.h:415 (PageTransHuge)

2014-01-13 Thread Daniel Borkmann
On 01/13/2014 11:16 AM, Vlastimil Babka wrote: On 01/11/2014 02:32 PM, Daniel Borkmann wrote: On 01/11/2014 07:22 AM, Andrew Morton wrote: On Fri, 10 Jan 2014 19:23:26 +0100 Daniel Borkmann borkm...@iogearbox.net wrote: This is being reliably triggered for each mmaped() packet(7) socket

Re: [PATCH] imx-drm: parallel-display: honor 'native-mode' property when selecting video mode from DT

2014-01-13 Thread Marek Vasut
On Monday, January 13, 2014 at 11:24:33 AM, Lothar Waßmann wrote: This patch allows to select a specific video mode from a list of modes defined in DT by setting the 'native-mode' property appropriately. Since all current users of this driver have only one mode defined in their .dts files,

build_skb() and data corruption

2014-01-13 Thread Jonas Jensen
Please help, I think I see memory corruption with a driver recently added to linux-next. The following error occur downloading a large file with wget (or ncftp): read error: Bad address wget exits and leaves the file unfinished. The error goes away when build_skb() is patched out, in this case

[PATCH] x86: Add check for number of available vectors before CPU down [v8]

2014-01-13 Thread Prarit Bhargava
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64791 When a cpu is downed on a system, the irqs on the cpu are assigned to other cpus. It is possible, however, that when a cpu is downed there aren't enough free vectors on the remaining cpus to account for the vectors from the cpu that is

Re: [PATCH 2/7] ARM: perf_event: Support percpu irqs for the CPU PMU

2014-01-13 Thread Will Deacon
On Fri, Jan 10, 2014 at 07:36:57PM +, Stephen Boyd wrote: On 01/10, Will Deacon wrote: On Thu, Jan 09, 2014 at 07:17:29PM +, Stephen Boyd wrote: We can avoid the hacky cast of the per-cpu dev token by using the cpu_pmu pointer directly, but we'll still need to pass something to

[PATCH] GARP protocol should not send PDUs larger than MTU

2014-01-13 Thread Vitaly V. Bursov
If a network interface has many vlan sub-interfaces (~400 or more) with enabled GVRP, PDUs may become larger than the interface PDU. GARP packet generator can send multiple PDUs, but it relies heavily on skb_tailroom() not exceeding maximal packet size. Patch to fix this issue is proposed, I'm

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Olaf Hering
On Mon, Jan 13, Jan Beulich wrote: You can't do this in one go - the first two and the last one may be set independently (and are independent in their meaning), and hence need to be queried independently (xenbus_gather() fails on the first absent value). Yes, thats the purpose. Since the

Re: [PATCH 3/3] gpio: MAX6650/6651 support

2014-01-13 Thread Laszlo Papp
On Mon, Jan 13, 2014 at 9:43 AM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Jan 8, 2014 at 3:59 PM, Laszlo Papp lp...@kde.org wrote: On Tue, Jan 7, 2014 at 2:33 PM, Linus Walleij linus.wall...@linaro.org wrote: As I can see this is really a GPIO+pin control driver it shall be

Re: [PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-13 Thread Tomasz Figa
On 13.01.2014 12:09, Mark Brown wrote: On Sun, Jan 12, 2014 at 08:34:10PM +0100, Tomasz Figa wrote: On 12.01.2014 20:29, Mark Brown wrote: On Sat, Jan 11, 2014 at 08:42:48PM +0100, Tomasz Figa wrote: This patch adds support for registering power domains of S3C64xx SoCs and binding devices

Re: [PATCH 3/3] gpio: MAX6650/6651 support

2014-01-13 Thread Laszlo Papp
On Mon, Jan 13, 2014 at 9:48 AM, Linus Walleij linus.wall...@linaro.org wrote: On Mon, Jan 13, 2014 at 10:22 AM, Laszlo Papp lp...@kde.org wrote: I was giving a second thought to this. Would it be acceptable to add the gpio driver now, and once the need arises, add the pinctrl thin layer on

Re: [BUG] Kernel OOPS when reboot if I set reboot=efi,{warm, cold} (and some questions :-)

2014-01-13 Thread Matt Fleming
On Fri, 03 Jan, at 04:39:38PM, Madper Xie wrote: Howdy Folks, Happy new yeah, happy new bug! With a uefi system, I meet following panic when reboot after I adding `reboot=efi,warm` [call trace]: 0[ 698.736637] reboot: Restarting system 5[ 698.737407] reboot: machine restart 1[

Re: [PATCH RFC 06/10] ARM: s3c64xx: pm: Add device tree based power domain instantiation

2014-01-13 Thread Mark Brown
On Mon, Jan 13, 2014 at 01:13:52PM +0100, Tomasz Figa wrote: Power domain control registers are part of the system controller block, which uses the samsung,s3c64*-clock compatible string. I know this is a bit unfortunate, but all registers of this IP block are mapped at the same page and some

Re: [PATCH] of: i2c: Export single device registration method

2014-01-13 Thread Wolfram Sang
On Tue, Nov 05, 2013 at 07:57:20PM +0200, Pantelis Antoniou wrote: Dynamically inserting i2c client device nodes requires the use of a single device registration method. Rework and export it. Don't be put off by the weird patch format, it's a simple move of the operations applied on each

Re: [PATCH 1/4] x86, ptdump: Add the functionality to dump an arbitrary pagetable

2014-01-13 Thread Dave Young
How about do not limit to only if (pgd) case, instead do something like below: set dump_to_dmesg as a module parameter X86_PTDUMP is not a module. Hmm, I just see the module macros in the code, since it's a bool Kconfig I think the dump_pagetables.c need a cleanup, remove the #include

Re: [PATCH 11/11] ext4: add cross rename support

2014-01-13 Thread Jan Kara
On Wed 08-01-14 23:10:15, Miklos Szeredi wrote: From: Miklos Szeredi mszer...@suse.cz Implement RENAME_EXCHANGE flag in renameat2 syscall. Yes, this is much better than last time. Thanks for the work. You can add Reviewed-by: Jan Kara j...@suse.cz One nitpick below... Signed-off-by:

[PATCH 2/3] power: clock_ops.c: check return of clk_enable() in pm_clk_resume()

2014-01-13 Thread Ben Dooks
The clk_enable() call in the pm_clk_resume() call returns an error that is not being checked. If clk_enable() fails then we should not set the state of the clock to PCE_STATUS_ENABLED. Note, the issue of warning the user if this fails has not been addressed in this patch as this is not the only

[PATCH 1/3] power: clock_ops.c: fixup clk prepare/unprepare count

2014-01-13 Thread Ben Dooks
The drivers/base/power/clock_ops.c file is causing warnings from the clock driver (as shown below) due to failing to do a clk_prepare() call before enabling a clock. It also fails to check the balance of prepare/unprepare as __pm_clk_remove() do clk_disable_unprepare() call. This bug has probably

[PATCH 3/3] power: clock_ops.c: report clock errors from clk_enable()

2014-01-13 Thread Ben Dooks
If clk_enable() fails, then print a message so that the user can see what is happening instead of silently failing to enable the clock. Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Pavel Machek pa...@ucw.cz Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: linux...@vger.kernel.org Cc:

[PATCH] ARM: shmobile: compile drivers/sh for CONFIG_ARCH_SHMOBILE_MULTI

2014-01-13 Thread Ben Dooks
If the kernel is built to support multi-arm configurmation with shmobile support built in, then the drivers/sh is not built. This contains drivers that are essential to devices support by that configuration, including the PM runtime code in drivers/sh/pm_runtime.c (which implicitly enables the bus

Re: [PATCH 2/2] pwm: imx: support polarity inversion

2014-01-13 Thread Lothar Waßmann
Hi, Arnd Bergmann wrote: On Monday 13 January 2014 11:29:48 Lothar Waßmann wrote: diff --git a/arch/arm/boot/dts/imx50.dtsi b/arch/arm/boot/dts/imx50.dtsi index 01c0499..e3647a8 100644 --- a/arch/arm/boot/dts/imx50.dtsi +++ b/arch/arm/boot/dts/imx50.dtsi @@ -273,7 +273,7 @@

Re: [PATCH 2/2] ARM: dts: imx53: add support for Ka-Ro TX53 modules

2014-01-13 Thread Shawn Guo
On Mon, Jan 13, 2014 at 11:32:38AM +0100, Lothar Waßmann wrote: This patch adds support for the Ka-Ro electronics GmbH TX53 modules. There are two distinct module types. One with an LVDS display interface and SATA support, the other with a parallel LCD interface and no SATA interface.

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Jan Beulich
On 13.01.14 at 13:01, Olaf Hering o...@aepfle.de wrote: On Mon, Jan 13, Jan Beulich wrote: You can't do this in one go - the first two and the last one may be set independently (and are independent in their meaning), and hence need to be queried independently (xenbus_gather() fails on the

Re: [PATCH] mm: nobootmem: avoid type warning about alignment value

2014-01-13 Thread Russell King - ARM Linux
On Sun, Jan 12, 2014 at 10:42:00AM -0500, Santosh Shilimkar wrote: On Sunday 12 January 2014 05:59 AM, Russell King - ARM Linux wrote: On Mon, Dec 09, 2013 at 08:02:30PM -0500, Santosh Shilimkar wrote: On Monday 09 December 2013 07:54 PM, Russell King - ARM Linux wrote: The underlying

Re: [PATCH] spi/pxa2xx: initialize DMA channels to -1 to prevent inadvertent match

2014-01-13 Thread Mark Brown
On Mon, Jan 13, 2014 at 11:17:04AM +0200, Mika Westerberg wrote: Commit cddb339badb0 (spi/pxa2xx: convert to dma_request_slave_channel_compat()) converted the driver to use ACPI provided DMA helpers but it forgot to initialize the platform data for the channels to -1. Failing to do so will

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Olaf Hering
On Mon, Jan 13, Jan Beulich wrote: On 13.01.14 at 13:01, Olaf Hering o...@aepfle.de wrote: On Mon, Jan 13, Jan Beulich wrote: You can't do this in one go - the first two and the last one may be set independently (and are independent in their meaning), and hence need to be queried

Re: [PATCH 00/11] cross rename v3

2014-01-13 Thread Tetsuo Handa
Miklos Szeredi wrote: Please consider for -next (3.14). Excuse me, but did you explain to CONFIG_SECURITY_PATH=y users? I don't see changes in TOMOYO and AppArmor directories. TOMOYO might want to use new keyword like file swapname rather than using file rename for cross rename operation. -- To

[PATCH V2 1/2] mm/nobootmem: free_all_bootmem again

2014-01-13 Thread Philipp Hachtmann
get_allocated_memblock_reserved_regions_info() should work if it is compiled in. Extended the ifdef around get_allocated_memblock_memory_regions_info() to include get_allocated_memblock_reserved_regions_info() as well. Similar changes in nobootmem.c/free_low_memory_core_early() where the two

[PATCH V2 2/2] mm/memblock: Add support for excluded memory areas

2014-01-13 Thread Philipp Hachtmann
Add a new memory state nomap to memblock. This can be used to truncate the usable memory in the system without forgetting about what is really installed. Signed-off-by: Philipp Hachtmann pha...@linux.vnet.ibm.com --- include/linux/memblock.h | 50 +++-- mm/Kconfig | 3 +

[PATCH V2 0/2] mm/memblock: Excluded memory, free_all_bootmem

2014-01-13 Thread Philipp Hachtmann
These two patches fit (only) on top of linux-next! The first patch changes back the behavior of free_all_bootmem() to a more generic way: With CONFIG_DISCARD_MEMBLOCK memblock.memory and memblock.reserved will be freed (if allocated, of course). Removed the debugfs dependency. Think this is

Re: [PATCH V2 0/8] sched: cleanup trigger_load_balance

2014-01-13 Thread Daniel Lezcano
On 01/06/2014 01:32 PM, Peter Zijlstra wrote: On Mon, Jan 06, 2014 at 12:34:37PM +0100, Daniel Lezcano wrote: This patchset does a cleanup on the parameters passed from the function 'trigger_load_balance' to the underneath functions. Whee.. it applies ;-) Hi Peter, do you consider it for

[PATCH 3/7] seqno-fence: Hardware dma-buf implementation of fencing (v4)

2014-01-13 Thread Maarten Lankhorst
This type of fence can be used with hardware synchronization for simple hardware that can block execution until the condition (dma_buf[offset] - value) = 0 has been met. A software fallback still has to be provided in case the fence is used with a device that doesn't support this mechanism. It is

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Ian Campbell
On Mon, 2014-01-13 at 12:34 +, Jan Beulich wrote: On 13.01.14 at 13:01, Olaf Hering o...@aepfle.de wrote: On Mon, Jan 13, Jan Beulich wrote: You can't do this in one go - the first two and the last one may be set independently (and are independent in their meaning), and hence need

[PATCH 1/7] sched: allow try_to_wake_up to be used internally outside of core.c

2014-01-13 Thread Maarten Lankhorst
The kernel fence implementation doesn't use event queues, but needs to perform the same wake up. The symbol is not exported, since the fence implementation is not built as a module. Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com --- include/linux/wait.h |1 +

[PATCH 0/7] dma-buf synchronization patches

2014-01-13 Thread Maarten Lankhorst
The following series implements fence and converts dma-buf and android sync to use it. Patch 6 and 7 add support for polling to dma-buf, blocking until all fences are signaled. --- Maarten Lankhorst (7): sched: allow try_to_wake_up to be used internally outside of core.c fence:

[PATCH 2/7] fence: dma-buf cross-device synchronization (v16)

2014-01-13 Thread Maarten Lankhorst
A fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl to display the next frame of graphics after kicking the GPU but while the GPU is still rendering.

[PATCH V3 1/2] mm/nobootmem: free_all_bootmem again

2014-01-13 Thread Philipp Hachtmann
get_allocated_memblock_reserved_regions_info() should work if it is compiled in. Extended the ifdef around get_allocated_memblock_memory_regions_info() to include get_allocated_memblock_reserved_regions_info() as well. Similar changes in nobootmem.c/free_low_memory_core_early() where the two

[PATCH 4/7] dma-buf: use reservation objects

2014-01-13 Thread Maarten Lankhorst
This allows reservation objects to be used in dma-buf. it's required for implementing polling support on the fences that belong to a dma-buf. Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com --- drivers/base/dma-buf.c | 22 --

[PATCH 6/7] reservation: add support for fences to enable cross-device synchronisation

2014-01-13 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com --- include/linux/reservation.h | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/include/linux/reservation.h b/include/linux/reservation.h index 813dae960ebd..92c4851b5a39 100644 ---

[PATCH 7/7] dma-buf: add poll support

2014-01-13 Thread Maarten Lankhorst
Thanks to Fengguang Wu for spotting a missing static cast. Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com --- drivers/base/dma-buf.c | 102 +++ include/linux/dma-buf.h | 12 ++ 2 files changed, 114 insertions(+) diff --git

[PATCH V3 0/2] mm/memblock: Excluded memory, free_all_bootmem

2014-01-13 Thread Philipp Hachtmann
These two patches fit (only) on top of linux-next! The first patch changes back the behavior of free_all_bootmem() to a more generic way: With CONFIG_DISCARD_MEMBLOCK memblock.memory and memblock.reserved will be freed (if allocated, of course). Removed the debugfs dependency. Think this is

[PATCH 5/7] android: convert sync to fence api, v3

2014-01-13 Thread Maarten Lankhorst
Android syncpoints can be mapped to a timeline. This removes the need to maintain a separate api for synchronization. I've left the android trace events in place, but the core fence events should already be sufficient for debugging. v2: - Call fence_remove_callback in sync_fence_free if not all

[PATCH V3 2/2] mm/memblock: Add support for excluded memory areas

2014-01-13 Thread Philipp Hachtmann
Add a new memory state nomap to memblock. This can be used to truncate the usable memory in the system without forgetting about what is really installed. Signed-off-by: Philipp Hachtmann pha...@linux.vnet.ibm.com --- arch/s390/Kconfig| 1 + include/linux/memblock.h | 50 +++--

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Jan Beulich
On 13.01.14 at 14:00, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2014-01-13 at 12:34 +, Jan Beulich wrote: On 13.01.14 at 13:01, Olaf Hering o...@aepfle.de wrote: On Mon, Jan 13, Jan Beulich wrote: You can't do this in one go - the first two and the last one may be set

Re: [PATCH 4/4] efi: Make efi virtual runtime map passing more robust

2014-01-13 Thread Dave Young
On Mon, Jan 13, 2014 at 11:27:34AM +0100, Borislav Petkov wrote: On Mon, Jan 13, 2014 at 01:40:39PM +0800, Dave Young wrote: Adding a safeguard check for desc_size is better though currently it's impossible for the desc_size PAGE_SIZE? Huh, what? sizeof(efi_memory_desc_t) is only 40

Re: [PATCH] of: i2c: Export single device registration method

2014-01-13 Thread Pantelis Antoniou
Hi Wolfram, On Jan 13, 2014, at 2:17 PM, Wolfram Sang wrote: On Tue, Nov 05, 2013 at 07:57:20PM +0200, Pantelis Antoniou wrote: Dynamically inserting i2c client device nodes requires the use of a single device registration method. Rework and export it. Don't be put off by the weird patch

Re: [PATCH RFC v2 0/4] perf: IRQ-bound performance events

2014-01-13 Thread Alexander Gordeev
On Sun, Jan 05, 2014 at 09:59:49AM -0800, Andi Kleen wrote: This is version 2 of RFC perf: IRQ-bound performance events. That is an introduction of IRQ-bound performance events - ones that only count in a context of a hardware interrupt handler. Ingo suggested to extend this functionality

Re: build_skb() and data corruption

2014-01-13 Thread Arnd Bergmann
On Monday 13 January 2014, Jonas Jensen wrote: Please help, I think I see memory corruption with a driver recently added to linux-next. The following error occur downloading a large file with wget (or ncftp): read error: Bad address wget exits and leaves the file unfinished. The error

Re: [3.13-rc regression] Unbreak Loongson2 and r4k-generic flush icache range

2014-01-13 Thread Sergei Shtylyov
Hello. On 13-01-2014 15:26, Alexandre Oliva wrote: Commit 14bd8c08, that replaced Loongson2-specific ifdefs with cpu tests, Please also specify that commit's summary line in parens. inverted the CPU test in local_r4k_flush_icache_range. Loongson2 won't boot up using the generic icache

Re: [PATCH] Driver/IFC: Move Freescale IFC driver to a common driver

2014-01-13 Thread Arnd Bergmann
On Monday 13 January 2014, Prabhakar Kushwaha wrote: Freescale IFC controller has been used for mpc8xxx. It will be used for ARM-based SoC as well. This patch moves the driver to driver/misc and fix the header file includes. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com No

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Ian Campbell
On Mon, 2014-01-13 at 13:16 +, Jan Beulich wrote: On 13.01.14 at 14:00, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2014-01-13 at 12:34 +, Jan Beulich wrote: On 13.01.14 at 13:01, Olaf Hering o...@aepfle.de wrote: On Mon, Jan 13, Jan Beulich wrote: You can't do

Re: [PATCH] nfs: don't update isize when NFS_INO_LAYOUTCOMMITTING in nfs_update_inode

2014-01-13 Thread Trond Myklebust
On Jan 13, 2014, at 2:55, shaobingqing shaobingq...@bwstor.com.cn wrote: When a file is in NFS_INO_LAYOUTCOMMITING status, its isize perhaps has not been transferred to the metadate server. So the isize getting from the metadata server perhaps is out of date and cannot be used to update

Re: [RFC/PATCH] Implement new PTRACE_EVENT_SYSCALL_{ENTER,EXIT}

2014-01-13 Thread Denys Vlasenko
On Mon, Jan 6, 2014 at 11:52 PM, Sergio Durigan Junior sergi...@redhat.com wrote: The other nice thing that I have implemented is the ability to obtain the syscall number related to the event by using PTRACE_GET_EVENTMSG. This way, we don't need to inspect registers anymore when we want to

[PATCH] x86, irq Fix kbuild warning in smp_irq_move_cleanup_interrupt()

2014-01-13 Thread Prarit Bhargava
kbuild, 0day kernel build service, outputs the warning: arch/x86/kernel/apic/io_apic.c:2211 smp_irq_move_cleanup_interrupt() warn: always true condition '(irq = -1) = (0-u32max = (-1))' because irq is defined as an unsigned int instead of an int. Fix this trivial error by redefining irq as a

Re: build_skb() and data corruption

2014-01-13 Thread Ben Hutchings
On Mon, 2014-01-13 at 12:47 +0100, Jonas Jensen wrote: Please help, I think I see memory corruption with a driver recently added to linux-next. The following error occur downloading a large file with wget (or ncftp): read error: Bad address wget exits and leaves the file unfinished.

Re: [PATCH 2/2] Input: edt-ft5x06: Add DT support

2014-01-13 Thread Mark Rutland
On Mon, Jan 13, 2014 at 10:17:04AM +, Lothar Waßmann wrote: This patch allows the edt-ft5x06 multitouch panel driver to be configured via DT. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- .../bindings/input/touchscreen/edt-ft5x06.txt | 31

Re: [PATCH 0/9] re-shrink 'struct page' when SLUB is on.

2014-01-13 Thread Fengguang Wu
So, I think that it is better to get more benchmark results to this patchset for convincing ourselves. If possible, how about asking Fengguang to run whole set of his benchmarks before going forward? Cc'ing him. My pleasure. Is there a git tree for the patches? Git trees are most

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread David Vrabel
On 13/01/14 13:16, Jan Beulich wrote: On 13.01.14 at 14:00, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2014-01-13 at 12:34 +, Jan Beulich wrote: On 13.01.14 at 13:01, Olaf Hering o...@aepfle.de wrote: On Mon, Jan 13, Jan Beulich wrote: You can't do this in one go - the first two

[PATCH 0/4] module autoloading fixes

2014-01-13 Thread Zhang Rui
Hi, all, This patch set fixes a couple of module autoloading problem. Patch 1/4 fixes a bug in ACPI device 'modalias' and 'uevent' attributes, although the bug can rarely be reproduced (only if there is an output error of snprintf, or the ids are longer than 1024 bytes) Patch

[PATCH 1/4] ACPI: fix create_modalias() return value handling

2014-01-13 Thread Zhang Rui
Currently, create_modalias() handles the output truncated case in an improper way (return -EINVAL). Plus, acpi_device_uevent() and acpi_device_modalias_show() do improper check for the create_modalias() return value as well. This patch fixes create_modalias() to return -EINVAL if there is an

[PATCH 2/4] ACPI: add module autoloading support for ACPI enumerated devices

2014-01-13 Thread Zhang Rui
An ACPI enumerated device may have its compatible id strings. To support the compatible ACPI ids (acpi_device-pnp.ids), we introduced acpi_driver_match_device() to match the driver-acpi_match_table and acpi_device-pnp.ids. For those drivers, MODULE_DEVICE_TABLE(acpi, xxx) is used to exports the

[PATCH 4/4] OF: introduce OF style 'modalias' support for platform bus.

2014-01-13 Thread Zhang Rui
Fix a problem that, the platform bus supports the OF style modalias in .uevent() call, but not in its device' modalias sysfs attribute. Signed-off-by: Zhang Rui rui.zh...@intel.com --- drivers/base/platform.c |4 drivers/of/device.c |3 +++ include/linux/of_device.h |6

[PATCH 3/4] fix module autoloading for ACPI enumerated devices

2014-01-13 Thread Zhang Rui
ACPI enumerated devices has ACPI style _HID and _CID strings, all of these strings can be used for both driver loading and matching. But currently, in Platform, I2C and SPI bus, only the ACPI style driver matching is supported by invoking acpi_driver_match_device() in bus .match() callback. This

[RFC] dma-mapping: Provide write-combine allocations

2014-01-13 Thread Thierry Reding
Provide an implementation for dma_{alloc,free}_writecombine() when the architecture supports DMA attributes. Signed-off-by: Thierry Reding tred...@nvidia.com --- arch/arm/include/asm/dma-mapping.h | 16 include/linux/dma-mapping.h| 16 2 files changed,

Re: [PATCH 1/1] When timestamping is enabled, stmmac_tx_clean will call stmmac_get_tx_hwtstamp to get tx TS. It's possible that skb is NULL because there are other network frames that use several desc

2014-01-13 Thread Bruce Liu
On Sun, Jan 12, 2014 at 12:38:28PM +0100, Daniel Borkmann wrote: On 01/12/2014 10:39 AM, Bruce Liu wrote: When timestamping is enabled, stmmac_tx_clean will call stmmac_get_tx_hwtstamp to get tx TS. It's possible that skb is NULL because there are other network frames that use several

Re: [Xen-devel] [PATCH v2] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Jan Beulich
On 13.01.14 at 14:45, David Vrabel david.vra...@citrix.com wrote: On 13/01/14 13:16, Jan Beulich wrote: On 13.01.14 at 14:00, Ian Campbell ian.campb...@citrix.com wrote: On Mon, 2014-01-13 at 12:34 +, Jan Beulich wrote: On 13.01.14 at 13:01, Olaf Hering o...@aepfle.de wrote: On Mon, Jan

Re: [PATCH 1/2] efi: Fix krealloc defect

2014-01-13 Thread Matt Fleming
On Fri, 03 Jan, at 04:08:47PM, Joe Perches wrote: krealloc should use a temporary pointer for allocations and check the temporary pointer returned against NULL too. Signed-off-by: Joe Perches j...@perches.com cc: Matthew Garrett matthew.garr...@nebula.com --- arch/x86/platform/efi/efi.c |

Re: [PATCH] mm/mlock: fix BUG_ON unlocked page for nolinear VMAs

2014-01-13 Thread Vlastimil Babka
On 01/10/2014 06:48 PM, Motohiro Kosaki wrote: diff --git a/mm/rmap.c b/mm/rmap.c index 068522d..b99c742 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -1389,9 +1389,19 @@ static int try_to_unmap_cluster(unsigned long cursor, unsigned int *mapcount, BUG_ON(!page || PageAnon(page));

Re: [PATCH 2/3] CLK: uninline clk_prepare_enable() and clk_disable_unprepare()

2014-01-13 Thread Andy Shevchenko
Dmitry, what is the status of this patchseries? Are you continue to make it upstream? On Mon, Apr 8, 2013 at 1:19 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 17 December 2012 11:12, Dmitry Torokhov dmitry.torok...@gmail.com wrote: They do not _have_ to be non-inline, I think we should

Re: [PATCH 2/2] efi: style neatening

2014-01-13 Thread Matt Fleming
On Fri, 03 Jan, at 04:08:48PM, Joe Perches wrote: Coalesce formats and remove spaces before tabs. Move __initdata after the variable declaration. Signed-off-by: Joe Perches j...@perches.com --- arch/x86/platform/efi/efi.c | 30 +- 1 file changed, 13

[PATCH 3.5 03/96] Input: usbtouchscreen - separate report and transmit buffer size handling

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Christian Engelmayer christian.engelma...@frequentis.com commit 4ef38351d770cc421f4a0c7a849fd13207fc5741 upstream. This patch supports the separate handling of the USB transfer buffer

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