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
MaxGanzII has quit [Remote host closed the connection]
pecastro has quit [Ping timeout: 252 seconds]
paulk has quit [Ping timeout: 260 seconds]
paulk has joined #riscv
jfsimon1981_b has joined #riscv
jfsimon1981 has quit [Ping timeout: 255 seconds]
jacklsw has joined #riscv
rsalveti has quit [Quit: Connection closed for inactivity]
heat has joined #riscv
jacklsw has quit [Quit: Back to the real world]
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
wingsorc has quit [Quit: Leaving]
jacklsw has joined #riscv
Tenkawa has quit [Quit: Was I really ever here?]
heat_ has joined #riscv
heat has quit [Ping timeout: 268 seconds]
khem has quit [Quit: Connection closed for inactivity]
heat_ has quit [Ping timeout: 240 seconds]
foton has quit [Quit: %Bye, bye, ...%]
foton has joined #riscv
crabbedhaloablut has joined #riscv
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #riscv
jacklsw has quit [Ping timeout: 245 seconds]
vivihexe has quit [Quit: Client closed]
mlw has joined #riscv
davidlt has joined #riscv
paulk-bis has joined #riscv
paulk has quit [Read error: Connection reset by peer]
jacklsw has joined #riscv
shamoe has quit [Quit: Connection closed for inactivity]
BootLayer has joined #riscv
peeps has joined #riscv
peeps[zen] has quit [Ping timeout: 268 seconds]
MaxGanzII has joined #riscv
mlw has quit [Ping timeout: 245 seconds]
mlw has joined #riscv
MaxGanzII has quit [Ping timeout: 240 seconds]
ZipCPU_ has joined #riscv
ZipCPU has quit [Ping timeout: 255 seconds]
ZipCPU_ is now known as ZipCPU
The_Decryptor has quit [Read error: Connection reset by peer]
abelvesa has quit [Quit: leaving]
abelvesa has joined #riscv
abelvesa has quit [Client Quit]
heat_ has joined #riscv
abelvesa has joined #riscv
abelvesa has quit [Client Quit]
abelvesa has joined #riscv
heat_ is now known as heat
abelvesa has quit [Client Quit]
abelvesa has joined #riscv
abelvesa has quit [Client Quit]
abelvesa has joined #riscv
abelvesa has quit [Client Quit]
abelvesa has joined #riscv
abelvesa has quit [Client Quit]
abelvesa has joined #riscv
abelvesa has quit [Client Quit]
abelvesa_ has joined #riscv
abelvesa_ has quit [Client Quit]
abelvesa has joined #riscv
The_Decryptor has joined #riscv
Andre_Z has joined #riscv
Andre_Z has quit [Client Quit]
prabhakarlad has joined #riscv
prabhakar has joined #riscv
prabhakar has quit [Ping timeout: 246 seconds]
prabhakarlad has quit [Ping timeout: 250 seconds]
prabhakarlad has joined #riscv
MaxGanzII has joined #riscv
heat has quit [Remote host closed the connection]
prabhakarlad has quit [Ping timeout: 250 seconds]
pecastro has joined #riscv
rsalveti has joined #riscv
jacklsw has quit [Ping timeout: 256 seconds]
prabhakar has joined #riscv
prabhakarlad has joined #riscv
ema has quit [Quit: leaving]
ema has joined #riscv
Andre_Z has joined #riscv
notgull has quit [Ping timeout: 255 seconds]
notgull has joined #riscv
prabhakar has quit [Ping timeout: 260 seconds]
prabhakarlad has quit [Ping timeout: 250 seconds]
ralphtucker has joined #riscv
<ralphtucker> is there anyone who can tell me what is the purpose of Ecall instruction and how to implement it ? Is it necessary to implement csr's first in order to implement ecall?
<courmisch> how it works is explained in the privileged isa spex
<courmisch> and yes, at least in practice
<ralphtucker> yes it is explained in the privileged isa spec, but i don't understand it working through that, is there any other way to understand it?
EchelonX has joined #riscv
MaxGanzII has quit [Remote host closed the connection]
MaxGanzII has joined #riscv
Tenkawa has joined #riscv
prabhakarlad has joined #riscv
prabhakar has joined #riscv
<sorear> from U-mode's perspective, ecall is a black box that does stuff defined by the execution environment (e.g. on linux it behaves as a0 = syscall(a7, a0, a1, a2, a3, a4, a5, a6); )
<sorear> from a hardware perspective, ecall is an illegal opcode, except that it sets xcause to (8 + priv) instead of 2 and delegates appropriately for the xcause value
<sorear> does either of those help?
ralphtucker has quit [Ping timeout: 250 seconds]
Starfoxxes has quit [Ping timeout: 240 seconds]
ralphtucker has joined #riscv
BootLayer has quit [Quit: Leaving]
ralphtucker has quit [Client Quit]
zjason`` is now known as zjason
shamoe has joined #riscv
psydroid has joined #riscv
solol has joined #riscv
MaxGanzII has quit [Remote host closed the connection]
MaxGanzII has joined #riscv
<muurkha> it's probably worth mentioning that in a RISC-V emulator for U-mode code, you can implement it without implementing CSRs, which is implicit in what sorear said
<sorear> op quit
<muurkha> yeah, twice in fact
<muurkha> but they might look at https://libera.irclog.whitequark.org/riscv
<muurkha> I think there is actual RISC-V hardware you can buy which has nonstandard mechanisms for handling ecall
<muurkha> with FIQ-style shadow register sets and stuff
<solol> What are you guys talking about
<muurkha> 11:01 < ralphtucker> is there anyone who can tell me what is the purpose of Ecall instruction
<muurkha> and how to implement it ? Is it necessary to implement csr's first in order
<muurkha> to implement ecall?
<muurkha> 11:48 < sorear> from U-mode's perspective, ecall is a black box that does stuff defined by the
<muurkha> execution environment (e.g. on linux it behaves as a0 = syscall(a7, a0, a1, a2,
<muurkha> a3, a4, a5, a6); )
<muurkha> 11:49 < sorear> from a hardware perspective, ecall is an illegal opcode, except that it sets
<muurkha> xcause to (8 + priv) instead of 2 and delegates appropriately for the xcause
<muurkha> value
<muurkha> 11:49 < sorear> does either of those help?
<muurkha> 11:52 -!- ralphtucker [~ralphtuck@202.47.38.212] has quit [Ping timeout: 250 seconds]
<muurkha> hmm, maybe I should have just linked to appropriate point in the logs, that was rather a lot, sorry
<courmisch> judging by tye timeout they didn't even see sorear's prose
<muurkha> they came back later but didn't see anything
<muurkha> *say anything
<courmisch> I disabled joins and parts. too much noise on this channel
<muurkha> it's funny that someone using the name "ralphtucker" wouldd put a space before their question mark, isn't it?
<muurkha> but I guess people can call themselves whatever they want...
<courmisch> was anyone waiting for the second batch of K230 boards? seems they fiablly
<courmisch> finally* shipped
<courmisch> muurkha: as long as it's not someone else's registered nick :)
<solol> hm
<solol> So what do you guys use hardware scripting for?
<solol> if u don't mind me asking
tlwoerner has quit [Ping timeout: 256 seconds]
<solol> Anything I should look into playing with?
<solol> I just got an Xbox X
tlwoerner has joined #riscv
<courmisch> not sure what that's got to do with this chan? isn't Xbox X x86-64?
<solol> Hm, I wasn't sure yet.
<solol> What's ARM running?
<solol> ARM 8.2 maybe 9.?
<courmisch> wut?
ralphtucker has joined #riscv
<ralphtucker> please tell me if it is already implemented somewhere
<solol> What uses RISCV?
<courmisch> literally every Linux RISCV system has ecall
<solol> That's not what I was asking
<solol> nvm
<solol> i'll shhh
<solol> u guys found the pool-boy ralphtucker
Stat_headcrabed has joined #riscv
Andre_Z has quit [Quit: Leaving.]
MaxGanzII has quit [Remote host closed the connection]
MaxGanzII has joined #riscv
unknown has quit [Ping timeout: 255 seconds]
BootLayer has joined #riscv
Stat_headcrabed has quit [Quit: Stat_headcrabed]
ralphtucker has quit [Quit: Client closed]
drmpeg has quit [Ping timeout: 260 seconds]
Stat_headcrabed has joined #riscv
prabhakar has quit [Ping timeout: 260 seconds]
prabhakarlad has quit [Ping timeout: 250 seconds]
solol has quit [Quit: Client closed]
drmpeg has joined #riscv
mlw has quit [Ping timeout: 245 seconds]
mlw has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
jmdaemon has quit [Ping timeout: 260 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
shamoe has quit [Quit: Connection closed for inactivity]
Andre_Z has joined #riscv
solol has joined #riscv
shamoe has joined #riscv
MaxGanzII has quit [Remote host closed the connection]
jacklsw has joined #riscv
jacklsw has quit [Ping timeout: 268 seconds]
foton has quit [Quit: %Bye, bye, ...%]
foton has joined #riscv
MaxGanzII has joined #riscv
khem has joined #riscv
sakman has quit [Remote host closed the connection]
MaxGanzII has quit [Remote host closed the connection]
MaxGanzII has joined #riscv
Andre_Z has quit [Ping timeout: 260 seconds]
Andre_Z has joined #riscv
ldevulder has quit [Ping timeout: 240 seconds]
ntwk has quit [Read error: Connection reset by peer]
vagrantc has joined #riscv
ntwk has joined #riscv
Leopold has quit [Remote host closed the connection]
Leopold has joined #riscv
solol has quit [Ping timeout: 250 seconds]
<courmisch> any compiler person? what's the stance on vsetvli inside inline assembler? is the compiler supposed to assume that vl and vtype are always clobbered?
jfsimon1981_b has quit [Remote host closed the connection]
<palmer> courmisch: can you file a GCC bugzilla? we've really screwed up the vector stuff
<palmer> we probably need a clobber for vl or vconfig or something
dzaima[m] has joined #riscv
<dzaima[m]> some searching lead to https://github.com/llvm/llvm-project/issues/67596
Starfoxxes has joined #riscv
<palmer> ya, I wouldn't really count on it working though. So if we've got examples of actually using it that'd be great, it's something that needs to get tested properly
<courmisch> oh yeah I should have tried instead of asking
<courmisch> GCC has both "vl" and "vtype" clobbers
<palmer> oh, so you're not getting bad codegen or something?
<courmisch> no I was just wondering
<palmer> ah, ya, OK. There's some other stuff in vconfig too
<palmer> I'd be pretty hesitent to trust a lot of the vector stuff right now, it's all pretty broken (at least in GCC)
<palmer> looks like we don't have any tests for the inline asm clobbers, unless I'm missing some? So I guess even if this works it's probably worth putting some examples somewhere
<courmisch> to test this, you'd need to mix intrinsics and inline assembler, and I am not familiar with the earlier :/
<palmer> ya, ignoring the intrinsics the right way to go
<palmer> I'll add it to the TODO list... ;)
shamoe has quit [Quit: Connection closed for inactivity]
ldevulder has joined #riscv
jmdaemon has joined #riscv
solol has joined #riscv
shamoe has joined #riscv
<courmisch> I hate SIMD intrinsics in general and the RVV ones in particular. I respect that some people prefer that over outline assembler, but count me out.
<solol> Ooh, I just got my 500,000 device universal remote
<solol> I wonder what that's got.
<solol> SofaBaton X1
<palmer> courmisch: ya, I kind of only use the intrinsics when I really have to -- usually I try and just massage things to get what I want out of the compiler, or if it's really fancy then just proper assembly. I had some luck with some Intel stuff years ago, but the RVV ones are particularly awful
<courmisch> to be fair, I don't know how else they could have done them. But that's all the more reason to stick to outline assembler
<courmisch> and the RVV ABI is actually easy and convenient to work with
<courmisch> *unlike* NEON
<solol> What's RVV
<jrtc27> RV = RISC-V, V = V(ector) extension
<solol> How do you pinpoint how many of any particular registers are available on a chip?
<solol> oh ok
<jrtc27> you're asking the wrong question, probably
<solol> is it in the manual or something idr.
<solol> You can't just use 4ghz @ max...
<jrtc27> ?
<courmisch> plus IMO intrinsics are in a weird position where you should (typically) try to maximise register utilisation... but the compiler hides them from you, so uh?
<solol> Are those registers?  Are they virtual and not like I'm thinking?
<jrtc27> I don't think anyone here understands what you're asking or thinking about
<solol> I thought CPU's had set amounts of each type of register for the RISCV setup or x86 or 64 / etc...
<solol> It's not a CPU with ~Billion transistors that just do anything, right?
<jrtc27> can I suggest you go find an undergraduate level introduction to computer architecture course?
<solol> There's a reason for ASIC design or the algorithms ...
<jrtc27> you seem confused
<solol> I'm not exactly confused.
<solol> I'm just trying to catch up real quick...
<jrtc27> you're asking questions that show you don't really understand the fundamentals
<solol> u guys were talking about SIMD i figured it was a good time...
<jrtc27> and as such the questions are strange
<jrtc27> it's hard to answer a question that doesn't entirely make sense
<solol> Each chip was built with an algorithm for how things are placed on the chip.
<solol> How do you count the registers for any CPU?
<jrtc27> again, your questions do not make any sense
<jrtc27> please go educate yourself
<jrtc27> I don't want to have to ask a third time
<jrtc27> if you want to learn about the fundamentals of computer architecture there are countless online resources available
<solol> Why are you talking like this at all?
<solol> I even used your own words, 3 times.
<solol> You're even an operator here!
<solol> How do you find a chipsets algorithm is too hard?
<solol> Because it definitely makes sense.
solol was banned on #riscv by jrtc27 [*!~solol@user/solol]
solol was kicked from #riscv by jrtc27 [Your behavior is not conducive to the desired environment.]
<jrtc27> if people think that's too harsh I'm open to retracting it, just don't want to see this channel filled with jibberish that sounds like it could have come out of some crappy LLM
<courmisch> it was harsh, but I can't deny that they were obnoxious, and also, earlier, completely off-topic
<sorear> are they PMing anyone other than me?
<jrtc27> me
<jrtc27> maybe better to let you deal with them than me?
<courmisch> not me, but I don't remember if I've blocked nonregistered users
<Tenkawa> Esmil_: Well I've only noticed one odd side effect so far in testing that 6.7-rc source. The IO rate on the NVMe transfers have dropped back down from 300mb/sec to 180mb/sec and so far no obvious sign of why between it and 6.5.11.
<Tenkawa> I'm comparing settings and the dts currently to see if anything looks really obvious
<Tenkawa> (kernel settings)
prabhakar has joined #riscv
prabhakarlad has joined #riscv
davidlt has quit [Ping timeout: 255 seconds]
BootLayer has quit [Quit: Leaving]
zjason has quit [Ping timeout: 256 seconds]
EchelonX has quit [Quit: Leaving]
ntwk has quit [Ping timeout: 276 seconds]
mlw has quit [Ping timeout: 264 seconds]
<palmer> IMO that's not bad worthy
MaxGanzII has quit [Ping timeout: 240 seconds]
<Tenkawa> palmer: was that directed to me or courmisch/jrtc27?
<Tenkawa> palmer: If it was directed to me...just odd that that the speed dropped so much between versions it seems to me...
<Tenkawa> You can also use services to block users in certain cases (like this one) by interacting with nickserv.. much more efiiective than /mode
<Tenkawa> er chanserv not nickserv
<Tenkawa> if you are a chan operator
Andre_Z has quit [Quit: Leaving.]
<conchuod> sorear: I suspect it may be the same person we banned like 200 times from #devicetree
<conchuod> they talk tripe 24/7 and DMed me after I banned them with incomprehensible drivel.
<Tenkawa> I was starting to wonder if it was an AI/chatbot...
<Tenkawa> Those have been popping up in various places on IRC and Discord recently
<palmer> whomever banned this sol guy
<Tenkawa> palmer: ahhh ok
<palmer> sure he's confused, but just yelling at someone for being confused and then banning them is not a great way to get folks involved
<Tenkawa> palmer: that person was continually offtopic numerous times about things continually not related to RISC-V/computing
<palmer> OK, all I'm seeing is a silly fight and then a ban
<mps> also for me looked strange person (if it is person)
<mps> "when you enter someone home be kind and follow rules these", and jrtc27 asked few times for this
<mps> s/these/there/
danilogondolfo has quit [Quit: Leaving]
<palmer> OK, I guess that's not really how I'm reading it? It looks to be like jrtc27 just berated somenoe who was confused, and then banned them
<palmer> might just be me, though -- I consistently find her pretty miserable to interact with, so I'm kind of used to ignoring it ;)
<mps> idk for sure what is really happening, just expressed my observation
<palmer> ya, I don't know etiher; )
<palmer> I just got poked about the ban
<mps> also I'm not fan of bans
<palmer> ya, I generally try and actually work with people instead
<Tenkawa> I have the log here... The user started with comments about Xbox, "what uses RISCV", 500,000 device universal remote, "What's ARM running?", "So what do you guys use hardware scripting for?"
<Tenkawa> They definitely were not starting "normal topics"
<palmer> ya, sure the dude's confused
<mps> also I, and 'ban' (ignore actually) is mostly in brain
<mps> in my brain*
<palmer> but then there's also a bunch of non-constructive replies from jrtc27 I'm seeing, so it's not like this is a one way thing
<palmer> if we're going to try and take some high ground here, let's at least be reasonable
<Tenkawa> Yeah it was abrupt indeed
<palmer> ya
<palmer> so if the policy is just "don't disagree with jrtc27 or you'll get banned" then let's at least write it down -- that's how much of the other RISC-V stuff works, so there's precedent
<palmer> but RVI doesn't own this ;)
<Tenkawa> I would've recommended a "gentler" warning first
<Tenkawa> Another compile starts... lets see if some of these adjustments can bring back some of the NVMe io.
<Tenkawa> 6.7-rc otherwise is running nicely in my tests so far
<palmer> ya, or even just a broader approach of differentiating between "I don't understand $THING" and "and $THING is not understood by anyone"
<palmer> sweet. presumably you need those module fixes? I think they're OK, but I left my Yubikey at home so I can't push them until tonight...
<Tenkawa> I put the lore fix in manually
<Tenkawa> so I have it here
<palmer> cool
<palmer> it's also on my staging branch
<Tenkawa> Whats your branch url?
crabbedhaloablut has quit []
<palmer> it's just git.kernel.org palmer linux.git
<Tenkawa> I'll bookmark it just in case... ok
<Tenkawa> thanks
<palmer> ya, I can never remember the actual URL patterns...
<jrtc27> alright enough, this is just becoming personal attacks on me. if you want to debate whether that specification action of mine was right and/or should be reverted, that's fine, I even said right from the beginning that I was open to that because I acted in the moment to quash what I deemed as spam but felt there was a chance others might disagree with it, but this is going too far and resorting to airing personal resentment towards me in public (which I
<jrtc27> would like to hear the reason for in private if willing so I can do better at whatever has been a problem in the past, but this public channel is not the venue for that kind of thing)
<Tenkawa> np I have them memorized now
<palmer> I generally push stuff there (fixes/for-next), pull it on my testing box, and then push it upstream
ntwk has joined #riscv
<Tenkawa> palmer: you using master currently?
<Tenkawa> ah fixes/for-next
<palmer> I merge palmer/master locally into the tester, it's essentially just a manual gate for picking up new stuff because I don't want too much churn
<palmer> (and palmer/master is just Linus' master, but behind a bit)
<Tenkawa> yeah I see your tag references
<palmer> cool
<Tenkawa> yeah.. My copy is a bit newer atm
<palmer> there's also palmer/not-for-next, which is where I stack up stuff that should be in other trees but isn't in rc1 and thus is causing me pain for some reason
<palmer> ya, I'm super behind again because it's been a few weeks of chaos ;)
<Tenkawa> Yeah that happened to me last month when I was out of the country
<Tenkawa> I was gone for almost a month
MaxGanzII has joined #riscv
MaxGanzII has quit [Remote host closed the connection]
MaxGanzII has joined #riscv
<palmer> Ya, it's tough -- I had two conferences and then got sick, so kind of wiped out a few weeks
zBeeble has quit [Remote host closed the connection]
zBeeble has joined #riscv
MaxGanzII has quit [Remote host closed the connection]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]