sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
Armand has joined #riscv
pecastro has quit [Ping timeout: 255 seconds]
Amanieu has quit [Quit: No Ping reply in 180 seconds.]
Amanieu has joined #riscv
aerkiaga has quit [Remote host closed the connection]
rurtty has quit [Quit: Leaving]
vagrantc has joined #riscv
MatthewAllan93 has quit [Ping timeout: 255 seconds]
Trifton has quit [Quit: Client exited]
Trifton has joined #riscv
bjdooks has quit [Ping timeout: 246 seconds]
bjdooks has joined #riscv
vagrantc has quit [Quit: leaving]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #riscv
Armand has quit [Quit: Leaving]
junaid_ has joined #riscv
junaid__ has joined #riscv
BootLayer has joined #riscv
billchenchina has joined #riscv
billchenchina has quit [Quit: Leaving]
junaid_ has quit [Ping timeout: 246 seconds]
junaid__ has quit [Ping timeout: 252 seconds]
dramforever has joined #riscv
junaid_ has joined #riscv
junaid__ has joined #riscv
<dramforever> I've been trying to figure out the device tree stuff with AIA, and I've got pretty confused
<dramforever> For reference I've been reading the bindings here: https://lore.kernel.org/lkml/20230103141409.772298-1-apatel@ventanamicro.com/
<dramforever> And I've managed to prettify the QEMU dtb into a nicely readable and 'symbolic' dts here: https://gist.github.com/dramforever/83888cc2e0b8095e1d0890c336728674
aredridel has quit [Quit: The Lounge - https://thelounge.chat]
aredridel has joined #riscv
<dramforever> 1. Should we have all the (wired) interrupts pointing to the S-mode APLIC, when in 'hardware' it's really connected to the M-mode APLIC? I'm thinking the most correct way is for the DT to say it's connected to the M-mode APLIC, and whatever handles riscv,delegate should rewrite the interrupt properties to refer to the S-mode APLIC. I don't know if this is a bad idea.
<dramforever> 2. It doesn't say anywhere about how guest interrupts are sent. Should it? Following riscv,cpu-intc, maybe we even need to add something to handle SGEIE/P and hgeie/p and make IMSIC refer to it in interrupts-extended?
craigo has joined #riscv
craigo has quit [Client Quit]
craigo has joined #riscv
junaid__ has quit [Ping timeout: 246 seconds]
junaid_ has quit [Ping timeout: 255 seconds]
<conchuod> dramforever: I don't think Anup is here. If you're confused about those bindings it'd be helpful if you commented on the thread.
aerkiaga has joined #riscv
junaid_ has joined #riscv
junaid__ has joined #riscv
<drmpeg> pabs3: I did install the OpenPGP key.
<drmpeg> Just some weird issues with the regular debian-ports.
<drmpeg> For example:
<drmpeg> wireshark: symbol lookup error: /lib/riscv64-linux-gnu/libharfbuzz.so.0: undefined symbol: FT_Get_Transform
<dramforever> conchuod: Good idea, somehow I got too focused on working on the DTB and didn't think to ask on email
<drmpeg> jrtc27: No spacers with the VisionFive 2.
<jrtc27> yeah I didn't get any, hence why I was surprised by the statement there were ones in the box...
<conchuod> dramforever: I'd like to avoid a repeat of the binding for the events that I know people are having issues creating for their hardware
<conchuod> pmu events*
rurtty has joined #riscv
<dramforever> mentioned the wrong person? i don't think i've ever talked about pmu events here
<conchuod> I know you haven't, but I know other people have
<dramforever> got it
<conchuod> Best time to get the bindings to a state that people can read and then go implement them is before their get accepted, not after.
<conchuod> they*
<dramforever> this current version definitely has more wtfs-per-minute than i'd like for something that's supposed to remain forever
<drmpeg> lol
<conchuod> I'd swear I saw a visionfive 2 review where they had metal standoffs in the box jrtc27 but I don't think I got them
<jrtc27> I wish I had some otherwise I wouldn't have pinched the ones that came with my unmatched
<drmpeg> I didn't get any. After buying a kit from Amazon, I now have enough spacers to last me until the year 2525.
<jrtc27> (with different screws.... one looked like it would short a resistor or something)
junaid__ has quit [Ping timeout: 246 seconds]
junaid_ has quit [Ping timeout: 246 seconds]
rurtty has quit [Quit: Leaving]
Stat_headcrabed has joined #riscv
crossdev has joined #riscv
Stat_headcrabed has quit [Client Quit]
junaid_ has joined #riscv
junaid__ has joined #riscv
jmdaemon has quit [Ping timeout: 248 seconds]
<pierce> ... here's me with two sets of standoffs which are going unused...
<conchuod> dramforever: thanks
<dramforever> yay
pecastro has joined #riscv
drewj has joined #riscv
junaid__ has quit [Ping timeout: 255 seconds]
junaid_ has quit [Ping timeout: 255 seconds]
<pabs3> drmpeg: which version of libharfbuzz? probably a newer version will fix this
Leopold_ has joined #riscv
rurtty has joined #riscv
<drmpeg> 6.0.0+dfsg-3 Looks like the latest.
Leopold has quit [Ping timeout: 246 seconds]
<pabs3> what does ldd say? ldd {/usr,}/lib/*/libharfbuzz.so.0
bryanz has left #riscv [#riscv]
<drmpeg> Nothing obvious there.
<pabs3> is libfreetype.so.6 in the output?
<drmpeg> yes
<drmpeg> Which is in usr/local/lib
<pabs3> uh thats not from Debian
Leopold_ is now known as Leopold
<pabs3> is libfreetype6 installed?
crossdev has quit [Ping timeout: 246 seconds]
<drmpeg> yes
<pabs3> rename the usr/local/lib copy, that should fix the issue. also complain to whoever made the image
<drmpeg> There's a whole bunch of stuff on /usr/local/lib
<pabs3> IIRC mostly proprietary GPU drivers?
<drmpeg> Yeah, and X stuff.
<drmpeg> Renaming those files worked.
crossdev has joined #riscv
Stat_headcrabed has joined #riscv
Stat_headcrabed has quit [Client Quit]
BootLayer has quit [Quit: Leaving]
aredridel7 has joined #riscv
BootLayer has joined #riscv
aredridel has quit [Ping timeout: 255 seconds]
aredridel7 is now known as aredridel
rvalles has quit [Quit: rvalles]
Sofia is now known as meow
meow is now known as Sofia
crabbedhaloablut has quit [Ping timeout: 255 seconds]
<rneese> so has anyone tested with emmc
<rneese> or just nvme
<rneese> 46 dollars just spent emmc 7 to 10 days from now
<rneese> its says visionfive2 on the page
Stat_headcrabed has joined #riscv
crabbedhaloablut has joined #riscv
dramforever has quit [Remote host closed the connection]
billchenchina has joined #riscv
Stat_headcrabed has quit [Quit: Stat_headcrabed]
crabbedhaloablut has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #riscv
friedy10 has quit [Ping timeout: 246 seconds]
billchenchina has quit [Ping timeout: 246 seconds]
junaid_ has joined #riscv
junaid__ has joined #riscv
vagrantc has joined #riscv
KombuchaKip has quit [Quit: Leaving.]
rurtty has quit [Quit: Leaving]
KombuchaKip has joined #riscv
BootLayer_ has joined #riscv
BootLayer has quit [Ping timeout: 252 seconds]
juliadev has quit [Ping timeout: 252 seconds]
juliadev has joined #riscv
elastic_dog has quit [Killed (molybdenum.libera.chat (Nickname regained by services))]
elastic_dog has joined #riscv
BootLayer_ has quit [Quit: Leaving]
junaid__ has quit [Remote host closed the connection]
junaid_ has quit [Ping timeout: 252 seconds]
Gravis_ has joined #riscv
Gravis has quit [Ping timeout: 268 seconds]
vagrantc_ has joined #riscv
jmdaemon has joined #riscv
crossdev has quit [Remote host closed the connection]
<geist> question: somene here might be familiar
<geist> when using qemu-system-riscv64 and -cpu rv64, it clearly takes some extension fields
<geist> but ,help or ,? doesn't tell me what the format is
<geist> and i can't find any documentation on it, the source isn't really even clear
<geist> any clues as to what the format is? abot to have to start adding printfs to the code to try to figure it out
<geist> i'm expecting something like `-cpu rv64,extensions=....` but of coruse that's not the case, but inside the `riscv_cpu_realize()` routine there's a bunch of code to parse things and dynamically set it up but can't figure out where the string is coming from
<geist> and the 'rv64' cpu in the code clearly is expecting to dynamically configure things, since it explicitly sets misa = 0 and then there's a comment that says 'the realize function will fill this in'
<geist> ah hah. each extension gets a property: https://github.com/qemu/qemu/blob/master/target/riscv/cpu.c#L1069
<geist> so you have to call them out individually, ie `zba=true`
<geist> and i think that true/false at the end is the default
vagrantc has quit [Quit: leaving]
vagrantc_ is now known as vagrantc
craigo has quit [Ping timeout: 260 seconds]
aerkiaga has quit [Remote host closed the connection]
rm has joined #riscv