RE: [PATCH 08/10] ARM: s3c24xx: enable CONFIG_BUG for tct_hammer

2012-08-10 Thread Kukjin Kim
Arnd Bergmann wrote: Disabling CONFIG_BUG creates an insane amount of build warnings, which makes it useless to check for building defconfigs to see if new warnings show up. Without this patch, building tct_hammer_defconfig results in: net/packet/af_packet.c: In function 'tpacket_rcv':

Re: [PATCH v2] gpio/omap: add *remove* callback in platform_driver

2012-08-10 Thread DebBarma, Tarun Kanti
On Thu, Aug 9, 2012 at 8:28 PM, Kevin Hilman khil...@ti.com wrote: DebBarma, Tarun Kanti tarun.ka...@ti.com writes: On Wed, Aug 8, 2012 at 10:40 PM, Kevin Hilman khil...@ti.com wrote: Tarun Kanti DebBarma tarun.ka...@ti.com writes: Add *remove* callback so that necessary cleanup operations

[PATCH] ASoC: core: remove unused variable in soc_probe() in linux-next

2012-08-10 Thread Jerry Snitselaar
With commit 28d528c8 ASoC: core: Remove pointless error on card registration failure, the variable ret is no longer used in soc_probe() and generates an unused variable warning during a build. Signed-off-by: Jerry Snitselaar d...@snitselaar.org --- sound/soc/soc-core.c | 1 - 1 file changed, 1

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

2012-08-10 Thread Venu Byravarasu
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 getting freed up, warning messages were observed

Re: [PATCH 07/11] ARM: OMAP/ASoC: Zoom2: Let the codec to handle the hs_extmute GPIO

2012-08-10 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [120808 02:42]: Remove the use of set_hs_extmute callback and let the codec driver to handle the extmute GPIO. Acked-by: Tony Lindgren t...@atomide.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v2] staging: gdm72xx: fix reference counting in gdm_wimax_event_init

2012-08-10 Thread Dan Carpenter
Ben, I'm confused. Do you have a way to test this, or are you just doing manual review? regards, dan carpenter -- 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: [PATCH] [PATCH V5]Extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices

2012-08-10 Thread Peter Meerwald
Hello, some nitpicking below; sorry for my late reaction to the patch regards, p. From: anish kumar anish198519851...@gmail.com External connector devices that decides connection information based on ADC values may use adc-jack device driver. The user simply needs to provide a table of

RE: [PATCH 10/11] spi/s3c64xx: improve error handling

2012-08-10 Thread Kukjin Kim
Arnd Bergmann wrote: When a device tree definition os an s3c64xx SPI master is missing a controller-data subnode, the newly added s3c64xx_get_slave_ctrldata function might use uninitialized memory in place of that node, which was correctly reported by gcc. Without this patch, building

Re: [PATCH] ARM: Fix XIP build due to PHYS_OFFSET definition moving

2012-08-10 Thread Stephen Boyd
On 8/2/2012 6:23 PM, Stephen Boyd wrote: During the p2v changes, the PHYS_OFFSET #define moved into a !__ASSEMBLY__ section. This causes a XIP build to fail with arch/arm/kernel/head.o: In function 'stext': arch/arm/kernel/head.S:146: undefined reference to 'PHYS_OFFSET' Momentarily leave

[GIT PULL] gpio fixes for v3.6-rc1

2012-08-10 Thread Linus Walleij
Hi Linus, these are some accumulated GPIO fixes I've collected for the -rc1. Description of fixes are in the tag below. All tested in linux-next. Please pull them in! The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are

RE: [PATCH 05/11] ARM: exynos: exynos_pm_add_dev_to_genpd may be unused

2012-08-10 Thread Kukjin Kim
Arnd Bergmann wrote: exynos_pm_add_dev_to_genpd is used if one or more out of a large number of Kconfig symbols are enabled. However the new exynos_defconfig selects none of those, so the function becomes unused. Marking it so lets the compiler automatically discard it. Without this

Re: [PATCH 05/11] ARM: exynos: exynos_pm_add_dev_to_genpd may be unused

2012-08-10 Thread Thomas Abraham
On 8 August 2012 20:17, Arnd Bergmann a...@arndb.de wrote: exynos_pm_add_dev_to_genpd is used if one or more out of a large number of Kconfig symbols are enabled. However the new exynos_defconfig selects none of those, so the function becomes unused. Marking it so lets the compiler

[PATCH] dlm: convert add_sock routine return value type to void

2012-08-10 Thread Ying Xue
Since add_sock() always returns a success code - 0, its return value type should be changed from integer to void. Signed-off-by: Ying Xue ying@windriver.com --- fs/dlm/lowcomms.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c index

Re: [PATCH v2] gpio/omap: add *remove* callback in platform_driver

2012-08-10 Thread Shilimkar, Santosh
On Fri, Aug 10, 2012 at 11:38 AM, DebBarma, Tarun Kanti tarun.ka...@ti.com wrote: On Thu, Aug 9, 2012 at 8:28 PM, Kevin Hilman khil...@ti.com wrote: DebBarma, Tarun Kanti tarun.ka...@ti.com writes: On Wed, Aug 8, 2012 at 10:40 PM, Kevin Hilman khil...@ti.com wrote: Tarun Kanti DebBarma

Re: [PATCH 10/11] spi/s3c64xx: improve error handling

2012-08-10 Thread Thomas Abraham
On 8 August 2012 20:17, Arnd Bergmann a...@arndb.de wrote: When a device tree definition os an s3c64xx SPI master is missing a controller-data subnode, the newly added s3c64xx_get_slave_ctrldata function might use uninitialized memory in place of that node, which was correctly reported by gcc.

[PATCH v2] iio: adc: add new lp8788 adc driver

2012-08-10 Thread Kim, Milo
Patch v2. (a) Use iio_priv() for private data rather than allocating data (b) Support raw and scale inferface for iio consumer (c) Make inline function for lp8788_adc_read_raw() (d) For better readability, use fixed number for shift and mask rather than getting bits from channel scan type (e)

RE: [PATCH 2/3] iio: adc: add new lp8788 adc driver

2012-08-10 Thread Kim, Milo
This is mostly fine though things have gotten a little confused wrt to the handling iio_priv in the probe and remove so that needs cleaning up. A few other minor bits inline. Thanks, Jonathan Thanks a lot for detailed review. Patch v2 has been sent. Title: [PATCH v2] iio: adc: add new

Re: [GIT PULL for 3.6-rc1] media updates part 2

2012-08-10 Thread Hans de Goede
Hi, On 08/09/2012 10:03 PM, David Rientjes wrote: On Thu, 9 Aug 2012, Mauro Carvalho Chehab wrote: Yeah, that would work as well, although the code would look uglier. IMHO, using select/depend is better. Agreed, I think it should be depends on LEDS_CLASS rather than select it if there is a

Re: [PATCH V2 3/3] drivers/char/tpm: Add securityfs support for event log

2012-08-10 Thread Michael Ellerman
On Thu, 2012-08-09 at 18:13 -0500, Ashley Lai wrote: This patch retrieves the event log data from the device tree during file open. The event log data will then displayed through securityfs. Hi Ashley, Comments inline .. diff --git a/drivers/char/tpm/Makefile b/drivers/char/tpm/Makefile

RE: [PATCH v2 1/3] mfd: add lp8788 mfd driver

2012-08-10 Thread Kim, Milo
Patch v2. (a) For interrupt handling, use generic irq rather than irq-domain This seems like a very substantial step backwards, why make this change? Using irqdomain solves a bunch of problems, especially around virq allocation, and is where we want all drivers to go longer term. Yes,

[BUGFIX PATCH] kexec iosapic: kexec oops when iosapic was removed

2012-08-10 Thread Hanjun Guo
Hi, all We are working on a node hot-plug project, and IOAPIC is one of these devices to be removed. but after IOSAPIC was removed, we use kexec to start a new kernel, oops happended. I reviewed the code and find out: iosapic_remove iosapic_free memset(iosapic_lists[index], 0,

[PATCH] [PATCH V6]Extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices

2012-08-10 Thread anish kumar
From: anish kumar anish198519851...@gmail.com External connector devices that decides connection information based on ADC values may use adc-jack device driver. The user simply needs to provide a table of adc range and connection states. Then, extcon framework will automatically notify others.

Re: [RFC PATCH v1 00/15] firmware loader: introduce cache/uncache firmware

2012-08-10 Thread Ming Lei
On Sat, Aug 4, 2012 at 12:01 PM, Ming Lei ming@canonical.com wrote: Hi, In [1][2], the problem below has been discussed for some time: device's firmware may be lost during suspend/resume cycle because device might be unplugged and plugged again or device

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

2012-08-10 Thread Namhyung Kim
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. Cc: Mike Galbraith efa...@gmx.de Cc: Suresh Siddha suresh.b.sid...@intel.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

Re: [PATCH 10/11] spi/s3c64xx: improve error handling

2012-08-10 Thread Arnd Bergmann
On Friday 10 August 2012, Kukjin Kim wrote: BTW for same reason, probably, we need following fix? arch/arm/mach-tegra/tegra2_emc.c |4 ++-- arch/c6x/kernel/setup.c |2 +- arch/powerpc/kernel/ibmebus.c|2 +-

Re: Re: [RFC PATCH 4/4] ftrace/x86: Add support for -mfentry to x86_64

2012-08-10 Thread Masami Hiramatsu
(2012/08/09 22:46), Steven Rostedt wrote: Peter and Masami During my final tests, I found that this change breaks the !DYNAMIC_FTRACE config. That is, when we don't do the run-time updates of mcount calls to nops, the compiler will use fentry but the code still uses mcount. Ah, right. we

Re: [GIT PULL] at91: platform data for atmel-mci (for 3.5)

2012-08-10 Thread Nicolas Ferre
On 07/25/2012 10:06 PM, Arnd Bergmann : On Thursday 31 May 2012, Nicolas Ferre wrote: On 05/24/2012 05:12 PM, Nicolas Ferre : Hi Arnd, hi Olof, Ping? (or maybe you will have a look at this after the merge window...) I've just gone through all old pull requests that I had somewhere in

[PATCH] target: Add blk_put_request()

2012-08-10 Thread Marina Makienko
blk requests are obtained (some memory is allocated for them) by means of functions blk_get_request and blk_make_request. After usage (usually with help of blk_execute_rq) these requests should be put (and freed) with help of blk_put_request. Found by Linux Driver Verification project

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

2012-08-10 Thread Mel Gorman
On Thu, Aug 09, 2012 at 04:29:57PM -0400, Rik van Riel wrote: On 08/09/2012 05:20 AM, Mel Gorman wrote: 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

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

2012-08-10 Thread Mike Galbraith
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 defeats the purpose of select_idle_sibling(). Just because we're

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

2012-08-10 Thread Linus Walleij
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); + if (client-irq == NO_IRQ) Just if (!client-irq) since NO_IRQ is 0

[PATCHv4 1/3] fs: Move core dump functionality into its own file

2012-08-10 Thread Alex Kelly
This prepares for making core dump functionality optional. The variable suid_dumpable and associated functions are left in fs/exec.c because they're used elsewhere, such as in ptrace. Signed-off-by: Alex Kelly alex.page.ke...@gmail.com Reviewed-by: Josh Triplett j...@joshtriplett.org --- v2:

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

2012-08-10 Thread Alex Kelly
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. CONFIG_COREDUMP also disables coredump-related sysctls, except for suid_dumpable and related

[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

  1   2   3   4   5   6   7   8   >