Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-31 Thread H. Peter Anvin
On 07/10/2012 02:48 AM, Ingo Molnar wrote: We could read out the current GDT [the SGDT instruction] instead of looking at gdt_page. Then we'd have to decode that descriptor, the limit. Decide whether the selector points to the GDT or LDT. All the fun x86 legacies that we mostly forgot already a

Re: [PATCH 2/5] clk: mmp: add clock definition for pxa168

2012-07-31 Thread Arnd Bergmann
On Tuesday 31 July 2012, Chao Xie wrote: > +#define APBC_RTC APBC_REG(0x28) > +#define APBC_TWSI0 APBC_REG(0x2c) > +#define APBC_KPC APBC_REG(0x30) > +#define APBC_UART0 APBC_REG(0x00) > +#define APBC_UART1 APBC_REG(0x04) > +#define APBC_GPIO APBC_REG(0x08) > +#define A

Re: [PATCH 1/5] clk: mmp: add mmp specific clocks

2012-07-31 Thread Arnd Bergmann
On Tuesday 31 July 2012, Chao Xie wrote: > +static int clk_apbc_prepare(struct clk_hw *hw) > +{ > + struct clk_apbc *apbc = to_clk_apbc(hw); > + unsigned int data; > + unsigned long flags = 0; > + > + /* > + * It may share same register as MUX clock, > + * and it will impa

Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-07-31 Thread Arnd Bergmann
On Tuesday 31 July 2012, wei_w...@realsil.com.cn wrote: > From: Wei WANG > > Realtek card reader core driver is the bus driver for Realtek > driver-based card reader, which supplies adapter layer to > be used by lower-level pci/usb card reader and upper-level > sdmmc/memstick host driver. > > Si

[PATCH 2/2] HID: wacom: OLEDs control over sysfs for Intuos4

2012-07-31 Thread Przemo Firszt
Thsi patch adds ability to control OLED micro displays on Wacom Intuos4 Wireless. The OLEDS are exposed as /sys/class/hidraw/hidraw*/device/oled{No]_img where No. is 0 to 7 Setting an image: dd bs=256 if=img_file of=/sys/class/hidraw/hidraw{No}/device/oled0_img The image has to contain 256 bytes

Re: [PATCH 0/4] promote zcache from staging

2012-07-31 Thread Seth Jennings
On 07/31/2012 12:51 PM, Konrad Rzeszutek Wilk wrote: > Would Monday Aug 6th at 1pm EST on irc.freenode.net channel #zcache work > for people? I think this is a great idea! Dan, can you post code as an RFC by tomorrow or Thursday? We (Rob and I) have the Texas Linux Fest starting Friday. We need t

Re: __update_max_tr: rcu_read_lock() used illegally while idle!

2012-07-31 Thread Paul E. McKenney
On Tue, Jul 31, 2012 at 02:06:41PM -0400, Steven Rostedt wrote: > On Tue, 2012-07-31 at 10:44 -0700, Paul E. McKenney wrote: > > > OK, I interpret this as excluding NMI handlers, but please let me > > know if I am still being naive. ;-) > > > > You are correct. This is only called where lockdep

Re: [PATCH 0/2][RFC] Better handling of insane CMOS values

2012-07-31 Thread Prarit Bhargava
On 07/31/2012 02:35 AM, John Stultz wrote: > So CAI Qian noticed recent boot trouble on a machine that had its CMOS > clock configured for the year 8200. > See: http://lkml.org/lkml/2012/7/29/188 In case anyone was wondering, the system's date was very much screwed up: │ System Time ..

Re: [PATCH 1/2] uprobes: Use a helper instead of ptrace's single step enable

2012-07-31 Thread Oleg Nesterov
On 07/31, Sebastian Andrzej Siewior wrote: > > +void __weak arch_uprobe_enable_step(struct task_struct *child, > + struct arch_uprobe *arch) > +{ > + user_enable_single_step(current); > +} > + > +void __weak arch_uprobe_disable_step(struct task_struct *child, > + struct

Re: [PATCH] uprobes: don't enable/disable signle step if the user did it

2012-07-31 Thread Oleg Nesterov
On 07/31, Srikar Dronamraju wrote: > > * Oleg Nesterov [2012-07-30 16:16:38]: > > > So I think we need arch_uprobe_*able_step(struct uprobe_task *utask). > > Ignoring all problems except the one this patch tries to fix, x86 > > can simply do: > > > > arch_uprobe_enble_step(utask, struct arch_u

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-07-31 Thread Rik van Riel
On 07/31/2012 08:46 AM, Mel Gorman wrote: mm: hugetlbfs: Correctly detect if page tables have just been shared Each page mapped in a processes address space must be correctly accounted for in _mapcount. Normally the rules for this are straight-forward but hugetlbfs page table sharing is differe

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-07-31 Thread Tejun Heo
Hello, Sasha. On Tue, Jul 31, 2012 at 08:05:17PM +0200, Sasha Levin wrote: > +#define HASH_INIT(name) > \ > +({ \ > + int __i;

Re: [PATCH 2/2] x86/uprobes: implement x86 specific arch_uprobe_*_step

2012-07-31 Thread Oleg Nesterov
Oh, Sebastian, I'll try to read this patch tomorrow, but I am not expert anyway. However, honestly I do not like it. I think we should change this step-by-step, that is why I suggested to use TIF_SINGLESTEP and user_enable_single_step() like your initial patch did. With this patch at least the deb

[PATCH 1/2] HID: wacom: Use half of brightness for low state

2012-07-31 Thread Przemo Firszt
Intuos4 WL leds have 2 states: high and low. With no activity tablet uses low state; using pen triggers high state. Both can be set independently, but it would require setting another led device to control them separately. This patch uses the brightness set through leds subsytem as high and half of

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-07-31 Thread Larry Woodman
On 07/31/2012 08:46 AM, Mel Gorman wrote: Fundamentally I think the problem is that we are not correctly detecting that page table sharing took place during huge_pte_alloc(). This patch is longer and makes an API change but if I'm right, it addresses the underlying problem. The first VM_MAYSHARE

Re: [PATCH] cpuidle: coupled: fix sleeping while atomic in cpu notifier

2012-07-31 Thread Colin Cross
On Tue, Jul 31, 2012 at 8:43 AM, Srivatsa S. Bhat wrote: > On 07/26/2012 02:50 AM, Colin Cross wrote: >> The cpu hotplug notifier gets called in both atomic and non-atomic >> contexts, it is not always safe to lock a mutex. Filter out all events >> except the six necessary ones, which are all sle

wlcore: might_sleep operation in interrupt handler

2012-07-31 Thread Denis Yefremov
Interrupt handler wlcore_irq in wlcore/main.c file invokes mutex_lock that is might sleep operation. Found by Linux Driver Verification project (linuxtesting.org) within my participation in the GSoC 2012 program. drivers/net/wireless/ti/wlcore/main.c static irqreturn_t wlcore_irq(int irq, void *

Re: [PATCH] leds: triggers: send uevent when changing triggers

2012-07-31 Thread Colin Cross
On Thu, Jul 26, 2012 at 9:04 PM, Bryan Wu wrote: > On Fri, Jul 27, 2012 at 12:51 AM, Greg KH wrote: >> On Thu, Jul 26, 2012 at 01:03:11PM +0800, Bryan Wu wrote: >>> Just one quick patch for my idea: emitting a uevent in sysfs_create_file(). >>> >>> -- >>> diff --git a/fs/sysfs/file.c b/fs/sysfs/f

Re: [GIT PULL (PATCH 0/4)] VFIO driver for v3.6

2012-07-31 Thread Alex Williamson
On Tue, 2012-07-31 at 08:53 -0600, Alex Williamson wrote: > On Mon, 2012-07-30 at 22:11 -0700, Linus Torvalds wrote: > > On Mon, Jul 30, 2012 at 4:17 PM, Alex Williamson > > wrote: > > > > > > I'm pretty anxious to find out as well. Linus, ping, any thoughts on > > > including this in 3.6? Thank

[PATCH] ibmvscsi: Add maintainer for IBM virtual SCSI/FC drivers

2012-07-31 Thread Robert Jennings
Add a MAINTAINERS entry for the IBM Power Virtual SCSI and FC device drivers. Signed-off-by: Robert Jennings --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index fb036a0..f441c46 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[GIT PULL] Ceph changes for 3.6

2012-07-31 Thread Sage Weil
Hi Linus, Please pull the following Ceph changes for 3.6 from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus There are several trivial conflicts to resolve; sorry! Stephen is carrying fixes for them in linux-next as well. Lots of stuff this time around: * lot

Re: [PATCH 2/2] xhci: EHCI/XHCI ports switching on Intense-PC.

2012-07-31 Thread Sarah Sharp
On Tue, Jul 31, 2012 at 10:06:34AM -0700, Sarah Sharp wrote: > On Tue, Jul 31, 2012 at 06:49:50AM +0200, Oliver Neukum wrote: > > On Monday 30 July 2012 15:34:06 Sarah Sharp wrote: > > > Hi Denis, > > > > > > Can you send me the output of `sudo dmidecode`? I'd like to see if I > > > can make a mo

Re: [Xen-devel] [PATCH 2/5] xen/swiotlb: With more than 4GB on 64-bit, disable the native SWIOTLB.

2012-07-31 Thread Konrad Rzeszutek Wilk
On Tue, Jul 31, 2012 at 03:46:04PM +0100, Stefano Stabellini wrote: > On Tue, 31 Jul 2012, Konrad Rzeszutek Wilk wrote: > > If a PV guest is booted the native SWIOTLB should not be > > turned on. It does not help us (we don't have any PCI devices) > > and it eats 64MB of good memory. In the case of

Re: linux-next: manual merge of the akpm tree with the nfs tree

2012-07-31 Thread Andrew Morton
On Tue, 31 Jul 2012 18:50:22 +0100 Mel Gorman wrote: > Stephen Rothwell reported a merge conflict between a MM patch "nfs: > enable swap on NFS" and an NFS patch "nfs: skip commit in > releasepage if we're freeing memory for fs-related reasons". grumble. This happened becase new stuff was added

ANN: libseccomp 1.0.0 released

2012-07-31 Thread Paul Moore
I would like to announce the second release of the libseccomp library. The libseccomp library provides an easy to use, platform independent, interface to Linux's enhanced syscall filtering mechanism. * http://sourceforge.net/projects/libseccomp * http://sf.net/projects/libseccomp/files/libsec

[PATCH v2] xconfig: Display dependency values in debug_info

2012-07-31 Thread Salar Ali Mumtaz
Now the debug_info only shows y/n/m values. Signed-off-by: Salar Ali Mumtaz --- scripts/kconfig/qconf.cc | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index df274fe..b6a7cc5 100644 --- a/scripts/kconfig/

Re: linux-next: manual merge of the akpm tree with the nfs tree

2012-07-31 Thread Myklebust, Trond
On Tue, 2012-07-31 at 11:44 -0700, Andrew Morton wrote: > On Tue, 31 Jul 2012 18:50:22 +0100 > Mel Gorman wrote: > > > Stephen Rothwell reported a merge conflict between a MM patch "nfs: > > enable swap on NFS" and an NFS patch "nfs: skip commit in > > releasepage if we're freeing memory for fs-r

Re: [PATCH RT 05/12] slab: Prevent local lock deadlock

2012-07-31 Thread Frank Rowand
On 07/30/12 19:32, Steven Rostedt wrote: > On Mon, 2012-07-30 at 19:22 -0700, Frank Rowand wrote: >> On 07/30/12 18:22, Steven Rostedt wrote: >>> On Thu, 2012-07-26 at 17:15 -0700, Frank Rowand wrote: >>> Config is from arch/arm/configs/omap2plus_defconfig plus: CONFIG_U

Re: [PATCH RT 05/12] slab: Prevent local lock deadlock

2012-07-31 Thread Steven Rostedt
On Tue, 2012-07-31 at 12:00 -0700, Frank Rowand wrote: > > Yeah, my root fs is on the sdcard. Did you get this bug every time or > > was it sporadic? > > I get it every boot. Can you try it with an SD card? I can set it up for nfs as well, but that would take a bit of time. -- Steve -- To uns

Re: awful kconfig help texts.

2012-07-31 Thread Dave Jones
On Tue, Jul 31, 2012 at 07:07:41PM +0200, Borislav Petkov wrote: > On Tue, Jul 31, 2012 at 11:16:00AM -0400, Dave Jones wrote: > > > > PWM Support (PWM) [N/y/?] (NEW) ? > > > > CONFIG_PWM: > > > > This enables PWM support through the generic PWM framework. > > > > > > Well that's.. e

post 3.5, phantom signals.

2012-07-31 Thread Dave Jones
Since 3.5, I've started noticing weird things happening with signal delivery. Things I've seen so far.. - long running tasks SIGINT, even though I wasn't even anywhere near the keyboard. - processes running inside screen/tmux disappearing (and taking the whole session with them). And now, while

Re: [PATCH 2/3] regmap: implement irq chip suspend/resume operations

2012-07-31 Thread Stephen Warren
On 07/30/2012 11:38 AM, Mark Brown wrote: > On Mon, Jul 30, 2012 at 11:10:30AM -0600, Stephen Warren wrote: > >> hence exit sleep. If we are to port that code into the regmap-irq core, >> it seems to make sense to have enable_base==wake_base, since the same >> register truly is being used for both

Re: [PATCH 2/2] x86/uprobes: implement x86 specific arch_uprobe_*_step

2012-07-31 Thread Sebastian Andrzej Siewior
On 07/31/2012 07:51 PM, Oleg Nesterov wrote: However, honestly I do not like it. I think we should change this step-by-step, that is why I suggested to use TIF_SINGLESTEP and user_enable_single_step() like your initial patch did. With this patch at least the debugger doesn't lose the control over

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Karl Beldan
On 7/31/12, Russell King - ARM Linux wrote: > On Tue, Jul 31, 2012 at 08:45:57AM +0200, Karl Beldan wrote: >> I was expecting the following to work: >> addr = dma_map_single(dev, buffer, size, DMA_TO_DEVICE); >> dma_sync_single_for_device(dev, buffer, pattern_size, DMA_FROM_DEVICE); >>

[PATCH 00/19] sched-numa rewrite

2012-07-31 Thread Peter Zijlstra
Hi all, After having had a talk with Rik about all this NUMA nonsense where he proposed the scheme implemented in the next to last patch, I came up with a related means of doing the home-node selection. I've also switched to (ab)using PROT_NONE for driving the migration faults. These patches go

[PATCH 04/19] mm, thp: Preserve pgprot across huge page split

2012-07-31 Thread Peter Zijlstra
If we marked a THP with our special PROT_NONE protections, ensure we don't loose them over a split. Collapse seems to always allocate a new (huge) page which should already end up on the new target node so loosing protections there isn't a problem. Cc: Rik van Riel Cc: Paul Turner Signed-off-by

[PATCH 02/19] mm/mpol: Remove NUMA_INTERLEAVE_HIT

2012-07-31 Thread Peter Zijlstra
Since the NUMA_INTERLEAVE_HIT statistic is useless on its own; it wants to be compared to either a total of interleave allocations or to a miss count, remove it. Fixing it would be possible, but since we've gone years without these statistics I figure we can continue that way. Also NUMA_HIT fully

[PATCH 09/19] mm, migrate: Introduce migrate_misplaced_page()

2012-07-31 Thread Peter Zijlstra
Add migrate_misplaced_page() which deals with migrating pages from faults. This includes adding a new MIGRATE_FAULT migration mode to deal with the extra page reference required due to having to look up the page. Based-on-work-by: Lee Schermerhorn Cc: Paul Turner Signed-off-by: Peter Zijlstra -

[PATCH 15/19] sched: Implement home-node awareness

2012-07-31 Thread Peter Zijlstra
Implement home node preference in the load-balancer. This is done in four pieces: - task_numa_hot(); make it harder to migrate tasks away from their home-node, controlled using the NUMA_HOT feature flag. - select_task_rq_fair(); prefer placing the task in their home-node, controlled usin

[PATCH 17/19] sched, numa: Detect big processes

2012-07-31 Thread Peter Zijlstra
Detect 'big' processes for which the one home-node per process isn't going to work as desired. The current policy for such tasks is to ignore them entirely and put the home-node back to -1 (no preference) so they'll behave as if none of this NUMA nonsense is there. The current heuristic for deter

[PATCH 12/19] mm/mpol: Make mempolicy home-node aware

2012-07-31 Thread Peter Zijlstra
Add another layer of fallback policy to make the home node concept useful from a memory allocation PoV. This changes the mpol order to: - vma->vm_ops->get_policy [if applicable] - vma->vm_policy [if applicable] - task->mempolicy - tsk_home_node() preferred[NEW] - defau

[PATCH 14/19] sched: Make find_busiest_queue() a method

2012-07-31 Thread Peter Zijlstra
Its a bit awkward but it was the least painful means of modifying the queue selection. Used in a later patch to conditionally use a random queue. Cc: Paul Turner Cc: Lee Schermerhorn Cc: Christoph Lameter Cc: Rik van Riel Cc: Andrew Morton Cc: Linus Torvalds Signed-off-by: Peter Zijlstra --

[PATCH 05/19] mm, mpol: Create special PROT_NONE infrastructure

2012-07-31 Thread Peter Zijlstra
In order to facilitate a lazy -- fault driven -- migration of pages, create a special transient PROT_NONE variant, we can then use the 'spurious' protection faults to drive our migrations from. Pages that already had an effective PROT_NONE mapping will not be detected to generate these 'spuriuos'

[PATCH 07/19] mm/mpol: Add MPOL_MF_NOOP

2012-07-31 Thread Peter Zijlstra
From: Lee Schermerhorn This patch augments the MPOL_MF_LAZY feature by adding a "NOOP" policy to mbind(). When the NOOP policy is used with the 'MOVE and 'LAZY flags, mbind() [check_range()] will walk the specified range and unmap eligible pages so that they will be migrated on next touch. This

[PATCH 08/19] mm/mpol: Check for misplaced page

2012-07-31 Thread Peter Zijlstra
From: Lee Schermerhorn This patch provides a new function to test whether a page resides on a node that is appropriate for the mempolicy for the vma and address where the page is supposed to be mapped. This involves looking up the node where the page belongs. So, the function returns that node

[PATCH 06/19] mm/mpol: Add MPOL_MF_LAZY ...

2012-07-31 Thread Peter Zijlstra
From: Lee Schermerhorn This patch adds another mbind() flag to request "lazy migration". The flag, MPOL_MF_LAZY, modifies MPOL_MF_MOVE* such that the selected pages are simply unmapped from the calling task's page table ['_MOVE] or from all referencing page tables [_MOVE_ALL]. Anon pages will fi

[PATCH 10/19] mm, mpol: Use special PROT_NONE to migrate pages

2012-07-31 Thread Peter Zijlstra
Combine our previous PROT_NONE, mpol_misplaced and migrate_misplaced_page() pieces into an effective migrate on fault scheme. Suggested-by: Rik van Riel Cc: Paul Turner Signed-off-by: Peter Zijlstra --- mm/huge_memory.c | 41 - mm/memory.c | 42

[PATCH 13/19] sched: Introduce sched_feat_numa()

2012-07-31 Thread Peter Zijlstra
Avoid a few #ifdef's later on. Cc: Paul Turner Cc: Lee Schermerhorn Cc: Christoph Lameter Cc: Rik van Riel Cc: Andrew Morton Cc: Linus Torvalds Signed-off-by: Peter Zijlstra --- kernel/sched/sched.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/kernel/sched/

[PATCH 11/19] sched, mm: Introduce tsk_home_node()

2012-07-31 Thread Peter Zijlstra
Introduce the home-node concept for tasks. In order to keep memory locality we need to have a something to stay local to, we define the home-node of a task as the node we prefer to allocate memory from and prefer to execute on. These are no hard guarantees, merely preferences. This allows for opti

[PATCH 16/19] sched, numa: NUMA home-node selection code

2012-07-31 Thread Peter Zijlstra
Now that we have infrastructure in place to migrate pages back to their home-node, and migrate memory towards the home-node, we need to set the home-node. Instead of creating a seconday control loop, fully rely on the existing load-balancer to do the right thing. The home-node selection logic will

[PATCH 18/19] sched, numa: Per task memory placement for big processes

2012-07-31 Thread Peter Zijlstra
Implement a per-task memory placement scheme for 'big' tasks (as per the last patch). It relies on a regular PROT_NONE 'migration' fault to scan the memory space of the procress and uses a two stage migration scheme to reduce the invluence of unlikely usage relations. It relies on the assumption t

[PATCH 03/19] mm/mpol: Make MPOL_LOCAL a real policy

2012-07-31 Thread Peter Zijlstra
Make MPOL_LOCAL a real and exposed policy such that applications that relied on the previous default behaviour can explicitly request it. Requested-by: Christoph Lameter Cc: Lee Schermerhorn Cc: Rik van Riel Cc: Andrew Morton Cc: Linus Torvalds Signed-off-by: Peter Zijlstra --- include/linu

[PATCH 19/19] mm, numa: retry failed page migrations

2012-07-31 Thread Peter Zijlstra
From: Rik van Riel Keep track of how many NUMA page migrations succeeded and failed (in a way that wants retrying later) per process. If a lot of the page migrations of a process fail, unmap the process pages some point later, so the migration can be tried again at the next fault. Signed-off-by

[PATCH 01/19] task_work: Remove dependency on sched.h

2012-07-31 Thread Peter Zijlstra
Remove the need for sched.h from task_work.h so that we can use struct task_work in struct task_struct in a later patch. Cc: Oleg Nesterov Signed-off-by: Peter Zijlstra --- include/linux/task_work.h |7 --- kernel/exit.c |5 - 2 files changed, 4 insertions(+), 8 dele

Re: linux-next: Tree for July 31 (media/radio-tea5777)

2012-07-31 Thread Mauro Carvalho Chehab
Em 31-07-2012 14:22, Randy Dunlap escreveu: > drivers/built-in.o: In function `radio_tea5777_set_freq': > radio-tea5777.c:(.text+0x4d8704): undefined reference to `__udivdi3' > The patch below should fix it. Thanks for reporting it! Regards, Mauro [media] radio-tea5777: use library for 64bits d

Re: [PATCH] ARM: Sort exception table at compile time

2012-07-31 Thread Stephen Boyd
On 07/30/12 15:38, Stephen Boyd wrote: > On 07/30/12 14:56, Russell King - ARM Linux wrote: >> On Mon, Jul 30, 2012 at 02:30:03PM -0700, Stephen Boyd wrote: >>> Add the ARM machine identifier to sortextable and select the >>> config option so that we can sort the exception table at compile >>> time

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-07-31 Thread Michal Hocko
On Tue 31-07-12 13:49:21, Larry Woodman wrote: > On 07/31/2012 08:46 AM, Mel Gorman wrote: > > > >Fundamentally I think the problem is that we are not correctly detecting > >that page table sharing took place during huge_pte_alloc(). This patch is > >longer and makes an API change but if I'm right,

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Russell King - ARM Linux
On Tue, Jul 31, 2012 at 09:31:13PM +0200, Karl Beldan wrote: > On 7/31/12, Russell King - ARM Linux wrote: > > On Tue, Jul 31, 2012 at 08:45:57AM +0200, Karl Beldan wrote: > >> I was expecting the following to work: > >>addr = dma_map_single(dev, buffer, size, DMA_TO_DEVICE); > >>dma_sync_

Update STA2X11 to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board to the videobuf2. This patch series is an RFC. The first patch is just an update to the adv7180 because the VIP (the only user) now use the control framework so query{g_|s_|ctrl} are not necessery. The second patch adds a new

[PATCH 1/3 RFC] [media] adv7180: remove {query/g_/s_}ctrl

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 3 --- 1 file modificato, 3 rimozioni(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 07bb550..bcc7d60 100644 --- a/drivers/media/video/adv7180.c +++ b/drivers/media/video/adv7180.c @@ -402,9 +40

Re: post 3.5, phantom signals.

2012-07-31 Thread Linus Torvalds
On Tue, Jul 31, 2012 at 12:17 PM, Dave Jones wrote: > Since 3.5, I've started noticing weird things happening with signal delivery. > Things I've seen so far.. > > - long running tasks SIGINT, even though I wasn't even anywhere near the > keyboard. > - processes running inside screen/tmux disappe

Update VIP to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board to the videobuf2. This patch series is an RFC. The first patch is just an update to the adv7180 because the VIP (the only user) now use the control framework so query{g_|s_|ctrl} are not necessery. The second patch adds a new

[PATCH] crypto: Add a MAINTAINERS entry for P7+ in-Nest crypto driver

2012-07-31 Thread Kent Yoder
Add a MAINTAINERS entry for the IBM Power in-Nest Crypto Acceleators driver. Signed-off-by: Kent Yoder --- MAINTAINERS |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index fb036a0..757fe60 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -341

Re: wlcore: might_sleep operation in interrupt handler

2012-07-31 Thread Johannes Berg
On Tue, 2012-07-31 at 22:28 +0400, Denis Yefremov wrote: > Interrupt handler wlcore_irq in wlcore/main.c file > invokes mutex_lock that is might sleep operation. > int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev) > { > ... > ret = request_threaded_irq(wl->irq, wl

[PATCH 1/3] [media] adv7180: remove {query/g_/s_}ctrl

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 3 --- 1 file modificato, 3 rimozioni(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 07bb550..bcc7d60 100644 --- a/drivers/media/video/adv7180.c +++ b/drivers/media/video/adv7180.c @@ -402,9 +40

[PATCH 2/3] [media] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/Kconfig | 6 +- drivers/media/video/Makefile | 1 + drivers/media/video/videobuf2-dma-streaming.c | 187 ++ include/media/videobuf2-dma-streaming.h | 24 4 file modifica

[PATCH 3/3] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/video/sta2x11_vip.c | 1134 ++--- 1 file modificato, 410 inserzioni(+), 724 rimozioni(-) diff --git a/drivers/media/video/sta2x11_vip.c b/drivers/media/video/sta2x11_vip.c index 4c10205..

Re: linux-next: Tree for July 31 (media/radio-tea5777)

2012-07-31 Thread Randy Dunlap
On 07/31/2012 12:56 PM, Mauro Carvalho Chehab wrote: > Em 31-07-2012 14:22, Randy Dunlap escreveu: >> drivers/built-in.o: In function `radio_tea5777_set_freq': >> radio-tea5777.c:(.text+0x4d8704): undefined reference to `__udivdi3' >> > The patch below should fix it. > > Thanks for reporting it!

[RFC/PATCH] zcache/ramster rewrite and promotion

2012-07-31 Thread Dan Magenheimer
Here finally is the long promised rewrite of zcache (and ramster). I know that we are concentrating on moving zcache from staging, and not ramster. However the amount of duplicate code that ramster used from zcache is astonishing so when I did the rewrite I thought why not kill two birds with one

Re: [PATCH 1/3] [media] adv7180: remove {query/g_/s_}ctrl

2012-07-31 Thread Federico Vaga
I'm sorry for the email duplication, I press the wrong key on git-send email. Ignore these emails. Sorry -- Federico Vaga -- 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

RE: [PATCH] igb: correct hardware type (i210/i211) check in igb_loopback_test()

2012-07-31 Thread Jesper Juhl
On Wed, 25 Jul 2012, Wyborny, Carolyn wrote: > > > -Original Message- > > From: Jesper Juhl [mailto:j...@chaosbits.net] > > Sent: Wednesday, July 25, 2012 12:06 PM > > To: linux-kernel@vger.kernel.org > > Cc: net...@vger.kernel.org; e1000-de...@lists.sourceforge.net; Wyborny, > > Caroly

Re: Update VIP to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
I use git send-email command to send patches but I think I made a mistake. If something is wrong or confused please tell me and I try to resend all the patches hopefully without mistake. Sorry again. 2012/7/31 Federico Vaga : > As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board

Re: [RFC 1/4] hashtable: introduce a small and naive hashtable

2012-07-31 Thread Sasha Levin
On 07/31/2012 08:23 PM, Tejun Heo wrote: > Hello, Sasha. > > On Tue, Jul 31, 2012 at 08:05:17PM +0200, Sasha Levin wrote: >> +#define HASH_INIT(name) >> \ >> +({ \ >> +int __i;

[PATCH] drm/i915: Fix mem leak in intel_sdvo_write_cmd()

2012-07-31 Thread Jesper Juhl
If the allocation of 'buf' succeeds but the allocation of 'msgs' fails we'll return false and leak 'buf' when it goes out of scope. Signed-off-by: Jesper Juhl --- drivers/gpu/drm/i915/intel_sdvo.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) note: compile tested only due t

Removing 'pos' from hlist iterators

2012-07-31 Thread Sasha Levin
Hi all, I was working on code that uses hlists, and noticed something odd. While list_for_each_entry needs 3 parameters (type*, head, member), hlist_for_each_entry needs 4 (everything like hlist_for_each + 'pos'). pos and tpos both serve as iterators in this case, and I think that there's no r

Re: wlcore: might_sleep operation in interrupt handler

2012-07-31 Thread Denis Yefremov
More precise (IRQF_ONESHOT flag may be used): int __devinit wlcore_probe(struct wl1271 *wl, struct platform_device *pdev) { ... if (wl->platform_quirks & WL12XX_PLATFORM_QUIRK_EDGE_IRQ) irqflags = IRQF_TRIGGER_RISING; else irqflags = IRQF_TRIGGER_HIG

Re: [PATCH 5/6] ARM: ux500: Enable HIGHMEM on all mop500 platforms

2012-07-31 Thread Arnd Bergmann
On Tuesday 31 July 2012, Russell King - ARM Linux wrote: > I still fail to see how not having highmem enabled would ever cause memory > corruption errors (unless something dealing with memory in a very very > wrong way - iow, not using one of the reservation or memory allocation > methods provided

Re: [PATCH 01/19] task_work: Remove dependency on sched.h

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please r

Re: [PATCH 02/19] mm/mpol: Remove NUMA_INTERLEAVE_HIT

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH 03/19] mm/mpol: Make MPOL_LOCAL a real policy

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

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

2012-07-31 Thread Pekka Enberg
On Tue, Jul 31, 2012 at 11:18 PM, Dan Magenheimer wrote: > diffstat vs 3.5: > drivers/staging/ramster/Kconfig |2 > drivers/staging/ramster/Makefile |2 > drivers/staging/zcache/Kconfig|2 > drivers/staging/zcache/Makefile |2 > mm/Kconfig

Re: [PATCH 04/19] mm, thp: Preserve pgprot across huge page split

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH 5/6] ARM: ux500: Ensure probing of Audio devices when Device Tree is enabled

2012-07-31 Thread Arnd Bergmann
On Tuesday 31 July 2012, Lee Jones wrote: > diff --git a/arch/arm/mach-ux500/board-mop500.c > b/arch/arm/mach-ux500/board-mop500.c > index e641003..87a5cd7 100644 > --- a/arch/arm/mach-ux500/board-mop500.c > +++ b/arch/arm/mach-ux500/board-mop500.c > @@ -794,6 +794,7 @@ static void __init u8500_in

Re: [PATCH 05/19] mm, mpol: Create special PROT_NONE infrastructure

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH 1/2] ACPI: replace all acpi_get_table_with_size with acpi_get_table

2012-07-31 Thread Yinghai Lu
On Mon, Jul 30, 2012 at 8:20 PM, Len Brown wrote: > Applied. > > thanks, > Len Brown, Intel Open Source Technology Center > > ps. next time, please send to linux-a...@vger.kernel.org list > also, put comments not for the commit log after the "---" > other two reference need to be changed: driver

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-07-31 Thread Larry Woodman
On 07/31/2012 04:06 PM, Michal Hocko wrote: On Tue 31-07-12 13:49:21, Larry Woodman wrote: On 07/31/2012 08:46 AM, Mel Gorman wrote: Fundamentally I think the problem is that we are not correctly detecting that page table sharing took place during huge_pte_alloc(). This patch is longer and make

Re: [PATCH 4/6] ARM: ux500: Fix merge error, so such struct 'snd_soc_u8500'

2012-07-31 Thread Arnd Bergmann
On Tuesday 31 July 2012, Lee Jones wrote: > arch/arm/mach-ux500/board-mop500-msp.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/mach-ux500/board-mop500-msp.c > b/arch/arm/mach-ux500/board-mop500-msp.c > index 9960480..1b6a193 100644 > --- a/arch/arm/mach-u

Re: [PATCH 3/6] ARM: ux500: Remove unused snowball_of_platform_devs struct

2012-07-31 Thread Arnd Bergmann
On Tuesday 31 July 2012, Lee Jones wrote: > This was left over during a recent clean-up which removed Device Tree > helper structs. There is no longer a requirement for it, so we can just > remove it. > > Signed-off-by: Lee Jones Acked-by: Arnd Bergmann -- To unsubscribe from this list: send th

Re: [PATCH] misc/pch_phub: Enable UART clock setting by module parameter

2012-07-31 Thread Arnd Bergmann
On Tuesday 31 July 2012, Tomoya MORINAGA wrote: > > On Wed, Jul 25, 2012 at 10:31 PM, Arnd Bergmann wrote: > > What I think should work better here would be to use the clk API, > > so that the phub driver registers a 'struct clk' using > > (I assume) clk_register_divider_table(). > > The UART dri

Re: [PATCH 06/19] mm/mpol: Add MPOL_MF_LAZY ...

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH 07/19] mm/mpol: Add MPOL_MF_NOOP

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH] igb: correct hardware type (i210/i211) check in igb_loopback_test()

2012-07-31 Thread Jeff Kirsher
On Tue, 2012-07-31 at 22:23 +0200, Jesper Juhl wrote: > On Wed, 25 Jul 2012, Wyborny, Carolyn wrote: > > > > > > -Original Message- > > > From: Jesper Juhl [mailto:j...@chaosbits.net] > > > Sent: Wednesday, July 25, 2012 12:06 PM > > > To: linux-kernel@vger.kernel.org > > > Cc: net...@vg

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

2012-07-31 Thread Konrad Rzeszutek Wilk
On Tue, Jul 31, 2012 at 11:53:57PM +0300, Pekka Enberg wrote: > On Tue, Jul 31, 2012 at 11:18 PM, Dan Magenheimer > wrote: > > diffstat vs 3.5: > > drivers/staging/ramster/Kconfig |2 > > drivers/staging/ramster/Makefile |2 > > drivers/staging/zcache/Kconfig|2 > >

Re: [PATCH 08/19] mm/mpol: Check for misplaced page

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

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

2012-07-31 Thread Dan Magenheimer
> From: Pekka Enberg [mailto:penb...@kernel.org] > Sent: Tuesday, July 31, 2012 2:54 PM > > On Tue, Jul 31, 2012 at 11:18 PM, Dan Magenheimer > wrote: > > diffstat vs 3.5: > > drivers/staging/ramster/Kconfig |2 > > drivers/staging/ramster/Makefile |2 > > drivers/staging/zcac

Re: [PATCH 0/3] x86, MSI: Support multiple MSIs in presense of IRQ remapping

2012-07-31 Thread Suresh Siddha
On Tue, 2012-07-31 at 13:41 +0200, Alexander Gordeev wrote: > Currently multiple MSI mode is limited to a single vector per device (at > least on x86 and PPC). This series breathes life into pci_enable_msi_block() > and makes it possible to set interrupt affinity for multiple IRQs, similarly > to M

Re: [PATCH 09/19] mm, migrate: Introduce migrate_misplaced_page()

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH] igb: correct hardware type (i210/i211) check in igb_loopback_test()

2012-07-31 Thread Jesper Juhl
On Tue, 31 Jul 2012, Jeff Kirsher wrote: > On Tue, 2012-07-31 at 22:23 +0200, Jesper Juhl wrote: > > On Wed, 25 Jul 2012, Wyborny, Carolyn wrote: > > > > > > > > > -Original Message- > > > > From: Jesper Juhl [mailto:j...@chaosbits.net] > > > > Sent: Wednesday, July 25, 2012 12:06 PM >

[PATCH] usb: host: xhci: Fix Compliance Mode on SN65LVPE502CP Hardware

2012-07-31 Thread Alexis Cortes
This patch is intended to work around a known issue on the SN65LVPE502CP USB3.0 re-driver that can delay the negotiation between a device and the host past the usual handshake timeout, and if that happens on the first insertion, the host controller port will enter in Compliance Mode as per xHCI Spe

Re: [PATCH 10/19] mm, mpol: Use special PROT_NONE to migrate pages

2012-07-31 Thread Rik van Riel
On 07/31/2012 03:12 PM, Peter Zijlstra wrote: + if (unlikely(pmd_trans_splitting(entry))) { + spin_unlock(&mm->page_table_lock); + wait_split_huge_page(vma->anon_vma, pmd); + return; + } + +#ifdef CONFIG_NUMA + page = pmd_page(entry); +

<    1   2   3   4   5   6   7   >