RISC-V defines the ISA. Linux implements support for that ISA. The actual CPU design determines how well it performs.