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 > 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)

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 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.

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

2012-08-10 Thread Sachin Kamat
On 10 August 2012 15:25, Thierry Reding 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(... >> >> Signed-off-by:

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

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 > --- > drivers/pwm/core.c |6 +++--- >

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

[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 --- drivers/iommu/amd_iommu_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c

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 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: [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 > --- > include/linux/cpu.h |4 > 1 files changed, 4

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 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

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 > >> wrote: > >> > >>> I can't comment on the sysfs-vs-dev

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

[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 --- drivers/edac/edac_mc.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) --- linux.orig/drivers/edac/edac_mc.c

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 > 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

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

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

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

[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 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 bandwidth calculation

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 >> >> 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

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

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 > 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

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 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. Hopefully

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

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: > > > > > > > > > The intention is that an allocation can fail but each subsequent attempt > > > will > > > try harder until there is success. Each allocation

Re:

2012-08-10 Thread Linus Walleij
On Fri, Aug 10, 2012 at 7:32 AM, 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? I need Stephen Warren to comment on this patch... Yours, Linus Walleij -- To unsubscribe from this list: send the line

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: [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 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: [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 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 > 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 ==

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: > > > > > > 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

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

2012-08-10 Thread Linus Walleij
From: Marcus Cooper 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 Signed-off-by: Linus Walleij --- arch/arm/mach-u300/i2c.c | 2 +- drivers/mfd/ab3100-core.c | 1 +

[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 Reviewed-by: Josh Triplett --- fs/coredump.c| 2 ++

[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 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 Reviewed-by: Josh Triplett --- v2: This patch set is a second revision that

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 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 nowadays. > > At

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 > > 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 doing a sync wakeup

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

[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: [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

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,

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 +- >

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

2012-08-10 Thread Namhyung Kim
From: Namhyung Kim 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 Cc: Suresh Siddha Signed-off-by: Namhyung Kim --- kernel/sched/fair.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-)

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 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 experiences system

[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 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. Changes in V1: added

[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(_lists[index], 0,

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.

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: [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

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:

[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 10/11] spi/s3c64xx: improve error handling

2012-08-10 Thread Thomas Abraham
On 8 August 2012 20:17, 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. > >

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 wrote: > > On Thu, Aug 9, 2012 at 8:28 PM, Kevin Hilman wrote: > > "DebBarma, Tarun Kanti" writes: > > > >> On Wed, Aug 8, 2012 at 10:40 PM, Kevin Hilman wrote: > >>> Tarun Kanti DebBarma writes: > >>> > Add *remove* callback so

[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 --- 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 e7b0ac0..8789309

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 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

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

[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] 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' > >

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,

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 > > 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

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 07/11] ARM: OMAP/ASoC: Zoom2: Let the codec to handle the hs_extmute GPIO

2012-08-10 Thread Tony Lindgren
* Peter Ujfalusi [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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[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

[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 --- sound/soc/soc-core.c | 1 - 1 file changed, 1 deletion(-) diff

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 wrote: > "DebBarma, Tarun Kanti" writes: > >> On Wed, Aug 8, 2012 at 10:40 PM, Kevin Hilman wrote: >>> Tarun Kanti DebBarma writes: >>> Add *remove* callback so that necessary cleanup operations are performed when device is unregistered.

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

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

<    1   2   3   4   5   6   7   8   >