Re: mmotm 2012-07-10-16-59 uploaded (staging/ccg)

2012-07-12 Thread Randy Dunlap
On 07/12/2012 02:00 AM, Andrzej Pietrasiewicz wrote: Dear Andrew, On Thursday, July 12, 2012 12:17 AM Andrew Morton wrote: On Wed, 11 Jul 2012 15:01:32 -0700 Randy Dunlap rdun...@xenotime.net wrote: In file included from drivers/staging/ccg/ccg.c:59:0:

Re: um: TTY fixes (?)

2012-07-12 Thread Karel Zak
On Tue, Jun 05, 2012 at 05:17:19PM +0200, Karel Zak wrote: On Tue, Jun 05, 2012 at 02:20:38PM +0200, Richard Weinberger wrote: Am 05.06.2012 13:15, schrieb Alan Cox: Actually I'd prefer a clever solution which can spot all the fds are the same process so we can keep compatibility but I've

Re: [PATCH V3 1/2] driver: add PPI support in tpm driver

2012-07-12 Thread Kent Yoder
On Thu, Jul 12, 2012 at 02:38:56AM +, Zhang, Xiaoyan wrote: Hi Kent, Thanks for your comment on the patch. But there's some confusion on my side. You mentioned not to change the tpm driver name. But the driver is linked from tpm.c and tpm_ppi.c, so I should change the original tpm.c

Re: 3.4.4: disabling irq

2012-07-12 Thread Alan Stern
On Thu, 12 Jul 2012, Udo van den Heuvel wrote: # cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 0: 40 0 0 0 IO-APIC-edge timer 1: 1 4 91884418 IO-APIC-edge i8042 4: 1

Re: um: TTY fixes (?)

2012-07-12 Thread Richard Weinberger
Am Thu, 12 Jul 2012 16:49:28 +0200 schrieb Karel Zak k...@redhat.com: I just fixed login(1) and agetty (--hangup option). The change will be available in util-linux v2.23 (rc1 will be this month). Thank you! //richard -- To unsubscribe from this list: send the line unsubscribe

Re: [RFC, PATCH] CLONE_NEWIPC and exit_group()

2012-07-12 Thread Kirill A. Shutemov
On Wed, Jul 11, 2012 at 03:24:22PM -0700, Andrew Morton wrote: Am I reading that right? 1000 forks take 33 seconds, with basically all of it just sitting there asleep? This look quite terrible - what causes this? It seems free_nsproxy() + synchronize_rcu() are too heavy to be in exit_group()

Re: [linux-pm] [RESEND PATCH v4 1/5] thermal: add generic cpufreq cooling implementation

2012-07-12 Thread Valentin, Eduardo
Amit, On Thu, Jul 12, 2012 at 4:41 PM, Amit Daniel Kachhap amit.kach...@linaro.org wrote: This patchset introduces a new generic cooling device based on cpufreq that can be used on non-ACPI platforms. As a proof of concept, we have drivers for the following platforms using this mechanism now:

Re: mount -o loop with truncated dosdisk.img uses 100% cpu and can't be killed

2012-07-12 Thread Steven J. Magnani
On Thu, 2012-07-12 at 16:28 +0200, Stevie Trujillo wrote: Hello, I was trying to create a bootdisk to update my BIOS, and accidentially made a 512byte image with only the FreeDOS header in it. ( Linux 3.4.4 ) # mount -o loop dosdisk.img /tmp ^C^C^C It uses 100% CPU and doesn't listen

Re: perf with precise attribute kills all KVM based VMs

2012-07-12 Thread David Ahern
On 7/11/12 10:29 PM, Gleb Natapov wrote: On Wed, Jul 11, 2012 at 10:11:57PM -0600, David Ahern wrote: On 7/11/12 3:53 AM, Gleb Natapov wrote: On Wed, Jul 11, 2012 at 11:49:47AM +0200, Peter Zijlstra wrote: On Wed, 2012-07-11 at 10:10 +0300, Gleb Natapov wrote: Looks like Avi is right about

Re: mmotm 2012-07-10-16-59 uploaded (staging/ccg)

2012-07-12 Thread 'Greg Kroah-Hartman'
On Thu, Jul 12, 2012 at 11:00:13AM +0200, Andrzej Pietrasiewicz wrote: Dear Andrew, On Thursday, July 12, 2012 12:17 AM Andrew Morton wrote: On Wed, 11 Jul 2012 15:01:32 -0700 Randy Dunlap rdun...@xenotime.net wrote: In file included from drivers/staging/ccg/ccg.c:59:0:

Re: [PATCH 4/4] copyleft-next: embrace the Signed-off-by practice

2012-07-12 Thread Ted Ts'o
On Wed, Jul 11, 2012 at 05:44:49PM -0700, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@do-not-panic.com The idea is taken from Linus Torvald's subsurface project [0] README file. The Signed-off-by is widely used in public projects and we stand to gain to make its usage more

[PATCH 0/5] Add vhost-blk support

2012-07-12 Thread Asias He
Hi folks, This patchset adds vhost-blk support. vhost-blk is a in kernel virito-blk device accelerator. Compared to userspace virtio-blk implementation, vhost-blk gives about 5% to 15% performance improvement. Asias He (5): aio: Export symbols and struct kiocb_batch for in kernel aio usage

Re: [PATCHv3 1/4] staging: OMAP4+: thermal: introduce bandgap temperature sensor

2012-07-12 Thread Greg Kroah-Hartman
On Thu, Jul 12, 2012 at 05:45:52AM +0300, Valentin, Eduardo wrote: Hello, On Thu, Jul 12, 2012 at 3:32 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Wed, Jul 11, 2012 at 11:41:06PM +0300, Eduardo Valentin wrote: In the System Control Module, OMAP supplies a voltage reference

[PATCH 1/5] aio: Export symbols and struct kiocb_batch for in kernel aio usage

2012-07-12 Thread Asias He
This is useful for people who want to use aio in kernel, e.g. vhost-blk. Signed-off-by: Asias He as...@redhat.com --- fs/aio.c| 37 ++--- include/linux/aio.h | 21 + 2 files changed, 39 insertions(+), 19 deletions(-) diff --git

Re: [PATCH] extcon: Remove CONFIG_EXTCON_MODULE config to fix build break

2012-07-12 Thread Greg KH
On Thu, Jul 12, 2012 at 01:32:27PM +0900, Chanwoo Choi wrote: This patch modify 'Kconfig' of EXTCON Subsystem to support either active or inactive of EXTCON Subsystem. The various subsystem refer to EXTCON subsystem for controlling external connector, so core class of EXTCON should be included

Re: [PATCHv3 1/4] staging: OMAP4+: thermal: introduce bandgap temperature sensor

2012-07-12 Thread Valentin, Eduardo
Hello, On Thu, Jul 12, 2012 at 6:34 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Jul 12, 2012 at 05:45:52AM +0300, Valentin, Eduardo wrote: Hello, On Thu, Jul 12, 2012 at 3:32 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Wed, Jul 11, 2012 at 11:41:06PM

Re: Fork bomb limitation in memcg WAS: Re: [PATCH 00/11] kmem controller for memcg: stripped down version

2012-07-12 Thread Frederic Weisbecker
On Tue, Jul 03, 2012 at 03:38:39PM +0400, Glauber Costa wrote: On 06/29/2012 02:25 AM, Andrew Morton wrote: On Thu, 28 Jun 2012 13:01:23 +0400 Glauber Costa glom...@parallels.com wrote: ... OK, that all sounds convincing ;) Please summarise and capture this discussion in the

[PATCH 2/5] eventfd: Export symbol eventfd_file_create()

2012-07-12 Thread Asias He
This is useful for people who want to create an eventfd in kernel, e.g. vhost-blk. Signed-off-by: Asias He as...@redhat.com --- fs/eventfd.c |1 + 1 file changed, 1 insertion(+) diff --git a/fs/eventfd.c b/fs/eventfd.c index d81b9f6..b288963 100644 --- a/fs/eventfd.c +++ b/fs/eventfd.c @@

Re: [PATCH 01/27] x86/irq: Add data structure to keep AMD specific irq remapping information

2012-07-12 Thread Joerg Roedel
On Wed, Jul 11, 2012 at 02:42:03PM -0700, Yinghai Lu wrote: #ifdef CONFIG_IRQ_REMAP - struct irq_2_iommu irq_2_iommu; + union irq_remap_infoirq_remap_info; how about +union { + struct irq_2_iommu irq_2_iommu; + struct irq_2_irte irq_2_irte; +};

Re: [PATCH v2] NFSd: fix locking in nfsd_forget_delegations()

2012-07-12 Thread J. Bruce Fields
On Fri, May 25, 2012 at 06:38:50PM +0400, Stanislav Kinsbursky wrote: v2: dl_recall_lru list is used for delegations collect because it's modified both in unhash_delegation() and nfsd_break_one_deleg(). This patch adds recall_lock hold to nfsd_forget_delegations() to protect

[PATCH 3/5] vhost: Make vhost a separate module

2012-07-12 Thread Asias He
Currently, vhost-net is the only consumer of vhost infrastructure. So vhost infrastructure and vhost-net driver are in a single module. Separating this as a vhost.ko module and a vhost-net.ko module makes it is easier to share code with other vhost drivers, e.g. vhost-blk.ko, tcm-vhost.ko.

[PATCH 4/5] vhost-net: Use VHOST_NET_FEATURES for vhost-net

2012-07-12 Thread Asias He
vhost-net's feature does not deseve the name VHOST_FEATURES. Use VHOST_NET_FEATURES instead. Signed-off-by: Asias He as...@redhat.com --- drivers/vhost/net.c |4 ++-- drivers/vhost/test.c |4 ++-- drivers/vhost/vhost.h | 12 ++-- 3 files changed, 10 insertions(+), 10

[PATCH 5/5] vhost-blk: Add vhost-blk support

2012-07-12 Thread Asias He
vhost-blk is a in kernel virito-blk device accelerator. This patch is based on Liu Yuan's implementation with various improvements and bug fixes. Notably, this patch makes guest notify and host completion processing in parallel which gives about 60% performance improvement compared to Liu Yuan's

Re: linux-next: Tree for July 12 (v4l2-ioctl.c)

2012-07-12 Thread Randy Dunlap
On 07/11/2012 11:03 PM, Stephen Rothwell wrote: Hi all, Changes since 20120710: on i386 and/or x86_64, drivers/media/video/v4l2-ioctl.c has too many errors to be listed here. This is the beginning few lines of the errors: drivers/media/video/v4l2-ioctl.c:1848:2: error: unknown field

Re: [PATCH] olpc-xo15-sci: Use struct dev_pm_ops for power management

2012-07-12 Thread Randy Dunlap
On 07/12/2012 03:29 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki r...@sisk.pl Make the OLPC XO15 SCI driver define its resume callback through a struct dev_pm_ops object rather than by using a legacy PM hook in struct acpi_device_ops. Signed-off-by: Rafael J. Wysocki r...@sisk.pl

Re: [RFC][PATCH 2/4 v4] ftrace/x86: Add save_regs for i386 function calls

2012-07-12 Thread Steven Rostedt
I'm slowly getting this patch set into working order ;-) On Thu, 2012-07-12 at 21:39 +0900, Masami Hiramatsu wrote: +ENTRY(ftrace_regs_caller) + pushf /* push flags before compare (in ss location) */ + cmpl $0, function_trace_stop + jne ftrace_restore_flags + + pushl

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

2012-07-12 Thread Arnd Bergmann
On Thursday 12 July 2012, Wolfram Sang wrote: I fixed it up (I think - see below) and can carry the fix as necessary. Please check this and talk to each other ... I also noticed the bindings today [1]. They came in via a seperate patch (suboptimal) which has no ack by a devicetree

[GIT] [3.5] MFD fixes

2012-07-12 Thread Samuel Ortiz
Hi Linus, This is a pull request for the 3.5 MFD fixes. With this one we have: - 3 Palmas fixes, 1 of them being a build error fix. - 2 mc13xx fixes. 1 for fixing an SPI regmap configuration and another one for working around an i.Mx hardware bug. - 1 omap-usb regression fix. - 1 twl6040 build

Re: [PATCH v2] NFSd: fix locking in nfsd_forget_delegations()

2012-07-12 Thread Bryan Schumaker
On 07/12/2012 11:43 AM, J. Bruce Fields wrote: On Fri, May 25, 2012 at 06:38:50PM +0400, Stanislav Kinsbursky wrote: v2: dl_recall_lru list is used for delegations collect because it's modified both in unhash_delegation() and nfsd_break_one_deleg(). This patch adds recall_lock hold to

[PATCHv4 0/4] staging: adding OMAP bandgap driver

2012-07-12 Thread Eduardo Valentin
Greg, Here is again the OMAP BG driver, under staging area. I fixed the compilation issue I didn't see, wrt implicit function declarations. As I mentioned on other thread, my compilation test didn't see it, that's why I thought it was fine to send it. I also limited the driver compilation to

[PATCHv4 1/4] staging: OMAP4+: thermal: introduce bandgap temperature sensor

2012-07-12 Thread Eduardo Valentin
In the System Control Module, OMAP supplies a voltage reference and a temperature sensor feature that are gathered in the band gap voltage and temperature sensor (VBGAPTS) module. The band gap provides current and voltage reference for its internal circuits and other analog IP blocks. The

[PATCHv4 3/4] staging: omap-thermal: add OMAP4 data structures

2012-07-12 Thread Eduardo Valentin
This patch adds the data structures needed for proper registration of OMAP4 chips. This patch includes definitions for these chip versions: . OMAP4430 . OMAP4460 . OMAP4470 Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/staging/omap-thermal/Kconfig | 14 ++

[PATCHv4 4/4] staging: omap-thermal: add OMAP5 data structures

2012-07-12 Thread Eduardo Valentin
This patch adds the data structures needed for proper registration of OMAP5 chips. This patch includes definitions for these chip versions: . OMAP5430 Signed-off-by: Eduardo Valentin eduardo.valen...@ti.com --- drivers/staging/omap-thermal/Kconfig | 12 +

[PATCHv4 2/4] staging: omap-thermal: common code to expose driver to thermal framework

2012-07-12 Thread Eduardo Valentin
This patch has the common thermal framework support for OMAP bandgap driver. It includes the zone registration and unregistration, the cpu cooling and the trip definitions. The trips definition is essentially one trip for passive cooling using the generic cpu cooling device and another one for

Re: [PATCH 0/5] Add vhost-blk support

2012-07-12 Thread Jeff Moyer
Asias He as...@redhat.com writes: Hi folks, This patchset adds vhost-blk support. vhost-blk is a in kernel virito-blk device accelerator. Compared to userspace virtio-blk implementation, vhost-blk gives about 5% to 15% performance improvement. Asias He (5): aio: Export symbols and

Re: perf with precise attribute kills all KVM based VMs

2012-07-12 Thread Gleb Natapov
On Thu, Jul 12, 2012 at 09:20:53AM -0600, David Ahern wrote: On 7/11/12 10:29 PM, Gleb Natapov wrote: On Wed, Jul 11, 2012 at 10:11:57PM -0600, David Ahern wrote: On 7/11/12 3:53 AM, Gleb Natapov wrote: On Wed, Jul 11, 2012 at 11:49:47AM +0200, Peter Zijlstra wrote: On Wed, 2012-07-11 at

Re: linux-next: Tree for July 12 (pci)

2012-07-12 Thread Randy Dunlap
On 07/11/2012 11:03 PM, Stephen Rothwell wrote: Hi all, Changes since 20120710: The pci tree lost its conflicts. on x86_64: drivers/built-in.o: In function `pci_bus_add_device': (.text+0x4f62): undefined reference to `pci_fixup_final_inited' when CONFIG_PCI_QUIRKS is not enabled.

Re: perf with precise attribute kills all KVM based VMs

2012-07-12 Thread Gleb Natapov
On Thu, Jul 12, 2012 at 07:06:35PM +0300, Gleb Natapov wrote: So, is the idea of your patch to not enable the PEBS in guest mode? Yes, the idea of my patch is to disable PEBS and the guest entry. BTW what is you host cpu? My patch works only for those that have global control register

Re: [PATCH] extcon: Remove CONFIG_EXTCON_MODULE config to fix build break

2012-07-12 Thread Mark Brown
On Thu, Jul 12, 2012 at 01:32:27PM +0900, Chanwoo Choi wrote: This patch modify 'Kconfig' of EXTCON Subsystem to support either active or inactive of EXTCON Subsystem. The various subsystem refer to EXTCON subsystem for controlling external connector, so core class of EXTCON should be included

Re: [Ilw] Re: 3.4-rc2, ilwagn still most of the time completely unusable

2012-07-12 Thread Johannes Berg
On Thu, 2012-07-12 at 17:14 +0900, Norbert Preining wrote: I can actually work now wirelessly, and in case of hangs an rfkill block rfkill unblock practically always, and mostly is not needed. Ok, that was said *UNTIL* I reenabled 11n. Up to now I was loading the iwlwifi module with

[PATCH RFC] swiotlb: Disable swiotlb overflow support when CONFIG_ISA is enabled

2012-07-12 Thread Shuah Khan
Disable iotlb overflow support when CONFIG_ISA is enabled. This is the first step towards removing overflow support, to be consistent with other iommu implementations and return DMA_ERROR_CODE. This disabling step is for finding drivers that don't call dma_mapping_error to check for errors

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-12 Thread Alex Williamson
On Thu, 2012-07-12 at 12:35 +0300, Avi Kivity wrote: On 07/11/2012 10:57 PM, Alex Williamson wrote: We still have classic KVM device assignment to provide fast-path INTx. But if we want to replace it midterm, I think it's necessary for VFIO to be able to provide such a path as well.

[GIT PULL][v3.6] tracing: Check for allocation failure in __tracing_open()

2012-07-12 Thread Steven Rostedt
Ingo, Dan found a bug that is in the queue for 3.6. Please add this for the 3.6 queue. Thanks, Steve Please pull the latest tip/perf/core tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git tip/perf/core Head SHA1:

Re: [PATCH RFC] pci: ACS quirk for AMD southbridge

2012-07-12 Thread Andreas Hartmann
Hello Alex, I tested the patch below against linux 3.4.4 and with this PCI WLAN-device: 06:07.0 Network controller: Ralink corp. RT2800 802.11n PCI 06:07.0 0280: 1814:0601 The device resides behind a PCI to PCI bridge: 00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI

Re: [PATCH 7/9] Input: ab8500-ponkey: Create AB8500 domain IRQ mapping

2012-07-12 Thread Mark Brown
On Tue, Jul 10, 2012 at 11:08:39PM +0200, Linus Walleij wrote: On Mon, Jul 9, 2012 at 11:21 PM, Lee Jones lee.jo...@linaro.org wrote: I did test it, but must have only looked at the one IRQ incrementing. That's not enough, cat /dev/input/event/* whatever event node is used by the ponkey,

Re: [PATCH RESEND] Fix a dead loop in async_synchronize_full()

2012-07-12 Thread Dan Williams
[ adding James ] On Thu, Jul 12, 2012 at 2:56 AM, Li Zhong zh...@linux.vnet.ibm.com wrote: I have tested your pending patches, they fix the problem here. Thanks! James, if you get the chance please add: Tested-by: Li Zhong zh...@linux.vnet.ibm.com ...to the pending set, or I can just resend.

Re: rcu_dyntick and suspicious RCU usage

2012-07-12 Thread Paul E. McKenney
On Wed, Jul 11, 2012 at 12:49:24AM -0700, Paul E. McKenney wrote: On Tue, Jul 10, 2012 at 12:47:00PM +0800, Fengguang Wu wrote: Hi Paul, Fortunately this bug is bisectable and the first bad commit is: commit 9b2e4f1880b789be1f24f9684f7a54b90310b5c0 Author: Paul E.

Re: 3.5-rc6 printk formatting problem during oom-kill.

2012-07-12 Thread Kay Sievers
On Thu, Jul 12, 2012 at 4:05 PM, Dave Jones da...@redhat.com wrote: On Thu, Jul 12, 2012 at 03:52:17PM +0200, Kay Sievers wrote: On Thu, Jul 12, 2012 at 2:54 AM, Dave Jones da...@redhat.com wrote: On Mon, Jul 09, 2012 at 08:48:51PM +0200, Kay Sievers wrote: It looks fine here with

Re: [PATCH] resource: make sure requested range intersects root range

2012-07-12 Thread Purdila, Octavian
Adding back people on CC, I accidentally reply-to instead of reply-to-all. On Thu, Jul 12, 2012 at 7:30 PM, Ram Pai linux...@us.ibm.com wrote: On Thu, Jul 12, 2012 at 12:56:08PM +0300, Purdila, Octavian wrote: On Thu, Jul 12, 2012 at 11:56 AM, Ram Pai linux...@us.ibm.com wrote: ..snip..

Re: [PATCH v3 1/3] acpi : cpu hot-remove returns error when cpu_down() fails

2012-07-12 Thread Toshi Kani
On Thu, 2012-07-12 at 20:22 +0900, Yasuaki Ishimatsu wrote: Even if cpu_down() fails, acpi_processor_remove() continues to remove the cpu. But in this case, it should return error number since some process may run on the cpu. If the cpu has a running process and the cpu is turned the power off,

Re: [PATCH v3 2/3 RESEND] acpi : prevent cpu from becoming online

2012-07-12 Thread Toshi Kani
On Thu, 2012-07-12 at 20:40 +0900, Yasuaki Ishimatsu wrote: Even if acpi_processor_handle_eject() offlines cpu, there is a chance to online the cpu after that. So the patch closes the window by using get/put_online_cpus(). Why does the patch change _cpu_up() logic? The patch cares the

Re: [PATCH v3 3/3] acpi : acpi_bus_trim() stops removing devices when failing to remove the device

2012-07-12 Thread Toshi Kani
On Thu, 2012-07-12 at 20:28 +0900, Yasuaki Ishimatsu wrote: acpi_bus_trim() stops removing devices, when acpi_bus_remove() return error number. But acpi_bus_remove() cannot return error number correctly. acpi_bus_remove() only return -EINVAL, when dev argument is NULL. Thus even if device

Re: [PATCH] clk: allow clocks without parents to change rate

2012-07-12 Thread Mike Turquette
On 20120712-12:50, Linus Walleij wrote: On Thu, Jul 12, 2012 at 1:42 AM, Mike Turquette mturque...@ti.com wrote: This has been fixed in Pawell's patch, clk: Check parent for NULL in clk_change_rate. Yes, that'll probably work. A small nitpick though: I have slightly different

Re: rcu_dyntick and suspicious RCU usage

2012-07-12 Thread Fengguang Wu
On Thu, Jul 12, 2012 at 09:43:08AM -0700, Paul E. McKenney wrote: On Wed, Jul 11, 2012 at 12:49:24AM -0700, Paul E. McKenney wrote: On Tue, Jul 10, 2012 at 12:47:00PM +0800, Fengguang Wu wrote: Hi Paul, Fortunately this bug is bisectable and the first bad commit is:

Re: [PATCH 33/36] AArch64: Generic timers support

2012-07-12 Thread John Stultz
On 07/12/2012 03:56 AM, Linus Walleij wrote: On Thu, Jul 12, 2012 at 12:09 PM, Marc Zyngier marc.zyng...@arm.com wrote: On Thu, 12 Jul 2012 02:18:42 +0200, Linus Walleij linus.ml.wall...@gmail.com wrote: Hi Linus, I'm reviewing the only patch I really understand... 2012/7/6 Catalin Marinas

Re: perf with precise attribute kills all KVM based VMs

2012-07-12 Thread Peter Zijlstra
On Thu, 2012-07-12 at 19:13 +0300, Gleb Natapov wrote: BTW what is you host cpu? My patch works only for those that have global control register to disable PMU events, but that should cover most of moder cpus. That covers everything but core and p4, and I don't think we support PEBS on either

Re: 3.5-rc6 printk formatting problem during oom-kill.

2012-07-12 Thread Dave Jones
On Thu, Jul 12, 2012 at 06:47:57PM +0200, Kay Sievers wrote: Also, I have no idea how the hell the 'Modules linked in:' line (9th line) ended up being printed /after/ the module listing began (2nd line). They do not belong together. The second line is just another call to

Re: [PATCH 6/6] workqueue: reimplement WQ_HIGHPRI using a separate worker_pool

2012-07-12 Thread Tejun Heo
Hello, Fengguang. On Thu, Jul 12, 2012 at 09:06:48PM +0800, Fengguang Wu wrote: [0.207977] WARNING: at /c/kernel-tests/mm/kernel/workqueue.c:1217 worker_enter_idle+0x2b8/0x32b() [0.207977] Modules linked in: [0.207977] Pid: 1, comm: swapper/0 Not tainted 3.5.0-rc6-08414-g9645fff

Re: rcu_dyntick and suspicious RCU usage

2012-07-12 Thread Paul E. McKenney
On Thu, Jul 12, 2012 at 10:11:30PM +0800, Fengguang Wu wrote: On Wed, Jul 11, 2012 at 08:55:59PM +0800, Fengguang Wu wrote: On Wed, Jul 11, 2012 at 08:36:16PM +0800, Fengguang Wu wrote: On Wed, Jul 11, 2012 at 12:49:24AM -0700, Paul E. McKenney wrote: On Tue, Jul 10, 2012 at 12:47:00PM

Re: [PATCH 3/6] workqueue: use @pool instead of @gcwq or @cpu where applicable

2012-07-12 Thread Tejun Heo
Hello, Tony. On Tue, Jul 10, 2012 at 04:30:36PM -0700, Tony Luck wrote: On Mon, Jul 9, 2012 at 11:41 AM, Tejun Heo t...@kernel.org wrote: @@ -1234,7 +1235,7 @@ static void worker_enter_idle(struct worker *worker) */ WARN_ON_ONCE(gcwq-trustee_state == TRUSTEE_DONE

Re: [PATCH RFT] regulator: tps65910: Remvoe tps65910_reg_[read|modify_bits|read_locked|write_locked] functions

2012-07-12 Thread Mark Brown
On Wed, Jul 11, 2012 at 07:44:13PM +0800, Axel Lin wrote: The tps65910 mfd driver has been converted to regmap APIs. This patch adds tps65910_reg_update_bits() in include/linux/mfd/tps65910.h. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/3] regulator: s2mps11: Fixup missing commas

2012-07-12 Thread Mark Brown
On Thu, Jul 12, 2012 at 09:35:50AM +0800, Axel Lin wrote: Signed-off-by: Axel Lin axel@gmail.com Applied all, thanks. signature.asc Description: Digital signature

Re: [PATCH 2/6] workqueue: factor out worker_pool from global_cwq

2012-07-12 Thread Tejun Heo
Hello, Namhyung. Sorry about the delay. On Tue, Jul 10, 2012 at 01:48:44PM +0900, Namhyung Kim wrote: + struct list_headidle_list; /* X: list of idle workers */ + struct timer_list idle_timer; /* L: worker idle timeout */ + struct timer_list mayday_timer;

Re: 3.4.4-rt13: btrfs + xfstests 006 = BOOM.. and a bonus rt_mutex deadlock report for absolutely free!

2012-07-12 Thread Chris Mason
On Thu, Jul 12, 2012 at 05:07:58AM -0600, Thomas Gleixner wrote: On Thu, 12 Jul 2012, Mike Galbraith wrote: crash struct rt_mutex 0x8801770601c8 struct rt_mutex { wait_lock = { raw_lock = { slock = 7966 } }, wait_list = { node_list = { next =

Re: 3.5-rc6 printk formatting problem during oom-kill.

2012-07-12 Thread Linus Torvalds
On Thu, Jul 12, 2012 at 7:05 AM, Dave Jones da...@redhat.com wrote: I've seen it a few times, always with the soft lockup trace. I bet it's because you have tons of modules, and the line ends up being *really* long. And overflows LOG_LINE_MAX. I suspect something odd happens. There are tons of

[PATCH 0/4] uprobes: vma_address() fixlets

2012-07-12 Thread Oleg Nesterov
Hello, Another series with small fixes/cleanups, on top of uprobes: teach build_probe_list() to consider the range (still waiting for review from Srikar). 4/4 was previously nacked by Anton because vma_address() conflicts with rmap.c. Now that 3/4 renames this helper it is safe to incluse

[PATCH 1/4] uprobes: introduce vaddr_to_offset(vma, vaddr)

2012-07-12 Thread Oleg Nesterov
Add the new helper, vaddr_to_offset(vma, vaddr) which returns the offset in vma-vm_file this vaddr is mapped at. Change build_probe_list() and find_active_uprobe() to use the new helper, the next patch adds another user. Signed-off-by: Oleg Nesterov o...@redhat.com --- kernel/events/uprobes.c |

[PATCH 2/4] uprobes: fix register_for_each_vma()-vma_address() check

2012-07-12 Thread Oleg Nesterov
1. register_for_each_vma() checks that vma_address() == vaddr but this is not enough. We should also ensure that vaddr = vm_start, find_vma() guarantees vaddr vm_end only. 2. After the prevous changes, register_for_each_vma() is the only reason why vma_address() has to return loff_t,

Re: rcu_dyntick and suspicious RCU usage

2012-07-12 Thread Paul E. McKenney
On Fri, Jul 13, 2012 at 12:57:38AM +0800, Fengguang Wu wrote: On Thu, Jul 12, 2012 at 09:43:08AM -0700, Paul E. McKenney wrote: On Wed, Jul 11, 2012 at 12:49:24AM -0700, Paul E. McKenney wrote: On Tue, Jul 10, 2012 at 12:47:00PM +0800, Fengguang Wu wrote: Hi Paul, Fortunately

[PATCH 3/4] uprobes: rename vma_address() and make it return unsigned long

2012-07-12 Thread Oleg Nesterov
1. vma_address() returns loff_t, this looks confusing and this is unnecessary after the previous change. Make it return ulong, all callers truncate the result anyway. 2. Its name conflicts with mm/rmap.c:vma_address(), rename it to offset_to_vaddr(), this matches vaddr_to_offset().

[PATCH 4/4] uprobes: __replace_page() needs munlock_vma_page()

2012-07-12 Thread Oleg Nesterov
Like do_wp_page(), __replace_page() should do munlock_vma_page() for the case when the old page still has other !VM_LOCKED mappings. Unfortunately this needs mm/internal.h. Also, move put_page() outside of ptl lock. This doesn't really matter but looks a bit better. Signed-off-by: Oleg Nesterov

Re: [PATCH] regulator: Fix a typo in regulator_mode_to_status() core function.

2012-07-12 Thread Mark Brown
On Thu, Jul 12, 2012 at 11:50:38AM +0100, Krystian Garbaciak wrote: Case REGULATOR_STATUS_STANDBY - REGULATOR_MODE_STANDBY. Signed-off-by: Krystian Garbaciak krystian.garbac...@diasemi.com This doesn't apply against -next (or the topic/core branch). Please check what's going on there.

Re: [PATCH] regulator: Fix a typo in regulator_mode_to_status() core function.

2012-07-12 Thread Mark Brown
On Thu, Jul 12, 2012 at 11:50:38AM +0100, Krystian Garbaciak wrote: Case REGULATOR_STATUS_STANDBY - REGULATOR_MODE_STANDBY. Gah, actually this was due to git am applying your two patches in the wrong order - applied now, thanks. signature.asc Description: Digital signature

Re: [PATCH] regulator: Add REGULATOR_STATUS_UNDEFINED.

2012-07-12 Thread Mark Brown
On Thu, Jul 12, 2012 at 01:53:35PM +0100, Krystian Garbaciak wrote: REGULATOR_STATUS_UNDEFINED is to be returned by regulator, if any other state doesn't really apply. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] regulator: da9052: initialize of_node param for regulator register

2012-07-12 Thread Mark Brown
On Thu, Jul 12, 2012 at 10:23:25PM +0800, Axel Lin wrote: Initialize config.of_node for regulator before registering. This is needed for DT based regulator support. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/2] regulator: aat2870: Convert to regulator_list_voltage_table

2012-07-12 Thread Mark Brown
On Fri, Jul 06, 2012 at 07:14:32PM +0800, Axel Lin wrote: Signed-off-by: Axel Lin axel@gmail.com Applied both, thanks. signature.asc Description: Digital signature

[PATCH v2] resource: make sure requested range is included in the root range

2012-07-12 Thread Octavian Purdila
When the requested range is outside of the root range the logic in __reserve_region_with_split will cause an infinite recursion which will overflow the stack as seen in the warning bellow. This particular stack overflow was caused by requesting the (1-107ff) range while the root range

Re: [PATCH v2 1/3] regulator: tps65217: Add device tree support

2012-07-12 Thread Mark Brown
On Tue, Jul 10, 2012 at 04:39:42PM +0530, AnilKumar Ch wrote: This commit adds device tree support for tps65217 pmic. And usage details are added to device tree documentation. Driver is tested by using kernel module with regulator set and get APIs. Applied, thanks. signature.asc Description:

Re: [patch] Extcon: Arizona: unlock on an error in arizona_micdet()

2012-07-12 Thread Mark Brown
On Wed, Jul 11, 2012 at 09:36:02AM +0300, Dan Carpenter wrote: Smatch complains about this. I don't have a way to test this, but it does look like we should unlock on error here. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Acke-dby: Mark Brown broo...@opensource.wolfsonmicro.com

Re: [PATCH 4/4] copyleft-next: embrace the Signed-off-by practice

2012-07-12 Thread Luis R. Rodriguez
On Thu, Jul 12, 2012 at 8:27 AM, Ted Ts'o ty...@mit.edu wrote: On Wed, Jul 11, 2012 at 05:44:49PM -0700, Luis R. Rodriguez wrote: From: Luis R. Rodriguez mcg...@do-not-panic.com The idea is taken from Linus Torvald's subsurface project [0] README file. The Signed-off-by is widely used in

Re: [PATCH 33/36] AArch64: Generic timers support

2012-07-12 Thread Marc Zyngier
On Thu, 12 Jul 2012 09:57:33 -0700, John Stultz john.stu...@linaro.org wrote: On 07/12/2012 03:56 AM, Linus Walleij wrote: On Thu, Jul 12, 2012 at 12:09 PM, Marc Zyngier marc.zyng...@arm.com wrote: On Thu, 12 Jul 2012 02:18:42 +0200, Linus Walleij linus.ml.wall...@gmail.com wrote: Hi

Re: lots of APIC_TMICT exit on VM with assigned NIC

2012-07-12 Thread sheng qiu
thanks for your reply. the value is very large. is there anyway that i can avoid such frequent exits due to APIC_TMICT? do i need to modify some codes in kvm kernel module or adapt some parameters? Thanks, Sheng On Thu, Jul 12, 2012 at 3:50 AM, Avi Kivity a...@redhat.com wrote: On 07/12/2012

Re: [Xen-devel] [PATCH] xen pv-on-hvm: add pfn_is_ram helper for kdump

2012-07-12 Thread Konrad Rzeszutek Wilk
On Thu, Jul 12, 2012 at 07:20:39PM +0200, Olaf Hering wrote: Register pfn_is_ram helper speed up reading /proc/vmcore in the kdump kernel. See commit message of 997c136f518c (fs/proc/vmcore.c: add hook to read_from_oldmem() to check for non-ram pages) for details. It makes use of a new hvmop

Re: [PATCH v3 0/2] kvm: level irqfd and new eoifd

2012-07-12 Thread Alex Williamson
On Thu, 2012-07-12 at 10:19 -0600, Alex Williamson wrote: On Thu, 2012-07-12 at 12:35 +0300, Avi Kivity wrote: On 07/11/2012 10:57 PM, Alex Williamson wrote: We still have classic KVM device assignment to provide fast-path INTx. But if we want to replace it midterm, I think it's

Re: [PATCH 33/36] AArch64: Generic timers support

2012-07-12 Thread John Stultz
On 07/12/2012 10:31 AM, Marc Zyngier wrote: On Thu, 12 Jul 2012 09:57:33 -0700, John Stultz john.stu...@linaro.org wrote: So following ia64's method is probably better then copying the 8253's rate if you're not concerned about tick-granularity error. The 8253 is completely meaningless in our

Re: [PATCH RFT] watchdog: Convert orion_wdt driver to watchdog core

2012-07-12 Thread Wim Van Sebroeck
Hi Axel, 於 一,2012-06-18 於 16:01 +0200,Andrew Lunn 提到: On Fri, Jun 15, 2012 at 03:22:44PM +0800, Axel Lin wrote: Convert the orion_wdt driver to the watchdog framework API. Signed-off-by: Axel Lin axel@gmail.com Hi Axel Tested-by: Andrew Lunn and...@lunn.ch Hi Wim,

Re: 3.5-rcX : Big problem with root device returning

2012-07-12 Thread Michael Tokarev
On 12.07.2012 16:08, werner wrote: There is a big problem since 3.5-rc1 which potentially mess the installations rdev don't give longer back the root device like /dev/sda1 , but in the bios form like 0x80010300 Note rdev returns information which is written to kernel image, not

Re: [Xen-devel] [PATCH] xen pv-on-hvm: add pfn_is_ram helper for kdump

2012-07-12 Thread Olaf Hering
On Thu, Jul 12, Konrad Rzeszutek Wilk wrote: +++ b/include/xen/interface/hvm/hvm_op.h @@ -43,4 +43,24 @@ struct xen_hvm_pagetable_dying { typedef struct xen_hvm_pagetable_dying xen_hvm_pagetable_dying_t; DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_pagetable_dying_t); +typedef enum { +

Re: [Xen-devel] [PATCH WIP 3/6] xen/arm: get privilege status

2012-07-12 Thread Stefano Stabellini
On Mon, 9 Jul 2012, Konrad Rzeszutek Wilk wrote: On Fri, Jun 22, 2012 at 05:14:42PM +0100, Stefano Stabellini wrote: Use Xen features to figure out if we are privileged. Is there a corresponding Xen c/s for the XNEFEAT_dom0? Yes, that would be 23735

[PATCH] device: add dma_params-max_segment_count

2012-07-12 Thread Rob Clark
From: Rob Clark r...@ti.com For devices which have constraints about maximum number of segments in an sglist. For example, a device which could only deal with contiguous buffers would set max_segment_count to 1. The initial motivation is for devices sharing buffers via dma-buf, to allow the

Re: [PATCH 2/2] gpio/omap: add *remove* callback in platform_driver

2012-07-12 Thread Kevin Hilman
Hi Linus, Linus Walleij linus.wall...@linaro.org writes: On Thu, Jul 12, 2012 at 1:25 AM, Kevin Hilman khil...@ti.com wrote: There is quite a bit of other things to do in remove to properly cleanup what is done in probe. OK I'm dropping this patch for now... Thanks. For future

[PATCH v2 0/6] copyleft-next: project name / remove anti-tivoization clause

2012-07-12 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@do-not-panic.com My last series of patches require a rebase based on the latest changes, so patches 1-4 are a simple rebase. Patch 5 and 6 address removing the anti-tivoization clause, section 7. This will at the very least clarify whether or not copyleft-next can

[PATCH v2 1/6] copyleft-next: remove issue tracker references

2012-07-12 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@do-not-panic.com This uses github, lets not confuse the focus for development for now. --- CONTRIBUTING | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/CONTRIBUTING b/CONTRIBUTING index 1db3cd2..d06f5da 100644 --- a/CONTRIBUTING

[PATCH v2 4/6] copyleft-next: embrace the Signed-off-by practice

2012-07-12 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@do-not-panic.com The idea is taken from Linus Torvald's subsurface project [0] README file. The Signed-off-by is widely used in public projects and we stand to gain to make its usage more prevalent. The meaning of the Signed-off-by is borrowed from the Linux

[PATCH v2 6/6] copyleft-next: re-enumerate sections

2012-07-12 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@do-not-panic.com After the removal of the Tivoization clauses the sections numbers required an update, this updates those section numbers and its references. Signed-off-by: Luis R. Rodriguez mcg...@do-not-panic.com --- copyleft-next | 28

[PATCH v2 5/6] copyleft-next: remove section 7 - anti-tivoization

2012-07-12 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@do-not-panic.com The anti-tivoization clauses must go if we want this license to be ever considered for usage with the Linux kernel. This patch removes that entire section. The re-enumerating of the sections is done separately to make it easier for review.

[PATCH v2 3/6] copyleft-next: rename the file COPYLEFT.next to copyleft-next

2012-07-12 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@do-not-panic.com Also update the CONTRIBUTING to reflect the new file name change. --- CONTRIBUTING |2 +- COPYLEFT.next = copyleft-next |0 2 files changed, 1 insertion(+), 1 deletion(-) rename COPYLEFT.next = copyleft-next (100%) diff

[PATCH v2 2/6] copyleft-next: more project name updates Copyleft.next-copyleft-next

2012-07-12 Thread Luis R. Rodriguez
From: Luis R. Rodriguez mcg...@do-not-panic.com This reflects the present gitorious.org name and reflects better with other foo-next git trees out there. --- ABOUT | 10 +- COPYLEFT.next |6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ABOUT b/ABOUT

Re: [PATCH 1/5] aio: Export symbols and struct kiocb_batch for in kernel aio usage

2012-07-12 Thread James Bottomley
On Thu, 2012-07-12 at 23:35 +0800, Asias He wrote: This is useful for people who want to use aio in kernel, e.g. vhost-blk. Signed-off-by: Asias He as...@redhat.com --- fs/aio.c| 37 ++--- include/linux/aio.h | 21 + 2

Re: [Xen-devel] [PATCH WIP 2/6] xen/arm: Introduce xen_guest_init

2012-07-12 Thread Stefano Stabellini
On Thu, 12 Jul 2012, David Vrabel wrote: On 12/07/12 12:49, Roger Pau Monne wrote: David Vrabel wrote: On 09/07/12 15:45, Konrad Rzeszutek Wilk wrote: On Fri, Jun 22, 2012 at 05:14:41PM +0100, Stefano Stabellini wrote: We used to rely on a core_initcall to initialize Xen on ARM, however

<    8   9   10   11   12   13   14   15   16   17   >