WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] pciback: restore PCI BARs on D3->D0 transition

To: Alex Williamson <alex.williamson@xxxxxx>
Subject: Re: [Xen-devel] [PATCH] pciback: restore PCI BARs on D3->D0 transition
From: Chris <hap10@xxxxxxxxxxxxxx>
Date: Tue, 03 Apr 2007 11:52:07 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 03 Apr 2007 08:51:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C22E24A2.4D74%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C22E24A2.4D74%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)
Keir Fraser wrote:
> On 26/3/07 21:23, "Alex Williamson" <alex.williamson@xxxxxx> wrote:
> 
>> don't think we necessarily need to go to that extent for pciback, but it
>> does appear to be pciback's responsibility to restore some state on the
>> card when transitioning out of D3, since it is effectively the driver
>> for the device.
> 
> Well, really it's supposed to be a filter (and perhaps translator) for PCI
> config space accesses. It's not really a driver. But obviously something
> like this is needed.

Sorry for the delay, I've been out of the office for a while.

Indeed pciback was intended to be more of a filter than a driver.  For
the time being it seems reasonable to implement BAR-related PM functions
in pciback as you've done (many thanks for that).  As time permits I'll
double-check that your solution makes the fix in the most appropriate
location.

Cheers,
Chris

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [PATCH] pciback: restore PCI BARs on D3->D0 transition, Chris <=