Re: [Qemu-devel] [PATCH v5 03/10] rocker: add register programming guide

2015-02-05 Thread Stefan Hajnoczi
On Tue, Feb 03, 2015 at 12:08:33PM +0100, Paolo Bonzini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > On 02/02/2015 17:19, Stefan Hajnoczi wrote: > > How does the CPU detect that the device has completed the reset > > procedure? Is this supposed to be synchronous? If yes, i

Re: [Qemu-devel] [PATCH v5 03/10] rocker: add register programming guide

2015-02-04 Thread Scott Feldman
On Mon, Feb 2, 2015 at 8:19 AM, Stefan Hajnoczi wrote: > On Thu, Jan 22, 2015 at 12:03:52AM -0800, sfel...@gmail.com wrote: >> +SECTION 7: Switch Control >> += >> + >> +This section covers switch-wide register settings. >> + >> +Control >> +--- >> + >> +This register is

Re: [Qemu-devel] [PATCH v5 03/10] rocker: add register programming guide

2015-02-04 Thread Scott Feldman
On Tue, Feb 3, 2015 at 8:40 AM, Eric Blake wrote: > On 01/22/2015 01:03 AM, sfel...@gmail.com wrote: >> From: Scott Feldman >> >> This is the register programming guide for the Rocker device. It's intended >> for driver writers and device writers. It covers the device's PCI space, >> the regist

Re: [Qemu-devel] [PATCH v5 03/10] rocker: add register programming guide

2015-02-03 Thread Eric Blake
On 01/22/2015 01:03 AM, sfel...@gmail.com wrote: > From: Scott Feldman > > This is the register programming guide for the Rocker device. It's intended > for driver writers and device writers. It covers the device's PCI space, > the register set, DMA interface, and interrupts. > In addition to

Re: [Qemu-devel] [PATCH v5 03/10] rocker: add register programming guide

2015-02-03 Thread Paolo Bonzini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/02/2015 17:19, Stefan Hajnoczi wrote: > How does the CPU detect that the device has completed the reset > procedure? Is this supposed to be synchronous? If yes, is that a > good idea (i.e. hopefully resetting doesn't involve any blocking >

Re: [Qemu-devel] [PATCH v5 03/10] rocker: add register programming guide

2015-02-03 Thread Stefan Hajnoczi
On Thu, Jan 22, 2015 at 12:03:52AM -0800, sfel...@gmail.com wrote: > +SECTION 7: Switch Control > += > + > +This section covers switch-wide register settings. > + > +Control > +--- > + > +This register is used for low level control of the switch. > + > + CONTROL: off

Re: [Qemu-devel] [PATCH v5 03/10] rocker: add register programming guide

2015-02-03 Thread Stefan Hajnoczi
On Thu, Jan 22, 2015 at 12:03:52AM -0800, sfel...@gmail.com wrote: Minor typos, not worth respinning. I can fix them when merging. > +Endianess s/Endianess/Endianness/ > +- > + > +Device registers are hard-coding to little-endian (LE). The driver should s/hard-coding/hard-coded/ > +

[Qemu-devel] [PATCH v5 03/10] rocker: add register programming guide

2015-01-22 Thread sfeldma
From: Scott Feldman This is the register programming guide for the Rocker device. It's intended for driver writers and device writers. It covers the device's PCI space, the register set, DMA interface, and interrupts. Signed-off-by: Scott Feldman Signed-off-by: Jiri Pirko --- docs/specs/roc