My driver would require coherency between DMA and the usermode buffer. Usermode buffer can be supplied by a third-party client application and is locked by usual ProbeAndLock means, and then converted to an SGL. The hardware would be DMAing data in and out, while the application would be notified by a side channel we can't control. The same buffer could be used for read and write, and the result should be visible to the application immediately.
This all means, if DMA verification (forced bounce buffers) is enabled, this would not work. Thus, we need to disable this feature if DMA verification is enabled in the field.
Is there any way to detect Verifier settings at the runtime?