Re: [PATCH -tip ] [BUGFIX] kprobes: Move hash_64() into .text.kprobe section

2013-03-12 Thread Masami Hiramatsu
(2013/03/13 1:04), Linus Torvalds wrote: > On Mon, Mar 11, 2013 at 7:22 AM, Masami Hiramatsu > wrote: >> Beacuse hash_64() is called from the get_kprobe() inside >> int3 handler, kernel causes int3 recursion and crashes if >> kprobes user puts a probe on it. >> >> Usually hash_64() is inlined into

[Bug fix PATCH] ACPI,acpi_memhotplug: enable acpi_memory_info->enabled of memory device presented at boot-time

2013-03-12 Thread Yasuaki Ishimatsu
At http://marc.info/?l=linux-acpi&m=135769405622667&w=2 thread, Toshi Kani mentioned as follows: "I have a question about the change you made in commit 65479472 in acpi_memhotplug.c. This change seems to require that acpi_memory_enable_device() calls add_memory() to add all memory ranges represen

Re: [PATCH] mmc: dw_mmc: move host->data_offset init earlier

2013-03-12 Thread Jaehoon Chung
Hi James, There is no reason that can't change the verid check position. So this patch looks good to me. Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 03/12/2013 07:43 PM, James Hogan wrote: > host->data_offset is initialised at the end of the probe function > depending on the VERID r

[PATCH] ARM: hw_breakpoint: Enable debug powerdown only if system supports 'has_ossr'

2013-03-12 Thread Lokesh Vutla
Commit {9a6eb31 ARM: hw_breakpoint: Debug powerdown support for self-hosted debug} introduces debug powerdown support for self-hosted debug. While merging the patch 'has_ossr' check was removed which was needed for hardwares which doesn't support self-hosted debug. Pandaboard (A9) is one such hardw

[PATCH] rtc: omap: update to devm_* API

2013-03-12 Thread Vishwanathrao Badarkhe, Manish
From: Vishwanathrao Badarkhe, Manish Update the code to use devm_* API so that driver core will manage resources. Signed-off-by: Vishwanathrao Badarkhe, Manish --- Applied on top of linux-next: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git with tag next-20130312. :100644

[PATCH V3 5/5] spi: s3c64xx: Added support for exynos5440 spi

2013-03-12 Thread Girish K S
From: Girish K S This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S --- drivers/spi/spi-s3c64xx.c | 12 ++

Re: [RFC v7 00/11] Support vrange for anonymous page

2013-03-12 Thread Minchan Kim
On Tue, Mar 12, 2013 at 04:16:57PM -0700, Paul Turner wrote: > On Tue, Mar 12, 2013 at 12:38 AM, Minchan Kim wrote: > > First of all, let's define the term. > > From now on, I'd like to call it as vrange(a.k.a volatile range) > > for anonymous page. If you have a better name in mind, please sugges

[PATCH V3 2/5] spi: s3c64xx: added support for polling mode

2013-03-12 Thread Girish K S
From: Girish K S The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved in polling mode. Some SoC's that adopt this controller might not have have dma interface. This patch adds support for complete polling mode and gives flexibit

[PATCH V3 1/5] spi: s3c64xx: modified error interrupt handling and init

2013-03-12 Thread Girish K S
From: Girish K S The status of the interrupt is available in the status register, so reading the clear pending register and writing back the same value will not actually clear the pending interrupts. This patch modifies the interrupt handler to read the status register and clear the corresponding

[PATCH V3 4/5] spi: s3c64xx: Added provision for dedicated cs pin

2013-03-12 Thread Girish K S
From: Girish K S The existing driver supports gpio based /cs signal. For controller's that have one device per controller, the slave device's /cs signal might be internally controlled by the chip select bit of slave select register. They are not externally asserted/deasserted using gpio pin. Thi

Re: [PATCH v2 7/8] mm, vmalloc: export vmap_area_list, instead of vmlist

2013-03-12 Thread Eric W. Biederman
Joonsoo Kim writes: > From: Joonsoo Kim > > Although our intention is to unexport internal structure entirely, > but there is one exception for kexec. kexec dumps address of vmlist > and makedumpfile uses this information. > > We are about to remove vmlist, then another way to retrieve informati

[PATCH V3 0/5] Add polling support for 64xx spi controller

2013-03-12 Thread Girish K S
[PATCH 1/5]: fixes the error handling in the interrupt handler [PATCH 2/5]: The existing driver support partial polling mode. This patch modifies the current driver to support only polling mode. [PATCH 3/5]: provision to support SoC's with dedicated i/o pins [PATCH 4/5]: p

[PATCH V3 3/5] spi: s3c64xx: Added provision for non-gpio i/o's

2013-03-12 Thread Girish K S
From: Girish K S Currently the drivers supports only the GPIO based i/o pins. But there are Exynos SoC's that use the same controller with dedicated i/o pins. This patch provides provision to support gpio/dedicated pins. The decision is made by parsing the "gpios" property in the spi node. Sig

[PATCH v2 1/8] mm, vmalloc: change iterating a vmlist to find_vm_area()

2013-03-12 Thread Joonsoo Kim
From: Joonsoo Kim The purpose of iterating a vmlist is finding vm area with specific virtual address. find_vm_area() is provided for this purpose and more efficient, because it uses a rbtree. So change it. Cc: Chris Metcalf Cc: Guan Xuetao Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter An

[PATCH v2 2/8] mm, vmalloc: move get_vmalloc_info() to vmalloc.c

2013-03-12 Thread Joonsoo Kim
From: Joonsoo Kim Now get_vmalloc_info() is in fs/proc/mmu.c. There is no reason that this code must be here and it's implementation needs vmlist_lock and it iterate a vmlist which may be internal data structure for vmalloc. It is preferable that vmlist_lock and vmlist is only used in vmalloc.c

Re: [PATCH v2, part2 08/10] mm/SPARC: use free_highmem_page() to free highmem pages into buddy system

2013-03-12 Thread Sam Ravnborg
On Tue, Mar 12, 2013 at 02:42:15PM -0700, Andrew Morton wrote: > On Sun, 10 Mar 2013 16:01:08 +0800 Jiang Liu wrote: > > > Use helper function free_highmem_page() to free highmem pages into > > the buddy system. > > > > ... > > > > --- a/arch/sparc/mm/init_32.c > > +++ b/arch/sparc/mm/init_32.c

[PATCH v2 6/8] mm, vmalloc: iterate vmap_area_list, instead of vmlist, in vmallocinfo()

2013-03-12 Thread Joonsoo Kim
From: Joonsoo Kim This patch is preparing step for removing vmlist entirely. For above purpose, we change iterating a vmap_list codes to iterating a vmap_area_list. It is somewhat trivial change, but just one thing should be noticed. Using vmap_area_list in vmallocinfo() introduce ordering probl

[PATCH v2 8/8] mm, vmalloc: remove list management of vmlist after initializing vmalloc

2013-03-12 Thread Joonsoo Kim
From: Joonsoo Kim Now, there is no need to maintain vmlist after initializing vmalloc. So remove related code and data structure. Signed-off-by: Joonsoo Kim Signed-off-by: Joonsoo Kim diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 7e63984..151da8a 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c

[PATCH v2 3/8] mm, vmalloc: protect va->vm by vmap_area_lock

2013-03-12 Thread Joonsoo Kim
From: Joonsoo Kim Inserting and removing an entry to vmlist is linear time complexity, so it is inefficient. Following patches will try to remove vmlist entirely. This patch is preparing step for it. For removing vmlist, iterating vmlist codes should be changed to iterating a vmap_area_list. Bef

[PATCH v2 4/8] mm, vmalloc: iterate vmap_area_list, instead of vmlist in vread/vwrite()

2013-03-12 Thread Joonsoo Kim
From: Joonsoo Kim Now, when we hold a vmap_area_lock, va->vm can't be discarded. So we can safely access to va->vm when iterating a vmap_area_list with holding a vmap_area_lock. With this property, change iterating vmlist codes in vread/vwrite() to iterating vmap_area_list. There is a little dif

[PATCH v2 5/8] mm, vmalloc: iterate vmap_area_list in get_vmalloc_info()

2013-03-12 Thread Joonsoo Kim
From: Joonsoo Kim This patch is preparing step for removing vmlist entirely. For above purpose, we change iterating a vmap_list codes to iterating a vmap_area_list. It is somewhat trivial change, but just one thing should be noticed. vmlist is lack of information about some areas in vmalloc addr

[PATCH v2 0/8] remove vm_struct list management

2013-03-12 Thread Joonsoo Kim
This patchset remove vm_struct list management after initializing vmalloc. Adding and removing an entry to vmlist is linear time complexity, so it is inefficient. If we maintain this list, overall time complexity of adding and removing area to vmalloc space is O(N), although we use rbtree for findi

Re: linux-next: build failure after merge of the final tree (cgroup tree related)

2013-03-12 Thread Li Zefan
On 2013/3/13 13:12, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > allnoconfig) failed like this: > > In file included from include/linux/memcontrol.h:22:0, > from include/linux/swap.h:8, > from include/lin

Re: [PATCH] sparc: delete "if !ULTRA_HAS_POPULATION_COUNT"

2013-03-12 Thread Sam Ravnborg
On Tue, Mar 12, 2013 at 09:35:19PM +0100, Paul Bolle wrote: > Commit 2d78d4beb64eb07d50665432867971c481192ebf ("[PATCH] bitops: > sparc64: use generic bitops") made the default of GENERIC_HWEIGHT depend > on !ULTRA_HAS_POPULATION_COUNT. But since there's no Kconfig symbol with > that name, this alw

[PATCH v2 7/8] mm, vmalloc: export vmap_area_list, instead of vmlist

2013-03-12 Thread Joonsoo Kim
From: Joonsoo Kim Although our intention is to unexport internal structure entirely, but there is one exception for kexec. kexec dumps address of vmlist and makedumpfile uses this information. We are about to remove vmlist, then another way to retrieve information of vmalloc layer is needed for

Re: [RFC -next] linux/linkage.h: fix symbol prefix handling

2013-03-12 Thread Sam Ravnborg
> actually, y'know, proof-read it. Hmm.. > + $(KERNELRELEASE) "$(patsubst > y,_,$(CONFIG_HAVE_SYMBOL_PREFIX_UNDERSCORE))" > > +config HAVE_UNDERSCORE_SYMBOL_PREFIX HAVE_UNDERSCORE_... or HAVE_SYMBOL_... confusion. I prefer the HAVE_SYMBOL_... variant but no strong feelings..

[PATCH] tracing: Expose event tracing infrastructure

2013-03-12 Thread zhangwei(Jovi)
Currently event tracing only can be use for ftrace and perf, there don't have any mechanism to let modules(like external tracing tool) register callback tracing function. Event tracing implement based on tracepoint, compare with raw tracepoint, event tracing infrastructure provide built-in structu

Re: [5/6] i2c: Ignore the return value of i2c_del_mux_adapter()

2013-03-12 Thread Guenter Roeck
On Sat, Mar 09, 2013 at 06:16:48PM -, Lars-Peter Clausen wrote: > i2c_del_mux_adapter() always returns 0. So all checks testing whether it will > be > non zero will always evaluate to false and the conditional code is dead code. > This patch updates all callers of i2c_del_mux_adapter() to igno

Re: [RFC 16/17] openrisc: default GENERIC_GPIO to false

2013-03-12 Thread Jonas Bonn
On 03/12/13 11:12, Alexandre Courbot wrote: This is one step towards the removal of the GENERIC_GPIO option. OpenRISC mandates the use of GPIOLIB, which enables GENERIC_GPIO anyway, so this patch should be a no-op. Acked-by: Jonas Bonn Signed-off-by: Alexandre Courbot --- arch/openrisc/Kc

linux-next: Tree for Mar 13

2013-03-12 Thread Stephen Rothwell
Hi all, Changes since 20130312: The input tree lost its build failure. The net-next tree lost its conflict. The drm-intel still had its build failure for which I reverted a commit. The trivial tree gained a conflict against the virtio tree. The gpio tree still had its build failure for which

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-12 Thread Bill Huang
On Wed, 2013-03-13 at 13:24 +0800, Stephen Warren wrote: > On 03/12/2013 11:08 PM, Bill Huang wrote: > > On Wed, 2013-03-13 at 12:42 +0800, Stephen Warren wrote: > >> On 03/12/2013 07:47 PM, Bill Huang wrote: > >>> On Tue, 2013-03-12 at 21:40 +0800, Russell King - ARM Linux wrote: > On Tue, Ma

linux-next: build failure after merge of the final tree (staging tree related)

2013-03-12 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/staging/dwc2/hcd.c: In function '_dwc2_hcd_urb_enqueue': drivers/staging/dwc2/hcd.c:2387:3: error: implicit declaration of function 'bus_to_virt' [-Werror=implicit-function-declaration

Re: [PATCH v2, part1 25/29] mm/x86: use common help functions to free reserved pages

2013-03-12 Thread Yasuaki Ishimatsu
Hi Jiang, 2013/03/10 15:27, Jiang Liu wrote: > Use common help functions to free reserved pages. > > Signed-off-by: Jiang Liu > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > --- > arch/x86/mm/init.c|5 + > arch/x86/mm/init_64.c |5 ++--- > 2 files changed,

RE: [PATCHv3 01/14] mailbox: rename pl320-ipc specific mailbox.h

2013-03-12 Thread Anna, Suman
> On Tue, Mar 12, 2013 at 10:23:50PM -0500, Suman Anna wrote: > > The patch 30058677 "ARM / highbank: add support for pl320 IPC" > > added a pl320 IPC specific header file as a generic mailbox.h. > > This file has been renamed appropriately to allow the introduction of > > the generic mailbox API f

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-12 Thread Stephen Warren
On 03/12/2013 11:08 PM, Bill Huang wrote: > On Wed, 2013-03-13 at 12:42 +0800, Stephen Warren wrote: >> On 03/12/2013 07:47 PM, Bill Huang wrote: >>> On Tue, 2013-03-12 at 21:40 +0800, Russell King - ARM Linux wrote: On Tue, Mar 12, 2013 at 05:37:41AM -0700, Bill Huang wrote: > Add the bel

Re: [RFC 00/17] Remove GENERIC_GPIO from architecture code

2013-03-12 Thread Linus Walleij
On Tue, Mar 12, 2013 at 11:12 AM, Alexandre Courbot wrote: > This series makes sure the GENERIC_GPIO option can only be set through GPIOLIB > (and not by individual architectures), as a first step towards its removal. Nice! Acked-by: Linus Walleij I bet something will break, anyway: no pain no

linux-next: build failure after merge of the final tree (cgroup tree related)

2013-03-12 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allnoconfig) failed like this: In file included from include/linux/memcontrol.h:22:0, from include/linux/swap.h:8, from include/linux/suspend.h:4, from arch/powerpc/kernel/as

RE: [PATCH] ASoC: samsung: remove last traces of neo1973-gta01

2013-03-12 Thread Kukjin Kim
Paul Bolle wrote: > > The (rudimentary) support for the Openmoko Neo1973 GTA01 got removed in > commit 1ae5cbc52e7c6619a3f44b87809fd25370df31bb ("ASoC: neo1973_wm8753: > remove references to the neo1973-gta01 machine"). Remove its last traces > in the Kconfig file too. > > Signed-off-by: Paul Bol

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-12 Thread Bill Huang
On Wed, 2013-03-13 at 12:42 +0800, Stephen Warren wrote: > On 03/12/2013 07:47 PM, Bill Huang wrote: > > On Tue, 2013-03-12 at 21:40 +0800, Russell King - ARM Linux wrote: > >> On Tue, Mar 12, 2013 at 05:37:41AM -0700, Bill Huang wrote: > >>> Add the below four notifier events so drivers which are

[PATCH 3/4] perf: remove unused perf_session__remove_thread

2013-03-12 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/util/session.c | 12 tools/perf/util/session.h |1 - 2 files changed, 13 deletions(-) diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c index bd85280b..ab265c2 100644 --- a/tools/perf/util/session.c +++ b/tools/perf/ut

[PATCH 0/4] perf: remove unused functions

2013-03-12 Thread David Ahern
Hi Arnaldo: Going through my backlog of perf cleanup patches. These remove unused functions and then makes a sole callee static. David Ahern (4): perf: remove unused print_event function perf: remove unused print_trace_event function perf: remove unused perf_session__remove_thread perf: m

[PATCH 1/4] perf: remove unused print_event function

2013-03-12 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/util/trace-event-parse.c | 24 tools/perf/util/trace-event.h |3 --- 2 files changed, 27 deletions(-) diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c index 3aabcd6..8450bec 1006

[PATCH 4/4] perf: move machine__remove_thread and make static

2013-03-12 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/util/machine.c | 22 +++--- tools/perf/util/machine.h |1 - 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index efdb38e..c5e3b12 100644 --- a/tools/perf/util/ma

[PATCH 2/4] perf: remove unused print_trace_event function

2013-03-12 Thread David Ahern
Signed-off-by: David Ahern --- tools/perf/util/trace-event-parse.c | 13 - tools/perf/util/trace-event.h |1 - 2 files changed, 14 deletions(-) diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c index 8450bec..4454835 100644 --- a/tool

[PATCH 6/6] KVM: MMU: fast zap all shadow pages

2013-03-12 Thread Xiao Guangrong
The current kvm_mmu_zap_all is really slow - it is holding mmu-lock to walk and zap all shadow pages one by one, also it need to zap all guest page's rmap and all shadow page's parent spte list. Particularly, things become worse if guest uses more memory or vcpus. It is not good for scalability. S

[PATCH 5/6] KVM: MMU: delete shadow page from hash list in kvm_mmu_prepare_zap_page

2013-03-12 Thread Xiao Guangrong
Move deletion shadow page from the hash list from kvm_mmu_commit_zap_page to kvm_mmu_prepare_zap_page, we that we can free the shadow page out of mmu-lock. Also, delete the invalid shadow page from the hash list since this page can not be reused anymore. This makes reset mmu-cache more easier - we

[PATCH 4/6] KVM: x86: introduce kvm_clear_all_gfn_page_info

2013-03-12 Thread Xiao Guangrong
This function is used to reset the rmaps and page info of all guest page which will be used in later patch Signed-off-by: Xiao Guangrong --- arch/x86/kvm/x86.c | 31 +++ include/linux/kvm_host.h |1 + 2 files changed, 32 insertions(+), 0 deletions(-) diff

[PATCH 3/6] KVM: x86: introduce memslot_set_lpage_disallowed

2013-03-12 Thread Xiao Guangrong
It is used to set disallowed lage page on the specified level, can be used in later patch Signed-off-by: Xiao Guangrong --- arch/x86/kvm/x86.c | 53 ++- 1 files changed, 35 insertions(+), 18 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x8

Re: [lm-sensors] [PATCH v4] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Guenter Roeck
On Tue, Mar 12, 2013 at 09:52:26PM -0700, Guenter Roeck wrote: > On Wed, Mar 13, 2013 at 09:38:20AM +0530, Naveen Krishna Chatradhi wrote: > > This patch adds DT support to NTC driver to parse the > > platform data. > > > > Also adds the support to work as an iio device. > > > > During the probe

[PATCH 2/6] KVM: MMU: introduce mmu_cache->pte_list_descs

2013-03-12 Thread Xiao Guangrong
This list is used to link all the pte_list_desc used by mmu cache, so we can easily free the memory used by gfn's rmap and parent spte list [ The new function name: kvm_mmu_init is vey similar with init_kvm_mmu which actually init vcpu mmu, will rename init_kvm_mmu to init_vcpu_mmu ] Signed-off

[PATCH 1/6] KVM: MMU: move mmu related members into a separate struct

2013-03-12 Thread Xiao Guangrong
Move all mmu related members from kvm_arch to a separate struct named kvm_mmu_cache, so we can easily reset the mmu cache when we zap all shadow pages Signed-off-by: Xiao Guangrong --- arch/x86/include/asm/kvm_host.h |6 +- arch/x86/kvm/mmu.c | 36 -

linux-next: manual merge of the akpm tree with the rcu tree

2013-03-12 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in kernel/rcutree.c between commit 3c62110a0cd6 ("rcu: Tone down debugging during boot-up and shutdown") from the rcu tree and commit "kernel/: rename random32() to prandom_u32()" from the akpm tree. I fixed it up (see below) and

Re: [PATCH v4] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Guenter Roeck
On Wed, Mar 13, 2013 at 09:38:20AM +0530, Naveen Krishna Chatradhi wrote: > This patch adds DT support to NTC driver to parse the > platform data. > > Also adds the support to work as an iio device. > > During the probe ntc driver gets the respective channels of ADC > and uses iio_raw_read calls

[PATCH v3] iio: adc: exynos5_adc: fix compilation warnings

2013-03-12 Thread Naveen Krishna Chatradhi
Fixes the compilation warnings and potential NULL pointer dereferencing pointed out by "Dan Carpenter". Signed-off-by: Naveen Krishna Chatradhi Cc: Jonathan Cameron Cc: Lars-Peter Clausen Series-To: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org To: Dan Carpenter --- Changes since

linux-next: manual merge of the akpm tree with the workqueues tree

2013-03-12 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in kernel/workqueue.c between commit fa1b54e69bc6 ("workqueue: update synchronization rules on worker_pool_idr") from the workqueues tree and commit "workqueue: convert to idr_alloc()" from the akpm tree. I fixed it up (I think -

Re: [PATCH v4] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Guenter Roeck
On Wed, Mar 13, 2013 at 09:38:20AM +0530, Naveen Krishna Chatradhi wrote: > This patch adds DT support to NTC driver to parse the > platform data. > > Also adds the support to work as an iio device. > > During the probe ntc driver gets the respective channels of ADC > and uses iio_raw_read calls

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-12 Thread Stephen Warren
On 03/12/2013 07:47 PM, Bill Huang wrote: > On Tue, 2013-03-12 at 21:40 +0800, Russell King - ARM Linux wrote: >> On Tue, Mar 12, 2013 at 05:37:41AM -0700, Bill Huang wrote: >>> Add the below four notifier events so drivers which are interested in >>> knowing the clock status can act accordingly. T

Re: [ 000/100] 3.8.3-stable review

2013-03-12 Thread Greg Kroah-Hartman
On Tue, Mar 12, 2013 at 09:56:04PM -0600, Shuah Khan wrote: > On Tue, Mar 12, 2013 at 4:30 PM, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 3.8.3 release. > > There are 100 patches in this series, all will be posted as a response > > to this one. If anyone

[PATCH v4] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Naveen Krishna Chatradhi
This patch adds DT support to NTC driver to parse the platform data. Also adds the support to work as an iio device. During the probe ntc driver gets the respective channels of ADC and uses iio_raw_read calls to get the ADC converted value. Signed-off-by: Naveen Krishna Chatradhi --- Changes si

Re: [PATCH] bounce:fix bug, avoid to flush dcache on slab page from jbd2.

2013-03-12 Thread Andrew Morton
On Wed, 13 Mar 2013 11:35:15 +0800 Shuge wrote: > Hi all > >>> The bounce accept slab pages from jbd2, and flush dcache on them. > >>> When enabling VM_DEBUG, it will tigger VM_BUG_ON in page_mapping(). > >>> So, check PageSlab to avoid it in __blk_queue_bounce(). > >>> > >>> Bug URL: http://lkml

[PATCH] hw_random: mxc-rnga: Use devm_ioremap_resource()

2013-03-12 Thread Fabio Estevam
From: Fabio Estevam Using devm_ioremap_resource() can make the code cleaner and simpler. Signed-off-by: Fabio Estevam --- drivers/char/hw_random/mxc-rnga.c | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/drivers/char/hw_random/mxc-rnga.c b/drivers/

Re: [ 00/40] 3.4.36-stable review

2013-03-12 Thread Shuah Khan
On Tue, Mar 12, 2013 at 4:43 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.36 release. > There are 40 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [ 00/21] 3.0.69-stable review

2013-03-12 Thread Shuah Khan
On Tue, Mar 12, 2013 at 4:44 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.0.69 release. > There are 21 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [ 000/100] 3.8.3-stable review

2013-03-12 Thread Shuah Khan
On Tue, Mar 12, 2013 at 4:30 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.8.3 release. > There are 100 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCHv3 01/14] mailbox: rename pl320-ipc specific mailbox.h

2013-03-12 Thread Greg Kroah-Hartman
On Tue, Mar 12, 2013 at 10:23:50PM -0500, Suman Anna wrote: > The patch 30058677 "ARM / highbank: add support for pl320 IPC" > added a pl320 IPC specific header file as a generic mailbox.h. > This file has been renamed appropriately to allow the > introduction of the generic mailbox API framework.

Re: [PATCH] bounce:fix bug, avoid to flush dcache on slab page from jbd2.

2013-03-12 Thread Shuge
Hi all The bounce accept slab pages from jbd2, and flush dcache on them. When enabling VM_DEBUG, it will tigger VM_BUG_ON in page_mapping(). So, check PageSlab to avoid it in __blk_queue_bounce(). Bug URL: http://lkml.org/lkml/2013/3/7/56 ... .. That sure is strange. I didn't see any o

[PATCHv3 02/14] ARM: OMAP2+: mbox: remove dependencies with soc.h

2013-03-12 Thread Suman Anna
The OMAP mailbox platform driver code has been cleaned up to remove the dependencies with soc.h in preparation for moving the mailbox code to drivers folder. The code relied on cpu_is_xxx/soc_is_xxx macros previously to pick the the right set of mailbox devices and register with the mailbox driver

[PATCHv3 00/14] drivers: mailbox: framework creation

2013-03-12 Thread Suman Anna
Hi, Please find the updated mailbox patch series for pulling into linux-next. The series is rebased on top of 3.9-rc2, and includes one new patch to rename an existing mailbox.h added as part of the highbank cpufreq support for 3.9 merge window [1]. The rest of the patches are mostly unchanged fr

[PATCHv3 08/14] mailbox: add shared memory mailbox type

2013-03-12 Thread Suman Anna
From: Loic Pallardy Some mailboxes are made up of cross interrupts and associated shared memory. Shared memory mapping is fixed and cross interrupt/shared memory relation make impossible the use of virtio. Mailbox framework must be enough opened to support any kind of mailbox. Signed-off-by: Loi

[PATCHv3 10/14] mailbox: add no_irq send message

2013-03-12 Thread Suman Anna
From: Loic Pallardy For debug purpose, mailbox must be available when interrupts are disabled to collect dump information. Signed-off-by: Loic Pallardy Signed-off-by: Linus Walleij --- drivers/mailbox/mailbox.c | 66 +++ include/linux/mailbox.h |

[PATCHv3 14/14] mailbox: call request_irq after mbox queues are allocated

2013-03-12 Thread Suman Anna
The mailbox startup code is enabling the interrupt even before any of the associated mailbox queues are allocated. Any pending received mailbox message could cause a kernel panic as soon as the interrupt is enabled due to the dereferencing of non-existing mailbox queues within the ISR. Signed-off-

[PATCHv3 12/14] mailbox/omap: check iomem resource before dereferencing it

2013-03-12 Thread Suman Anna
Add a NULL check for iomem resource in mailbox probe functions. Signed-off-by: Fernando Guzman Lugo Signed-off-by: Suman Anna --- drivers/mailbox/mailbox-omap1.c | 3 +++ drivers/mailbox/mailbox-omap2.c | 5 + 2 files changed, 8 insertions(+) diff --git a/drivers/mailbox/mailbox-omap1.c b/

[PATCHv3 11/14] mailbox: create dbx500 mailbox driver

2013-03-12 Thread Suman Anna
From: Loic Pallardy Add STEriccson DBX500 PRCM mailbox support. Signed-off-by: Loic Pallardy Signed-off-by: Linus Walleij --- .../devicetree/bindings/mailbox/dbx500-mailbox.txt | 27 + drivers/mailbox/Kconfig| 7 + drivers/mailbox/Makefile

[PATCHv3 04/14] mailbox: split internal header from API header

2013-03-12 Thread Suman Anna
From: Omar Ramirez Luna Now internal structures can remain hidden to the user and just API related functions and defines are made available. Signed-off-by: Omar Ramirez Luna Signed-off-by: Linus Walleij --- drivers/mailbox/mailbox.c | 34 ++ drivers/mailbox/mailbox_intern

[PATCHv3 05/14] mailbox: rename omap_mbox in mailbox

2013-03-12 Thread Suman Anna
From: Loic Pallardy In order to create a generic mailbox framework, functions and structures should be renamed in mailbox. Taking care of remoteproc and tidspbridge while at it. Signed-off-by: Loic Pallardy Signed-off-by: Omar Ramirez Luna Signed-off-by: Linus Walleij --- drivers/mailbox/Kc

[PATCHv3 06/14] mailbox: create opened message type

2013-03-12 Thread Suman Anna
From: Loic Pallardy Current message type is a u32 to fit HW fifo format. This should be extended to support any message exchanges and type of mailbox. Proposed structure owns the original u32 and an optional pointer on additional data. Adaptations made to remoteproc and tidspbridge drivers. Si

[PATCHv3 13/14] mailbox: check for NULL nb in mailbox_put

2013-03-12 Thread Suman Anna
The mailbox_put function must check the notifier block for NULL before trying to unregister it. Signed-off-by: Fernando Guzman Lugo Signed-off-by: Suman Anna --- drivers/mailbox/mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mailbox/mailbox.c b/drivers/m

[PATCHv3 07/14] mailbox: change protection mechanisms

2013-03-12 Thread Suman Anna
From: Loic Pallardy TX: replace spin by mutex to release CPU during wait on mailbox resource. Signed-off-by: Loic Pallardy Signed-off-by: Linus Walleij --- drivers/mailbox/mailbox.c | 5 +++-- drivers/mailbox/mailbox_internal.h | 1 + 2 files changed, 4 insertions(+), 2 deletions(-)

[PATCHv3 09/14] mailbox: add IRQF_NO_SUSPEND flag

2013-03-12 Thread Suman Anna
From: Loic Pallardy Coprocessor must be accessible during suspend transitions. Signed-off-by: Loic Pallardy Signed-off-by: Linus Walleij --- drivers/mailbox/mailbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mailbox/mailbox.c b/drivers/mailbox/mailbox.c in

[PATCHv3 01/14] mailbox: rename pl320-ipc specific mailbox.h

2013-03-12 Thread Suman Anna
The patch 30058677 "ARM / highbank: add support for pl320 IPC" added a pl320 IPC specific header file as a generic mailbox.h. This file has been renamed appropriately to allow the introduction of the generic mailbox API framework. Signed-off-by: Suman Anna Cc: Mark Langsdorf Cc: Rafael J. Wysock

Re: [PATCH 11/12] rwsem: wake all readers when first waiter is a reader

2013-03-12 Thread Dave Chinner
On Mon, Mar 11, 2013 at 11:43:34PM -0700, Michel Lespinasse wrote: > Hi Dave, > > On Mon, Mar 11, 2013 at 7:36 PM, Dave Chinner wrote: > > On Sun, Mar 10, 2013 at 10:17:42PM -0700, Michel Lespinasse wrote: > >> - since all readers are woken at once, you might see burst of direct > >> IO operation

Re: linux-next: unneeded merge in the security tree

2013-03-12 Thread Junio C Hamano
Theodore Ts'o writes: > On Tue, Mar 12, 2013 at 02:30:04PM -0700, Junio C Hamano wrote: >> Theodore Ts'o writes: >> >> > [remote "origin"] >> >url = >> > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git >> >fetch = +refs/heads/master:refs/heads/master >> >mergeo

Re: [PATCH v3] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Guenter Roeck
On Wed, Mar 13, 2013 at 08:25:09AM +0530, Naveen Krishna Chatradhi wrote: > This patch adds DT support to NTC driver to parse the > platform data. > > Also adds the support to work as an iio device. > > During the probe ntc driver gets the respective channels of ADC > and uses iio_raw_read calls

Re: [PATCH] sched: wakeup buddy

2013-03-12 Thread Michael Wang
On 03/12/2013 06:08 PM, Peter Zijlstra wrote: > Does something simple like a per-task throttle of wake_affine() gain > similar benefits? Say something like only do wake_affine() once every > 10 ms or so (counting on the wakee, not waker). > > The rationale being that wake_affine() relies on load-b

linux-next: manual merge of the trivial tree with the virtio tree

2013-03-12 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in Documentation/virtual/virtio-spec.txt between commit 29266e2e29f1 ("Remove Documentation/virtual/virtio-spec.txt") from the virtio tree and commit d097ddaf529f ("doc: virtual: Fix typos in virtio-spec.txt") from the trivial tr

[PATCH v3] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Naveen Krishna Chatradhi
This patch adds DT support to NTC driver to parse the platform data. Also adds the support to work as an iio device. During the probe ntc driver gets the respective channels of ADC and uses iio_raw_read calls to get the ADC converted value. Signed-off-by: Naveen Krishna Chatradhi --- Changes si

[PULL] virtio rng fix

2013-03-12 Thread Rusty Russell
The following changes since commit f7f154f1246ccc5a0a7e9ce50932627d60a0c878: hw_random: make buffer usable in scatterlist. (2013-03-05 10:11:41 +1030) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/fixes-for-linus for you to fetch

Linux IPMI subsystem hang

2013-03-12 Thread Daniel Kahn Gillmor
Hi Linux kernel folks (Corey is explicitly listed here because of being the only contact i could find in IPMI.txt)-- I am working with a Lenovo ThinkCentre M78, model 4865-A14, and it seems to have trouble with the IPMI subsystem. udev seems to hang for about 3 minutes at startup, ultimately fail

Re: linux-next: unneeded merge in the security tree

2013-03-12 Thread Theodore Ts'o
On Tue, Mar 12, 2013 at 02:30:04PM -0700, Junio C Hamano wrote: > Theodore Ts'o writes: > > > [remote "origin"] > > url = > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git > > fetch = +refs/heads/master:refs/heads/master > > mergeoptions = --ff-only > > > > Is

[PATCH] pinctrl: Print the correct information in debugfs pinconf-state file

2013-03-12 Thread Laurent Pinchart
A bad copy&paste resulted in the debugfs pinconf-state file printing the pin name instead of the state name. Fix it. Signed-off-by: Laurent Pinchart --- drivers/pinctrl/pinconf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinconf.c b/drivers/pinctrl/pinco

[PATCH] USB: ehci-s5p: Fix phy reset

2013-03-12 Thread Alexander Graf
On my Exynos 5 based Arndale system, I need to pull the reset line down and then let it go up again to actually perform a reset. Without that reset, I can't find any USB hubs on my bus, rendering the USB controller useless. So this patch implements the above logic, making EHCI and OHCI work on Arn

Re: [PATCH v2] cgroup: consolidate cgroup_attach_task() and cgroup_attach_proc()

2013-03-12 Thread Li Zefan
On 2013/3/13 9:19, Tejun Heo wrote: > On Wed, Mar 13, 2013 at 09:17:09AM +0800, Li Zefan wrote: >> These two functions share most of the code. >> >> Signed-off-by: Li Zefan >> --- >> >> v2: Not necessary to move cgroup_attach_task_all(). > > I supposed this one is the one to apply? > yep. -- T

[PATCH 2/3] ARM: Detect support for SDIV/UDIV from ISAR0 register

2013-03-12 Thread Stephen Boyd
The ISAR0 register indicates support for the SDIV and UDIV instructions in both the Thumb and ARM instruction set. Read the register to detect the supported instructions and update the elf_hwcap mask as appropriate. This is better than adding more and more cpuid checks in proc-v7.S for each new cpu

[PATCH 1/3] ARM: Clear IDIVT hwcap if CONFIG_ARM_THUMB=n

2013-03-12 Thread Stephen Boyd
Don't advertise support for the SDIV/UDIV thumb instructions if the kernel is not compiled with support for thumb userspace. This is in line with how we remove the THUMB hwcap in these configurations. Cc: Will Deacon Cc: Stepan Moskovchenko Signed-off-by: Stephen Boyd --- arch/arm/kernel/setup

[PATCH 0/3] Detect UDIV/SDIV support from ISAR0

2013-03-12 Thread Stephen Boyd
While attempting to upstream a patch to add the IDIV hwcap for Krait processors, Will suggested we move the code to read the ISAR0 register. This patchset does that and also works around the early Krait CPU designs that don't follow the latest ARM ARM for the ISAR0 register. Stephen Boyd (3): AR

[PATCH 3/3] ARM: Work around faulty ISAR0 register in some Krait CPUs

2013-03-12 Thread Stephen Boyd
Some early versions of the Krait CPU design incorrectly indicate that they only support the UDIV and SDIV instructions in Thumb mode when they actually support them in ARM and Thumb mode. It seems that these CPUs follow the DDI0406B ARM ARM which has two possible values for the divide instructions

Re: [PATCH] ARM: proc: Add Krait proc info

2013-03-12 Thread Stephen Boyd
On 03/07/13 22:41, Will Deacon wrote: > On Wed, Mar 06, 2013 at 05:20:32AM +, Stephen Boyd wrote: >> On 03/05/13 14:03, Stephen Boyd wrote: >>> On 03/05/13 00:34, Will Deacon wrote: I was looking at this the other day and wondered whether we could set HWCAP_IDIV in __v7_setup, dependi

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-12 Thread Bill Huang
On Tue, 2013-03-12 at 21:40 +0800, Russell King - ARM Linux wrote: > On Tue, Mar 12, 2013 at 05:37:41AM -0700, Bill Huang wrote: > > Add the below four notifier events so drivers which are interested in > > knowing the clock status can act accordingly. This is extremely useful > > in some of the DV

Re: [PATCH v2] cgroup: consolidate cgroup_attach_task() and cgroup_attach_proc()

2013-03-12 Thread Tejun Heo
On Wed, Mar 13, 2013 at 09:17:09AM +0800, Li Zefan wrote: > These two functions share most of the code. > > Signed-off-by: Li Zefan > --- > > v2: Not necessary to move cgroup_attach_task_all(). I supposed this one is the one to apply? -- tejun -- To unsubscribe from this list: send the line "

[PATCH v2] cgroup: consolidate cgroup_attach_task() and cgroup_attach_proc()

2013-03-12 Thread Li Zefan
These two functions share most of the code. Signed-off-by: Li Zefan --- v2: Not necessary to move cgroup_attach_task_all(). --- include/linux/cgroup.h | 3 +- kernel/cgroup.c| 109 + kernel/cpuset.c| 2 +- 3 files changed, 23

  1   2   3   4   5   6   7   8   9   >