Update: 381.09 released, this post will no longer be updated with anything that might happen after rc5.
Will try to keep this updated with current git master of linuses tree, here is the newest patch (thanks to @albertomilone / Ubuntu for publishing propper fix for CPU_HOTPLUG on 4.10
vanilla 4.10 patch
patch -p1 <<< $('curl https://gist.githubusercontent.com/tpruzina/c4d9c0ca6bdbb6e78ab2126a7cdf8f1c/raw/38ccd3224f3205e45982c0c217e23d04f9681b49/gistfile1.txt')
WARNING, DUE TO GPL-only exported symbols being in use after upstream changes, this patch relicenses NVIDIAs module as a quick and dirty workaround. You definitely shouldn’t use this outside personal use (for testing).
patch -p1 <<< $(curl 'https://gist.githubusercontent.com/tpruzina/ae0390e16c3404af2e1667778f5af780/raw/53250f0c93d0586e7b028f724cfdf0c72812db1a/gistfile1.txt')
NVIDIA is ‘on it’ and it seems that they will have their own fix up soon, discussion is on LKML.