[PATCHv4 3/3] fs: Update coredump-related headers

2012-08-10 Thread Alex Kelly
This patch creates a new header file, fs/coredump.h, which contains functions only used by the new coredump.c. It also moves do_coredump to the include/linux/coredump.h header file, for consistency. Signed-off-by: Alex Kelly alex.page.ke...@gmail.com Reviewed-by: Josh Triplett

[PATCH] mfd/ab3100: split ab3100 headers out of abx500.h

2012-08-10 Thread Linus Walleij
From: Marcus Cooper marcus.xm.coo...@stericsson.com The U8500 has its own set of separate header, so the abx500 becomes completely abstract. Do the same split for the AB3100 legacy ASIC. Signed-off-by: Marcus Cooper marcus.xm.coo...@stericsson.com Signed-off-by: Linus Walleij

Re: [PATCH 2/6] mm: vmscan: Scale number of pages reclaimed by reclaim/compaction based on failures

2012-08-10 Thread Mel Gorman
On Fri, Aug 10, 2012 at 08:27:33AM +0900, Minchan Kim wrote: SNIP The intention is that an allocation can fail but each subsequent attempt will try harder until there is success. Each allocation request does a portion of the necessary work to spread the cost between multiple requests.

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-08-10 Thread Thierry Reding
On Fri, Aug 10, 2012 at 10:19:02AM +0200, Linus Walleij wrote: On Thu, Aug 9, 2012 at 10:20 PM, Thierry Reding thierry.red...@avionic-design.de wrote: On Sun, Jul 29, 2012 at 07:13:57PM +0200, Linus Walleij wrote: + client-irq = irq_of_parse_and_map(client-dev.of_node, 0); +

Re: [lm-sensors] NULL dereference BUG in sch56xx_init()

2012-08-10 Thread Hans de Goede
Hi, On 08/09/2012 04:42 PM, Guenter Roeck wrote: On Thu, Aug 09, 2012 at 08:55:26PM +0800, Fengguang Wu wrote: Hi Guenter, This commit triggered an oops which can be fixed by the attached diff. Should it be folded into the original one (preferable for me), or be resent as a standalone patch?

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-08-10 Thread Linus Walleij
On Fri, Aug 10, 2012 at 10:35 AM, Thierry Reding thierry.red...@avionic-design.de wrote: Consult the following article on LWN: http://lwn.net/Articles/470820/ Then grep your gitlog and you'll see we got rid of it from ARM. Then why is there still the following in arch/arm/include/asm/irq.h?

Re: 3.5 kernel NULL pointer dereference net_tx_action

2012-08-10 Thread Jörg-Volker Peetz
With stable release 3.5.1 this is cured and WLAN is working flawless again. Many thanks to the maintainers. -- Jörg-Volker Peetz. -- 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:

2012-08-10 Thread Linus Walleij
On Fri, Aug 10, 2012 at 7:32 AM, devendra.aaru devendra.a...@gmail.com wrote: In function tegra_pinctrl_dt_node_to_map the num_maps the num_maps counter must be incremented for each child node? I need Stephen Warren to comment on this patch... Yours, Linus Walleij -- To unsubscribe from this

Re: [PATCH 2/6] mm: vmscan: Scale number of pages reclaimed by reclaim/compaction based on failures

2012-08-10 Thread Minchan Kim
Hi Mel, On Fri, Aug 10, 2012 at 09:34:38AM +0100, Mel Gorman wrote: On Fri, Aug 10, 2012 at 08:27:33AM +0900, Minchan Kim wrote: SNIP The intention is that an allocation can fail but each subsequent attempt will try harder until there is success. Each allocation request does a

Re: [PATCH 2/5] mm: vmscan: Scale number of pages reclaimed by reclaim/compaction based on failures

2012-08-10 Thread Minchan Kim
On Thu, Aug 09, 2012 at 02:49:22PM +0100, Mel Gorman wrote: If allocation fails after compaction then compaction may be deferred for a number of allocation attempts. If there are subsequent failures, compact_defer_shift is increased to defer for longer periods. This patch uses that information

Re: [PATCH 00/22] mop500 related Audio reorganisation and fixups

2012-08-10 Thread Linus Walleij
On Thu, Aug 9, 2012 at 9:40 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, Aug 09, 2012 at 07:50:29PM +0100, Mark Brown wrote: On Thu, Aug 09, 2012 at 04:47:26PM +0100, Lee Jones wrote: Another fine instalment of Audio fixes and Device Tree enablement surrounding the mop500 sound driver.

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-08-10 Thread Thierry Reding
On Fri, Aug 10, 2012 at 10:41:58AM +0200, Linus Walleij wrote: On Fri, Aug 10, 2012 at 10:35 AM, Thierry Reding thierry.red...@avionic-design.de wrote: Consult the following article on LWN: http://lwn.net/Articles/470820/ Then grep your gitlog and you'll see we got rid of it from ARM.

Re: [RFC PATCH] mm: introduce N_LRU_MEMORY to distinguish between normal and movable memory

2012-08-10 Thread Hanjun Guo
On 2012/8/9 22:06, Christoph Lameter (Open Source) wrote: On Thu, 9 Aug 2012, Hanjun Guo wrote: Now, We have node masks for both N_NORMAL_MEMORY and N_HIGH_MEMORY to distinguish between normal and highmem on platforms such as x86. But we still don't have such a mechanism to distinguish

Re: [RFC/PATCH] sched: Honor sync wake up in select_idle_sibling

2012-08-10 Thread Namhyung Kim
Hi, Mike On Fri, 10 Aug 2012 10:14:44 +0200, Mike Galbraith wrote: On Fri, 2012-08-10 at 16:25 +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com When sync wakeup happens and there's the waker task running alone, select the target cpu as if it's already idle. Ouch. That

[PATCH] drm/i915: ingore eDP bpc settings

2012-08-10 Thread Daniel Vetter
This has originally been introduced to not oversubscribe the dp links in commit 885a5fb5b120a5c7e0b3baad7b0feb5a89f76c18 Author: Zhenyu Wang zhen...@linux.intel.com Date: Tue Jan 12 05:38:31 2010 +0800 drm/i915: fix pixel color depth setting on eDP Since then we've fixed up the dp link

Re: How to get the irq flags from the dts file

2012-08-10 Thread Wei Ni
On Thu, 2012-08-09 at 20:05 +0800, Mark Brown wrote: On Thu, Aug 09, 2012 at 11:48:42AM +, Arnd Bergmann wrote: On Thursday 09 August 2012, Wei Ni wrote: The wlan driver wish this flags include the IRQF_TRGGER_* information, and it will use this flags to configure other hw settings.

Re: [PATCH 2/3] vsyscall_64: allow SECCOMP_RET_TRACErs to skip

2012-08-10 Thread James Morris
On Sat, 14 Jul 2012, Will Drewry wrote: Agreed :) I don't mind making tweaks to get it right, but this only matters to users that want to: - use seccomp filter - with ptrace (or trap with resumption and not sigreturn) - of time, gettimeofday, and getcpu since they will then have to include

Re: How to get the irq flags from the dts file

2012-08-10 Thread Wei Ni
On Thu, 2012-08-09 at 20:09 +0800, Arend van Spriel wrote: On 08/09/2012 12:43 PM, Wei Ni wrote: Hi, all I'm working on tegra wlan upstream issue. The tegra board use the Broadcom 4329 as wlan device, and the driver is the brcmfmac. This wlan driver support out-band-interrupt (OOB),

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-08-10 Thread Russell King - ARM Linux
On Fri, Aug 10, 2012 at 10:41:58AM +0200, Linus Walleij wrote: On Fri, Aug 10, 2012 at 10:35 AM, Thierry Reding thierry.red...@avionic-design.de wrote: Consult the following article on LWN: http://lwn.net/Articles/470820/ Then grep your gitlog and you'll see we got rid of it from ARM.

[PATCH] edac_mc: fix kfree calls in the error path

2012-08-10 Thread Fengguang Wu
We need to free up memory in this order: free csrows[i]-channels[j] free csrows[i]-channels free csrows[i] free csrows Signed-off-by: Fengguang Wu fengguang...@intel.com --- drivers/edac/edac_mc.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) ---

Re: [PATCH v3] irq_remap: disable IRQ remapping if any IOAPIC lacks an IOMMU

2012-08-10 Thread Joerg Roedel
On Wed, Aug 08, 2012 at 08:27:03AM -0500, Seth Forshee wrote: The ACPI tables in the Macbook Air 5,1 define a single IOAPIC with id 2, but the only remapping unit described in the DMAR table matches id 0. Interrupt remapping fails as a result, and the kernel panics with the message timer

Re: DT GPIO numbering?

2012-08-10 Thread Johannes Stezenbach
On Mon, Aug 06, 2012 at 07:10:00PM +0800, Mitch Bradley wrote: On 8/6/2012 5:58 PM, Johannes Stezenbach wrote: On Mon, Aug 06, 2012 at 08:35:51AM +0200, Linus Walleij wrote: On Mon, Aug 6, 2012 at 4:18 AM, Stephen Warren swar...@wwwdotorg.org wrote: I can't comment on the sysfs-vs-dev

Re: [PATCH 00/22] mop500 related Audio reorganisation and fixups

2012-08-10 Thread Lee Jones
On Fri, Aug 10, 2012 at 10:48:39AM +0200, Linus Walleij wrote: On Thu, Aug 9, 2012 at 9:40 PM, Lee Jones lee.jo...@linaro.org wrote: On Thu, Aug 09, 2012 at 07:50:29PM +0100, Mark Brown wrote: On Thu, Aug 09, 2012 at 04:47:26PM +0100, Lee Jones wrote: Another fine instalment of Audio fixes

Re: [PATCH 3/4] cpu: export cpu hotplug disable/enable functions as global functions

2012-08-10 Thread Zhao Chenhui
On Tue, Aug 07, 2012 at 04:43:25PM +0800, Zhao Chenhui wrote: The cpufreq driver of mpc85xx will disable/enable cpu hotplug temporarily. Therefore, the related functions should be exported. Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com --- include/linux/cpu.h |4 1 files

[PATCH v2 4/4] powerpc/85xx: add support to JOG feature using cpufreq interface

2012-08-10 Thread Zhao Chenhui
Some 85xx silicons like MPC8536 and P1022 have a JOG feature, which provides a dynamic mechanism to lower or raise the CPU core clock at runtime. This patch adds the support to change CPU frequency using the standard cpufreq interface. The ratio CORE to CCB can be 1:1(except MPC8536), 3:2, 2:1,

Re: [RFC PATCH] mm: introduce N_LRU_MEMORY to distinguish between normal and movable memory

2012-08-10 Thread Yasuaki Ishimatsu
Hi Guo, I have a question. How do you create the offlinable node? The current linux cannot offline all memory on node. So we cannot hit the bug. Recently Lai sent the following patches which create the movable node. I think these patches consider the problem. https://lkml.org/lkml/2012/8/6/113

[PATCH] iommu/amd: Fix wrong check for ARRAY_SIZE()

2012-08-10 Thread Joerg Roedel
The check in the for-loop is broken. Fix it and the boot-crash it causes in AMD IOMMUv2 systems. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- drivers/iommu/amd_iommu_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/amd_iommu_init.c

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Michal Hocko
On Fri 03-08-12 15:32:35, Michal Hocko wrote: On Fri 03-08-12 20:56:45, Hillf Danton wrote: The computation of page offset index is open coded, and incorrect, to be used in scanning prio tree, as huge page offset is required, and is fixed with the well defined routine. I guess that

Re: [PATCH 2/2] pwm: core: Fix coding style issues

2012-08-10 Thread Thierry Reding
On Fri, Aug 10, 2012 at 10:12:10AM +0530, Sachin Kamat wrote: Fixes the following: WARNING: line over 80 characters ERROR: spaces required around that ':' (ctx:VxW) WARNING: Prefer pr_warn(... to pr_warning(... Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/pwm/core.c |

Re: Attaching a process to cgroups

2012-08-10 Thread Alexey Vlasov
On Wed, Aug 08, 2012 at 09:51:29AM -0700, Paul E. McKenney wrote: On Wed, Aug 08, 2012 at 08:40:33PM +0400, Alexey Vlasov wrote: In general I've changed it to synchronize_rcu_expedited () and all the delays have gone both on writing and reading files from cgroups. Is the writing and

Re: [PATCH 2/2] pwm: core: Fix coding style issues

2012-08-10 Thread Sachin Kamat
On 10 August 2012 15:25, Thierry Reding thierry.red...@avionic-design.de wrote: On Fri, Aug 10, 2012 at 10:12:10AM +0530, Sachin Kamat wrote: Fixes the following: WARNING: line over 80 characters ERROR: spaces required around that ':' (ctx:VxW) WARNING: Prefer pr_warn(... to pr_warning(...

Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-10 Thread Dave Martin
On Thu, Aug 09, 2012 at 05:22:30PM -0400, Nicolas Pitre wrote: On Thu, 9 Aug 2012, Russell King - ARM Linux wrote: On Thu, Aug 09, 2012 at 05:12:58PM -0400, Nicolas Pitre wrote: CFLAGS_THUMB2 should probably be renamed to something more appropriate in this case, e.g. CFLAGS_MODE.

Re: Inconsistent kallsyms data error

2012-08-10 Thread Michal Marek
On Fri, Aug 10, 2012 at 02:02:33AM +0200, Jan Engelhardt wrote: On Saturday 2012-07-07 23:40, Michal Marek wrote: index cd9c6c6..4629038 100644 --- a/scripts/link-vmlinux.sh +++ b/scripts/link-vmlinux.sh @@ -210,8 +210,8 @@ if [ -n ${CONFIG_KALLSYMS} ]; then mksysmap

Re: [PATCH 2/2] pwm: core: Fix coding style issues

2012-08-10 Thread Thierry Reding
On Fri, Aug 10, 2012 at 03:29:08PM +0530, Sachin Kamat wrote: On 10 August 2012 15:25, Thierry Reding thierry.red...@avionic-design.de wrote: On Fri, Aug 10, 2012 at 10:12:10AM +0530, Sachin Kamat wrote: Fixes the following: WARNING: line over 80 characters ERROR: spaces required around

Re: [PATCH 2/2] pwm: core: Fix coding style issues

2012-08-10 Thread Sachin Kamat
On 10 August 2012 15:32, Thierry Reding thierry.red...@avionic-design.de wrote: On Fri, Aug 10, 2012 at 03:29:08PM +0530, Sachin Kamat wrote: On 10 August 2012 15:25, Thierry Reding thierry.red...@avionic-design.de wrote: On Fri, Aug 10, 2012 at 10:12:10AM +0530, Sachin Kamat wrote: Fixes

Re: [PATCH] wm831x-dcdc: fix coccinelle warnings of missing IRQF_ONESHOT

2012-08-10 Thread Mark Brown
On Fri, Aug 10, 2012 at 08:58:24AM +0800, Feng Tang wrote: From: Fengguang Wu fengguang...@intel.com /c/kernel-tests/src/linux/drivers/regulator/wm831x-dcdc.c:829:7-27: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT

Re: [PATCH 1/6] regulator: core: Add checking n_voltages if using list_voltage() to read voltage regulators

2012-08-10 Thread Mark Brown
On Fri, Aug 10, 2012 at 09:32:33AM +0800, Axel Lin wrote: Use list_voltage() to read single voltage regulators should be only applied to single voltage regulators, thus add checking n_voltages for this case. We should be failing to register these regulators in the first place, or at least

Re: null pointer dereference while loading i915

2012-08-10 Thread Daniel Vetter
On Wed, Aug 8, 2012 at 6:50 AM, Mihai Moldovan io...@ionic.de wrote: Hi Daniel, hi list ever since version 3.2.0 (maybe even earlier, but 3.0.2 is still working fine), my box is crashing when loading the i915 driver (mode-setting enabled.) The current version I'm testing with is 3.5.0. I

Re: [PATCH] drm/i915: ingore eDP bpc settings

2012-08-10 Thread Benoit Gschwind
Hello, I confirm this patch work apply to kernel 3.6-rc1 Best regards On 10/08/2012 11:10, Daniel Vetter wrote: This has originally been introduced to not oversubscribe the dp links in commit 885a5fb5b120a5c7e0b3baad7b0feb5a89f76c18 Author: Zhenyu Wang zhen...@linux.intel.com Date:

Issues with ioremap

2012-08-10 Thread kps mailme
Hello, I have a ARM926 based development board. I am trying to remap 23 MB of IO memory using ioremap and access with the code snippet below, mm throws an exception most of the times - #define MRAM_SIZE 23068672 while(1) { offset = test_random() % MRAM_SIZE; virt_addr =

Re: [PATCH, RFC 0/9] Introduce huge zero page

2012-08-10 Thread Kirill A. Shutemov
On Fri, Aug 10, 2012 at 11:49:12AM +0800, Wanpeng Li wrote: On Thu, Aug 09, 2012 at 12:08:11PM +0300, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com During testing I noticed big (up to 2.5 times) memory consumption overhead on some workloads (e.g. ft.A

[PATCH] kvm: disable stealtime via reboot notifier to avoid mem corruption

2012-08-10 Thread Florian Westphal
else, we get memory corruption on reboot; found when tracking down initramfs unpack error on initial reboot (with qemu-kvm -smp 2, no problem with single-core). problem with doing it via kvm_shutdown() is that this file depends on CONFIG_KVM_CLOCK, also its not enough to call it for one cpu only.

[GIT] security subsystem: Yama fix

2012-08-10 Thread James Morris
Hi Linus, This fixes an issue in the Yama LSM. Please apply. The following changes since commit f4ba394c1b02e7fc2179fda8d3941a5b3b65efb6: Linus Torvalds (1): Merge git://git.kernel.org/.../davem/net are available in the git repository at:

Re:

2012-08-10 Thread Bernd Petrovitsch
Hi! On Fre, 2012-08-10 at 11:02 +0530, devendra.aaru wrote: [...] In function tegra_pinctrl_dt_node_to_map the num_maps the num_maps counter must be incremented for each child node? Actually we are doing free until num_maps if tegra_pinctrl_dt_subnode_to_map, not only that if num_maps ==

Re: [PATCH 2/2] pwm: core: Fix coding style issues

2012-08-10 Thread Joe Perches
On Fri, 2012-08-10 at 15:34 +0530, Sachin Kamat wrote: On 10 August 2012 15:32, Thierry Reding thierry.red...@avionic-design.de wrote: On Fri, Aug 10, 2012 at 03:29:08PM +0530, Sachin Kamat wrote: On 10 August 2012 15:25, Thierry Reding thierry.red...@avionic-design.de wrote: On Fri,

Re: [PATCH 2/2] pwm: core: Fix coding style issues

2012-08-10 Thread Thierry Reding
On Fri, Aug 10, 2012 at 03:51:33AM -0700, Joe Perches wrote: On Fri, 2012-08-10 at 15:34 +0530, Sachin Kamat wrote: On 10 August 2012 15:32, Thierry Reding thierry.red...@avionic-design.de wrote: On Fri, Aug 10, 2012 at 03:29:08PM +0530, Sachin Kamat wrote: On 10 August 2012 15:25,

Re: [PATCH 06/11] gpio: em: do not discard em_gio_irq_domain_cleanup

2012-08-10 Thread Linus Walleij
On Wed, Aug 8, 2012 at 4:47 PM, Arnd Bergmann a...@arndb.de wrote: The newly added gpio-em driver marks its em_gio_irq_domain_cleanup function as __devexit, which would lead to that function being discarded in case CONFIG_HOTPLUG is disabled. However, the function is also called by the error

Re: [PATCH 2/2] pwm: core: Fix coding style issues

2012-08-10 Thread Sachin Kamat
On 10 August 2012 16:28, Thierry Reding thierry.red...@avionic-design.de wrote: On Fri, Aug 10, 2012 at 03:51:33AM -0700, Joe Perches wrote: On Fri, 2012-08-10 at 15:34 +0530, Sachin Kamat wrote: On 10 August 2012 15:32, Thierry Reding thierry.red...@avionic-design.de wrote: On Fri, Aug

Re: [RFC PATCH 0/5] Improve hugepage allocation success rates under load V3

2012-08-10 Thread Mel Gorman
On Thu, Aug 09, 2012 at 04:38:24PM -0600, Jim Schutt wrote: SNIP My conclusion looking at the vmstat data is that everything is looking ok until system CPU usage goes through the roof. I'm assuming that's what we are all still looking at. I'm concerned about both the high CPU usage as

Re: [PATCH 09/10] ARM: rpc: Fix building RiscPC

2012-08-10 Thread Arnd Bergmann
On Thursday 09 August 2012, Russell King - ARM Linux wrote: On Wed, Aug 08, 2012 at 11:27:57PM +0200, Arnd Bergmann wrote: ARMv3 support was removed in 357c9c1f07 ARM: Remove support for ARMv3 ARM610 and ARM710 CPUs, which explicitly left parts of the CPU32v3 support in place for building

RE: BUG: RDMA/ocrdma calls invalid vlan_dev_real_dev()

2012-08-10 Thread Parav.Pandit
I'll provide you fix in short while. Parav -Original Message- From: Fengguang Wu [mailto:fengguang...@intel.com] Sent: Friday, August 10, 2012 5:39 AM To: Roland Dreier Cc: linux-r...@vger.kernel.org; Pandit, Parav; Sean Hefty; linux- ker...@vger.kernel.org Subject: Re: BUG:

Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-10 Thread Arnd Bergmann
On Friday 10 August 2012, Dave Martin wrote: On Thu, Aug 09, 2012 at 05:22:30PM -0400, Nicolas Pitre wrote: On Thu, 9 Aug 2012, Russell King - ARM Linux wrote: On Thu, Aug 09, 2012 at 05:12:58PM -0400, Nicolas Pitre wrote: CFLAGS_THUMB2 should probably be renamed to something more

[PATCH][Re-send] pwm: core: Fix coding style issues

2012-08-10 Thread Sachin Kamat
Fixes the following: WARNING: line over 80 characters ERROR: spaces required around that ':' (ctx:VxW) WARNING: Prefer pr_warn(... to pr_warning(... Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/pwm/core.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff

Re: [PATCH 06/11] gpio: em: do not discard em_gio_irq_domain_cleanup

2012-08-10 Thread Arnd Bergmann
On Friday 10 August 2012, Linus Walleij wrote: On Wed, Aug 8, 2012 at 4:47 PM, Arnd Bergmann a...@arndb.de wrote: The newly added gpio-em driver marks its em_gio_irq_domain_cleanup function as __devexit, which would lead to that function being discarded in case CONFIG_HOTPLUG is disabled.

Re: [PATCH][Re-send] pwm: core: Fix coding style issues

2012-08-10 Thread Thierry Reding
On Fri, Aug 10, 2012 at 04:41:13PM +0530, Sachin Kamat wrote: Fixes the following: WARNING: line over 80 characters ERROR: spaces required around that ':' (ctx:VxW) WARNING: Prefer pr_warn(... to pr_warning(... Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/pwm/core.c |

Re: [PATCH 1/2] pwm: vt8500: Fix coding style issue

2012-08-10 Thread Thierry Reding
On Fri, Aug 10, 2012 at 10:12:09AM +0530, Sachin Kamat wrote: Fixes the following: WARNING: Prefer pr_warn(... to pr_warning(... pr_warning(Waiting for status bits 0x%x to clear timed out\n, Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/pwm/pwm-vt8500.c |2 +-

Re: [PATCH 1/6] ASoC: dapm: If one widget fails, do not force all subsequent widgets to fail too

2012-08-10 Thread Linus Walleij
(As for the thread, which got flamy, let's put it to rest, and Ola: we are all impressed with your work on the ux500 ALSA SoC driver, no doubt about that, this was all ever about the DT patch set.) On Thu, Aug 2, 2012 at 7:58 AM, Ola Lilja olali...@yahoo.se wrote: Linus W. could probably

[PATCH 0/3] Fix problems about handling bio to plug when bio merged failed.

2012-08-10 Thread Jianpeng Ma
There are some problems about handling bio which merge to plug failed. Patch1 will avoid unnecessary plug should_sort test,although it's not a bug. Patch2 correct a bug when handle more devices,it leak some devices to trace plug-operation. Because the patch2,so it's not necessary to sort when

[PATCH 1/3] block: avoid unnecessary plug should_sort test.

2012-08-10 Thread Jianpeng Ma
If request_count = BLK_MAX_REQUEST_COUNT,then it will exec blk_flush_plug_list which plug all request.So no need to do plug-should_sort test. Signed-off-by: Jianpeng Ma majianp...@gmail.com --- block/blk-core.c |9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 2/3] block: Fix not tracing all device plug-operation.

2012-08-10 Thread Jianpeng Ma
If process handled two or more devices,there will not be trace some devices plug-operation. Signed-off-by: Jianpeng Ma majianp...@gmail.com --- block/blk-core.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/block/blk-core.c b/block/blk-core.c index

[PATCH 3/3] block: Remove unnecessary requests sort.

2012-08-10 Thread Jianpeng Ma
When adding request to plug,it already sort.So there is not unnecessary. Signed-off-by: Jianpeng Ma majianp...@gmail.com --- block/blk-core.c | 12 1 file changed, 12 deletions(-) diff --git a/block/blk-core.c b/block/blk-core.c index 034f186..9dbdef6 100644 ---

[PATCH] [SCSI] fix typo in scsi documentation

2012-08-10 Thread Petr Uzel
Signed-off-by: Petr Uzel petr.u...@suse.cz --- Documentation/scsi/scsi_eh.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/scsi/scsi_eh.txt b/Documentation/scsi/scsi_eh.txt index 6ff16b6..128348e 100644 --- a/Documentation/scsi/scsi_eh.txt +++

Re: i915 regression on 3.6-rc1: lid blanks screen

2012-08-10 Thread Takashi Iwai
At Mon, 6 Aug 2012 11:25:30 -0700 (PDT), Hugh Dickins wrote: On Mon, 6 Aug 2012, Daniel Vetter wrote: On Mon, Aug 6, 2012 at 6:21 AM, Hugh Dickins hu...@google.com wrote: On Sun, 5 Aug 2012, Takashi Iwai wrote: At Sat, 4 Aug 2012 10:01:13 -0700 (PDT), Hugh Dickins wrote:

Re: [patch] mmap: feed back correct prev vma when finding vma

2012-08-10 Thread Hillf Danton
On Fri, Aug 10, 2012 at 9:26 AM, Hugh Dickins hu...@google.com wrote: On Thu, 9 Aug 2012, Hillf Danton wrote: After walking rb tree, if vma is determined, prev vma has to be determined based on vma; and rb_prev should be considered only if no vma determined. Why? Because you think more code

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Hillf Danton
On Fri, Aug 10, 2012 at 5:48 PM, Michal Hocko mho...@suse.cz wrote: On Fri 03-08-12 15:32:35, Michal Hocko wrote: On Fri 03-08-12 20:56:45, Hillf Danton wrote: The computation of page offset index is open coded, and incorrect, to be used in scanning prio tree, as huge page offset is

Re: [PATCH] Staging: comedi: ssv_snp: fix checkpatch.pl warnings

2012-08-10 Thread Güngör Erseymen
On Thu, Aug 9, 2012 at 7:27 PM, H Hartley Sweeten hartl...@visionengravers.com wrote: You have a typo in the subject for this patch. ssv_snp should be ssv_dnp Hello Hartley, I missed that typo. This is my first patch for linux kernel, i am a bit nervous. diff --git

Re: Direct I/O bug in kernel

2012-08-10 Thread Hillf Danton
On Fri, Aug 10, 2012 at 4:53 AM, Victor Meyerson calculuspeng...@yahoo.com wrote: I tried that patch, although I had to edit a slightly different line as dio_bio_alloc was near line 392 instead of 349 in the version of fs/direct-io.c in my tree. I still got different checksums between the

Re: [RFC PATCH] mm: introduce N_LRU_MEMORY to distinguish between normal and movable memory

2012-08-10 Thread Jiang Liu
Hi Isimatu, We have worked out a changeset to enable offlinable node, which is based on a new ACPI based hotplug framework (http://www.spinics.net/lists/linux-pci/msg16826.html). Now could hot-add/hot-remove a computer node with CPU/memory/PCI host bridge, but it's still a prototype and

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Michal Hocko
On Fri 10-08-12 20:07:12, Hillf Danton wrote: On Fri, Aug 10, 2012 at 5:48 PM, Michal Hocko mho...@suse.cz wrote: On Fri 03-08-12 15:32:35, Michal Hocko wrote: On Fri 03-08-12 20:56:45, Hillf Danton wrote: The computation of page offset index is open coded, and incorrect, to be used in

Re: [PATCH 1/6] regulator: core: Add checking n_voltages if using list_voltage() to read voltage regulators

2012-08-10 Thread Axel Lin
2012/8/10 Mark Brown broo...@opensource.wolfsonmicro.com: On Fri, Aug 10, 2012 at 09:32:33AM +0800, Axel Lin wrote: Use list_voltage() to read single voltage regulators should be only applied to single voltage regulators, thus add checking n_voltages for this case. We should be failing to

Re: [PATCH 1/6] regulator: core: Add checking n_voltages if using list_voltage() to read voltage regulators

2012-08-10 Thread Mark Brown
On Fri, Aug 10, 2012 at 08:27:32PM +0800, Axel Lin wrote: 2012/8/10 Mark Brown broo...@opensource.wolfsonmicro.com: We should be failing to register these regulators in the first place, or at least complaining extremely loudly about them. Oh. My original intention is to prevent using

Re: i915 regression on 3.6-rc1: lid blanks screen

2012-08-10 Thread Daniel Vetter
On Fri, Aug 10, 2012 at 1:59 PM, Takashi Iwai ti...@suse.de wrote: At Mon, 6 Aug 2012 11:25:30 -0700 (PDT), Hugh Dickins wrote: On Mon, 6 Aug 2012, Daniel Vetter wrote: On Mon, Aug 6, 2012 at 6:21 AM, Hugh Dickins hu...@google.com wrote: On Sun, 5 Aug 2012, Takashi Iwai wrote: At Sat,

[RFC PATCH] fs/direct-io.c: Add REQ_NOIDLE for last bio .

2012-08-10 Thread Jianpeng Ma
For last bio of dio, there are no bio will come.So set REQ_NOIDLE. Signed-off-by: Jianpeng Ma majianp...@gmail.com --- fs/direct-io.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/fs/direct-io.c b/fs/direct-io.c index 1faf4cb..7c6958f 100644 ---

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Hillf Danton
On Fri, Aug 10, 2012 at 8:27 PM, Michal Hocko mho...@suse.cz wrote: I guess you mean unmap_ref_private and that has been changed by you (0c176d5 mm: hugetlb: fix pgoff computation when unmapping page from vma)... I was wrong at that time when giving my Reviewed-by. The patch didn't break

Re: [PATCH] powerpc/smp: Do not disable IPI interrupts during suspend

2012-08-10 Thread Kumar Gala
On Aug 2, 2012, at 5:04 AM, Zhao Chenhui wrote: On Sat, Jul 28, 2012 at 08:20:31AM +1000, Benjamin Herrenschmidt wrote: On Fri, 2012-07-27 at 16:58 -0500, Kumar Gala wrote: On Jul 20, 2012, at 7:47 AM, Zhao Chenhui wrote: During suspend, all interrupts including IPI will be disabled. In

Re: [PATCH v6 1/3] mm: introduce compaction and migration for virtio ballooned pages

2012-08-10 Thread Mel Gorman
On Thu, Aug 09, 2012 at 12:12:19PM -0300, Rafael Aquini wrote: On Thu, Aug 09, 2012 at 11:48:36AM -0300, Rafael Aquini wrote: Sure! what do you think of: +/* putback_lru_page() counterpart for a ballooned page */ +void putback_balloon_page(struct page *page) +{ +

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Michal Hocko
On Fri 10-08-12 20:37:20, Hillf Danton wrote: On Fri, Aug 10, 2012 at 8:27 PM, Michal Hocko mho...@suse.cz wrote: I guess you mean unmap_ref_private and that has been changed by you (0c176d5 mm: hugetlb: fix pgoff computation when unmapping page from vma)... I was wrong at that time when

Re: [PATCH] MPILIB: Provide count_leading/trailing_zeros() based on arch functions

2012-08-10 Thread Jan Engelhardt
On Saturday 2012-07-21 02:46, David Miller wrote: Arnd Bergmann a...@arndb.de wrote: I don't generally like to put stuff into asm-generic when it's unlikely to be overridden by architectures. It would really belong into include/linux, but then again we have all the other bitops in

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Hillf Danton
On Fri, Aug 10, 2012 at 8:51 PM, Michal Hocko mho...@suse.cz wrote: On Fri 10-08-12 20:37:20, Hillf Danton wrote: On Fri, Aug 10, 2012 at 8:27 PM, Michal Hocko mho...@suse.cz wrote: I guess you mean unmap_ref_private and that has been changed by you (0c176d5 mm: hugetlb: fix pgoff

Re: Regression - /proc/kmsg does not (always) block for 1-byte reads

2012-08-10 Thread Jan Engelhardt
On Saturday 2012-07-07 23:19, Kay Sievers wrote: On Fri, Jul 6, 2012 at 10:30 PM, Linus Torvalds torva...@linux-foundation.org wrote: Kay, this needs to be fixed. Suggested fix: just use the 'seq_printf()' interfaces, which do the proper buffering, and allow any size reads of various

Re: i915 regression on 3.6-rc1: lid blanks screen

2012-08-10 Thread Takashi Iwai
At Fri, 10 Aug 2012 14:35:13 +0200, Daniel Vetter wrote: On Fri, Aug 10, 2012 at 1:59 PM, Takashi Iwai ti...@suse.de wrote: At Mon, 6 Aug 2012 11:25:30 -0700 (PDT), Hugh Dickins wrote: On Mon, 6 Aug 2012, Daniel Vetter wrote: On Mon, Aug 6, 2012 at 6:21 AM, Hugh Dickins

Re: [PATCH] mpc85xx_defconfig: add VIA PATA support for MPC85xxCDS

2012-08-10 Thread Kumar Gala
On Aug 7, 2012, at 4:12 AM, Zhao Chenhui wrote: Signed-off-by: Zhao Chenhui chenhui.z...@freescale.com --- Replace this patch mpc85xx_defconfig: add IDE support for MPC85xxCDS. arch/powerpc/configs/mpc85xx_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) applied to

[RFC PATCH 1/2] unix sockets: add ability for search for peer from passed root

2012-08-10 Thread Stanislav Kinsbursky
This helper is used stream sockets yet. All is simple: if non-NULL struct path was passed to unix_find_other(), then vfs_path_lookup() is called instead of kern_path(). Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- include/net/af_unix.h |2 ++ net/unix/af_unix.c| 25

[RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-10 Thread Stanislav Kinsbursky
Today, there is a problem in connecting of local SUNRPC thansports. These transports uses UNIX sockets and connection itself is done by rpciod workqueue. But UNIX sockets lookup is done in context of process file system root. I.e. all local thunsports are connecting in rpciod context. This works

[RFC PATCH 2/2] SUNRPC: connect local transports with unix_stream_connect_root() helper

2012-08-10 Thread Stanislav Kinsbursky
Today, there is a problem in connecting of local SUNRPC thansports. These transports uses UNIX sockets and connection itself is done by rpciod workqueue. But UNIX sockets lookup is done in context of process file system root. I.e. all local thunsports are connecting in rpciod context. This works

Re: [PATCH 2/3] block: Fix not tracing all device plug-operation.

2012-08-10 Thread Jens Axboe
On 08/10/2012 01:46 PM, Jianpeng Ma wrote: If process handled two or more devices,there will not be trace some devices plug-operation. Signed-off-by: Jianpeng Ma majianp...@gmail.com --- block/blk-core.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Michal Hocko
[CCing Kamezawa and David] On Fri 10-08-12 20:53:36, Hillf Danton wrote: On Fri, Aug 10, 2012 at 8:51 PM, Michal Hocko mho...@suse.cz wrote: On Fri 10-08-12 20:37:20, Hillf Danton wrote: On Fri, Aug 10, 2012 at 8:27 PM, Michal Hocko mho...@suse.cz wrote: I guess you mean

[PATCH] ARM: tegra: use IO_ADDRESS for getting virtual address

2012-08-10 Thread Laxman Dewangan
Use macro IO_ADDRESS for getting virtual address of corresponding physical address to make the consistency with rest of Tegra code-base. This macro calls the IO_TO_VIRT() which is defined in arch/arm/mach-tegra/include/mach/iomap.h Signed-off-by: Laxman Dewangan ldewan...@nvidia.com ---

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Hillf Danton
On Fri, Aug 10, 2012 at 9:16 PM, Michal Hocko mho...@suse.cz wrote: Subject: [PATCH] hugetlb: do not use vma_hugecache_offset for vma_prio_tree_foreach 0c176d5 (mm: hugetlb: fix pgoff computation when unmapping page from vma) fixed pgoff calculation but it has replaced it by

Re: [PATCHv4 2/3] fs: Make core dump functionality optional

2012-08-10 Thread Serge Hallyn
Quoting Alex Kelly (alex.page.ke...@gmail.com): Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of core dump. This saves approximately 2.6k in the compiled kernel, and complements CONFIG_ELF_CORE, which now depends on it. Is there another reason than the 2.6k to do

Re: [PATCH 1/3] perf tools: Initial bash completion support

2012-08-10 Thread Frederic Weisbecker
On Thu, Aug 09, 2012 at 04:08:19PM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 09, 2012 at 07:27:06PM +0100, Alan Cox escreveu: 3rd patch should fix this. Huh? The problem is not /etc/bash_completion.d/ not existing, it exists, its just that I'm not using sudo nor installing

Re: [PATCH] efikamx: reintroduce Genesi Efika MX Smarttop via device tree

2012-08-10 Thread Matt Sealey
On Thu, Aug 9, 2012 at 8:41 PM, Shawn Guo shawn@linaro.org wrote: On Thu, Aug 09, 2012 at 09:29:39AM -0500, Matt Sealey wrote: The reason the new kernel depends on the new U-Boot is we're trying to do all pinmux configuration in U-Boot (and we do in-house, and it works). No pinctrl stuff

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Hillf Danton
On Fri, Aug 10, 2012 at 9:21 PM, Hillf Danton dhi...@gmail.com wrote: On Fri, Aug 10, 2012 at 9:16 PM, Michal Hocko mho...@suse.cz wrote: Subject: [PATCH] hugetlb: do not use vma_hugecache_offset for vma_prio_tree_foreach 0c176d5 (mm: hugetlb: fix pgoff computation when unmapping page from

Re: [PATCH] new mailmap file for the linux kernel git repository

2012-08-10 Thread Philipp Riemer
CC: mailing list 2012/8/10 Philipp Riemer ruderphil...@gmail.com: 2012/8/10 Daniel Borkmann borkm...@iogearbox.net: On Thu, Jun 28, 2012 at 11:00 AM, Philipp Riemer ruderphil...@gmail.com wrote: 2012/6/28 Joe Perches j...@perches.com: On Thu, 2012-05-31 at 12:25 -0700, Joe Perches wrote:

Re: [patch] hugetlb: correct page offset index for sharing pmd

2012-08-10 Thread Michal Hocko
On Fri 10-08-12 21:21:15, Hillf Danton wrote: On Fri, Aug 10, 2012 at 9:16 PM, Michal Hocko mho...@suse.cz wrote: Subject: [PATCH] hugetlb: do not use vma_hugecache_offset for vma_prio_tree_foreach 0c176d5 (mm: hugetlb: fix pgoff computation when unmapping page from vma) fixed pgoff

Re: [PATCH] usb: host: tegra: fix warning messages in ehci_remove

2012-08-10 Thread Alan Stern
On Fri, 10 Aug 2012, Venu Byravarasu wrote: Existing implementation of tegra_ehci_remove() calls usb_put_hcd(hcd) first and then iounmap(hcd-regs). usb_put_hcd() implementation calls hcd_release() which frees up memory allocated for hcd. As iounmap is trying to unmap hcd-regs, after hcd

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-10 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Using devm_kzalloc and devm_clk_get simplifies the code and ensures that the use of devm_request_irq is safe. When kzalloc and kfree were used, the interrupt could be triggered after the handler's data argument had been freed. Add missing return code

Re: [PATCH] efikamx: reintroduce Genesi Efika MX Smarttop via device tree

2012-08-10 Thread Shawn Guo
On Fri, Aug 10, 2012 at 08:36:02AM -0500, Matt Sealey wrote: Requiring it breaks the entire concept of the device tree to describe running hardware. It is not a configuration script. pinctrl should be optional - built in always, but not necessary to turn a board on if it's already configured.

[PATCH 01/15] Proc entry showing inodes on sockfs and types

2012-08-10 Thread Masatake YAMATO
I've worked on improving lsof output on linux both lsof and linux sides. Sometimes lsof cannot resolve socket descriptors and as the result it prints them like: [yamato@localhost]/tmp% sudo lsof | grep dbus | grep iden dbus-daem 652 dbus6u sock ... 17812 can't identify

[PATCH 02/15] Declaring udp protocols has its own proc entry

2012-08-10 Thread Masatake YAMATO
Declaring udp protocols has its own proc entry. Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/ipv4/udp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index b4c3582..2b822ac 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -1963,6 +1963,9 @@

<    1   2   3   4   5   6   7   8   >