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] Improve the current FLR logic

On Fri, 18 Jul 2008 14:37:30 +0800
"Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:

> Now xend saves and restores all the 256-byte space -- this is not
> suitable as you pointed.
> How about only saving/restoring the header (the first 64-byte)? 

I think following registers in PCI Express Capability Structure should be
restored. The reason is that host firmware might configure them.

     - Uncorrectable Error Mask Register
     - Uncorrectable Error Severity Register
     - Correctable Error Mask Register
     - Advanced Error Capabilities and Control Register
     - Device Control Register
     - Link Control Register
     - Secondary Uncorrectable Error Severity Register
     - Secondary Uncorrectable Error Mask Register
     - Device Control 2 Register
     - Link Control 2 Register

What do you think about following method?

     1. create the table, and fill offset, size, etc. of registers to
        save/restore into the table.

     2. save/restore registers based on the table.

Thanks.

--
Yuji Shimada

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

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