RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
> -Original Message- > From: Li, Fei > Sent: Thursday, February 28, 2013 5:06 PM > To: gre...@linuxfoundation.org; Lan, Tianyu; st...@rowland.harvard.edu; > sarah.a.sh...@linux.intel.com > Cc: r...@sisk.pl; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > Liu, > Chuansheng;

Re: libata-acpi.c ata_acpi_register_power_resource copy and paste mistake ?

2013-02-28 Thread Rafael J. Wysocki
On Friday, March 01, 2013 09:59:41 AM Aaron Lu wrote: > +Rafael > > commit bc9b6407bd6df3ab7189e5622816bbc11ae9d2d8 > Author: Rafael J. Wysocki > Date: Thu Jan 17 14:11:05 2013 +0100 > > ACPI / PM: Rework the handling of devices depending on power resources > > -Aaron Thanks Aaron! >

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-02-28 Thread Tang Chen
On 03/01/2013 12:07 AM, Yinghai Lu wrote: On Tue, Feb 26, 2013 at 11:44 PM, Tang Chen wrote: Sorry, if you want to revert, you just need to revert: commit e8d1955258091e4c92d5a975ebd7fd8a98f5d30f acpi, memory-hotplug: parse SRAT before memblock is ready commit

Re: [PATCH 10/30] staging: sync: Export sync API symbols

2013-02-28 Thread Greg KH
On Thu, Feb 28, 2013 at 04:43:06PM -0800, John Stultz wrote: > From: Erik Gilling > > This is needed to allow modules to link against the sync subsystem > > Cc: Maarten Lankhorst > Cc: Erik Gilling > Cc: Daniel Vetter > Cc: Rob Clark > Cc: Sumit Semwal > Cc: Greg KH > Cc:

Re: [RFC][PATCH 00/30] staging: Android sync driver

2013-02-28 Thread Greg KH
On Thu, Feb 28, 2013 at 04:42:56PM -0800, John Stultz wrote: > As proposed yesterday, here's the Android sync driver patches for > staging. > > I've preserved the commit history, but moved all the changes over > to be against the staging directory (instead of drivers/base). > > > The goal of

Re: libata-acpi.c ata_acpi_register_power_resource copy and paste mistake ?

2013-02-28 Thread Aaron Lu
+Rafael commit bc9b6407bd6df3ab7189e5622816bbc11ae9d2d8 Author: Rafael J. Wysocki Date: Thu Jan 17 14:11:05 2013 +0100 ACPI / PM: Rework the handling of devices depending on power resources -Aaron On 03/01/2013 12:45 AM, Sander Eikelenboom wrote: > Hi Jeff, > > During the last merge of

Re: dmesg macro in Documentation/kdump/gdbmacros.txt outdated

2013-02-28 Thread Greg KH
On Fri, Mar 01, 2013 at 02:31:27AM +0100, Andreas Fenkart wrote: > > Is there an updated version matching the changed printk structure? Not that I know of, but you might want to ask the author of that file to update it if possible. greg k-h -- To unsubscribe from this list: send the line

linux-next: manual merge of the bluetooth tree with Linus' tree

2013-02-28 Thread Stephen Rothwell
Hi Gustavo, Today's linux-next merge of the bluetooth tree got a conflict in net/bluetooth/rfcomm/core.c between commit 25cc4ae913a4 ("net: remove redundant check for timer pending state before del_timer") from Linus' tree and commit 5c87e6efd14d ("Bluetooth: Avoid rfcomm_session_timeout using

Re: IMA: How to manage user space signing policy with others

2013-02-28 Thread Mimi Zohar
On Thu, 2013-02-28 at 17:20 -0500, Eric Paris wrote: > On Thu, Feb 28, 2013 at 4:35 PM, Vivek Goyal wrote: > > On Thu, Feb 28, 2013 at 02:23:39PM -0500, Mimi Zohar wrote: > > I think just a second for both of you to step back and see a slightly > larger picture/problem might help. > > This is a

Re: [PATCH] ARM: dts: remove generated .dtb files on clean

2013-02-28 Thread Olof Johansson
On Thu, Feb 28, 2013 at 5:35 PM, Nishanth Menon wrote: > On Wed, Jan 30, 2013 at 12:29 AM, Santosh Shilimkar > wrote: >> Looping RMK, Arnd > Gentle query if we are still interested in this: > https://patchwork.kernel.org/patch/2020831/ > > Looks like linux master still wont delete the dtbs on

Re: IMA: How to manage user space signing policy with others

2013-02-28 Thread Mimi Zohar
On Thu, 2013-02-28 at 15:08 -0500, Vivek Goyal wrote: > - New hook is required so that we can call it after locking down the > executable in memory. Even if we have a separate method/hook for > bzImage verification, it does not take away the need for verifying > /sbin/kexec excutable

Re: IMA: How to manage user space signing policy with others

2013-02-28 Thread Mimi Zohar
On Thu, 2013-02-28 at 15:57 -0500, Vivek Goyal wrote: > Hi Mimi, > > You asked me to not come up with new signing scheme and look into IMA > and make use of it. And that's what I am trying to do. As I continue > to do implementation, new concerns crop up and I am raising these. And I appreciate

Re: zsmalloc limitations and related topics

2013-02-28 Thread Ric Mason
On 02/28/2013 07:24 AM, Dan Magenheimer wrote: Hi all -- I've been doing some experimentation on zsmalloc in preparation for my topic proposed for LSFMM13 and have run across some perplexing limitations. Those familiar with the intimate details of zsmalloc might be well aware of these

Re: [PATCH] infiniband-diags/saquery.c: switchinfo support added

2013-02-28 Thread Ira Weiny
Your mailer line wrapped the patch. Could you resend. Also, could you add this to doc/rst/saquery.8.in.rst Thanks, Ira On Thu, 28 Feb 2013 08:11:38 +0200 "Husam Kahalah" wrote: > From d61f2580b829fa2fc56aea15bd98ef3a607d9aba Mon Sep 17 00:00:00 2001 > > From: Husam kahalah > Date: Mon, 25

[PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-02-28 Thread Yong Zhang
From: Yong Zhang Otherwise, below warning is shown somtimes when running some test: WARNING: at kernel/sched/core.c:3423 migrate_disable+0xbf/0xd0() Hardware name: OptiPlex 755 Modules linked in: floppy parport parport_pc minix Pid: 1800, comm: tst-robustpi8 Tainted: GW3.4.28-rt40

Re: [PATCH] ARM: dts: remove generated .dtb files on clean

2013-02-28 Thread Nishanth Menon
On Wed, Jan 30, 2013 at 12:29 AM, Santosh Shilimkar wrote: > Looping RMK, Arnd Gentle query if we are still interested in this: https://patchwork.kernel.org/patch/2020831/ Looks like linux master still wont delete the dtbs on make clean etc.. I think leaving the stale dtbs around could have it's

Re: [PATCH v3 1/2] kexec: fix wrong types of some local variables

2013-02-28 Thread Simon Horman
On Tue, Feb 26, 2013 at 01:15:16PM +0800, Zhang Yanfei wrote: > The types of the following local variables: > - ubytes/mbytes in kimage_load_crash_segment()/kimage_load_normal_segment() > - r in vmcoreinfo_append_str() > are wrong, so fix them. > > Cc: "Eric W. Biederman" > Cc: Andrew Morton

[PATCH] [libata] Avoid specialized TLA's in ZPODD's Kconfig

2013-02-28 Thread Aaron Lu
ODD is not a common TLA for non-ATA people so they will get confused by its meaning when they are configuring the kernel. This patch fixed this problem by using ODD only after stating what it is. Signed-off-by: Aaron Lu --- drivers/ata/Kconfig | 13 +++-- 1 file changed, 7

dmesg macro in Documentation/kdump/gdbmacros.txt outdated

2013-02-28 Thread Andreas Fenkart
Is there an updated version matching the changed printk structure? thanks, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: mm: BUG in mempolicy's sp_insert

2013-02-28 Thread KOSAKI Motohiro
On Thu, Feb 28, 2013 at 1:53 AM, Hillf Danton wrote: > On Thu, Feb 28, 2013 at 1:26 PM, KOSAKI Motohiro > wrote: >>> Insert new node after updating node in tree. >> >> Thanks. you are right. I could reproduce and verified. > > Thank you too;) pleasure to do minor work for you. > > btw, how about

Re: [PATCH 2/2] mempolicy: fix typo

2013-02-28 Thread KOSAKI Motohiro
On Thu, Feb 28, 2013 at 6:54 PM, Andrew Morton wrote: > On Thu, 28 Feb 2013 00:25:07 -0500 > kosaki.motoh...@gmail.com wrote: > >> From: KOSAKI Motohiro >> >> Currently, n_new is wrongly initialized. start and end parameter >> are inverted. Let's fix it. >> >> ... >> >> --- a/mm/mempolicy.c >>

Re: [PATCH 1/6 v8] iommu/fsl: Store iommu domain information pointer in archdata.

2013-02-28 Thread Alexey Kardashevskiy
Hi! On POWERNV we use only the part of IOMMU API which handles devices and groups. We do not use IOMMU domains as VFIO containers do everything we need for VFIO and we do not implement iommu_ops as it is not very relevant to our architecture (does not give dma window properties, etc). So

Re: [RFC PATCH v2] of/pci: Provide support for parsing PCI DT ranges property

2013-02-28 Thread Linus Walleij
On Thu, Feb 21, 2013 at 4:47 PM, Andrew Murray wrote: > DT bindings for PCI host bridges often use the ranges property to describe > memory and IO ranges - this binding tends to be the same across architectures > yet several parsing implementations exist, e.g. arch/mips/pci/pci.c, >

Re: [RFC PATCH] context_tracking/rcu: don't function trace before rcu_user_exit() finishes

2013-02-28 Thread Li Zhong
On Thu, 2013-02-28 at 08:38 -0800, Paul E. McKenney wrote: > On Thu, Feb 28, 2013 at 04:26:10PM +0800, Li Zhong wrote: > > I saw some RCU illegal usage from idle complaints when function tracer > > is enabled with forced context tracking. > > > > It seems that __schedule() might be called in

Re: linux-next: build failure after merge of the nfsd tree

2013-02-28 Thread Myklebust, Trond
> > Caused by commit dc107402ae06 ("SUNRPC: make AF_LOCAL connect > synchronous") interacting with commit 77102893ae68 ("SUNRPC: Nuke the > tk_xprt macro") from Linus' tree. > > I have no idea how to fix this, so I have used the version of the nfsd > tree from

Re: [PATCH 3/4] ARM: nomadik: add dynamic irq flag to the timer

2013-02-28 Thread Linus Walleij
On Tue, Feb 26, 2013 at 11:17 PM, Daniel Lezcano wrote: > Add the dynamic irq affinity feature to the timer clock device. > > Signed-off-by: Daniel Lezcano Looks reasonable to me, sadly I do not fully grasp the patch set, Vincent+Rickard can you have a look at this? Yours, Linus Walleij -- To

Re: [RFC PATCH v2 1/2] mm: tuning hardcoded reserved memory

2013-02-28 Thread Andrew Shewmaker
On Thu, Feb 28, 2013 at 02:12:00PM -0800, Andrew Morton wrote: > On Wed, 27 Feb 2013 15:56:30 -0500 > Andrew Shewmaker wrote: > > > The following patches are against the mmtom git tree as of February 27th. > > > > The first patch only affects OVERCOMMIT_NEVER mode, entirely removing > > the 3%

Re: [PATCH] pinctrl: core: use devres_release() instead of devres_destroy()

2013-02-28 Thread Stephen Warren
On 02/28/2013 05:54 PM, Linus Walleij wrote: > On Tue, Feb 26, 2013 at 3:34 AM, Jingoo Han wrote: > >> devres_release() can simplify the code, because devres_release() >> will call the destructor for the resource as well as freeing >> the devres data. >> >> Signed-off-by: Jingoo Han > > Hm,

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

2013-02-28 Thread Stephen Rothwell
ith commit 77102893ae68 ("SUNRPC: Nuke the tk_xprt macro") from Linus' tree. I have no idea how to fix this, so I have used the version of the nfsd tree from next-20130228 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpucz3wQmAKc.pgp Description: PGP signature

RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
> -Original Message- > From: Rafael J. Wysocki [mailto:r...@sisk.pl] > Sent: Friday, March 01, 2013 8:51 AM > To: Liu, Chuansheng > Cc: Alan Stern; Li, Fei; gre...@linuxfoundation.org; Lan, Tianyu; > sarah.a.sh...@linux.intel.com; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org

Re: [PATCH v3 0/2] Add automatic bus number support for i2c busses with device tree

2013-02-28 Thread Doug Anderson
Wolfram, On Thu, Feb 28, 2013 at 3:25 PM, Wolfram Sang wrote: > > Regarding patch 1, I was waiting for the idr changes to hit mainline. > They are mainline now, but since the removal of MAX_IDR_MASK your patch > doesn't apply anymore :( Can you rebase and retest, please? I'd like to > get it

Re: [PATCH] pinctrl: core: use devres_release() instead of devres_destroy()

2013-02-28 Thread Linus Walleij
On Tue, Feb 26, 2013 at 3:34 AM, Jingoo Han wrote: > devres_release() can simplify the code, because devres_release() > will call the destructor for the resource as well as freeing > the devres data. > > Signed-off-by: Jingoo Han Hm, Stephen, you OK with this? Yours, Linus Walleij -- To

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-02-28 Thread H. Peter Anvin
On 02/28/2013 04:42 PM, Josh Boyer wrote: > On Fri, Mar 01, 2013 at 01:36:29AM +0100, Borislav Petkov wrote: >> On Thu, Feb 28, 2013 at 04:15:45PM -0800, H. Peter Anvin wrote: I'll try to get someone to test this tomorrow. >> >> Btw, you'd need to apply that other patch too >> >>

[RFC][PATCH 00/30] staging: Android sync driver

2013-02-28 Thread John Stultz
As proposed yesterday, here's the Android sync driver patches for staging. I've preserved the commit history, but moved all the changes over to be against the staging directory (instead of drivers/base). The goal of submitting this driver to staging is to try to get more collaberation, as there

[PATCH 03/30] staging: sync: Add timestamps to sync_pts

2013-02-28 Thread John Stultz
From: Erik Gilling Add ktime timestamps to sync_pt structure and update them when signaled Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling

[PATCH 04/30] staging: sync: Add debugfs support

2013-02-28 Thread John Stultz
From: Erik Gilling Add support for debugfs Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Add commit message] Signed-off-by: John Stultz

[PATCH 05/30] staging: sw_sync: Add debug support

2013-02-28 Thread John Stultz
From: Erik Gilling Add debugfs support hooks. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Add commit message] Signed-off-by: John

[PATCH 01/30] staging: sync: Add synchronization framework

2013-02-28 Thread John Stultz
From: Erik Gilling Sync is a framework for synchronization between multiple drivers. Sync implementations can take advantage of hardware synchronization built into devices like GPUs. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc:

[PATCH 02/30] staging: sw_sync: Add cpu based sync driver

2013-02-28 Thread John Stultz
From: Erik Gilling Adds a base sync driver that uses the cpu for serialization. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Add

[PATCH 09/30] staging: sync: Allow async waits to be canceled

2013-02-28 Thread John Stultz
From: Erik Gilling In order to allow drivers to cleanly handled teardown we need to allow them to cancel pending async waits. To do this cleanly, we move allocation of sync_fence_waiter to the driver calling sync_async_wait(). Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob

[PATCH 08/30] staging: sync: Add poll support

2013-02-28 Thread John Stultz
From: Erik Gilling Support poll on sync fence Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Add commit message] Signed-off-by: John

linux-next: manual merge of the nfsd tree with Linus' tree

2013-02-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the nfsd tree got a conflict in fs/nfsd/nfscache.c between commit b67bfe0d42ca ("hlist: drop the node parameter from iterators") from Linus' tree and commit a4a3ec329124 ("nfsd: break out hashtable search into separate function") from the nfsd tree. I fixed it

[PATCH 06/30] staging: sync: Add ioctl to get fence data

2013-02-28 Thread John Stultz
From: Erik Gilling Add ioctl to get fence data Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Commit message tweaks] Signed-off-by: John

[PATCH 10/30] staging: sync: Export sync API symbols

2013-02-28 Thread John Stultz
From: Erik Gilling This is needed to allow modules to link against the sync subsystem Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling

[PATCH 13/30] staging: sync: Optimize fence merges

2013-02-28 Thread John Stultz
From: Erik Gilling If the two fences being merged contain sync_pts from the same timeline, those two pts will be collapsed into a single pt representing the latter of the two. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc:

[PATCH 14/30] staging: sync: Add internal refcounting to fences

2013-02-28 Thread John Stultz
From: Erik Gilling If a fence is released while a timeline that one of it's pts is on is being signaled, it is possible for that fence to be deleted before it is signaled. This patch adds a refcount for internal references such as signaled pt processing. Cc: Maarten Lankhorst Cc: Erik Gilling

[PATCH 15/30] staging: sync: Add reference counting to timelines

2013-02-28 Thread John Stultz
From: Erik Gilling If a timeline is destroyed while fences still hold pts on it, the reworked fence release handler can cause the timeline to be freed before all it's points are freed. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc:

[PATCH 17/30] staging: sw_sync: Fix error paths

2013-02-28 Thread John Stultz
From: Rebecca Schultz Zavin Check the return value of get_unused_fd to make sure a valid file descriptor is returned. Make sure to call put_unused_fd even if an error occurs before the fd can be used. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal

[PATCH 11/30] staging: sw_sync: Export sw_sync API

2013-02-28 Thread John Stultz
From: Erik Gilling Needed to let modules link against sw_sync. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling Signed-off-by: John Stultz ---

[PATCH 12/30] staging: sync: Reorder sync_fence_release

2013-02-28 Thread John Stultz
From: Erik Gilling Previously fence's pts were freed before the were the fence was removed from the global fence list. This led to a race with the debugfs support where it would iterate over sync_pts that had been freed. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark

[PATCH 20/30] staging: sync: Improve timeout dump messages

2013-02-28 Thread John Stultz
From: Erik Gilling Improve the output of the timeout dumps, including the fence pointer. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz:

[PATCH 24/30] staging: sync: Use proper barriers when waiting indefinitely

2013-02-28 Thread John Stultz
From: Erik Gilling The previous fix only addressed waiting with a timeout. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling Signed-off-by: John

[PATCH 22/30] staging: sync: Protect unlocked access to fence status

2013-02-28 Thread John Stultz
From: Erik Gilling Fence status is checked outside of locks in both sync_fence_wait and sync_fence_poll. This patch adds propper barrier protection in these cases to avoid seeing stale status. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg

[PATCH 21/30] staging: sync: Dump sync state on fence errors

2013-02-28 Thread John Stultz
From: Erik Gilling When we get a bad status, dump sync state Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Added commit message]

[PATCH 27/30] staging: sync: Add tracepoint support

2013-02-28 Thread John Stultz
From: Erik Gilling Add support for tracepoints Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Whitespace changes, add commit message,

[PATCH 18/30] staging: sync: Change wait timeout to mirror poll semantics

2013-02-28 Thread John Stultz
From: Erik Gilling Change wait timeout to act like poll Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Added commit message, squished

[PATCH 19/30] staging: sync: Dump sync state to console on timeout

2013-02-28 Thread John Stultz
From: Erik Gilling If we hit a timeout, dump sync state to console Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Add commit message,

[PATCH 25/30] staging: sync: Refactor sync debug printing

2013-02-28 Thread John Stultz
From: Erik Gilling Move driver callbacks to fill strings instead of using seq_files. This will allow those values to be used in a future tracepoint patch. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc:

[PATCH 23/30] staging: sync: Update new fence status with sync_fence_signal_pt

2013-02-28 Thread John Stultz
From: Erik Gilling If a fence's pt is signaled before sync_fence_create is called, the fence will never transition into the signaled state. This also address a tiny race if a merged fence's pt after sync_fence_get_status checks it's status and before fence->status is updated. Cc: Maarten

[PATCH] regulator: core: fix documentation error in regulator_allow_bypass

2013-02-28 Thread Nishanth Menon
commit f59c8f9f (regulator: core: Support bypass mode) has a short documentation error around the regulator_allow_bypass parameter 'enable' which is documented as 'allow'. This generates kernel-doc warning as follows: ./scripts/kernel-doc drivers/regulator/core.c >/dev/null

[PATCH 29/30] staging: sync: Don't log wait timeouts when timeout = 0

2013-02-28 Thread John Stultz
From: Erik Gilling If the timeout is zero, don't trip the timeout debugging Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Added commit

[PATCH 30/30] staging: sync: Fix timeout = 0 wait behavior

2013-02-28 Thread John Stultz
From: Jamie Gennis Fix wait behavior on timeout == 0 case Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Jamie Gennis [jstultz: Added commit message]

[PATCH 28/30] staging: sync: Fix race condition between merge and signal

2013-02-28 Thread John Stultz
From: Ørjan Eide The copied sync_pt was activated immediately. If the sync_pt was signaled before the entire merge was completed, the new fence's pt_list could be iterated over while it is still in the process of being created. Moving the the sync_pt_activate call for all new sync_pts to after

[PATCH 26/30] staging: sw_sync: Convert to use new value_str debug ops

2013-02-28 Thread John Stultz
From: Erik Gilling Switch from print_obj/print_pt to the new timeline_value_str and pt_value_str ops. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik

[PATCH 16/30] staging: sync: Fix error paths

2013-02-28 Thread John Stultz
From: Rebecca Schultz Zavin Check the return value of get_unused_fd to make sure a valid file descriptor is returned. Make sure to call put_unused_fd even if an error occurs before the fd can be used. Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal

[PATCH 07/30] staging: sw_sync: Add fill_driver_data support

2013-02-28 Thread John Stultz
From: Erik Gilling Add fill_driver_data support to export fence data to ioctl Cc: Maarten Lankhorst Cc: Erik Gilling Cc: Daniel Vetter Cc: Rob Clark Cc: Sumit Semwal Cc: Greg KH Cc: dri-de...@lists.freedesktop.org Cc: Android Kernel Team Signed-off-by: Erik Gilling [jstultz: Add commit

Re: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Rafael J. Wysocki
On Friday, March 01, 2013 12:38:07 AM Liu, Chuansheng wrote: > > > -Original Message- > > From: Alan Stern [mailto:st...@rowland.harvard.edu] > > Sent: Thursday, February 28, 2013 11:17 PM > > To: Li, Fei > > Cc: gre...@linuxfoundation.org; Lan, Tianyu; sarah.a.sh...@linux.intel.com; > >

Re: [PATCH] Adds support for Open Firmware in MAX730x GPIO Driver

2013-02-28 Thread Linus Walleij
On Fri, Feb 22, 2013 at 10:26 AM, Christophe Leroy wrote: > This patch allows the use of the MAX730x Driver on systems using > the Open Firmware platform format > > Signed-off-by: Patrick Vasseur > Signed-off-by: Christophe Leroy (...) > /* bits_per_word cannot be configured in

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-02-28 Thread Josh Boyer
On Fri, Mar 01, 2013 at 01:36:29AM +0100, Borislav Petkov wrote: > On Thu, Feb 28, 2013 at 04:15:45PM -0800, H. Peter Anvin wrote: > > > I'll try to get someone to test this tomorrow. > > Btw, you'd need to apply that other patch too > > http://marc.info/?l=xen-devel=136206183814547=2 > > so

RE: [PATCH 4/5 V2] usb: call pm_runtime_put_sync in pm_runtime_get_sync failed case

2013-02-28 Thread Liu, Chuansheng
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Thursday, February 28, 2013 11:17 PM > To: Li, Fei > Cc: gre...@linuxfoundation.org; Lan, Tianyu; sarah.a.sh...@linux.intel.com; > r...@sisk.pl; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;

Re: [PATCH] shmem: fix build regression

2013-02-28 Thread Al Viro
On Thu, Feb 28, 2013 at 04:31:11PM -0800, Andrew Morton wrote: > -#ifndef CONFIG_MMU > - error = ramfs_nommu_expand_for_mapping(inode, size); > - res = ERR_PTR(error); > - if (error) > + > + res = ERR_PTR(ramfs_nommu_expand_for_mapping(inode, size)); > + if (IS_ERR(res)) >

Re: [PATCH 1/3] perf: sort command-list.txt by alphabet order

2013-02-28 Thread li guang
ping ... 在 2013-02-26二的 12:12 +0800,liguang写道: > Signed-off-by: liguang > --- > tools/perf/command-list.txt | 14 +++--- > 1 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/tools/perf/command-list.txt b/tools/perf/command-list.txt > index 3e86bbd..a28e31b 100644 > ---

Re: [rebased][PATCH 0/4] acpi: do some changes for numa info

2013-02-28 Thread li guang
can anyone help to merge these patches? or any other comments? 在 2013-02-22五的 13:44 +0800,liguang写道: > just do some trivial changes to make acpi's numa info > operation more cleaner. > > ChangeLog > > v3->v4 > 1.fix srat_disabled function > spotted by Yasuaki Ishimatsu > > v2->v3 > 1.

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-02-28 Thread Borislav Petkov
On Thu, Feb 28, 2013 at 04:15:45PM -0800, H. Peter Anvin wrote: > > I'll try to get someone to test this tomorrow. Btw, you'd need to apply that other patch too http://marc.info/?l=xen-devel=136206183814547=2 so that arch_flush_lazy_mmu_mode() has at least one caller on x86_64. Thanks. --

Re: [PATCH] staging/zcache: Fix/improve zcache writeback code, tie to a config option

2013-02-28 Thread Ric Mason
On 03/01/2013 06:29 AM, Dan Magenheimer wrote: From: Ric Mason [mailto:ric.mas...@gmail.com] Subject: Re: [PATCH] staging/zcache: Fix/improve zcache writeback code, tie to a config option On 02/07/2013 02:27 AM, Dan Magenheimer wrote: It was observed by Andrea Arcangeli in 2011 that zcache

Re: [PATCH] shmem: fix build regression

2013-02-28 Thread Andrew Morton
On Fri, 1 Mar 2013 00:17:39 +0100 Wolfram Sang wrote: > commit 6b4d0b27 (clean shmem_file_setup() a bit) broke allnoconfig since > this needs the NOMMU path where 'error' is still needed: > > mm/shmem.c:2935:2: error: 'error' undeclared (first use in this function) > > Signed-off-by: Wolfram

lockdep trace from nfsd

2013-02-28 Thread Dave Jones
[ 39.878535] = [ 39.879670] [ BUG: rpc.nfsd/666 still has locks held! ] [ 39.880871] 3.8.0+ #3 Not tainted [ 39.881858] - [ 39.882850] 2 locks on stack by rpc.nfsd/666: [ 39.883868] #0: held:

Re: commit_creds oops

2013-02-28 Thread Eric W. Biederman
Dave Jones writes: > Just hit this on Linus' current tree. > > [ 89.621770] BUG: unable to handle kernel NULL pointer dereference at > 00c8 > [ 89.623111] IP: [] commit_creds+0x250/0x2f0 > [ 89.624062] PGD 122bfd067 PUD 122bfe067 PMD 0 > [ 89.624901] Oops: [#1] PREEMPT

Re: [PATCH v4 RESEND] gpio: Add device driver for GRGPIO cores and support custom accessors with gpio-generic

2013-02-28 Thread Linus Walleij
On Thu, Feb 14, 2013 at 2:37 PM, Andreas Larsson wrote: > [Resent as I forgot to mark it as v4] My comments on the older version seems to apply to this version too... Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v3] gpio: Add device driver for GRGPIO cores and support custom accessors with gpio-generic

2013-02-28 Thread Linus Walleij
On Tue, Feb 12, 2013 at 8:24 AM, Andreas Larsson wrote: > This driver supports GRGPIO gpio cores available in the GRLIB VHDL IP > core library from Aeroflex Gaisler. > > This also adds support to gpio-generic for using custom accessor > functions. The grgpio driver uses this to use ioread32be

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-02-28 Thread H. Peter Anvin
On 02/28/2013 04:05 PM, Josh Boyer wrote: > On Fri, Mar 01, 2013 at 12:37:20AM +0100, Borislav Petkov wrote: >> On Thu, Feb 28, 2013 at 05:55:49PM -0500, Boris Ostrovsky wrote: >>> Invoking arch_flush_lazy_mmu_mode() results in calls to >>> preempt_enable()/disable() which may have performance

Re: [RFC PATCH v2 2/2] mm: tuning hardcoded reserved memory

2013-02-28 Thread Simon Jeons
On 02/28/2013 05:09 AM, Andrew Shewmaker wrote: Add a rootuser_reserve_pages knob to allow admins of large memory systems running with overcommit disabled to change the hardcoded memory reserve to something other than 3%. Signed-off-by: Andrew Shewmaker --- Patch based off of mmotm git tree

[PATCH] regulator: core: update kernel documentation for regulator_desc

2013-02-28 Thread Nishanth Menon
commit df367931 (regulator: core: Provide regmap get/set bypass operations) introduced regulator_[gs]et_bypass_regmap However structure documentation for regulator_desc needs an update. ./scripts/kernel-doc include/linux/regulator/driver.h >/dev/null generates:

Re: [PATCH] CIFS: Decrease reconnection delay when switching nics

2013-02-28 Thread Jeff Layton
On Thu, 28 Feb 2013 23:54:13 +0100 Björn JACKE wrote: > On 2013-02-28 at 07:26 -0800 Jeff Layton sent off: > > NTFS doesn't support sparse files, so the OS has to zero-fill up to the > > point where you're writing. That can take a long time on slow > > storage (minutes even). > > but you

RE: [GIT PULL] x86/microcode for v3.9-rc1

2013-02-28 Thread Yu, Fenghua
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Thursday, February 28, 2013 3:53 PM > To: Yu, Fenghua; H. Peter Anvin > Cc: H. Peter Anvin; Linus Torvalds; Ingo Molnar; Linux Kernel Mailing > List; Thomas Gleixner; Yinghai Lu > Subject: Re: [GIT PULL]

Re: [GIT PULL] Load keys from signed PE binaries

2013-02-28 Thread Jiri Kosina
On Fri, 1 Mar 2013, Matthew Garrett wrote: > > > If you've loaded an x.509 certificate into the kernel and it's later > > > revoked, any module signed with the key is going to be loadable until > > > it's revoked. I don't see an especially large difference here? > > > > i_own_your_ring0.ko can

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-02-28 Thread Josh Boyer
On Fri, Mar 01, 2013 at 12:37:20AM +0100, Borislav Petkov wrote: > On Thu, Feb 28, 2013 at 05:55:49PM -0500, Boris Ostrovsky wrote: > > Invoking arch_flush_lazy_mmu_mode() results in calls to > > preempt_enable()/disable() which may have performance impact. > > > > Since lazy MMU is not used on

Re: [GIT PULL] Load keys from signed PE binaries

2013-02-28 Thread Matthew Garrett
On Fri, Mar 01, 2013 at 12:52:51AM +0100, Jiri Kosina wrote: > On Thu, 28 Feb 2013, Matthew Garrett wrote: > > If you've loaded an x.509 certificate into the kernel and it's later > > revoked, any module signed with the key is going to be loadable until > > it's revoked. I don't see an

Re: [PATCH 2/2] mempolicy: fix typo

2013-02-28 Thread Andrew Morton
On Thu, 28 Feb 2013 00:25:07 -0500 kosaki.motoh...@gmail.com wrote: > From: KOSAKI Motohiro > > Currently, n_new is wrongly initialized. start and end parameter > are inverted. Let's fix it. > > ... > > --- a/mm/mempolicy.c > +++ b/mm/mempolicy.c > @@ -2390,7 +2390,7 @@ static int

Re: [GIT PULL] Load keys from signed PE binaries

2013-02-28 Thread Jiri Kosina
On Thu, 28 Feb 2013, Matthew Garrett wrote: > > > Sure, if you've been infected before the revocation, you'll still be > > > infected. There's not really any good way around that. > > > > Which is a very substantial difference to normal X509 chain of trust, > > isn't it? > > If you've loaded

Re: [GIT PULL] x86/microcode for v3.9-rc1

2013-02-28 Thread Borislav Petkov
On Thu, Feb 28, 2013 at 11:28:06PM +, Yu, Fenghua wrote: >> gcc is warning that the function is using lots of stack. In the >> context that it is running in this is most likely not a problem >> given how small the overrun is, but it might be worthwhile to see if >> there is anything which can

Re: [RFC PATCH v2 2/2] mm: tuning hardcoded reserved memory

2013-02-28 Thread Andrew Shewmaker
On Thu, Feb 28, 2013 at 02:14:41PM -0800, Andrew Morton wrote: > On Wed, 27 Feb 2013 16:09:25 -0500 > Andrew Shewmaker wrote: > > > Add a rootuser_reserve_pages knob to allow admins of large memory > > systems running with overcommit disabled to change the hardcoded > > memory reserve to

Re: [GIT PULL] Load keys from signed PE binaries

2013-02-28 Thread Matthew Garrett
On Fri, Mar 01, 2013 at 12:45:23AM +0100, Jiri Kosina wrote: > On Thu, 28 Feb 2013, Matthew Garrett wrote: > > Sure, if you've been infected before the revocation, you'll still be > > infected. There's not really any good way around that. > > Which is a very substantial difference to normal X509

Re: [PATCH 00/10] ipc MSG_COPY fixes

2013-02-28 Thread Andrew Morton
On Mon, 25 Feb 2013 21:21:37 -0500 Peter Hurley wrote: > Over the weekend testing with trinity on KVM, I hit a similar oops > (pasted below) to what others have already reported here > http://lkml.indiana.edu/hypermail/linux/kernel/1302.2/01465.html > > While trying to uncover the

Re: [GIT PULL] Load keys from signed PE binaries

2013-02-28 Thread Jiri Kosina
On Thu, 28 Feb 2013, Matthew Garrett wrote: > > But the real harm is being done by the i_own_your_ring0.ko module, which > > can be modprobed on all the systems where the signed "hello world" binary > > has been keyctl-ed before it was blacklisted. > > Sure, if you've been infected before the

commit_creds oops

2013-02-28 Thread Dave Jones
Just hit this on Linus' current tree. [ 89.621770] BUG: unable to handle kernel NULL pointer dereference at 00c8 [ 89.623111] IP: [] commit_creds+0x250/0x2f0 [ 89.624062] PGD 122bfd067 PUD 122bfe067 PMD 0 [ 89.624901] Oops: [#1] PREEMPT SMP [ 89.625678] Modules

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-02-28 Thread Borislav Petkov
On Thu, Feb 28, 2013 at 05:55:49PM -0500, Boris Ostrovsky wrote: > Invoking arch_flush_lazy_mmu_mode() results in calls to > preempt_enable()/disable() which may have performance impact. > > Since lazy MMU is not used on bare metal we can patch away > arch_flush_lazy_mmu_mode() so that it is

Re: [PATCH v2 1/2] leds: Add support for Palmas LEDs

2013-02-28 Thread Ian Lartey
On 28/02/13 18:36, Stephen Warren wrote: On 02/28/2013 08:21 AM, Ian Lartey wrote: The Palmas familly of chips has LED support. This is not always muxed to output pins so depending on the setting of the mux this driver will create the appropriate LED class devices. +static struct

Re: [PATCH 2/2] ACPI / glue: Drop .find_bridge() callback from struct acpi_bus_type

2013-02-28 Thread Rafael J. Wysocki
On Thursday, February 28, 2013 05:13:27 PM Jeff Garzik wrote: > On 02/28/2013 04:53 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > After PCI and USB have stopped using the .find_bridge() callback in > > struct acpi_bus_type, the only remaining user of it is SATA, but SATA > >

Re: [PATCH 1/2] ACPI / glue: Add .match() callback to struct acpi_bus_type

2013-02-28 Thread Rafael J. Wysocki
On Thursday, February 28, 2013 02:29:56 PM Yinghai Lu wrote: > On Thu, Feb 28, 2013 at 1:53 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > USB uses the .find_bridge() callback from struct acpi_bus_type > > incorrectly, because as a result of the way it is used by USB every > >

<    1   2   3   4   5   6   7   8   9   10   >