Re: [PATCH 09/22] ARM: LPAE: use 64-bit pgd physical address in switch_mm()

2012-08-04 Thread Nicolas Pitre
On Tue, 31 Jul 2012, Cyril Chemparathy wrote: > This patch modifies the switch_mm() processor functions to use 64-bit > addresses. We use u64 instead of phys_addr_t, in order to avoid having config > dependent register usage when calling into switch_mm assembly code. > > The changes in this patc

[PATCH 0/5] staging/csr: cleanup patches

2012-08-04 Thread Devendra Naga
Hi Greg, These patches does * coding style fixes * little cleanups like unneeded initialisations and comparing a bool against 1 in if each and every patch is compile tested on top of the previous one Thanks, Actually i have a question about the dbg macros, unif

[PATCH 1/5] staging/csr: clean coding style in uf_start_thread

2012-08-04 Thread Devendra Naga
in bh.c the function uf_start_thread needed a coding style fixes. The following fixes: * fix no space at the start of line * fix over 80 character lines * fix no brace needed for single statement blocks (if..else or for and while) * use tabs instead of 4 spaces at the start of every line Cc: Mik

[PATCH 2/5] staging/csr: fix coding style problems in uf_stop_thread

2012-08-04 Thread Devendra Naga
The following warnings and errors were fixed: * fix no space at the start of a line * fix line over 80 characters * use tabs instead of spaces Cc: Mikko Virkkilä Cc: Lauri Hintsala Cc: Riku Mettälä Cc: Veli-Pekka Peltola Signed-off-by: Devendra Naga --- drivers/staging/csr/bh.c | 15 +

[PATCH 3/5] staging/csr: fix coding style problems in uf_wait_for_thread_to_stop

2012-08-04 Thread Devendra Naga
the following fixes: * fix no space at the start of line * line over 80 characters * use tabs instead of spaces at starting of every line Cc: Mikko Virkkilä Cc: Lauri Hintsala Cc: Riku Mettälä Cc: Veli-Pekka Peltola Signed-off-by: Devendra Naga --- drivers/staging/csr/bh.c | 29 ++

[PATCH 4/5] staging/csr: remove the initialisation of interfaceTag and its comment in handle_bh_error

2012-08-04 Thread Devendra Naga
the interfaceTag is actually initialised in for loop of this function and its not needed to initialise it before for loop. and also remove the comment that is obvious about this variable. Cc: Mikko Virkkilä Cc: Lauri Hintsala Cc: Riku Mettälä Cc: Veli-Pekka Peltola Signed-off-by: Devendra Nag

[PATCH 5/5] staging/csr: fix coding style problems in handle_bh_error

2012-08-04 Thread Devendra Naga
the following fixes: * fix line over 80 * fix no space at start of line * use tabs instead of spaces * no need of opening & closing braces for single statement if block Cc: Mikko Virkkilä Cc: Lauri Hintsala Cc: Riku Mettälä Cc: Veli-Pekka Peltola Signed-off-by: Devendra Naga --- drivers/sta

Fwd: Linux kernel boot process

2012-08-04 Thread Kumar Sukhani
I heard that windows 8 have change its boot process to a hybrid mood. In which it shutdowns the user applications and hibernates the kernel and device drivers[1]. Can the same be introduce in Linux kernel? [1] http://www.zdnet.com/windows-8-hybrid-mode-brings-faster-boot-3040093896/ -- Be Happy

[PATCH] btrfs: fix second lock in btrfs_delete_delayed_items()

2012-08-04 Thread Fengguang Wu
Fix a real bug caught by coccinelle. fs/btrfs/delayed-inode.c:1013:1-11: second lock on line 1013 Signed-off-by: Fengguang Wu --- fs/btrfs/delayed-inode.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- linux.orig/fs/btrfs/delayed-inode.c 2012-08-03 15:36:21.763560787 +0800 +

[PATCH] btrfs: Use PTR_RET in btrfs_resume_balance_async()

2012-08-04 Thread Fengguang Wu
No behavior change, code generated by: scripts/coccicheck/api/ptr_ret.cocci Signed-off-by: Fengguang Wu --- fs/btrfs/volumes.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) --- linux.orig/fs/btrfs/volumes.c 2012-08-04 15:33:02.038203882 +0800 +++ linux/fs/btrfs/volumes.c

Re: Linux 3.6-rc1

2012-08-04 Thread Dongsheng Song
On Sat, Aug 4, 2012 at 2:19 PM, Al Viro wrote: > > Documentation/sysctl/vm.txt.rej| 21 + vm.txt.rej ??? -- 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.kerne

Re: Linux 3.6-rc1

2012-08-04 Thread Al Viro
On Sat, Aug 04, 2012 at 03:51:01PM +0800, Dongsheng Song wrote: > On Sat, Aug 4, 2012 at 2:19 PM, Al Viro wrote: > > > > Documentation/sysctl/vm.txt.rej| 21 + > > vm.txt.rej ??? Grrr... git add Documentation/sysctl/ during conflict-resolving in git am, having forgotten t

[PATCH] drivers/dma/sirf-dma.c: fix usage of devm functions

2012-08-04 Thread Julia Lawall
From: Julia Lawall Fix some problems with the use of devm_ functions. devm_kzalloc: devm_kfree is not needed devm_ioremap: iounmap should not be used, no free is needed devm_request_irq: the devm_free_irq is followed by irq_dispose_mapping. I don't know if it is safe to move the freeing of th

Re: [PATCH 00/22] Introducing the TI Keystone platform

2012-08-04 Thread Russell King - ARM Linux
On Tue, Jul 31, 2012 at 07:04:36PM -0400, Cyril Chemparathy wrote: > This series is a follow on to the RFC series posted earlier (archived at [1]). > The major change introduced here is the modification to the kernel patching > mechanism for phys_to_virt/virt_to_phys, in order to support LPAE platf

[PATCH v2] sched: Document schedule() entry points

2012-08-04 Thread Pekka Enberg
This patch adds a comment on top of the schedule() function to explain to scheduler newbies how the main scheduler function is entered. Cc: Randy Dunlap Explained-by: Ingo Molnar Explained-by: Peter Zijlstra Signed-off-by: Pekka Enberg --- V1 -> V2: Fix funky grammar pointed out by Peter and R

Re: [PATCH v3] printk: add option to print cpu id

2012-08-04 Thread Russell King - ARM Linux
On Fri, Aug 03, 2012 at 03:25:17PM -0700, Pandita, Vikram wrote: > Other issue i found, using this patch, that on multi-core ARM systems, > almost 99% of times, IRQ's are handled by CPU0, > even if CPU0 was really busy and other CPU's were free. I am yet to > understand a good reason why. That is

Re: [PATCH 3/4 V2] Use get_online_cpus to avoid races involving CPU hotplug

2012-08-04 Thread Jean Delvare
On Fri, 3 Aug 2012 12:35:28 -0700, Silas Boyd-Wickizer wrote: > via_cputemp_init in drivers/hwmon/via-cputemp.c loops with > for_each_online_cpu, adding platform_devices, then calls > register_hotcpu_notifier. If a CPU is offlined between the loop and > register_hotcpu_notifier, then later onlined

Re: [PATCH 4/4 V2] Use get_online_cpus to avoid races involving CPU hotplug

2012-08-04 Thread Jean Delvare
On Fri, 3 Aug 2012 12:36:39 -0700, Silas Boyd-Wickizer wrote: > coretemp_init in drivers/hwmon/coretemp.c loops with > for_each_online_cpu, adding platform_devices and sysfs interfaces, > then calls register_hotcpu_notifier. There is a race if a CPU is > offlined or onlined after the loop, but bef

Re: [RFC/PATCH] zcache/ramster rewrite and promotion

2012-08-04 Thread Pekka Enberg
Hi Konrad, > On Tue, Jul 31, 2012 at 11:53:57PM +0300, Pekka Enberg wrote: >> Why on earth would you want to move that under the mm directory? On Wed, Aug 1, 2012 at 12:04 AM, Konrad Rzeszutek Wilk wrote: > If you take aside that problem that it is one big patch instead > of being split up in mo

Re: [RFC/PATCH] zcache/ramster rewrite and promotion

2012-08-04 Thread Pekka Enberg
Hi Dan, On Wed, Aug 1, 2012 at 12:13 AM, Dan Magenheimer wrote: > Ramster does the same thing but manages it peer-to-peer across > multiple systems using kernel sockets. One could argue that > the dependency on sockets makes it more of a driver than "mm" > but ramster is "memory management" too,

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-04 Thread Bart Van Assche
On 08/02/12 08:41, Chanho Min wrote: > This patch is to fix a oops from a torn down device. When > scsi_run_queue process starved queues, scsi_request_fn can race with > scsi_remove_device. In this case, rarely, scsi_request_fn release the > last reference and set sdev->request_queue to NULL. It re

link to version 3.5 has been removed from kernel.org

2012-08-04 Thread Micheal Blue
Why has the link to version 3.5 been removed from kernel.org and also from lkml.org?  When I browse there I see that mainline is 3.6-rc1 and stable is 3.4.7 which is different from the last time.  Is version 3.5 no longer considered stable? -- To unsubscribe from this list: send the line "unsubs

Re: [RFC PATCH 2/3] ACPIHP: ACPI system device hotplug slot enumerator

2012-08-04 Thread Jiang Liu
>> +/* >> + * Guess type of a hotplug slot according to child devices connecting to it. >> + */ >> +static enum acpihp_slot_type __init acpihp_enum_get_slot_type(u32 dev_types) >> +{ >> +BUG_ON(dev_types > 15); >> + >> +switch (dev_types) { >> +case 0: >> +/* Generic CONTAIN

Re: [PATCH] extcon: arizona: Implement button detection support

2012-08-04 Thread Mark Brown
On Sat, Aug 04, 2012 at 12:07:34PM +0530, anish kumar wrote: > According to my discussion with Mr. Myunjoo Ham.He said that single > driver should not be used for communicating with both extcon and input > subsystem and that is the reason he suggested that I split the samsung > jack driver into tw

Re: [PATCH v2] regmap: Add regmap dummy driver

2012-08-04 Thread Mark Brown
On Fri, Jul 27, 2012 at 02:58:20PM +0100, Dimitris Papastamos wrote: > Add a pseudo-driver for debugging and stress-testing the > regmap/regcache APIs. A standard set of tools for working Overall this looks good, most of the stuff below is fairly small. As a very high level comment it'd be reall

Re: [PATCH] regulator: add MAX8907 driver

2012-08-04 Thread Mark Brown
On Thu, Aug 02, 2012 at 12:27:13PM -0600, Stephen Warren wrote: > The MAX8907 is an I2C-based power-management IC containing voltage > regulators, a reset controller, a real-time clock, and a touch-screen > controller. > * Reworked the regulator driver to be represented as a single device that >

mq: INFO: possible circular locking dependency detected

2012-08-04 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest, using latest -next kernel, I've stumbled on the dump below. I think this is the result of commit 765927b2 ("switch dentry_open() to struct path, make it grab references itself"). [ 62.090519] ===

Re: [Xen-devel] Regression in xen-netfront on v3.6 (git commit c48a11c7ad2623b99bbd6859b0b4234e7f11176f, netvm: propagate page->pfmemalloc to skb)

2012-08-04 Thread Konrad Rzeszutek Wilk
On Fri, Aug 03, 2012 at 08:04:14AM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Aug 01, 2012 at 03:02:27PM -0400, Konrad Rzeszutek Wilk wrote: > > So I hadn't done a git bisection yet. But if I choose git commit: > > 4b24ff71108164e047cf2c95990b77651163e315 > > Merge tag 'for-v3.6' of git://gi

Re: [3.6-rc1] sched: clock counts too quickly

2012-08-04 Thread Tetsuo Handa
Hello. Tetsuo Handa wrote: > Under unknown condition, clock starts counting up too quickly which is enough > to confuse hangcheck timer to print stall warning. I wrote a test program. -- test program start -- #include #include #include int main(int argc, char *argv[]) {

[PATCH 1/3] drivers/video/auo_k190x.c: drop kfree of devm_kzalloc's data

2012-08-04 Thread Julia Lawall
From: Julia Lawall Using kfree to free data allocated with devm_kzalloc causes double frees. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; @@ x = devm_kzalloc(...) ... ?-kfree(x); // Signed-off-by: Julia Lawall --- drivers/vide

[PATCH 2/3] drivers/mfd/palmas.c: drop kfree of devm_kzalloc's data

2012-08-04 Thread Julia Lawall
From: Julia Lawall Using kfree to free data allocated with devm_kzalloc causes double frees. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; @@ x = devm_kzalloc(...) ... ?-kfree(x); // Signed-off-by: Julia Lawall --- drivers/mfd/

[PATCH 3/3] sound/soc/soc-core.c: drop kfree of devm_kzalloc's data

2012-08-04 Thread Julia Lawall
From: Julia Lawall Using kfree to free data allocated with devm_kzalloc causes double frees. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x; @@ x = devm_kzalloc(...) ... ?-kfree(x); // Signed-off-by: Julia Lawall --- The kfrees we

[PATCH 1/3] Documentation: update missing index files in block/00-INDEX

2012-08-04 Thread Namjae Jeon
Update missing index files in block/00-INDEX. Signed-off-by: Namjae Jeon --- Documentation/block/00-INDEX | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/block/00-INDEX b/Documentation/block/00-INDEX index d111e3b..d18ecd8 100644 --- a/Documentation

[PATCH 3/3] Documentation: update sysfs files in block/queue-sysfs.txt

2012-08-04 Thread Namjae Jeon
Update sysfs files in block/queue-sysfs.txt Signed-off-by: Namjae Jeon --- Documentation/block/queue-sysfs.txt | 64 +++ 1 file changed, 64 insertions(+) diff --git a/Documentation/block/queue-sysfs.txt b/Documentation/block/queue-sysfs.txt index d8147b3..122a

[PATCH 2/3] Documentation: update tunable options in block/cfq-iosched.txt

2012-08-04 Thread Namjae Jeon
Update tunable options in block/cfq-iosched.txt. Signed-off-by: Namjae Jeon --- Documentation/block/cfq-iosched.txt | 77 +++ 1 file changed, 77 insertions(+) diff --git a/Documentation/block/cfq-iosched.txt b/Documentation/block/cfq-iosched.txt index 6d670f5.

Re: [3.6-rc1] sched: clock counts too quickly

2012-08-04 Thread Tetsuo Handa
Tetsuo Handa wrote: > > Under unknown condition, clock starts counting up too quickly which is > > enough > > to confuse hangcheck timer to print stall warning. > I wrote a test program. I suspected that this is a problem within adjtimex() because strace reported clock jump at adjtimex(). But I'

[RFC PATCH v2 00/16] ACPI based system device hotplug framework

2012-08-04 Thread Jiang Liu
From: Jiang Liu The patchset is based on v3.5-rc6 and you may pull them from: git://github.com/jiangliu/linux.git acpihp Modern high-end server may support advanced hotplug features for system devices, including physical processor, memory board, IO extension board and/or computer node. The ACPI

[RFC PATCH v2 06/16] ACPIHP: group devices connecting to a hotplug slot according to device types

2012-08-04 Thread Jiang Liu
From: Jiang Liu ACPI devices connecting to an ACPI hotplug slot are divided into groups according to device types. Those devices will be configured/unconfigured in order of device types when hot-adding/hot-removing system devices. For example, when hot-adding a computer node with CPUs, memory, P

[RFC PATCH v2 03/16] ACPIHP: detect ACPI hotplug slots by checking ACPI _EJ0 method

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch implements a default mechanism to detect and manage ACPI system device hotplug slots based on standard ACPI interfaces. 1) Detech hotplug slot by checking existence of _EJ0 and _STA methods. 2) Power off a slot by excuting _EJ0 method. It's the default hotplug slot enu

[RFC PATCH v2 15/16] ACPIHP: implement ACPI hotplug sysfs interfaces

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch implements ACPI hotplug sysfs interfaces for system device hotplug. enable: (It should be named 'power', but that causes name conflicts.) echo 1 > enable: power on the hotplug slot. echo 0 > enable: power off the hotplug slot. connect: echo 1 > connect: create ACPI de

[RFC PATCH v2 01/16] ACPIHP: introduce a framework for ACPI based system device hotplug

2012-08-04 Thread Jiang Liu
From: Jiang Liu Modern high-end server may support advanced hotplug features for system devices, including physical processor, memory board, IO extension board/box and/or computer node. The ACPI specifications have provided standard interfaces between firmware and OS to support device hotplug at

[RFC PATCH v2 11/16] ACPIHP: analyse dependences among ACPI system device hotplug slots

2012-08-04 Thread Jiang Liu
From: Jiang Liu Some ACPI hotplug slots may have dependencies on other ACPI hotplug slots. For example, if a hotpluggable memory board is connected to a hotpluggble physical processor, the physical processor must be powered on before powering the memory board on. We could get dependency relation

[RFC PATCH v2 10/16] ACPIHP: system device hotplug driver skeleton

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch implements a skeleton for ACPI based system device hotplug driver. This device class driver will be bound to and manage ACPI hotplug slots. This is the default hotplug driver for ACPI based system device hotplug. Signed-off-by: Jiang Liu Signed-off-by: Hanjun Guo --

[RFC PATCH v2 05/16] ACPIHP: scan and walk ACPI devices connecting to an ACPI hotplug slot

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch enhances existing acpi_bus_scan() to create ACPI devices for hot-added system devices connecting to an ACPI hotplug slot. It also introduces a new interface to walk all ACPI devices connecting to an ACPI hotplug slot. Signed-off-by: Jiang Liu Signed-off-by: Hanjun Guo

[RFC PATCH v2 12/16] ACPIHP: cancel inprogress ACPI system device hotplug operations

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch implements functions to cancel inprogress ACPI system device hotplug operations. Signed-off-by: Jiang Liu Signed-off-by: Hanjun Guo --- drivers/acpi/hotplug/Makefile |1 + drivers/acpi/hotplug/acpihp_drv.h | 18 +++- drivers/acpi/hotplug/cancel.c | 17

[RFC PATCH v2 14/16] ACPIHP: implement the state machine for ACPI hotplug slots

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch implements the core of the new ACPI hotplug framework, it drivers the state machine for ACPI hotplug slots according to user commands. It also resolve dependencies among slots when transit the state machine. Signed-off-by: Jiang Liu --- drivers/acpi/hotplug/Makefile

[RFC PATCH v2 07/16] ACPIHP: add callbacks into acpi_device_ops to support new hotplug framework

2012-08-04 Thread Jiang Liu
From: Jiang Liu Add new callbacks into struct acpi_device_ops to provide better error handling, error recover and operation cancellation for ACPI based system device hotplug. There are three major operations and each major operation is divided into three steps. 1) pre_configure, configure, post_

[RFC PATCH v2 16/16] ACPIHP: enhance ACPI container driver to support new hotplug framework

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch enhances the ACPI container driver to support the new hotplug framework: 1) remove code to handle ACPI hotplug event 2) add callbacks to support new hotplug framework Signed-off-by: Jiang Liu --- drivers/acpi/container.c | 201 +++

[RFC PATCH v2 02/16] ACPIHP: ACPI system device hotplug slot enumerator

2012-08-04 Thread Jiang Liu
From: Jiang Liu The first is an ACPI hotplug slot enumerator, which enumerates ACPI hotplug slots on load and provides callbacks to manage those hotplug slots. An ACPI hotplug slot is an abstraction of receptacles, where a group of system devices could be connected to. This patch implements the s

[RFC PATCH v2 13/16] ACPIHP: configure/unconfigure system devices connecting to a hotplug slot

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch implements functions to configure/unconfigure system devices connecting to a hotplug slot. To support better error recover and cancellation, configuration operations are splitted into three steps and unconfiguration operations are splitted into six steps as below: CONF

[RFC PATCH v2 04/16] ACPI: introduce interfaces to manage ACPI device reference count

2012-08-04 Thread Jiang Liu
From: Jiang Liu Function acpi_bus_get_device() return an ACPI device without holding a reference count the device, which is not safe to ACPI hotplug operations. So change acpi_bus_get_device() to hold a reference count on the returned ACPI device and introduces acpi_get_device()/acpi_put_device(

[RFC PATCH v2 09/16] ACPIHP: implement utility functions to support system device hotplug

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch implements some utility funcitons to support system device hotplug. Signed-off-by: Jiang Liu Signed-off-by: Hanjun Guo --- drivers/acpi/hotplug/core.c | 80 +++ include/acpi/acpi_hotplug.h |9 + 2 files changed, 89 i

[RFC PATCH v2 08/16] ACPIHP: provide interfaces to associate driver specific data to hotplug slots

2012-08-04 Thread Jiang Liu
From: Jiang Liu This patch provides interfaces to attach/detach/get class driver specific data to/from ACPI hotplug slots. Signed-off-by: Jiang Liu Signed-off-by: Gaohuai Han --- drivers/acpi/hotplug/core.c | 88 +++ include/acpi/acpi_hotplug.h |8

Re: [PATCH v2] regmap: Add regmap dummy driver

2012-08-04 Thread Dimitris Papastamos
On Sat, Aug 04, 2012 at 11:05:23AM +0100, Mark Brown wrote: > On Fri, Jul 27, 2012 at 02:58:20PM +0100, Dimitris Papastamos wrote: > > Add a pseudo-driver for debugging and stress-testing the > > regmap/regcache APIs. A standard set of tools for working > > Overall this looks good, most of the st

Re: [PATCH 1/2] regulator: whitespace

2012-08-04 Thread Mark Brown
On Thu, Jul 26, 2012 at 04:07:23PM +0200, Michael Jones wrote: > > Signed-off-by: Michael Jones Applied, thanks. -- 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/majordo

Re: [PATCH] regulator: core: increment open_count when regulator supply is set

2012-08-04 Thread Mark Brown
On Mon, Jul 23, 2012 at 08:35:46PM +0530, Laxman Dewangan wrote: > When registering the regulator and setting supply for the regulator > then increment open_count to reflect correct number of users. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH] regmap-irq: allow auto-allocated IRQs to be mapped

2012-08-04 Thread Mark Brown
On Wed, Aug 01, 2012 at 07:05:15PM +0100, Anthony Olech wrote: > if the irq_base is set to -1 when calling regmap_add_irq_chip() > then allow the IRQ to be mapped even if the allocated irq_base > is actually zero. > This restores the behaviour seen in v3.4, and I assume that the > tidy-ups just m

Re: [PATCH] spi: omap2-mcspi: Fix the error handling in probe

2012-08-04 Thread Mark Brown
On Thu, Aug 02, 2012 at 04:41:25PM +0530, Shubhrajyoti D wrote: > The kfree() is taken care of by the spi core (spi_master_release() function) > that is called once the last reference to the underlying struct device has > been released. So the driver need not call kfree. Applied, thanks. -- To uns

Re: [Xen-devel] Regression in xen-netfront on v3.6 (git commit c48a11c7ad2623b99bbd6859b0b4234e7f11176f, netvm: propagate page->pfmemalloc to skb)

2012-08-04 Thread Mel Gorman
On Sat, Aug 04, 2012 at 07:03:55AM -0400, Konrad Rzeszutek Wilk wrote: > On Fri, Aug 03, 2012 at 08:04:14AM -0400, Konrad Rzeszutek Wilk wrote: > > On Wed, Aug 01, 2012 at 03:02:27PM -0400, Konrad Rzeszutek Wilk wrote: > > > So I hadn't done a git bisection yet. But if I choose git commit: > > > 4b

Re: [3.6-rc1] sched: clock counts too quickly

2012-08-04 Thread Tetsuo Handa
Hello. Bisected to 2a8c0883 "time: Move xtime_nsec adjustment underflow handling timekeeping_adjust". Would you check? Regards. Tetsuo Handa wrote: > Tetsuo Handa wrote: > > > Under unknown condition, clock starts counting up too quickly which is > > > enough > > > to confuse hangcheck timer t

Re: [RFC PATCH 08/23 V2] hugetlb: use N_MEMORY instead N_HIGH_MEMORY

2012-08-04 Thread Hillf Danton
On Thu, Aug 2, 2012 at 2:01 PM, Lai Jiangshan wrote: > N_HIGH_MEMORY stands for the nodes that has normal or high memory. > N_MEMORY stands for the nodes that has any memory. > > The code here need to handle with the nodes which have memory, we should > use N_MEMORY instead. > > Signed-off-by: Lai

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-04 Thread Mark Brown
On Fri, Aug 03, 2012 at 10:15:46AM +0900, Alex Courbot wrote: > On Fri 03 Aug 2012 03:11:12 AM JST, Mark Brown wrote: > >I missed some of the earlier bits of the thread here but why can't we do > >device based lookups? > That is because the phandles would not be properties of the device > node bu

[PATCH/v2] [trivial] dma: Fix typo various drivers in dma

2012-08-04 Thread Masanari Iida
Correct spelling typo in drivers/dma. Signed-off-by: Masanari Iida --- drivers/dma/at_hdmac.c | 8 drivers/dma/ep93xx_dma.c | 2 +- drivers/dma/fsldma.c | 2 +- drivers/dma/imx-dma.c| 4 ++-- drivers/dma/intel_mid_dma_regs.h | 6 +++--- drivers/

Re: [RFC] page-table walkers vs memory order

2012-08-04 Thread Andrea Arcangeli
On Tue, Jul 24, 2012 at 02:51:05PM -0700, Hugh Dickins wrote: > Since then, I think THP has made the rules more complicated; but I > believe Andrea paid a great deal of attention to that kind of issue. There were many issues, one unexpected was 1a5a9906d4e8d1976b701f889d8f35d54b928f25. Keep in mi

Re: [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-04 Thread Maxim Levitsky
On Mon, 2012-07-23 at 18:25 +0300, Aioanei Rares wrote: > On Thu, Jul 5, 2012 at 11:24 PM, Martin Nyhus wrote: > > > > On Mon, 11 Jun 2012 23:18:42 +0200 Martin Nyhus wrote: > > > after resuming from suspend nouveau starts writing Failed to idle > > > channel x (where x is 2 or 3) to the log and

Re: [PATCH V3 1/4] [SCSI] drivers/scsi/ufs: Seggregate PCI Specific Code

2012-08-04 Thread vinayak holikatti
On Wed, Aug 1, 2012 at 8:08 PM, Arnd Bergmann wrote: > On Thursday 26 July 2012, Vinayak Holikatti wrote: > >> -static void ufshcd_remove(struct pci_dev *pdev) >> +void ufshcd_remove(struct ufs_hba *hba) >> { >> - struct ufs_hba *hba = pci_get_drvdata(pdev); >> - >> /* disable interrupt

Re: TCP Delayed ACK in FIN/ACK

2012-08-04 Thread richard -rw- weinberger
On Sat, Aug 4, 2012 at 4:45 PM, Sławek Janecki wrote: > I have a node.js client (10.177.62.7) requesting some data from http > rest service from server (10.177.0.1). > Client is simply using nodejs http.request() method (agent=false). > Client is on Ubuntu 11.10 box. > Why client sends FIN ACK aft

[PATCH 0/5] cputime: Generic virtual based cputime accounting v3

2012-08-04 Thread Frederic Weisbecker
Hi, Changes since v2 (https://lwn.net/Articles/509575/) are only about converting the "code domain tracking" naming to "context tracking" as per Ingo's suggestion. And the result indeed looks much better. Ring 0 dark knights can pull from: git://github.com/fweisbec/linux-dynticks.git vti

[PATCH 4/5] cputime: Rename account_system_vtime to account_vtime

2012-08-04 Thread Frederic Weisbecker
account_system_vtime() can be called from random places: hard/softirq entry/exit, kvm guest entry/exit, and even context switches on powerpc. Rename it to the even more generic account_vtime() name, this reflect well that we are in a random place in the kernel where we have either system, idle or

[PATCH 5/5] cputime: Generic on-demand virtual cputime accounting

2012-08-04 Thread Frederic Weisbecker
If we want to stop the tick further idle, we need to be able to account the cputime without using the tick. Virtual based cputime accounting solves that problem by hooking into kernel/user boundaries. However implementing CONFIG_VIRT_CPU_ACCOUNTING requires to set low level hooks and involves mor

[PATCH 2/5] cputime: Don't allow virtual and irq finegrained cputime accounting simultaneously

2012-08-04 Thread Frederic Weisbecker
We may soon be able to run both at the same time. But we need to rework a bit the irq finegrained accounting before that. Just do a mutual exclusion for now. Signed-off-by: Frederic Weisbecker Cc: Alessio Igor Bogani Cc: Andrew Morton Cc: Avi Kivity Cc: Chris Metcalf Cc: Christoph Lameter Cc

[PATCH 1/5] context_tracking: New context tracking susbsystem

2012-08-04 Thread Frederic Weisbecker
Create a new subsystem that probes on kernel boundaries to keep track of the transitions between level contexts with two basic initial contexts: user or kernel. This is an abstraction of some RCU code that use such tracking to implement its userspace extended quiescent state. We need to pull this

[PATCH 3/5] cputime: Allow dynamic switch between tick/virtual based cputime accounting

2012-08-04 Thread Frederic Weisbecker
Allow to dynamically switch between tick and virtual based cputime accounting. This way we can provide a kind of "on-demand" virtual based cputime accounting. In this mode, the kernel will rely on the user hooks subsystem to dynamically hook on kernel boundaries. This is in preparation for beeing

Why is there no nouveau driver maintainer listed in MAINTAINERS?

2012-08-04 Thread Miles Lane
I would like to report an issue in the nouveau driver, but don't know who to report it to. Thanks, Miles -- 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-

Re: [ 33/73] x86, microcode: Sanitize per-cpu microcode reloading interface

2012-08-04 Thread Ben Hutchings
On Fri, 2012-08-03 at 14:27 +0200, Borislav Petkov wrote: > On Fri, Aug 03, 2012 at 11:43:14AM +0200, Borislav Petkov wrote: > > On Fri, Aug 03, 2012 at 11:04:06AM +0200, Sven Joachim wrote: > > > On 2012-07-31 06:43 +0200, Ben Hutchings wrote: > > > > > > > 3.2-stable review patch. If anyone has

Re: Why is there no nouveau driver maintainer listed in MAINTAINERS?

2012-08-04 Thread richard -rw- weinberger
On Sat, Aug 4, 2012 at 5:36 PM, Miles Lane wrote: > I would like to report an issue in the nouveau driver, but don't know > who to report it to. We have a script for this. rw@raccoon:/media/data1/linux-2.6 (master)> ./scripts/get_maintainer.pl -f ./drivers/gpu/drm/nouveau Ben Skeggs (commit_sig

Re: [ 33/73] x86, microcode: Sanitize per-cpu microcode reloading interface

2012-08-04 Thread Henrique de Moraes Holschuh
On Sat, 04 Aug 2012, Ben Hutchings wrote: > On Fri, 2012-08-03 at 14:27 +0200, Borislav Petkov wrote: > > On Fri, Aug 03, 2012 at 11:43:14AM +0200, Borislav Petkov wrote: > > > On Fri, Aug 03, 2012 at 11:04:06AM +0200, Sven Joachim wrote: > > > > On 2012-07-31 06:43 +0200, Ben Hutchings wrote: > >

[3.5 regression] DRM: Massive (EDID-probing?) X startup delay on ATI Radeon RV770 (HD4870)

2012-08-04 Thread Nix
Possibly-relevant info: - Two DVI monitors, identical specs, one dual-head graphics card (so no VGA switcheroo or awesome-yet-terrifying PRIME madness needed) - KMS, Xserver 1.12.3, driver 6.14.6-28 (trunk current as of today), Mesa 8.0.4, libdrm 2.4.37 As of kernel 3.5 EDID probing of t

Re: Why is there no nouveau driver maintainer listed in MAINTAINERS?

2012-08-04 Thread Calvin Walton
On Sat, 2012-08-04 at 17:49 +0200, richard -rw- weinberger wrote: > On Sat, Aug 4, 2012 at 5:36 PM, Miles Lane wrote: > > I would like to report an issue in the nouveau driver, but don't know > > who to report it to. > > We have a script for this. > > rw@raccoon:/media/data1/linux-2.6 (master)>

Re: TCP Delayed ACK in FIN/ACK

2012-08-04 Thread Eric Dumazet
On Sat, 2012-08-04 at 16:51 +0200, richard -rw- weinberger wrote: > On Sat, Aug 4, 2012 at 4:45 PM, Sławek Janecki wrote: > > I have a node.js client (10.177.62.7) requesting some data from http > > rest service from server (10.177.0.1). > > Client is simply using nodejs http.request() method (age

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-04 Thread Mike Christie
On 08/04/2012 04:01 AM, Bart Van Assche wrote: > On 08/02/12 08:41, Chanho Min wrote: >> This patch is to fix a oops from a torn down device. When >> scsi_run_queue process starved queues, scsi_request_fn can race with >> scsi_remove_device. In this case, rarely, scsi_request_fn release the >> last

[PATCH 6/6] drivers/net/phy/mdio-mux-gpio.c: drop devm_kfree of devm_kzalloc'd data

2012-08-04 Thread Julia Lawall
From: Julia Lawall devm_kfree should not have to be explicitly used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,d; @@ x = devm_kzalloc(...) ... ?-devm_kfree(d,x); // Signed-off-by: Julia Lawall --- drivers/net/phy/mdio-mux-gp

[PATCH 3/6] drivers/char/hw_random/octeon-rng.c: drop frees of devm allocated data

2012-08-04 Thread Julia Lawall
From: Julia Lawall devm_kfree and devm_iounmap should not have to be explicitly used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,d; @@ x = devm_kzalloc(...) ... ?-devm_kfree(d,x); // Signed-off-by: Julia Lawall --- drivers/ch

[PATCH 5/6] drivers/video/backlight/da9052_bl.c: drop devm_kfree of devm_kzalloc'd data

2012-08-04 Thread Julia Lawall
From: Julia Lawall devm_kfree should not have to be explicitly used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,d; @@ x = devm_kzalloc(...) ... ?-devm_kfree(d,x); // Signed-off-by: Julia Lawall --- drivers/video/backlight/da9

Re: Why is there no nouveau driver maintainer listed in MAINTAINERS?

2012-08-04 Thread Maarten Lankhorst
Hey, Op 04-08-12 18:33, Calvin Walton schreef: > On Sat, 2012-08-04 at 17:49 +0200, richard -rw- weinberger wrote: >> On Sat, Aug 4, 2012 at 5:36 PM, Miles Lane wrote: >>> I would like to report an issue in the nouveau driver, but don't know >>> who to report it to. >> We have a script for this.

[PATCH 4/6] drivers/pinctrl/pinctrl-nomadik.c: drop devm_kfree of devm_kzalloc'd data

2012-08-04 Thread Julia Lawall
From: Julia Lawall devm_kfree should not have to be explicitly used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,d; @@ x = devm_kzalloc(...) ... ?-devm_kfree(d,x); // Signed-off-by: Julia Lawall --- drivers/pinctrl/pinctrl-nom

[PATCH 1/6] drivers/thermal/rcar_thermal.c: drop frees of devm allocated data

2012-08-04 Thread Julia Lawall
From: Julia Lawall devm_kfree and devm_iounmap should not have to be explicitly used. The semantic patch that fixes one of these problems is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,d; @@ x = devm_kzalloc(...) ... ?-devm_kfree(d,x); // Signed-off-by: Julia Lawall --- d

[PATCH 2/6] drivers/mfd: drop frees of devm allocated data

2012-08-04 Thread Julia Lawall
From: Julia Lawall devm_kfree should not have to be explicitly used. devm_regmap_init_i2c also does not require an explicit free. The semantic patch that fixes the first problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression x,d; @@ x = devm_kzalloc(...) ... ?-devm_kfree(d,x); /

Re: [RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-04 Thread Seth Forshee
On Fri, Aug 03, 2012 at 05:27:02PM +0100, Matthew Garrett wrote: > On Fri, Aug 03, 2012 at 11:24:51AM -0500, Seth Forshee wrote: > > > This is one of the things I wasn't so sure about. There are various > > checks in intel_lvds_init() that can cause it to bail out before we try > > to get the EDID

i915 regression on 3.6-rc1: lid blanks screen

2012-08-04 Thread Hugh Dickins
Sorry to report that with 3.6-rc1, closing and opening the lid on this ThinkPad T420s leaves the screen blank, and I have to reboot. I understand there's also an nVidia graphics device in here, but I have that configured out, preferring to use the i915: 00:02.0 VGA compatible controller: Intel Co

[PATCH] drivers/i2c/i2c-smbus.c: convert kzalloc to devm_kzalloc

2012-08-04 Thread Julia Lawall
From: Julia Lawall Converting kzalloc to devm_kzalloc simplifies the code and ensures that the result, alert, is freed after the irq allocated by the subsequent devm_request_irq. This in turn ensures that when an interrupt can be triggered, the alert structure is still available. The problem of

[PATCH] staging: sm7xxfb: copy name of the device before calling smtc_alloc_fb_info

2012-08-04 Thread Devendra Naga
as we do a strcpy(smdrv_ptr->fb_struct->fix->id, name), and the name here in sm7xxx_probe is not having any assignment, and which leads to copying of the garbage value into the id field of the fix struct of fb interface struct. fix it by copying the name before calling alloc_fbinfo Signed-off-by

Re: [ 33/73] x86, microcode: Sanitize per-cpu microcode reloading interface

2012-08-04 Thread Ben Hutchings
On Sat, 2012-08-04 at 13:07 -0300, Henrique de Moraes Holschuh wrote: > On Sat, 04 Aug 2012, Ben Hutchings wrote: > > On Fri, 2012-08-03 at 14:27 +0200, Borislav Petkov wrote: > > > On Fri, Aug 03, 2012 at 11:43:14AM +0200, Borislav Petkov wrote: > > > > On Fri, Aug 03, 2012 at 11:04:06AM +0200, Sv

[PATCH V2] staging: sm7xxfb: copy name of the device before calling smtc_alloc_fb_info

2012-08-04 Thread Devendra Naga
as we do a strcpy(smdrv_ptr->fb_struct->fix->id, name), and the name here in sm7xxx_probe is not having any assignment, and which leads to copying of the garbage value into the id field of the fix struct of fb interface struct. fix it by copying the name before calling alloc_fbinfo. Signed-off-b

Re: [PATCH] CRIS: Fix I/O macros

2012-08-04 Thread Corey Minyard
Can we get something like this in? It would fix a lot of build regressions. -corey On 07/09/2012 03:22 PM, miny...@acm.org wrote: From: Corey Minyard The inb/outb macros for CRIS are broken from a number of points of view, missing () around parameters and they have an unprotected if statemen

[PATCH 0/2] Fix ACS path checking

2012-08-04 Thread Alex Williamson
David Ahern reported an oops caused by passing a NULL start device to pci_acs_path_enabled(). This can happen when a bus is created for sr-iov devices without an associated bridge. To handle this, skip over to the parent bus and look for a bridge there. Continue until we find something or reach

[PATCH 2/2] amd-iommu: Fix ACS path checking

2012-08-04 Thread Alex Williamson
SR-IOV can create buses without a bridge. There may be other cases where this happens as well. In these cases skip to the parent bus and continue testing devices there. Signed-off-by: Alex Williamson --- drivers/iommu/amd_iommu.c | 25 ++--- 1 file changed, 22 insert

[PATCH 1/2] intel-iommu: Fix ACS path checking

2012-08-04 Thread Alex Williamson
SR-IOV can create buses without a bridge. There may be other cases where this happens as well. In these cases skip to the parent bus and continue testing devices there. Signed-off-by: Alex Williamson --- drivers/iommu/intel-iommu.c | 25 ++--- 1 file changed, 22 insertio

[PATCH 1/2] staging: media: cxd2099: fix sparse warnings in cxd2099_attach

2012-08-04 Thread Devendra Naga
The following sparse warnings were fixed drivers/staging/media/cxd2099/cxd2099.c:686:26: warning: Using plain integer as NULL pointer drivers/staging/media/cxd2099/cxd2099.c:691:24: warning: Using plain integer as NULL pointer drivers/staging/media/cxd2099/cxd2099.c:696:24: warning: Using plain

[PATCH 2/2] staging: media: cxd2099: use kzalloc to allocate ci pointer of type struct cxd in cxd2099_attach

2012-08-04 Thread Devendra Naga
this does kmalloc and followed by memset, calling kzalloc will actually sets the allocated memory to zero, use kzalloc instead Signed-off-by: Devendra Naga --- drivers/staging/media/cxd2099/cxd2099.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/media/c

  1   2   >