[Regression x2, 3.13-git] virtio block mq hang, iostat busted on virtio devices

2013-11-19 Thread Dave Chinner
Hi Jens, I was just running xfstests on a 3.13 kernel that has had the block layer changed merged into it. generic/269 on XFS is hanging on a 2 CPU VM using virtio,cache=none for the block devices under test, with many (130+) threads stuck below submit_bio() like this: Call Trace:

Re: [PATCH 2/4] perf tools: Allow '--inherit' as the negation of '--no-inherit'

2013-11-19 Thread Adrian Hunter
On 18/11/13 23:15, David Ahern wrote: On 11/18/13, 2:55 AM, Adrian Hunter wrote: Long options can be negated by prefixing them with 'no-'. However options that already start with 'no-', such as '--no-inherit' result in ugly double 'no's. Avoid that by accepting that the removal of 'no-'

[PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb

2013-11-19 Thread Jason Wang
We need to drop the refcnt of page when we fail to allocate an skb for frag list, otherwise it will be leaked. The bug was introduced by commit 2613af0ed18a11d5c566a81f9a6510b73180660a (virtio_net: migrate mergeable rx buffers to page frag allocators). Cc: Michael Dalton mwdal...@google.com Cc:

Re: [PATCH 1/4] Squashfs: Refactor decompressor interface and code (V3)

2013-11-19 Thread Minchan Kim
On Thu, Nov 14, 2013 at 05:14:16AM +, Phillip Lougher wrote: The decompressor interface and code was written from the point of view of single-threaded operation. In doing so it mixed a lot of single-threaded implementation specific aspects into the decompressor code and elsewhere which

Re: [PATCH 2/4] Squashfs: Generalise paging handling in the decompressors (V3)

2013-11-19 Thread Minchan Kim
On Thu, Nov 14, 2013 at 05:14:17AM +, Phillip Lougher wrote: Further generalise the decompressors by adding a page handler abstraction. This adds helpers to allow the decompressors to access and process the output buffers in an implementation independant manner. This allows different

Re: [PATCH 3/4] Squashfs: Directly decompress into the page cache for file data (V3)

2013-11-19 Thread Minchan Kim
On Thu, Nov 14, 2013 at 05:14:18AM +, Phillip Lougher wrote: This introduces an implementation of squashfs_readpage_block() that directly decompresses into the page cache. This uses the previously added page handler abstraction to push down the necessary kmap_atomic/kunmap_atomic

Re: [PATCH 4/4] Squashfs: Check stream is not NULL in decompressor_multi.c

2013-11-19 Thread Minchan Kim
On Thu, Nov 14, 2013 at 05:14:19AM +, Phillip Lougher wrote: Fix static checker complaint that stream is not checked in squashfs_decompressor_destroy(). Reported-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Phillip Lougher phil...@squashfs.org.uk Thanks for handling my

Re: [PATCH] mfd: Make MFD_AS3722 depend on I2C=y

2013-11-19 Thread Geert Uytterhoeven
On Tue, Nov 19, 2013 at 12:19 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 11/18/2013 10:25 AM, Michal Marek wrote: MFD_AS3722 can only be builtin, so it needs I2C builtin as well. With I2C=m, we get: drivers/mfd/as3722.c:372: undefined reference to `devm_regmap_init_i2c'

Re: [PATCH] gpio: fix memory leak in error path

2013-11-19 Thread Linus Walleij
On Wed, Nov 13, 2013 at 9:20 PM, Michal Nazarewicz m...@google.com wrote: From: Michal Nazarewicz min...@mina86.com Signed-off-by: Michal Nazarewicz min...@mina86.com Good catch! Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH/RFC] wait_for_completion_timeout() considered harmful.

2013-11-19 Thread Peter Zijlstra
On Tue, Nov 19, 2013 at 10:44:38AM +1100, NeilBrown wrote: We have loops that have timeout = schedule_timeout(timeout) in the middle and if we change the semantics of schedule_timeout() to round up, those loops could wait quite a bit longer than expected. Depends on what you expect; most

Re: [PATCH 00/03] gpio: R-Car and EM GPIO update

2013-11-19 Thread Linus Walleij
On Wed, Nov 13, 2013 at 11:59 PM, Magnus Damm magnus.d...@gmail.com wrote: gpio: R-Car and EM GPIO update [PATCH 01/03] gpio: rcar: Use lazy disable and mask on suspend [PATCH 02/03] gpio: em: Setup gpiochip-dev [PATCH 03/03] gpio: em: Use lazy disable and mask on suspend Update the R-Car

Re: [patch 2/3] x86/srat: use NUMA_NO_NODE

2013-11-19 Thread Ingo Molnar
* a...@linux-foundation.org a...@linux-foundation.org wrote: From: Jianguo Wu wujian...@huawei.com Subject: x86/srat: use NUMA_NO_NODE setup_node() return NUMA_NO_NODE or valid node id(=0), So use more appropriate if (node == NUMA_NO_NODE) instead of if (node 0) Signed-off-by: Jianguo

Re: [PATCH/RFC] wait_for_completion_timeout() considered harmful.

2013-11-19 Thread Peter Zijlstra
On Mon, Nov 18, 2013 at 05:49:02PM -0700, Jonathan Corbet wrote: On Tue, 19 Nov 2013 00:42:09 +0100 Peter Zijlstra pet...@infradead.org wrote: I briefly talked to Thomas about this earlier today and we need to fix this at a lower level -- the quick 'n dirty solution is to add 1 jiffy

Re: [PATCH v2] rtmutex: take the waiter lock with irqs off

2013-11-19 Thread Peter Zijlstra
On Tue, Nov 19, 2013 at 12:59:59AM +0100, Frederic Weisbecker wrote: On Mon, Nov 18, 2013 at 03:10:21PM +0100, Peter Zijlstra wrote: --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -746,13 +746,23 @@ void irq_exit(void) #endif account_irq_exit_time(current); -

Re: [PATCH v2] gpio: Renesas RZ GPIO driver V2

2013-11-19 Thread Linus Walleij
On Thu, Nov 14, 2013 at 12:34 AM, Magnus Damm magnus.d...@gmail.com wrote: From: Magnus Damm d...@opensource.se This patch adds a GPIO driver for the RZ series of SoCs from Renesas. The V2 of the driver requires DT to be used. The hardware allows control of GPIOs in blocks of up to 16 pins.

Re: [patch 3/3] x86, mm: get ASLR work for hugetlb mappings

2013-11-19 Thread Ingo Molnar
* a...@linux-foundation.org a...@linux-foundation.org wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com Subject: x86, mm: get ASLR work for hugetlb mappings Matthew noticed that hugetlb doesn't participate in ASLR on x86-64. The reason is genereic hugetlb_get_unmapped_area()

Re: [PATCH V4 0/4] DRIVERS: IRQCHIP: Add support for crossbar IP

2013-11-19 Thread Linus Walleij
On Thu, Nov 14, 2013 at 1:18 PM, Sricharan R r.sricha...@ti.com wrote: The minimal crossbar driver to track and allocate free GIC lines and configure the crossbar is added here, along with the DT bindings. V4: Addressed a couple of comments and split the DTS file updates in to a

Re: [patch 1/3] sched_clock: document 4Mhz vs 1Mhz decision

2013-11-19 Thread Ingo Molnar
* a...@linux-foundation.org a...@linux-foundation.org wrote: From: Stephen Boyd sb...@codeaurora.org Subject: sched_clock: document 4Mhz vs 1Mhz decision Bo Shen sent a patch to change this to 1Mhz instead of 4Mhz but according to Russell King the use of 4Mhz was intentional. Add a

Re: [PATCH] cpufreq/stats: Add unknown frequency field in stats tables

2013-11-19 Thread Jon Medhurst (Tixy)
On Tue, 2013-11-19 at 11:10 +0530, Viresh Kumar wrote: commit 46a310b ([CPUFREQ] Don't set stat-last_index to -1 if the pol-cur has incorrect value.) tries to handle case where policy-cur does not match any entry in freq_table. As indicated in the above commit, the exact match search of

Re: [PATCH 1/3] mfd: cros ec: spi: Add delay for raising CS

2013-11-19 Thread Thierry Reding
On Mon, Nov 18, 2013 at 11:48:10AM +, Mark Rutland wrote: On Mon, Nov 18, 2013 at 10:30:47AM +, Thierry Reding wrote: From: Rhyland Klein rkl...@nvidia.com The EC has specific timing it requires. Add support for an optional delay after raising CS to fix timing issues. This is

[PATCH] sysfs, acpi, tables: Set file size for each ACPI table

2013-11-19 Thread HATAYAMA Daisuke
Currently, each of the ACPI tables exported from /sys/firmware/acpi/tables is of zero size: $ LANG=C ls -ld /sys/firmware/acpi/tables/* -r 1 root root 0 Nov 19 09:48 /sys/firmware/acpi/tables/APIC -r 1 root root 0 Nov 19 09:48 /sys/firmware/acpi/tables/BOOT -r 1 root root

Re: [PATCH/RFC] wait_for_completion_timeout() considered harmful.

2013-11-19 Thread NeilBrown
On Tue, 19 Nov 2013 09:25:48 +0100 Peter Zijlstra pet...@infradead.org wrote: On Tue, Nov 19, 2013 at 10:44:38AM +1100, NeilBrown wrote: We have loops that have timeout = schedule_timeout(timeout) in the middle and if we change the semantics of schedule_timeout() to round up, those

acpi_pad mwait usage

2013-11-19 Thread Peter Zijlstra
Hi Len, Rafeal, I stumbled over acpi_pad (yuck! ;-), but noticed that you don't set the task in polling mode while using mwait. This means we'll still happily send an IPI to wake you up. A little something like the below should do; you might even be able to remove the smp_mb() but since it is

Re: [PATCH v2] panic: Make panic_timeout configurable

2013-11-19 Thread Ralf Baechle
On Mon, Nov 18, 2013 at 09:04:36PM +, Jason Baron wrote: The panic_timeout value can be set via the command line option 'panic=x', or via /proc/sys/kernel/panic, however that is not sufficient when the panic occurs before we are able to set up these values. Thus, add a

Re: [PATCH RFC 0/9]net: stmmac PM related fixes.

2013-11-19 Thread srinivas kandagatla
On 19/11/13 05:24, Giuseppe CAVALLARO wrote: So you continue to have my Acked-by for all. Thanks for the Ack Peppe. peppe -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: acpi_pad mwait usage

2013-11-19 Thread Peter Zijlstra
On Tue, Nov 19, 2013 at 10:00:19AM +0100, Peter Zijlstra wrote: Hi Len, Rafeal, I stumbled over acpi_pad (yuck! ;-), but noticed that you don't set the task in polling mode while using mwait. This means we'll still happily send an IPI to wake you up. A little something like the below

Re: [PATCH] brcmsmac: Fix build dep on LEDS_CLASS

2013-11-19 Thread Arend van Spriel
On 11/19/2013 12:32 AM, Borislav Petkov wrote: On Mon, Nov 18, 2013 at 11:19:08PM +0100, Arend van Spriel wrote: what about: config BRCMSMAC tristate Broadcom IEEE802.11n PCIe SoftMAC WLAN driver depends on MAC80211 depends on BCMA_POSSIBLE + select LEDS_CLASS

Re: [Intel-gfx] kernel 3.11.6 general protection fault

2013-11-19 Thread MPhil. Emanoil Kotsev
Hi On Sunday 17 November 2013 21:05:46 Borislav Petkov wrote: On Sun, Nov 17, 2013 at 05:45:18PM +0100, MPhil. Emanoil Kotsev wrote: How - new libraries - more exhaustive algorythms - higher cpu usage etc. Some of the things M$ is doing on purpose to force you upgrade your hardware every

[PATCH] sched: remove unused variable in sched_domain

2013-11-19 Thread Alex Shi
The 'u64 last_update' variable isn't used now, remove it to save a bit space. Signed-off-by: Alex Shi alex@linaro.org --- include/linux/sched.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 6f7ffa4..ac68802 100644 ---

Re: [PATCH v1.2] gpiolib: append SFI helpers for GPIO API

2013-11-19 Thread Linus Walleij
On Wed, Jun 5, 2013 at 3:58 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: To support some (legacy) firmwares and platforms let's make life easier for their customers. This patch extracts SFI GPIO API from arch/x86/platform/mrst/mrst.c. Signed-off-by: Andy Shevchenko

Re: [PATCH] perf top: Make -g refer to callchains

2013-11-19 Thread Jean Pihet
Hi, On 18 November 2013 13:59, Arnaldo Carvalho de Melo a...@ghostprotocols.net wrote: Em Fri, Nov 15, 2013 at 06:46:09AM +0100, Ingo Molnar escreveu: btw., here's some 'perf top' call graph performance and profiling quality feedback, with the latest perf code: 'perf top --call-graph fp' now

Re: [PATCH v1.2] gpiolib: append SFI helpers for GPIO API

2013-11-19 Thread Linus Walleij
On Fri, Jun 7, 2013 at 9:14 AM, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Jun 5, 2013 at 3:58 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: To support some (legacy) firmwares and platforms let's make life easier for their customers. This patch extracts SFI GPIO

Re: [PATCH] perf top: Make -g refer to callchains

2013-11-19 Thread Jean Pihet
Hi, On 18 November 2013 21:16, Jan Kratochvil jan.kratoch...@redhat.com wrote: On Mon, 18 Nov 2013 18:49:45 +0100, Jiri Olsa wrote: I think it's an option.. but it'll simpler to try the libdw interface first and see if it's good/fast enough.. The elfutils libdw unwinder is being upstreamed

Re: [PATCH v1.2] gpiolib: append SFI helpers for GPIO API

2013-11-19 Thread Alex Courbot
On 11/19/2013 06:24 PM, Linus Walleij wrote: On Wed, Jun 5, 2013 at 3:58 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: To support some (legacy) firmwares and platforms let's make life easier for their customers. This patch extracts SFI GPIO API from

Re: [RFC 01/23] gpio/omap: raw read and write endian fix

2013-11-19 Thread Linus Walleij
On Sat, Nov 16, 2013 at 1:01 AM, Taras Kondratiuk taras.kondrat...@linaro.org wrote: From: Victor Kamensky victor.kamen...@linaro.org All OMAP IP blocks expect LE data, but CPU may operate in BE mode. Need to use endian neutral functions to read/write h/w registers. I.e instead of

[PATCHv5 1/9] of: introduce of_property_for_earch_phandle_with_args()

2013-11-19 Thread Hiroshi Doyu
The following pattern of code is tempting: for (i = 0; !of_parse_phandle_with_args(np, list, cells, i, args); i++) Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- v5: New patch for v5. --- include/linux/of.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/of.h

Re: [PATCH v2] Documentation: gpiolib: document new interface

2013-11-19 Thread Linus Walleij
On Mon, Nov 18, 2013 at 11:33 AM, Alex Courbot acour...@nvidia.com wrote: On 11/18/2013 06:34 PM, Linus Walleij wrote: Don't we need an 00-INDEX file? (Maybe Rob can tell whether this is desirable.) Good idea. gpio.txt somehow fulfills that role, but it might be better if we split it. Would

Re: [PATCH] perf top: Make -g refer to callchains

2013-11-19 Thread Jan Kratochvil
On Tue, 19 Nov 2013 10:26:42 +0100, Jean Pihet wrote: Do you know about the support of AARCH64, both in 64-bit and 32-bit (compat) mode? I would be glad to give it a try. Please move this topic to: https://lists.fedorahosted.org/mailman/listinfo/elfutils-devel aarch64 elfutils port is

[PATCHv5 4/9] iommu/tegra: smmu: register device to iommu dynamically

2013-11-19 Thread Hiroshi Doyu
platform_devices are registered as IOMMU'able dynamically via add_device() and remove_device(). Tegra SMMU can have multiple address spaces(AS). IOMMU'able devices can belong to one of them. Multiple IOVA maps are created at boot-up, which can be attached to devices later. We reserve 2 of them

[PATCHv5 0/9] Unifying Tegra IOMMU(SMMU) driver among Tegra SoCs

2013-11-19 Thread Hiroshi Doyu
://lists.infradead.org/pipermail/linux-arm-kernel/2013-July/181888.html v1: http://lists.infradead.org/pipermail/linux-arm-kernel/2013-June/180267.html Available in the git repository at: git://g...@nv-tegra.nvidia.com/user/hdoyu/linux.git smmu-upstreaming@20131119 Hiroshi Doyu (9): of: introduce

[PATCHv5 6/9] iommu/tegra: smmu: get swgroups from DT iommus=

2013-11-19 Thread Hiroshi Doyu
This provides the info about which swgroups a device belongs to. This info is passed from DT. This is necessary for the unified SMMU driver among Tegra SoCs since each has different H/W accelerators. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- v5: iommu= in a device DT is used instead of

[PATCHv5 3/9] ARM: tegra: create a DT header defining SWGROUP ID

2013-11-19 Thread Hiroshi Doyu
Create a header file to define the swgroup IDs used by the IOMMU(SMMU) binding. swgroup is a group of H/W clients which a Tegra SoC supports. This unique ID can be used to calculate MC_SMMU_swgroup name_ASID_0 register offset and MC_swgroup name_HOTRESET_*_0 register bit. This will allow the same

[PATCHv5 8/9] iommu/tegra: smmu: Rename hwgrp - swgroups

2013-11-19 Thread Hiroshi Doyu
Use the correct term for SWGROUP related variables and macros. The term swgroup is the collection of memory client. A memory client usually represents a HardWare Accelerator(HWA) like GPU. Sometimes a strut device can belong to multiple swgroup so that swgroup's' is used here. This swgroups is

[PATCHv5 7/9] iommu/tegra: smmu: allow duplicate ASID wirte

2013-11-19 Thread Hiroshi Doyu
The device, which belongs to the same ASID, can try to enable the same ASID as the other swgroup devices. This should be allowed but just skip the actual register write. If the write value is different, it will return -EINVAL. Signed-off-by: Hiroshi Doyu hd...@nvidia.com --- v4: This was the part

Re: [PATCHv5 06/20] hwmon: lm75: expose to thermal fw via DT nodes

2013-11-19 Thread Jean Delvare
Hi Eduardo, On Mon, 18 Nov 2013 10:27:41 -0400, Eduardo Valentin wrote: The patch series have been looked and contributed by several people and a couple o maintainers now. Starts to be way better than the original RFC. The core idea still holds though. I have no objection to the core idea,

Re: [PATCH] gpiolib: fix of_find_gpio() when OF not defined

2013-11-19 Thread Linus Walleij
On Tue, Nov 19, 2013 at 2:37 AM, Alexandre Courbot acour...@nvidia.com wrote: The prototype for static GPIO lookup functions has been updated to use an explicit type for GPIO lookup flags. Unfortunately the definition of of_find_gpio() when CONFIG_OF is not defined has been omitted, which

Re: /proc/vmcore mmap() failure issue

2013-11-19 Thread HATAYAMA Daisuke
(2013/11/18 9:51), Atsushi Kumagai wrote: (2013/11/15 23:26), Vivek Goyal wrote: On Fri, Nov 15, 2013 at 06:41:52PM +0900, HATAYAMA Daisuke wrote: [..] Given the fact that hpa does not like fixing it in kernel. We are left with option of fixing it in following places. - Drop partial pages

Re: [3.11.4] Thunderbolt/PCI unplug oops in pci_pme_list_scan

2013-11-19 Thread Mika Westerberg
On Mon, Nov 18, 2013 at 06:33:43PM -0700, Bjorn Helgaas wrote: I fixed the changelog (the extra disable was actually added by d899871936, not by dc5351784e) and put the patch below in my for-linus branch. I'll ask Linus to pull it later this week. Sorry for the delay, and thanks for the

Re: [PATCH v2] itg3200: add dt support.

2013-11-19 Thread Mark Rutland
On Tue, Nov 19, 2013 at 12:30:13AM +, NeilBrown wrote: No new configuration, just a 'compatible' string and documentation. Signed-off-by: NeilBrown ne...@suse.de diff --git a/Documentation/devicetree/bindings/iio/gyro/itg3200.txt

[PATCH 0/5] f2fs: some minor cleanups and logic fixes

2013-11-19 Thread Gu Zheng
Gu Zheng (5): f2fs: convert remove_inode_page to void f2fs: convert dev_valid_block_count to void f2fs: convert inc/dec_valid_node_count to inc/dec one count f2fs: simplify write_orphan_inodes for better readable f2fs: move the list_head initialization into the lock protection

[PATCH 4/5] f2fs: simplify write_orphan_inodes for better readable

2013-11-19 Thread Gu Zheng
Simplify write_orphan_inodes for better readable. Because we hold the orphan_inode_mutex, so it's safe to use list_for_each_entry instead of list_for_each_safe. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/f2fs/checkpoint.c | 38 ++ 1 files

[PATCH] atm: idt77252: fix dev refcnt leak

2013-11-19 Thread Ying Xue
init_card() calls dev_get_by_name() to get a network deceive. But it doesn't decrease network device reference count after the device is used. Signed-off-by: Ying Xue ying@windriver.com --- drivers/atm/idt77252.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/5] f2fs: convert dev_valid_block_count to void

2013-11-19 Thread Gu Zheng
Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/f2fs/f2fs.h |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 94fbec3..d0c6738 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -585,7 +585,7 @@ static inline bool

[PATCH 5/5] f2fs: move the list_head initialization into the lock protection region

2013-11-19 Thread Gu Zheng
Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/f2fs/checkpoint.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index f884589..1de70cc 100644 --- a/fs/f2fs/checkpoint.c +++ b/fs/f2fs/checkpoint.c @@

Re: 3.12: kernel panic when resuming from suspend to RAM (x86_64)

2013-11-19 Thread Borislav Petkov
On Tue, Nov 19, 2013 at 11:01:14AM +0100, Francis Moreau wrote: I think the easiest way to do it is to install a minimal system on a USB stick and try to reproduce first in order to preserve my system. Yep, sounds simple enough. Then I'll try to see if this issue exists in a previous kernel

[PATCH v2 0/3] Add support for charging battery in Nokia RX-51

2013-11-19 Thread Pali Rohár
This patch series finally bringing support for charging battery on Nokia N900 (RX-51) without any proprietary Nokia bits in userspace. I removed hook function from bq2415x_charger driver and replaced it by Jenny TC power_supply notifier code. This simplify usage of bq2415x driver and also allow

[PATCH v2 2/3] bq2415x_charger: Use power_supply notifier for automode

2013-11-19 Thread Pali Rohár
This patch removing set_mode_hook function from board data and replacing it with new string variable of notifier power supply device. After this change it is possible to add DT support because driver does not need specific board function anymore. Only static data and name of power supply device is

[PATCH v2 3/3] RX-51: Add platform data for bq24150a charger

2013-11-19 Thread Pali Rohár
This patch will register bq24150a charger in RX-51 board data. So finally charging battery on Nokia N900 (RX-51) working automatically without any proprietary Nokia bits in userspace. Signed-off-by: Pali Rohár pali.ro...@gmail.com --- arch/arm/mach-omap2/board-rx51-peripherals.c | 17

[PATCH v2 1/3] power_supply: Add power_supply notifier

2013-11-19 Thread Pali Rohár
This patch adds a notifier chain to the power_supply. This notifier helps drivers in other subsystem to listen to changes in power supply subsystem. This would help to take some actions in those drivers on changing the power supply properties. One such scenario is to increase/decrease system

Re: [PATCH] usbkbd.c: trivial typo ('released' - 'pressed')

2013-11-19 Thread Jiri Kosina
On Sun, 17 Nov 2013, Adam Cozzette wrote: It looks like this typo was introduced by a mistake in a copy-and-paste in commit ddbe32491951. Signed-off-by: Adam Cozzette acozze...@gmail.com --- drivers/hid/usbhid/usbkbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] x86: boot: Fix mixed indentation in a20.c

2013-11-19 Thread Borislav Petkov
On Tue, Nov 19, 2013 at 08:22:41AM +0100, Ingo Molnar wrote: * H. Peter Anvin h...@zytor.com wrote: On 11/18/2013 09:50 AM, Johannes Löthberg wrote: Replace all mixed indentation with tabs Signed-off-by: Johannes Löthberg johan...@kyriasis.com NAK. Not worth the churn in the

Re: [PATCH 00/10] leds: lp5521,5523: restore device attributes for running LED patterns

2013-11-19 Thread Pali Rohár
Hello, now I tested that patch on top of 3.12-rc5 with this led example: # Clearing LED-state to be sure echo disabled /sys/class/i2c-adapter/i2c-2/2-0032/engine1_mode echo disabled /sys/class/i2c-adapter/i2c-2/2-0032/engine2_mode echo 0 /sys/class/leds/lp5523:r/brightness

Re: [Regression x2, 3.13-git] virtio block mq hang, iostat busted on virtio devices

2013-11-19 Thread Christoph Hellwig
On Tue, Nov 19, 2013 at 07:02:18PM +1100, Dave Chinner wrote: I have no idea if it's related to the above hang, but either way breaking iostat is a major regression Both of them are most likely due to the conversion of virtio_blk to the blk-mq code. I've not seen the hang in my heavy

[PATCH] brcmsmac: Fix build dep on LEDS_CLASS

2013-11-19 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de When building randconfigs with CONFIG_BCMA_DRIVER_GPIO=y, I get drivers/built-in.o: In function `brcms_led_unregister': (.text+0x351aca): undefined reference to `led_classdev_unregister' drivers/built-in.o: In function `brcms_led_register': (.text+0x351c65):

[PATCH 1/1] Documentation/filesystems/sysfs.txt: fix device_attribute declaration

2013-11-19 Thread Andre Richter
Fix a wrong device_attribute declaration example. Signed-off-by: Andre Richter andre.o.rich...@gmail.com --- Documentation/filesystems/sysfs.txt | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/filesystems/sysfs.txt b/Documentation/filesystems/sysfs.txt

Re: [PATCH] Expose sysctls for enabling slab/file_cache interleaving

2013-11-19 Thread Michal Hocko
On Mon 18-11-13 16:50:22, Andi Kleen wrote: [...] diff --git a/include/linux/cpuset.h b/include/linux/cpuset.h index cc1b01c..10966f5 100644 --- a/include/linux/cpuset.h +++ b/include/linux/cpuset.h @@ -72,12 +72,14 @@ extern int cpuset_slab_spread_node(void); static inline int

Por favor Nota

2013-11-19 Thread Proveedor de servicios
Estamos trabajando en la actualización del sistema de la seguridad puropse, para asegurar que su servicio no se interrumpe, por favor, actualice su información haciendo clic o copiando el enlace URL en su navegador. http://www.formstack.com/forms/?1628735-8YGQCIYabe Atentamente, Gestión de

Re: [PATCH 3.4 01/12] cxgb3: Fix length calculation in write_ofld_wr() on 32-bit architectures

2013-11-19 Thread Luis Henriques
Hi Greg, On Mon, Nov 18, 2013 at 10:41:34AM -0800, Greg Kroah-Hartman wrote: 3.4-stable review patch. If anyone has any objections, please let me know. I guess you can drop this commit because, as Ben has already pointed out, it is required for kernels = 3.11. Cheers, -- Luis

BUG: usb: obex in g_nokia.ko causing kernel panic

2013-11-19 Thread Pali Rohár
Hi! For a long time (since 3.5 or 3.8? - I do not remember) obex subdriver in g_nokia usb gadget module causing kernel panic after module is loaded on Nokia N900. I do not know where is problem and due to immediatelly kernel crash when loading driver I was not able to see any dmesg output. Now I

[PATCH] mfd: wm5110: Add register patch for rev D chip

2013-11-19 Thread Charles Keepax
Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- drivers/mfd/wm5110-tables.c | 30 +- 1 files changed, 29 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/wm5110-tables.c b/drivers/mfd/wm5110-tables.c index daf2fe8..bd9c3c9 100644 ---

[PATCH 1/2] ASoC: ab8500: Revert ASoC: ab8500: Explicitly set I/O up

2013-11-19 Thread Lee Jones
This reverts commit 2245e3c31c15c2d2a26926c4b734f4d3a37ae252, as it is one of two patches which stop audio from working on Snowball. Cc: alsa-de...@alsa-project.org Cc: Mark Brown broo...@kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- sound/soc/codecs/ab8500-codec.c | 2 -- 1 file

[PATCH 2/2] ASoC: ab8500: Revert ASoC: ab8500: Convert register I/O to regmap

2013-11-19 Thread Lee Jones
This reverts commit ff795d614bfa62a3c6fc0bcb75cb8842e5a87892, as this is one of two patches which stop audio from working on Snowball. Cc: alsa-de...@alsa-project.org Cc: Mark Brown broo...@kernel.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- sound/soc/codecs/ab8500-codec.c | 64

Re: [PATCH] ARM: move firmware_ops to drivers/firmware

2013-11-19 Thread Catalin Marinas
On Mon, Nov 18, 2013 at 07:04:50PM +, Christopher Covington wrote: On 11/18/2013 12:30 PM, Catalin Marinas wrote: [...] You can't run legacy AArch32 code at EL3 and have lower levels in AArch64 mode (architectural constraint). What prevents AArch32 code from running at EL3 and then

[PATCH 00/10] ASoC: dma: ARM: ux500: Obtain DMA data from Device Tree

2013-11-19 Thread Lee Jones
At this moment in time the Ux500 ASoC driver obtains its DMA information via AUXDATA platform data passing. To make the driver more independent we have to start extracting it from the Device Tree. If this patch-set could go through ASoC as a whole, it would drive down the chance of a dependency

[PATCH 10/10] ASoC: ux500: Dynamically fill DAI driver data on probe

2013-11-19 Thread Lee Jones
We no longer have a means to differentiate MSP devices at probe time, mainline because we don't really have to. So rather than have an over- sized static data structure in place, where the only difference between devices is the ID and name (which are unused), we'll create them only when required

Re: [PATCH] ARC: extable: Enable sorting at build time

2013-11-19 Thread Vineet Gupta
Ping ? people OK if I take this via arc tree (after baking it in linux-next for some time). -Vineet On 11/15/2013 12:15 PM, Vineet Gupta wrote: Avoids wasting cycles at boot specially on slower simulators Signed-off-by: Vineet Gupta vgu...@synopsys.com Cc: David Daney david.da...@cavium.com

[PATCH 09/10] ASoC: ux500_pcm: Take out pointless dev_dbg() call

2013-11-19 Thread Lee Jones
Cc: alsa-de...@alsa-project.org Cc: Mark Brown broo...@kernel.org Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- sound/soc/ux500/ux500_pcm.c | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/ux500/ux500_pcm.c

[PATCH 1/2] mmc: rtsx: fix card poweroff bug

2013-11-19 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn If the host driver removed while card in the slot, the host will not power off card power correctly. This bug is produced because host eject flag set before the last mmc_set_ios callback, we should set the eject flag after power off. Signed-off-by:

[PATCH 06/10] ASoC: ux500_pcm: Extend Device Tree support to deal with DMA data

2013-11-19 Thread Lee Jones
Soon we will strip out pdata support from the Ux500 set of ASoC drivers. When this happens it will have to supply a DMA slave_config to the dmaengine. At the moment a great deal of this comes from pdata via AUXDATA. We need to become independent of this soon. This patch starts the process by

[PATCH 08/10] ASoC: ux500_pcm: Differentiate between pdata and DT initialisation

2013-11-19 Thread Lee Jones
If booting with full DT support (i.e. DMA too, the last piece of the puzzle), then we don't need to use the compatible request channel call back and, due to the work we laid down earlier in this patch-set, we can use core function calls to populate the DMA slave_config. We also require slightly

[PATCH 2/2] mmc: rtsx: modify phase searching method for tunning

2013-11-19 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn The new phase searching method is more concise and easier to understand. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mmc/host/rtsx_pci_sdmmc.c | 108 +++-- 1 file changed, 30 insertions(+), 78

[PATCH 07/10] ASoC: ux500: Store DMA data in the DAI differently in the pdata and DT case

2013-11-19 Thread Lee Jones
In this patch we do two things. Firstly, instead of open coding the store of DMA data in to the DAI for later use, we use the API provided. Secondly we create and store similar DMA data for the DT case, only this time we use 'struct snd_dmaengine_dai_dma_data' which is provided by the core for

[PATCH 05/10] ASoC: Ux500: Match platform by device node when booting Device Tree

2013-11-19 Thread Lee Jones
We're getting closer to fully enabling the Ux500 ASoC driver for Device Tree. When we switch over from using AUXDATA we'll need to match platform by only Device Tree nodes. In this patch we NULL out the platform_name, and supply nodes for each platform device. Cc: alsa-de...@alsa-project.org Cc:

[PATCH 02/10] dma: ste_dma40: Parse flags property for new 'high priority channel' request

2013-11-19 Thread Lee Jones
This is used for MSP (audio) devices which is about to be fully DT:ed. Acked-by: Vinod Koul vinod.k...@intel.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/dma/ste_dma40.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 04/10] ARM: ux500: Add DMA config bindings for MSP devices

2013-11-19 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/ste-dbx5x0.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi index 7da99fe..50ff5ab 100644 --- a/arch/arm/boot/dts/ste-dbx5x0.dtsi +++

[PATCH 01/10] dma: ste_dma40: Expand DT binding to accept 'high-priority channel' flag

2013-11-19 Thread Lee Jones
This is used for MSP (audio) devices which is about to be fully DT:ed. Cc: devicet...@vger.kernel.org Acked-by: Vinod Koul vinod.k...@intel.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- Documentation/devicetree/bindings/dma/ste-dma40.txt |

[PATCH 03/10] ARM: ux500: Don't use enums for MSP IDs - for easy DT conversion

2013-11-19 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/board-mop500-audio.c | 8 include/linux/platform_data/asoc-ux500-msp.h | 9 + sound/soc/ux500/ux500_msp_i2s.h | 2 +- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git

[PATCH 6/9] mips: Remove unused dt_setup_arch()

2013-11-19 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Ralf Baechle r...@linux-mips.org Cc: John Crispin blo...@openwrt.org Cc: linux-m...@linux-mips.org --- arch/mips/include/asm/prom.h |7 --- 1 file changed, 7 deletions(-) diff --git a/arch/mips/include/asm/prom.h

[PATCH 2/9] arc: Use NULL as the default DTB

2013-11-19 Thread Geert Uytterhoeven
early_init_dt_scan() now takes care of falling back to the built-in DTB. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/setup.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/kernel/setup.c

[PATCH 0/2] fix sd power bug and modify phase-searching method

2013-11-19 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn If the driver removed while sd card still in the slot, the card power will not power down correctly, if we insert the driver module again, UHS card will not switch to UHS mode. This bug is fix in this patch. We use another phase search method for

[PATCH 9/9] xtensa: Use NULL as the default DTB

2013-11-19 Thread Geert Uytterhoeven
early_init_dt_scan() now takes care of falling back to the built-in DTB. Also make dtb_start static while we're at it. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Chris Zankel ch...@zankel.net Cc: Max Filippov jcmvb...@gmail.com Cc: linux-xte...@linux-xtensa.org ---

[PATCH 5/9] microblaze: Use NULL as the default DTB

2013-11-19 Thread Geert Uytterhoeven
early_init_dt_scan() now takes care of falling back to the built-in DTB, and printing what it did. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: Michal Simek mon...@monstr.eu Cc: microblaze-ucli...@itee.uq.edu.au --- Note: I did not remove the now-unused fdt parameter from

[PATCH 4/9] metag: Remove duplicate DT selection logic

2013-11-19 Thread Geert Uytterhoeven
early_init_dt_scan() now takes care of falling back to the built-in DTB. Note that we now have to check ourselves whether original_cmd_line is a DTB or a command line, to keep command line append working. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Cc: James Hogan

[PATCH RESEND] drm/edid: Make edid_load() return a void *

2013-11-19 Thread Geert Uytterhoeven
Always use void * for arbitrary memory buffers, as this allows to drop casts in assignments. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org Reviewed-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/drm_edid_load.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 7/9] mips: Use NULL as the default DTB

2013-11-19 Thread Geert Uytterhoeven
early_init_dt_scan() now takes care of falling back to the built-in DTB. On Netlogic XLP, use initial_boot_params in device_tree_init(), like the other MIPS sub-platforms do, as xlp_fdt_blob will now be NULL when using the default built-in DTB. Signed-off-by: Geert Uytterhoeven

[PATCH RESEND] asm/types.h: Remove include/asm-generic/int-l64.h

2013-11-19 Thread Geert Uytterhoeven
Now all 64-bit architectures have been converted to int-ll64.h, we can remove int-l64.h in kernelspace. For backwards compatibility, alpha, ia64, mips64, and powerpc64 still use int-l64.h in userspace. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- This is the (reworked for UAPI)

[PATCH] x86, acpi, idle: Restructure the mwait idle routines

2013-11-19 Thread Peter Zijlstra
People seem to delight in writing wrong and broken mwait idle routines; collapse the lot. This leaves mwait_play_dead() the sole remaining user of __mwait() and new __mwait() users are probably doing it wrong. Also remove __sti_mwait() as its unused. Signed-off-by: Peter Zijlstra

Re: [PATCH V3] ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume

2013-11-19 Thread Ulf Hansson
On 15 November 2013 23:03, Kevin Hilman khil...@linaro.org wrote: Tony Lindgren t...@atomide.com writes: * Nishanth Menon n...@ti.com [131115 05:30]: On 11/15/2013 02:07 AM, Paul Walmsley wrote: On Thu, 14 Nov 2013, Nishanth Menon wrote: OMAP device hooks around suspend|resume_noirq

Re: [PATCH] ARM: move firmware_ops to drivers/firmware

2013-11-19 Thread Catalin Marinas
On Mon, Nov 18, 2013 at 05:52:36PM +, Stephen Warren wrote: On 11/18/2013 10:30 AM, Catalin Marinas wrote: On Mon, Nov 18, 2013 at 05:03:37PM +, Stephen Warren wrote: On 11/18/2013 04:58 AM, Catalin Marinas wrote: ... Of course, trusted foundations interface could be plugged into

Re: [PATCH 4/5] perf record: mmap output file - v5

2013-11-19 Thread Peter Zijlstra
On Tue, Nov 19, 2013 at 07:58:35AM +0100, Ingo Molnar wrote: * David Ahern dsah...@gmail.com wrote: This is mmap'ed output, not the ring buffers or its stack. As the output file grows, new pages are needed and those are allocated on access via page faults. The ftruncate only extends

  1   2   3   4   5   6   7   8   9   10   >