StandBy (ACPI S3 state) - Is it possible that Vector Number and/or IRQ will change between S3 Enter

Hi,

I have a device that cannot survive change of IRQ. What the OS starts
the device driver configures the device with some IRQ. When OS enters S3
power state the device maintains it’s data internally and during restore
from S3 continues to use it. I’m afraid that between S3 enter and S3
resume power manager events device manager may rebalance resources and
assign the former my IRQ to somebody else. Currently I cannot change my
device IRQ dynamically.

Can somebody help me ?

Dmitry Kaptsenel, Intel Software Solutions Group

The OS cannot just take the IRQ away from you w/out asking. You will get a query stop device first. You can then fail this request. Additionally, S state changes and pnp changes are mutually exclusive. Once an Sx state transition starts (a query S state irp does not count), all pnp actions are suspended until the machine returns to S0 (e.g. your driver completes the S0 irp).

Is this limitation of changing IRQ a software problem (ie you haven't written support for it in the driver) or a hardware problem? Either way, if this is a new driver, I would suggest that you look into KMDF for your driver. It has built in support for changing resources that is coordinated with i/o and the state of the driver, you won't have to implement this logic anymore.

d


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Kaptsenel, Dmitry
Sent: Sunday, January 22, 2006 2:01 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] StandBy (ACPI S3 state) - Is it possible that Vector Number and/or IRQ will change between S3 Enter and Restore ?

Hi,
I have a device that cannot survive change of IRQ. What the OS starts the device driver configures the device with some IRQ. When OS enters S3 power state the device maintains it's data internally and during restore from S3 continues to use it. I'm afraid that between S3 enter and S3 resume power manager events device manager may rebalance resources and assign the former my IRQ to somebody else. Currently I cannot change my device IRQ dynamically.

Can somebody help me ?

?? Dmitry Kaptsenel, Intel Software Solutions Group


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to xxxxx@lists.osr.com

Fail IRP_MN_QUERY_STOP_DEVICE, this will prohibit rebalancing to you.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Kaptsenel, Dmitry”
To: “Windows System Software Devs Interest List”
Sent: Sunday, January 22, 2006 1:00 PM
Subject: [ntdev] StandBy (ACPI S3 state) - Is it possible that Vector Number
and/or IRQ will change between S3 Enter and Restore ?

Hi,

I have a device that cannot survive change of IRQ. What the OS starts
the device driver configures the device with some IRQ. When OS enters S3
power state the device maintains it’s data internally and during restore
from S3 continues to use it. I’m afraid that between S3 enter and S3
resume power manager events device manager may rebalance resources and
assign the former my IRQ to somebody else. Currently I cannot change my
device IRQ dynamically.

Can somebody help me ?



Dmitry Kaptsenel, Intel Software Solutions Group


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thank you all for help.

Is this limitation of changing IRQ a software problem (ie you haven’t
written support for it in the driver) or a hardware problem?

This is a hardware problem but in the future releases it may be fixed.


Dmitry Kaptsenel, Intel Software Solutions Group