Sorry, I need a little hand holding.

Exactly what patch(s)/commits do i need for this or is it already included in the kernel 5.10 commits?

EDIT: After

git fetch upstream
git rebase upstream/master
git branch k510
git checkout k510
git pull upstream pull/4036/head

pr 4036 applies without error. Kernel 5.10 is selected by default in this case, i.e.

"Use the testing kernel version" option in the "global build settings" sub menu of menuconfig will not show up.

END EDIT

Also:

r7500v2 # cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
ondemand

r7500v2 # cat /etc/rc.local
...
echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 800000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 75 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo 1000000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

# set to cpu 1 instead of 0
echo 2 > /proc/irq/31/smp_affinity 
echo 2 > /proc/irq/32/smp_affinity

Let me know if u want something different than that.

(I'll see if @facboy's mbw binary works on the r7500v2)

EDIT: it does (kernel 5.4 baseline follows)

r7500v2 # ./mbw 32
Long uses 4 bytes. Allocating 2*8388608 elements = 67108864 bytes of memory.
Using 262144 bytes as blocks for memcpy block copy test.
Getting down to business... Doing 10 runs per test.
0       Method: MEMCPY  Elapsed: 0.05374        MiB: 32.00000   Copy: 595.426 MiB/s
1       Method: MEMCPY  Elapsed: 0.04345        MiB: 32.00000   Copy: 736.479 MiB/s
2       Method: MEMCPY  Elapsed: 0.04292        MiB: 32.00000   Copy: 745.556 MiB/s
3       Method: MEMCPY  Elapsed: 0.04333        MiB: 32.00000   Copy: 738.587 MiB/s
4       Method: MEMCPY  Elapsed: 0.04344        MiB: 32.00000   Copy: 736.580 MiB/s
5       Method: MEMCPY  Elapsed: 0.04360        MiB: 32.00000   Copy: 733.894 MiB/s
6       Method: MEMCPY  Elapsed: 0.04356        MiB: 32.00000   Copy: 734.686 MiB/s
7       Method: MEMCPY  Elapsed: 0.04301        MiB: 32.00000   Copy: 743.927 MiB/s
8       Method: MEMCPY  Elapsed: 0.04291        MiB: 32.00000   Copy: 745.799 MiB/s
9       Method: MEMCPY  Elapsed: 0.04330        MiB: 32.00000   Copy: 739.047 MiB/s
AVG     Method: MEMCPY  Elapsed: 0.04433        MiB: 32.00000   Copy: 721.917 MiB/s
0       Method: DUMB    Elapsed: 0.21548        MiB: 32.00000   Copy: 148.505 MiB/s
1       Method: DUMB    Elapsed: 0.21615        MiB: 32.00000   Copy: 148.045 MiB/s
2       Method: DUMB    Elapsed: 0.21574        MiB: 32.00000   Copy: 148.327 MiB/s
3       Method: DUMB    Elapsed: 0.21583        MiB: 32.00000   Copy: 148.268 MiB/s
4       Method: DUMB    Elapsed: 0.21599        MiB: 32.00000   Copy: 148.156 MiB/s
5       Method: DUMB    Elapsed: 0.21554        MiB: 32.00000   Copy: 148.468 MiB/s
6       Method: DUMB    Elapsed: 0.21621        MiB: 32.00000   Copy: 148.001 MiB/s
7       Method: DUMB    Elapsed: 0.21604        MiB: 32.00000   Copy: 148.122 MiB/s
8       Method: DUMB    Elapsed: 0.21601        MiB: 32.00000   Copy: 148.142 MiB/s
9       Method: DUMB    Elapsed: 0.21596        MiB: 32.00000   Copy: 148.176 MiB/s
AVG     Method: DUMB    Elapsed: 0.21589        MiB: 32.00000   Copy: 148.221 MiB/s
0       Method: MCBLOCK Elapsed: 0.04327        MiB: 32.00000   Copy: 739.577 MiB/s
1       Method: MCBLOCK Elapsed: 0.04370        MiB: 32.00000   Copy: 732.249 MiB/s
2       Method: MCBLOCK Elapsed: 0.04324        MiB: 32.00000   Copy: 739.987 MiB/s
3       Method: MCBLOCK Elapsed: 0.04366        MiB: 32.00000   Copy: 732.970 MiB/s
4       Method: MCBLOCK Elapsed: 0.04317        MiB: 32.00000   Copy: 741.290 MiB/s
5       Method: MCBLOCK Elapsed: 0.04376        MiB: 32.00000   Copy: 731.195 MiB/s
6       Method: MCBLOCK Elapsed: 0.04324        MiB: 32.00000   Copy: 740.141 MiB/s
7       Method: MCBLOCK Elapsed: 0.04362        MiB: 32.00000   Copy: 733.558 MiB/s
8       Method: MCBLOCK Elapsed: 0.04365        MiB: 32.00000   Copy: 733.087 MiB/s
9       Method: MCBLOCK Elapsed: 0.04337        MiB: 32.00000   Copy: 737.786 MiB/s
AVG     Method: MCBLOCK Elapsed: 0.04347        MiB: 32.00000   Copy: 736.165 MiB/s