I recently experienced sudden power loss after having the SCV replaced while trying to recover or improve power on Innova diesel 2006. It looked like ECU problem. I discovered that the cable to the high pressure fuel pump sensor got loosened or disconnected. This gave the ECU faulty data causing to stall or run in Limp Mode - running very slowly, about 15-30kph. Reconnecting it solved the problem. Pictures are posted in Toyota Innova Owners fb page.
Another issue I manage to discover is that gradual power loss was caused by dirt in the pipes going to the injectors. Some dirt was probably restricting fuel flow to some of the injectors. After the pipes were removed and replaced back in order to replace the valve cover, the power suddenly improved leading me to that conclusion. Just make sure that there is no fuel leak after putting back the pipes.