On my other cars, I reflash the ECU if needed to take in to warranty work, they can't tell. On another car, I bought a spare ECU to tune and put the stocker in the drawer just in case.
On the Mazda, idk, never tuned one, just know what goes on when you do, haven't looked at the interface...