Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-09 Thread Jens Axboe
On Mon, Mar 09 2009, Geert Uytterhoeven wrote: > On Mon, 9 Mar 2009, Jens Axboe wrote: > > On Mon, Mar 09 2009, Jens Axboe wrote: > > > On Mon, Mar 09 2009, Geert Uytterhoeven wrote: > > > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > > > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > > > > > O

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-09 Thread Geert Uytterhoeven
On Mon, 9 Mar 2009, Jens Axboe wrote: > On Mon, Mar 09 2009, Jens Axboe wrote: > > On Mon, Mar 09 2009, Geert Uytterhoeven wrote: > > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > > > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > > > > On Fri, Ma

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-09 Thread Jens Axboe
On Mon, Mar 09 2009, Jens Axboe wrote: > On Mon, Mar 09 2009, Geert Uytterhoeven wrote: > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > > > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > > > > > O

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-09 Thread Jens Axboe
On Mon, Mar 09 2009, Geert Uytterhoeven wrote: > On Fri, 6 Mar 2009, Jens Axboe wrote: > > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > > > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > > > > On

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-09 Thread Geert Uytterhoeven
On Fri, 6 Mar 2009, Jens Axboe wrote: > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > > > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > > > > > Bu

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-06 Thread Jens Axboe
On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > On Fri, 6 Mar 2009, Jens Axboe wrote: > > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > > > > But then I noticed ps3vram_make_request() may be cal

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-06 Thread Geert Uytterhoeven
On Fri, 6 Mar 2009, Jens Axboe wrote: > On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > > On Fri, 6 Mar 2009, Jens Axboe wrote: > > > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > > > But then I noticed ps3vram_make_request() may be called concurrently, > > > > so I had to add a mutex to avoi

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-06 Thread Jens Axboe
On Fri, Mar 06 2009, Geert Uytterhoeven wrote: > On Fri, 6 Mar 2009, Jens Axboe wrote: > > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > > But then I noticed ps3vram_make_request() may be called concurrently, > > > so I had to add a mutex to avoid data corruption. This slows the > > > driver d

[PATCH] ps3/block: Replace mtd/ps3vram by block/ps3vram (was: Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device)

2009-03-06 Thread Geert Uytterhoeven
On Thu, 5 Mar 2009, Jens Axboe wrote: > On Thu, Mar 05 2009, Benjamin Herrenschmidt wrote: > > On Wed, 2009-03-04 at 14:57 +0100, Geert Uytterhoeven wrote: > > > Below is the rewrite of the PS3 Video RAM Storage Driver as a plain block > > > device, as requested by Arnd Bergmann. > > > > > > The M

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-06 Thread Geert Uytterhoeven
On Fri, 6 Mar 2009, Jens Axboe wrote: > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > But then I noticed ps3vram_make_request() may be called concurrently, > > so I had to add a mutex to avoid data corruption. This slows the > > driver down, and in the end, the version with a thread turns out

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-05 Thread Jens Axboe
On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > On Thu, 5 Mar 2009, Jens Axboe wrote: > > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > > On Thu, 5 Mar 2009, Jens Axboe wrote: > > > > On Wed, Mar 04 2009, Geert Uytterhoeven wrote: > > > > > Below is the rewrite of the PS3 Video RAM Storage Dr

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-05 Thread Olaf Hering
On Thu, Mar 05, Geert Uytterhoeven wrote: > On Thu, 5 Mar 2009, Geert Uytterhoeven wrote: > > On Thu, 5 Mar 2009, Olaf Hering wrote: > > > I see our old mtddriver does not have modalias support for autoloading. > > > > You forgot to backport commit 0a2d15b928e0b1673d4ed5f48d95af211b6fcc06 > > ("m

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-05 Thread Geert Uytterhoeven
On Thu, 5 Mar 2009, Jens Axboe wrote: > On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > > On Thu, 5 Mar 2009, Jens Axboe wrote: > > > On Wed, Mar 04 2009, Geert Uytterhoeven wrote: > > > > Below is the rewrite of the PS3 Video RAM Storage Driver as a plain > > > > block > > > > device, as request

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-05 Thread Jens Axboe
On Thu, Mar 05 2009, Geert Uytterhoeven wrote: > Hi Jens, > > On Thu, 5 Mar 2009, Jens Axboe wrote: > > On Wed, Mar 04 2009, Geert Uytterhoeven wrote: > > > Below is the rewrite of the PS3 Video RAM Storage Driver as a plain block > > > device, as requested by Arnd Bergmann. > > > > > > The

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-05 Thread Geert Uytterhoeven
Hi Jens, On Thu, 5 Mar 2009, Jens Axboe wrote: > On Wed, Mar 04 2009, Geert Uytterhoeven wrote: > > Below is the rewrite of the PS3 Video RAM Storage Driver as a plain block > > device, as requested by Arnd Bergmann. > > > > The MTD-based PS3 Video RAM Storage Driver was integrated into t

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-05 Thread Geert Uytterhoeven
On Thu, 5 Mar 2009, Geert Uytterhoeven wrote: > On Thu, 5 Mar 2009, Olaf Hering wrote: > > I see our old mtddriver does not have modalias support for autoloading. > > You forgot to backport commit 0a2d15b928e0b1673d4ed5f48d95af211b6fcc06 > ("mtd/ps3vram: Add modalias support to the ps3vram driver"

Re: [Cbe-oss-dev] [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-05 Thread Marcus G. Daniels
Geert Uytterhoeven wrote: Ideally, we think it would be best if the existing MTD-based ps3vram driver would be replaced by the new block-based ps3vram driver before 2.6.29 is released. This would relieve the burden of supporting two different swap space schemes on PS3 (swap on /dev/mtdblock0 vs.

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-05 Thread Jens Axboe
On Wed, Mar 04 2009, Geert Uytterhoeven wrote: > Hi, > > Below is the rewrite of the PS3 Video RAM Storage Driver as a plain block > device, as requested by Arnd Bergmann. > > The MTD-based PS3 Video RAM Storage Driver was integrated into the mainline > kernel in 2.6.29-rc1. > > Ideally, w

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-05 Thread Geert Uytterhoeven
On Thu, 5 Mar 2009, Olaf Hering wrote: > Am 04.03.2009 um 14:57 schrieb Geert Uytterhoeven: > >Ideally, we think it would be best if the existing MTD-based ps3vram driver > >would be replaced by the new block-based ps3vram driver before 2.6.29 is > >released. This would relieve the burden of suppor

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-04 Thread Olaf Hering
Am 04.03.2009 um 14:57 schrieb Geert Uytterhoeven: Ideally, we think it would be best if the existing MTD-based ps3vram driver would be replaced by the new block-based ps3vram driver before 2.6.29 is released. This would relieve the burden of supporting two different swap space schemes on P

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-04 Thread Jens Axboe
On Thu, Mar 05 2009, Benjamin Herrenschmidt wrote: > On Wed, 2009-03-04 at 14:57 +0100, Geert Uytterhoeven wrote: > > Hi, > > > > Below is the rewrite of the PS3 Video RAM Storage Driver as a plain block > > device, as requested by Arnd Bergmann. > > > > The MTD-based PS3 Video RAM Storage Dr

Re: [PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-04 Thread Benjamin Herrenschmidt
On Wed, 2009-03-04 at 14:57 +0100, Geert Uytterhoeven wrote: > Hi, > > Below is the rewrite of the PS3 Video RAM Storage Driver as a plain block > device, as requested by Arnd Bergmann. > > The MTD-based PS3 Video RAM Storage Driver was integrated into the mainline > kernel in 2.6.29-rc1. >

[PATCH/RFC] ps3/block: Add ps3vram-ng driver for accessing video RAM as block device

2009-03-04 Thread Geert Uytterhoeven
Hi, Below is the rewrite of the PS3 Video RAM Storage Driver as a plain block device, as requested by Arnd Bergmann. The MTD-based PS3 Video RAM Storage Driver was integrated into the mainline kernel in 2.6.29-rc1. Ideally, we think it would be best if the existing MTD-based ps3vram driv