[PATCH 4/9] gpiolib: use gpio_chips list in sysfs ops

2013-02-02 Thread Alexandre Courbot
This makes the code both simpler and faster compared to parsing the GPIO number space. Signed-off-by: Alexandre Courbot --- drivers/gpio/gpiolib.c | 37 ++--- 1 file changed, 10 insertions(+), 27 deletions(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpi

[PATCH 3/9] gpiolib: use gpio_chips list in gpiochip_find

2013-02-02 Thread Alexandre Courbot
Using the GPIO chips list is much faster than parsing the entire GPIO number space. Signed-off-by: Alexandre Courbot --- drivers/gpio/gpiolib.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 4ceb4a7..92

[PATCH 2/9] gpiolib: use gpio_chips list in gpiolib_sysfs_init

2013-02-02 Thread Alexandre Courbot
Use the small list of GPIO chips instead of parsing the whole GPIO number space. Signed-off-by: Alexandre Courbot --- drivers/gpio/gpiolib.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 0050766..4ceb4a7 100644 --

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Russell King - ARM Linux
On Sat, Feb 02, 2013 at 08:27:42PM +0400, Sergei Shtylyov wrote: >> There are two people on this thread CC list who were also involved or >> CC'd on the mails from the thread in 2010... Tony and Felipe. >> Unfortunately, the person who agreed to do the work is no longer in the >> land of the livin

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 16:17, Russell King - ARM Linux wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's patch system. TI requested to remove the patch. :-( sticking

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 20:45, Russell King - ARM Linux wrote: There are two people on this thread CC list who were also involved or CC'd on the mails from the thread in 2010... Tony and Felipe. Unfortunately, the person who agreed to do the work is no longer in the land of the living. Yes I kno

[RFC PATCH] xfrm: fix handling of XFRM policies mark and mask.

2013-02-02 Thread Romain KUNTZ
The current algorithm to insert XFRM policies with a mark and a mask allows the insertion of more generic policies, but fails when trying to install more specific policies. For example, executing the below commands in that order succeed: ip -6 xfrm policy flush ip -6 xfrm policy add src fd00::1/

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 16:45, Russell King - ARM Linux wrote: Now, CPPI is brand new code to arch/arm - always has been. It post-dates the DMA engine API. And it's been said many times about moving it to drivers/dma. The problem is Sergei doesn't want to do it - he's anti the I *can't* do

Re: [RFC 1/2] cpuidle: trace state of the CPU

2013-02-02 Thread Sebastian Andrzej Siewior
On 01/31/2013 06:21 AM, Namhyung Kim wrote: >> diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c >> index e1f6860..3594e0c 100644 >> --- a/drivers/cpuidle/cpuidle.c >> +++ b/drivers/cpuidle/cpuidle.c >> @@ -23,6 +23,7 @@ >> #include "cpuidle.h" >> >> DEFINE_PER_CPU(struct cpuid

Re: [RFC 2/2] sched/fair: prefer a CPU in the "lowest" idle state

2013-02-02 Thread Sebastian Andrzej Siewior
On 01/31/2013 03:12 AM, Michael Wang wrote: > I'm not sure, but just concern about this case: > > group 0 cpu 0 cpu 1 > least idle 4 task > > group 1 cpu 2 cpu 3 > 1 task

Re: Oops when mounting btrfs partition

2013-02-02 Thread Arnd Bergmann
On Saturday 02 February 2013 10:20:35 Chris Mason wrote: > Hi Arnd, > > First things first, nospace_cache is a safe thing to use. It is slow > because it's finding free extents, but it's just a cache and always safe > to discard. With your other errors, I'd just mount it readonly > and then you

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Matt Porter
On Sat, Feb 02, 2013 at 12:01:37AM +, Sergei Shtylyov wrote: > Hello. > > On 01-02-2013 22:59, Matt Porter wrote: > > > Move mach-davinci/dma.c to common/edma.c so it can be used > > by OMAP (specifically AM33xx) as well. > > I think this should rather go to drivers/dma/? > > >

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Tony Lindgren
* Matt Porter [130202 10:10]: > If it doesn't work, work with Vinod to fix the api. It's expected, > I'm working on dmaengine API changes right now to deal with a > limitation of EDMA that needs to be abstracted. Regarding the DMA API limitations, I'm only aware of lack of capability to configure

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 22:07, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private EDMA API. It's the analogous thing to the private OMAP dma API that is in

Re: [PATCH] gpio: mpc8xxx: don't set IRQ_TYPE_NONE when creating irq mapping

2013-02-02 Thread Anatolij Gustschin
On Sat, 2 Feb 2013 16:11:03 +0100 Linus Walleij wrote: > On Tue, Jan 29, 2013 at 1:07 PM, Anatolij Gustschin wrote: > > > Exporting gpios throws genirq error messages like > > > > genirq: Setting trigger mode 0 for irq 44 failed > > (mpc512x_irq_set_type+0x0/0x18c) > > > > Do not set IRQ_TYPE_

Re: [PATCH] PM: make VT switching to the suspend console optional v2

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 04:34:08 PM Jesse Barnes wrote: > KMS drivers can potentially restore the display configuration without > userspace help. Such drivers can can call a new funciton, > pm_vt_switch_required(false) if they support this feature. In that > case, the PM layer won't VT swi

Re: Question about printking

2013-02-02 Thread Joe Perches
On Sat, 2013-02-02 at 16:30 -0300, Ezequiel Garcia wrote: > ptr = kmalloc(sizeof(foo)); > if (!ptr) { > pr_err("Cannot allocate memory for foo\n"); > return -ENOMEM; > } > His argue against it was that kmalloc already takes care of > reporting/printking > a good deal of interesting

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Matt Porter
On Sat, Feb 02, 2013 at 10:16:43AM -0800, Tony Lindgren wrote: > * Matt Porter [130202 10:10]: > > If it doesn't work, work with Vinod to fix the api. It's expected, > > I'm working on dmaengine API changes right now to deal with a > > limitation of EDMA that needs to be abstracted. > > Regarding

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Matt Porter
On Sat, Feb 02, 2013 at 07:06:06PM +, Sergei Shtylyov wrote: > Hello. > > On 02-02-2013 22:07, Matt Porter wrote: > > >>> Move mach-davinci/dma.c to common/edma.c so it can be used > >>> by OMAP (specifically AM33xx) as well. > > >> I think this should rather go to drivers/dma/?

Re: Build regressions/improvements in v3.8-rc6

2013-02-02 Thread Geert Uytterhoeven
On Sat, 2 Feb 2013, Geert Uytterhoeven wrote: > JFYI, when comparing v3.8-rc6 to v3.8-rc5[3], the summaries are: > - build errors: +6/-6 Ignoring the ppc truncated relocations, there's only one regression: + error: spi-rspi.c: undefined reference to `shdma_chan_filter': => .text+0xf1074) s

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 03:58:01 PM Greg KH wrote: > On Fri, Feb 01, 2013 at 11:12:59PM +0100, Rafael J. Wysocki wrote: > > On Friday, February 01, 2013 08:23:12 AM Greg KH wrote: > > > On Thu, Jan 31, 2013 at 09:54:51PM +0100, Rafael J. Wysocki wrote: > > > > > > But, again, I'm going to as

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 11:58:41 AM Steven Newbury wrote: > On Sat, 2013-01-26 at 15:19 -0800, Yinghai Lu wrote: > > On Sat, Jan 26, 2013 at 2:41 PM, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > > > There is no guarantee that acpi_bus_scan() and acpi_bus_trim() will > > >

Re: [PATCH 1/4] intel_idle: stop using driver_data for static flags

2013-02-02 Thread Len Brown
>> I think that a driver's private flag definitions >> should remain local to the driver. It makes no sense >> to pollute the name space of other drivers for stuff >> that doesn't mean anything to them. MWAIT is pretty >> specific to x86 -- and re-naming it to something 'generic' >> isn't going

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Sergei Shtylyov
Hello. On 02-02-2013 23:55, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private EDMA API. It's the analogous thing to the private OMAP dma API that is in

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-02-02 Thread Steven Newbury
On Sat,  2 Feb 2013, 20:18:28 GMT, Rafael J. Wysocki wrote: > On Saturday, February 02, 2013 11:58:41 AM Steven Newbury wrote: > > On Sat, 2013-01-26 at 15:19 -0800, Yinghai Lu wrote: > > > On Sat, Jan 26, 2013 at 2:41 PM, Rafael J. Wysocki > > > wrote: > > > > From: Rafael J. Wysocki > > > >

Re: [PATCH] PM: make VT switching to the suspend console optional v2

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 08:39:21 PM Rafael J. Wysocki wrote: > On Saturday, February 02, 2013 04:34:08 PM Jesse Barnes wrote: > > KMS drivers can potentially restore the display configuration without > > userspace help. Such drivers can can call a new funciton, > > pm_vt_switch_required(fal

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

2013-02-02 Thread Paul Sbarra
This is the original report descriptor as reported by lsusb -vd 046d:c294. Signed-off-by: Paul Sbarra --- drivers/hid/hid-lg.c | 84 1 file changed, 79 insertions(+), 5 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c ind

[PATCH 3/3] hid: Calibrate Logitech Driving Force axes

2013-02-02 Thread Paul Sbarra
Conflicts: drivers/hid/hid-lg.c Signed-off-by: Paul Sbarra --- drivers/hid/hid-lg.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index 4bc0e1b..6f2067f 100644 --- a/drivers/hid/hid-lg.c +++ b/drivers/hid

[PATCH 2/3] hid: Split accel, brake for Logitech Driving Force wheel

2013-02-02 Thread Paul Sbarra
Conflicts: drivers/hid/hid-lg.c Signed-off-by: Paul Sbarra --- drivers/hid/hid-lg.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index 9312a62..4bc0e1b 100644 --- a/drivers/hid/hid-lg.c +++ b/drivers/hid/hid-lg.c

Re: [PATCH 3/5] PCI: revert preparing for wakeup in runtime-suspend finalization

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 04:12:03 PM Konstantin Khlebnikov wrote: > Rafael J. Wysocki wrote: > > On Tuesday, January 29, 2013 12:55:15 PM Rafael J. Wysocki wrote: > >> On Tuesday, January 29, 2013 11:04:57 AM Konstantin Khlebnikov wrote: > >>> Rafael J. Wysocki wrote: > On Monday, Januar

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Tony Lindgren
* Matt Porter [130202 11:51]: > On Sat, Feb 02, 2013 at 10:16:43AM -0800, Tony Lindgren wrote: > > * Matt Porter [130202 10:10]: > > > If it doesn't work, work with Vinod to fix the api. It's expected, > > > I'm working on dmaengine API changes right now to deal with a > > > limitation of EDMA th

Re: [ 00/89] 3.7.6-stable review

2013-02-02 Thread Satoru Takeuchi
At Fri, 1 Feb 2013 14:07:15 +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.7.6 release. > There are 89 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. >

Re: [ 00/33] 3.4.29-stable review

2013-02-02 Thread Satoru Takeuchi
At Fri, 1 Feb 2013 11:49:05 +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.29 release. > There are 33 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. >

[PATCH?] Move ACPI device nodes under /sys/firmware/acpi (was: Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework)

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 09:15:37 PM Rafael J. Wysocki wrote: > On Saturday, February 02, 2013 03:58:01 PM Greg KH wrote: [...] > > > I know it's more complicated with these types of devices, and I think we > > are getting closer to the correct solution, I just don't want to ever > > see dup

Re: [PATCH 1/2] ACPI / scan: Make namespace scanning and trimming mutually exclusive

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 08:28:01 PM Steven Newbury wrote: > On Sat, 2 Feb 2013, 20:18:28 GMT, Rafael J. Wysocki wrote: > > > On Saturday, February 02, 2013 11:58:41 AM Steven Newbury wrote: > > > On Sat, 2013-01-26 at 15:19 -0800, Yinghai Lu wrote: > > > > On Sat, Jan 26, 2013 at 2:41 PM

[PATCH] regmap: debugfs: Fix compiler warning

2013-02-02 Thread Stratos Karafotis
This patch fixes the following compiler warning of uninitialized variable: drivers/base/regmap/regmap-debugfs.c: In function ‘regmap_read_debugfs’: drivers/base/regmap/regmap-debugfs.c:180:9: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Stratos

Re: [PATCH 3/5] PCI: revert preparing for wakeup in runtime-suspend finalization

2013-02-02 Thread Rafael J. Wysocki
On Saturday, February 02, 2013 09:58:45 PM Rafael J. Wysocki wrote: > On Saturday, February 02, 2013 04:12:03 PM Konstantin Khlebnikov wrote: > > Rafael J. Wysocki wrote: > > > On Tuesday, January 29, 2013 12:55:15 PM Rafael J. Wysocki wrote: > > >> On Tuesday, January 29, 2013 11:04:57 AM Konstant

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-02-02 Thread Rafael J. Wysocki
On Thursday, January 31, 2013 02:10:34 PM Borislav Petkov wrote: > On Thu, Jan 31, 2013 at 02:12:58PM +0100, Rafael J. Wysocki wrote: > > Yes, there are two bugs in e1000e, it appears. Konstantin's > > patch [2/5] fixes one of them, but the other one has to be fixed > > differently. > > > > Boris,

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

2013-02-02 Thread Tejun Heo
The iteration logic of idr_get_next() is borrowed mostly verbatim from idr_for_each(). It walks down the tree looking for the slot matching the current ID. If the matching slot is not found, the ID is incremented by the distance of single slot at the given level and repeats. The implementation a

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

2013-02-02 Thread Tejun Heo
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 > Reported-by: David Teigland > Cc: KAMEZ

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 loadin

[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: scripts/coccinelle/api/devm_request_and_ioremap.c

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 @ 3

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 t

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 > --- > arch/arm/mach-pxa/to

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 (*rs

[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 ha

[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 ins

[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 He

[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 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. Ple

[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. P

[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. drivers/mfd/rtsx_pcr

[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. drivers/pps/kapi

[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 o

[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 -mm.

[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. Th

[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 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 holl

[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 th

[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. Pleas

[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. C

[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. fs/o

[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 object

[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 togethe

[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. kernel/posix-time

[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. Pl

[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 be

[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 t

[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 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. Than

[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. 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. Th

[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 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. drivers/remoteproc

[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. Than

[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 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 objec

[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. drivers/rpmsg/virt

[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. Thanks

[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 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 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 objec

[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. dri

[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. drivers/memstick/core/

[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. Tha

[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 objecti

[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 objecti

[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. drivers/dma/dmaengin

[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 object

[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 a

[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 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. T

[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. T

[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 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 object

[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 there'

[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 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 object

  1   2   3   >