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][qemu]Fix older kernel assigned device resume fai

To: "Ke, Liping" <liping.ke@xxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][qemu]Fix older kernel assigned device resume failure Problem
From: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Date: Wed, 22 Apr 2009 10:10:58 +0900
Cc: "Zhao, Yu" <yu.zhao@xxxxxxxxx>, "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 21 Apr 2009 18:11:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E2263E4A5B2284449EEBD0AAB751098401D1847F4E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E2263E4A5B2284449EEBD0AAB751098401D1847F4E@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 20 Apr 2009 09:26:28 +0800
"Ke, Liping" <liping.ke@xxxxxxxxx> wrote:

> Hi, Keir&Shimada
> 
> We found when do S3 resume, some older kernel(such as rh5.1)
> cmd register might be restored before BAR registers, Since
> pt_bar_mapping is done when writing cmd register, it will cause
> mapping incorrect address. 
> It's the root_cause of when doing RH5.1 HVM S3, assigned e1000e 
> network card fails to resume back. (set pci_power_mgmt=1 in guest
> config file, let PM support device enter D3 hot state during guest S3)
> 
> we should call pt_bar_mapping in pt_bar_reg_write to avoid this problem
> for supporting older kernels.
> 
> I have tested with latest Qemu-remote.
> 
> Thanks& Regards,
> Criping

Hi, Ian & Ke

The patch seems to be great.

Please apply the patch.

Thanks,
--
Yuji Shimada


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

<Prev in Thread] Current Thread [Next in Thread>