stolen has quit [Quit: Connection closed for inactivity]
Stat_headcrabed has joined #riscv
crabbedhaloablut has joined #riscv
BootLayer has joined #riscv
stolen has joined #riscv
junaid_ has joined #riscv
MaxGanzII_ has joined #riscv
viv has quit [Remote host closed the connection]
davidlt has quit [Ping timeout: 255 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
MaxGanzII_ has quit [Remote host closed the connection]
MaxGanzII_ has joined #riscv
junaid_ has quit [Remote host closed the connection]
junaid_ has joined #riscv
<aurel32>
I have been trying to the use the cpufreq driver of the VF2, and the operation points seem to assume a 1.5 GHz maximum frequency, while in practice to be 1 GHz corresponding to the frequency of PLL0
<aurel32>
so that means message like: cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1000000 KHz, changing to: 1500000 KHz
<aurel32>
plus the chosen value is different from the requested one
<aurel32>
Does someone know how to change the PLL0 output frequency, and if it safe to run the CPU at that frequency?
<la_mettrie>
in a file drivers/clk/starfive/clk-starfive-jh7110-gen.c there is a call clk_set_rate(pll0_clk, PLL0_DEFAULT_FREQ)
<la_mettrie>
this second (and last) argument is the value for pll0 freq
<la_mettrie>
i actually don't know why (and if it's peculiar) it is set in a manner that bypasses other functionality of the clk driver
<aurel32>
hmm i don't have this file (looking at linux-next)
<aurel32>
i have found the code to read the value, but not set it
<la_mettrie>
you are probably looking at the mainline linux repository while the file is from starfive's own github that they use (i think) for their sd images
<aurel32>
yep i am using mainline linux and the cpufreq driver also comes from there
davidlt has joined #riscv
Kedleston_ has joined #riscv
Kedleston has quit [Ping timeout: 245 seconds]
Kedleston_ is now known as Kedleston
MaxGanzII_ has quit [Remote host closed the connection]
MaxGanzII_ has joined #riscv
MaxGanzII_ has quit [Remote host closed the connection]
MaxGanzII_ has joined #riscv
stolen has quit [Quit: Connection closed for inactivity]
Andre_Z has joined #riscv
JanC has quit [Remote host closed the connection]
JanC has joined #riscv
MaxGanzII_ has quit [Ping timeout: 246 seconds]
junaid_ has quit [Remote host closed the connection]
Tenkawa has joined #riscv
valdemaras has joined #riscv
heat has joined #riscv
Andre_Z has quit [Ping timeout: 250 seconds]
Andre_Z has joined #riscv
jacklsw has joined #riscv
handsome_feng has joined #riscv
valdemaras has quit [Quit: valdemaras]
terminalpusher has joined #riscv
Andre_Z has quit [Quit: Leaving.]
GenTooMan has quit [Read error: Connection reset by peer]
<aurel32>
Esmil: oh I missed that, I'll try it asap
<aurel32>
oh it was not sent on the list, that's why I missed it
EchelonX has joined #riscv
EchelonX has quit [Client Quit]
EchelonX has joined #riscv
ntwk has quit [Quit: ntwk]
<Esmil>
aurel32: yeah, i only noticed because i was cc'ed
cousteau has quit [Quit: ♫ I can't forget the day I shot that network down ♫]
<aurel32>
i guess that can give a significant performance boost and put the vf2 way ahead the unmatched
<Esmil>
aurel32: it's already way ahead of the unmatched just because it's a later revision of the sifive cores where they fixed some memory bandwith issues
<aurel32>
yes, it's already ahead, around 20% for the cases i have looked at
<Tenkawa>
Can that one be applied to the 6.5-rc kernel? or is it newer than that?
<aurel32>
yes, i have applied on a 6.5-rc7 kernel, currently building
heat has quit [Remote host closed the connection]
<Tenkawa>
Nice.. let me know if it works, I want to throw that in if it does
<Esmil>
Tenkawa: it works fine. i'm just not sure it's the right way to do it
<Tenkawa>
Oh. whats the concern?
<Esmil>
That it hardcodes setting the PLL0 rate to 1.5GHz in the driver
zjason has quit [Remote host closed the connection]
zjason has joined #riscv
<Tenkawa>
ahh.. no flexibility
<Tenkawa>
It could be coming in from the dts at a different speed right?
handsome_feng has quit [Quit: Connection closed for inactivity]