sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
frkzoid has joined #riscv
freakazoid333 has quit [Ping timeout: 255 seconds]
aerkiaga has quit [Remote host closed the connection]
<dramforever_> dh`, jrtc27: thanks for the info!
<dramforever_> For me it's a bit more about whether anyone has seen this behavior before, when working on, well, anything? Because surely I can't be the only person getting fetch page faults
compscipunk has quit [Ping timeout: 244 seconds]
compscipunk has joined #riscv
Gravis has quit [Ping timeout: 268 seconds]
Gravis has joined #riscv
fedorafan has quit [Quit: Textual IRC Client: www.textualapp.com]
gdd1 has quit [Ping timeout: 268 seconds]
gdd1 has joined #riscv
jacklsw has joined #riscv
dramforever__ has joined #riscv
dramforever_ has quit [Ping timeout: 268 seconds]
aredridel has quit [Quit: The Lounge - https://thelounge.chat]
davidlt has joined #riscv
aredridel has joined #riscv
BootLayer has joined #riscv
justache has quit [Quit: ZNC 1.8.2 - https://znc.in]
vagrantc has quit [Quit: leaving]
jacklsw has quit [Read error: Connection reset by peer]
dramforever_ has joined #riscv
indy_ has joined #riscv
dramforever__ has quit [Ping timeout: 252 seconds]
indy has quit [Ping timeout: 268 seconds]
indy_ has quit [Ping timeout: 268 seconds]
dramforever__ has joined #riscv
dramforever_ has quit [Ping timeout: 268 seconds]
koorogi has quit [*.net *.split]
LetoThe2nd has quit [*.net *.split]
olofj has quit [*.net *.split]
Reinhilde has quit [*.net *.split]
guerby has quit [*.net *.split]
seds has quit [*.net *.split]
mithro has quit [*.net *.split]
SanchayanMaity has quit [*.net *.split]
Amanieu has quit [*.net *.split]
koorogi has joined #riscv
olofj has joined #riscv
koorogi has joined #riscv
koorogi has quit [Changing host]
seds has joined #riscv
Amanieu has joined #riscv
mithro has joined #riscv
SanchayanMaity has joined #riscv
LetoThe2nd has joined #riscv
guerby has joined #riscv
unlord has quit [Ping timeout: 252 seconds]
indy has joined #riscv
skyfall has quit [*.net *.split]
wmat has quit [*.net *.split]
wmat has joined #riscv
Ellenor has joined #riscv
skyfall has joined #riscv
<smaeul> only 4 series left to get D1 in mainline :D (https://lore.kernel.org/linux-riscv/20220815050815.22340-1-samuel@sholland.org/ and the three dependencies linked from there)
<drmpeg> Nice!
<drmpeg> Although whenever I see sun(number)i or sunxi, I think of Sun Microsystems, not Allwinner.
<dh`> dramforever: you could well be the only person crosschecking stval against sepc
Noisytoot has quit [Ping timeout: 268 seconds]
<dh`> ordinary trap code won't do that, it'll just save the pc value and pass the stval address to the VM system, then return to the pc value and never notice or care if they don't match
Noisytoot has joined #riscv
<dh`> and ordinarily, someone applying the workaround you mentioned will by default only engage it on the processor it applies to without thinking very hard about it
<dramforever__> for the record i'm working on this thing https://github.com/dramforever/opensbi-h
<dramforever__> so i probably should expect to be hitting all the weird cases
<dramforever__> Repo description for those who don't want to bother going through the link: WIP: A fork of OpenSBI, with software-emulated hypervisor extension support
unlord has joined #riscv
unlord has quit [Ping timeout: 252 seconds]
unlord has joined #riscv
BootLayer has quit [Quit: Leaving]
fedorafan has joined #riscv
unlord has quit [Ping timeout: 248 seconds]
unlord has joined #riscv
indy has quit [Ping timeout: 268 seconds]
indy has joined #riscv
fedorafan has quit [Ping timeout: 248 seconds]
justache has joined #riscv
davidlt has quit [Ping timeout: 252 seconds]
raym has quit [Quit: kernel update, rebooting...]
raym has joined #riscv
BootLayer has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
dramforever_ has joined #riscv
dramforever__ has quit [Ping timeout: 244 seconds]
loggervicky has joined #riscv
loggervicky has quit [Ping timeout: 244 seconds]
fedorafan has joined #riscv
<drmpeg> Linux 6.0-rc1 is no bueno on HiFive Unmatched. https://www.w6rz.net/segfault.png
<drmpeg> That's pretty far in. I don't think it's RISC-V patches causing that.
justache has quit [Quit: ZNC 1.8.2 - https://znc.in]
justache has joined #riscv
dramforever__ has joined #riscv
dramforever_ has quit [Ping timeout: 256 seconds]
dramforever_ has joined #riscv
davidlt has joined #riscv
dramforever__ has quit [Ping timeout: 248 seconds]
ffcc has joined #riscv
justache has quit [Remote host closed the connection]
justache has joined #riscv
matt__ has joined #riscv
frkazoid333 has joined #riscv
frkzoid has quit [Ping timeout: 268 seconds]
justache has quit [Remote host closed the connection]
justache has joined #riscv
matt__ has quit [Ping timeout: 255 seconds]
justache has quit [Remote host closed the connection]
justache has joined #riscv
justache has quit [Remote host closed the connection]
justache has joined #riscv
justache has quit [Remote host closed the connection]
frkzoid has joined #riscv
justache has joined #riscv
frkazoid333 has quit [Ping timeout: 255 seconds]
justache has quit [Remote host closed the connection]
justache has joined #riscv
justache has quit [Remote host closed the connection]
justache has joined #riscv
dramforever__ has joined #riscv
dramforever_ has quit [Ping timeout: 248 seconds]
aerkiaga has joined #riscv
justache has quit [Quit: ZNC 1.8.2 - https://znc.in]
justache has joined #riscv
jn has quit [Ping timeout: 268 seconds]
jn has joined #riscv
jn has joined #riscv
jmdaemon has quit [Ping timeout: 268 seconds]
raym has quit [Remote host closed the connection]
raym has joined #riscv
justache has quit [Quit: ZNC 1.8.2 - https://znc.in]
justache has joined #riscv
<dramforever__> dh`: After some sleep I got it! Thanks for the hint. I apparently needed an *instruction* that crosses page boundaries
loggervicky has joined #riscv
mthall has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
loggervicky has quit [Quit: loggervicky]
dor has quit [Ping timeout: 252 seconds]
mthall has joined #riscv
prabhakarlad has quit [Quit: Client closed]
Ellenor is now known as Reinhilde
prabhakarlad has joined #riscv
cousteau has joined #riscv
davidlt has quit [Read error: Connection reset by peer]
brazuca has quit [Quit: Client closed]
indy has quit [Ping timeout: 256 seconds]
justache has quit [Remote host closed the connection]
justache has joined #riscv
indy has joined #riscv
vagrantc has joined #riscv
fedorafan has quit [Ping timeout: 248 seconds]
bjorn has quit [Ping timeout: 268 seconds]
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #riscv
davidlt has joined #riscv
ghee has joined #riscv
dramforever__ has quit [Read error: Connection reset by peer]
dramforever_ has joined #riscv
ghee has quit [Remote host closed the connection]
fedorafan has joined #riscv
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #riscv
dramforever__ has joined #riscv
dramforever_ has quit [Ping timeout: 252 seconds]
nathanchance has joined #riscv
<conchuod> drmpeg: (: bisection time!
dramforever_ has joined #riscv
dramforever__ has quit [Ping timeout: 248 seconds]
tafama has quit [Quit: ZNC - https://znc.in]
tafa has joined #riscv
dramforever__ has joined #riscv
dramforever_ has quit [Ping timeout: 252 seconds]
<conchuod> mmind00: I was doing my head in wondering why my d1 wasn't working...
<conchuod> Turns out that I need a custom config_cmdline
<conchuod> Also, are you seeing kernel panics? (cos I am)
<conchuod> drmpeg: I just got one of those same panics (plus some more stuff) on a d1
<mmind00> conchuod: hmm, nope I don't see any panics here, but then I'm using a nfsroot - not sure if that matters
<conchuod> I am using initramfs
<mmind00> custom config_cmdline?
<conchuod> Is vger kinda dead rn? greg sending out massive patchsets or something I guess.
<conchuod> I can't find my mail on lore to link you
<conchuod> CONFIG_CMDLINE="earlyprintk=sunxi-uart,0x02500000 earlycon console=ttyS0,115200"
<conchuod> I need (parts of) that or else I don't see any output
<conchuod> Prob just down to what uart I am using, but I completely forgot about it
<mmind00> I guess I'm not seeing _that_ because my cmdline comes from the pxe config right now ... though I'd have thought that the chosen node _should_ also set the correct terminal? ... But looks like it doesn't?
<mmind00> conchuod: interesting question would be if you see the move from earlycon over to the regular tty in your kernel log?
<conchuod> I also see a "Failed to initialize '/soc/timer@2050000': -22"
<conchuod> "[ 0.008637] irq: no irq domain found for interrupt-controller@6010000 !"
<conchuod> hmm
<mmind00> I'm definitly _not_ seeing that ... strange
<conchuod> I rebuilt again, just hung this time
<conchuod> trying /again/
<conchuod> Maybe I am just making a hames of things, dunno.
<conchuod> It's just hanging for me now at:
<conchuod> [ 1.422894] debug_vm_pgtable: [debug_vm_pgtable ]: Validating architecture page table helpers
<conchuod> Right, will try that one. That's v similar to what I was using prior to this patchset
<mmind00> + https://github.com/mmind/linux-riscv/tree/fromlist/d1-support-v1 ... is the config + code I'm building right now ... kernel config is not really the same as the defconfig, so likely some option(s) are missing in the main one I guess
<conchuod> I am on Linux version 6.0.0-rc1-00030-g9c1ba73cde81-dirty
<conchuod> So effectively identical to you
<conchuod> I think I am just missing your merge commits
<mmind00> the patches are also limited enough that neither of us should've missed any :-) ... so really I guess the defconfig
<mmind00> conchuod: hmm, funny question: where do you get your devicetree from?
<conchuod> I did see the panic that Ron had, so there's something wrong somewhere in the kernel - but it is rc1...
<conchuod> I don't use out of tree devicetrees
<mmind00> no I meant does your dt come from u-boot ... or is it built from the kernel sources?
<conchuod> Oh, is the d1 the one where it needs to come from outside the kernel?
<mmind00> smaeul is advocating for that ... dtbs being firmware and all ;-) ... so from what I remember the firmware builds for the d1 boards are set up to supply the dtb to the kernel from u-boot
<conchuod> Right, in this case my dtb is outside of the kernel sources. Usually I do a fitimage and the dtb is from the kernel.
<conchuod> For the d1 I do a booti with ${fdtcontroladdr}
<mmind00> conchuod: yep, that is what I'm running ... fit-image ... that's also the reason why there is the "hacked-in" memory node in my branch ;-)
<mmind00> but yeah, there is the possibility that the dt you're running may be different
<conchuod> Yeah, that's a good call. I'll have to check what this u-boot is. May end up going down the hacked memory node route b/c having to update u-boot for a kernel dtb is a pain
<conchuod> I have no interest in reprogramming my boards if I can help it
<mmind00> in an ideal world, the dtb should be part of the firmware and shouldn't need to change, as the bindings would be reviewed and stable ... but that doesn't really work while things are still in flux :-)
<conchuod> Yup, I've felt that a lot too.
<conchuod> We made a mess of our dts really, none of us really knew that much about it & we were working on something pretty old too.
<conchuod> For customers they could easily take that approach though, and tbh I don't think it is that big of a deal if things change around before your soc is in actual production.
<conchuod> your defconfig hangs around the same place too.
<conchuod> hmm the interrupt controller stuff maybe had to change to comply with what Maz wanted
brazuca has joined #riscv
davidlt has quit [Ping timeout: 256 seconds]
<conchuod> U-Boot 2022.07-rc3-35470-gafc07cec42-dirty (May 28 2022 - 20:13:37 +0100)
<conchuod> This looks like the exact same thing that is still at the HEAD of d1-wip for u-boot
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #riscv
<conchuod> In other news, I wonder what's up with LKP/0day
<conchuod> Haven't seen any build sucess mails from it since Saturday
BootLayer has quit [Quit: Leaving]
jmdaemon has joined #riscv
indy has quit [Quit: ZNC 1.8.2 - https://znc.in]
jmd_ has joined #riscv
jmdaemon has quit [Ping timeout: 252 seconds]
jmdaemon has joined #riscv
jmd_ has quit [Ping timeout: 268 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #riscv
indy has joined #riscv
brazuca has quit [Ping timeout: 252 seconds]
fedorafan has quit [Quit: Textual IRC Client: www.textualapp.com]
jmd_ has joined #riscv
jmdaemon has quit [Ping timeout: 256 seconds]
<LetoThe2nd> muurkha: only saw the answer now, thanks!
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
zjason has quit [Read error: Connection reset by peer]
zjason has joined #riscv
<conchuod> palmer: you about? was gonna send another spin of the arch topology fixes
<conchuod> Dunno if you were following the bits with Will/Catalin but itIt needs the immutable branch stuff
<palmer> Not sure what that means
<palmer> you're saying you need to merge some shared stuff between our trees/
<conchuod> To fix the topology reporting, the arm64 code needs to become shared
<conchuod> So, if I am understanding correctly, you and Will both need to take the code in your trees
<palmer> ya, that's pretty much how it works
<palmer> just call out whatever you want merged as a stable branch/tag, as long as folks aren't confused it should be fine
<conchuod> palmer: sgtm
<conchuod> hmm I guess it prob has to be 3-way into riscv, arm64 & driver core
<drmpeg> conchuod: Almost there on the bisect (I think).
<conchuod> drmpeg sweet, kinda annoying to bisect on the d1 haha
<drmpeg> Yeah, I don't have the best scheme for the Unmatched either.
matt__ has joined #riscv
frkzoid has quit [Ping timeout: 244 seconds]
<conchuod> Mine's not too bad w/ tftp booting, but I've never done the bisect with additional patches thing before
teroshan has quit [Quit: The Lounge - https://thelounge.chat]
teroshan9 has joined #riscv
cwebber has quit [Ping timeout: 244 seconds]
teroshan9 has quit [Client Quit]
teroshan9 has joined #riscv
ZipCPU_ has joined #riscv
<conchuod> welp that's sent then palmer /shrug
<conchuod> Hopefully I didn't mess anything up
ZipCPU has quit [Ping timeout: 268 seconds]
ZipCPU_ is now known as ZipCPU
ffcc has quit [Remote host closed the connection]
cousteau has quit [Quit: ♫ I can't forget the day I shot that network down ♫]
brazuca has joined #riscv
brazuca has quit [Ping timeout: 252 seconds]
<smaeul> conchuod: where did you get "earlyprintk=sunxi-uart,0x02500000" from? earlyprintk is not a valid kernel parameter on riscv, and there is no such sunxi-uart driver.
<smaeul> hanging after debug_vm_pgtable suggests a missing driver (or driver/compatible mismatch)
frkzoid has joined #riscv
<smaeul> you can debug with deferred_probe_timeout
<smaeul> you definitely need an updated DTB, as Rob had me rearrange the LDO bindings
matt__ has quit [Ping timeout: 244 seconds]
frkazoid333 has joined #riscv
frkzoid has quit [Ping timeout: 255 seconds]
frkzoid has joined #riscv
frkazoid333 has quit [Ping timeout: 244 seconds]
aburgess_ has joined #riscv
aburgess has quit [Ping timeout: 244 seconds]