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

2012-11-27 Thread Laurent Pinchart
Hi Jingoo, On Tuesday 27 November 2012 01:10:36 Jingoo Han wrote: > On Saturday, November 24, 2012 1:35 AM, Laurent Pinchart wrote > > > > > Signed-off-by: Laurent Pinchart > > --- > > > > drivers/video/backlight/Kconfig |7 ++ > > drivers/video/backlight/Makefile |1

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

2012-11-27 Thread Lucas Stach
Am Dienstag, den 27.11.2012, 13:31 +0200 schrieb Terje Bergström: > On 27.11.2012 12:37, Thierry Reding wrote: > > But in that case it should be made mandatory at first until proper IOMMU > > support is enabled on Tegra30. Then it can be checked at driver probe > > time whether or not to enable

[PATCH] nfsd: remove redundant declarations

2012-11-27 Thread Stanislav Kinsbursky
This is a cleanup patch. Functions nfsd_pool_stats_open() and nfsd_pool_stats_release() are declared in fs/nfsd/nfsd.h. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfsctl.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index

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

2012-11-27 Thread Lee Jones
Author: Lee Jones Date: Fri Sep 28 14:35:43 2012 +0100 Input: bu21013_ts - Add support for Device Tree booting Now we can register the BU21013_ts touch screen when booting with Device Tree enabled. Here we parse all the necessary components previously expected to be passed

Re: Shared regulator usage

2012-11-27 Thread Mark Brown
On Tue, Nov 27, 2012 at 04:45:29PM +0530, Anirudh Ghayal wrote: > At 1.4Ghz the cpu-freq driver votes for 1.3v, then the CPR kicks in > and recommends a voltage of 1.275v. Now a set_voltage with this new > level (1.275v, 1.275) fails as it does not satisfy the limits of > the cpu-freq driver. It

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

2012-11-27 Thread Mauro Carvalho Chehab
Em Tue, 27 Nov 2012 14:55:10 +0530 Prabhakar Lad escreveu: > Hi, > > On Tue, Nov 27, 2012 at 1:21 PM, Marek Szyprowski > wrote: > > 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: > >>

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

2012-11-27 Thread Terje Bergström
On 27.11.2012 12:37, Thierry Reding wrote: > But in that case it should be made mandatory at first until proper IOMMU > support is enabled on Tegra30. Then it can be checked at driver probe > time whether or not to enable the extra checks. That way we don't need a > special Kconfig option and we

Re: [PATCH v5 0/8] fat: fix estale error on VFAT over NFS.

2012-11-27 Thread Namjae Jeon
2012/11/27, OGAWA Hirofumi : > Namjae Jeon writes: > >> From: Namjae Jeon >> >> This patch-set eliminates the client side ESTALE errors when a FAT >> partition >> exported over NFS has its dentries evicted from the cache. >> >> One of the reasons for this error is lack of permanent inode numbers

[PATCH 2/2] fs: logfs NULL pointer check added

2012-11-27 Thread Abhijit Pawar
This patches fixes the case where the NULL inode may be passed to get the page for writing. Signed-off-by: Abhijit Pawar --- fs/logfs/readwrite.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c index 53596ce..55b45fb 100644

[PATCH 1/2] fs: logfs NULL pointer check added

2012-11-27 Thread Abhijit Pawar
This patch fixes Bug 49921 - Missing NULL check of return value of logfs_get_write_page() in function btree_write_block() Signed-off-by: Abhijit Pawar --- fs/logfs/readwrite.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fs/logfs/readwrite.c b/fs/logfs/readwrite.c

Re: linux-next: manual merge of the omap_dss2 tree with Linus' tree

2012-11-27 Thread Tomi Valkeinen
Hi, On 2012-11-26 07:22, Stephen Rothwell wrote: > Hi Tomi, > > Today's linux-next merge of the omap_dss2 tree got a conflict in > drivers/video/omap2/dss/dss.c between commit f65e384bec59 ("omapdss: dss: > Fix clocks on OMAP363x") from Linus' tree and commit bd81ed081887 > ("OMAPDSS: DSS: use

Re: [PATCH v3 0/3] ACPI: container hot remove support.

2012-11-27 Thread Hanjun Guo
On 2012/11/27 10:38, Tang Chen wrote: > On 11/27/2012 09:08 AM, Hanjun Guo wrote: >> On 2012/11/26 14:06, Tang Chen wrote: >>> On 11/26/2012 01:42 PM, Hanjun Guo wrote: Hi all, I think Yasuaki mentioned the key point for the container device remove, that is dependency.

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

2012-11-27 Thread Mugunthan V N
On 11/26/2012 3:15 PM, Stephen Rothwell wrote: 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:

Re: [PATCH 11/42] ARM: shmobile: Register PFC platform device

2012-11-27 Thread Laurent Pinchart
Hi Simon, On Tuesday 27 November 2012 11:26:28 Simon Horman wrote: > On Mon, Nov 26, 2012 at 11:34:36AM +0100, Laurent Pinchart wrote: > > On Monday 26 November 2012 10:02:05 Simon Horman wrote: > > > On Wed, Nov 21, 2012 at 01:43:15PM +0100, Laurent Pinchart wrote: > > > > On Wednesday 21

Re: [PATCH] fs/fat: strip "cp" prefix from codepage in display

2012-11-27 Thread OGAWA Hirofumi
Dave Reisner writes: > Option parsing code expects an unsigned integer for the codepage option, > but prefixes and stores this option with "cp" before passing to > load_nls(). This makes the displayed option in /proc an invalid one. > Strip the prefix when printing so that the displayed option

Re: Shared regulator usage

2012-11-27 Thread Anirudh Ghayal
On 11/26/2012 7:17 PM, Mark Brown wrote: On Mon, Nov 26, 2012 at 05:13:37AM -0800, agha...@codeaurora.org wrote: For example: Consumer (A) cpu-freq sets the voltage range to {1.275v, 1.375v}. The regulator framework eventually sets the regulator to 1.275v. Consumer (B) recommends a lower the

Re: [PATCH v5 0/8] fat: fix estale error on VFAT over NFS.

2012-11-27 Thread OGAWA Hirofumi
Namjae Jeon writes: > From: Namjae Jeon > > This patch-set eliminates the client side ESTALE errors when a FAT partition > exported over NFS has its dentries evicted from the cache. > > One of the reasons for this error is lack of permanent inode numbers on FAT > which makes it difficult to

Re: [PATCH] Revert "mm: remove __GFP_NO_KSWAPD"

2012-11-27 Thread Mel Gorman
On Fri, Nov 23, 2012 at 04:20:48PM +0100, Thorsten Leemhuis wrote: > Thorsten Leemhuis wrote on 20.11.2012 18:43: > > On 20.11.2012 16:38, Josh Boyer wrote: > > > > The short story from my current point of view is: > > Quick update, in case anybody is interested: > > > * my main machine at

[PATCH 2/2] nfsd: make NFSv4 grace time per net

2012-11-27 Thread Stanislav Kinsbursky
Grace time is a part of NFSv4 state engine, which is constructed per network namespace. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |1 + fs/nfsd/nfs4state.c |9 +++-- fs/nfsd/nfsctl.c|4 +++- fs/nfsd/nfsd.h |2 -- 4 files changed, 7 insertions(+), 9

[PATCH 1/2] nfsd: make NFSv4 lease time per net

2012-11-27 Thread Stanislav Kinsbursky
Lease time is a part of NFSv4 state engine, which is constructed per network namespace. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h|2 ++ fs/nfsd/nfs4callback.c |8 +--- fs/nfsd/nfs4state.c| 11 +-- fs/nfsd/nfs4xdr.c |4 +++-

[PATCH 0/2] NFSd: NFSv4 state - lease and grace times per net

2012-11-27 Thread Stanislav Kinsbursky
This two variables are parts of NFSv4 state and should be containerized too. The following series implements... --- Stanislav Kinsbursky (2): nfsd: make NFSv4 lease time per net nfsd: make NFSv4 grace time per net fs/nfsd/netns.h|3 +++ fs/nfsd/nfs4callback.c |8

Re: [PATCH] mm: compaction: Fix return value of capture_free_page

2012-11-27 Thread Mel Gorman
On Mon, Nov 26, 2012 at 07:06:53AM -0800, Dave Hansen wrote: > On 11/26/2012 03:23 AM, Mel Gorman wrote: > > On Wed, Nov 21, 2012 at 02:21:51PM -0500, Dave Hansen wrote: > >> > >> This needs to make it in before 3.7 is released. > >> > > > > This is also required. Dave, can you double check? The

Re: [RFC v2 2/8] video: tegra: Add syncpoint wait and interrupts

2012-11-27 Thread Sivaram Nair
On Mon, Nov 26, 2012 at 02:19:08PM +0100, Terje Bergstrom wrote: > +void nvhost_intr_stop(struct nvhost_intr *intr) > +{ > + unsigned int id; > + struct nvhost_intr_syncpt *syncpt; > + u32 nb_pts = nvhost_syncpt_nb_pts(_to_dev(intr)->syncpt); > + > + mutex_lock(>mutex); > +

Re: Re: Re: Re: Re: Re: [RFC PATCH 0/2] kvm/vmx: Output TSC offset

2012-11-27 Thread Yoshihiro YUNOMAE
Hi Marcelo, (2012/11/27 8:16), Marcelo Tosatti wrote: On Mon, Nov 26, 2012 at 08:05:10PM +0900, Yoshihiro YUNOMAE wrote: 500h. event tsc_write tsc_offset=-3000 Then a guest trace containing events with a TSC timestamp. Which tsc_offset to use? (that is the problem, which unless i am mistaken

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-11-27 Thread Sivaram Nair
On Mon, Nov 26, 2012 at 02:19:07PM +0100, Terje Bergstrom wrote: > + > +struct nvhost_chip_support *nvhost_chip_ops; should be static? > +static int __devinit nvhost_alloc_resources(struct nvhost_master *host) > +{ > + int err; > + > + err = nvhost_init_chip_support(host); > +

Re: [PATCHv2 2/2] scripts/kernel-doc: check that non-void fcts describe their return value

2012-11-27 Thread Michal Marek
On 27.11.2012 02:43, Randy Dunlap wrote: > On 11/26/2012 01:22 PM, Yacine Belkadi wrote: > >> If a function has a return value, but its kernel-doc comment doesn't contain >> a >> "Return" section, then emit the following warning: >> >>Warning(file.h:129): No description found for return

[PATCH 1/1] f2fs: remove unneeded version.h header file from f2fs.h

2012-11-27 Thread Sachin Kamat
Including is not necessary. Signed-off-by: Sachin Kamat --- fs/f2fs/f2fs.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 7aa70b5..d3f5a70 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -14,7 +14,6 @@ #include #include

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

2012-11-27 Thread Thierry Reding
On Tue, Nov 27, 2012 at 11:22:56AM +0100, Lucas Stach wrote: > Am Dienstag, den 27.11.2012, 10:45 +0200 schrieb Terje Bergström: > > On 27.11.2012 10:32, Dave Airlie wrote: > > > On Tue, Nov 27, 2012 at 8:16 AM, Terje Bergström > > > wrote: > > >> Thanks for the pointer, I looked at exynos code.

Re: [PATCH V3 RFC 1/2] sched: Bail out of yield_to when source and target runqueue has one task

2012-11-27 Thread Raghavendra K T
On 11/26/2012 07:05 PM, Andrew Jones wrote: On Mon, Nov 26, 2012 at 05:37:54PM +0530, Raghavendra K T wrote: From: Peter Zijlstra In case of undercomitted scenarios, especially in large guests yield_to overhead is significantly high. when run queue length of source and target is one, take an

Re: [PATCH V3 RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-27 Thread Raghavendra K T
On 11/26/2012 07:13 PM, Andrew Jones wrote: On Mon, Nov 26, 2012 at 05:38:04PM +0530, Raghavendra K T wrote: From: Raghavendra K T yield_to returns -ESRCH, When source and target of yield_to run queue length is one. When we see three successive failures of yield_to we assume we are in

[net-next rfc v7 3/3] virtio-net: change the number of queues through ethtool

2012-11-27 Thread Jason Wang
This patch implement the {set|get}_channels method of ethool to allow user to change the number of queues dymaically when the device is running. This would let the user to configure it on demand. Signed-off-by: Jason Wang --- drivers/net/virtio_net.c | 41

[net-next rfc v7 2/3] virtio_net: multiqueue support

2012-11-27 Thread Jason Wang
This addes multiqueue support to virtio_net driver. In multiple queue modes, the driver expects the number of queue paris is equal to the number of vcpus. To eliminate the contention bettwen vcpus and virtqueues, per-cpu virtqueue pairs were implemented through: - select the txq based on the smp

[net-next rfc v7 1/3] virtio-net: separate fields of sending/receiving queue from virtnet_info

2012-11-27 Thread Jason Wang
To support multiqueue transmitq/receiveq, the first step is to separate queue related structure from virtnet_info. This patch introduce send_queue and receive_queue structure and use the pointer to them as the parameter in functions handling sending/receiving. Signed-off-by: Krishna Kumar

[net-next rfc v7 0/3] Multiqueue virtio-net

2012-11-27 Thread Jason Wang
Hi all: This series is an update version of multiqueue virtio-net driver based on Krishna Kumar's work to let virtio-net use multiple rx/tx queues to do the packets reception and transmission. Please review and comments. A protype implementation of qemu-kvm support could by found in

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

2012-11-27 Thread Lucas Stach
Am Dienstag, den 27.11.2012, 10:45 +0200 schrieb Terje Bergström: > On 27.11.2012 10:32, Dave Airlie wrote: > > On Tue, Nov 27, 2012 at 8:16 AM, Terje Bergström > > wrote: > >> Thanks for the pointer, I looked at exynos code. It indeed checks the > >> registers written to, but it doesn't prevent

[PATCH v3 09/13] scripts/gdb: Add is_target_arch helper

2012-11-27 Thread Jan Kiszka
This helper caches to result of "show architecture" and matches the provided arch (sub-)string against that output. Signed-off-by: Jan Kiszka --- scripts/gdb/utils.py |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/scripts/gdb/utils.py b/scripts/gdb/utils.py

[PATCH v3 05/13] scripts/gdb: Add read_u16/32/64 helpers

2012-11-27 Thread Jan Kiszka
Add helpers for reading integers from target memory buffers. Required when caching the memory access is more efficient than reading individual values via gdb. Signed-off-by: Jan Kiszka --- scripts/gdb/utils.py | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff

[PATCH v3 06/13] scripts/gdb: Add lx-dmesg command

2012-11-27 Thread Jan Kiszka
This pokes into the log buffer of the debugged kernel, dumping it to the gdb console. Helping in case the target should or can no longer execute dmesg itself. CC: Kay Sievers Signed-off-by: Jan Kiszka --- scripts/gdb/dmesg.py | 63

[PATCH v3 03/13] scripts/gdb: Add lx-symbols command

2012-11-27 Thread Jan Kiszka
This is probably the most useful helper when debugging kernel modules: lx-symbols will first reload vmlinux. Then it searches recursively for *.ko files in the specified paths and the current directory. Finally it walks the kernel's module list, issuing the necessary add-symbol-file command for

[PATCH v3 08/13] scripts/gdb: Add helper and convenience function to look up tasks

2012-11-27 Thread Jan Kiszka
Add the helper task_by_pid that can look up a task by its PID. Also export it as a convenience function. Signed-off-by: Jan Kiszka --- scripts/gdb/task.py| 29 + scripts/gdb/vmlinux-gdb.py |1 + 2 files changed, 30 insertions(+), 0 deletions(-) diff

[PATCH v3 07/13] scripts/gdb: Add task iteration helper

2012-11-27 Thread Jan Kiszka
The internal helper for_each_task iterates over all tasks of the target, calling the provided function on each. For performance reasons, we cache a reference to the gdb type object of a task. Signed-off-by: Jan Kiszka --- scripts/gdb/task.py | 40 1

[PATCH v3 04/13] scripts/gdb: Add get_target_endianness helper

2012-11-27 Thread Jan Kiszka
Parse the target endianness from the output of "show endian" and cache the result to return it via the new helper get_target_endiannes. We will need it for reading integers from buffers that contain target memory. Signed-off-by: Jan Kiszka --- scripts/gdb/utils.py | 17 + 1

[PATCH v3 10/13] scripts/gdb: Add internal helper and convenience function to retrieve thread_info

2012-11-27 Thread Jan Kiszka
Add the internal helper get_thread_info that calculated the thread_info from a given task variable. Also export this service as a convenience function. Note: ia64 version is untested. CC: Tony Luck CC: Fenghua Yu CC: linux-i...@vger.kernel.org Signed-off-by: Jan Kiszka ---

[PATCH v3 11/13] scripts/gdb: Add get_gdbserver_type helper

2012-11-27 Thread Jan Kiszka
This helper probes the type of the gdb server. Supported are QEMU and KGDB so far. Knowledge about the gdb server is required e.g. to retrieve the current CPU or current task. Signed-off-by: Jan Kiszka --- scripts/gdb/utils.py | 35 +++ 1 files changed, 35

[PATCH v3 13/13] scripts/gdb: Add lx_current convenience function

2012-11-27 Thread Jan Kiszka
This is a shorthand for *$lx_per_cpu("current_task"), i.e. a convenience function to retrieve the currently running task of the active context. Signed-off-by: Jan Kiszka --- scripts/gdb/percpu.py | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git

[PATCH v3 00/13] Add gdb python scripts as kernel debugging helpers

2012-11-27 Thread Jan Kiszka
Here is version 3 of my gdb helper scripts. Changes in this release are related to improving compatibility with older gdb versions (down to 7.1) and the with latest one (7.5). Also, proper reloading of updated kernel and module symbols was implemented. Andrew, I got the suggestion to pass these

[PATCH v3 01/13] scripts/gdb: Add infrastructure

2012-11-27 Thread Jan Kiszka
This provides the basic infrastructure to load kernel-specific python helper scripts when debugging the kernel in gdb. The loading mechanism is based on gdb loading for -gdb.py when opening . Therefore, this places a corresponding link to the main helper script into the output directory that

[PATCH v3 02/13] scripts/gdb: Add container_of helper and convenience function

2012-11-27 Thread Jan Kiszka
Provide an internal helper with container_of semantics. As type lookups are very slow in gdb-python and we need a type "long" for this, cache the reference to this type object. Then export the helper also as a convenience function form use at the gdb command line. Signed-off-by: Jan Kiszka ---

[PATCH v3 12/13] scripts/gdb: Add internal helper and convenience function for per-cpu lookup

2012-11-27 Thread Jan Kiszka
This function allows to obtain a per-cpu variable, either of the current or an explicitly specified CPU. Note: sparc64 version is untested. CC: "David S. Miller" CC: sparcli...@vger.kernel.org Signed-off-by: Jan Kiszka --- scripts/gdb/percpu.py | 61

[PATCH v4 1/3] pwm: New driver to support PWMs on TWL4030/6030 series of PMICs

2012-11-27 Thread Peter Ujfalusi
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 select the correct mux so the PWM can be used. When the PWM has been freed the original configuration is going to be restored.

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

2012-11-27 Thread Peter Ujfalusi
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 requested LED is configured to be controlled by SW. In this case the user can enable/disable and set the duty period freely.

[PATCH v4 0/3] pwm: Drivers for twl4030/6030 PWMs and LEDs

2012-11-27 Thread Peter Ujfalusi
Hello, Changes since v3: - pwm-twl-led driver's comment fix patch squashed to the original patch - Documentation for the DT bindings of the PWM drivers Comments from Thierry Reding addressed: - pwm-twl6030 has been removed in the last patch - macro for twl_pwm_chip/twl_pwmled_chip lookup -

[PATCH v4 3/3] pwm: Remove pwm-twl6030 driver

2012-11-27 Thread Peter Ujfalusi
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. Signed-off-by: Peter Ujfalusi --- drivers/pwm/Kconfig | 9 --- drivers/pwm/Makefile | 1 - drivers/pwm/pwm-twl6030.c

Re: [PATCH 2/7] mfd: max8925: fix mfd device register failure

2012-11-27 Thread Qing Xu
On 11/23/2012 04:41 PM, Haojian Zhuang wrote: On Tue, Nov 6, 2012 at 3:38 PM, Qing Xu wrote: From: Qing Xu we encounter rtc/power/touch driver registry failure, root cause it is resources confilict in insert_resouce, solved by changing mfd_add_devices 5th parameter to NULL Since resources

Re: Recent kernel "mount" slow

2012-11-27 Thread Jeff Chua
On Tue, Nov 27, 2012 at 3:38 PM, 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

[Patch v4 02/12] memory-hotplug: check whether all memory blocks are offlined or not when removing memory

2012-11-27 Thread Wen Congyang
From: Yasuaki Ishimatsu We remove the memory like this: 1. lock memory hotplug 2. offline a memory block 3. unlock memory hotplug 4. repeat 1-3 to offline all memory blocks 5. lock memory hotplug 6. remove memory(TODO) 7. unlock memory hotplug All memory blocks must be offlined before removing

[Patch v4 07/12] memory-hotplug: implement register_page_bootmem_info_section of sparse-vmemmap

2012-11-27 Thread Wen Congyang
From: Yasuaki Ishimatsu For removing memmap region of sparse-vmemmap which is allocated bootmem, memmap region of sparse-vmemmap needs to be registered by get_page_bootmem(). So the patch searches pages of virtual mapping and registers the pages by get_page_bootmem(). Note:

[Patch v4 00/12] memory-hotplug: hot-remove physical memory

2012-11-27 Thread Wen Congyang
The patch-set was divided from following thread's patch-set. https://lkml.org/lkml/2012/9/5/201 The last version of this patchset: https://lkml.org/lkml/2012/11/1/93 If you want to know the reason, please read following thread. https://lkml.org/lkml/2012/10/2/83 The patch-set has only

[Patch v4 01/12] memory-hotplug: try to offline the memory twice to avoid dependence

2012-11-27 Thread Wen Congyang
memory can't be offlined when CONFIG_MEMCG is selected. For example: there is a memory device on node 1. The address range is [1G, 1.5G). You will find 4 new directories memory8, memory9, memory10, and memory11 under the directory /sys/devices/system/memory/. If CONFIG_MEMCG is selected, we will

[Patch v4 04/12] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2012-11-27 Thread Wen Congyang
From: Yasuaki Ishimatsu When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} sysfs files are created. But there is no code to remove these files. The patch implements the function to remove them. Note: The code does not free firmware_map_entry which is allocated by

[Patch v4 03/12] memory-hotplug: remove redundant codes

2012-11-27 Thread Wen Congyang
offlining memory blocks and checking whether memory blocks are offlined are very similar. This patch introduces a new function to remove redundant codes. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc: Minchan Kim CC: Andrew Morton CC: KOSAKI Motohiro CC: Yasuaki

[Patch v4 10/12] memory-hotplug: memory_hotplug: clear zone when removing the memory

2012-11-27 Thread Wen Congyang
From: Yasuaki Ishimatsu When a memory is added, we update zone's and pgdat's start_pfn and spanned_pages in the function __add_zone(). So we should revert them when the memory is removed. The patch adds a new function __remove_zone() to do this. CC: David Rientjes CC: Jiang Liu CC: Len Brown

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

2012-11-27 Thread Yasuaki Ishimatsu
Hi HPA and Tang, 2012/11/27 17:49, H. Peter Anvin wrote: On 11/27/2012 12:29 AM, Tang Chen wrote: Another approach is like the following: movable_node = 1,3-5,8 This could set all the memory on the nodes to be movable. And the rest of memory works as usual. But movablecore_map is more

[Patch v4 06/12] memory-hotplug: unregister memory section on SPARSEMEM_VMEMMAP

2012-11-27 Thread Wen Congyang
From: Yasuaki Ishimatsu Currently __remove_section for SPARSEMEM_VMEMMAP does nothing. But even if we use SPARSEMEM_VMEMMAP, we can unregister the memory_section. So the patch add unregister_memory_section() into __remove_section(). CC: David Rientjes CC: Jiang Liu CC: Len Brown CC:

[Patch v4 11/12] memory-hotplug: remove sysfs file of node

2012-11-27 Thread Wen Congyang
This patch introduces a new function try_offline_node() to remove sysfs file of node when all memory sections of this node are removed. If some memory sections of this node are not removed, this function does nothing. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc:

[Patch v4 09/12] memory-hotplug: remove page table of x86_64 architecture

2012-11-27 Thread Wen Congyang
For hot removing memory, we sholud remove page table about the memory. So the patch searches a page table about the removed memory, and clear page table. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Christoph Lameter Cc: Minchan Kim CC: Andrew Morton CC: KOSAKI Motohiro CC: Yasuaki

[Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-27 Thread Wen Congyang
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 patch checks whether page can be freed or not. How to check whether page can be freed or not? 1. When removing

[Patch v4 12/12] memory-hotplug: free node_data when a node is offlined

2012-11-27 Thread Wen Congyang
We call hotadd_new_pgdat() to allocate memory to store node_data. So we should free it when removing a node. CC: David Rientjes CC: Jiang Liu CC: Len Brown CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: Christoph Lameter Cc: Minchan Kim CC: Andrew Morton CC: KOSAKI Motohiro CC:

[Patch v4 05/12] memory-hotplug: introduce new function arch_remove_memory() for removing page table depends on architecture

2012-11-27 Thread Wen Congyang
For removing memory, we need to remove page table. But it depends on architecture. So the patch introduce arch_remove_memory() for removing page table. Now it only calls __remove_pages(). Note: __remove_pages() for some archtecuture is not implemented (I don't know how to implement it for

Re: [PATCH -mm] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-27 Thread Michal Hocko
On Tue 27-11-12 09:05:30, KAMEZAWA Hiroyuki wrote: [...] > As a short term fix, I think this patch will work enough and seems simple > enough. > Acked-by: KAMEZAWA Hiroyuki Thanks! If Johannes is also ok with this for now I will resubmit the patch to Andrew after I hear back from the reporter.

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

2012-11-27 Thread H. Peter Anvin
On 11/27/2012 01:47 AM, Wen Congyang wrote: At 11/27/2012 04:49 PM, H. Peter Anvin Wrote: On 11/27/2012 12:29 AM, Tang Chen wrote: Another approach is like the following: movable_node = 1,3-5,8 This could set all the memory on the nodes to be movable. And the rest of memory works as usual. But

Re: [PATCH] tty: don't dead while flushing workqueue

2012-11-27 Thread Sebastian Andrzej Siewior
On Wed, Nov 21, 2012 at 02:04:26PM +, Alan Cox wrote: > > I don't see any problems in my testcase. > > This looks fine to me as by the time we call tty_ldisc_release we have > already set TTY_CLOSING on both sides. Greg, can you push this into v3.7? This regression has been introduced in

[PATCH 2/2] ewrk3: remove outdated comment

2012-11-27 Thread Paul Bolle
Remove an outdated comment, that should have been removed in the patch named "MODULE_PARM conversions" from early 2005. Signed-off-by: Paul Bolle --- drivers/net/ethernet/dec/ewrk3.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/dec/ewrk3.c

[PATCH 1/2] ewrk3: silence GCC warning

2012-11-27 Thread Paul Bolle
Building ewrk3.o triggers this GCC warning: drivers/net/ethernet/dec/ewrk3.c: In function '__check_irq': drivers/net/ethernet/dec/ewrk3.c:1915:1: warning: return from incompatible pointer type [enabled by default] This can be trivially fixed by changing the 'irq' parameter from int to

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

2012-11-27 Thread Wen Congyang
At 11/27/2012 04:49 PM, H. Peter Anvin Wrote: > On 11/27/2012 12:29 AM, Tang Chen wrote: >> Another approach is like the following: >> movable_node = 1,3-5,8 >> This could set all the memory on the nodes to be movable. And the rest >> of memory works as usual. But movablecore_map is more flexible.

[PATCH 1/1] ARM: ux500: Fix u9540 booting issues

2012-11-27 Thread Lee Jones
The u9540 stopped booting after the v3.7 merge window due to a lack of common clk support and early PRCMU initialisation. In this patch we rectify these issues, placing the u9540 development board back into a successfully booting state. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/cpu.c |

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-11-27 Thread Benjamin Tissoires
On Mon, Nov 26, 2012 at 11:54 PM, Christopher Heiny wrote: > On 11/26/2012 10:41 AM, Benjamin Tissoires wrote: >> >> Hi Christopher, >> >> On Sat, Nov 17, 2012 at 4:58 AM, Christopher Heiny >> wrote: >>> >>> rmi_bus.c implements the basic functionality of the RMI bus. This file >>> is >>>

Re: [RFC PATCH 05/06] input/rmi4: F01 - device control

2012-11-27 Thread Dmitry Torokhov
On Mon, Nov 26, 2012 at 02:31:27PM -0800, Christopher Heiny wrote: > On 11/26/2012 01:40 AM, Dmitry Torokhov wrote: > >Hi Christopher, > > > >On Fri, Nov 16, 2012 at 07:58:53PM -0800, Christopher Heiny wrote: > >>RMI Function 01 implements basic device control and power management > >>behaviors

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

2012-11-27 Thread Prabhakar Lad
Hi, On Tue, Nov 27, 2012 at 1:21 PM, Marek Szyprowski wrote: > 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:

[PATCH 4/4] Input: RMI4 - introduce rmi_module_driver() macro

2012-11-27 Thread Dmitry Torokhov
This also allows us to cut down on the boilerplate code in the function handler modules. Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_f11.c | 13 + include/linux/rmi.h | 14 ++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git

[PATCH 3/4] Input: RMI4 - move function registration into the core

2012-11-27 Thread Dmitry Torokhov
This saves on boilerplate code that is needed in individual modules implementing function handlers. Also converted bool bitfields back to u8. Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/rmi_bus.c| 189 ++ drivers/input/rmi4/rmi_driver.c | 2 +-

[PATCH 2/4] Input: RMI4 - move sensor driver and F01 handler into the core

2012-11-27 Thread Dmitry Torokhov
There is no point in having the sensor driver and F01 handler separate from the RMI core since it is not useful without them and having them all together simplifies initialization among other things. Signed-off-by: Dmitry Torokhov --- drivers/input/rmi4/Kconfig | 23 ++-

Re: [PATCH 1/2] powerpc: Move the single step enable code to a generic path

2012-11-27 Thread Suzuki K. Poulose
On 11/26/2012 11:40 PM, Sebastian Andrzej Siewior wrote: On 11/26/2012 12:05 PM, Suzuki K. Poulose wrote: diff --git a/arch/powerpc/include/asm/probes.h b/arch/powerpc/include/asm/probes.h index 5f1e15b..836e9b9 100644 --- a/arch/powerpc/include/asm/probes.h +++

Re: [PATCH 10/10] ARM: FIQ: Get rid of init_FIQ()

2012-11-27 Thread Anton Vorontsov
On Thu, Nov 22, 2012 at 11:51:38PM -0800, Anton Vorontsov wrote: > On Fri, Nov 23, 2012 at 11:36:01AM +0400, Alexander Shiyan wrote: > [...] > > got_no_fiq_insn also not initialized. > > It is static, so by definition it is initialized to 0. > > > I think as a whole on this issue requires

RE: [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2012-11-27 Thread Philip, Avinash
On Thu, Nov 22, 2012 at 20:06:41, Philip, Avinash wrote: > On Thu, Nov 22, 2012 at 16:13:52, Artem Bityutskiy wrote: > > On Wed, 2012-11-21 at 07:01 +, Philip, Avinash wrote: > > > > I am not sure how this dependency has to be handled for this series, > > > > let me know whether you still want

Re: [PATCH 2/5 v2] Input: bu21013_ts - Move GPIO init and exit functions into the driver

2012-11-27 Thread Lee Jones
On Mon, 26 Nov 2012, Dmitry Torokhov wrote: > Hi Lee, > > On Mon, Nov 26, 2012 at 12:01:43PM +, Lee Jones wrote: > > /** > > + * bu21013_gpio_board_init() - configures the touch panel > > + * @reset_pin: reset pin number > > + * > > + * This function is used to configure the voltage and > >

Re: [PATCH 1/5] Input: bu21013_ts - Request a regulator that actually exists

2012-11-27 Thread Lee Jones
On Mon, 26 Nov 2012, Dmitry Torokhov wrote: > On Mon, Nov 26, 2012 at 12:16:18PM +, Lee Jones wrote: > > On Wed, 14 Nov 2012, Lee Jones wrote: > > > > > Currently the BU21013 Touch Screen driver requests a regulator by the > > > name of 'V-TOUCH', which doesn't exist anywhere in the kernel.

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

2012-11-27 Thread Dmitry Torokhov
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 --- Adjusted to use IMX_GPIO_NR() macro. arch/arm/mach-imx/eukrea_mbimx27-baseboard.c | 19

[PATCH 1/2] power_supply: Add charge control struct in power supply class

2012-11-27 Thread Ramakrishna Pallala
This patch adds power supply charge control structure to power_supply struct and add a Kconfig flag to use these controls by charger frameworks. This patch also adds a helper function/API to return the charge control struct to the charger frameworks. Signed-off-by: Ramakrishna Pallala ---

[PATCHv2 2/2] charger_manager: Enable power supply driver support for charge controls

2012-11-27 Thread Ramakrishna Pallala
This patch enables the charger manager support for power supply drivers. Note: this patch does NOT change the variable/function names in charger manager as it is just an enabling patch. I will submit incremental patches to clean some of naming conventions to appeal more reasonable/logical to the

[PATCH 0/2] power supply class support for charger managers

2012-11-27 Thread Ramakrishna Pallala
As we are heading towards kernel charger manager soulutions and few are already in mainaline and few are in pipeline. It makes sense have uniform low level driver support independent of charger manager frameworks. This patchset add the neccessary changes to power supply class to make charger

Re: new warnings from partial __devexit removal

2012-11-27 Thread Arnd Bergmann
On Monday 26 November 2012, gre...@linuxfoundation.org wrote: > On Mon, Nov 26, 2012 at 08:38:32PM +, Arnd Bergmann wrote: > > This is probably known and fixed already, but in case it's not, let me just > > mention that I saw two new warnings with ARM allyesconfig about a > > __devexit being

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

2012-11-27 Thread Andrzej Pietrasiewicz
On Monday, November 26, 2012 5:30 PM Sebastian Andrzej Siewior wrote: > On 11/26/2012 09:35 AM, Andrzej Pietrasiewicz wrote: > > 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

[PATCH 2/2] charger_manager: Enable power supply driver support for charge controls

2012-11-27 Thread Ramakrishna Pallala
This patch enables the charger manager support for power supply drivers. Note: this patch does change the variable/function names in charger manager as it is just an enabling patch. I will submit incremental patches to clean some of naming conventions to appeal more reasonable/logical to the

[PATCH 0/2] power supply class support for charger managers

2012-11-27 Thread Ramakrishna Pallala
As we are heading towards kernel charger manager soulutions and few are already in mainaline and few are in pipeline. It makes sense have uniform low level driver support independent of charger manager frameworks. This patchset add the neccessary changes to power supply class to make charger

[PATCH 1/2] power_supply: Add charge control struct in power supply class

2012-11-27 Thread Ramakrishna Pallala
This patch adds power supply charge control structure to power_supply struct and add a Kconfig flag to use these controls by charger frameworks. This patch also adds a helper function/API to return the charge control struct to the charger frameworks. Signed-off-by: Ramakrishna Pallala ---

[PATCH v5 12/12] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evmsk

2012-11-27 Thread Philip, Avinash
PWM output from ecap2 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales with inverse polarity. Signed-off-by: Philip, Avinash Reviewed-by: Thierry Reding --- Changes since v4: - Replaced usage of tab with space in compatible

[PATCH v5 11/12] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evm

2012-11-27 Thread Philip, Avinash
PWM output from ecap0 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales. Signed-off-by: Philip, Avinash Reviewed-by: Thierry Reding --- Changes since v4: - Replaced usage of tab with space in compatible field Changes since

[PATCH v5 04/12] pwm: tiecap: Add device-tree binding

2012-11-27 Thread Philip, Avinash
This patch 1. Add support for device-tree binding for ECAP APWM driver. 2. Set size of pwm-cells set to 3 to support PWM channel number, PWM period & polarity configuration from device tree. 3. Add enable/disable clock gating in PWM subsystem common config space. 4. When here set .owner member

[PATCH v5 09/12] pwm: pwm-tiehrpwm: pinctrl support

2012-11-27 Thread Philip, Avinash
Enable pinctrl for pwm-tiehrpwm if pinctrl driver available, else bail out with warning message. Signed-off-by: Philip, Avinash --- Changes since v4: - Changes warning message. drivers/pwm/pwm-tiehrpwm.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

<    1   2   3   4   5   6   7   8   9   10   >