All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Pratt <Ian.Pratt@eu.citrix.com>
To: Yuji Shimada <shimada-yxb@necst.nec.co.jp>,
	Keir Fraser <Keir.Fraser@eu.citrix.com>,
	Kouya Shimura <kouya@jp.fujitsu.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Cc: Ian Pratt <Ian.Pratt@eu.citrix.com>,
	Ross Philipson <Ross.Philipson@citrix.com>
Subject: RE: [PATCH 2/3] remove saving/restoring method in Xend.
Date: Wed, 22 Apr 2009 11:38:13 +0100	[thread overview]
Message-ID: <4FA716B1526C7C4DB0375C6DADBC4EA34172EC1DA5@LONPMAILBOX01.citrite.net> (raw)
In-Reply-To: <20090422111600.32AA.27C06F64@necst.nec.co.jp>

> This patch removes Xend method which saves/restores PCI configuration
> space.
> And this patch modifies the timing of saving/restoring configuration
> space like below.
> 
>   When pciback is bound to devices.
>    - Pciback saves configuration space.
> 
>   When pciback is unbound to devices.
>    - Pciback restores configuration space.
> 
>   When guest OS boots or a device is hotadded.
>    - Pciback restores configuration space.
>    - Pciback changes state of backend device to
> Initialised/Reconfigured.
>    - Xend waits for the transition to Initialised/Reconfigured.
> 
>   When guest OS shutdowns or a device is hotremoved.
>    - Pciback restores configuration space.
>    - Xend resets devices.
>      * If D-state of the device is not D0, the state is changed to D0
>        before resetting the device.
>    - Xend deassigns devices.

Does it not make sense to have pciback do the reset too? I think I've seen draft patches from Ross Philipson to move the reset into pciback -- they may even be checked in to the xenbits.xen.org/xenclient tree.

Thanks,
Ian

  parent reply	other threads:[~2009-04-22 10:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22  2:11 [PATCH 0/3] save/restore PCI configuration space in pciback Yuji Shimada
2009-04-22  2:18 ` [PATCH 1/3] " Yuji Shimada
2009-04-22  2:20 ` [PATCH 2/3] remove saving/restoring method in Xend Yuji Shimada
2009-04-22  2:50   ` Masaki Kanno
2009-04-22  8:18     ` [PATCH 2/3 v2] " Yuji Shimada
2009-04-22 10:38   ` Ian Pratt [this message]
2009-04-23  2:57     ` [PATCH 2/3] " Yuji Shimada
2009-04-23  7:22       ` Keir Fraser
2009-04-23  8:27         ` Yuji Shimada
2009-04-23  9:01           ` Keir Fraser
2009-04-24  8:38             ` Yuji Shimada
2009-04-24  8:40             ` [PATCH 0/2] modify the order of resetting/deassigning device Yuji Shimada
2009-04-24  8:43               ` [PATCH 1/2] " Yuji Shimada
2009-04-24  8:43               ` [PATCH 2/2] ioemu: don't call xc_deassign_device() Yuji Shimada
2009-04-28  6:02                 ` Yuji Shimada
2009-04-22  2:20 ` [PATCH 3/3] ioemu: remove power state transition and xc_deassign_device() Yuji Shimada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA716B1526C7C4DB0375C6DADBC4EA34172EC1DA5@LONPMAILBOX01.citrite.net \
    --to=ian.pratt@eu.citrix.com \
    --cc=Keir.Fraser@eu.citrix.com \
    --cc=Ross.Philipson@citrix.com \
    --cc=kouya@jp.fujitsu.com \
    --cc=shimada-yxb@necst.nec.co.jp \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.