Hi guys, as discussed internally the MES and KFD needs some form of TLB fence which signals when flushing VM updates out to the hardware is completed and resources can be freed. As prerequisite to this we need to rework all the different workarounds and approaches around TLB flushing to be at a higher level. While at it fix a bunch of bugs in that code which could trigger in certain situations. Please review, Christian.