[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.