Check the battery. Had same issue with my R6 ran great, started fine, but long top end runs like the back straight at mid ohio and the bike would cut out 5 and 6th gear. I chased everything finally learned the battery was only at 70% and the bike couldn't produce enough energy to run WOT. I also learned that my battery charger was crap when this was all going on.. Just a thought