sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv | Matrix: #riscv:catircservices.org
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #riscv
zjason``` has joined #riscv
vagrantc has quit [Quit: leaving]
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #riscv
zjason`` has quit [Ping timeout: 252 seconds]
pecastro has quit [Ping timeout: 248 seconds]
sajattack has quit [Ping timeout: 255 seconds]
sajattack has joined #riscv
dstolfa has joined #riscv
X-Scale has joined #riscv
fuwei has quit [Quit: Konversation terminated!]
Tenkawa has quit [Quit: Was I really ever here?]
BootLayer has joined #riscv
heat has quit [Ping timeout: 246 seconds]
_whitelogger has joined #riscv
hexdump0815 has joined #riscv
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
davidlt has joined #riscv
r6fej has quit [Ping timeout: 245 seconds]
BootLayer has quit [Quit: Leaving]
paulk has quit [Ping timeout: 276 seconds]
paulk has joined #riscv
paulk has joined #riscv
coldfeet has joined #riscv
coldfeet has quit [Remote host closed the connection]
Rajnhildacho has quit [Quit: Bye Open Projects!]
Ellenor has joined #riscv
Ellenor is now known as AmyMalik
fuwei has joined #riscv
fuwei has quit [Quit: Konversation terminated!]
Armand|5800x has joined #riscv
bsFFFFFF has joined #riscv
davidlt has quit [Read error: Connection reset by peer]
bsFFFFFF has quit [Ping timeout: 265 seconds]
bsFFFFFF has joined #riscv
cleger has quit [Remote host closed the connection]
cleger has joined #riscv
pecastro has joined #riscv
Armand|X230 has quit [Quit: Leaving]
Stat_headcrabbed has joined #riscv
ldevulder has joined #riscv
hightower3 has quit [Quit: Leaving]
Armand|5800x has quit [Quit: Leaving]
Armand|X13s has joined #riscv
danilogondolfo has joined #riscv
X-Scale has quit [Quit: Client closed]
theruran has quit [Quit: Connection closed for inactivity]
cleger has quit [Remote host closed the connection]
zenmov_ has quit [Ping timeout: 252 seconds]
Armand|X13s has quit [Ping timeout: 265 seconds]
Armand|X13s has joined #riscv
heat has joined #riscv
damian101 has joined #riscv
damian101_ has quit [Read error: Connection reset by peer]
cronos has quit [Quit: ZNC - https://znc.in]
cronos has joined #riscv
shoragan has quit [Ping timeout: 244 seconds]
coldfeet has joined #riscv
levitating has joined #riscv
Noisytoot has quit [Excess Flood]
Noisytoot has joined #riscv
heat has quit [Remote host closed the connection]
heat has joined #riscv
shoragan has joined #riscv
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
coldfeet has quit [Remote host closed the connection]
Noisytoot has quit [Quit: ZNC 1.9.1 - https://znc.in]
Noisytoot has joined #riscv
levitating has quit [Remote host closed the connection]
levitating has joined #riscv
levitating has quit [Ping timeout: 252 seconds]
levitating has joined #riscv
heat has quit [Read error: Connection reset by peer]
heat has joined #riscv
Andre_Z has joined #riscv
Tenkawa has joined #riscv
fuwei has joined #riscv
coldfeet has joined #riscv
coldfeet has quit [Remote host closed the connection]
rattlesnake has quit [Quit: gone fishing]
rattlesnake has joined #riscv
coldfeet has joined #riscv
craigo has joined #riscv
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #riscv
Armand|X13s has quit [Ping timeout: 252 seconds]
zenmov has joined #riscv
zenmov_ has joined #riscv
levitating has quit [Ping timeout: 252 seconds]
zenmov has quit [Ping timeout: 252 seconds]
zenmov_ has quit [Ping timeout: 244 seconds]
jacklsw has joined #riscv
jacklsw has quit [Quit: Back to the real world]
BootLayer has joined #riscv
fuwei has quit [Ping timeout: 252 seconds]
fuwei has joined #riscv
cleger has joined #riscv
frkzoid has joined #riscv
freakazoid332 has quit [Ping timeout: 252 seconds]
stolen has joined #riscv
bsFFFFFF has quit [Remote host closed the connection]
bsFFFFFF has joined #riscv
miraris has quit [Quit: Ping timeout (120 seconds)]
miraris has joined #riscv
zenmov has joined #riscv
zenmov_ has joined #riscv
cleger has quit [Ping timeout: 276 seconds]
zenmov has joined #riscv
zenmov has quit [Changing host]
psydroid has joined #riscv
zenmov_ has quit [Quit: leaving]
zenmov has quit [Quit: leaving]
zenmov has joined #riscv
zenmov has quit [Changing host]
zenmov has joined #riscv
zenmov has quit [Quit: leaving]
zenmov has joined #riscv
zenmov has quit [Changing host]
zenmov has joined #riscv
damian101 has quit [Quit: Leaving]
damian101 has joined #riscv
dilfridge is now known as dionysos
<Tenkawa> jrtc27: Do you use FreeBSD at all on The RPI?
<Tenkawa> oops wrong channel
<Tenkawa> let me switch
fuwei has quit [Quit: Konversation terminated!]
heat has quit [Remote host closed the connection]
heat has joined #riscv
sakman_ has joined #riscv
fuwei has joined #riscv
sakman has quit [Read error: Connection reset by peer]
levitating has joined #riscv
sakman_ is now known as sakman
Andre_Z has quit [Ping timeout: 265 seconds]
levitating has quit [Remote host closed the connection]
levitating has joined #riscv
fuwei has quit [Quit: Konversation terminated!]
vagrantc has joined #riscv
<drewfustini> I've been stumped on an oops that only happens when CONFIG_RELOCATABLE is turned on. I had not noticed before since I normally use the riscv defconfig.
<drewfustini> Anyone actually using CONFIG_RELOCATABLE on riscv?
<drewfustini> this is thead th1520 soc on lpi4a. I had assumed it is a problem in my th1520 clock driver but now I'm not so sure
levitating has quit [Ping timeout: 246 seconds]
<drewfustini> It only happens for relocatable kernel
<drewfustini> Esmil: have you ever seen a problem with relocatable on any riscv board?
<drewfustini> (this is linux-next)
<Tenkawa> drewfustini: wish I could try to debug... one board type I "don't" have
<Tenkawa> no t-head boards at all in my collection
<drewfustini> Thanks... so you've not had any trouble on any riscv board with CONFIG_RELOCATABLE=y ?
<Tenkawa> Not other than that odd message we both get that seems to do nothing
<drewfustini> Okay, thanks
<mps> I could try on VF2 with kernel 6.12.1
<mps> though build will be slow
<drewfustini> Good point, I should try the same kernel build on some other boards
<Tenkawa> mps: I already did the relocatable build on a vf2
<Tenkawa> it didn't have the panic he pasted
<mps> Tenkawa: does it works
<Tenkawa> It only had a different one
<Tenkawa> that does nothing
<Tenkawa> it was during th build itself
<Tenkawa> nothing during runtime
<Tenkawa> only a link message
<Tenkawa> (during build)
<mps> anyway, it is worth to try to enable it for alpine and see
<Tenkawa> [15:43:43] Tenkawa: 0000000000000000 R_RISCV_NONE *ABS*
<Tenkawa> [15:43:43] Tenkawa: 0000000000000000 R_RISCV_NONE *ABS*
<Tenkawa> [15:43:43] Tenkawa: WARNING: 21736 bad relocations
<Tenkawa> It does that during the kernel link
<Tenkawa> checking all of my old runtime logs for his clk_gate message now
<mps> ok, run build, will report later of result
<Tenkawa> ok.. all my logs came up clean on 6.6 on the vf2
<Tenkawa> 6.6-6.12
<drewfustini> Yeah, there is a bunch of relocation warnings when I build with CONFIG_RELOCATABLE... but I'm not sure that actually related to the oops I'm seeing in clk_gate_is_enabled()
<drewfustini> thanks
Trifton has quit [Quit: TOADiE v1.2 - Raid [SLAM] <It's time for a reinstall... HeHeHe>]
<Tenkawa> I haven't tried -next though
<Tenkawa> drewfustini: was this just introduced in -next?
stolen has quit [Quit: Connection closed for inactivity]
<drewfustini> good point, I have not tried with an older kernel yet. I should try with 6.11 since that is when this soc's clk driver was introduced
<mps> CONFIG_RELOCATABLE is appeared in some previous version
<drewfustini> yeah, relocatable has been there for awhile
<mps> I didn't enabled it anywhere yet. now trying
bsFFFFFF has quit [Remote host closed the connection]
ldevulder has quit [Quit: Leaving]
theruran has joined #riscv
levitating has joined #riscv
heat has quit [Remote host closed the connection]
heat has joined #riscv
<Tenkawa> mps: the relocatable thing is a diff issue
<Tenkawa> that was happening from day 1 here
<Tenkawa> drewfustini: I'm going to look at commit history on the clk code
<mps> Tenkawa: ah, then I misread
<drewfustini> This is specifically why the oops happens
<Tenkawa> drewfustini: 6.12.1 has been released too if you haven't tried it this morning
<Tenkawa> yeah the clk dump
<drewfustini> gate->reg is not supposed to be 0x20. this only happens with CONFIG_RELOCATABLE
<drewfustini> something seems to be getting scrambled when relocation is enabled
<Tenkawa> its still in that code though... it could have changed... making sure it didn't
bjoto` has joined #riscv
danilogondolfo has quit [Quit: Leaving]
Tenkawa has quit [Quit: Was I really ever here?]
Tenkawa has joined #riscv
<Tenkawa> oops... wrog button
bjoto has quit [Ping timeout: 260 seconds]
<drewfustini> thanks... I don't know a great way to show this other than a screenshot
<drewfustini> This is gate->reg for all the calls to clk_gate_is_enabled()
<drewfustini> on the left is with CONFIG_RELOCATABLE=y, right is CONFIG_RELOCATABLE=n
<drewfustini> somehow there is bogus data for gate->reg for one of the clocks, but only when it is a relocatable kernel
levitating has quit [Ping timeout: 246 seconds]
<drewfustini> Booting up with no problem for RELOCATABLE=n: https://gist.github.com/pdp7/01c96fd444551d2b3ea083c2aa60641b
CipherLab has quit [Ping timeout: 244 seconds]
<drewfustini> Boot with null point oops for RELOCATABLE=y: https://gist.github.com/pdp7/ea73b515701a03353f3e915bbfcf7abd
CipherLab has joined #riscv
<mps> a lot of '0000000000000000 R_RISCV_NONE *ABS*' with 6.12.1
<mps> WARNING: 20280 bad relocations
Trifton has joined #riscv
<Tenkawa> mps: its in all of them if you don't have CONFIG_RELOCATABLE=y disabled
<mps> yes, now I know
<mps> I want to see will it boot
<Tenkawa> drewfustini: something I noticed... did you not change your label? 6.12.0-rc7-next
<Tenkawa> (or are you really still using -rc)?
<drewfustini> That is an artifact of how linux-next shows up
<drewfustini> git log -1 is
<drewfustini> commit 744cf71b8bdfcdd77aaf58395e068b7457634b2c (HEAD, tag: next-20241115, next/master)
<drewfustini> it is dirty because of my pr_err() debug prints scattered around
<Tenkawa> hmm 11-15 was 2 days before 6.12.0 was released
<drewfustini> linux-next is roughly what 6.13-rc1 will become
<drewfustini> but yeah, I should go back to 6.11 to see if it still happens there since that is when the th1520 clk driver was added
<Tenkawa> btw I like how much easier your (it looks like you committed it) clk driver is....
<Tenkawa> its much less spread out all over the place
<Tenkawa> I can trace it better
<drewfustini> clk maintainer stephen boyd was very helpful in getting into proper shape
<Tenkawa> I thank him as well then
heat has quit [Read error: Connection reset by peer]
heat has joined #riscv
aethlas has joined #riscv
frkzoid has quit [Read error: Connection reset by peer]
frkazoid333 has joined #riscv
bjoto` has quit [Remote host closed the connection]
BootLayer has quit [Quit: Leaving]
psydroid has quit [Remote host closed the connection]
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #riscv
donald2407 has joined #riscv
coldfeet has quit [Remote host closed the connection]
damian101 has quit [Remote host closed the connection]
damian101 has joined #riscv
aethlas has quit [Quit: bye]
fuwei has joined #riscv
ganboing has joined #riscv
fuwei has quit [Quit: Konversation terminated!]
craigo has quit [Quit: Leaving]
Armand|X13s has joined #riscv
Armand|X13s has quit [Quit: Leaving]
Atoomnet has quit [Quit: Bye, have a great time!]
Atoomnet has joined #riscv