[PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource()

2013-03-04 Thread Sachin Kamat
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages; so all explicit error messages can be removed from the failure code paths. Signed-off-by: Sachin Kamat

Re: [printk A-A deadlock] possible reason: unannotated irqs-on

2013-03-04 Thread Fengguang Wu
On Mon, Mar 04, 2013 at 10:14:58AM +0100, Jan Kara wrote: On Mon 04-03-13 13:42:54, Wu Fengguang wrote: Greetings, I got the below oops and the first bad commit is Thanks for report! BTW, I didn't see any oops in the log, just complaints from lockdep about a bug in irq handling (which

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

2013-03-04 Thread Jan Kara
On Mon 04-03-13 14:28:21, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (arm defconfig) failed like this: kernel/built-in.o: In function `console_unlock': cpu_pm.c:(.text+0x4418): undefined reference to `__bad_udelay' Caused by commit

Re: [PATCH v13 1/8] save/load cpu runstate

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: This patch enables preservation of cpu runstate during save/load vm. So when a vm is restored from snapshot, the cpu runstate is restored, too. I don't think this feature is worth breaking backwards migration compatibility. It is usually handled at a

Re: [PATCH v13 2/8] start vm after resetting it

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: From: Wen Congyang we...@cn.fujitsu.com The guest should run after resetting it, but it does not run if its old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED. We don't set runstate to RUN_STATE_PAUSED when resetting the guest, so the

Re: [PATCH RFT] pinctrl: single: Fix build error

2013-03-04 Thread Haojian Zhuang
= pcs_pinconf_group_dbg_show, .pin_config_config_dbg_show = pcs_pinconf_config_dbg_show, + .is_generic = true, There's two cases for is_generic. Your fix only make thing worse. AFAICT, in current code ( linux-next 20130304, before applying this patch): if match-data is false, pcs-is_pinconf is also

Re: [PATCH] tty/serial: Fix uninitialized variable warning

2013-03-04 Thread Jiri Slaby
On 03/04/2013 03:36 AM, Peter Hurley wrote: On Mon, 2013-03-04 at 09:35 +0800, Grant Likely wrote: drivers/tty/serial/8250/8250.c: In function 'serial_unlink_irq_chain': drivers/tty/serial/8250/8250.c:1676:19: warning: 'i' may be used uninitialized in this function There isn't an actual bug

Re: [PATCH v13 4/8] add a new runstate: RUN_STATE_GUEST_PANICKED

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: The guest will be in this state when it is panicked. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- migration.c | 1 + qapi-schema.json | 6 +- qmp.c| 3 ++- vl.c

Re: [PATCH v13 5/8] add a new qevent: QEVENT_GUEST_PANICKED

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: This event will be emited when the guest is panicked. Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- include/monitor/monitor.h | 1 + monitor.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/monitor/monitor.h

Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-04 Thread Ley Foon Tan
On Mon, 2013-03-04 at 11:44 +0800, Greg Kroah-Hartman wrote: On Mon, Mar 04, 2013 at 03:32:19AM +, Arnd Bergmann wrote: On Monday 04 March 2013, Ley Foon Tan wrote: This patch is to add Altera System ID driver. User can obtain the system ID and timestamp of the system by reading

Re: [PATCH v13 6/8] introduce a new qom device to deal with panicked event

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new qom device kvm_pv_ioport to listen this I/O port, and deal with panicked event according to panicked_action's

[GIT pull] core urgent updates for 3.9-rc1

2013-03-04 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus * Single bugfix for a regression introduced with the conversion of the stop machine threads to the generic smpboot thread management

Re: [PATCH v3] gpio: Add device driver for GRGPIO cores and support custom accessors with gpio-generic

2013-03-04 Thread Andreas Larsson
On 2013-03-01 01:24, Linus Walleij wrote: On Tue, Feb 12, 2013 at 8:24 AM, Andreas Larsson andr...@gaisler.com wrote: This driver supports GRGPIO gpio cores available in the GRLIB VHDL IP core library from Aeroflex Gaisler. This also adds support to gpio-generic for using custom accessor

[GIT pull] irq urgent updates for 3.9-rc1

2013-03-04 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus * e5ab012: nohz: Make tick_nohz_irq_exit() irq safe is the first commit in the series and the minimal necessary bugfix, which needs to go back

Latest randconfig build errors

2013-03-04 Thread Russell King - ARM Linux
Last nights automated ARM build found the following errors with randconfig. All information as usual at http://www.arm.linux.org.uk/developer/build/ Versatile randconfig: ERROR: irq_domain_add_simple [drivers/gpio/gpio-em.ko] undefined! OMAP4430 randconfig:

Re: [PATCH v13 7/8] allower the user to disable pv event support

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- hw/pc_piix.c| 9 - qemu-options.hx | 3 ++- vl.c| 4 3 files changed, 14 insertions(+), 2 deletions(-) We cannot add

[PATCH] scripts/mod: add device table offsets file to list of files to clean

2013-03-04 Thread Fernando Luis Vázquez Cao
From: Fernando Luis Vázquez Cao ferna...@oss.ntt.co.jp This file is generated so it does not get cleaned automagically. In other words we need to added to the clean-files list. Signed-off-by: Fernando Luis Vázquez Cao ferna...@oss.ntt.co.jp --- diff -urNp linux-3.9-rc1-orig/scripts/mod/Makefile

Re: [PATCH] i2c: busses: i2c-ocores: Fix PM-related warning

2013-03-04 Thread Peter Korsgaard
Maxin == Maxin B John maxin.j...@gmail.com writes: Maxin On Tue, Feb 26, 2013 at 10:53 PM, maxin.j...@gmail.com wrote: From: Maxin B. John maxin.j...@enea.com Fixes this warning: CC drivers/i2c/busses/i2c-ocores.o drivers/i2c/busses/i2c-ocores.c:460:12: warning:

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Paolo Bonzini
Il 03/03/2013 10:17, Gleb Natapov ha scritto: On Thu, Feb 28, 2013 at 08:13:10PM +0800, Hu Tao wrote: This series implements a new interface, kvm pv event, to notify host when some events happen in guest. Right now there is one supported event: guest panic. What other event do you have in

Re: [PATCH 00/40] Power: AB8500: Internal development push

2013-03-04 Thread Samuel Ortiz
Hi Anton, On Sat, Mar 02, 2013 at 03:33:35PM -0800, Anton Vorontsov wrote: Hello Lee, On Fri, Feb 15, 2013 at 12:44:30PM +, Lee Jones wrote: This is the 3rd and final instalment of the push to synchronise the ABx500 Battery Management series of internal development patches due for

Re: [PATCH] check for allocation failure in ioat_dma_self_test

2013-03-04 Thread Russell King - ARM Linux
On Mon, Mar 04, 2013 at 04:39:16PM +0800, Andrew Cooks wrote: diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c index 1879a59..1f706c4 100644 --- a/drivers/dma/ioat/dma.c +++ b/drivers/dma/ioat/dma.c @@ -832,7 +832,18 @@ int ioat_dma_self_test(struct ioatdma_device *device)

[PATCH] printk/tracing: rework console tracing

2013-03-04 Thread zhangwei(Jovi)
From 0a2bd3ad03fc9acd125f4eeb585a1e09027a182a Mon Sep 17 00:00:00 2001 From: zhangwei(Jovi) jovi.zhang...@huawei.com Date: Mon, 4 Mar 2013 17:45:10 +0800 Subject: [PATCH] printk/tracing: rework console tracing commit 7ff9554bb(printk: convert byte-buffer to variable-length record buffer) removed

[3.5.y.z extended stable] Linux 3.5.7.7

2013-03-04 Thread Luis Henriques
I am announcing the release of the 3.5.7.7 tree of stable patches. This tree picks up the latest 3.5 stable release upstream, and add patches on top that were later marked for stable but can't be added to 3.5, as it is not anymore an stable series maintained upstream. The tree is maintained by

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

2013-03-04 Thread James Hogan
On 04/03/13 02:03, Stephen Rothwell wrote: Hi Al, Today's linux-next merge of the signal tree got a conflict in include/asm-generic/unistd.h between commit 4dd3c95940b8 (asm-generic/unistd.h: handle symbol prefixes in cond_syscall) from Linus' tree and commit 24a2641326f1 (consolidate

Re: [PATCH v2] gpio: palmas: add in GPIO support for palmas charger

2013-03-04 Thread Ian Lartey
On 02/03/13 19:35, Grant Likely wrote: On Sat, 2 Mar 2013 13:09:47 +0530, Laxman Dewangan ldewan...@nvidia.com wrote: On Friday 01 March 2013 10:36 PM, Ian Lartey wrote: Palmas charger has 16 GPIOs add palmas_gpio_[read|write|update] api to take account second bank of GPIOs Signed-off-by: Ian

Re: [PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource()

2013-03-04 Thread Thierry Reding
On Mon, Mar 04, 2013 at 02:39:39PM +0530, Sachin Kamat wrote: Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages; so all explicit error messages can be

Re: sendfile and EAGAIN

2013-03-04 Thread Eric Wong
Ulrich Drepper drep...@gmail.com wrote: On Mon, Feb 25, 2013 at 2:22 PM, Eric Dumazet eric.duma...@gmail.com wrote: I don't understand the issue. sendfile() returns -EAGAIN only if no bytes were copied to the socket. There is something wrong/unexpected/... I have a program which can

[GIT PULL] SLAB changes for v3.9-rc1

2013-03-04 Thread Pekka Enberg
Hi Linus, I managed to miss the merge window. Sorry about that! Please consider pull the latest SLAB tree from: git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git slab/for-linus It contains more of Christoph's SLAB unification work that reduce the differences between different

Re: [PATCH v2] hlist: drop the node parameter from iterators

2013-03-04 Thread Paul Bolle
On Wed, 2013-01-30 at 21:00 -0500, Sasha Levin wrote: I'm not sure why, but the hlist for each entry iterators were conceived differently from the list ones. While the list ones are nice and elegant: list_for_each_entry(pos, head, member) The hlist ones were greedy and wanted an

Re: [PATCH v2] gpio: palmas: add in GPIO support for palmas charger

2013-03-04 Thread Samuel Ortiz
Hi Ian, On Mon, Mar 04, 2013 at 10:20:58AM +, Ian Lartey wrote: On 02/03/13 19:35, Grant Likely wrote: On Sat, 2 Mar 2013 13:09:47 +0530, Laxman Dewangan ldewan...@nvidia.com wrote: On Friday 01 March 2013 10:36 PM, Ian Lartey wrote: Palmas charger has 16 GPIOs add

Re: [PATCH v3 3/3] leds: leds-pwm: Defer led_pwm_set() if PWM can sleep

2013-03-04 Thread Florian Vaussard
Hi Bryan, Richard, On 01/30/2013 09:17 AM, Thierry Reding wrote: On Mon, Jan 28, 2013 at 03:00:59PM +0100, Florian Vaussard wrote: Call to led_pwm_set() can happen inside atomic context, like triggers. If the PWM call can sleep, defer using a worker. Cc: Peter Ujfalusi peter.ujfal...@ti.com

Re: [PATCH] mfd: palmas: is_palmas_charger needed by multiple drivers

2013-03-04 Thread Samuel Ortiz
Hi Ian, On Tue, Feb 26, 2013 at 02:47:28PM +, Ian Lartey wrote: is_palmas_charger checks for the presence of charging functionality in the device Signed-off-by: Graeme Gregory g...@slimlogic.co.uk Signed-off-by: Ian Lartey i...@slimlogic.co.uk Acked-by: Laxman

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Gleb Natapov
On Mon, Mar 04, 2013 at 11:28:05AM +0100, Paolo Bonzini wrote: Il 04/03/2013 11:21, Gleb Natapov ha scritto: Just to clarify it for Hu Tao, the read from a random ioport is how the ACPI code will detect presence of the device. Actually no (at least in the long run, for the first

[PATCH] hugetlb: fix sparse warning for hugetlb_register_node

2013-03-04 Thread Claudiu Ghioc
Removed the following sparse warnings: * mm/hugetlb.c:1764:6: warning: symbol 'hugetlb_unregister_node' was not declared. Should it be static? * mm/hugetlb.c:1808:6: warning: symbol 'hugetlb_register_node' was not declared. Should it be static? Signed-off-by: Claudiu Ghioc

e1000e: nic does not work properly after cold power on

2013-03-04 Thread Mihai Donțu
Hi, I apologize in advance for posting on two lists at once and for not even being subscribed to e1000-devel. Ever since upgrading to 3.8.x, I'm unable to use my wired connection (e1000e - Intel Corporation 82579LM Gigabit) immediately after power on. I have to boot into an older kernel (3.2.0 I

[PATCH 2/2] selftest: add a test case for PTRACE_PEEKSIGINFO

2013-03-04 Thread Andrey Vagin
* Dump signals from process-wide and per-thread queues with different sizes of buffers. * Check error paths for buffers with restricted permissions. A part of buffer or a whole buffer is for read-only. * Try to get nonexistent signal. Cc: Roland McGrath rol...@redhat.com Cc: Oleg Nesterov

Re: Inactive memory keep growing and how to release it?

2013-03-04 Thread Zlatko Calusic
On 04.03.2013 10:52, Lenky Gao wrote: Hi, When i just run a test on Centos 6.2 as follows: #!/bin/bash while true do file=/tmp/filetest echo $file dd if=/dev/zero of=${file} bs=512 count=204800 /dev/null sleep 5 done the inactive memory keep growing:

Re: [RFC PATCH v3 4/6] uretprobes: return probe entry, prepare uretprobe

2013-03-04 Thread Anton Arapov
On Sun, Mar 03, 2013 at 05:40:29PM +0100, Oleg Nesterov wrote: On 02/28, Anton Arapov wrote: @@ -69,6 +69,10 @@ struct uprobe_task { enum uprobe_task_state state; struct arch_uprobe_task autask; + /* +* list for tracking uprobes with return consumers

[PATCH 1/2] ptrace: add ability to retrieve signals without removing from a queue (v4)

2013-03-04 Thread Andrey Vagin
This patch adds a new ptrace request PTRACE_PEEKSIGINFO. This request is used to retrieve information about pending signals starting with the specified sequence number. Siginfo_t structures are copied from the child into the buffer starting at data. The argument addr is a pointer to struct

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Paolo Bonzini
Il 04/03/2013 11:43, Gleb Natapov ha scritto: Anyhow, this does not apply to the next submission of this series. I think we can agree to the compromise of using ACPI but still read the port in _STA. If you want to make ioport configurable I do not see how can we avoid patching. I want

Re: [PATCH v3 3/3] leds: leds-pwm: Defer led_pwm_set() if PWM can sleep

2013-03-04 Thread Thierry Reding
On Mon, Mar 04, 2013 at 11:44:22AM +0100, Florian Vaussard wrote: Hi Bryan, Richard, On 01/30/2013 09:17 AM, Thierry Reding wrote: On Mon, Jan 28, 2013 at 03:00:59PM +0100, Florian Vaussard wrote: Call to led_pwm_set() can happen inside atomic context, like triggers. If the PWM call can

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Gleb Natapov
On Mon, Mar 04, 2013 at 11:49:07AM +0100, Paolo Bonzini wrote: Il 04/03/2013 11:43, Gleb Natapov ha scritto: Anyhow, this does not apply to the next submission of this series. I think we can agree to the compromise of using ACPI but still read the port in _STA. If you want to make

Re: [ 73/77] [hid] usb hid quirks for Masterkit MA901 usb radio

2013-03-04 Thread Alexey Klimov
Hi Greg, On Fri, Mar 1, 2013 at 11:44 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: 3.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Klimov klimov.li...@gmail.com commit 0322bd3980b3ebf7dde8474e22614cb443d6479a upstream.

hpet ioctl() divide error: 0000

2013-03-04 Thread Tommi Rantala
Hello, I'm seeing this bug while fuzzing 3.9.0-rc1 with trinity (in a qemu virtual machine as the root user). [ 95.509983] divide error: [#1] SMP [ 95.510072] CPU 0 [ 95.510072] Pid: 2421, comm: trinity-child8 Not tainted 3.9.0-rc1+ #95 Bochs Bochs [ 95.510072] RIP:

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Paolo Bonzini
Il 04/03/2013 11:59, Gleb Natapov ha scritto: I want to make the ioport configurable in the device, but the PIIX and ICH9 (which are what the DSDT is written for) will always use port 0x505. But the device is not part of PIIX or ICH9. So is kvmclock, or kvmvapic. I think it makes sense to

Re: [PATCH v3 1/2] memblock: add assertion for zero allocation alignment

2013-03-04 Thread Vineet Gupta
Hi Andrew, On Friday 22 February 2013 02:23 AM, Tejun Heo wrote: On Thu, Feb 21, 2013 at 12:52 PM, Vineet Gupta vineet.gup...@synopsys.com wrote: This came to light when calling memblock allocator from arc port (for copying flattended DT). If a 0 alignment is passed, the allocator round_up()

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Gleb Natapov
On Mon, Mar 04, 2013 at 11:05:37AM +0100, Paolo Bonzini wrote: Guest uses acpi_get_devices() to discover a platform device by its name (QEMU0001). Then you put the driver for the platform device into drivers/platform/x86/ and QEMU/kvm/Xen all will be able to use it. Just to clarify it

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Gleb Natapov
On Mon, Mar 04, 2013 at 12:10:58PM +0100, Paolo Bonzini wrote: Il 04/03/2013 11:59, Gleb Natapov ha scritto: I want to make the ioport configurable in the device, but the PIIX and ICH9 (which are what the DSDT is written for) will always use port 0x505. But the device is not part of

Re: [PATCH][v2] xhci: correctly enable interrupts

2013-03-04 Thread David Härdeman
On Mon, Mar 04, 2013 at 09:22:04AM +0100, Hannes Reinecke wrote: xhci has its own interrupt enabling routine, which will try to use MSI-X/MSI if present. So the usb core shouldn't try to enable legacy interrupts; on some machines the xhci legacy IRQ setting is invalid. Cc: Bjorn Helgaas

[PATCH] epoll: trim epitem by one cache line on x86_64

2013-03-04 Thread Eric Wong
It is common for epoll users to have thousands of epitems, so saving a cache line on every allocation leads to large memory savings. Since epitem allocations are cache-aligned, reducing sizeof(struct epitem) from 136 bytes to 128 bytes will allow it to squeeze under a cache line boundary on

RE: [PATCH 6/6 v8] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2013-03-04 Thread Sethi Varun-B16395
-Original Message- From: Stuart Yoder [mailto:b08...@gmail.com] Sent: Saturday, March 02, 2013 4:58 AM To: Sethi Varun-B16395 Cc: io...@lists.linux-foundation.org; linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org; Wood Scott-B07421; Joerg Roedel; Yoder Stuart-B08248

RE: [PATCH] Quirk to support Marvell 88SE91xx SATA controllers with Intel IOMMU.

2013-03-04 Thread Justin Piszcz
://home.comcast.net/~jpiszcz/20130304/dmesg-success-patch.txt Thanks! Justin. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Paolo Bonzini
Il 04/03/2013 12:20, Gleb Natapov ha scritto: On Mon, Mar 04, 2013 at 12:10:58PM +0100, Paolo Bonzini wrote: It is additional device that may or may not be present depending on a command line. So what if someone configures debugcon or debugexit to use this port? I haven't checked if

v3.8 regression: Huawei mode switching fails (was Re: [PATCH 2/2]linux-usb:optimize to match the Huawei USB storage devices and support new switch command)

2013-03-04 Thread Bjørn Mork
Hello Franko, This patch causes a number of regressions for both the Huawei devices I have available for testing. One of them is completely unusable in v3.8 (unable to switch to modem mode) unless the usb-storage driver is disabled. I realize that some devices are historically handled by the

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

2013-03-04 Thread Rafael J. Wysocki
On Monday, March 04, 2013 10:58:41 AM Stephen Rothwell wrote: Hi Rafael, After merging the pm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/base/power/qos.c: In function '__dev_pm_qos_flags': drivers/base/power/qos.c:64:2: error: implicit declaration

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Gleb Natapov
On Mon, Mar 04, 2013 at 12:35:08PM +0100, Paolo Bonzini wrote: Il 04/03/2013 12:20, Gleb Natapov ha scritto: On Mon, Mar 04, 2013 at 12:10:58PM +0100, Paolo Bonzini wrote: It is additional device that may or may not be present depending on a command line. So what if someone configures

Re: [PATCH] dma: timb_dma: Fix compiler warning

2013-03-04 Thread Maxin B. John
On Tue, Feb 19, 2013 at 9:33 PM, maxin.j...@gmail.com wrote: From: Maxin B. John maxin.j...@enea.com Fix this compiler warning: warning: 'td_remove' defined but not used [-Wunused-function] Signed-off-by: Maxin B. John maxin.j...@enea.com --- drivers/dma/timb_dma.c |2 +- 1 files

Upstart 1.7 released

2013-03-04 Thread James Hunt
Summary of changes: * New initctl commands: set-env, unset-env, get-env, list-env, reset-env, list-sessions (all except last with corresponding D-Bus methods). * New D-Bus-only signals EventEmitted, Restarted, and EndSession method. * Ability to run with PID 1 to allow Upstart to manage a

Re: Inactive memory keep growing and how to release it?

2013-03-04 Thread Lenky Gao
2013/3/4 Zlatko Calusic zlatko.calu...@iskon.hr: The drop_caches mechanism doesn't free dirty page cache pages. And your bash script is creating a lot of dirty pages. Run it like this and see if it helps your case: sync; echo 3 /proc/sys/vm/drop_caches Thanks for your advice. The inactive

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Paolo Bonzini
Il 04/03/2013 12:52, Gleb Natapov ha scritto: Same here, you can remove the panic event port and add debugcon at 0x505. That's the problematic case. But if the user goes to that length, I think we can honestly say we don't care. IMO there is a big difference between well know serial ISA

Re: regression in linux 3.7 - fan speed at 100% after suspend/resume at 100%

2013-03-04 Thread Roberto Oppedisano
Il 03/03/2013 01:22, Ville Syrjala ha scritto: Roberto Oppedisano roberto.oppedisano at gmail.com writes: Hello, with recent kernels after a suspend/resume cycle on my laptop (HP 6730b) the fans stays at full speed. I too have been hit by this regression w/ a HP Compaq NC6000 laptop.

Re: [PATCH v7 7/7] Documentation: update nfs option in filesystem/vfat.txt

2013-03-04 Thread Rob Landley
On 03/01/2013 09:45:25 PM, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com Add descriptions about 'stale_rw' and 'nostale_ro' nfs options in filesystem/vfat.txt Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ravishankar N ravi...@samsung.com Signed-off-by: Amit

[PATCH] netfilter: nfnetlink: silence warning if CONFIG_PROVE_RCU isn't set

2013-03-04 Thread Paul Bolle
Since commit c14b78e7decd0d1d5add6a4604feb8609fe920a9 (netfilter: nfnetlink: add mutex per subsystem) building nefnetlink.o without CONFIG_PROVE_RCU set, triggers this GCC warning: net/netfilter/nfnetlink.c:65:22: warning: ‘nfnl_get_lock’ defined but not used [-Wunused-function] The cause of

Re: For review: pid_namespaces(7) man page

2013-03-04 Thread Michael Kerrisk (man-pages)
On Fri, Mar 1, 2013 at 4:35 PM, Eric W. Biederman ebied...@xmission.com wrote: Michael Kerrisk (man-pages) mtk.manpa...@gmail.com writes: Hi Rob, On Fri, Mar 1, 2013 at 5:01 AM, Rob Landley r...@landley.net wrote: On 02/28/2013 05:24:07 AM, Michael Kerrisk (man-pages) wrote: [...]

Re: For review: pid_namespaces(7) man page

2013-03-04 Thread Michael Kerrisk (man-pages)
On Mon, Mar 4, 2013 at 5:03 AM, Eric W. Biederman ebied...@xmission.com wrote: Rob Landley r...@landley.net writes: On 03/01/2013 03:57:40 AM, Michael Kerrisk (man-pages) wrote: And yet the glibc guys insist on #define GNU_GNU_GNU_ALL_HAIL_STALLMAN in order to access this Linux-specific

Re: For review: pid_namespaces(7) man page

2013-03-04 Thread Michael Kerrisk (man-pages)
On Mon, Mar 4, 2013 at 4:50 AM, Rob Landley r...@landley.net wrote: On 03/01/2013 03:57:40 AM, Michael Kerrisk (man-pages) wrote: And yet the glibc guys insist on #define GNU_GNU_GNU_ALL_HAIL_STALLMAN in order to access this Linux-specific feature which has nothing whatsoever to do

Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-04 Thread Arnd Bergmann
On Monday 04 March 2013, Ley Foon Tan wrote: This IP core is not in the SoC. This core is in the FPGA and can be accessed by the Nios II processor or accessed by SOCFPGA processor (ARM based) via its interface to FPGA. Due to this, I think it shouldn't use infrastructure in drivers/base/soc.c.

[PATCH v2] i2c: busses: i2c-ocores: Fix PM-related warning

2013-03-04 Thread maxin.john
From: Maxin B. John maxin.j...@enea.com The suspend/resume callbacks are unused w/o PM_SLEEP Fixes this warning: CC drivers/i2c/busses/i2c-ocores.o drivers/i2c/busses/i2c-ocores.c:460:12: warning: 'ocores_i2c_suspend' defined but not used [-Wunused-function]

[PATCH RFC] MIPS: Build uasm-generated code only once to avoid CPU Hotplug problem

2013-03-04 Thread Huacai Chen
Currently, clear_page()/copy_page() are generated by Micro-assembler dynamically. But they are unavailable until uasm_resolve_relocs() has finished because jump labels are illegal before that. Since these functions are shared by every CPU, we only call build_clear_page()/ build_copy_page() on

RE: [PATCH 03/14] MAINTAINERS: remove arch/arm/plat-s3c24xx/

2013-03-04 Thread Kukjin Kim
Cesar Eduardo Barros wrote: This directory was removed by commit 09ec1d7 (ARM: S3C24XX: Remove plat-s3c24xx directory in arch/arm/). Cc: Kukjin Kim kgene@samsung.com Acked-by: Kukjin Kim kgene@samsung.com Thanks. - Kukjin Cc: Ben Dooks ben-li...@fluff.org Cc: Russell King

[PATCH -v3 00/23] rename random32 to prandom

2013-03-04 Thread Akinobu Mita
Commit 496f2f93b1cc286f5a4f4f9acdc1e5314978683f (random32: rename random32 to prandom) renamed random32() and srandom32() to prandom_u32() and prandom_seed() respectively. Due to the volume of existing random32() callers, they were preserved as backword compatibility wrapper macros. This patch

[PATCH -v3 03/23] x86: pageattr-test: remove srandom32 call

2013-03-04 Thread Akinobu Mita
pageattr-test calls srandom32() once every test iteration. But calling srandom32() after late_initcalls is not meaningfull. Because the random states for random32() is mixed by good random numbers in late_initcall prandom_reseed(). So this removes the call to srandom32(). Signed-off-by: Akinobu

[PATCH -v3 16/23] drivers/net: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Acked-by: Thomas Sailer t.sai...@alumni.ethz.ch Acked-by: Bing Zhao bz...@marvell.com [mwifiex] Cc: David S. Miller da...@davemloft.net Cc: Michael Chan

[PATCH -v3 19/23] net/netfilter: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Pablo Neira Ayuso pa...@netfilter.org Cc: Patrick McHardy ka...@trash.net Cc: netfilter-de...@vger.kernel.org Cc: netfil...@vger.kernel.org Cc:

[PATCH -v3 21/23] net/core: remove duplicate statements by do-while loop

2013-03-04 Thread Akinobu Mita
Remove duplicate statements by using do-while loop instead of while loop. - A; - while (e) { + do { A; - } + } while (e); Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: David S. Miller da...@davemloft.net Cc: net...@vger.kernel.org --- No change from v2 net/core/pktgen.c | 15

[PATCH -v3 22/23] net: rename random32 to prandom

2013-03-04 Thread Akinobu Mita
Commit 496f2f93b1cc286f5a4f4f9acdc1e5314978683f (random32: rename random32 to prandom) renamed random32() and srandom32() to prandom_u32() and prandom_seed() respectively. net_random() and net_srandom() need to be redefined with prandom_* in order to finish the naming transition. While I'm at

[PATCH -v3 23/23] remove unused random32() and srandom32()

2013-03-04 Thread Akinobu Mita
After finishing a naming transition, remove unused backward compatibility wrapper macros Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Theodore Ts'o ty...@mit.edu --- No change from v2 include/linux/random.h | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH -v3 09/23] infiniband: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Reviewed-by: Steve Wise sw...@opengridcomputing.com Cc: Roland Dreier rol...@kernel.org Cc: Sean Hefty sean.he...@intel.com Cc: Hal Rosenstock

[PATCH -v3 11/23] video/uvesafb: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Michal Januszewski sp...@gentoo.org Cc: Florian Tobias Schandinat florianschandi...@gmx.de Cc: linux-fb...@vger.kernel.org --- No change from v2

[PATCH -v3 13/23] uwb: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: linux-...@vger.kernel.org --- No change from v2 drivers/uwb/rsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH -v3 14/23] lguest: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Rusty Russell ru...@rustcorp.com.au Cc: lgu...@lists.ozlabs.org --- No change from v2 drivers/lguest/page_tables.c | 2 +- 1 file changed, 1

[PATCH -v3 15/23] scsi: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: James E.J. Bottomley jbottom...@parallels.com Cc: Robert Love robert.w.l...@intel.com Cc: de...@open-fcoe.org Cc: James Smart james.sm...@emulex.com Cc:

[PATCH -v3 18/23] net/sched: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Stephen Hemminger shemmin...@vyatta.com Cc: Jamal Hadi Salim j...@mojatatu.com Cc: David S. Miller da...@davemloft.net Cc:

[PATCH -v3 20/23] net/core: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: David S. Miller da...@davemloft.net Cc: net...@vger.kernel.org --- No change from v2 net/core/pktgen.c | 29 +++-- 1 file

[PATCH -v3 17/23] net/sunrpc: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: J. Bruce Fields bfie...@fieldses.org Cc: Trond Myklebust trond.mykleb...@netapp.com Cc: David S. Miller da...@davemloft.net Cc: net...@vger.kernel.org Cc:

[PATCH -v3 12/23] xfs: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Acked-by: b...@sgi.com Cc: Ben Myers b...@sgi.com Cc: Alex Elder el...@kernel.org Cc: x...@oss.sgi.com --- * Change from v2 - add Acked-by: line

[PATCH -v3 10/23] mmc: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Chris Ball c...@laptop.org Cc: linux-...@vger.kernel.org --- No change from v2 drivers/mmc/core/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH -v3 08/23] drbd: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: drbd-...@lists.linbit.com Cc: Jens Axboe ax...@kernel.dk --- No change from v2 drivers/block/drbd/drbd_receiver.c | 5 +++-- 1 file changed, 3

[PATCH -v3 01/23] raid6test: use prandom_bytes()

2013-03-04 Thread Akinobu Mita
Use prandom_bytes() to generate random bytes for test data. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Dan Williams d...@fb.com Cc: Vinod Koul vinod.k...@intel.com --- No change from v2 crypto/async_tx/raid6test.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff

[PATCH -v3 05/23] lib/: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com --- No change from v2 lib/fault-inject.c | 2 +- lib/list_sort.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH -v3 06/23] mm/: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: linux...@kvack.org --- No change from v2 mm/swapfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/swapfile.c

[PATCH -v3 07/23] kernel/: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com --- No change from v2 kernel/rcutree.c | 2 +- kernel/test_kprobes.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH -v3 04/23] x86: rename random32() to prandom_u32()

2013-03-04 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Acked-by: H. Peter Anvin h...@zytor.com Cc: Thomas Gleixner t...@linutronix.de Cc: Ingo Molnar mi...@redhat.com Cc: H. Peter Anvin h...@zytor.com Cc:

[PATCH -v3 02/23] uuid: use prandom_bytes()

2013-03-04 Thread Akinobu Mita
Use prandom_bytes() to generate 16 bytes of pseudo-random bytes. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Cc: Theodore Ts'o ty...@mit.edu Cc: Huang Ying ying.hu...@intel.com --- No change from v2 lib/uuid.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

Re: [Update 4][PATCH 2/7] ACPI / scan: Introduce common code for ACPI-based device hotplug

2013-03-04 Thread Vasilis Liaskovitis
Hi, On Tue, Feb 26, 2013 at 12:39:50AM +0100, Rafael J. Wysocki wrote: On Monday, February 25, 2013 11:07:52 AM Toshi Kani wrote: On Sat, 2013-02-23 at 22:38 +, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Multiple drivers handling hotplug-capable

[PATCH] USB: storage: fix Huawei mode switching regression

2013-03-04 Thread Bjørn Mork
This reverts commit 200e0d99 (USB: storage: optimize to match the Huawei USB storage devices and support new switch command and the followup bugfix commit cd060956 (USB: storage: properly handle the endian issues of idProduct). The commit effectively added a large number of Huawei devices to the

Re: [PATCH] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-03-04 Thread Don Dutile
On 03/02/2013 10:59 AM, Andreas Mohr wrote: Hi, if ((revision == 0x13) irq_remapping_enabled) { + pr_warn(WARNING WARNING WARNING WARNING WARNING WARNING\n + This system BIOS has enabled interrupt remapping\n + on a chipset that

Re: regression in linux 3.7 - fan speed at 100% after suspend/resume at 100%

2013-03-04 Thread Roberto Oppedisano
Added Cc: list Il 04/03/2013 13:29, Roberto Oppedisano ha scritto: Il 03/03/2013 01:22, Ville Syrjala ha scritto: Roberto Oppedisano roberto.oppedisano at gmail.com writes: Hello, with recent kernels after a suspend/resume cycle on my laptop (HP 6730b) the fans stays at full speed. I

Re: [PATCH][v2] xhci: correctly enable interrupts

2013-03-04 Thread Sergei Shtylyov
Hello. On 04-03-2013 12:22, Hannes Reinecke wrote: xhci has its own interrupt enabling routine, which will try to use MSI-X/MSI if present. So the usb core shouldn't try to enable legacy interrupts; on some machines the xhci legacy IRQ setting is invalid. Cc: Bjorn Helgaas

Re: [PATCH] tty/8250_pnp: serial port detection regression since v3.7

2013-03-04 Thread Sean Young
Greg, On Fri, Feb 22, 2013 at 04:27:19PM +, Sean Young wrote: The InsydeH2O BIOS (version dated 09/12/2011) has the following in its pnp resouces for its serial ports: $ cat /sys/bus/pnp/devices/00:0b/resources state = active io disabled irq disabled We do not check if the

<    3   4   5   6   7   8   9   10   11   12   >