RISC-V: SMP cleanup and new features