Re: [PATCH v4 00/32] ldisc patchset

2013-02-22 Thread Peter Hurley
On Thu, 2013-02-21 at 08:38 -0500, Peter Hurley wrote: On Thu, 2013-02-21 at 08:16 -0500, Sasha Levin wrote: On 02/20/2013 03:02 PM, Peter Hurley wrote: Sasha and Dave, my trinity testbeds die in other areas right now; I would really appreciate if you would please re-test this series.

Re: [PATCH] perf report: fix handling of memory sampling sort orders

2013-02-22 Thread Arnaldo Carvalho de Melo
Em Fri, Feb 22, 2013 at 03:28:38PM +0100, Stephane Eranian escreveu: When the memory sampling sort orders were used on perf.data files without memory sampling data, it would crash perf. This patch fixes this by handling the lack of memory information gracefully, printing N/A and formatting

Re: [PATCH 2/2][RFC] time : set broadcast irq affinity

2013-02-22 Thread Thomas Gleixner
On Fri, 22 Feb 2013, Jacob Pan wrote: On Thu, 21 Feb 2013 23:01:23 +0100 Daniel Lezcano daniel.lezc...@linaro.org wrote: +/* + * Set broadcast interrupt affinity + */ +static void tick_broadcast_set_affinity(struct clock_event_device *bc, int cpu) +{ + struct cpumask cpumask; +

[3.5.y.z extended stable] Linux 3.5.7.6

2013-02-22 Thread Herton Ronaldo Krzesinski
I am announcing the release of the 3.5.7.6 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: too many timer retries happen when do local timer swtich with broadcast timer

2013-02-22 Thread Thomas Gleixner
On Fri, 22 Feb 2013, Lorenzo Pieralisi wrote: On Fri, Feb 22, 2013 at 03:03:02PM +, Thomas Gleixner wrote: On Fri, 22 Feb 2013, Lorenzo Pieralisi wrote: On Fri, Feb 22, 2013 at 12:07:30PM +, Thomas Gleixner wrote: Now we could make use of that and avoid going deep idle just to

Re: [Fwd: Re: [PATCH 2/2] ima: add policy support for file system uuid]

2013-02-22 Thread Randy Dunlap
On 02/22/13 10:43, Mimi Zohar wrote: Forwarded Message From: David Rientjes rient...@google.com To: Mimi Zohar zo...@linux.vnet.ibm.com Cc: linux-security-mod...@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Kasatkin dmitry.kasat...@intel.com Subject: Re: [PATCH

Re: [PATCH] tools: hv: Fix how ifcfg-* file is created

2013-02-22 Thread Olaf Hering
On Sun, Jan 13, Tomas Hozza wrote: -# IPADDR=ipaddr1 -# IPADDR_1=ipaddr2 -# IPADDR_x=ipaddry (where y = x + 1) +# IPADDR0=ipaddr1 +# IPADDR1=ipaddr2 +# IPADDRx=ipaddry (where y = x + 1) Before this change it was IPADDR=, now its IPADDR0=. Furthermore, IPADDR_n was changed to IPADDRn. Does

Re: [PATCH 2/2] staging: comedi: drivers: usbduxfast.c: fix for DMA buffers on stack

2013-02-22 Thread walter harms
Am 22.02.2013 19:07, schrieb Kumar Amit Mehta: fix for instances of DMA buffer on stack(being passed to usb_control_msg) for the USB-DUXfast Board driver. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com --- drivers/staging/comedi/drivers/usbduxfast.c | 30

Re: [PATCH 0/2] cpustat: use atomic operations to read/update stats

2013-02-22 Thread Kevin Hilman
Frederic Weisbecker fweis...@gmail.com writes: On Fri, Feb 22, 2013 at 06:21:31AM -0800, Eric Dumazet wrote: On Fri, 2013-02-22 at 15:09 +0100, Peter Zijlstra wrote: On Fri, 2013-02-22 at 13:50 +0100, Frederic Weisbecker wrote: Argh!! at what cost? 64bit atomics are like expensive.

Re: [PATCH 11/40] Input: atmel_mxt_ts - Bootloader addresses for mXT1664/mXT1188S

2013-02-22 Thread Benson Leung
This is disappointing that Atmel decided to change the bootloader address scheme for the 1664S family. Unfortunately, this ifdef won't work for situations where there are more than one Atmel device of a different kind on a system using this same driver. For the Chromebook Pixel, we use the same

Re: [PATCH 2/2] staging: comedi: drivers: usbduxfast.c: fix for DMA buffers on stack

2013-02-22 Thread Greg KH
On Fri, Feb 22, 2013 at 07:58:35PM +0100, walter harms wrote: Am 22.02.2013 19:07, schrieb Kumar Amit Mehta: fix for instances of DMA buffer on stack(being passed to usb_control_msg) for the USB-DUXfast Board driver. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com ---

Re: [PATCH] xfs: Fix possible truncation of log data in xlog_bread_noalign()

2013-02-22 Thread Ben Myers
Hi Tony, On Fri, Feb 22, 2013 at 08:12:52AM +, Tony Lu wrote: I encountered the following panic when using xfs partitions as rootfs, which is due to the truncated log data read by xlog_bread_noalign(). We should extend the buffer by one extra log sector to ensure there's enough space to

Re: [Fwd: Re: [PATCH 2/2] ima: add policy support for file system uuid]

2013-02-22 Thread Mimi Zohar
On Fri, 2013-02-22 at 10:55 -0800, Randy Dunlap wrote: On 02/22/13 10:43, Mimi Zohar wrote: Forwarded Message From: David Rientjes rient...@google.com To: Mimi Zohar zo...@linux.vnet.ibm.com Cc: linux-security-mod...@vger.kernel.org, linux-kernel@vger.kernel.org,

Re: Read I/O starvation with writeback RAID controller

2013-02-22 Thread Martin Svec
Hi, Dne 21.2.2013 23:01, Nicholas A. Bellinger napsal(a): Hi Martin, On Thu, 2013-02-21 at 12:43 +0100, Martin Svec wrote: I'm sorry, I forgot to mention hardware details. It isn't aacraid, it is megaraid-based Dell PERC H700 w/ 1GB NVRAM and 12x 450GB 15k SAS drives in RAID-10. All in

Re: [RFC PATCH] Fix Intel IOMMU support for Marvell 88SE91xx SATA controllers.

2013-02-22 Thread Stijn Tintel
On 19-12-12 11:58, Andrew Cooks wrote: This is my second attempt to make Marvell 88SE91xx SATA controllers work when IOMMU is enabled.[1][2] As suggested, it no longer tries to add support for phantom functions. What's missing: * No AMD support. I need some help with this. * Table of

Re: [RFC v2 1/3] power_supply: Define Binding for supplied-nodes

2013-02-22 Thread Stephen Warren
On 02/21/2013 04:11 PM, Rhyland Klein wrote: This property is meant to be used in device nodes which represent power_supply devices that wish to provide a list of supplies to which they provide power. A common case is a AC Charger with the batteries it powers. diff --git

[PATCH] ima: fix part_pack_uuid() build error

2013-02-22 Thread Mimi Zohar
Fix a build error when CONFIG_BLOCK is not enabled by defining a wrapper called ima_part_pack_uuid(). The wrapper returns -EINVAL, when CONFIG_BLOCK is not defined. security/integrity/ima/ima_policy.c:538:4: error: implicit declaration of function 'part_pack_uuid'

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Stephen Warren
On 02/21/2013 04:11 PM, Rhyland Klein wrote: With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how chargers and their supplies are linked. Following common dt convention, the supplied-to

Re: [PATCH 11/40] Input: atmel_mxt_ts - Bootloader addresses for mXT1664/mXT1188S

2013-02-22 Thread Nick Dyer
Benson Leung wrote: This is disappointing that Atmel decided to change the bootloader address scheme for the 1664S family. Unfortunately, this ifdef won't work for situations where there are more than one Atmel device of a different kind on a system using this same driver. For the

[PATCH] ACPI: Add sysfs links from memory device to memblocks

2013-02-22 Thread Toshi Kani
In order to eject a memory device object represented as PNP0C80:%d in sysfs, its associated memblocks (system/memory/memory%d) need to be off-lined. However, there is no user friendly way to correlate between a memory device object and its memblocks in sysfs. This patch creates sysfs links to

[PATCH] [SCSI] scsi_dh_hp_sw: return -ENOMEM if kzalloc() failed

2013-02-22 Thread Alexey Khoroshilov
If kzalloc() failed, hp_sw_bus_attach() breaks off initialization, but returns zero. The patch adds -ENOMEM as return value in this case. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru ---

Re: [PATCHv5 1/8] zsmalloc: add to mm/

2013-02-22 Thread Seth Jennings
On 02/22/2013 03:24 AM, Joonsoo Kim wrote: On Wed, Feb 20, 2013 at 08:37:33AM +0900, Minchan Kim wrote: On Tue, Feb 19, 2013 at 11:54:21AM -0600, Seth Jennings wrote: On 02/19/2013 03:18 AM, Joonsoo Kim wrote: Hello, Seth. I'm not sure that this is right time to review, because I already have

[PATCH] x86, clocksource, fix !CONFIG_CLOCKSOURCE_WATCHDOG compile

2013-02-22 Thread Prarit Bhargava
If I explicitly disable the clocksource watchdog in the x86 Kconfig, the x86 kernel will not compile unless this is properly defined. Signed-off-by: Prarit Bhargava pra...@redhat.com Cc: John Stultz john.stu...@linaro.org Cc: Thomas Gleixner t...@linutronix.de Cc: x...@kernel.org ---

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Stephen Warren
On 02/21/2013 04:11 PM, Rhyland Klein wrote: With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how chargers and their supplies are linked. Following common dt convention, the supplied-to

Re: [PATCH] x86, clocksource, fix !CONFIG_CLOCKSOURCE_WATCHDOG compile

2013-02-22 Thread Thomas Gleixner
On Fri, 22 Feb 2013, Prarit Bhargava wrote: If I explicitly disable the clocksource watchdog in the x86 Kconfig, the x86 kernel will not compile unless this is properly defined. You shouldn't do that. :) Signed-off-by: Prarit Bhargava pra...@redhat.com Cc: John Stultz

Re: [PATCH] net: fix possible deadlock in sum_frag_mem_limit

2013-02-22 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Fri, 22 Feb 2013 09:43:35 -0800 From: Eric Dumazet eduma...@google.com Dave Jones reported a lockdep splat occurring in IP defrag code. commit 6d7b857d541ecd1d (net: use lib/percpu_counter API for fragmentation mem accounting) added a

Re: Atmel updates to atmel_mxt_ts touch controller driver

2013-02-22 Thread Peter Meerwald
Hello Nick, These changes address some of the same issues that appear in the patchsets submitted by Daniel Kurtz and Peter Meerwald. However, they go much further in adding support for new objects, improving performance, and increasing reliability. They have been regularly regression tested

Re: Read I/O starvation with writeback RAID controller

2013-02-22 Thread Jan Engelhardt
On Friday 2013-02-22 20:28, Martin Svec wrote: Yes, I've already tried the ROW scheduler. It helped for some low iodepths depending on quantum settings but generally didn't solve the problem. I think the key issue is that none of the schedulers can throttle I/O according to e.g. average

Re: [PATCH] ima: fix part_pack_uuid() build error

2013-02-22 Thread David Rientjes
On Fri, 22 Feb 2013, Mimi Zohar wrote: Fix a build error when CONFIG_BLOCK is not enabled by defining a wrapper called ima_part_pack_uuid(). The wrapper returns -EINVAL, when CONFIG_BLOCK is not defined. security/integrity/ima/ima_policy.c:538:4: error: implicit declaration of function

Re: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in UTC time

2013-02-22 Thread John Stultz
On 12/06/2012 06:03 AM, Dong Zhu wrote: From c126376cf1837b0956e0268056db61870fbbc1d4 Mon Sep 17 00:00:00 2001 From: Dong Zhu bluezhud...@gmail.com Date: Thu, 6 Dec 2012 21:45:00 +0800 Subject: [PATCH] timekeeping: avoid adjust kernel time once hwclock kept in UTC time If the Hardware Clock

Re: [patch] drivers, vmci: vmware vmci driver depends on CONFIG_NET

2013-02-22 Thread David Rientjes
On Thu, 21 Feb 2013, David Rientjes wrote: CONFIG_VMWARE_VMCI requires CONFIG_NET, otherwise there is a link error: drivers/built-in.o: In function `__qp_memcpy_from_queue.isra.11': vmci_queue_pair.c:(.text+0x2d4509): undefined reference to `memcpy_toiovec' drivers/built-in.o: In function

Re: [PATCH 0/7] ksm: responses to NUMA review

2013-02-22 Thread Hugh Dickins
On Fri, 22 Feb 2013, Ric Mason wrote: On 02/21/2013 04:17 PM, Hugh Dickins wrote: Here's a second KSM series, based on mmotm 2013-02-19-17-20: partly in response to Mel's review feedback, partly fixes to issues that I found myself in doing more review and testing. None of the issues fixed

Re: [RFE PATCH 1/2] x86, rtc, ntp, Do full rtc synchronization with ntp

2013-02-22 Thread John Stultz
On 02/14/2013 09:02 AM, Prarit Bhargava wrote: Every 11 minutes ntp attempts to update the x86 rtc with the current system time. Currently, the x86 code only updates the rtc if the system time is within +/-15 minutes of the current value of the rtc. Other architectures do a full

Re: [RFE PATCH 2/2] rtc, add write functionality to sysfs

2013-02-22 Thread John Stultz
On 02/14/2013 09:02 AM, Prarit Bhargava wrote: /sys/class/rtc/rtcX/date and /sys/class/rtc/rtcX/time currently have read-only access. This patch introduces write functionality which will set the rtc time. Usage: echo -MM-DD /sys/class/rtc/rtcX/date echo HH:MM:SS

Re: [PATCH 1/7] ksm: add some comments

2013-02-22 Thread Hugh Dickins
On Fri, 22 Feb 2013, Ric Mason wrote: What's the root reason merge_across_nodes setting just can be changed only when there are no ksm shared pages in system? Simplicity. Why add code (moving nodes from tree to tree, handling the collisions) for a rare case that doesn't need to be fast?

Re: Debugging system freezes on filesystem writes

2013-02-22 Thread Jan Kara
On Wed 20-02-13 13:40:03, Marcus Sundman wrote: On 20.02.2013 10:42, Marcus Sundman wrote: On 05.12.2012 17:32, Jan Kara wrote: I see. Maybe you could have something like while true; do echo w /proc/sysrq-trigger; sleep 10; done running in the background? Sure, but I suspect it'll

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

2013-02-22 Thread Rafael J. Wysocki
On Friday, February 22, 2013 08:54:14 AM Toshi Kani wrote: On Fri, 2013-02-22 at 13:37 +0100, Rafael J. Wysocki wrote: On Friday, February 22, 2013 05:51:28 PM Yasuaki Ishimatsu wrote: 2013/02/22 10:50, Rafael J. Wysocki wrote: On Thursday, February 21, 2013 06:12:21 PM Toshi Kani wrote:

Re: Atmel updates to atmel_mxt_ts touch controller driver

2013-02-22 Thread Nick Dyer
Peter Meerwald wrote: the series gets rid of the fragile binary config data and handle_pdata() - I like it, but haven't tested yet is there a reference to the specification of the new config format? the format of the old pdata-config was immediately obvious from reading the source, the new

Re: [BUG bisected]: apei_hest_parse explosion

2013-02-22 Thread Rafael J. Wysocki
On Friday, February 22, 2013 03:39:44 PM Thomas Gleixner wrote: On Fri, 22 Feb 2013, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / APEI: Fix crash in apei_hest_parse() for acpi=off After commit 92ef2a2 (ACPI: Change the ordering of PCI root

Re: [RFE PATCH 2/2] rtc, add write functionality to sysfs

2013-02-22 Thread Prarit Bhargava
On 02/22/2013 03:43 PM, John Stultz wrote: On 02/14/2013 09:02 AM, Prarit Bhargava wrote: /sys/class/rtc/rtcX/date and /sys/class/rtc/rtcX/time currently have read-only access. This patch introduces write functionality which will set the rtc time. Usage: echo -MM-DD

Re: [rebased][PATCH 1/4] acpi: move x86/mm/srat.c to x86/kernel/acpi/srat.c

2013-02-22 Thread David Rientjes
On Fri, 22 Feb 2013, liguang wrote: srat table should present only on acpi domain, seems mm/ is not the right place for it. Reviewed-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Signed-off-by: liguang lig.f...@cn.fujitsu.com This is not rebased, it does not have 4819e14ff31e (acpi,

Re: Read I/O starvation with writeback RAID controller

2013-02-22 Thread Chris Friesen
On 02/22/2013 02:35 PM, Jan Engelhardt wrote: On Friday 2013-02-22 20:28, Martin Svec wrote: Yes, I've already tried the ROW scheduler. It helped for some low iodepths depending on quantum settings but generally didn't solve the problem. I think the key issue is that none of the schedulers

[PATCH] checkpatch: Improve CamelCase test for Page

2013-02-22 Thread Joe Perches
Add the ClearPage/SetPage/TestClearPage/TestSetPage variants to the not reported Page CamelCase variables. Signed-off-by: Joe Perches j...@perches.com --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index

Re: [PATCHv5 2/8] zsmalloc: add documentation

2013-02-22 Thread Seth Jennings
On 02/21/2013 08:56 PM, Ric Mason wrote: On 02/21/2013 11:50 PM, Seth Jennings wrote: On 02/21/2013 02:49 AM, Ric Mason wrote: On 02/19/2013 03:16 AM, Seth Jennings wrote: On 02/16/2013 12:21 AM, Ric Mason wrote: On 02/14/2013 02:38 AM, Seth Jennings wrote: This patch adds a documentation

Re: [PATCH 2/7] ksm: treat unstable nid like in stable tree

2013-02-22 Thread Hugh Dickins
On Fri, 22 Feb 2013, Ric Mason wrote: On 02/21/2013 04:20 PM, Hugh Dickins wrote: An inconsistency emerged in reviewing the NUMA node changes to KSM: when meeting a page from the wrong NUMA node in a stable tree, we say that it's okay for comparisons, but not as a leaf for merging; whereas

Re: [RFE PATCH 2/2] rtc, add write functionality to sysfs

2013-02-22 Thread John Stultz
On 02/22/2013 12:55 PM, Prarit Bhargava wrote: On 02/22/2013 03:43 PM, John Stultz wrote: On 02/14/2013 09:02 AM, Prarit Bhargava wrote: /sys/class/rtc/rtcX/date and /sys/class/rtc/rtcX/time currently have read-only access. This patch introduces write functionality which will set the rtc

Re: [PATCH 2/2] irq: Cleanup context state transitions in irq_exit()

2013-02-22 Thread Linus Torvalds
On Fri, Feb 22, 2013 at 7:06 AM, Thomas Gleixner t...@linutronix.de wrote: I prefer to let you guys have the final word on this patch. Whether you apply it or not, I fear I'll never be entirely happy either way :) That's the sad fate of dealing with circular dependencies... plus the butt

Re: [PATCH] fadvise: perform WILLNEED readahead in a workqueue

2013-02-22 Thread Eric Wong
Phillip Susi ps...@ubuntu.com wrote: On Sat, Dec 15, 2012 at 12:54:48AM +, Eric Wong wrote: strace -T timing on an uncached, one gigabyte file: Before: fadvise64(3, 0, 0, POSIX_FADV_WILLNEED) = 0 2.484832 After: fadvise64(3, 0, 0, POSIX_FADV_WILLNEED) = 0 0.61 It shouldn't

[GIT PULL] parisc updates for 3.9

2013-02-22 Thread Helge Deller
Hi Linus, The following changes since commit 19f949f52599ba7c3f67a5897ac6be14bfcb1200: Linux 3.8 (2013-02-18 15:58:34 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-3.9 for you to fetch changes up to

Re: [PATCH] ima: fix part_pack_uuid() build error

2013-02-22 Thread Randy Dunlap
On 02/22/13 11:46, Mimi Zohar wrote: Fix a build error when CONFIG_BLOCK is not enabled by defining a wrapper called ima_part_pack_uuid(). The wrapper returns -EINVAL, when CONFIG_BLOCK is not defined. Some function wrapper for the case of BLOCK not enabled should be handled where the

Re: [PATCH] backlight: ams369fg06: convert ams369fg06 to dev_pm_ops

2013-02-22 Thread Andrew Morton
On Fri, 22 Feb 2013 19:42:59 +0900 Jingoo Han jg1@samsung.com wrote: Instead of using legacy suspend/resume methods, using newer dev_pm_ops structure allows better control over power management. ... @@ -571,12 +571,13 @@ static struct spi_driver ams369fg06_driver = { .driver = {

Re: [GIT PULL] arch/arc for v3.9-rc1

2013-02-22 Thread Helge Deller
On 02/22/2013 07:58 AM, Vineet Gupta wrote: Hi Linus, I would like to introduce the Linux port to ARC Processors (from Synopsys) for 3.9-rc1. The patch-set has been discussed on the public lists since Nov and has received a fair bit of review, specially from Arnd, tglx, Al and other

Re: [PATCH] lib: devres: Fix misplaced #endif

2013-02-22 Thread Andrew Morton
On Fri, 22 Feb 2013 14:39:40 +0900 Jingoo Han jg1@samsung.com wrote: A misplaced #endif causes link errors related to pcim_*() functions. --- a/lib/devres.c +++ b/lib/devres.c @@ -227,6 +227,7 @@ void devm_ioport_unmap(struct device *dev, void __iomem *addr)

Re: [patch] drivers, vmci: vmware vmci driver depends on CONFIG_NET

2013-02-22 Thread Greg Kroah-Hartman
On Fri, Feb 22, 2013 at 12:37:29PM -0800, David Rientjes wrote: On Thu, 21 Feb 2013, David Rientjes wrote: CONFIG_VMWARE_VMCI requires CONFIG_NET, otherwise there is a link error: drivers/built-in.o: In function `__qp_memcpy_from_queue.isra.11': vmci_queue_pair.c:(.text+0x2d4509):

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Fabio Baltieri
On Fri, Feb 22, 2013 at 03:59:54AM -0500, Dave Jones wrote: On Thu, Feb 21, 2013 at 10:40:10AM -0800, Greg KH wrote: USB patches for 3.9-rc1 Here's the big USB merge for 3.9-rc1 Nothing major, lots of gadget fixes, and of course, xhci stuff. I get no USB devices recognised

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Rhyland Klein
On 2/22/2013 2:49 PM, Stephen Warren wrote: On 02/21/2013 04:11 PM, Rhyland Klein wrote: With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how chargers and their supplies are linked.

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Rhyland Klein
On 2/22/2013 3:09 PM, Stephen Warren wrote: On 02/21/2013 04:11 PM, Rhyland Klein wrote: With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how chargers and their supplies are linked.

Re: [PATCH] kexec: fix memory leak in function kimage_normal_alloc

2013-02-22 Thread Andrew Morton
On Fri, 22 Feb 2013 12:36:13 +0800 Zhang Yanfei zhangyan...@cn.fujitsu.com wrote: If kimage_normal_alloc() fails to alloc pages for image-swap_page, it should call kimage_free_page_list() to free allocated pages in image-control_pages list before it frees image. ... --- a/kernel/kexec.c

Re: [PATCH] checkpatch: Improve CamelCase test for Page

2013-02-22 Thread Peter Hurley
On Fri, 2013-02-22 at 12:59 -0800, Joe Perches wrote: Add the ClearPage/SetPage/TestClearPage/TestSetPage variants to the not reported Page CamelCase variables. Signed-off-by: Joe Perches j...@perches.com --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [RFC v2 1/3] power_supply: Define Binding for supplied-nodes

2013-02-22 Thread Rhyland Klein
On 2/22/2013 2:46 PM, Stephen Warren wrote: On 02/21/2013 04:11 PM, Rhyland Klein wrote: This property is meant to be used in device nodes which represent power_supply devices that wish to provide a list of supplies to which they provide power. A common case is a AC Charger with the batteries

Re: [PATCH] checkpatch: Improve CamelCase test for Page

2013-02-22 Thread Andrew Morton
On Fri, 22 Feb 2013 17:01:48 -0500 Peter Hurley pe...@hurleysoftware.com wrote: On Fri, 2013-02-22 at 12:59 -0800, Joe Perches wrote: Add the ClearPage/SetPage/TestClearPage/TestSetPage variants to the not reported Page CamelCase variables. Signed-off-by: Joe Perches j...@perches.com

Re: [PATCH] checkpatch: Improve CamelCase test for Page

2013-02-22 Thread Joe Perches
On Fri, 2013-02-22 at 17:01 -0500, Peter Hurley wrote: I didn't bother to mention it before, but since your addressing mm CamelCase exceptions, perhaps _ xx_XXX_xxx XXX_xxx could be exceptions as well? Maybe the check should only be for [A-Z][a-z]|[a-z][A-Z] to make '_'

Re: [PATCH] checkpatch: Improve CamelCase test for Page

2013-02-22 Thread Peter Hurley
On Fri, 2013-02-22 at 14:05 -0800, Andrew Morton wrote: On Fri, 22 Feb 2013 17:01:48 -0500 Peter Hurley pe...@hurleysoftware.com wrote: On Fri, 2013-02-22 at 12:59 -0800, Joe Perches wrote: Add the ClearPage/SetPage/TestClearPage/TestSetPage variants to the not reported Page CamelCase

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Dave Jones
On Fri, Feb 22, 2013 at 10:51:58PM +0100, Fabio Baltieri wrote: On Fri, Feb 22, 2013 at 03:59:54AM -0500, Dave Jones wrote: On Thu, Feb 21, 2013 at 10:40:10AM -0800, Greg KH wrote: It looks like every port on my laptop is powered down, as I can't even charge devices with it. I

Re: [PATCH 28/40] Input: atmel_mxt_ts - Add CHG line handling in bootloader code

2013-02-22 Thread Benson Leung
This is very similar to a patch that Daniel and I sent earlier this month. http://www.spinics.net/lists/linux-input/msg24666.html The major difference is that your wait_for_chg does a polling read of chg, while the one we worked on leaves the irq enabled and waits on completion. On Fri, Feb 22,

Re: [PATCH] checkpatch: Improve CamelCase test for Page

2013-02-22 Thread Peter Hurley
On Fri, 2013-02-22 at 14:21 -0800, Joe Perches wrote: On Fri, 2013-02-22 at 17:01 -0500, Peter Hurley wrote: I didn't bother to mention it before, but since your addressing mm CamelCase exceptions, perhaps _ xx_XXX_xxx XXX_xxx could be exceptions as well? Maybe

Re: i915 black screen introduced by ACPI changes

2013-02-22 Thread Chris Li
Ping. Any update for this black screen problem? Chris On Wed, Feb 20, 2013 at 1:04 PM, Chris Li l...@chrisli.org wrote: Here is the dmesg with drm.debug=0xe at 80187431762989ebade986468d3c548287a12689 That is the 3.6 kernel, exactly one commit before the ACPI commit which triggering the

RE: New copyfile system call - discuss before LSF?

2013-02-22 Thread Myklebust, Trond
-Original Message- From: Zach Brown [mailto:z...@redhat.com] Sent: Friday, February 22, 2013 1:22 PM To: Ric Wheeler Cc: Paolo Bonzini; Myklebust, Trond; Linux FS Devel; linux- ker...@vger.kernel.org; Chris L. Mason; Christoph Hellwig; Alexander Viro; Martin K. Petersen; Hannes

Re: [PATCH] checkpatch: Improve CamelCase test for Page

2013-02-22 Thread Shuah Khan
On Fri, Feb 22, 2013 at 3:21 PM, Joe Perches j...@perches.com wrote: On Fri, 2013-02-22 at 17:01 -0500, Peter Hurley wrote: I didn't bother to mention it before, but since your addressing mm CamelCase exceptions, perhaps _ xx_XXX_xxx XXX_xxx could be exceptions as well?

Re: [PATCH 0/4] dcache: make Oracle more scalable on large systems

2013-02-22 Thread Dave Chinner
On Thu, Feb 21, 2013 at 11:13:27PM -0500, Waiman Long wrote: On 02/21/2013 07:13 PM, Andi Kleen wrote: Dave Chinnerda...@fromorbit.com writes: On Tue, Feb 19, 2013 at 01:50:55PM -0500, Waiman Long wrote: It was found that the Oracle database software issues a lot of call to the seq_path()

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Stephen Warren
On 02/22/2013 02:55 PM, Rhyland Klein wrote: On 2/22/2013 2:49 PM, Stephen Warren wrote: On 02/21/2013 04:11 PM, Rhyland Klein wrote: With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how

Re: [PATCH] checkpatch: Improve CamelCase test for Page

2013-02-22 Thread Joe Perches
dOn Fri, 2013-02-22 at 15:57 -0700, Shuah Khan wrote: What are the guidelines on camelcase warnings on patches. A recent one I ran into is on a variable in a structure and fixing it would require changing the original variable. The same as all other checkpatch warnings. Ignore the ones you

Re: [PATCH] checkpatch: Improve CamelCase test for Page

2013-02-22 Thread Andrew Morton
On Fri, 22 Feb 2013 15:57:16 -0700 Shuah Khan shuahk...@gmail.com wrote: diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 747bcd7..e08e9f6 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2929,8 +2929,8 @@ sub process { while ($line =~

Re: [PATCH 11/40] Input: atmel_mxt_ts - Bootloader addresses for mXT1664/mXT1188S

2013-02-22 Thread Benson Leung
We've moved away from using platform data in our project because it's clunky, and because we implemented the config loading that's similar to what you submitted elsewhere in this series. Furthermore, for our ARM projects specifically, we are using flattened device trees to describe our board and

[BUG] Lenovo x230: SATA errors with 180GB Intel 520 SSD under heavy write load

2013-02-22 Thread Mathieu Desnoyers
Hi, We spent a couple of days cornering what appears to be an issue with the Intel 520 SSD drives in Lenovo x230 laptops. It was first showing up on a clean Debian installation, while installing a guest operating system into a VM. Looking around on forums, there appears to be some people having

Re: [PATCH v2] slub: correctly bootstrap boot caches

2013-02-22 Thread JoonSoo Kim
2013/2/23 Christoph Lameter c...@linux.com: On Fri, 22 Feb 2013, Glauber Costa wrote: On 02/22/2013 09:01 PM, Christoph Lameter wrote: Argh. This one was the final version: https://patchwork.kernel.org/patch/2009521/ It seems it would work. It is all the same to me. Which one do you

Re: [PATCH 01/40] Input: atmel_mxt_ts - Make wait-after-reset period compatible with all chips

2013-02-22 Thread Benson Leung
Hi Nick, Thanks for this patch. Comments inline. On Fri, Feb 22, 2013 at 9:57 AM, Nick Dyer nick.d...@itdev.co.uk wrote: From: Iiro Valkonen iiro.valko...@atmel.com The delay before the chip can be accessed after reset varies between different chips in maXTouch family. Waiting for 200ms and

Re: Debugging system freezes on filesystem writes

2013-02-22 Thread Marcus Sundman
On 22.02.2013 22:51, Jan Kara wrote: On Wed 20-02-13 13:40:03, Marcus Sundman wrote: On 20.02.2013 10:42, Marcus Sundman wrote: On 05.12.2012 17:32, Jan Kara wrote: I see. Maybe you could have something like while true; do echo w /proc/sysrq-trigger; sleep 10; done running in the

Re: Regression introduced by 805d410fb0dbd65e1a57a810858fa2491e75822d (ACPI: Separate adding ACPI device objects from probing ACPI drivers) in v3.9-rc0

2013-02-22 Thread Yinghai Lu
On Fri, Feb 22, 2013 at 1:48 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: Hey Rafael, Per git bisect it looks like that patch: ACPI: Separate adding ACPI device objects from probing ACPI drivers blows up when running under Xen PV guests: (please notice that ACPI is turned off

Re: [BUG bisected]: apei_hest_parse explosion

2013-02-22 Thread Yinghai Lu
On Fri, Feb 22, 2013 at 4:30 AM, Rafael J. Wysocki r...@sisk.pl wrote: On Friday, February 22, 2013 09:22:15 AM Thomas Gleixner wrote: On Fri, 22 Feb 2013, Rafael J. Wysocki wrote: On Friday, February 22, 2013 02:40:58 AM Rafael J. Wysocki wrote: It looks like the hest_tab memory mapping is

Re: [PATCH] ARM: vfp: fix fpsid register subarchitecture field mask width

2013-02-22 Thread Stephen Boyd
On 2/22/2013 10:27 AM, Will Deacon wrote: Hi guys, On Fri, Feb 22, 2013 at 08:08:05AM +, Stephen Boyd wrote: From: Steve Muckle smuc...@codeaurora.org The subarchitecture field in the fpsid register is 7 bits wide. The topmost bit is used to designate that the subarchitecture designer

Re: [RFC patch 7/8] timekeeping: Implement a shadow timekeeper

2013-02-22 Thread John Stultz
On 02/21/2013 02:51 PM, Thomas Gleixner wrote: Use the shadow timekeeper to do the update_wall_time() adjustments and then copy it over to the real timekeeper. Keep the shadow timekeeper in sync when updating stuff outside of update_wall_time(). This allows us to limit the timekeeper_seq hold

Re: [PATCH] xfs: Fix possible truncation of log data in xlog_bread_noalign()

2013-02-22 Thread Dave Chinner
On Fri, Feb 22, 2013 at 08:12:52AM +, Tony Lu wrote: I encountered the following panic when using xfs partitions as rootfs, which is due to the truncated log data read by xlog_bread_noalign(). We should extend the buffer by one extra log sector to ensure there's enough space to accommodate

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Fabio Baltieri
On Fri, Feb 22, 2013 at 05:23:04PM -0500, Dave Jones wrote: On Fri, Feb 22, 2013 at 10:51:58PM +0100, Fabio Baltieri wrote: On Fri, Feb 22, 2013 at 03:59:54AM -0500, Dave Jones wrote: On Thu, Feb 21, 2013 at 10:40:10AM -0800, Greg KH wrote: It looks like every port on my laptop is

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Rafael J. Wysocki
On Friday, February 22, 2013 10:51:58 PM Fabio Baltieri wrote: On Fri, Feb 22, 2013 at 03:59:54AM -0500, Dave Jones wrote: On Thu, Feb 21, 2013 at 10:40:10AM -0800, Greg KH wrote: USB patches for 3.9-rc1 Here's the big USB merge for 3.9-rc1 Nothing major, lots of gadget

Re: [PATCH 0/4] dcache: make Oracle more scalable on large systems

2013-02-22 Thread Andi Kleen
That seems to me like an application problem - poking at what the kernel is doing via diagnostic interfaces so often that it gets in the way of the kernel actually doing stuff is not a problem the kernel can solve. I agree with you that the application shouldn't be doing that, but if there

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Rafael J. Wysocki
On Friday, February 22, 2013 05:23:04 PM Dave Jones wrote: On Fri, Feb 22, 2013 at 10:51:58PM +0100, Fabio Baltieri wrote: On Fri, Feb 22, 2013 at 03:59:54AM -0500, Dave Jones wrote: On Thu, Feb 21, 2013 at 10:40:10AM -0800, Greg KH wrote: It looks like every port on my laptop is

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Rafael J. Wysocki
On Saturday, February 23, 2013 01:10:55 AM Fabio Baltieri wrote: On Fri, Feb 22, 2013 at 05:23:04PM -0500, Dave Jones wrote: On Fri, Feb 22, 2013 at 10:51:58PM +0100, Fabio Baltieri wrote: On Fri, Feb 22, 2013 at 03:59:54AM -0500, Dave Jones wrote: On Thu, Feb 21, 2013 at 10:40:10AM

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Linus Torvalds
On Fri, Feb 22, 2013 at 4:19 PM, Rafael J. Wysocki r...@sisk.pl wrote: It won't revert, there's more stuff on top of it. And it is a fix, so reverting it is not really a good idea anyway. Rafael, please don't *ever* write that crap again. We revert stuff whether it fixed something else or

Re: New copyfile system call - discuss before LSF?

2013-02-22 Thread Eric Wong
Myklebust, Trond trond.mykleb...@netapp.com wrote: -Original Message- From: Zach Brown [mailto:z...@redhat.com] Sent: Thursday, February 21, 2013 5:25 PM To: Myklebust, Trond Cc: Paolo Bonzini; Ric Wheeler; Linux FS Devel; linux-kernel@vger.kernel.org; Chris L. Mason;

[PATCH] xen/mmu: Provide an early version of write_cr3.

2013-02-22 Thread Konrad Rzeszutek Wilk
With git commit 8170e6bed465b4b0c7687f93e9948aca4358a33b x86, 64bit: Use a #PF handler to materialize early mappings on demand we started hitting an early bootup crash where the Xen hypervisor would inform us that: (XEN) d7:v0: unhandled page fault (ec=) (XEN) Pagetable walk from

Re: [PATCH] PM: align buffers for LZO compression

2013-02-22 Thread Bojan Smojver
Markus F.X.J. Oberhumer mar...@oberhumer.com wrote: for performance reasons I'd strongly suggest that you explicitly align all buffers passed to the LZO compress and decompress functions. Below is a small (and completely untested!) patch, but I think you get the idea. Do you know what kind of

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Rafael J. Wysocki
On Friday, February 22, 2013 04:30:25 PM Linus Torvalds wrote: On Fri, Feb 22, 2013 at 4:19 PM, Rafael J. Wysocki r...@sisk.pl wrote: It won't revert, there's more stuff on top of it. And it is a fix, so reverting it is not really a good idea anyway. Rafael, please don't *ever* write

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Rafael J. Wysocki
On Friday, February 22, 2013 10:51:58 PM Fabio Baltieri wrote: On Fri, Feb 22, 2013 at 03:59:54AM -0500, Dave Jones wrote: On Thu, Feb 21, 2013 at 10:40:10AM -0800, Greg KH wrote: USB patches for 3.9-rc1 Here's the big USB merge for 3.9-rc1 Nothing major, lots of gadget

Re: x86: mm: Fix vmalloc_fault oops during lazy MMU updates.

2013-02-22 Thread Konrad Rzeszutek Wilk
On Thu, Feb 21, 2013 at 05:56:35PM +0200, Samu Kallio wrote: On Thu, Feb 21, 2013 at 2:33 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Sun, Feb 17, 2013 at 02:35:52AM -, Samu Kallio wrote: In paravirtualized x86_64 kernels, vmalloc_fault may cause an oops when lazy MMU

Re: Regression introduced by 805d410fb0dbd65e1a57a810858fa2491e75822d (ACPI: Separate adding ACPI device objects from probing ACPI drivers) in v3.9-rc0

2013-02-22 Thread Konrad Rzeszutek Wilk
[1.830762] IP: [813862fa] apei_hest_parse+0x2a/0x140 [1.830780] PGD 0 [1.830791] Oops: [#1] SMP [1.830806] Modules linked in: [1.830819] CPU 0 [1.830827] Pid: 1, comm: swapper/0 Not tainted 3.8.0-rc2upstream-2-g92ef2a2 #1 [1.830838]

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-22 Thread Linus Torvalds
On Fri, Feb 22, 2013 at 4:48 PM, Rafael J. Wysocki r...@sisk.pl wrote: The problem is, though, that even if bisection turns up something, it doesn't automatically mean that this particular commit is the one that caused the problem to happen in the first place. No, I agree. I just react *very*

Regression introduced with 14e568e78f6f80ca1e27256641ddf524c7dbdc51 (stop_machine: Use smpboot threads)

2013-02-22 Thread Konrad Rzeszutek Wilk
Hey Thomas, I don't know if this is b/c the Xen code is missing something or expects something that never happend. I hadn't looked at your patch in any detail (was going to do that on Monday). Either way, if I boot a HVM guest with PV extensions (aka PVHVM) this is I what get: Loading

Re: [idr/perf_init_event] BUG: unable to handle kernel NULL pointer dereference at (null)

2013-02-22 Thread Tejun Heo
Hello, On Sat, Feb 23, 2013 at 09:30:11AM +0800, Fengguang Wu wrote: Greetings, I got the below dmesg and the first bad commit is commit f5947173c082a04a9804bb42a91a0f5df5ee0527 Author: Tejun Heo t...@kernel.org Date: Wed Feb 20 02:05:52 2013 + idr: implement lookup hint

Re: [idr/perf_init_event] BUG: unable to handle kernel NULL pointer dereference at (null)

2013-02-22 Thread Tejun Heo
On Fri, Feb 22, 2013 at 05:34:48PM -0800, Tejun Heo wrote: Hello, On Sat, Feb 23, 2013 at 09:30:11AM +0800, Fengguang Wu wrote: Greetings, I got the below dmesg and the first bad commit is commit f5947173c082a04a9804bb42a91a0f5df5ee0527 Author: Tejun Heo t...@kernel.org Date:

<    1   2   3   4   5   6   7   8   9   >