Hi ,
I am writing driver for PCIe switch, where i need to configure Switch UP stream for various features.
I am trying to do read/write operation from driver IOCTL context, which is causing system crash. Also I need to access the config space from the DPC /ISR Level. I
is it allowed to access the config space and Extended config space from above context. From documentation I saw, PCIe config space/extended config space is accessable at PASSIVE level.
https://docs.microsoft.com/en-us/windows-hardware/drivers/pci/accessing-pci-device-configuration-space
Let me the system crash is due to this restriction.
If other mechanisms are available please share me.
Giridhar