Re: [PATCH] fb: Rework locking to fix lock ordering on takeover

2013-01-04 Thread Alexander Holler
Am 28.12.2012 13:40, schrieb Borislav Petkov: On Fri, Dec 28, 2012 at 07:50:27PM +0800, Shawn Guo wrote: +1 http://thread.gmane.org/gmane.linux.kernel/1413953/focus=1415070 Cool, works fine here too. Is Linus on CC? (/me checks.. ) Yes he is, good. Linus, Alan's patch works at least in 2

Re: [PATCH 07/27] nohz: Assign timekeeping duty to a non-full-nohz CPU

2013-01-04 Thread Frederic Weisbecker
2013/1/2 Christoph Lameter c...@linux.com: On Sat, 29 Dec 2012, Frederic Weisbecker wrote: @@ -163,6 +164,8 @@ static int __init tick_nohz_full_setup(char *str) return 1; } __setup(full_nohz=, tick_nohz_full_setup); +#else +#define have_full_nohz_mask (0) #endif /* @@ -512,6

Re: [PATCH 21/27] nohz: Only stop the tick on RCU nocb CPUs

2013-01-04 Thread Frederic Weisbecker
2013/1/2 Namhyung Kim namhy...@kernel.org: You may want to add the following also to shut up the gcc: CC kernel/rcutree.o In file included from /home/namhyung/project/linux/kernel/rcutree.c:58:0: /home/namhyung/project/linux/kernel/rcutree.h:539:13: warning: ‘is_nocb_cpu’

Re: [RFC PATCH v1 15/31] ARC: Process/scheduling/clock/Timers/Delay Management

2013-01-04 Thread Frederic Weisbecker
2013/1/2 Vineet Gupta vineet.gup...@synopsys.com: On Tuesday 13 November 2012 01:59 AM, Thomas Gleixner wrote: On Wed, 7 Nov 2012, Vineet Gupta wrote: +void cpu_idle(void) +{ +/* Since we SLEEP in idle loop, TIF_POLLING_NRFLAG can't be set */ + +/* endless idle loop with no priority

Re: [PATCH 3/4 v5 RESEND] rtc: add rtc-driver for HID sensors of type time

2013-01-04 Thread Alexander Holler
Am 04.01.2013 10:18, schrieb Jiri Kosina: On Thu, 3 Jan 2013, Andrew Morton wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Looks OK to me. It sounds like Jonathan will be merging these patches when he's happy with them -

Re: [PATCH v2 22/44] metag: Time keeping

2013-01-04 Thread James Hogan
On 04/01/13 12:48, Vineet Gupta wrote: Another question if you don't mind. In our setup we have a UART (non-standard ARC specific) which is wired up to the boot CPU (only). Now if the init/rcS happens to run on non-boot CPU, the setup/request_irq( ) and hence consequential low level cpu

Re: [PATCH] fb: Rework locking to fix lock ordering on takeover

2013-01-04 Thread Alan Cox
On Fri, 04 Jan 2013 13:50:37 +0100 Alexander Holler hol...@ahsoftware.de wrote: Am 28.12.2012 13:40, schrieb Borislav Petkov: On Fri, Dec 28, 2012 at 07:50:27PM +0800, Shawn Guo wrote: +1 http://thread.gmane.org/gmane.linux.kernel/1413953/focus=1415070 Cool, works fine here too. Is

Re: [PATCH 06/27] nohz: Basic full dynticks interface

2013-01-04 Thread Frederic Weisbecker
2012/12/31 Li Zhong zh...@linux.vnet.ibm.com: On Sat, 2012-12-29 at 17:42 +0100, Frederic Weisbecker wrote: Start with a very simple interface to define full dynticks CPU: use a boot time option defined cpumask through the full_nohz= kernel parameter. Make sure you keep at least one CPU

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2013-01-04 Thread Federico Vaga
On Thursday 03 January 2013 17:13:14 Federico Vaga wrote: After all those discussions, I'm ok on adding this new driver, but please add a summary of those discussions at the patch description. As I said, the reason why this driver is needed is not obvious. So, it needs to be very well

Re: [PATCH] fb: Rework locking to fix lock ordering on takeover

2013-01-04 Thread Alexander Holler
Am 04.01.2013 14:25, schrieb Alan Cox: On Fri, 04 Jan 2013 13:50:37 +0100 Alexander Holler hol...@ahsoftware.de wrote: Am 28.12.2012 13:40, schrieb Borislav Petkov: On Fri, Dec 28, 2012 at 07:50:27PM +0800, Shawn Guo wrote: +1 http://thread.gmane.org/gmane.linux.kernel/1413953/focus=1415070

Re: [PATCH 05/27] cputime: Safely read cputime of full dynticks CPUs

2013-01-04 Thread Frederic Weisbecker
2012/12/31 Li Zhong zh...@linux.vnet.ibm.com: On Sat, 2012-12-29 at 17:42 +0100, Frederic Weisbecker wrote: static inline void vtime_task_switch(struct task_struct *prev) { } static inline void vtime_account_system(struct task_struct *tsk) { } static inline void

Re: [PATCH -v2 09/26] infiniband: rename random32() to prandom_u32()

2013-01-04 Thread Akinobu Mita
2013/1/4 Steve Wise sw...@opengridcomputing.com: Are there other non pseudo-random services that warrant this rename? I couldn't understand your question very well. So I'm not sure this is the expected answer: I only renamed pseudo-random functions defined in lib/random32.c in the commit

Re: [PATCH -v2 19/26] batman-adv: rename random32() to prandom_u32()

2013-01-04 Thread Akinobu Mita
2013/1/4 Antonio Quartulli or...@autistici.org: On Thu, Jan 03, 2013 at 09:19:15PM +0900, Akinobu Mita wrote: Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita akinobu.m...@gmail.com Acked-by: Antonio Quartulli

[PATCH v4 0/5] KVM: x86: improve reexecute_instruction

2013-01-04 Thread Xiao Guangrong
There are some changes from Gleb's review: - poss the point of target_gfn_is_pt into FNAME(is_self_change_mapping) to let the return value be more clearer - fold some changes of patch 5 into patch 4 - remove vcpu.arch.fault_addr There are some test cases to trigger the bugs which are fixed in

Re: [PATCH -v2 03/26] x86: pageattr-test: remove srandom32 call

2013-01-04 Thread Akinobu Mita
2013/1/4 H. Peter Anvin h...@zytor.com: On 01/03/2013 04:18 AM, Akinobu Mita wrote: pageattr-test calls srandom32() once every test iteration. But calling srandom32() after late_initcalls is not meaningfull. Because the random states for random32() is mixed by good random numbers in

[PATCH v4 1/5] KVM: MMU: fix Dirty bit missed if CR0.WP = 0

2013-01-04 Thread Xiao Guangrong
If the write-fault access is from supervisor and CR0.WP is not set on the vcpu, kvm will fix it by adjusting pte access - it sets the W bit on pte and clears U bit. This is the chance that kvm can change pte access from readonly to writable Unfortunately, the pte access is the access of 'direct'

[PATCH v4 2/5] KVM: MMU: fix infinite fault access retry

2013-01-04 Thread Xiao Guangrong
We have two issues in current code: - if target gfn is used as its page table, guest will refault then kvm will use small page size to map it. We need two #PF to fix its shadow page table - sometimes, say a exception is triggered during vm-exit caused by #PF (see handle_exception() in vmx.c),

[PATCH v4 3/5] KVM: x86: clean up reexecute_instruction

2013-01-04 Thread Xiao Guangrong
Little cleanup for reexecute_instruction, also use gpa_to_gfn in retry_instruction Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/x86.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c

[PATCH v4 4/5] KVM: x86: let reexecute_instruction work for tdp

2013-01-04 Thread Xiao Guangrong
Currently, reexecute_instruction refused to retry all instructions. If nested npt is used, the emulation may be caused by shadow page, it can be fixed by dropping the shadow page Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/x86.c | 28

[PATCH v4 5/5] KVM: x86: improve reexecute_instruction

2013-01-04 Thread Xiao Guangrong
The current reexecute_instruction can not well detect the failed instruction emulation. It allows guest to retry all the instructions except it accesses on error pfn For example, some cases are nested-write-protect - if the page we want to write is used as PDE but it chains to itself. Under this

Re: [PATCH v3 01/11] kexec: introduce kexec firmware support

2013-01-04 Thread Daniel Kiper
On Thu, Dec 27, 2012 at 07:06:13PM -0800, ebied...@xmission.com wrote: Daniel Kiper daniel.ki...@oracle.com writes: Daniel Kiper daniel.ki...@oracle.com writes: Some kexec/kdump implementations (e.g. Xen PVOPS) could not use default Linux infrastructure and require some support from

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2013-01-04 Thread Alex Deucher
On Fri, Jan 4, 2013 at 6:16 AM, Boszormenyi Zoltan zbos...@pr.hu wrote: 2013-01-04 08:40 keltezéssel, Borislav Petkov írta: On Wed, Jan 02, 2013 at 06:37:23PM -0500, Alex Deucher wrote: From: Alex Deucher alexander.deuc...@amd.com Date: Wed, 2 Jan 2013 18:30:21 -0500 Subject: [PATCH]

[PATCH] orion_wdt: Add platform alias

2013-01-04 Thread Lubomir Rintel
...so that it's automatically picked up on relevant platforms. Tested on Kirkwood-based GuruPlug. Signed-off-by: Lubomir Rintel lkund...@v3.sk --- drivers/watchdog/orion_wdt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/watchdog/orion_wdt.c

[PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown

2013-01-04 Thread Lubomir Rintel
From: Lubomir Rintel lubo.rin...@gooddata.com = [ INFO: inconsistent lock state ] 3.7.0-6.luboskovo.fc19.armv5tel.kirkwood #1 Tainted: GW - inconsistent {IN-SOFTIRQ-W} - {SOFTIRQ-ON-W} usage. NetworkManager/337

Re: [PATCH v5 13/22] mfd: omap-usb-host: override number of ports from platform data

2013-01-04 Thread Roger Quadros
On 01/03/2013 02:52 PM, Sergei Shtylyov wrote: Hello. On 02-01-2013 19:00, Roger Quadros wrote: Both OMAP4 and 5 exhibit the same revision ID in the REVISION register but they have different number of ports i.e. 2 and 3 respectively. So we can't rely on REVISION register for number of

[PATCH] mm: thp: Acquire the anon_vma rwsem for lock during split

2013-01-04 Thread Mel Gorman
Zhouping, please test this patch. Andrea and Hugh, any comments on whether this could be improved? ---8--- mm: thp: Acquire the anon_vma rwsem for lock during split Zhouping Liu reported the following against 3.8-rc1 when running a mmap testcase from LTP. [ 588.143072] mapcount 0

Re: [PATCH v2 43/44] tty/metag_da: Add metag DA TTY driver

2013-01-04 Thread James Hogan
Hi Alan, Thanks for your feedback, and sorry for the delay responding. I'll send an updated (i.e. largely rewritten) driver soon. On 05/12/12 17:24, Alan Cox wrote: +/* One struct dashtty exists per open channel. */ +struct dashtty { +struct tty_struct *tty; +struct tty_port *port;

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-04 Thread Daniel Kiper
On Fri, Dec 28, 2012 at 01:59:27PM +0100, Borislav Petkov wrote: On Thu, Dec 27, 2012 at 03:19:24PM -0800, Daniel Kiper wrote: Hmm... this code is being redone at the moment... this might conflict. Is this available somewhere? May I have a look at it?

Re: [PATCH 00/21] gpio: ab8500: Bring AB8500 back to life

2013-01-04 Thread Linus Walleij
On Wed, Dec 19, 2012 at 3:18 PM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Dec 14, 2012 at 5:19 PM, Lee Jones lee.jo...@linaro.org wrote: The ab8500 GPIO driver is currently 'BROKEN', due to a lack of updates and recent frame-work adoption. This patch-set aims to bring the driver

Re: [PATCH v5 00/22] OMAP USB Host cleanup

2013-01-04 Thread Roger Quadros
Hi Samuel, Below is the pull request for this series. I've addressed the recent indentation issue pointed out by Sergei. The following changes since commit cfa7abd7a92396923889fc870090b5d748c603ab: Merge branch 'heads/fixes' into for-next (2013-01-02 12:40:04 -0800) are available in the git

[PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown

2013-01-04 Thread Lubomir Rintel
= [ INFO: inconsistent lock state ] 3.7.0-6.luboskovo.fc19.armv5tel.kirkwood #1 Tainted: GW - inconsistent {IN-SOFTIRQ-W} - {SOFTIRQ-ON-W} usage. NetworkManager/337 [HC0[0]:SC0[0]:HE1:SE1] takes: (_xmit_ETHER#2){+.?...}, at:

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-04 Thread Daniel Kiper
On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote: On 27/12/12 18:02, Eric W. Biederman wrote: Andrew Cooperandrew.coop...@citrix.com writes: On 27/12/2012 07:53, Eric W. Biederman wrote: The syscall ABI still has the wrong semantics. Aka totally unmaintainable and

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-04 Thread Ian Campbell
On Fri, 2013-01-04 at 14:22 +, Daniel Kiper wrote: On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote: On 27/12/12 18:02, Eric W. Biederman wrote: Andrew Cooperandrew.coop...@citrix.com writes: On 27/12/2012 07:53, Eric W. Biederman wrote: The syscall ABI still has the

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-04 Thread Konrad Rzeszutek Wilk
On Fri, Jan 04, 2013 at 03:22:57PM +0100, Daniel Kiper wrote: On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote: On 27/12/12 18:02, Eric W. Biederman wrote: Andrew Cooperandrew.coop...@citrix.com writes: On 27/12/2012 07:53, Eric W. Biederman wrote: The syscall ABI still

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-04 Thread David Vrabel
On 04/01/13 14:22, Daniel Kiper wrote: On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote: On 27/12/12 18:02, Eric W. Biederman wrote: Andrew Cooperandrew.coop...@citrix.com writes: On 27/12/2012 07:53, Eric W. Biederman wrote: The syscall ABI still has the wrong semantics. Aka

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-04 Thread Jan Beulich
On 04.01.13 at 15:22, Daniel Kiper daniel.ki...@oracle.com wrote: On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote: /sbin/kexec can load the Xen crash kernel itself by issuing hypercalls using /dev/xen/privcmd. This would remove the need for the dom0 kernel to distinguish

Re: [PATCH 00/21] gpio: ab8500: Bring AB8500 back to life

2013-01-04 Thread Lee Jones
On Fri, 04 Jan 2013, Linus Walleij wrote: On Wed, Dec 19, 2012 at 3:18 PM, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Dec 14, 2012 at 5:19 PM, Lee Jones lee.jo...@linaro.org wrote: The ab8500 GPIO driver is currently 'BROKEN', due to a lack of updates and recent frame-work

no config opt for k8temp in 3.6.11

2013-01-04 Thread Steven A. DuChene
I have a few systems with AMD processors. One is a AMD Phenom II based system which uses a k10temp kernel module to get the CPU temperature. Another system has an Athlon64 processor which apparently is supposed to use a k8temp module to do the same thing. I have built a 3.6.11 kernel for each

Re: [PATCH -repost] memcg,vmscan: do not break out targeted reclaim without reclaimed pages

2013-01-04 Thread Michal Hocko
On Thu 03-01-13 12:24:04, Andrew Morton wrote: On Thu, 3 Jan 2013 19:09:01 +0100 Michal Hocko mho...@suse.cz wrote: Hi, I have posted this quite some time ago (https://lkml.org/lkml/2012/12/14/102) but it probably slipped through --- From 28b4e10bc3c18b82bee695b76f4bf25c03baa5f8 Mon

Re: [RFC PATCH] mm: memblock: fix wrong memmove size in memblock_merge_regions()

2013-01-04 Thread Tejun Heo
On Fri, Jan 04, 2013 at 05:10:50PM +0800, Lin Feng wrote: The memmove span covers from (next+1) to the end of the array, and the index of next is (i+1), so the index of (next+1) is (i+2). So the size of remaining array elements is (type-cnt - (i + 2)). PS. It seems that

Re: [PATCH] drm/i915: Treat crtc-mode.clock == 0 as disabled

2013-01-04 Thread Alexey Zaytsev
On Fri, Jan 4, 2013 at 1:39 PM, Chris Wilson ch...@chris-wilson.co.uk wrote: Prevent a divide-by-zero by consistently treating an 'active' CRTC without a mode set as actually disabled. --- Works fine here, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [RFC PATCH] mm: memblock: optimize memblock_find_in_range_node() to minimize the search work

2013-01-04 Thread Tejun Heo
On Fri, Jan 04, 2013 at 05:24:53PM +0800, Lin Feng wrote: The memblock array is in ascending order and we traverse the memblock array in reverse order so we can add some simple check to reduce the search work. Tejun fix a underflow bug in 5d53cb27d8, but I think we could break there for the

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-04 Thread Kirill A. Shutemov
On Fri, Jan 04, 2013 at 12:29:11AM -0800, Anton Vorontsov wrote: This commit implements David Rientjes' idea of mempressure cgroup. The main characteristics are the same to what I've tried to add to vmevent API; internally, it uses Mel Gorman's idea of scanned/reclaimed ratio for pressure

Re: load/unload dccp module caused oops

2013-01-04 Thread Christoph Lameter
See the fix available here: https://patchwork.kernel.org/patch/1909861/ On Fri, 4 Jan 2013, CAI Qian wrote: The bisecting pointed out this commit fixed the problem in the mainline. 3c58346525d82625e68e24f071804c2dc057b6f4 slab: Simplify bootstrap However, simply back-ported this single

Re: [RFC PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-04 Thread Tim Gardner
On 01/03/2013 06:18 AM, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com snip /* - * We play games with efi_enabled so that the compiler will, if possible, remove - * EFI-related code altogether. + * We play games with efi_enabled so that the compiler will, if + *

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-04 Thread Tejun Heo
Hello, Viresh. On Fri, Jan 04, 2013 at 04:41:47PM +0530, Viresh Kumar wrote: I got a list of files where cpu/processor_id strings are found, which may break with this patch (still can't guarantee as i don't have knowledge of these drivers)... ... I am not sure what to do now :) , can you

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-04 Thread Daniel Kiper
On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote: On 27.12.12 at 03:18, Daniel Kiper daniel.ki...@oracle.com wrote: Some implementations (e.g. Xen PVOPS) could not use part of identity page table to construct transition page table. It means that they require separate PUDs,

Re: [RFC] ktap: Another dynamic tracing tool for Linux

2013-01-04 Thread Frank Ch. Eigler
Hi - bookjovi wrote: [...] ktap use lua language syntax and bytecode as initial implementation, Interesting approach. I recall we considered it way back when, but rejected it for a couple of reasons, including the at-the-time perceived unwelcomeness of a serious bytecode interpreter

Re: [PATCH] dmaengine: imx-dma: Disable use of hw_chain to fix sg_dma transfers.

2013-01-04 Thread javier Martin
On 30 October 2012 16:58, Javier Martin javier.mar...@vista-silicon.com wrote: HW chaining is currently broken in imx-dma. It can be easily reproduced doing intensive accesses to a external MMC card and checking how the file system is corrupted. Preventing the driver to use HW chaining solves

Re: 3.8-rc2: lockdep is complaining about mm_take_all_locks()

2013-01-04 Thread Jiri Kosina
On Fri, 4 Jan 2013, Jiri Kosina wrote: This is almost certainly because commit 5a505085f043e8380f83610f79642853c051e2f1 Author: Ingo Molnar mi...@kernel.org Date: Sun Dec 2 19:56:46 2012 + mm/rmap: Convert the struct anon_vma::mutex to an rwsem did this to

Re: [PATCH 7/8] zswap: add to mm/

2013-01-04 Thread Seth Jennings
On 01/03/2013 04:33 PM, Dan Magenheimer wrote: From: Seth Jennings [mailto:sjenn...@linux.vnet.ibm.com] However, once the flushing code was introduced and could free an entry from the zswap_fs_store() path, it became necessary to add a per-entry refcount to make sure that the entry isn't

Re: [PATCH] pnfs: Increase the refcount when LAYOUTGET fails the first time

2013-01-04 Thread Myklebust, Trond
On Fri, 2013-01-04 at 20:19 +0800, ycn...@gmail.com wrote: From: Yanchuan Nian ycn...@gmail.com The layout will be set unusable if LAYOUTGET fails. Is it reasonable to increase the refcount iff LAYOUTGET fails the first time? Signed-off-by: Yanchuan Nian ycn...@gmail.com ---

[GIT PULL] arm64 fixes for 3.8

2013-01-04 Thread Catalin Marinas
Hi Linus, Please pull the arm64 fixes below. Thanks. The following changes since commit a49f0d1ea3ec94fc7cf33a7c36a16343b74bd565: Linux 3.8-rc1 (2012-12-21 17:19:00 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64.git

Re: [RFC,1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-04 Thread Matt Fleming
On Thu, 2013-01-03 at 19:35 +0100, Sedat Dilek wrote: [ include/linux/efi.h ] ... + * We play games with efi_enabled so that the compiler will, if + * possible, remove EFI-related code altogether. */ +#define EFI_BOOT 0x0001 /* Were we booted from EFI? */ +#define

Re: [PATCH] nfs: fix null checking in nfs_get_option_str()

2013-01-04 Thread Myklebust, Trond
On Fri, 2013-01-04 at 03:22 -0500, Xi Wang wrote: The following null pointer check is broken. *option = match_strdup(args); return !option; The pointer `option' must be non-null, and thus `!option' is always false. Use `!*option' instead. The bug was introduced in commit

Re: [PATCH 7/8] zswap: add to mm/

2013-01-04 Thread Seth Jennings
On 01/03/2013 08:30 PM, Dave Chinner wrote: And so the two subsystems need different reclaim implementations. And, well, that's exactly what we have shrinkers for - implmenting subsystem specific reclaim policy. The shrinker infrastructure is responsible for them keeping balance between

Re: [3.8-{rc1,rc2}] ata1.00: failed to get Identify Device Data, Emask 0x1

2013-01-04 Thread Sedat Dilek
On Fri, Jan 4, 2013 at 4:40 PM, Sedat Dilek sedat.di...@gmail.com wrote: Hi, I noticed messages like the following in my syslogs with Linux v3.8-rc1 and v3.8-rc2: ata1.00: failed to get Identify Device Data, Emask 0x1 In this Samsung ultrabook there exists a small SSD and a 500GiB HDD. I

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-04 Thread Mel Gorman
On Wed, Jan 02, 2013 at 08:08:48PM +, Eric Wong wrote: (changing Cc:) Eric Wong normalper...@yhbt.net wrote: I'm finding ppoll() unexpectedly stuck when waiting for POLLIN on a local TCP socket. The isolated code below can reproduces the issue after many minutes (1 hour). It might

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-04 Thread Konrad Rzeszutek Wilk
On Thu, Jan 03, 2013 at 04:48:46PM -0800, Yinghai Lu wrote: Normal boot path on system with iommu support: swiotlb buffer will be allocated early at first and then try to initialize iommu, if iommu for intel or amd could setup properly, swiotlb buffer will be freed. The early allocating is

Re: [PATCH 2/2] dma: mv_xor: do not sync the DMA buffer after being deallocated

2013-01-04 Thread Thomas Petazzoni
Dear Lubomir Rintel, On Thu, 27 Dec 2012 20:23:48 +0100, Lubomir Rintel wrote: dma_sync_single_for_cpu(dma_chan-device-dev, dest_dma, MV_XOR_TEST_SIZE, DMA_FROM_DEVICE); + dma_unmap_single(dma_chan-device-dev, dest_dma, MV_XOR_TEST_SIZE, +

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-04 Thread Jan Beulich
On 04.01.13 at 16:15, Daniel Kiper daniel.ki...@oracle.com wrote: On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote: On 27.12.12 at 03:18, Daniel Kiper daniel.ki...@oracle.com wrote: Some implementations (e.g. Xen PVOPS) could not use part of identity page table to construct

[PATCH] pinctrl/nomadik: Add ste,config property

2013-01-04 Thread Linus Walleij
From: Gabriel Fernandez gabriel.fernan...@stericsson.com The ste,config property will contain the pin config node. It will be easier to define a pin configuration and use it by reference without duplicating lines tedious. Signed-off-by: Gabriel Fernandez gabriel.fernan...@stericsson.com

Re: [RFC PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-04 Thread H. Peter Anvin
Well, *I* am confused as heck. They look like bitmasks, we normally use decimal numbers for bit numbers as a matter of style. Matt Fleming m...@console-pimps.org wrote: On Fri, 2013-01-04 at 08:08 -0700, Tim Gardner wrote: On 01/03/2013 06:18 AM, Matt Fleming wrote: From: Matt Fleming

Re: [RFC PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-04 Thread Matt Fleming
On Fri, 2013-01-04 at 08:08 -0700, Tim Gardner wrote: On 01/03/2013 06:18 AM, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com snip /* - * We play games with efi_enabled so that the compiler will, if possible, remove - * EFI-related code altogether. + * We play

Re: [PATCH 2/2] clk: tegra30: Convert clk out to composite clk

2013-01-04 Thread Stephen Warren
On 01/03/2013 10:51 PM, Prashant Gaikwad wrote: Convert clk out to composite clock type which removes the mux clock. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com --- This patch is rebased on ccf-rework for Tegra patch series. It is just to show how clk-composite can be used, not to

Re: [3.8-{rc1,rc2}] ata1.00: failed to get Identify Device Data, Emask 0x1

2013-01-04 Thread Sedat Dilek
On Fri, Jan 4, 2013 at 4:59 PM, Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Jan 4, 2013 at 4:40 PM, Sedat Dilek sedat.di...@gmail.com wrote: Hi, I noticed messages like the following in my syslogs with Linux v3.8-rc1 and v3.8-rc2: ata1.00: failed to get Identify Device Data, Emask 0x1

Re: [PATCH 2/7] clk: tegra: Use common of_clk_init() function

2013-01-04 Thread Stephen Warren
On 01/04/2013 12:00 AM, Prashant Gaikwad wrote: Use common of_clk_init() function for clocks initialization. drivers/clk/tegra/clk-tegra20.c |3 ++- drivers/clk/tegra/clk-tegra30.c |3 ++- Oh, so this series is written assuming that the Tegra CCF rework is already applied then? That

[PATCH 0/4 v10] cpufreq: add support for Calxeda ECX-1000 (highbank)

2013-01-04 Thread Mark Langsdorf
This patch series adds cpufreq support for the Calxeda ECX-1000 (highbank) SoCs. The EnergyCore Management Engine (ECME) on the ECX-1000 manages the voltage for the part and communications with Linux through a pl320 mailbox. clk notifications are used to control when to send messages to the ECME.

[PATCH 3/4 v10] arm highbank: add support for pl320 IPC

2013-01-04 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com The pl320 IPC allows for interprocessor communication between the highbank A9 and the EnergyCore Management Engine. The pl320 implements a straightforward mailbox protocol. This patch depends on Omar Ramirez Luna's omar.l...@linaro.org mailbox driver

[PATCH 4/4 v10] cpufreq, highbank: add support for highbank cpufreq

2013-01-04 Thread Mark Langsdorf
Highbank processors depend on the external ECME to perform voltage management based on a requested frequency. Communication between the A9 cores and the ECME happens over the pl320 IPC channel. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Reviewed-by: Shawn Guo shawn@linaro.org

[PATCH 2/4 v10] clk, highbank: Prevent glitches in non-bypass reset mode

2013-01-04 Thread Mark Langsdorf
The highbank clock will glitch with the current code if the clock rate is reset without relocking the PLL. Program the PLL correctly to prevent glitches. Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com Signed-off-by: Rob Herring rob.herr...@calxeda.com Acked-by: Mike Turquette

[PATCH 1/4 v10] arm: use devicetree to get smp_twd clock

2013-01-04 Thread Mark Langsdorf
From: Rob Herring rob.herr...@calxeda.com Signed-off-by: Rob Herring rob.herr...@calxeda.com Signed-off-by: Mark Langsdorf mark.langsd...@calxeda.com --- Changes from v9 Updated to work with 3.8 kernel. Changes from v4, v5, v6, v7, v8 None. Changes from v3 No longer

[PATCH] tile: remove an unused variable in copy_thread()

2013-01-04 Thread Chris Metcalf
Signed-off-by: Chris Metcalf cmetc...@tilera.com --- arch/tile/kernel/process.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/tile/kernel/process.c b/arch/tile/kernel/process.c index 0e5661e..caf93ae 100644 --- a/arch/tile/kernel/process.c +++

Re: [RFC PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-04 Thread Tim Gardner
On 01/04/2013 09:15 AM, Matt Fleming wrote: On Fri, 2013-01-04 at 08:08 -0700, Tim Gardner wrote: On 01/03/2013 06:18 AM, Matt Fleming wrote: From: Matt Fleming matt.flem...@intel.com snip /* - * We play games with efi_enabled so that the compiler will, if possible, remove - *

[PATCH 0/2] Add GPIO driver for Allwinner SoCs

2013-01-04 Thread Maxime Ripard
Hi, This patch adds support for the GPIOs for the Allwinner SoCs supported so far. It comes on top of my previous pinctrl patchset, and has been tested on a A13-Olinuxino from Olimex. Thanks, Maxime Maxime Ripard (2): ARM: sunxi: gpio: Add Allwinner SoCs GPIO drivers ARM: sunxi: Add the

[PATCH 1/2] ARM: sunxi: gpio: Add Allwinner SoCs GPIO drivers

2013-01-04 Thread Maxime Ripard
The IP responsible for the muxing on the Allwinner SoCs are also handling the GPIOs on the system. This patch adds the needed driver that relies on the pinctrl driver for most of its operations. The number of pins available for GPIOs operations are already declared in the pinctrl driver, we only

[PATCH 2/2] ARM: sunxi: Add the GPIOs node to the device tree

2013-01-04 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/sun5i-a13.dtsi | 51 ++ 1 file changed, 51 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a13.dtsi b/arch/arm/boot/dts/sun5i-a13.dtsi index e112189..dc650a6 100644 ---

Re: [PATCH v5 3/3] PM: Introduce Intel PowerClamp Driver

2013-01-04 Thread jacob pan
On Thu, 03 Jan 2013 19:51:04 -0800 Joe Perches j...@perches.com wrote: On Thu, 2013-01-03 at 07:10 -0800, Jacob Pan wrote: Intel PowerClamp driver performs synchronized idle injection across all online CPUs. The goal is to maintain a given package level C-state ratio. [] +static int

Re: [PATCH v2 43/44] tty/metag_da: Add metag DA TTY driver

2013-01-04 Thread Alan Cox
+static int put_data(void *arg) +{ + struct dashbuf *dbuf; + int number_written; + + __set_current_state(TASK_RUNNING); + while (!kthread_should_stop()) { + /* + * Pick up all the output buffers and write them out. + * + * FIXME:

Re: kernel BUG at mm/huge_memory.c:1798!

2013-01-04 Thread Zhouping Liu
On 01/04/2013 01:57 AM, Mel Gorman wrote: (Adding Michel and Rik to cc) On Mon, Dec 24, 2012 at 11:38:51PM -0500, Zhouping Liu wrote: Hello all, I found the below kernel bug using latest mainline(637704cbc95), my hardware has 2 numa nodes, and it's easy to reproduce the issue using LTP test

Re: 3.8-rc2: pciehp waitqueue hang...

2013-01-04 Thread Jiang Liu
On 01/04/2013 09:08 AM, Daniel J Blueman wrote: On 3 January 2013 23:41, Jiang Liu liu...@gmail.com wrote: On 01/03/2013 11:11 PM, Daniel J Blueman wrote: When the Apple thunderbolt ethernet adapter comes loose on my Macbook Pro Retina (Intel DSL3510), we see pci_slot_name return

Re: [PATCH v2 net-next] softirq: reduce latencies

2013-01-04 Thread Eric Dumazet
On Fri, 2013-01-04 at 01:12 -0800, Joe Perches wrote: On Fri, 2013-01-04 at 00:23 -0800, Eric Dumazet wrote: On Fri, 2013-01-04 at 00:15 -0800, Joe Perches wrote: Perhaps MAX_SOFTIRQ_TIME should be #define MAX_SOFTIRQ_TIME msecs_to_jiffies(2) though it would be nicer if it were a

[PATCH] pinctrl: add pinconf-generic defines for output

2013-01-04 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org This adds a definition of a generic output configuration for a certain pin when using the generic pin configuration library. Whereas driving pins low/high is usually a GPIO business, you may want to set up pins into a default state using hogs, and

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-04 Thread Daniel Kiper
On Fri, Jan 04, 2013 at 02:38:44PM +, David Vrabel wrote: On 04/01/13 14:22, Daniel Kiper wrote: On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote: On 27/12/12 18:02, Eric W. Biederman wrote: Andrew Cooperandrew.coop...@citrix.com writes: On 27/12/2012 07:53, Eric W.

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-04 Thread Daniel Kiper
On Fri, Jan 04, 2013 at 02:41:17PM +, Jan Beulich wrote: On 04.01.13 at 15:22, Daniel Kiper daniel.ki...@oracle.com wrote: On Wed, Jan 02, 2013 at 11:26:43AM +, Andrew Cooper wrote: /sbin/kexec can load the Xen crash kernel itself by issuing hypercalls using /dev/xen/privcmd. This

Re: nfsd oops on Linus' current tree.

2013-01-04 Thread Adamson, Dros
On Jan 3, 2013, at 6:26 PM, Myklebust, Trond trond.mykleb...@netapp.com wrote: On Thu, 2013-01-03 at 18:11 -0500, Trond Myklebust wrote: On Thu, 2013-01-03 at 17:26 -0500, Tejun Heo wrote: Ooh, BTW, there was a bug where workqueue code created a false dependency between two work items.

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-04 Thread Eric Dumazet
On Fri, 2013-01-04 at 16:01 +, Mel Gorman wrote: Implying that it's stuck in compaction somewhere. It could be the case that compaction alters timing enough to trigger another bug. You say it tests differently depending on whether TCP or unix sockets are used which might indicate multiple

Re: [PATCH -v2 09/26] infiniband: rename random32() to prandom_u32()

2013-01-04 Thread Steve Wise
I'm asking: why are you bothering with renaming the functions? This seems like a needless change, _unless_ there are really non-pseudo-random services being added. On 1/4/2013 7:45 AM, Akinobu Mita wrote: 2013/1/4 Steve Wise sw...@opengridcomputing.com: Are there other non pseudo-random

[PATCH] mfd: arizona: Check errors from regcache_sync()

2013-01-04 Thread Mark Brown
If the control bus is unrelabile we may hit errors during regcache_sync(), especially given that it tends to be one the most dense bursts of I/O in many systems. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-core.c |7 ++- 1 file changed, 6

Re: [PATCH v7u1 06/31] x86, 64bit, realmode: use init_level4_pgt to set trapmoline_pgt directly

2013-01-04 Thread Sakkinen, Jarkko
On Thu, 2013-01-03 at 16:48 -0800, Yinghai Lu wrote: with #PF handler way to set early page table, level3_ident will go away with 64bit native path. So just use entries in init_level4_pgt to set them in tramopline_pgt Signed-off-by: Yinghai Lu ying...@kernel.org Cc: Jarkko Sakkinen

[PATCH 1/4] regmap: irq: Fix sync of wake statuses to hardware

2013-01-04 Thread Mark Brown
This wasn't implemented but happened to work on test systems due to lack of wake mask inversion support. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/base/regmap/regmap-irq.c | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH 4/4] mfd: wm5102: Mark wakes as inverted

2013-01-04 Thread Mark Brown
Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- Seems sensible to merge this via regmap given that it uses the new feature? drivers/mfd/wm5102-tables.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c index

[PATCH 2/4] regmap: irq: Support wake IRQ mask inversion

2013-01-04 Thread Mark Brown
Support devices which have an enable rather than mask register for wake sources. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/base/regmap/regmap-irq.c | 21 + include/linux/regmap.h |1 + 2 files changed, 18 insertions(+), 4

[PATCH 3/4] mfd: wm5110: Mark wakes as inverted

2013-01-04 Thread Mark Brown
Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- Seems sensible to merge this via regmap given that it uses the new feature? drivers/mfd/wm5110-tables.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/wm5110-tables.c b/drivers/mfd/wm5110-tables.c index

Re: [PATCH v7u1 07/31] x86, realmode: Separate real_mode reserve and setup

2013-01-04 Thread Sakkinen, Jarkko
On Thu, 2013-01-03 at 16:48 -0800, Yinghai Lu wrote: After we switch to use #PF handler help to set page table, init_level4_pgt will only have entries set after init_mem_mapping. We need to move copying init_level4_pgt to trampoline_pgd after that. So split reserve and setup, and move the

Re: [PATCH v3 0/9] Migrate Tegra to common clock framework

2013-01-04 Thread Stephen Warren
On 01/04/2013 02:40 AM, Prashant Gaikwad wrote: This patchset does following: 1. Decompose single tegra clock structure into multiple clocks. 2. Try to use standard clock types supported by common clock framework. 3. Use dynamic initialization. 4. Move all clock code to drivers/clk/tegra from

Re: [PATCH v3 02/11] x86/kexec: Add extra pointers to transition page table PGD, PUD, PMD and PTE

2013-01-04 Thread Daniel Kiper
On Fri, Jan 04, 2013 at 04:12:32PM +, Jan Beulich wrote: On 04.01.13 at 16:15, Daniel Kiper daniel.ki...@oracle.com wrote: On Thu, Jan 03, 2013 at 09:34:55AM +, Jan Beulich wrote: On 27.12.12 at 03:18, Daniel Kiper daniel.ki...@oracle.com wrote: Some implementations (e.g. Xen

Re: [PATCH] ARM: DTS: exynos4210-origen: Add MAX8997 node entry

2013-01-04 Thread Thomas Abraham
On 4 January 2013 00:23, Tushar Behera tushar.beh...@linaro.org wrote: The node entry is added as per documentation and legacy board file. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- The patch is rebased on v3.8-rc1. arch/arm/boot/dts/exynos4210-origen.dts | 150

Re: [PATCH] rcutorture: don't compare ptr with 0

2013-01-04 Thread Paul E. McKenney
On Thu, Dec 20, 2012 at 02:39:12PM -0800, Josh Triplett wrote: On Thu, Dec 20, 2012 at 02:11:28PM -0500, Sasha Levin wrote: Signed-off-by: Sasha Levin sasha.le...@oracle.com Fair enough. You might as well change the first half of the conditional too, though. In any case: Reviewed-by:

Re: drm/nouveau E[ DRM] fail ttm_validate

2013-01-04 Thread Marcin Slusarz
On Fri, Jan 04, 2013 at 01:21:14PM +0100, Kees Bakker wrote: Hi, Right after I upgraded to Ubuntu quantal I started seeing these messages: Jan 4 12:18:12 koli kernel: [ 3705.970720] nouveau E[ DRM] fail ttm_validate Jan 4 12:18:12 koli kernel: [ 3705.970726] nouveau E[ DRM]

<    1   2   3   4   5   6   7   8   >