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
Forty-Bot has joined #riscv
cp- has quit [Ping timeout: 265 seconds]
Trifton has quit [Quit: changing locations]
Guest0 has joined #riscv
Guest0 has quit [Quit: Client closed]
KombuchaKip has quit [Remote host closed the connection]
KombuchaKip has joined #riscv
alperak has quit [Quit: Connection closed for inactivity]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
Trifton has joined #riscv
hexdump0815 has quit [Ping timeout: 276 seconds]
hexdump0815 has joined #riscv
JRepin has quit [Quit: Konversation terminated!]
JRepin has joined #riscv
coldfeet has joined #riscv
Trifton has quit [Remote host closed the connection]
Trifton has joined #riscv
peepsalot has joined #riscv
BootLayer has joined #riscv
alperak has joined #riscv
mlw has joined #riscv
<xypron> drewfustini: Concerning BPi-F3 on Ubuntu: The vendor kernel plus Ubuntu user land runs fine. Unfortunately the upstream kernel support for the board is not yet satisfying.
JRepin has quit [Quit: Konversation terminated!]
JRepin has joined #riscv
coldfeet has quit [Quit: Lost terminal]
JRepin has quit [Quit: Konversation terminated!]
JRepin has joined #riscv
hwspeedy has joined #riscv
Guest917 is now known as chripo
dramforever has joined #riscv
prabhakalad has quit [Ping timeout: 265 seconds]
prabhakalad has joined #riscv
ganboing has joined #riscv
<ganboing> JohnHenry, you can use firmware events such as fw_sfence_vma_sent
<ganboing> E.g., perf stat -a -A -e fw_sfence_vma_sent
<ganboing> TLB shootdown is typically done by calling SBI firmware services (to do it more efficiently)
cleger has joined #riscv
ldevulder has joined #riscv
jobol has joined #riscv
<mps> xypron: what version is vendor kernel
prabhakalad has quit [Quit: Konversation terminated!]
hwspeedy has quit [Read error: Connection reset by peer]
ruidx has joined #riscv
prabhakalad has joined #riscv
jacklsw has joined #riscv
jacklsw has quit [Quit: Back to the real world]
alexghiti has joined #riscv
Andre_Z has joined #riscv
Armand|X13s has joined #riscv
Armand|X13s has quit [Remote host closed the connection]
Armand|X13s has joined #riscv
Armand|X13s has quit [Quit: Leaving]
ldevulder has quit [Quit: Leaving]
dramforever has quit [Remote host closed the connection]
ruidx has quit [Ping timeout: 272 seconds]
naoki has joined #riscv
ldevulder has joined #riscv
JRepin has quit [Remote host closed the connection]
JRepin has joined #riscv
naoki has quit [Ping timeout: 260 seconds]
Andre_Z has quit [Quit: Leaving.]
ldevulder has quit [Quit: Leaving]
ldevulder has joined #riscv
jjido has joined #riscv
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
mlw has quit [Ping timeout: 252 seconds]
mlw has joined #riscv
smaeul has joined #riscv
smaeul_ has quit [Ping timeout: 248 seconds]
ldevulder has quit [Ping timeout: 265 seconds]
<JohnHenry> ganboing: Thank you, that's helpful
memset has quit [Remote host closed the connection]
memset has joined #riscv
unnick has quit [Ping timeout: 276 seconds]
jjido has joined #riscv
cleger has quit [Ping timeout: 265 seconds]
memset has quit [Remote host closed the connection]
memset has joined #riscv
<kepstin> mps: the bianbu kernel for the k1/m1 chips is currently based on 6.6.63
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
<kepstin> tho there's some stuff here: https://github.com/spacemit-com/linux-k1x/tree/k1 based on 6.13-rc1 which i'm not sure the state of?
vagrantc has joined #riscv
etra has quit [Ping timeout: 252 seconds]
psydroid2 has joined #riscv
memset has quit [Remote host closed the connection]
<drewfustini> xypron: thanks!
memset has joined #riscv
KombuchaKip has quit [Ping timeout: 272 seconds]
cp- has joined #riscv
jjido has joined #riscv
memset has quit [Remote host closed the connection]
<JohnHenry> ganboing: my `perf list` doesn't have any SFENCE-type events I can see. I've got a Milk-V Pioneer running their old Fedora 38. Do you have any more suggestions?
memset has joined #riscv
psydroid2 has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
psydroid2 has joined #riscv
tgamblin_ is now known as tgamblin
sata has joined #riscv
KombuchaKip has joined #riscv
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
pbsds356 has joined #riscv
bjoto` has joined #riscv
aklsh22 has joined #riscv
m5zs7k_ has joined #riscv
TMM_ has joined #riscv
csfore_ has joined #riscv
jedix_ has joined #riscv
rconjoe_ has joined #riscv
hexdump01 has joined #riscv
psydroid2 has quit [*.net *.split]
alexghiti has quit [*.net *.split]
hexdump0815 has quit [*.net *.split]
TMM has quit [*.net *.split]
csfore has quit [*.net *.split]
guerby_ has quit [*.net *.split]
ZLima12 has quit [*.net *.split]
m5zs7k has quit [*.net *.split]
haritz has quit [*.net *.split]
aklsh has quit [*.net *.split]
rconjoe has quit [*.net *.split]
xbjfk has quit [*.net *.split]
pbsds35 has quit [*.net *.split]
matoro has quit [*.net *.split]
jedix has quit [*.net *.split]
bjoto has quit [*.net *.split]
pbsds356 is now known as pbsds35
aklsh22 is now known as aklsh
m5zs7k_ is now known as m5zs7k
psydroid2 has joined #riscv
mpe has quit [Ping timeout: 276 seconds]
jjido has joined #riscv
mpe has joined #riscv
<mps> kepstin: thanks
<mps> I've built 6.6.xx series more than a half year ago and we have it alpine packaged as linux-spacemi added at previous September
<mps> for few months I use kernels from https://github.com/jmontleon/linux-bianbu
BootLayer has quit [Quit: Leaving]
sata has quit [Ping timeout: 272 seconds]
beber_ has quit [Quit: Gateway shutdown]
beber_ has joined #riscv
beber_ has quit [Client Quit]
alexghiti has joined #riscv
ZLima12 has joined #riscv
guerby_ has joined #riscv
haritz has joined #riscv
xbjfk has joined #riscv
matoro has joined #riscv
matoro has quit [Max SendQ exceeded]
ZLima12 has quit [Max SendQ exceeded]
ZLima12 has joined #riscv
beber_ has joined #riscv
matoro has joined #riscv
beber_ has quit [Client Quit]
beber_ has joined #riscv
beber_ has quit [Client Quit]
<kepstin> interesting, looks like the linux-k1x tree but rebased to a newer version and with some additional patches.
<kepstin> I should try that out
beber_ has joined #riscv
Guest73 has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
Guest73 has quit [Client Quit]
alexghiti has quit [*.net *.split]
guerby_ has quit [*.net *.split]
haritz has quit [*.net *.split]
xbjfk has quit [*.net *.split]
xbjfk has joined #riscv
haritz has joined #riscv
alexghiti has joined #riscv
guerby_ has joined #riscv
haritz has quit [Changing host]
haritz has joined #riscv
ruidx has joined #riscv
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
coldfeet has joined #riscv
mlw has quit [Remote host closed the connection]
coldfeet has quit [Quit: Lost terminal]
csfore_ is now known as csfore
vagrantc has quit [Ping timeout: 245 seconds]
jjido has joined #riscv
jjido has quit [Client Quit]
<ganboing> JohnHenry: what's your `perf list` output?
jjido has joined #riscv
psydroid2 has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
unnick has joined #riscv
etra has joined #riscv
etra has joined #riscv
<JohnHenry> I realized `sudo perf list` was important and that has `tlb:tlb_flush`, which is a start, but I still don't see what might count shootdown interrupts specifically unless I can somehow filter the IPIs to catch those
<JohnHenry> this is my `sudo perf list` output: https://gist.github.com/johndeppe/bbbbf5076b52e9d8f15cf9d69e05f056
<JohnHenry> FWIW I'm 90% sure my system is using Linux IPIs and not the SBI to perform TLB shoodowns
jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
<bjdooks> could you also kprobe on the relevant tlb flush function?
<JohnHenry> that would be great if I knew how to kprobe. :)
<JohnHenry> kprobes allow arbitrary monitoring in the kernel, right?
<bjdooks> mostly
<bjdooks> there's a few places you just can't
<JohnHenry> any tutorial suggestions?
jobol has quit [Quit: Leaving]
<JohnHenry> I guess using Linux IPIs is why I'm not getting the SBI events, but I guess RISC-V Linux doesn't have corresponding tracepoint events for its own IPI shootdowns?
<palmer> JohnHenry looks like those are x86-only? Unless I'm missing something. Seems reasonable to add them, though...
<JohnHenry> That's what I saw and thought, I'm glad you think the same! Maybe that would be a good Baby's First Patch for someone like me?
<palmer> ya, go for it. I think it should just be a matter of decorating some TLB flushing stuff with trace_tlb_flush(). Might even be an asm-generic thing, depending on how it's all hooked together
alexghiti has quit [Quit: Connection closed for inactivity]
<JohnHenry> I'll investigate!
<ganboing> JohnHenry: What's your kernel version?
<ganboing> Mine is v6.6.21 on a Hifive P550: https://gist.github.com/ganboing/60c0a5030e27f919fe5b4fd25a75d3c7
<JohnHenry> I'm working with sophgo's 6.9-rc1 fork on a Milk-V Pioneer.
<ganboing> Do you see this line in dmesg?: riscv: providing IPIs using SBI IPI extension
<JohnHenry> OH yes I do in `journalctl -k`.
<JohnHenry> suddenly i worry something is horribly broken in this Fedora distribution
<JohnHenry> thought that doesn't guarantee it's what the kernel is doing
<JohnHenry> I'll add a couple kprints in the relevant section and see for sure
<ganboing> This line indicates that linux is using SBI for TLB shootdown
<JohnHenry> it definitely means the SBI present and can issue IPIs. I'm going to muck with it and confirm what you say.
<JohnHenry> I am not familiar with these. What should I be getting from them?
<JohnHenry> It looks like code that decides whether or not SBI gets used for IPIs like TLB shootdown, but I'm not confident what it's doinbg
<JohnHenry> PS thank you for your interest in my problem :)
naoki has joined #riscv