xen-devel
Re: [Xen-devel] [PATCH] Improve the current FLR logic
On Fri, 18 Jul 2008 18:43:49 +0800
"Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:
> Hi Yuji,
> Thanks for your advice!
> To restore the values of the PCIe registers to the original values the
> firmware (and Dom0?) configues, we need to store the original values
> somewhere.
> Maybe we can restore the info into xenstore?
Hi Cui,
Xenstore is OK, but pciback is better place, I think.
Because device driver should configure devices.
If we do it in pciback, the coding might be difficult. But the
whole architecture will be simple.
I think the following saving/restoring timing is good.
- saving : after pciback bind device
- restoring : after xend writes SBDF into xenstore
before pciback removes backend device
>> 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.
> This sounds nice.
> Where should we store the table?
I don't think device specific tables are required.
So we only have to create one table.
xend (or pciback if you implement saving/restoring in pciback) is good
place, I think.
Thanks.
--
Yuji Shimada
_______________________________________________
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] Improve the current FLR logic, (continued)
- Re: [Xen-devel] [PATCH] Improve the current FLR logic, Yuji Shimada
- RE: [Xen-devel] [PATCH] Improve the current FLR logic, Cui, Dexuan
- RE: [Xen-devel] [PATCH] Improve the current FLR logic, Cui, Dexuan
- Re: [Xen-devel] [PATCH] Improve the current FLR logic, Yuji Shimada
- RE: [Xen-devel] [PATCH] Improve the current FLR logic, Cui, Dexuan
- Re: [Xen-devel] [PATCH] Improve the current FLR logic,
Yuji Shimada <=
- Re: [Xen-devel] [PATCH] Improve the current FLR logic, Keir Fraser
- RE: [Xen-devel] [PATCH] Improve the current FLR logic, Cui, Dexuan
- Re: [Xen-devel] [PATCH] Improve the current FLR logic, Yuji Shimada
- Message not available
- Re: [Xen-devel] [PATCH] Improve the current FLR logic, Yuji Shimada
- RE: [Xen-devel] [PATCH] Improve the current FLR logic, Cui, Dexuan
- Re: [Xen-devel] [PATCH] Improve the current FLR logic, Yuji Shimada
- RE: [Xen-devel] [PATCH] Improve the current FLR logic, Cui, Dexuan
|
|
|