Re: [RFC/PATCH] Block device for the ISS simulator

2008-10-03 Thread Christoph Hellwig
On Fri, Oct 03, 2008 at 10:08:42AM +1000, Benjamin Herrenschmidt wrote: The ISS simulator is a simple powerpc simulator used among other things for hardware bringup. It implements a simple memory mapped block device interface. This is a simple block driver that attaches to it. Note that the

Re: [RFC/PATCH] Block device for the ISS simulator

2008-10-03 Thread Benjamin Herrenschmidt
On Fri, 2008-10-03 at 04:35 -0400, Christoph Hellwig wrote: On Fri, Oct 03, 2008 at 10:08:42AM +1000, Benjamin Herrenschmidt wrote: The ISS simulator is a simple powerpc simulator used among other things for hardware bringup. It implements a simple memory mapped block device interface.

Re: [RFC/PATCH] Block device for the ISS simulator

2008-10-03 Thread Josh Boyer
On Fri, Oct 03, 2008 at 10:08:42AM +1000, Benjamin Herrenschmidt wrote: +static void iss_blk_setup(struct iss_blk *ib) +{ + unsigned long flags; + u32 stat; + + pr_debug(iss_blk_setup %d\n, ib-devno); + + spin_lock_irqsave(iss_blk_reglock, flags); +

Re: [RFC/PATCH] Block device for the ISS simulator

2008-10-03 Thread Benjamin Herrenschmidt
On Fri, 2008-10-03 at 08:03 -0400, Josh Boyer wrote: On Fri, Oct 03, 2008 at 10:08:42AM +1000, Benjamin Herrenschmidt wrote: +static void iss_blk_setup(struct iss_blk *ib) +{ +unsigned long flags; +u32 stat; + +pr_debug(iss_blk_setup %d\n, ib-devno); + +

[RFC/PATCH] Block device for the ISS simulator

2008-10-02 Thread Benjamin Herrenschmidt
The ISS simulator is a simple powerpc simulator used among other things for hardware bringup. It implements a simple memory mapped block device interface. This is a simple block driver that attaches to it. Note that the choice of a major device number is fishy, though because it's a simulator and

Re: [RFC/PATCH] Block device for the ISS simulator

2008-10-02 Thread Andi Kleen
Benjamin Herrenschmidt [EMAIL PROTECTED] writes: The ISS simulator is a simple powerpc simulator used among other things for hardware bringup. It implements a simple memory mapped block device interface. ... --- /dev/null 1970-01-01 00:00:00.0 + +++