Re: [PATCH 02/15] mm: frontswap: lazy initialization to allow tmem backends to build/run as modules

2013-02-02 Thread Ric Mason
Hi Konrad, On Fri, 2013-02-01 at 15:22 -0500, Konrad Rzeszutek Wilk wrote: > From: Dan Magenheimer > > With the goal of allowing tmem backends (zcache, ramster, Xen tmem) to be > built/loaded as modules rather than built-in and enabled by a boot parameter, > this patch provides "lazy

Re: [PATCH 49/62] uio: convert to idr_alloc()

2013-02-02 Thread Greg Kroah-Hartman
On Sat, Feb 02, 2013 at 05:20:50PM -0800, Tejun Heo wrote: > Convert to the much saner new idr interface. > > Only compile tested. > > Signed-off-by: Tejun Heo > Cc: "Hans J. Koch" > Cc: Greg Kroah-Hartman > --- Acked-by: Greg Kroah-Hartman -- To unsubscribe from this list: send the line

[PATCH v2 2/2] perf report: Enable the runtime switching of perf data file

2013-02-02 Thread Feng Tang
This is for tui browser only. This patch will check the returned key of tui hists browser, if it's K_SWITH_INPUT_DATA, then recreate a session for the new selected data file. V2: Move the setup_brower() before the "repeat" jump point. Signed-off-by: Feng Tang --- tools/perf/builtin-report.c |

[PATCH v2 1/2] perf hists browser: Add option for runtime switching perf data file

2013-02-02 Thread Feng Tang
Based on perf report/top/scripts browser integration idea from acme. This will enable user to runtime switch the data file, when this option is selected, it will popup all the legal data files in current working directory, and the filename selected by user is saved in the global variable

Re: [PATCH 1/2] don't wait on disk to start on resume

2013-02-02 Thread Aaron Lu
On 02/02/2013 11:09 PM, Alan Stern wrote: > On Sat, 2 Feb 2013, Aaron Lu wrote: > An alternative way of possibly solving this problem from PM's point of view might be: 1 Set both ata port and scsi device's runtime status to RPM_SUSPENDED in their system suspend callback; >

Re: [PATCH 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-02-02 Thread Mike Frysinger
On Thursday 31 January 2013 04:41:43 James Hogan wrote: > --- a/Makefile > +++ b/Makefile > > +ifneq ($(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)),) > + depmod_args = -P $(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX)) > +endif > ... > # Run depmod only if we have System.map and depmod is executable >

[PATCH] regmap: include linux/sched.h to fix build

2013-02-02 Thread Stephen Warren
From: Stephen Warren This fixes: drivers/base/regmap/regmap.c: In function 'regmap_async_complete_cb': drivers/base/regmap/regmap.c:1656:3: error: 'TASK_NORMAL' undeclared (first use in this function) drivers/base/regmap/regmap.c:1656:3: note: each undeclared identifier is reported only once

Re: [PATCH v3 00/22] PCI: Iterate pci host bridge instead of pci root bus

2013-02-02 Thread Yinghai Lu
[Trim down CC list, otherwise lkml will drop it, Thanks for David Miller to bring attention to me ] On Sat, Feb 2, 2013 at 1:50 PM, Bjorn Helgaas wrote: > On Sun, Jan 27, 2013 at 12:23 PM, Yinghai Lu wrote: >> Now we have pci_root_buses list, and there is lots of iteration with >> list_of_each

Re: [PATCH] ACPI / scan: Follow priorities of IDs when matching scan handlers

2013-02-02 Thread Yinghai Lu
On Sat, Feb 2, 2013 at 4:52 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The IDs of ACPI device nodes stored in their pnp.ids member arrays > are sorted by decreasing priority (i.e. the highest-priority ID is > the first entry). This means that when matching scan handlers to >

[RFC] setxattr bugs

2013-02-02 Thread Al Viro
* JFS, since 2005: setxattr(name, "system.posix_acl_access", NULL, 0, 0) succeeds, creating an empty EA with "system.posix_acl_access" as name. Validity checks should apply _after_ if (value == NULL) {/* empty EA, do not remove */ value = "";

Re: [PATCH 40/62] power: convert to idr_alloc()

2013-02-02 Thread Anton Vorontsov
On Sat, Feb 02, 2013 at 05:20:41PM -0800, Tejun Heo wrote: > Convert to the much saner new idr interface. > > Only compile tested. > > Signed-off-by: Tejun Heo > Cc: Anton Vorontsov > Cc: David Woodhouse > --- > This patch depends on an earlier idr changes and I think it would be > best to

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-02 Thread Anton Vorontsov
On Sat, Feb 02, 2013 at 11:06:09AM +0100, Pali Rohár wrote: > Reported temperature can be also negative, so cache value in non negative > Kelvin degree. > > Signed-off-by: Pali Rohár > --- Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH] power/reset: Remove newly introduced __dev* annotations

2013-02-02 Thread Anton Vorontsov
On Wed, Jan 30, 2013 at 12:39:16PM +0100, Andrew Lunn wrote: > On Wed, Jan 30, 2013 at 12:28:13PM +0100, Thierry Reding wrote: > > __devinit, __devexit and __devexit_p have recently been removed and > > should no longer be used. > > > > Signed-off-by: Thierry Reding > > --- [...] > Acked-by:

Re: A patch to test_power module

2013-02-02 Thread Anton Vorontsov
On Sun, Jan 27, 2013 at 10:45:43PM +0200, Andrey Gelman wrote: > Hello ! > This patch fixes 2 issues in test_power module: > 1. the mapping of ac_online parameter to its string value "on / off" > was swapped. > 2. more important ... > You could not insmod test_power with

Re: [GIT PULL] power: ab8500-bm: Latest Mainline<->STE delta reduction patch-set

2013-02-02 Thread Anton Vorontsov
On Thu, Jan 31, 2013 at 12:08:33PM +, Lee Jones wrote: > > Okay, after Linus Walleij's diligent observaions, I have removed all > > new functionallity related to Deep Debug and will continue to > > investigate what I need to do in that regard. > > > > In the mean-time, here's the fresh

Re: [PATCH 1/3] hid: Add report descriptor for Logitech Driving Force wheel

2013-02-02 Thread simon
> Hi Paul, > I'm not following as to why you are patching the descriptor for the DFP, > my understanding is that this is fully supported at the moment (as > USB_DEVICE_ID_LOGITECH_DFP_WHEEL in the line after your patch). Ah... you said 'Driving Force'.. not 'Driving Force Pro', but given the

Re: [PATCH] ab8500: btemp: demote initcall sequence

2013-02-02 Thread Anton Vorontsov
On Wed, Jan 23, 2013 at 09:56:45AM +0530, Rajanikanth H.V wrote: > From: "Rajanikanth H.V" > > Power supply subsystem creates thermal zone device for > the property 'POWER_SUPPLY_PROP_TEMP' which requires > thermal subsystem to be ready before 'ab8500 battery temperature monitor' > driver is

Re: [PATCH 0/2] extend synchro-test module to test spinlocks too

2013-02-02 Thread Michel Lespinasse
On Wed, Jan 2, 2013 at 2:39 PM, Andrew Morton wrote: > On Sun, 30 Dec 2012 18:47:12 -0800 > Michel Lespinasse wrote: > >> I'm not sure whats' the back story with synchro-test though - they seem >> to have been stuck in andrew's tree for a very long time now. Is there >> any reason delaying their

[PATCH] ds2782_battery: Add power_supply_changed() calls for proper uevent support

2013-02-02 Thread Anton Vorontsov
From: Evgeny Romanov This patch affects on Android battery indicator. Battery driver should send uevent message when battery status changes in order to get Android battery level dynamically updated. Delayed work was added to periodically check battery status and capacity. Signed-off-by: Evgeny

Re: [PATCH RESEND] goldfish: power device

2013-02-02 Thread Anton Vorontsov
On Fri, Jan 25, 2013 at 03:30:00PM +, Alan Cox wrote: > From: Mike Lockwood > > Add the emulated power driver for the Goldfish platform. > > This folds together the code from the Google tree, Jun Nakajima's cleanups > and x86 porting work, and then a tidy up to pass checkpatch. > >

[PATCH 5/6] staging/xgifb: Remove redundant if statement

2013-02-02 Thread Peter Huewe
The code checks twice for if (pVBInfo->VBInfo & SetCRT2ToTV) without any changes in between -> we can remove the second check. And while at it we can also save the temp variable and use tempbx directly. Signed-off-by: Peter Huewe --- drivers/staging/xgifb/vb_setmode.c | 34

[PATCH 4/6] staging/xgifb: Remove unused variables

2013-02-02 Thread Peter Huewe
Pindex and Pdata are unused -> remove tempbx is unused -> remove Signed-off-by: Peter Huewe --- drivers/staging/xgifb/vb_setmode.c |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c index

[PATCH 2/6] staging/xgifb: Remove unused variable

2013-02-02 Thread Peter Huewe
Index is not used here -> remove. Signed-off-by: Peter Huewe --- drivers/staging/xgifb/vb_setmode.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c index 53b5557..a7fb52f 100644 ---

[PATCH 3/6] staging/xgifb: Remove unused variable and dead assignment

2013-02-02 Thread Peter Huewe
modeflag is unused in XGI_SetSeqRegs, XGI_GetTVInfo, XGI_SetLCDRegs, XGI_GetRatePtrCRT2 -> remove resinfo is unused in XGI_PreSetGroup1, XGI_SetGroup1, XGI_SetGroup2, XGI_SetLCDRegs -> remove push1,push2 are unused in XGI_SetLCDRegs -> remove CRT1Index is unused in XGI_PreSetGroup1,

[PATCH 6/6] staging/xgifb: remove unused variables

2013-02-02 Thread Peter Huewe
XGI_P3cc is unused and the assignment without side effects -> remove; Data can be simply replaced by the Temp variable, which was changed to temp in order to make checkpatch happy. Signed-off-by: Peter Huewe --- drivers/staging/xgifb/vb_setmode.c | 19 --- 1 files changed, 8

[PATCH 1/6] staging/xgifb: Remove unused variables and dead assignments

2013-02-02 Thread Peter Huewe
The variables A,HBS and VBS are never read in XGIfb_mode_rate_to_ddata and the assignment has no side effects -> so we can simply remove them. Removing them causes VT, HT and cr_data3 to be unused -> remove them as well and remove the assignmens to cr_data which are shadowed by a different

Re: [PATCH] rcu: indent: fix leading space

2013-02-02 Thread Paul E. McKenney
On Thu, Jan 24, 2013 at 11:00:17PM +0800, Jiang Fang wrote: > > Signed-off-by: Jiang Fang Queued for 3.10, thank you! Thanx, Paul > --- > kernel/rcutree.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] idr: fix a subtle bug in idr_get_next()

2013-02-02 Thread Randy Dunlap
On 02/02/13 15:11, Tejun Heo wrote: > On Sat, Feb 02, 2013 at 03:10:48PM -0800, Tejun Heo wrote: >> Fix it by ensuring proceeding to the next slot doesn't carry over the >> unaligned offset - ie. use round_up(id + 1, slot_distance) instead of >> id += slot_distance. >> >> Signed-off-by: Tejun Heo

[PATCH 11/62] dca: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Paul Gortmaker Cc: Maciej Sosnowski Cc: Shannon Nelson --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's

[PATCH 10/62] drbd: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: drbd-...@lists.linbit.com Cc: drbd-u...@lists.linbit.com --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's

[PATCH 08/62] block/loop: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Signed-off-by: Tejun Heo Cc: Jens Axboe --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks. drivers/block/loop.c | 23

[PATCH 03/62] idr: remove _idr_rc_to_errno() hack

2013-02-02 Thread Tejun Heo
idr uses -1, IDR_NEED_TO_GROW and IDR_NOMORE_SPACE to communicate exception conditions internally. The return value is later translated to errno values using _idr_rc_to_errno(). This is confusing. Drop the custom ones and consistently use -EAGAIN for "tree needs to grow", -ENOMEM for "need more

[PATCH 02/62] idr: relocate idr_for_each_entry() and reorganize id[r|a]_get_new()

2013-02-02 Thread Tejun Heo
* Move idr_for_each_entry() definition next to other idr related definitions. * Make id[r|a]_get_new() inline wrappers of id[r|a]_get_new_above(). This changes the implementation of idr_get_new() but the new implementation is trivial. This patch doesn't introduce any functional change.

[PATCH 01/62] idr: cosmetic updates to struct / initializer definitions

2013-02-02 Thread Tejun Heo
* Tab align fields like a normal person. * Drop the unnecessary 0 inits from IDR_INIT(). This patch is purely cosmetic. Signed-off-by: Tejun Heo --- include/linux/idr.h | 28 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/include/linux/idr.h

[PATCH 05/62] idr: implement idr_preload[_end]() and idr_alloc()

2013-02-02 Thread Tejun Heo
The current idr interface is very cumbersome. * For all allocations, two function calls - idr_pre_get() and idr_get_new*() - should be made. * idr_pre_get() doesn't guarantee that the following idr_get_new*() will not fail from memory shortage. If idr_get_new*() returns -EAGAIN, the

[PATCH 14/62] gpio: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Grant Likely Cc: Linus Walleij --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 13/62] firewire: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Stefan Richter Cc: linux1394-de...@lists.sourceforge.net --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's

warning: (LOCKDEP && ..) selects FRAME_POINTER which has unmet direct dependencies (DEBUG_KERNEL && ..) || ..)

2013-02-02 Thread Fengguang Wu
Hi James, FYI, there are new compile warnings show up in tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm head: ce0da597d603726ed22a4237fcf76ca52bd5a2b5 commit: dcf6a6c6e54007c8cfbe6076f2569f28ac0b2248 Kconfig.debug: add METAG to dependency lists date: 4 days

[PATCH 16/62] drm/exynos: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: David Airlie Cc: Kukjin Kim Cc: dri-de...@lists.freedesktop.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if

[PATCH 18/62] drm/sis: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: David Airlie Cc: dri-de...@lists.freedesktop.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 17/62] drm/i915: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: David Airlie Cc: Daniel Vetter Cc: dri-de...@lists.freedesktop.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler

[PATCH 07/62] block: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Both bsg and genhd protect idr w/ mutex making preloading unnecessary. Signed-off-by: Tejun Heo Cc: Jens Axboe --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if

[PATCH 09/62] atm/nicstar: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. The existing code looks buggy to me - ID 0 is treated as no-ID but allocation specifies 0 as lower limit and there's no error handling after parial success. This conversion keeps the bugs unchanged. Only compile tested. Signed-off-by: Tejun Heo Cc:

[PATCH 19/62] drm/via: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: David Airlie Cc: dri-de...@lists.freedesktop.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 24/62] infiniband/cxgb3: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Steve Wise Cc: linux-r...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 21/62] i2c: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Jean Delvare Cc: linux-...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 25/62] infiniband/cxgb4: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Steve Wise Cc: linux-r...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 26/62] infiniband/ehca: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Hoang-Nam Nguyen Cc: Christoph Raisch Cc: linux-r...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler

[PATCH 23/62] infiniband/amso1100: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Tom Tucker Cc: Steve Wise Cc: linux-r...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's

[PATCH 12/62] dmaengine: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Dan Williams --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 20/62] drm/vmwgfx: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: David Airlie Cc: dri-de...@lists.freedesktop.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 30/62] infiniband/qib: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Mike Marciniszyn Cc: linux-r...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 27/62] infiniband/ipath: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Mike Marciniszyn Cc: linux-r...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 32/62] memstick: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Alex Dubov --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 31/62] dm: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Alasdair Kergon Cc: dm-de...@redhat.com --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 37/62] mtd: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: David Woodhouse Cc: linux-...@lists.infradead.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 35/62] misc/tifm_core: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Arnd Bergmann Cc: Alex Dubov --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 29/62] infiniband/ocrdma: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Roland Dreier Cc: linux-r...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 40/62] power: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Anton Vorontsov Cc: David Woodhouse --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 38/62] i2c: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Jason Wang Cc: Michael S. Tsirkin --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 44/62] scsi/bfa: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Krishna C Gudipati Cc: linux-s...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 43/62] rpmsg: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Ohad Ben-Cohen --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 47/62] scsi/lpfc: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: James Smart Cc: linux-s...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 48/62] thermal: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Zhang Rui Cc: linux...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 42/62] remoteproc: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Ohad Ben-Cohen --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 36/62] mmc: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Chris Ball Cc: linux-...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 39/62] ppp: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Paul Mackerras Cc: linux-...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 34/62] misc/c2port: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Arnd Bergmann Cc: Rodolfo Giometti --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 49/62] uio: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: "Hans J. Koch" Cc: Greg Kroah-Hartman --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 52/62] inotify: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Note that the adhoc cyclic id allocation is buggy. If wraparound happens, the previous code with idr_get_new_above() may segfault and the converted code will trigger WARN and return -EINVAL. Even if it's fixed to wrap to zero, the code will be prone

[PATCH 51/62] dlm: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Error return values from recover_idr_add() mix -1 and -errno. The conversion doesn't change that but it looks iffy. Only compile tested. Signed-off-by: Tejun Heo --- This patch depends on an earlier idr changes and I think it would be best to route

[PATCH 56/62] events: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm.

[PATCH UPDATED 38/62] macvtap: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Jason Wang Cc: Michael S. Tsirkin --- Went out with the wrong subject. This is the same patch with the correct subject. Thanks. This patch depends on an earlier idr changes and I think it would

[PATCH 58/62] net/9p: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Eric Van Hensbergen Cc: Ron Minnich Cc: Latchesar Ionkov Cc: v9fs-develo...@lists.sourceforge.net --- This patch depends on an earlier idr changes and I think it would be best to route these

[PATCH 57/62] posix-timers: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Thomas Gleixner --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 53/62] ocfs2: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Mark Fasheh Cc: Joel Becker --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 59/62] mac80211: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Johannes Berg Cc: linux-wirel...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 54/62] ipc: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. The new interface doesn't directly translate to the way idr_pre_get() was used around ipc_addid() as preloading disables preemption. From my cursory reading, it seems like we should be able to do all allocation from ipc_addid(), so I moved it there.

[PATCH 55/62] cgroup: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Li Zefan Cc: contain...@lists.linux-foundation.org Cc: cgro...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm.

[PATCH 61/62] nfs4client: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Signed-off-by: Tejun Heo Cc: Trond Myklebust Cc: linux-...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please

[PATCH 62/62] idr: deprecate idr_pre_get() and idr_get_new[_above]()

2013-02-02 Thread Tejun Heo
Now that all in-kernel users are converted to ues the new alloc interface, mark the old interface deprecated. We should be able to remove these in a few releases. Signed-off-by: Tejun Heo Cc: Rusty Russell --- This patch depends on an earlier idr changes and I think it would be best to route

[PATCH 50/62] vfio: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Alex Williamson Cc: k...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection.

[PATCH 60/62] sctp: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Vlad Yasevich Cc: Sridhar Samudrala Cc: Neil Horman Cc: linux-s...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm.

[PATCH 46/62] target/iscsi: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Nicholas A. Bellinger Cc: linux-s...@vger.kernel.org Cc: target-de...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through

[PATCH 41/62] pps: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Rodolfo Giometti --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 45/62] scsi: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: "James E.J. Bottomley" Cc: linux-s...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any

[PATCH 28/62] infiniband/mlx4: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Jack Morgenstein Cc: Or Gerlitz Cc: Roland Dreier Cc: linux-r...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm.

[PATCH 33/62] mfd: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Samuel Ortiz --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm. Please holler if there's any objection. Thanks.

[PATCH 22/62] infiniband/core: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. Signed-off-by: Tejun Heo Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: linux-r...@vger.kernel.org --- This patch depends on an earlier idr changes and I think it would be best to route these together through -mm.

[PATCH 15/62] drm: convert to idr_alloc()

2013-02-02 Thread Tejun Heo
Convert to the much saner new idr interface. Only compile tested. * drm_ctxbitmap_next() error handling in drm_addctx() seems broken. drm_ctxbitmap_next() return -errno on failure not -1. Signed-off-by: Tejun Heo Cc: David Airlie Cc: dri-de...@lists.freedesktop.org --- This patch depends on

[PATCH 04/62] idr: refactor idr_get_new_above()

2013-02-02 Thread Tejun Heo
Move slot filling to idr_fill_slot() from idr_get_new_above_int() and make idr_get_new_above() directly call it. idr_get_new_above_int() is no longer needed and removed. This will be used to implement a new ID allocation interface. Signed-off-by: Tejun Heo --- lib/idr.c | 30

[PATCH 06/62] block: fix synchronization and limit check in blk_alloc_devt()

2013-02-02 Thread Tejun Heo
idr allocation in blk_alloc_devt() wasn't synchronized against lookup and removal, and its limit check was off by one - 1 << MINORBITS is the number of minors allowed, not the maximum allowed minor. Add locking and rename MAX_EXT_DEVT to NR_EXT_DEVT and fix limit checking. Signed-off-by: Tejun

[PATCHSET] idr: implement idr_alloc() and convert existing users

2013-02-02 Thread Tejun Heo
Hello, * Andrew, I think this one is best routed through -mm together with the previous series. Please read on. * Bruce, I couldn't convert nfsd. Can you please help? More on it later. * Stanislav, Eric, James, can you please take a look at ipc/util.c conversion? I moved allocation

[PATCH] ACPI / scan: Follow priorities of IDs when matching scan handlers

2013-02-02 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The IDs of ACPI device nodes stored in their pnp.ids member arrays are sorted by decreasing priority (i.e. the highest-priority ID is the first entry). This means that when matching scan handlers to device nodes, the namespace scanning code should walk the list of scan

Re: [PATCH 1/3] hid: Add report descriptor for Logitech Driving Force wheel

2013-02-02 Thread simon
> This is the original report descriptor as reported by lsusb -vd 046d:c294. > > Signed-off-by: Paul Sbarra > --- > drivers/hid/hid-lg.c | 84 > > switch (hdev->product) { > + case USB_DEVICE_ID_LOGITECH_WHEEL: > + if

Re: [PATCH 1/2] arm: pxa: tosa: do not use gpiochip_reserve()

2013-02-02 Thread Haojian Zhuang
On Sat, Feb 2, 2013 at 10:44 PM, Alexandre Courbot wrote: > GPIO address space reservation during early platform initialization is > not needed anymore for Tosa. Remove the calls to gpiochip_reserve() > which is due to be removed. > > Signed-off-by: Alexandre Courbot > --- >

Re: [ 14/33] iwlegacy: fix IBSS cleanup

2013-02-02 Thread Ben Hutchings
On Fri, 2013-02-01 at 11:49 +0100, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Stanislaw Gruszka > > commit fa4cffcba9e13798ed7c6b8526b91b1631ecb53e upstream. > > We do not correctly change interface

Re: [PATCHv4 0/7] zswap: compressed swap caching

2013-02-02 Thread Simon Jeons
On Fri, 2013-02-01 at 09:13 -0600, Seth Jennings wrote: > On 01/31/2013 07:39 PM, Simon Jeons wrote: > > Hi Seth, > > On Tue, 2013-01-29 at 15:40 -0600, Seth Jennings wrote: > > >> Performance, Kernel Building: > >> > >> Setup > >> > >> Gentoo w/ kernel v3.7-rc7 > >> Quad-core i5-2500 @

[PATCH] i2c/i2c-mxs: use devm_request_and_ioremap

2013-02-02 Thread Peter Huewe
Replace a call to devm_request_mem_region followed by a call to dev_ioremap_nocache with devm_request_and_ioremap which does the same. And since res_size isn't needed anymore we can remove it as well. Found with coccicheck and this semantic patch:

Re: [PATCH v2 2/2] ARM: kirkwood: fix to retain gbe MAC addresses for DT kernels

2013-02-02 Thread Simon Baatz
Hi Sebastian, Jason, On Wed, Jan 30, 2013 at 09:29:58PM +0100, Sebastian Hesselbarth wrote: > The ethernet controller used on kirkwood looses its MAC address > register contents when the corresponding clock is gated. As soon as > mv643xx_eth is built as module, the clock gets gated and when

  1   2   3   4   5   >