lkml.org 
[lkml]   [2011]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH RFC] virtio-spec: flexible configuration layout
    On Wed, Nov 09, 2011 at 11:55:02AM +0200, Sasha Levin wrote:
    > On Tue, 2011-11-08 at 23:40 +0200, Michael S. Tsirkin wrote:
    > > Here's a spec change documenting what my C patch does
    > > (almost - I tweaked the layout a bit, but the idea is the same).
    > > Some more cleanups are needed but I thought I'd send it
    > > for early flames/comments.
    > >
    > > The idea is simple: we split functionally unrelated
    > > register groups to independent structures, and let
    > > the device place is anywhere using a capability
    > > in PCI configuration space.
    >
    > I'm also wondering it it's ok to move virtio configuration out of virtio
    > space and into PCI space for archs that don't have PCI (such as ARM).

    A bit of confusion here: no register is moved from memory into
    configuration space. Configuration space only gains a list of
    pointers into memory/pio space.

    > Would it mean they get stuck with legacy configuration (and no new
    > features)? Or is there an alternative for them?

    The change only affects the layout of virtio PCI. Arches that don't
    have PCI don't use virtio PCI, presumably?

    BTW, the spec only covers x86 ATM, this needs to be fixed.

    >
    > --
    >
    > Sasha.


    \
     
     \ /
      Last update: 2011-11-09 11:19    [W:3.431 / U:0.836 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site