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

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,

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'

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

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

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

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

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

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

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

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

[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

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

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

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

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

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

[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

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 ]

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

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.

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

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:

[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

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

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

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

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

[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

[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

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

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

[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

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

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

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

[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

[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

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

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

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

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

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

[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

[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

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

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

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

2013-03-12 Thread Laurent Pinchart
A bad copy 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/pinconf.c

[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

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

[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

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

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

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

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

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

[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| 107 + kernel/cpuset.c| 2 +- 3 files changed, 22

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

2013-03-12 Thread Darrick J. Wong
On Tue, Mar 12, 2013 at 03:32:21PM -0700, Andrew Morton wrote: > On Fri, 08 Mar 2013 20:37:36 +0800 Shuge wrote: > > > 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

Re: [PATCH 0/8] cgroup: a bunch of cleanups

2013-03-12 Thread Li Zefan
On 2013/3/13 6:38, Tejun Heo wrote: > On Tue, Mar 12, 2013 at 02:49:52PM +0800, Li Zefan wrote: >> Hi Tejun, >> >> If you're busy with other stuff, just take your time to go through those >> patches. >> >> 0001-cgroup-remove-cgroup_is_descentant.patch >>

Re: [PATCH v1] ARM: keep __my_cpu_offset consistent with generic one

2013-03-12 Thread Ming Lei
On Wed, Mar 13, 2013 at 1:25 AM, Tejun Heo wrote: > Hello, > > On Tue, Mar 12, 2013 at 07:44:55PM +0800, Ming Lei wrote: >> On Tue, Mar 12, 2013 at 7:30 PM, Russell King - ARM Linux >> wrote: >> >> >> >> Ingo and Peter, what is your opinion on the problem? >> > >> > Having discussed this with

[PATCH] backlight: da903x_bl: use BL_CORE_SUSPENDRESUME option

2013-03-12 Thread Jingoo Han
Use BL_CORE_SUSPENDRESUME option to support suspend/resume. It reduces code size. Signed-off-by: Jingoo Han Cc: Lars-Peter Clausen --- drivers/video/backlight/da903x_bl.c | 30 +- 1 files changed, 5 insertions(+), 25 deletions(-) diff --git

Re: linux-3.6.11-rt30 smoke test on ARM

2013-03-12 Thread Frank Rowand
On 03/11/13 10:34, Sebastian Andrzej Siewior wrote: > * Frank Rowand | 2013-03-07 20:03:18 [-0800]: > >> panda boot often fails due to a usb timeout, while sending a command on >> behalf of the smsc95xx ethernet driver. >> >> This patch is a temporary hack to force a retry when the timeout

Re: [PATCH 1/4] implement current_is_workqueue_rescuer()

2013-03-12 Thread Tejun Heo
On Thu, Mar 07, 2013 at 01:44:06PM -0800, Tejun Heo wrote: > Implement a function which queries whether it currently is running off > a workqueue rescuer. This will be used to convert writeback to > workqueue. > > Signed-off-by: Tejun Heo Applied this one to wq/for-3.10. Thanks. -- tejun --

Re: [PATCH] backlight: da903x_bl: switch to using SIMPLE_DEV_PM_OPS

2013-03-12 Thread Jingoo Han
On Wednesday, March 13, 2013 4:03 AM, Lars-Peter Clausen wrote: > > On 03/12/2013 06:48 AM, Jingoo Han wrote: > > This reduces #ifdefs in the code. Also, CONFIG_PM_SLEEP is used > > to avoid warnings of unused functions if CONFIG_PM_SLEEP is not > > defined. > > > > Signed-off-by: Jingoo Han >

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

2013-03-12 Thread Rusty Russell
Stephen Rothwell writes: > Hi Rusty, > > Looks partly better. You seem to be using > CONFIG_SYMBOL_PREFIX_UNDERSCORE but selecting > CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX. One trivial comment below. > > Maybe this was an unfinished version of the patch? Indeed. It was crap now I've

Re: [PATCH 5/6][v4]: perf: Create a sysfs entry for Power event format

2013-03-12 Thread Michael Ellerman
On Tue, Mar 12, 2013 at 08:27:40PM +1100, Paul Mackerras wrote: > On Tue, Mar 05, 2013 at 09:48:26PM -0800, Sukadev Bhattiprolu wrote: > > Michael Ellerman [mich...@ellerman.id.au] wrote: > > | I suspect Arnaldo was either waiting for an ACK from Ben, or was > > | expecting Ben to take it? > > >

Re: [PATCH linux-next] procfs: fix rcu-lock/unlock in proc_reg_open() and proc_reg_release()

2013-03-12 Thread Peter Hurley
On Thu, 2013-03-07 at 11:21 +0400, Konstantin Khlebnikov wrote: > fix for a21813be23329e2788164eab532e79cb0e513cfc (linux-next) > "procfs: improve scaling in proc" > > Signed-off-by: Konstantin Khlebnikov > Cc: Nathan Zimmer > Cc: Andrew Morton Konstantin, Thanks for fixing this. Now -next

Re: [PATCH] allow alternative name for PXA serial console

2013-03-12 Thread Сергей Янович
On 13 March 2013 03:39, Greg Kroah-Hartman wrote: > On Wed, Mar 13, 2013 at 03:34:59AM +0400, Сергей Янович wrote: >> >> * Non-8250 serial port support >> * >> PXA serial port support (SERIAL_PXA) [Y/n/?] y >> Console on PXA serial port (SERIAL_PXA_CONSOLE) [Y/n/?] y >>

[PATCH] dma: ipu: ipu_idmac: Fix section mismatch

2013-03-12 Thread Fabio Estevam
From: Fabio Estevam Since commit 84c1e63c12 (dma: Remove erroneous __exit and __exit_p() references) the following section mismatch happens: WARNING: drivers/built-in.o(.text+0x20f94): Section mismatch in reference from the function ipu_remove() to the function .exit.text:ipu_idmac_exit() The

Re: [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_W1_MASTER_MXC

2013-03-12 Thread Fabio Estevam
Hi Greg, On Tue, Mar 12, 2013 at 8:24 PM, Greg KH wrote: > On Mon, Mar 11, 2013 at 08:18:16PM -0300, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Select CONFIG_W1_MASTER_MXC. > > Why? Don't tell me what you did, that's obvious, it's the story that is > needed. > > dropped from my queue.

Re: [PATCH] allow alternative name for PXA serial console

2013-03-12 Thread Greg Kroah-Hartman
On Wed, Mar 13, 2013 at 03:34:59AM +0400, Сергей Янович wrote: > On 13 March 2013 03:10, Greg Kroah-Hartman wrote: > > On Wed, Mar 13, 2013 at 03:02:22AM +0400, Sergey Yanovich wrote: > >> +config SERIAL_PXA_TTYSA_NAME > >> + bool "as /dev/ttySA[0-3]" > > > > Does that config text really make

Re: [PATCH] fuse: Fix build after change to synchronize with library

2013-03-12 Thread Arve Hjønnevåg
On Tue, Mar 12, 2013 at 2:02 AM, Miklos Szeredi wrote: > On Mon, 2013-03-11 at 15:54 -0700, Arve Hjønnevåg wrote: >> __linux__ is not always defined so check __KERNEL__ as well. >> >> Signed-off-by: Arve Hjønnevåg >> --- >> include/uapi/linux/fuse.h | 2 +- >> 1 file changed, 1 insertion(+), 1

Re: [PATCH] allow alternative name for PXA serial console

2013-03-12 Thread Сергей Янович
On 13 March 2013 03:10, Greg Kroah-Hartman wrote: > On Wed, Mar 13, 2013 at 03:02:22AM +0400, Sergey Yanovich wrote: >> +config SERIAL_PXA_TTYSA_NAME >> + bool "as /dev/ttySA[0-3]" > > Does that config text really make sense? What does it look like when > you run "make oldconfig"?

Re: [PATCH v2 1/2] leds: Add support for Palmas LEDs

2013-03-12 Thread Ian Lartey
On 12/03/13 18:57, Bryan Wu wrote: On Thu, Feb 28, 2013 at 7:21 AM, Ian Lartey wrote: The Palmas familly of chips has LED support. This is not always muxed to output pins so depending on the setting of the mux this driver will create the appropriate LED class devices. Signed-off-by: Graeme

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

2013-03-12 Thread Doug Anderson
Hi, On Tue, Mar 12, 2013 at 6:45 AM, Guenter Roeck wrote: > On Tue, Mar 12, 2013 at 02:09:26PM +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

Re: [PATCH 3/5] W1: w1-gpio - guard DT IDs with CONFIG_OF

2013-03-12 Thread Greg Kroah-Hartman
On Sun, Feb 24, 2013 at 10:59:35PM -0800, Dmitry Torokhov wrote: > This fixes the following warning: > > CC drivers/w1/masters/w1-gpio.o > drivers/w1/masters/w1-gpio.c:50:28: warning: ‘w1_gpio_dt_ids’ defined but not > used [-Wunused-variable] > > Also provide stub for w1_gpio_probe_dt()

Re: [PATCH 2/2] ARM: imx_v6_v7_defconfig: Select CONFIG_W1_MASTER_MXC

2013-03-12 Thread Greg KH
On Mon, Mar 11, 2013 at 08:18:16PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Select CONFIG_W1_MASTER_MXC. Why? Don't tell me what you did, that's obvious, it's the story that is needed. dropped from my queue. greg k-h -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v2 1/5] W1: w1-gpio - fix incorrect __init/__exit markups

2013-03-12 Thread Greg Kroah-Hartman
On Sun, Feb 24, 2013 at 10:59:33PM -0800, Dmitry Torokhov wrote: > We should not be using __init/__exit markups on probe() and remove() > methods unless platform_device_probe() is used, because other methods > allow unbinding device through sysfs and these methods should not be > discarded. > >

[ 018/100] btrfs: Init io_lock after cloning btrfs device struct

2013-03-12 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 1cba0cdf5e4dbcd9e5fa5b54d7a028e55e2ca057 upstream. __btrfs_close_devices() clones btrfs device structs with memcpy(). Some of the fields in the clone are reinitialized,

[ 019/100] Btrfs: copy everything if weve created an inline extent

2013-03-12 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit bdc20e67e82cfc4901d3a5a0d79104b0e2296d83 upstream. I noticed while looking into a tree logging bug that we aren't logging inline extents properly. Since this requires

[ 020/100] Btrfs: delete inline extents when we find them during logging

2013-03-12 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit 124fe663f93162d17b7e391705cac122101e93d8 upstream. Apparently when we do inline extents we allow the data to overlap the last chunk of the btrfs_file_extent_item, which

[ 017/100] ext4: convert number of blocks to clusters properly

2013-03-12 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Czerner commit 810da240f221d64bf90020f25941b05b378186fe upstream. We're using macro EXT4_B2C() to convert number of blocks to number of clusters for bigalloc file systems. However, we

[ 013/100] SCSI: dc395x: uninitialized variable in device_alloc()

2013-03-12 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 208afec4f3be8c51ad6eebe6611dd6d2ad2fa298 upstream. This bug was introduced back in bitkeeper days in 2003. We use "dcb->dev_mode" before it has been initialized.

[ 023/100] dm: do not replace bioset for request based dm

2013-03-12 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Jun'ichi Nomura commit 16245bdc9d3e22d1460341a655c8b5288953bc14 upstream. This patch fixes a regression introduced in v3.8, which causes oops like this when dm-multipath is used: general

  1   2   3   4   5   6   7   8   9   10   >