Re: Re: KVM PCI device assignment issues

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Zhao, Yu
Date: Tuesday, February 24, 2009 - 2:20 am

Matthew Wilcox wrote:

The No_Soft_Reset bit in the PMCSR indicates which option is chosen at 
design time:

Section 3.2.4. says:
Value at Reset: Device specific
Read/Write: Read Only
When set (“1”), this bit indicates that devices transitioning from D3hot 
to D0 because of PowerState commands do not perform an internal reset. 
Configuration Context is preserved. Upon transition from the D3hot to 
the D0 Initialized state, no additional operating system intervention is 
required to preserve Configuration Context beyond writing the PowerState 
bits. When clear (“0”), devices do perform an internal reset upon 
transitioning from D3hot to D0 via software control of the PowerState 
bits. Configuration Context is lost when performing the soft reset. Upon 
  transition from the D3hot to the D0 state, full reinitialization 
sequence is needed to return the device to D0 Initialized. Regardless of 
this bit, devices that transition from D3hot to D0 by a system or bus 
segment reset will return to the device state D0 Uninitialized with only 
PME context preserved if PME is supported and enabled.

So the reset is guaranteed if the bit is 0.

And I checked the devices on my machine, all of them who have PM perform 
internal reset when transiting from D3hot to D0 (GeForce 7300, Myri-10G, 
E1000 82567, ICH10 SATA, EHCI, etc.)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
KVM PCI device assignment issues, Mark McLoughlin, (Fri Feb 13, 9:32 am)
Re: KVM PCI device assignment issues, Greg KH, (Fri Feb 13, 9:56 am)
Re: KVM PCI device assignment issues, Mark McLoughlin, (Fri Feb 13, 10:06 am)
Re: KVM PCI device assignment issues, Matthew Wilcox, (Fri Feb 13, 10:36 am)
Re: KVM PCI device assignment issues, Chris Wright, (Fri Feb 13, 11:22 am)
Re: KVM PCI device assignment issues, Chris Wright, (Fri Feb 13, 12:47 pm)
[PATCH] pci: add remove_id sysfs entry, Chris Wright, (Fri Feb 13, 7:12 pm)
Re: [PATCH] pci: add remove_id sysfs entry, Greg KH, (Fri Feb 13, 8:33 pm)
Re: [PATCH] pci: add remove_id sysfs entry, Chris Wright, (Mon Feb 23, 6:26 pm)
[PATCH 1/2] PCI: add some sysfs ABI docs, Chris Wright, (Mon Feb 23, 7:17 pm)
[PATCH 2/2] PCI: add remove_id sysfs entry, Chris Wright, (Mon Feb 23, 7:18 pm)
Re: [PATCH 1/2] PCI: add some sysfs ABI docs, Greg KH, (Mon Feb 23, 8:47 pm)
Re: [PATCH 2/2] PCI: add remove_id sysfs entry, Greg KH, (Mon Feb 23, 8:47 pm)
Re: [PATCH 1/2] PCI: add some sysfs ABI docs, Chris Wright, (Mon Feb 23, 10:08 pm)
Re: [PATCH 2/2] PCI: add remove_id sysfs entry, Chris Wright, (Mon Feb 23, 10:33 pm)
Re: [PATCH 2/2] PCI: add remove_id sysfs entry, Greg KH, (Mon Feb 23, 10:43 pm)
[PATCH 1/2 v2] PCI: add some sysfs ABI docs, Chris Wright, (Mon Feb 23, 10:50 pm)
[PATCH 2/2 v2] PCI: add remove_id sysfs entry, Chris Wright, (Mon Feb 23, 10:52 pm)
Re: Re: KVM PCI device assignment issues, Zhao, Yu, (Tue Feb 24, 2:20 am)
Re: [PATCH 1/2 v2] PCI: add some sysfs ABI docs, Jesse Barnes, (Tue Feb 24, 10:37 am)
RE: [PATCH 2/2 v2] PCI: add remove_id sysfs entry, Han, Weidong, (Wed Feb 25, 10:37 pm)
Re: [PATCH 2/2 v2] PCI: add remove_id sysfs entry, Chris Wright, (Thu Feb 26, 5:27 pm)
Re: [PATCH 2/2 v2] PCI: add remove_id sysfs entry, Jesse Barnes, (Thu Mar 19, 5:35 pm)