[ 006/187] powerpc/ftrace: Do not trace restore_interrupts()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt rost...@goodmis.org commit 2d773aa4810d4a612d1c879faacc38594cc3f841 upstream. As I was adding code that affects all archs, I started

[ 008/187] powerpc/pseries: Fix software invalidate TCE

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Neuling mi...@neuling.org commit bc6dc752f35488160ffac07ae91bed1bddaea32a upstream. The following added support for powernv but broke

[ 011/187] ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jonghwan Choi jhbird.c...@samsung.com commit a5d8f4765f0e92ef027492a8cb979c5b8d45f2c3 upstream. On the error condition clk_get() returns ERR_PTR().

[ 024/187] net: l2tp_eth: fix kernel panic on rmmod l2tp_eth

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit a06998b88b1651c5f71c0e35f528bf2057188ead ] We must prevent module unloading if some devices are

[ 031/187] sky2: fix checksum bit management on some chips

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: stephen hemminger shemmin...@vyatta.com [ Upstream commit 5ff0feac88ced864f44adb145142269196fa79d9 ] The newer flavors of Yukon II use a different

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

2012-07-12 Thread Chanwoo Choi
Hi Greg, On 07/13/2012 12:36 AM, Greg KH wrote: On Thu, Jul 12, 2012 at 01:32:27PM +0900, Chanwoo Choi wrote: This patch modify 'Kconfig' of EXTCON Subsystem to support either active or inactive of EXTCON Subsystem. The various subsystem refer to EXTCON subsystem for controlling external

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

2012-07-12 Thread Tony Luck
On Thu, Jul 12, 2012 at 4:36 PM, Tejun Heo t...@kernel.org wrote: The debug patch didn't do anything for the bug itself. I suppose it's timing dependent and doesn't always happen (it never reproduces here for some reason). Can you please repeat several times and see whether the warning can

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

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

[ 030/187] ipv6: Move ipv6 proc file registration to end of init order

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Graf tg...@suug.ch [ Upstream commit d189634ecab947c10f6f832258b103d0bbfe73cc ] /proc/net/ipv6_route reflects the contents of fib_table_hash.

[ 027/187] lpc_eth: fix tx completion

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit 3f16da51b0e533871d22a29682f3c3969d4f7e22 ] __lpc_handle_xmit() has two bugs : 1) It can leak skbs

[ 025/187] l2tp: fix a race in l2tp_ip_sendmsg()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit 4399a4df98a63e30fd16e9d0cecc46ea92269e8f ] Commit 081b1b1bb27f (l2tp: fix l2tp_ip_sendmsg() route

[ 023/187] inetpeer: fix a race in inetpeer_gc_worker()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit 55432d2b543a4b6dfae54f5c432a566877a85d90 ] commit 5faa5df1fa2024 (inetpeer: Invalidate the inetpeer

[ 022/187] drop_monitor: dont sleep in atomic context

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet eduma...@google.com [ Upstream commit bec4596b4e6770c7037f21f6bd27567b152dc0d6 ] drop_monitor calls several sleeping functions while in

[ 013/187] powerpc/kvm: sldi should be sld

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Neuling mi...@neuling.org commit 2f584a146a2965b82fce89b8d2f95dc5cfe468d0 upstream. Since we are taking a registers, this should never have

[ 017/187] bql: Avoid unneeded limit decrement.

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hiroaki SHIMODA shimoda.hiro...@gmail.com [ Upstream commit 25426b794efdc70dde7fd3134dc56fac3e7d562d ] When below pattern is observed,

[ 015/187] media: smsusb: add autodetection support for USB ID 2040:f5a0

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Krufky mkru...@linuxtv.org commit 3e1141e2ce5667301a74ca2ef396d9bd5e995f7f upstream. Signed-off-by: Michael Krufky mkru...@linuxtv.org

[ 012/187] ARM: 7438/1: fill possible PMD empty section gaps

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Pitre nicolas.pi...@linaro.org commit 19b52abe3c5d759661500a1dc810924369b2ad46 upstream. On ARM with the 2-level page table format, a PMD entry

[ 010/187] ARM: SAMSUNG: Fix for S3C2412 EBI memory mapping

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH gre...@linuxfoundation.org 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jose Miguel Goncalves jose.goncal...@inov.pt commit 3dca938656c7b0ff6b0717a5dde0f5f45e592be5 upstream. While upgrading the kernel on a S3C2412 based

Re: UIO: missing resource mapping

2012-07-12 Thread Michael S. Tsirkin
On Fri, Jul 13, 2012 at 01:40:11AM +0200, Hans J. Koch wrote: On Fri, Jul 13, 2012 at 02:16:32AM +0300, Michael S. Tsirkin wrote: On Thu, Jul 12, 2012 at 09:44:33PM +0200, Hans J. Koch wrote: Looking further at the code, I cannot see where the mem fields are being filled at all.

Re: [PATCH 0/6] Fix for leapsecond caused hrtimer/futex issue (updated)

2012-07-12 Thread John Stultz
On 07/12/2012 03:43 PM, Jiri Bohac wrote: On Tue, Jul 10, 2012 at 03:53:59PM -0700, John Stultz wrote: On 07/10/2012 03:43 PM, John Stultz wrote: Over the weekend, Thomas got a chance to review the leap second fix in more detail and had a few additional changes he wanted to make to improve

[PATCH v2 00/12] rbtree updates

2012-07-12 Thread Michel Lespinasse
Change log since v1: - Added tree graphs as comments as suggested by Peter - Fixed coding style in rest of lib/rbtree.c as suggested by Peter - made clear rb_parent_color is private, not to be directly accessed, by renaming it to __rb_parent_color - collapsed some low level optimization patches

[PATCH v2 01/12] rbtree: reference Documentation/rbtree.txt for usage instructions

2012-07-12 Thread Michel Lespinasse
include/linux/rbtree.h included some basic usage instructions, while Documentation/rbtree.txt had some more complete and easier to follow instructions. Replacing the former with a reference to the latter. Signed-off-by: Michel Lespinasse wal...@google.com --- include/linux/rbtree.h | 67

[PATCH v2 02/12] rbtree: empty nodes have no color

2012-07-12 Thread Michel Lespinasse
Empty nodes have no color. We can make use of this property to simplify the code emitted by the RB_EMPTY_NODE and RB_CLEAR_NODE macros. Also, we can get rid of the rb_init_node function which had been introduced by commit 88d19cf37952a7e1e38b2bf87a00f0e857e63180 to avoid some issue with the

[PATCH v2 10/12] rbtree: optimize case selection logic in __rb_erase_color()

2012-07-12 Thread Michel Lespinasse
In __rb_erase_color(), we have to select one of 3 cases depending on the color on the 'other' node children. If both children are black, we flip a few node colors and iterate. Otherwise, we do either one or two tree rotations, depending on the color of the 'other' child opposite to 'node', and

[PATCH v2 12/12] rbtree: coding style adjustments

2012-07-12 Thread Michel Lespinasse
Set comment and indentation style to be consistent with linux coding style and the rest of the file, as suggested by Peter Zijlstra Signed-off-by: Michel Lespinasse wal...@google.com --- lib/rbtree.c | 42 +++--- 1 files changed, 23 insertions(+), 19

[PATCH v2 03/12] rbtree: fix incorrect rbtree node insertion in fs/proc/proc_sysctl.c

2012-07-12 Thread Michel Lespinasse
The recently added code to use rbtrees in sysctl did not follow the proper rbtree interface on insertion - it was calling rb_link_node() which inserts a new node into the binary tree, but missed the call to rb_insert_color() which properly balances the rbtree and establishes all expected rbtree

[PATCH v2 04/12] rbtree: move some implementation details from rbtree.h to rbtree.c

2012-07-12 Thread Michel Lespinasse
rbtree users must use the documented APIs to manipulate the tree structure. Low-level helpers to manipulate node colors and parenthood are not part of that API, so move them to lib/rbtree.c Signed-off-by: Michel Lespinasse wal...@google.com --- include/linux/rbtree.h | 34

[PATCH v2 05/12] rbtree: performance and correctness test

2012-07-12 Thread Michel Lespinasse
This small module helps measure the performance of rbtree insert and erase. Additionally, we run a few correctness tests to check that the rbtrees have all desired properties: - contains the right number of nodes in the order desired, - never two consecutive red nodes on any path, - all paths to

[PATCH v2 11/12] rbtree: low level optimizations in __rb_erase_color()

2012-07-12 Thread Michel Lespinasse
In __rb_erase_color(), we often already have pointers to the nodes being rotated and/or know what their colors must be, so we can generate more efficient code than the generic __rb_rotate_left() and __rb_rotate_right() functions. Also when the current node is red or when flipping the sibling's

[PATCH v2 09/12] rbtree: adjust node color in __rb_erase_color() only when necessary

2012-07-12 Thread Michel Lespinasse
In __rb_erase_color(), we were always setting a node to black after exiting the main loop. And in one case, after fixing up the tree to satisfy all rbtree invariants, we were setting the current node to root just to guarantee a loop exit, at which point the root would be set to black. However this

[PATCH v2 08/12] rbtree: low level optimizations in rb_insert_color()

2012-07-12 Thread Michel Lespinasse
- Use the newly introduced rb_set_parent_color() function to flip the color of nodes whose parent is already known. - Optimize rb_parent() when the node is known to be red - there is no need to mask out the color in that case. - Flipping gparent's color to red requires us to fetch its

[PATCH v2 07/12] rbtree: adjust root color in rb_insert_color() only when necessary

2012-07-12 Thread Michel Lespinasse
The root node of an rbtree must always be black. However, rb_insert_color() only needs to maintain this invariant when it has been broken - that is, when it exits the loop due to the current (red) node being the root. In all other cases (exiting after tree rotations, or exiting due to an existing

[PATCH v2 06/12] rbtree: break out of rb_insert_color loop after tree rotation

2012-07-12 Thread Michel Lespinasse
It is a well known property of rbtrees that insertion never requires more than two tree rotations. In our implementation, after one loop iteration identified one or two necessary tree rotations, we would iterate and look for more. However at that point the node's parent would always be black,

Re: [PATCH 00/13] rbtree updates

2012-07-12 Thread Michel Lespinasse
On Thu, Jul 12, 2012 at 7:12 AM, Peter Zijlstra pet...@infradead.org wrote: On Wed, 2012-07-11 at 18:12 -0700, Michel Lespinasse wrote: In __rb_erase_color(), some of the cases are more complicated than you drew however, because some node colors aren't known. Right, the wikipedia article

Re: [PATCH 0/6] Fix for leapsecond caused hrtimer/futex issue (updated)

2012-07-12 Thread John Stultz
On 07/10/2012 04:00 PM, John Stultz wrote: On 07/10/2012 03:43 PM, John Stultz wrote: Over the weekend, Thomas got a chance to review the leap second fix in more detail and had a few additional changes he wanted to make to improve performance as well as style. So this iteration includes his

[PATCH 0/2] staging: comedi: remove the devpriv and thisboard macros

2012-07-12 Thread H Hartley Sweeten
The macros 'devpriv' and 'thisboard' rely on a local variable having a specific name and yeild pointers derived from that variable. Replace the macros with local variables where used and use to comedi_board() helper to get the 'thisboard' pointer. The dt282x driver needs some initial cleanup to

[PATCH 1/2] staging: comedi: dt282x: remove the outw wrapper macros

2012-07-12 Thread H Hartley Sweeten
The macros 'update_dacsr', 'update_adcsr', and 'update_supcsr' all use the 'devpriv' macro which uses a local variable of a specific name and yeilds a pointer derived from that name. They are also just wrappers around simple 'outw' calls. Remove the macros. Signed-off-by: H Hartley Sweeten

Re: [PATCH 3/3 v3] memory-hotplug: fix kswapd looping forever problem

2012-07-12 Thread Minchan Kim
On Thu, Jul 12, 2012 at 02:01:54PM -0700, Andrew Morton wrote: On Thu, 12 Jul 2012 11:50:49 +0900 Minchan Kim minc...@kernel.org wrote: When hotplug offlining happens on zone A, it starts to mark freed page as MIGRATE_ISOLATE type in buddy for preventing further allocation.

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

2012-07-12 Thread Asias He
Hello Jeff, On 07/13/2012 12:06 AM, Jeff Moyer wrote: Asias He as...@redhat.com writes: Hi folks, This patchset adds vhost-blk support. vhost-blk is a in kernel virito-blk device accelerator. Compared to userspace virtio-blk implementation, vhost-blk gives about 5% to 15% performance

Linux 3.2.23

2012-07-12 Thread Ben Hutchings
I'm announcing the release of the 3.2.23 kernel. All users of the 3.2 kernel series should upgrade. The updated 3.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.2.y and can be browsed at the normal kernel.org git web browser:

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

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

Re: [ 22/68] ath9k_hw: avoid possible infinite loop in ar9003_get_pll_sqsum_dvc

2012-07-12 Thread Herton Ronaldo Krzesinski
On Thu, Jul 12, 2012 at 04:01:56PM -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com commit

Re: [ 51/68] PCI: EHCI: fix crash during suspend on ASUS computers

2012-07-12 Thread Herton Ronaldo Krzesinski
On Thu, Jul 12, 2012 at 04:02:25PM -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- Missing also the diff/signoff area on this one. From: Alan Stern

Re: [ 54/68] tracing: change CPU ring buffer state from tracing_cpumask

2012-07-12 Thread Herton Ronaldo Krzesinski
On Thu, Jul 12, 2012 at 04:02:28PM -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Vaibhav Nagarnaik vnagarn...@google.com commit

Re: [ 66/68] mm: Hold a file reference in madvise_remove

2012-07-12 Thread Herton Ronaldo Krzesinski
On Thu, Jul 12, 2012 at 04:02:40PM -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski l...@amacapital.net commit

Re: [ 22/68] ath9k_hw: avoid possible infinite loop in ar9003_get_pll_sqsum_dvc

2012-07-12 Thread Greg Kroah-Hartman
On Thu, Jul 12, 2012 at 10:38:35PM -0300, Herton Ronaldo Krzesinski wrote: On Thu, Jul 12, 2012 at 04:01:56PM -0700, Greg Kroah-Hartman wrote: From: Greg KH gre...@linuxfoundation.org 3.0-stable review patch. If anyone has any objections, please let me know. --

RE: How to use the generic thermal sysfs.

2012-07-12 Thread Zhang Rui
On ε››, 2012-07-12 at 04:54 -0600, R, Durgadoss wrote: Hi, -Original Message- From: Wei Ni [mailto:w...@nvidia.com] Sent: Thursday, July 12, 2012 3:53 PM To: Zhang, Rui; Brown, Len; a...@linux-foundation.org; kh...@linux-fr.org; j...@perches.com; R, Durgadoss Cc:

[PATCH] regulator: s2mps11: Use array to save pointer to rdev

2012-07-12 Thread Axel Lin
The number of regulator is known at compile time, use array to save pointer to rdev makes the code simpler. Signed-off-by: Axel Lin axel@gmail.com --- drivers/regulator/s2mps11.c | 27 --- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git

[PATCH] staging: sbe-2t3e3: Remove code that will never execute

2012-07-12 Thread Marcos Paulo de Souza
This patch removes all references of if 0 blocks in the sbr-2t3e3. Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com --- drivers/staging/sbe-2t3e3/2t3e3.h|3 -- drivers/staging/sbe-2t3e3/cpld.c | 15 - drivers/staging/sbe-2t3e3/ctrl.c | 19 +++

[PATCH v2] staging: sbe-2t3e3: Remove code that will never execute

2012-07-12 Thread Marcos Paulo de Souza
This patch removes all references of if 0 blocks in the sbe-2t3e3 driver. Signed-off-by: Marcos Paulo de Souza marcos.souza@gmail.com --- drivers/staging/sbe-2t3e3/2t3e3.h|3 -- drivers/staging/sbe-2t3e3/cpld.c | 15 - drivers/staging/sbe-2t3e3/ctrl.c | 19

Re: ARM mini-summit

2012-07-12 Thread Olof Johansson
On Wed, Jul 11, 2012 at 4:28 AM, Arnd Bergmann a...@arndb.de wrote: On Wednesday 11 July 2012, James Bottomley wrote: Hi All, We have set aside the second day of the kernel summit (Tuesday 28 August) as mini-summit day. So far we have only the PCI mini summit on this day, so if you can

[PATCH v3] usb/host/ehci-hub: Fix the issue EG20T USB host controller has long resuming time, when pen drive is attached.

2012-07-12 Thread Tomoya MORINAGA
Intel EG20T USB host controller does not send SOF in resuming time after suspending, if the FLR bit was not cleared. When pen drive is attached, the controller has a long resuming time to try re-connect it. This patch clear the FLR bit in suspending time for fixing the issue. Signed-off-by:

Re: feature-removal-schedule entry from 2009

2012-07-12 Thread Theodore Ts'o
On Wed, Jul 11, 2012 at 11:15:20AM -0500, Rob Landley wrote: IRQF_SAMPLE_RANDOM is 3 years past its sell-by date in feature-removal-schedule: What: IRQF_SAMPLE_RANDOM Check: IRQF_SAMPLE_RANDOM When: July 2009 Why:Many of IRQF_SAMPLE_RANDOM users are technically bogus as

RE: [PATCH net-next] r8169: Remove rtl_ocpdr_cond

2012-07-12 Thread hayeswang
Francois Romieu [mailto:rom...@fr.zoreil.com] [...] W/o firmware does not seem to make a difference. # ping -qf -l 4 -s 81 -c 60 10.0.3.1 PING 10.0.3.1 (10.0.3.1) 81(109) bytes of data. --- 10.0.3.1 ping statistics --- 60 packets transmitted, 60 received, 0% packet loss, time 153ms

Re: [RESEND PATCH 1/1] clk: add DT support for clock gating control

2012-07-12 Thread Rob Herring
On 07/12/2012 08:08 AM, Sebastian Hesselbarh wrote: On 07/12/2012 02:14 PM, Rob Herring wrote: +Required child properties: +- reg : should contain the individual bit and polarity to control +the clock gate. A polarity of 0 means that by setting the +bit to 1 the clock passes

Re: linux-next: manual merge of the slave-dma tree with the arm tree

2012-07-12 Thread Vinod Koul
On Mon, 2012-07-02 at 13:16 +1000, Stephen Rothwell wrote: Hi Vinod, Today's linux-next merge of the slave-dma tree got conflicts in drivers/dma/Kconfig and drivers/dma/Makefile between commit 06dba53e6fcf (dmaengine: add OMAP DMA engine driver) from the arm tree and commit c6da0ba8dfc8

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-12 Thread Wen Congyang
At 07/09/2012 06:24 PM, Yasuaki Ishimatsu Wrote: acpi_memory_device_remove() has been prepared to remove physical memory. But, the function only frees acpi_memory_device currentlry. The patch adds following functions into acpi_memory_device_remove(): - offline memory - remove physical

Re: [PATCH 2/2] Made core dump functionality optional

2012-07-12 Thread Cong Wang
On Thu, 2012-07-12 at 13:22 -0700, Alex Kelly wrote: Sorry it took me so long to reply to this: 1. *Should* I change the option to CONFIG_CORE_DUMP ? I agree with Josh that in terms of the existing codebase, either way makes sense, but I'll defer to your judgment if you think I should change

Re: [PATCH] leds/leds-s3c24xx: use devm_gpio_request

2012-07-12 Thread Bryan Wu
On Wed, Jul 11, 2012 at 5:50 PM, Devendra Naga devendra.a...@gmail.com wrote: why? because if the led_classdev_register fails we wont do gpio free because using devm_ functions, there is no need for error paths Signed-off-by: Devendra Naga devendra.a...@gmail.com --- Bryan, This

Re: [PATCH 2/2] dma: tegra: fix residual calculation for cyclic case

2012-07-12 Thread Vinod Koul
On Mon, 2012-07-02 at 10:02 -0600, Stephen Warren wrote: On 07/02/2012 02:22 AM, Laxman Dewangan wrote: In cyclic mode of DMA, the byte transferred can be more than the requested size and in this case, calculating residuals based on the current position of DMA transfer to bytes requested

Re: [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to acpi_memory_device_remove

2012-07-12 Thread Wen Congyang
At 07/09/2012 06:24 PM, Yasuaki Ishimatsu Wrote: acpi_memory_device_remove() has been prepared to remove physical memory. But, the function only frees acpi_memory_device currentlry. The patch adds following functions into acpi_memory_device_remove(): - offline memory - remove physical

Re: [PATCH 1/2] dma: tegra: rename driver and compatible to match with dts

2012-07-12 Thread Vinod Koul
On Mon, 2012-07-02 at 13:52 +0530, Laxman Dewangan wrote: Rename the compatible name and driver name to match with tegra dts file and as per clock driver. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com Applied both, Thanks -- ~Vinod -- To unsubscribe from this list: send the line

Re: [RFC PATCH v3 5/13] memory-hotplug : does not release memory region in PAGES_PER_SECTION chunks

2012-07-12 Thread Wen Congyang
At 07/09/2012 06:26 PM, Yasuaki Ishimatsu Wrote: Since applying a patch(de7f0cba96786c), release_mem_region() has been changed as called in PAGES_PER_SECTION chunks because register_memory_resource() is called in PAGES_PER_SECTION chunks by add_memory(). But it seems firmware dependency. If

Re: [PATCH RFC V3 2/3] kvm: Note down when cpu relax intercepted or pause loop exited

2012-07-12 Thread Raghavendra K T
On 07/13/2012 01:32 AM, Christian Borntraeger wrote: On 12/07/12 21:18, Raghavendra K T wrote: +#ifdef CONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT [...] + struct { + bool cpu_relax_intercepted; + bool dy_eligible; + } ple; +#endif [...] }

Re: [PATCH 1/9 v3] dmaengine: add an shdma-base library

2012-07-12 Thread Vinod Koul
On Mon, 2012-07-02 at 22:28 +0200, Guennadi Liakhovetski wrote: Hi Vinod On Thu, 28 Jun 2012, Guennadi Liakhovetski wrote: Hi Vinod On Fri, 25 May 2012, Guennadi Liakhovetski wrote: Hi Vinod On Fri, 25 May 2012, Vinod Koul wrote: [snip] Let me know if you plan

Re: [PATCH] MPILIB: Provide count_leading/trailing_zeros() based on arch functions

2012-07-12 Thread James Morris
On Fri, 6 Jul 2012, David Howells wrote: Provide count_leading/trailing_zeros() macros based on extant arch bit scanning functions rather than reimplementing from scratch in MPILIB. Whilst we're at it, turn count_foo_zeros(n, x) into n = count_foo_zeros(x). Also move the definition to

RE: 82571EB: Detected Hardware Unit Hang

2012-07-12 Thread Dave, Tushar N
-Original Message- From: Joe Jin [mailto:joe@oracle.com] Sent: Thursday, July 12, 2012 4:46 PM To: Dave, Tushar N Cc: e1000-de...@lists.sf.net; net...@vger.kernel.org; linux- ker...@vger.kernel.org Subject: Re: 82571EB: Detected Hardware Unit Hang Thanks for sending full dmesg log. I

linux-next: build failure after merge of the tty tree

2012-07-12 Thread Stephen Rothwell
treated as errors Caused by commit 2655a2c76f80 (8250: use the 8250 register interface not the legacy one). Grep is your friend. I have used the tty tree from next-20120712 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpt5WoBhJpNL.pgp Description: PGP signature

Re: [RFC PATCH v3 3/13] memory-hotplug : unify argument of firmware_map_add_early/hotplug

2012-07-12 Thread Yasuaki Ishimatsu
Hi Dave, 2012/07/12 22:40, Dave Hansen wrote: On 07/11/2012 09:52 PM, Yasuaki Ishimatsu wrote: Does the following patch include your comment? If O.K., I will separate the patch from the series and send it for bug fix. Looks sane to me. It does now mean that the calling conventions for

Re: [ 000/187] 3.4.5-stable review

2012-07-12 Thread Sven Joachim
On 2012-07-12 21:24 +0200, Greg KH wrote: This is the start of the stable review cycle for the 3.4.5 release. There are 187 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. As has been noted already,

Re: [PATCH] leds/leds-s3c24xx: use devm_gpio_request

2012-07-12 Thread devendra.aaru
On Fri, Jul 13, 2012 at 9:12 AM, Bryan Wu bryan...@canonical.com wrote: On Wed, Jul 11, 2012 at 5:50 PM, Devendra Naga devendra.a...@gmail.com wrote: Bryan, This patch is not even compile tested, since my machine crashed, and didn't have the ARM toolchain, sorry .. Thanks, I

Re: [RFC PATCH v3 3/13] memory-hotplug : unify argument of firmware_map_add_early/hotplug

2012-07-12 Thread Yasuaki Ishimatsu
Hi Dave, 2012/07/12 22:40, Dave Hansen wrote: On 07/11/2012 09:52 PM, Yasuaki Ishimatsu wrote: Does the following patch include your comment? If O.K., I will separate the patch from the series and send it for bug fix. Looks sane to me. It does now mean that the calling conventions for

linux-next: manual merge of the clk tree with the arm-soc tree

2012-07-12 Thread Stephen Rothwell
Hi Mike, Today's linux-next merge of the clk tree got a conflict in drivers/clk/Makefile between commit 4a31bd28e86a (ARM: nomadik: convert to generic clock) from the arm-soc tree and commit 8d4d9f52081c (clk: add highbank clock support) from the clk tree. Just context changes. I fixed it up

[PATCH] x86/vsyscall: allow seccomp filter in vsyscall=emulate

2012-07-12 Thread Will Drewry
If a seccomp filter program is installed, older static binaries and distributions with older libc implementations (glibc 2.13 and earlier) that rely on vsyscall use will be terminated regardless of the filter program policy when executing time, gettimeofday, or getcpu. This is only the case when

[PATCH 0/8] Time fixes and cleanups for 3.6

2012-07-12 Thread John Stultz
Hey Thomas, Since you're offline next week, I wanted to send you my updated queue for the 3.6 merge window. These are mostly the same changes I sent you with my earlier 3.6 pull request mid-last month, but reordered and trimmed down to focus on cleanups (no new features). There is one

[PATCH 3/8] time: Explicitly use u32 instead of int for shift values

2012-07-12 Thread John Stultz
Ingo noted that using a u32 instead of int for shift values would be better to make sure the compiler doesn't unnecessarily use complex signed arithmetic. CC: Ingo Molnar mi...@kernel.org CC: Peter Zijlstra a.p.zijls...@chello.nl CC: Richard Cochran richardcoch...@gmail.com CC: Prarit Bhargava

[PATCH 1/8] ntp: Fix STA_INS/DEL clearing bug

2012-07-12 Thread John Stultz
From: John Stultz johns...@us.ibm.com In commit 6b43ae8a619d17c4935c3320d2ef9e92bdeed05d, I introduced a bug that kept the STA_INS or STA_DEL bit from being cleared from time_status via adjtimex() without forcing STA_PLL first. Usually once the STA_INS is set, it isn't cleared until the leap

[PATCH 2/8] time: Whitespace cleanups per Ingo's requests

2012-07-12 Thread John Stultz
Ingo noted a number of places where there is inconsistent use of whitespace. This patch tries to address the main culprits. CC: Ingo Molnar mi...@kernel.org CC: Peter Zijlstra a.p.zijls...@chello.nl CC: Richard Cochran richardcoch...@gmail.com CC: Prarit Bhargava pra...@redhat.com CC: Thomas

[PATCH 8/8] time: Rework timekeeping functions to take timekeeper ptr as argument

2012-07-12 Thread John Stultz
As part of cleaning up the timekeeping code, this patch converts a number of internal functions to takei a timekeeper ptr as an argument, so that the internal functions don't access the global timekeeper structure directly. This allows for further optimizations to reduce lock hold time later.

[PATCH 6/8] time: Move arch_gettimeoffset() usage into timekeeping_get_ns()

2012-07-12 Thread John Stultz
Since we call arch_gettimeoffset() in all the accessor functions, move arch_gettimeoffset() calls into timekeeping_get_ns() and timekeeping_get_ns_raw() to simplify the code. This also makes the code easier to maintain as we don't have to worry about forgetting the arch_gettimeoffset() as has

[PATCH 5/8] time: Refactor accumulation of nsecs to secs

2012-07-12 Thread John Stultz
We do the exact same logic moving nsecs to secs in the timekeeper in multiple places, so condense this into a single function. CC: Ingo Molnar mi...@kernel.org CC: Peter Zijlstra a.p.zijls...@chello.nl CC: Richard Cochran richardcoch...@gmail.com CC: Prarit Bhargava pra...@redhat.com CC: Thomas

[PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-07-12 Thread John Stultz
The timekeeper struct has a xtime_nsec, which keeps the sub-nanosecond remainder. This ends up being somewhat duplicative of the timekeeper.xtime.tv_nsec value, and we have to do extra work to keep them apart, copying the full nsec portion out and back in over and over. This patch simplifies

[PATCH 7/8] time: Move xtime_nsec adjustment underflow handling timekeeping_adjust

2012-07-12 Thread John Stultz
When we make adjustments speeding up the clock, its possible for xtime_nsec to underflow. We already handle this properly, but we do so from update_wall_time() instead of the more logical timekeeping_adjust(), where the possible underflow actually occurs. Thus, move the correction logic to the

Re: [RFC][PATCH V2 3/3] tegra: add pwm backlight device tree nodes

2012-07-12 Thread Alex Courbot
On 07/12/2012 11:27 PM, Simon Glass wrote I agree the type strings are a problem in the current form - if we could get constants in the device tree, that would be much better. Your way of representing the sequences is interesting though, if we can solve the type issue (and also evaluate its cost

[PATCH net-next 0/8] etherdevice: Rename random_ether_addr to eth_random_addr

2012-07-12 Thread Joe Perches
net-next commit ad7eee98be (etherdevice: introduce eth_broadcast_addr) added a new style API. Rename random_ether_addr to eth_random_addr to create some API symmetry. Joe Perches (8): etherdevice: Rename random_ether_addr to eth_random_addr ethernet: Use eth_random_addr net: usb: Use

[PATCH net-next 1/8] etherdevice: Rename random_ether_addr to eth_random_addr

2012-07-12 Thread Joe Perches
Add some API symmetry to eth_broadcast_addr and add a #define to the old name for backward compatibility. Signed-off-by: Joe Perches j...@perches.com --- include/linux/etherdevice.h | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/include/linux/etherdevice.h

[PATCH net-next 2/8] ethernet: Use eth_random_addr

2012-07-12 Thread Joe Perches
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/ethernet/atheros/atl1c/atl1c_hw.c |2 +- drivers/net/ethernet/atheros/atlx/atl1.c |2 +- drivers/net/ethernet/atheros/atlx/atl2.c |

[PATCH net-next 3/8] net: usb: Use eth_random_addr

2012-07-12 Thread Joe Perches
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/usb/smsc75xx.c |2 +- drivers/net/usb/smsc95xx.c |2 +- drivers/net/usb/usbnet.c |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH net-next 4/8] wireless: Use eth_random_addr

2012-07-12 Thread Joe Perches
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/wireless/adm8211.c |2 +- drivers/net/wireless/p54/eeprom.c |2 +- drivers/net/wireless/rt2x00/rt2400pci.c|2 +-

[PATCH net-next 5/8] drivers/net: Use eth_random_addr

2012-07-12 Thread Joe Perches
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/tun.c |2 +- drivers/net/wimax/i2400m/driver.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/tun.c

[PATCH net-next 6/8] s390: Use eth_random_addr

2012-07-12 Thread Joe Perches
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches j...@perches.com --- drivers/s390/net/qeth_l2_main.c |2 +- drivers/s390/net/qeth_l3_main.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH net-next 7/8] usb: Use eth_random_addr

2012-07-12 Thread Joe Perches
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches j...@perches.com --- drivers/usb/atm/xusbatm.c|4 ++-- drivers/usb/gadget/u_ether.c |2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/atm/xusbatm.c

[PATCH net-next 8/8] arch: Use eth_random_addr

2012-07-12 Thread Joe Perches
Convert the existing uses of random_ether_addr to the new eth_random_addr. Signed-off-by: Joe Perches j...@perches.com --- arch/blackfin/mach-bf537/boards/stamp.c |2 +- arch/c6x/kernel/soc.c |2 +- arch/mips/ar7/platform.c|4 ++--

Re: [Xen-devel] [PATCH] xen: populate correct number of pages when across mem boundary

2012-07-12 Thread zhenzhong.duan
于 2012-07-12 22:55, David Vrabel 写道: On 04/07/12 07:49, zhenzhong.duan wrote: When populate pages across a mem boundary at bootup, the page count populated isn't correct. This is due to mem populated to non-mem region and ignored. Pfn range is also wrongly aligned when mem boundary isn't

Re: [PATCH 0/3] fs/ufs: stop using write_supers and s_dirt

2012-07-12 Thread Artem Bityutskiy
On Thu, 2012-07-12 at 15:58 -0700, Andrew Morton wrote: Just fix them up as you go - the code is already a mixture of right and wrong (a consequence of a lot of it being wrong) - we might as well tip it further in the right direction. Yeah, but I'd say 80% of it has its own wrong coding

Re: [PATCH 0/3] fs/ufs: stop using write_supers and s_dirt

2012-07-12 Thread Andrew Morton
On Fri, 13 Jul 2012 08:34:44 +0300 Artem Bityutskiy dedeki...@gmail.com wrote: On Thu, 2012-07-12 at 15:58 -0700, Andrew Morton wrote: Just fix them up as you go - the code is already a mixture of right and wrong (a consequence of a lot of it being wrong) - we might as well tip it further

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

2012-07-12 Thread AnilKumar, Chimata
Hi Mark, On Thu, Jul 12, 2012 at 22:58:37, Mark Brown wrote: On Tue, Jul 10, 2012 at 04:39:42PM +0530, AnilKumar Ch wrote: This commit adds device tree support for tps65217 pmic. And usage details are added to device tree documentation. Driver is tested by using kernel module with

Re: [PATCH 2/2] dma: tegra: fix residual calculation for cyclic case

2012-07-12 Thread Laxman Dewangan
On Friday 13 July 2012 08:45 AM, Vinod Koul wrote: On Mon, 2012-07-02 at 10:02 -0600, Stephen Warren wrote: On 07/02/2012 02:22 AM, Laxman Dewangan wrote: In cyclic mode of DMA, the byte transferred can be more than the requested size and in this case, calculating residuals based on the

Re: [PATCHv3 0/4] hfsplus: stop using write_supers and s_dirt

2012-07-12 Thread Artem Bityutskiy
On Thu, 2012-07-12 at 16:09 -0700, Andrew Morton wrote: I really do dislike dropping patches and replacing them. For a whole bunch of reasons. One of which is that a wholesale replacement requires a full re-review. Another is that wholesale replacement makes it hard to see what was changed.

Re: How to use the generic thermal sysfs.

2012-07-12 Thread Alex Courbot
On 07/12/2012 07:54 PM, R, Durgadoss wrote: We are working on a notification API from any generic sensor driver to the thermal framework. Please have a look at the 'notify_thermal_framework' API in the patch here: http://www.spinics.net/lists/linux-acpi/msg36049.html At first sight these

  1   2   3   4   5   6   7   8   9   10   >