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]
emdevt has joined #riscv
naoki has joined #riscv
shadows has joined #riscv
hexdump01 has quit [Ping timeout: 245 seconds]
hexdump01 has joined #riscv
jedix has quit [Read error: Software caused connection abort]
jedix has joined #riscv
xbjfk has quit [Server closed connection]
xbjfk has joined #riscv
thanosengine has joined #riscv
thanosengine is now known as eden
eden has quit [Quit: WeeChat 4.6.3]
fgarcia has quit [Ping timeout: 256 seconds]
fgarcia has joined #riscv
zapb_ has quit [Server closed connection]
zapb_ has joined #riscv
oaken-source has quit [Ping timeout: 272 seconds]
oaken-source has joined #riscv
mtinman has quit [Quit: See Ya'll Later!]
edolnx_ has quit [Server closed connection]
edolnx has joined #riscv
edolnx has quit [Changing host]
edolnx has joined #riscv
dcz has joined #riscv
emdevt has quit [Quit: Leaving]
haritzondo has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
dcz has quit [Read error: Connection reset by peer]
coldfeet has joined #riscv
dcz has joined #riscv
dcz has quit [Read error: Connection reset by peer]
MelMalik has quit [Server closed connection]
dcz has joined #riscv
Ellenor has joined #riscv
dcz has quit [Read error: Connection reset by peer]
dcz has joined #riscv
coldfeet has quit [Quit: Lost terminal]
psydroid3 has joined #riscv
dcz has quit [Read error: Connection reset by peer]
dcz has joined #riscv
ldevulder has joined #riscv
Ellenor is now known as MelMalik
Andre_Z has joined #riscv
shadows has quit [Remote host closed the connection]
prabhakalad has joined #riscv
psydroid3 has quit [Ping timeout: 245 seconds]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #riscv
___nick___ has joined #riscv
psydroid3 has joined #riscv
psydroid3 has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
etra has quit [Read error: Connection reset by peer]
etra has joined #riscv
etra has quit [Changing host]
etra has joined #riscv
etra has quit [Read error: Connection reset by peer]
etra has joined #riscv
etra has quit [Changing host]
etra has joined #riscv
h2t has quit [Server closed connection]
h2t has joined #riscv
JanC has quit [Remote host closed the connection]
JanC has joined #riscv
zups has quit [Server closed connection]
zups has joined #riscv
dcz has quit [Read error: Connection reset by peer]
dcz has joined #riscv
dcz has quit [Ping timeout: 248 seconds]
cousteau has joined #riscv
cousteau has quit [Quit: Client closed]
cousteau has joined #riscv
cousteau has quit [Quit: Client closed]
ldevulder has quit [Ping timeout: 260 seconds]
psydroid3 has joined #riscv
haritz has joined #riscv
haritz has quit [Changing host]
haritz has joined #riscv
cousteau has joined #riscv
cousteau has quit [Quit: Client closed]
cousteau has joined #riscv
ldevulder has joined #riscv
cousteau has quit [Quit: Client closed]
cousteau has joined #riscv
cousteau has quit [Quit: Client closed]
cousteau has joined #riscv
cousteau has quit [Client Quit]
Trifton is now known as TDRC
TDRC is now known as Trifton
Trifton has quit [Remote host closed the connection]
Trifton has joined #riscv
Andre_Z has quit [Quit: Leaving.]
Trifton_ has joined #riscv
Andre_Z has joined #riscv
Trifton has quit [Read error: Connection reset by peer]
psydroid3 has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
fabs has joined #riscv
Stat_headcrabbed has joined #riscv
emdevt has joined #riscv
etra has quit [Read error: Connection reset by peer]
etra has joined #riscv
etra has quit [Changing host]
etra has joined #riscv
emdevt has quit [Ping timeout: 248 seconds]
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
Stat_headcrabbed has joined #riscv
Stat_headcrabbed has quit [Client Quit]
naoki has quit [Quit: naoki]
<Esmil> in qemu 10 what is the difference between -cpu rva23s64 and -cpu rva23u64 ?
<Esmil> i thought rva23s64 was just the rva23 requirements for s-mode and rva23u64 was the rva23 requirements for u-mode
<Esmil> ..but then you'd need both to run a full rva23 machine/emulation right?
psydroid3 has joined #riscv
<sorear> From a profile spec perspective they are mutually exclusive, since it describes the environment/application interface and that is at a single mode for a given application; the s64 requirements are mostly a superset so that normal supervisors will turn s64 into u64
<Esmil> gotcha
<Esmil> in other words you should be able to run a the userspace of a rva23 distro on a rv23u64 machine, but it might need a special kernel to deal with missing rva23s64 features?
vagrantc has joined #riscv
KombuchaKip has quit [Quit: Leaving.]
<mps> Esmil: building 6.16.3 with patches picked from https://github.com/esmil/linux/tree/visionfive for 6.16-rc4 fail with errors. here is output of build https://tpaste.us/dolW
KombuchaKip has joined #riscv
Andre_Z has quit [Quit: Leaving.]
<sorear> In other words "rva23u64 machine" is incoherent because u64 only applies to environments which directly provide U-mode, like qemu linux-user
paulk has quit [Ping timeout: 255 seconds]
<sorear> "rva23s64" likewise only applies to environments _including_ a SBI implementation and it's somewhat wrong to use it to describe a bare metal environment, but there are currently no *m64 profiles so it's the best we have
<Esmil> sorear: ah, so i wonder how how qemu-*system*-riscv64 implements rva23u64
<Esmil> since it rva23u64 only says anything about the u-mode
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
<sorear> shorthand for a list of extensions, which are visible in all modes because that's how qemu implements them
<sorear> and means they don't have to have different options for linux-user vs softmmu
<Esmil> right. so that would effectively mean what I wrote above. rva23 userspace would run, but the kernel might be confused about missing rva23s64 extensions
<xypron> Esmil: The server platform spec requires RVA23S64 and Ubuntu 25.10 has the same requirement.
<Esmil> xypron: yeah, of course
<xypron> Userspace would be only partially usable.
paulk has joined #riscv
paulk has joined #riscv
<sorear> I don't think it makes sense to talk about userspace running when the kernel doesn't. ecall is as much a part of the user ISA as czero.eqz is
<xypron> Esmil: Zifencei is for instance in the RVA23S64 profile bt used by OpenJDK
ldevulder has quit [Ping timeout: 248 seconds]
ldevulder has joined #riscv
edolnx_ has joined #riscv
edolnx has quit [Ping timeout: 260 seconds]
dcz has joined #riscv
ilya15557 has joined #riscv
ilya15557 has quit [Remote host closed the connection]
ilya15557 has joined #riscv
ilya15557 has quit [Changing host]
ilya15557 has joined #riscv
ilya15557 has quit [Ping timeout: 248 seconds]
courmisch has quit [Server closed connection]
courmisch has joined #riscv
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
ldevulder has quit [Ping timeout: 260 seconds]
___nick___ has joined #riscv
patersonc has quit [Quit: Connection closed for inactivity]
dcz has quit [Read error: Connection reset by peer]
Andre_Z has joined #riscv
edolnx_ has quit [Ping timeout: 260 seconds]
dcz has joined #riscv
ruidx has joined #riscv
<palmer> Esmil: FWIW, the kernel doesn’t really care much about the profiles, so it’s basically just detecting extensions and trying to figure out what to do. Thus you’d probably be fine with these mixed setups — it’d just see all the extensions in rva23u64, enable those, and then enable whatever supervisor stuff you have as well
hightower2 has joined #riscv
dcz has quit [Quit: Konversation terminated!]
ruidx has quit [Quit: WeeChat 3.8]
<Esmil> palmer: exactly. that's what i'd expect
patersonc has joined #riscv
<palmer> Ya, and the specs don't really get specific enough about the split between U and S mode to say a lot else there
<palmer> (like rva23s64 having zifencei, which is part of the unpriv spec)
dramforever[m]1 has joined #riscv
<dramforever[m]1> i do think the idea is that rva23u64 is what the kernel can expect, and in turn the kernel can say if you give me an rva23s64 machine i'll give you an rva23u64 userspace
<dramforever[m]1> ugh
<dramforever[m]1> "rva23s64 is what the kernel can expect"
<palmer> In practice vendors just do whatever they want, so we don't really expect anything in the kernel ;)
<palmer> But ya, I think that's generally the idea
<dramforever[m]1> wondering maybe we should probably eventually have some way to have like some way to build linux with the no extra state extensions enabled
<dramforever[m]1> so RVA22 or something
ldevulder has joined #riscv
___nick___ has quit [Ping timeout: 260 seconds]
psydroid3 has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
liam1312 has joined #riscv
fgarcia is now known as emerge
dataCobra has quit [Server closed connection]
dataCobra has joined #riscv
emerge is now known as fgarcia
liam1312 has quit [Quit: leaving]
shadows has joined #riscv
Andre_Z has quit [Quit: Leaving.]
ldevulder has quit [Ping timeout: 248 seconds]
hightower2 has quit [Remote host closed the connection]
patersonc has quit [Quit: Connection closed for inactivity]
jmabsd has joined #riscv
jmabsd has left #riscv [#riscv]
ganboing has quit [Quit: Leaving]