Add advanced parts of tutorial code
Fix GPI2_HOME path in tutorial code
Add barrier before validation
Remove volatile
Merge branch 'next'