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
vagrantc has quit [Quit: leaving]
pecastro has quit [Ping timeout: 264 seconds]
Stat_headcrabed has joined #riscv
<Stat_headcrabed> Do we have an api in hwprobe for reading mtime frequency?
<Stat_headcrabed> we could read device tree, but what about acpi?
knedl1k has quit [Quit: knedl1k]
<palmer> Stat_headcrabed: just propose adding one
<palmer> should be pretty easy, just a key and a lookup from the DT
<palmer> it might be better done via some perf hook, but someone will probably tell us ;)
handsome_feng has joined #riscv
jacklsw has joined #riscv
esv_ has joined #riscv
esv has quit [Ping timeout: 255 seconds]
cousteau has quit [Quit: ♫ I can't forget the day I shot that network down ♫]
esv_ has quit [Ping timeout: 255 seconds]
<bbyoume> How long til western hw matches or beats visionfive2, with an oshw/opensource cpu at least? Wouldnt others here be interested in buying such a device? or is there too much software dev work remaining still?
heat_ has quit [Ping timeout: 260 seconds]
<Stat_headcrabed> palmer: I’m not familiar with this… :(
<Stat_headcrabed> also, maybe we need other methods to deal with uefi+acpi while implementing this?
<pabs3> bbyoume: usually every new device means additional software dev work; in the bootloaders, kernel, userspace drivers etc. I assume probably most generic riscv software dev is done now, apart from porting the long tail and optimising existing code.
* pabs3 has no idea about OSHW CPUs though, would assume most of them wouldn't get ASICs produced
shamoe has quit [Quit: Connection closed for inactivity]
shamoe has joined #riscv
davidlt has joined #riscv
mlw has joined #riscv
Stat_headcrabed has quit [Quit: Connection closed for inactivity]
BootLayer has joined #riscv
mlw has quit [Ping timeout: 255 seconds]
mlw has joined #riscv
davidlt has quit [Ping timeout: 264 seconds]
shamoe has quit [Quit: Connection closed for inactivity]
elastic_dog has quit [Ping timeout: 260 seconds]
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
elastic_dog has joined #riscv
crabbedhaloablut has joined #riscv
Jackneill has joined #riscv
jacklsw has quit [Quit: Back to the real world]
cwittlut has quit [Quit: _]
agent314_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
danilogondolfo has joined #riscv
roxell has quit []
roxell has joined #riscv
pecastro has joined #riscv
MaxGanzII has joined #riscv
MaxGanzII has quit [Client Quit]
psydroid has joined #riscv
wingsorc has quit [Ping timeout: 260 seconds]
esv_ has joined #riscv
esv_ has quit [Ping timeout: 255 seconds]
esv_ has joined #riscv
esv_ is now known as esv
shamoe has joined #riscv
edr has joined #riscv
BootLayer has quit [Quit: Leaving]
psydroid has quit [Ping timeout: 272 seconds]
alexghiti has joined #riscv
psydroid has joined #riscv
jacklsw has joined #riscv
hightower2 has quit [Ping timeout: 255 seconds]
psydroid has quit [Ping timeout: 252 seconds]
psydroid has joined #riscv
BootLayer has joined #riscv
jfsimon1981_b has joined #riscv
knedl1k has joined #riscv
knedl1k has quit [Client Quit]
prabhakarlad has joined #riscv
justHaunted is now known as justache
Stat_headcrabed has joined #riscv
shamoe has quit [Quit: Connection closed for inactivity]
Stat_headcrabed has quit [Client Quit]
handsome_feng has quit [Quit: Connection closed for inactivity]
prabhakarlad has quit [Quit: Client closed]
heat_ has joined #riscv
shamoe has joined #riscv
heat has joined #riscv
heat_ has quit [Read error: Connection reset by peer]
<courmisch> received my K230 CanMV, but now the not so fun part starts
Andre_Z has joined #riscv
<palmer> courmisch: ya, I think you're the first one I've seen with it. Have fun ;)
<muurkha> courmisch: fantastic!
<courmisch> no clue how to put Linux on the big core though :(
<palmer> courmisch: IIRC there's some discussion of errata already? or maybe it was just that there's none for this new chip yet? should be on LKML somewhere...
<courmisch> palmer: I have not flashed anything yet, but it seems Linux runs only on the little management core
<courmisch> which means I have no clue how to get to RVV
vagrantc has joined #riscv
<palmer> that's wacky, I'd expect Linux to default to the big core
<palmer> I guess it's time to dig around the boot flow?
<courmisch> palmer: you may be overestimating my bottom feeder self
dogukan has joined #riscv
<courmisch> I'd really rather have Linux on the big core and nothing on the small core, so I don't have to worry about feature support asymmetry, but that seems like a pipe dream for now
technoid_ has quit [Ping timeout: 252 seconds]
technoid_ has joined #riscv
<courmisch> processor : 0
<courmisch> isa : rv64imafdcvxthead
<courmisch> mmu : sv39
<courmisch> hart : 0
<courmisch> hmm, maybe I was being too pessimistic
<courmisch> or maybe the DT is just wrong
technoid_ has quit [Changing host]
technoid_ has joined #riscv
<unlord> this is the small core?
<courmisch> I suppose it's the big one since it says v but?
<courmisch> there is only one core under Linux. whichever is which the other one is not visible
<unlord> huh
<courmisch> yeah so this is the small core and V is a lie
<courmisch> or the kernel does not have V support
<muurkha> shame
<courmisch> HWCAP reports ACDFIMV but vlenb returns SIGILL
<courmisch> not sure how the kernel is not crashing if it thinks there is V and there is not
<bjdooks> does hwcap get truncated if the kernel doesn't have the vector support enabled?
<bjdooks> vector is very recent
<courmisch> the kernel wouldn't know to set the 'V' bit if it didn't understand vectors
<courmisch> of course, who knows what hacks the vendor kernel has
<courmisch> this is ehavily patched 5.10 afterall, from way before upstream V support
cwittlut has joined #riscv
cwittlut has quit [Remote host closed the connection]
ntwk has quit [Quit: ntwk]
<palmer> courmisch: also LKML discussions about that, pretty sure T-Head is just claiming V is there in their kernels even for the non-1.0 stuff
<courmisch> palmer: that it definitely does (based on my LPi4a)
<courmisch> palmer: but that core has no V, 0.7.1 or 1.0
<palmer> eek
<palmer> IDK, then ;)
<courmisch> it's even in the product spec: little core no V, big core V 1.0
<courmisch> and apparently somebody there got the notion that compute stuff was better done with a custom RTOS using an IPC than with Linux
<palmer> ya, I was just poking around the SDK. That's pretty wacky, I'm going to go hide ;)
<courmisch> How dare you!!! I DEMAND AN IMMEDIATE SOLUTION ONE HOUR AGO!
<palmer> ;)
<courmisch> the big core has some RVV patches for OpenBLAS and OpenCV. The RTOS also has some RVV code
<unlord> courmisch: drat, I was hoping you would be able to test that V1.0 code I wrote
<courmisch> I haven't checked if it can run on the LPi4a but it will be slow there because vsseg4 is slow on C910
GenTooMan has quit [Quit: Leaving]
GenTooMan has joined #riscv
<courmisch> https://paste.pics/43da8f64e90d603c172591de9fc95f0d <- this may look too good to be true
<courmisch> surely it can't be this easy
jacklsw has quit [Ping timeout: 248 seconds]
h2t_ has quit [Quit: ZNC - https://znc.in]
<unlord> wow, that is easy
KombuchaKip has quit [Quit: Leaving.]
<courmisch> no, it looks easy
cwittlut has joined #riscv
<courmisch> yeah it's not that easy
bjdooks has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bjdooks has joined #riscv
vagrantc has quit [Quit: leaving]
vagrantc has joined #riscv
dogukan has quit [Remote host closed the connection]
alexghiti has quit [Ping timeout: 252 seconds]
shamoe has quit [Quit: Connection closed for inactivity]
<courmisch> unhandled signal 4 code 0x1 at 0x00000000000104a6
<courmisch> anyone familiar with S mode can parse that
<heat> SIGILL
<heat> ILL_ILLOPC
<heat> so "bad opcode" at 0x104a6
shamoe has joined #riscv
psydroid2 has joined #riscv
<courmisch> I think I fixed it
<courmisch> VLENB = 16 bytes
<unlord> woah1
<unlord> new kernel?
<courmisch> I had to recompile the kernel to enable CONFIG_VECTOR
<courmisch> *and* switch the boot to core 1
<unlord> amazing
<unlord> networking?
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
<courmisch> aye
<courmisch> that works out of the bix
<courmisch> the problem was finding a spare Ethernet cable
elastic_dog has quit [Ping timeout: 255 seconds]
elastic_dog has joined #riscv
ntwk has joined #riscv
prabhakarlad has joined #riscv
crabbedhaloablut has quit []
balrog has quit [Quit: Bye]
pabs3 has quit [Ping timeout: 255 seconds]
heat has quit [Remote host closed the connection]
balrog has joined #riscv
pabs3 has joined #riscv
heat has joined #riscv
<courmisch> it seems that T-Head has more or less addressed the performance problem with segmented loads and stores
prabhakarlad has quit [Quit: Client closed]
<muurkha> hmm, that's interesting, courmisch; how does that help?
<muurkha> or do you mean that segmented loads and stores had a performance problem, which they have more or less addressed?
<courmisch> muurkha: they were horrendously slow, compared to NF=0 loads and stores
<muurkha> ah, and now they're not?
<courmisch> yeah
heat has quit [Remote host closed the connection]
heat has joined #riscv
BootLayer has quit [Quit: Leaving]
duthils has quit [Ping timeout: 255 seconds]
wingsorc has joined #riscv
lagash has quit [Remote host closed the connection]
duthils has joined #riscv
lagash has joined #riscv
mlw has quit [Ping timeout: 260 seconds]
mlw has joined #riscv
jmdaemon has joined #riscv
Jackneill has quit [Ping timeout: 240 seconds]
mlw has quit [Ping timeout: 255 seconds]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
heat has quit [Remote host closed the connection]
heat has joined #riscv
Jackneill has joined #riscv
Andre_Z has quit [Quit: Leaving.]
bjdooks has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bjdooks has joined #riscv
khem has joined #riscv
jfsimon1981_b is now known as jfsimon
brazuca has joined #riscv
danilogondolfo has quit [Quit: Leaving]
jmdaemon has quit [Ping timeout: 255 seconds]
cousteau has joined #riscv
elastic_dog has quit [Ping timeout: 264 seconds]
KombuchaKip has joined #riscv
elastic_dog has joined #riscv
pecastro has quit [Ping timeout: 264 seconds]
pabs3 has quit [Quit: Don't rest until all the world is paved in moss and greenery.]
pabs3 has joined #riscv