Re: [RFC PATCH 0/5] enable runnable load avg in load balance

2012-11-26 Thread Preeti U Murthy
Hi, On 11/27/2012 11:44 AM, Alex Shi wrote: > On 11/27/2012 11:08 AM, Preeti U Murthy wrote: >> Hi everyone, >> >> On 11/27/2012 12:33 AM, Benjamin Segall wrote: >>> So, I've been trying out using the runnable averages for load balance in >>> a few ways, but haven't actually gotten any improvement

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-26 Thread Jianguo Wu
On 2012/11/27 13:43, Tang Chen wrote: > On 11/27/2012 11:10 AM, wujianguo wrote: >> On 2012-11-23 18:44, Tang Chen wrote: >>> [What we are doing] >>> This patchset provide a boot option for user to specify ZONE_MOVABLE memory >>> map for each node in the system. >>> >>> movablecore_map=nn[KMG]@ss[

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Terje Bergström
On 27.11.2012 00:15, Dave Airlie wrote: >> static int tegra_drm_open(struct drm_device *drm, struct drm_file *filp) >> { >> - return 0; >> + struct tegra_drm_fpriv *fpriv; >> + int err = 0; >> + >> + fpriv = kzalloc(sizeof(*fpriv), GFP_KERNEL); >> + if (!fpriv) >> +

[PATCH 1/1] memory: tegra30: Fix warning w/o PM_SLEEP

2012-11-26 Thread Hiroshi Doyu
Fix build warning w/o PM_SLEEP. Signed-off-by: Hiroshi Doyu Reviewed-by: Stephen Warren --- drivers/memory/tegra30-mc.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c index 802b9ea..cf10b77 100644 --- a/drivers/memory/tegra30-m

[PATCH 1/1] ARM: tegra: replace long if statement group

2012-11-26 Thread Sivaram Nair
The long list of if statements are replaced with corresponding switch cases. Signed-off-by: Sivaram Nair --- arch/arm/mach-tegra/tegra30_clocks.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-tegra/tegra30_clocks.c b/arch/arm/mach-tegra/

[PATCH 1/2] ARM: tegra: remove unused functions in mach/clk.h

2012-11-26 Thread Sivaram Nair
This is a cleaning up patch that removes couple of functions in mach/clk.h that are no longer used and does not have any body. Signed-off-by: Sivaram Nair --- arch/arm/mach-tegra/include/mach/clk.h |5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/mach-tegra/include/mach/clk.h

[PATCH 2/2] ARM: tegra: moving stuff away from mach/clk.h

2012-11-26 Thread Sivaram Nair
This patch moves some stuff away from mach/clk.h to other mach-tegra files. This is part of the efforts to get rid of mach/clk.h which in turn will help to enable single zImage. Signed-off-by: Sivaram Nair --- arch/arm/mach-tegra/clock.c|1 + arch/arm/mach-tegra/clock.h

Re: [PATCH v3 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-26 Thread Wen Congyang
At 11/27/2012 01:47 PM, Jianguo Wu Wrote: > On 2012/11/1 17:44, Wen Congyang wrote: > >> From: Yasuaki Ishimatsu >> >> All pages of virtual mapping in removed memory cannot be freed, since some >> pages >> used as PGD/PUD includes not only removed memory but also other memory. So >> the >> patc

Re: [PATCH v3 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-26 Thread Wen Congyang
At 11/27/2012 01:47 PM, Jianguo Wu Wrote: > On 2012/11/1 17:44, Wen Congyang wrote: > >> From: Yasuaki Ishimatsu >> >> All pages of virtual mapping in removed memory cannot be freed, since some >> pages >> used as PGD/PUD includes not only removed memory but also other memory. So >> the >> patc

RE: [PATCH RESEND 3/7] input: ti_am335x_tsc: Add variance filter

2012-11-26 Thread Patil, Rachna
On Thu, Nov 22, 2012 at 00:03:50, Dmitry Torokhov wrote: > Hi Rachna, Hi Dmitry, > > On Wed, Nov 07, 2012 at 12:22:00PM +0530, Patil, Rachna wrote: > > Only fine tuning variance parameter present in tslib utility does not > > help in removing all the ADC noise. > > This logic of filtering is ne

Re: Hang in md-raid1 with 3.7-rcX

2012-11-26 Thread Torsten Kaiser
On Tue, Nov 27, 2012 at 2:05 AM, NeilBrown wrote: > On Sat, 24 Nov 2012 10:18:44 +0100 Torsten Kaiser > wrote: > >> After my system got stuck with 3.7.0-rc2 as reported in >> http://marc.info/?l=linux-kernel&m=135142236520624 LOCKDEP seem to >> blame XFS, because it found 2 possible deadlocks. Bu

[PATCH -next] staging/fwserial: Fix build breakage when !CONFIG_BUG

2012-11-26 Thread Peter Hurley
Use WARN() as intended. Signed-off-by: Peter Hurley --- drivers/staging/fwserial/dma_fifo.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/fwserial/dma_fifo.c b/drivers/staging/fwserial/dma_fifo.c index 72aa053..5e84634 100644 --- a/drivers/staging/fwser

RE: [PATCH RESEND 6/7] input: ti_am335x_tsc: Add DT support

2012-11-26 Thread Patil, Rachna
Hi Dmitry, On Thu, Nov 22, 2012 at 00:02:23, Dmitry Torokhov wrote: > Hi Rachna, > > On Wed, Nov 07, 2012 at 12:22:03PM +0530, Patil, Rachna wrote: > > Add DT support for client touchscreen driver > > > > Signed-off-by: Patil, Rachna > > --- > > drivers/input/touchscreen/ti_am335x_tsc.c | 60

Re: [PATCH v3 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-26 Thread Jianguo Wu
On 2012/11/27 14:49, Wen Congyang wrote: > At 11/27/2012 01:47 PM, Jianguo Wu Wrote: >> On 2012/11/1 17:44, Wen Congyang wrote: >> >>> From: Yasuaki Ishimatsu >>> >>> All pages of virtual mapping in removed memory cannot be freed, since some >>> pages >>> used as PGD/PUD includes not only remove

RE: [PATCH RESEND 0/7] MFD: ti_am335x_tscadc: DT support and TSC features addition

2012-11-26 Thread Patil, Rachna
Hi Samuel, On Wed, Nov 21, 2012 at 22:30:21, Samuel Ortiz wrote: > Hi Rachna, > > On Fri, Nov 16, 2012 at 10:33:00AM +, Patil, Rachna wrote: > > Hi, > > > > This is just a gentle reminder of the patch set I had posted earlier viz. > > "[PATCH RESEND 0/7] MFD: ti_am335x_tscadc: DT support and

Re: [PATCH] extcon: arizona: Only set GPIO if it has been requested

2012-11-26 Thread Chanwoo Choi
On 11/27/2012 03:35 PM, Mark Brown wrote: > On Tue, Nov 27, 2012 at 08:26:35AM +0900, Chanwoo Choi wrote: >> On 11/26/2012 08:28 PM, Mark Brown wrote: > >>> + if (arizona->pdata.micd_pol_gpio > 0) >>> + gpio_set_value_cansleep(arizona->pdata.micd_pol_gpio, >>> +

[PATCH] mfd: tps65090: MFD_TPS65090 needs to select REGMAP_IRQ

2012-11-26 Thread Axel Lin
This fixes below build error: drivers/built-in.o: In function `tps65090_i2c_probe': drivers/mfd/tps65090.c:180: undefined reference to `regmap_add_irq_chip' drivers/mfd/tps65090.c:190: undefined reference to `regmap_irq_chip_get_base' drivers/mfd/tps65090.c:203: undefined reference to `regmap_del_

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Kyungmin Park
Hi, Does it right to use CONFIG_HAVE_GENERIC_DMA_COHERENT? it defined at init/Kconfig config HAVE_GENERIC_DMA_COHERENT bool default n and use at C file or header file as CONFIG_ prefix? e.g., include/asm-generic/dma-coherent.h:#ifdef CONFIG_HAVE_GENERIC_DMA_COHERENT Thank you, Ky

Re: linux-next: Tree for Nov 26 (staging/fwserial)

2012-11-26 Thread Peter Hurley
On Mon, 2012-11-26 at 12:56 -0800, Randy Dunlap wrote: > On 11/26/2012 06:17 AM, Stephen Rothwell wrote: > > > Hi all, > > > > Changes since 20121115: > > > > > on i386: > > drivers/staging/fwserial/dma_fifo.c: In function 'dma_fifo_in': > drivers/staging/fwserial/dma_fifo.c:174:2: error: imp

Re: Re: Re: [GIT PULL] extcon for Linux 3.8

2012-11-26 Thread MyungJoo Ham
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > On Tue, Nov 27, 2012 at 12:54:30AM +, MyungJoo Ham wrote: > > > On Thu, Nov 22, 2012 at 01:51:10PM +0900, MyungJoo Ham wrote: > > > > Please pull extcon patches for Linux 3.8. > > > > > > This is not a signed-tag pull request, which I thought I

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Marek Szyprowski
Hello, On 11/27/2012 6:59 AM, Prabhakar Lad wrote: From: Lad, Prabhakar from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds a check HAVE_GENERIC_DMA_COHERENT for dma ops, the check was wrongly made it should have been HAVE_GENERIC_DMA_COHERENT but it was CONFIG_HAVE_GENERIC_DMA_CO

[PATCH] zram: Prevent use of unmapped buffer

2012-11-26 Thread Nitin Gupta
The commit c8f2f0db1 ("zram: Fix handling of incompressible pages") introduced a bug which caused a kunmap()'ed buffer to be used in case of partial writes where the data was found to be incompressible. This fixes bug 50081: https://bugzilla.kernel.org/show_bug.cgi?id=50081 Signed-off-by: Nitin G

[PATCH 1/2] zsmalloc: add function to query object size

2012-11-26 Thread Nitin Gupta
Adds zs_get_object_size(handle) which provides the size of the given object. This is useful since the user (zram etc.) now do not have to maintain object sizes separately, saving on some metadata size (4b per page). The object handle encodes pair which currently points to the start of the object.

[PATCH 2/2] zram: reduce metadata overhead

2012-11-26 Thread Nitin Gupta
For every allocated object, zram maintains the the handle, size, flags and count fields. Of these, only the handle is required since zsmalloc now provides the object size given the handle. The flags field was needed only to mark a given page as zero-filled. Instead of this field, we now use an inva

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Prabhakar Lad
Hi, On Tue, Nov 27, 2012 at 12:47 PM, Kyungmin Park wrote: > Hi, > > Does it right to use CONFIG_HAVE_GENERIC_DMA_COHERENT? > it defined at init/Kconfig > > config HAVE_GENERIC_DMA_COHERENT > bool > default n > and use at C file or header file as CONFIG_ prefix? > e.g., include/as

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-11-26 Thread Dave Airlie
> > Third would be having a firewall in 2D driver checking the stream and > ensuring all registers that accept addresses are written by values > derived from dmabufs. I haven't tried implementing this, but it'd > involve a lookup table in kernel and CPU reading through the command > stream. Offsets

[PATCH v2 1/7] mfd: max8925: add irqdomain for dt

2012-11-26 Thread Qing Xu
From: Qing Xu Add irqdomains for max8925's main irq, wrap irq register operations into irqdomain's map func. it is necessary for dt support. Also, add dt support for max8925 driver. Signed-off-by: Qing Xu --- drivers/mfd/max8925-core.c | 69 ++- driv

Re: linux-next: Tree for Nov 26 (staging/fwserial)

2012-11-26 Thread Peter Hurley
On Mon, 2012-11-26 at 15:20 -0800, Andrew Morton wrote: > On Mon, 26 Nov 2012 12:56:07 -0800 > Randy Dunlap wrote: > > > On 11/26/2012 06:17 AM, Stephen Rothwell wrote: > > > > > Hi all, > > > > > > Changes since 20121115: > > > > > > > > > on i386: > > > > drivers/staging/fwserial/dma_fifo

Re: [PATCH] acer-wmi: add Aspire 5741G touchpad toggle key

2012-11-26 Thread Sergey Senozhatsky
On (11/27/12 14:31), joeyli wrote: > 於 一,2012-11-26 於 21:35 +0300,Sergey Senozhatsky 提到: > > Add Aspire 5741G KEY_TOUCHPAD_TOGGLE to wmi keymap, preventing > > "acer_wmi: Unknown key number - 0x85" error. > > > > > > Signed-off-by: Sergey Senozhatsky > > Signed-off-by: Lee, Chun-Yi > > Thanks

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Prabhakar Lad
Hi Marek, On Tue, Nov 27, 2012 at 12:53 PM, Marek Szyprowski wrote: > Hello, > > > On 11/27/2012 6:59 AM, Prabhakar Lad wrote: >> >> From: Lad, Prabhakar >> >> from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds >> a check HAVE_GENERIC_DMA_COHERENT for dma ops, the check was wrongly

Re: Recent kernel "mount" slow

2012-11-26 Thread Jens Axboe
On 2012-11-27 06:57, Jeff Chua wrote: > On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua wrote: >> On Sun, Nov 25, 2012 at 5:09 AM, Mikulas Patocka wrote: >>> So it's better to slow down mount. >> >> I am quite proud of the linux boot time pitting against other OS. Even >> with 10 partitions. Linux can

[PATCH v2 7/7] mfd: max8925: add dts

2012-11-26 Thread Qing Xu
From: Qing Xu add max8925 dts support into mmp2 brownstone platform Signed-off-by: Qing Xu --- arch/arm/boot/dts/mmp2-brownstone.dts | 158 + arch/arm/boot/dts/mmp2.dtsi |4 +- 2 files changed, 161 insertions(+), 1 deletions(-) diff --git a/arch/

Re: [PATCH] ARM: eukrea_mbimx27-baseboard - use stock get_pendown_state() in ads7846

2012-11-26 Thread Sascha Hauer
On Sat, Nov 24, 2012 at 12:25:30AM -0800, Dmitry Torokhov wrote: > The default implementation matches exactly our custom one so we can switch > to using the default one. As a bonus the driver will take care of setting > GPIO line for us. > > Signed-off-by: Dmitry Torokhov > --- > > Not tested -

Re: [PATCH 1/7] mfd: max8925: add irqdomain for dt

2012-11-26 Thread Qing Xu
On 11/23/2012 05:05 PM, Haojian Zhuang wrote: On Tue, Nov 6, 2012 at 3:37 PM, Qing Xu wrote: From: Qing Xu Add irqdomains for max8925's main irq, and touch irq. Wrap irq register operations into irqdomain's map func. it is necessary for dt support. Also, add dt support for max8925 driver. Si

Re: Recent kernel "mount" slow

2012-11-26 Thread Jens Axboe
On 2012-11-27 08:38, Jens Axboe wrote: > On 2012-11-27 06:57, Jeff Chua wrote: >> On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua wrote: >>> On Sun, Nov 25, 2012 at 5:09 AM, Mikulas Patocka >>> wrote: So it's better to slow down mount. >>> >>> I am quite proud of the linux boot time pitting agai

Re: [PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Marek Szyprowski
Hello, On 11/27/2012 8:39 AM, Prabhakar Lad wrote: Hi Marek, On Tue, Nov 27, 2012 at 12:53 PM, Marek Szyprowski wrote: > Hello, > > > On 11/27/2012 6:59 AM, Prabhakar Lad wrote: >> >> From: Lad, Prabhakar >> >> from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds >> a check HAVE_G

Re: [PATCH 2/4 v2] irqdomain: augment add_simple() to allocate descs

2012-11-26 Thread Linus Walleij
On Tue, Nov 27, 2012 at 1:24 AM, Rob Herring wrote: > My objection was removing completely (which a pr_debug effectively > does). I think Grant is saying just make the warning more informative > about why it failed which is fine with me. nr_irqs is already printed > out, so that provides some inf

Re: [PATCH v2 00/14] fuse: An attempt to implement a write-back cache policy

2012-11-26 Thread Maxim V. Patlasov
Hi Feng, 11/27/2012 05:04 AM, Feng Shuo пишет: Hi Maxim, I'm new to fuse but have some experience with NFS. From my understanding after reviewing your patchset, it seems only work with local file system or a distributed file system whose file is never modified (could be grown but no or very few

[PATCH 1/3] tools/hv: Fix for long file names from readdir

2012-11-26 Thread Tomas Hozza
kvp_get_if_name and kvp_mac_to_if_name copy strings into statically sized buffers which could be too small to store really long names. Buffer sizes have been changed to PATH_MAX, include "limits.h" where PATH_MAX is defined was added and length checks ware added via snprintf. Signed-off-by: Tomas

[PATCH 2/3] tools/hv: Fix /var subdirectory

2012-11-26 Thread Tomas Hozza
Initial patch by Ben Hutchings We will install this in /usr, so it must use /var/lib for its state. Only programs installed under /opt should use /var/opt. Signed-off-by: Tomas Hozza --- tools/hv/hv_kvp_daemon.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/t

[PATCH 3/3] tools/hv: Fix permissions of created directory and files

2012-11-26 Thread Tomas Hozza
From: Ben Hutchings It's silly to create directories without execute permission, or to give permissions to 'other' but not the group-owner. Write the permissions in octal and 'ls -l' format since these are much easier to read than the named macros. Signed-off-by: Ben Hutchings Signed-off-by: T

Re: [PATCH] zram: Prevent use of unmapped buffer

2012-11-26 Thread Tomas M
Good work. The patch fixes a serious bug on 3.6.5, 3.6.6, 3.6.7 and 3.6.8 I hope it gets mainlined ASAP Tomas M slax.org On Tue, Nov 27, 2012 at 8:26 AM, Nitin Gupta wrote: > The commit c8f2f0db1 ("zram: Fix handling of incompressible pages") > introduced a bug which caused a kunmap()'ed buffer

Re: [PATCH 1/2] autofs4: allow autofs to work outside the initial PID namespace

2012-11-26 Thread Miklos Szeredi
On Mon, Nov 26, 2012 at 3:29 AM, Ian Kent wrote: >> > > MS_UNBINDABLE says: skip this mount when copying a mount tree, such >> > > as when the mount namespace is cloned. >> > > >> > > If you set MS_UNBINDABLE on autofs mounts then they will simply not >> > > appear in a cloned namespace. Which s

RE: need help on a DEADLOCK problem related to function try_one_irq()

2012-11-26 Thread Wang, Warner
Hi Thomas and Edward, This patch works fine for our problems, but I'm not sure if it works for the recent submit "genirq: fix regression in irqfixup, irqpoll" "52553ddffad76ccf192d4dd9ce88d5818f57f62a", which submitted by Edward Donovan. Edward can you help verify it on your environment? Than

Re: [PATCH] HID: hidraw: fix nonblock read return EAGAIN after device removed

2012-11-26 Thread Dmitry Torokhov
Hi Founder, On Mon, Nov 26, 2012 at 10:30:37AM +0800, founder.fang wrote: > Hi Linux-Input, Jiri, Dmitry, > this patch is related to nonblock read on hidraw device. > when nonblock read the condition check (file->f_flags & O_NONBLOCK) > always be true, > signal_pending and device exist checking ne

Re: Questions about function detect_intel_iommu(void)

2012-11-26 Thread Dave Airlie
On Mon, Nov 26, 2012 at 4:36 PM, Li, Zhen-Hua wrote: > Hi all, > I am debugging a bug about iommu recently and got a question > about the function detect_intel_opmmu, Could anybody kindly help me? > > In dmar.c, this function : > void __init detect_intel_iommu(void) >

Re: [PATCH v3 3/3] pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs

2012-11-26 Thread Peter Ujfalusi
On 11/23/2012 04:04 PM, Thierry Reding wrote: > On Tue, Nov 20, 2012 at 10:56:22AM +0100, Peter Ujfalusi wrote: >> The driver supports the following LED outputs as generic PWM driver: >> TWL4030 LEDA and LEDB (PWMA and PWMB) >> TWL6030 Charging indicator LED (PWM LED) >> >> On TWL6030 when the PWM

[RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-26 Thread Andrzej Pietrasiewicz
In some parts of the kernel (e.g. planned configfs integration into usb gadget) there is a need to programmatically create config groups (directories) but it would be preferable to disallow creating them by the user. This is more or less what default_groups used to be for. But e.g. in the mass stor

[RFC][PATCH] fs: configfs: allow other kernel parts to programmatically create config groups

2012-11-26 Thread Andrzej Pietrasiewicz
Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park --- fs/configfs/dir.c|5 +++-- include/linux/configfs.h |2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fs/configfs/dir.c b/fs/configfs/dir.c index 7414ae2..42608dc 100644 --- a/fs/configfs/di

[PATCH] backlight: lms283gf05: use GPIOF_INIT flags when using devm_gpio_request_one()

2012-11-26 Thread Jingoo Han
GPIOF_DIR_OUT and GPIOF_DIR_IN are defined as below: GPIOF_DIR_OUT (0 << 0) GPIOF_DIR_IN(1 << 0) So, when !pdata->reset_inverted is 1, the gpio pin can be set as input, instead of output. To provent this problem, GPIOF_INIT flag should be used when using devm_gpio_request_one(). Signed-of

Re: [RFC PATCH v3 3/3] acpi_memhotplug: Allow eject to proceed on rebind scenario

2012-11-26 Thread Vasilis Liaskovitis
On Sun, Nov 25, 2012 at 12:20:47AM +0800, Wen Congyang wrote: > At 2012/11/24 1:50, Vasilis Liaskovitis Wrote: > > Consider the following sequence of operations for a hotplugged memory > > device: > > > > 1. echo "PNP0C80:XX"> /sys/bus/acpi/drivers/acpi_memhotplug/unbind > > 2. echo "PNP0C80:XX"

Re: [PATCH 08/11] HID: hid-multitouch: add support for Nexio 42" panel

2012-11-26 Thread Benjamin Tissoires
On Fri, Nov 23, 2012 at 4:31 PM, Benjamin Tissoires wrote: > This device is the worst device I saw. It keeps TipSwitch and InRange > at 1 for fingers that are not touching the panel. > The solution is to rely on the field ContactCount, which is accurate > as the correct information are packed at t

linux-next: manual merge of the char-misc tree with the sound-asoc tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in drivers/misc/atmel-ssc.c between commit 5c86ac695c7e ("ASoC: atmel-ssc: use module_platform_driver macro") from the sound-asoc tree and commit 2d6bed9ca93e ("drivers/misc: remove use of __devexit_p") from the char-misc tree.

Re: Questions about function detect_intel_iommu(void)

2012-11-26 Thread Li, Zhen-Hua
I read the code of kernel 3.5.2, and found this function is only called in function void __init pci_iommu_alloc(void) in file arch/ia64/kernel/pci-dma.c . So I think it is only called on IA64 system. On Mon, Nov 26, 2012 at 4:25 PM, Dave Airlie wrote: > On Mon, Nov 26, 2012 at 4:36 PM, Li, Zhen-

Re: [PATCH 11/24] MAINTAINERS: fix .../plat-mxc/include/mach/imxfb.h

2012-11-26 Thread Sascha Hauer
On Fri, Nov 23, 2012 at 10:26:35PM -0200, Cesar Eduardo Barros wrote: > This file was moved to include/linux/platform_data/video-imxfb.h by > commit 82906b1 (ARM: imx: move platform_data definitions). > > Cc: Sascha Hauer > Cc: linux-fb...@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.or

Re: [PATCH] ASoC: mxs-saif: export mxs_saif_put_mclk,mxs_saif_get_mclk

2012-11-26 Thread Lothar Waßmann
Hi, Mark Brown writes: > On Fri, Nov 23, 2012 at 08:21:22AM +0100, Lothar Waßmann wrote: > > > On Thu, Nov 22, 2012 at 01:31:09PM +0100, Lothar Waßmann wrote: > > > > Why? > > > I thought that was obvious... To be able to compile the mxs sound > > driver as module. > > Do you want to add new us

[PATCH v3] ASoC: fsl: fix miscompilation of snd-soc-imx-pcm

2012-11-26 Thread Lothar Waßmann
Hi Mark, thanks your insisting on a better description for the patch, I found a more appropriate solution for the problem: Compiling the SoC Audio driver for Freescale i.MX as a module (CONFIG_SND_SOC_IMX_PCM=m) results in a non-functional sound driver indicated by the error message: | imx-sgtl5

Re: [PATCH 18/24] MAINTAINERS: remove drivers/mmc/host/imxmmc.*

2012-11-26 Thread Sascha Hauer
Hi Pavel, On Sat, Nov 24, 2012 at 09:18:42AM +0100, Pavel Pisa wrote: > On Saturday 24 November 2012 01:26:42 Cesar Eduardo Barros wrote: > > This driver was removed by commit 6187fee (mmc: remove imxmmc driver). > > > > Cc: Sascha Hauer > > Cc: Pavel Pisa > > Cc: linux-arm-ker...@lists.infradea

linux-next: manual merge of the pinctrl tree with the sound-asoc tree

2012-11-26 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/boot/dts/at91sam9260.dtsi between commit 099343c64e16 ("ARM: at91: atmel-ssc: add device tree support") from the sound-asoc tree and commit 9873137a7a22 ("ARM: at91/dts: add nodes for atmel hsmci controllers for atme

Re: The ethernet driver doesn't get probed

2012-11-26 Thread Woody Wu
On Mon, Nov 26, 2012 at 08:47:57AM +0100, Belisko Marek wrote: > On Mon, Nov 26, 2012 at 7:59 AM, Woody Wu wrote: > > Hi, List > > > > I enabled an ax88796 Ethernet driver in the kernel configuration menu. > > Kernel version is 3.4.19. The arch is ARM and the system type is > > Samsung S3C2410. >

linux-next: manual merge of the pinctrl tree with the sound-asoc tree

2012-11-26 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/boot/dts/at91sam9g20ek_common.dtsi between commit 531f67e41dcd ("ASoC: at91sam9g20ek-wm8731: convert to dt support") from the sound-asoc tree and commit 4134a4552748 ("ARM: at91/dts: add nodes for atmel hsmci control

Re: [PATCH v3 03/10] ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem

2012-11-26 Thread Benoit Cousson
Hi Vaibhav, On 11/26/2012 06:19 AM, Bedia, Vaibhav wrote: > On Fri, Nov 23, 2012 at 16:36:06, Philip, Avinash wrote: >> On Tue, Nov 20, 2012 at 10:33:44, Philip, Avinash wrote: >>> As part of PWM subsystem integration, PWM subsystem are sharing >>> resources like clock across submodules (ECAP, EQE

Re: [PATCH 1/2] input: gpio-keys: Disable hardware on suspend

2012-11-26 Thread Lee Jones
> On Thu, Nov 22, 2012 at 01:23:36PM +, Lee Jones wrote: > > From: Jonas Aaberg > > > > Disable hardware if active when suspending if the hw can not > > wake the system from suspend. > > How about below instead (needs the other patch I have just sent out)? Sorry Dmitry, I'm a little confuse

Re: The ethernet driver doesn't get probed

2012-11-26 Thread Woody Wu
On 2012-11-26, Li, Zhen-Hua wrote: > First you should run "lspci -n" to check your device ID and vendor > ID, and make sure they are in the map list in > /lib/modules//modules.alias . > For some reasons, I cannot build the driver as loadable modules since I have to get network before mount the r

Re: [PATCH 3/5] Input: bu21013_ts - Add support for Device Tree booting

2012-11-26 Thread Lee Jones
On Fri, 23 Nov 2012, Dmitry Torokhov wrote: > On Fri, Nov 23, 2012 at 03:52:58PM +, Lee Jones wrote: > > On Wed, 14 Nov 2012, Lee Jones wrote: > > > > > Now we can register the BU21013_ts touch screen when booting with > > > Device Tree enabled. Here we parse all the necessary components > >

Re: [PATCH 2/4] ds1374: add support of device tree

2012-11-26 Thread Thomas Petazzoni
Dear Philippe Reynes, On Sun, 25 Nov 2012 21:17:03 +0100, Philippe Reynes wrote: > Signed-off-by: Philippe Reynes > --- > drivers/rtc/rtc-ds1374.c |8 > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c > index 966

Re: [PATCH v3 1/3] pwm: Remove pwm-twl6030 driver

2012-11-26 Thread Peter Ujfalusi
On 11/23/2012 04:05 PM, Thierry Reding wrote: > On Tue, Nov 20, 2012 at 10:56:20AM +0100, Peter Ujfalusi wrote: >> This driver only supported the Charging indicator LED. >> New set of drivers going to provide support for both PWMs and LEDs for >> twl4030 >> and twl6030 series of PMICs. >> >> Signe

Re: The ethernet driver doesn't get probed

2012-11-26 Thread Li, Zhen-Hua
Goto /sys/ to find it. The devices are listed in it. On Mon, Nov 26, 2012 at 5:06 PM, Woody Wu wrote: > On 2012-11-26, Li, Zhen-Hua wrote: >> First you should run "lspci -n" to check your device ID and vendor >> ID, and make sure they are in the map list in >> /lib/modules//modules.alias . >> >

Re: [PATCH, 3.7-rc7, RESEND] fs: revert commit bbdd6808 to fallocate UAPI

2012-11-26 Thread Dave Chinner
On Sun, Nov 25, 2012 at 09:55:20PM -0500, Theodore Ts'o wrote: > On Mon, Nov 26, 2012 at 11:28:14AM +1100, Dave Chinner wrote: > > fs: revert commit bbdd6808 to fallocate UAPI > > > > From: Dave Chinner > > > > Commit bbdd6808 ("fs: reserve fallocate flag codepoint") changes the > > fallocate(2)

Re: [PATCH v3 3/3] pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs

2012-11-26 Thread Thierry Reding
On Mon, Nov 26, 2012 at 09:30:03AM +0100, Peter Ujfalusi wrote: > On 11/23/2012 04:04 PM, Thierry Reding wrote: > > On Tue, Nov 20, 2012 at 10:56:22AM +0100, Peter Ujfalusi wrote: > >> The driver supports the following LED outputs as generic PWM driver: > >> TWL4030 LEDA and LEDB (PWMA and PWMB) >

Re: [PATCH 3/4] imx27-dt: configure i2c1 gpio on armadeus apf27

2012-11-26 Thread Thomas Petazzoni
Dear Philippe Reynes, On Sun, 25 Nov 2012 21:17:04 +0100, Philippe Reynes wrote: > static const struct of_dev_auxdata imx27_auxdata_lookup[] __initconst = { > @@ -48,6 +49,10 @@ int apf27_lan8700_wakeup(struct phy_device *phydev) > static void __init apf27_init(void) > { > phy_register_f

Re: [PATCH 2/2] pinctrl: mvebu: make pdma clock on dove mandatory

2012-11-26 Thread Baruch Siach
Hi Sebastian, On Mon, Nov 26, 2012 at 10:20:34AM +0100, Sebastian Hesselbarth wrote: [...] > diff --git a/drivers/pinctrl/mvebu/pinctrl-dove.c > b/drivers/pinctrl/mvebu/pinctrl-dove.c > index 40c9c3e..90f257d 100644 > --- a/drivers/pinctrl/mvebu/pinctrl-dove.c > +++ b/drivers/pinctrl/mvebu/pinc

Re: [PATCH 3/5] Input: bu21013_ts - Add support for Device Tree booting

2012-11-26 Thread Dmitry Torokhov
On Mon, Nov 26, 2012 at 09:07:36AM +, Lee Jones wrote: > On Fri, 23 Nov 2012, Dmitry Torokhov wrote: > > > On Fri, Nov 23, 2012 at 03:52:58PM +, Lee Jones wrote: > > > On Wed, 14 Nov 2012, Lee Jones wrote: > > > > > > > Now we can register the BU21013_ts touch screen when booting with > >

Re: [PATCH v3 2/3] pwm: New driver to support PWMs on TWL4030/6030 series of PMICs

2012-11-26 Thread Peter Ujfalusi
On 11/23/2012 03:58 PM, Thierry Reding wrote: > On Tue, Nov 20, 2012 at 10:56:21AM +0100, Peter Ujfalusi wrote: >> The driver supports the following PWM outputs: >> TWL4030 PWM0 and PWM1 >> TWL6030 PWM1 and PWM2 >> >> On TWL4030 the PWM signals are muxed. Upon requesting the PWM the driver >> will

Re: [PATCH 1/2] input: gpio-keys: Disable hardware on suspend

2012-11-26 Thread Dmitry Torokhov
On Mon, Nov 26, 2012 at 09:05:03AM +, Lee Jones wrote: > > On Thu, Nov 22, 2012 at 01:23:36PM +, Lee Jones wrote: > > > From: Jonas Aaberg > > > > > > Disable hardware if active when suspending if the hw can not > > > wake the system from suspend. > > > > How about below instead (needs t

Re: [PATCH v3 3/3] pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs

2012-11-26 Thread Peter Ujfalusi
On 11/26/2012 10:17 AM, Thierry Reding wrote: >>> Doesn't this belong in the drivers/leds subsystem? Besides that, the >>> same comments as for the previous patch apply. One additional note >>> below. >> >> The PINs itself are called as LED but they are PWMs at the end. If we >> represent them as P

linux-next: manual merge of the arm-soc tree with the pinctrl tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/Makefile between commit ec6754a7b9e9 ("arm: at91: dt: at91sam9 add serial pinctrl support") from the pinctrl tree and commit e8d623986990 ("Merge branch 'next/soc' into for-next") from the arm-soc tree. I fix

Re: [PATCH 1/3] balancenuma: add stats for huge pmd numa faults

2012-11-26 Thread Mel Gorman
On Sun, Nov 25, 2012 at 02:14:12PM +0800, Hillf Danton wrote: > On 11/24/12, Mel Gorman wrote: > > On Sat, Nov 24, 2012 at 12:17:03PM +0800, Hillf Danton wrote: > >> A thp contributes 512 times more than a regular page to numa fault stats, > >> so deserves its own vm event counter. THP migration i

[PATCH] ARM: OMAP: Conditionally compile counter_32k

2012-11-26 Thread Alessio Igor Bogani
The 32K timer isn't available on all OMAP devices. Signed-off-by: Alessio Igor Bogani --- arch/arm/plat-omap/Makefile |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile index 8d88584..b1b321c 100644 --- a/arch/arm/p

Re: Comparison between three trees (was: Latest numa/core release, v17)

2012-11-26 Thread Mel Gorman
On Sun, Nov 25, 2012 at 04:47:15PM +0800, Hillf Danton wrote: > On 11/24/12, Mel Gorman wrote: > > Warning: This is an insanely long mail and there a lot of data here. Get > > coffee or something. > > > > This is another round of comparisons between the latest released versions > > of each of

Re: [PATCH 2/5] backlight: Add Sanyo LV5207LP backlight driver

2012-11-26 Thread Jingoo Han
On Saturday, November 24, 2012 1:35 AM, Laurent Pinchart wrote > > Signed-off-by: Laurent Pinchart CC'ed Andrew Morton Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/Kconfig|6 + > drivers/video/backlight/Makefile |1 + > drivers/video

Re: [PATCH] ewrk3: silence GCC warning

2012-11-26 Thread Paul Bolle
On Sun, 2012-11-25 at 11:45 +0100, richard -rw- weinberger wrote: > > While we're touching this code also drop an outdated comment, that > > should have been dropped with the patch named "MODULE_PARM conversions" > > from early 2005. > > Please send this change as an additional patch. Sure. Altho

Re: vdso && cr (Was: arch_check_bp_in_kernelspace: fix the range check)

2012-11-26 Thread Cyrill Gorcunov
On Thu, Nov 22, 2012 at 05:12:38PM +0100, Oleg Nesterov wrote: > On 11/22, Amnon Shiloh wrote: > > > > Now however, that "vsyscall" was effectively replaced by vdso, it > > creates a new problem for me and probably for anyone else who uses > > some form of checkpoint/restore: > > Oh, sorry, I can'

linux-next: manual merge of the arm-soc tree with the net-next tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/am33xx.dtsi between commit 1a39a65cba08 ("arm/dts: am33xx: Add CPSW and MDIO module nodes for AM33XX") from the net-next tree and commits 059b185d5345 ("ARM: dts: AM33XX: Add D_CAN device tree data") and 4c94a

Re: [RFT PATCH v1 0/5] fix up inaccurate zone->present_pages

2012-11-26 Thread Chris Clayton
On 11/22/12 09:23, Chris Clayton wrote: This patchset has only been tested on x86_64 with nobootmem.c. So need help to test this patchset on machines: 1) use bootmem.c 2) have highmem This patchset applies to "f4a75d2e Linux 3.7-rc6" from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/

Re: [PATCH 2/5] backlight: Add Sanyo LV5207LP backlight driver

2012-11-26 Thread Jingoo Han
On Saturday, November 24, 2012 1:35 AM, Laurent Pinchart wrote > > Signed-off-by: Laurent Pinchart CC'ed Andrew Morton Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/Kconfig|6 + > drivers/video/backlight/Makefile |1 + > drivers/video/ba

Re: [PATCH 1/5] backlight: Add GPIO-based backlight driver

2012-11-26 Thread Jingoo Han
On Saturday, November 24, 2012 1:35 AM, Laurent Pinchart wrote > > Signed-off-by: Laurent Pinchart CC'ed Andrew Morton It looks good. Also, I tested this patch with SMDK4210 board. Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/Kconfig |7 ++ > dr

Re: [PATCH 3/3] regulator: add device tree support for max8997

2012-11-26 Thread Mark Brown
On Sat, Nov 24, 2012 at 11:46:51PM +0530, Thomas Abraham wrote: > The max8997 driver is mainlined. I actually meant to say that, this v6 > version of dt support patch for max8997, is similar in functionality > to the v5 version of this patch. I did prepare this patch based on > your latest for-nex

Re: [RFC PATCH v3 3/3] acpi_memhotplug: Allow eject to proceed on rebind scenario

2012-11-26 Thread Wen Congyang
At 11/26/2012 04:36 PM, Vasilis Liaskovitis Wrote: > On Sun, Nov 25, 2012 at 12:20:47AM +0800, Wen Congyang wrote: >> At 2012/11/24 1:50, Vasilis Liaskovitis Wrote: >>> Consider the following sequence of operations for a hotplugged memory >>> device: >>> >>> 1. echo "PNP0C80:XX"> /sys/bus/acpi/dr

[RFC] could we remove some work to reduce the overhead of cgroup?

2012-11-26 Thread Michael Wang
Hi, Folks I'm trying to find the place where we could reduce the overhead of cgroup, especially when there is only root_task_group (thanks for Peter's suggestion). I found that no place is using the load info of root_task_group and root cfs_rq currently, could we do some thing like below to reduc

linux-next: manual merge of the arm-soc tree with the sound-asoc and pincrtl trees

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/at91sam9263.dtsi between various commits from the arm-soc and pinctrl trees and commit 7492e7ca0f95 ("ARM: at91/dts: add at91sam9_wdt driver to at91sam926x, at91sam9g45") from the arm-soc tree. I fixed it up

[PATCH] memory: fix the argument passed to sync_alobal_pgds()

2012-11-26 Thread Wen Congyang
The address rang of sync_global_pgds() should be [start, end], but we pass [start, end) to this function. Cc: Yasuaki Ishimatsu Cc: David Rientjes Cc: Jiang Liu Cc: Minchan Kim Cc: KOSAKI Motohiro Cc: Andrew Morton Cc: Mel Gorman Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" S

linux-next: manual merge of the arm-soc tree with the arm-soc and pincrtl trees

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/at91sam9g45.dtsi between various commits from the arm-soc and pincrtl trees and commit 7492e7ca0f95 ("ARM: at91/dts: add at91sam9_wdt driver to at91sam926x, at91sam9g45") from the arm-soc tree. I fixed it up

Re: [PATCH 3/4] imx27-dt: configure i2c1 gpio on armadeus apf27

2012-11-26 Thread Sascha Hauer
On Mon, Nov 26, 2012 at 10:28:58AM +0100, Thomas Petazzoni wrote: > Dear Philippe Reynes, > > On Sun, 25 Nov 2012 21:17:04 +0100, Philippe Reynes wrote: > > > static const struct of_dev_auxdata imx27_auxdata_lookup[] __initconst = { > > @@ -48,6 +49,10 @@ int apf27_lan8700_wakeup(struct phy_devi

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread Mel Gorman
On Sun, Nov 25, 2012 at 10:58:41PM -0500, George Spelvin wrote: > Sorry for the delay; was AF(that)K for the weekend. > > > Ok, is there any chance you can capture more of sysrq+m, particularly the > > bits that say how much free memory there is and many pages of each order > > that is free? If yo

Re: [PULL REQUEST for Rafael] PM / devfreq: pull request-3 bugfixes

2012-11-26 Thread Rafael J. Wysocki
On Monday, November 26, 2012 03:41:22 PM MyungJoo Ham wrote: > Dear Rafael, > > sorry for the inconviences; I forgot that I've updated the tag name > according to the date modified. > > Please use "pull_req_20121122" tag instead of "pull_req_20121121" though > I've pushed pull_req_20121121 tag ag

Re: [PATCH] firmware: Add Lattice ECP3 FPGA configuration via SPI

2012-11-26 Thread Stefan Roese
On 11/26/2012 02:35 AM, Ming Lei wrote: > On Fri, Nov 23, 2012 at 3:58 PM, Stefan Roese wrote: >> This patch adds support for bitstream configuration (programming / >> loading) of the Lattice ECP3 FPGA's via the SPI bus. >> >> Here an example on my custom MPC5200 based board: >> >> $ echo 1 > /sys

linux-next: manual merge of the arm-soc tree with the thermal tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/dbx5x0.dtsi between commit dc1956b5f84d ("Thermal: Add ST-Ericsson DB8500 thermal properties and platform data") from the thermal tree and commit 0563f638f052 ("ARM: ux500: Add node for the MMC GPIO regulator"

Re: linux-next: build failure after merge of the pm tree

2012-11-26 Thread Rafael J. Wysocki
On Monday, November 26, 2012 05:09:19 PM Stephen Rothwell wrote: > Hi Rafael, > > After merging the pm tree, today's linux-next build (x86_64 allmodconfig) > failed like this: > > drivers/devfreq/governor_simpleondemand.c: In function > 'devfreq_simple_ondemand_func': > drivers/devfreq/governor_

linux-next: manual merge of the arm-soc tree with the thermal tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/snowball.dts between commit dc1956b5f84d ("Thermal: Add ST-Ericsson DB8500 thermal properties and platform data") from the thermal tree and commit 809efa565a83 ("ARM: ux500: Move regulator-name properties out

<    3   4   5   6   7   8   9   10   >