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
Narrat has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.]
<sorear> https://lore.kernel.org/linux-riscv/20231212235003.2036221-1-debug@rivosinc.com/T/#t anyone else think this is in the wrong place? senvcfg only affects U-mode execution (and is never automatically modified) so there should be no need to write to it outside of switch_to, prctl, and somewhere in kvm
<conchuod> The other patch in that series seems pointless atm, it has no actual user?
<conchuod> The bit of code you're pointing out is a single wrote (per hart) during boot. In my naivety that seems okay.
Bluefoxicy has quit [Ping timeout: 256 seconds]
Bluefoxicy_ has joined #riscv
Bluefoxicy_ is now known as Bluefoxicy
stolen has quit [Quit: Connection closed for inactivity]
crabbedhaloablut has quit []
<palmer> deepak is working on CFI stuff, so I bet there's something related going on
<palmer> is there maybe now a user-mode writeable envconfig of some sort?
<palmer> I guess maybe just post on the thread? I'll have time to look eventually...
<conchuod> he should sent the patch when he has a user
<conchuod> s/sent/send/
<palmer> I generally agree, but if some extension has added user-mode writeable envconfig bits then I think we just ended up with a backdoor user? probably best to ask on the thread, though
<palmer> it should at least be called out, and I guess in theory gated behind whatever extension needs it (though with just the single CSR write maybe gating it is overkill)
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
<conchuod> I didn't think it was user writeable, I thought it just allowed you to use cbo.zero from userspace.
<palmer> IIRC there's some user-mode configuration for some security, stuff, maybe pointer masking and/or CFI?
<palmer> looks like just m/s/h for CFI, and nothing for pointer masking
<conchuod> I'll reply to it tomorrow
<conchuod> It's late
<palmer> oops, just did ;)
<palmer> FWIW Deepak is a Windows kernel guy, so sometimes he does confusing things ;)
marcj has quit [Ping timeout: 260 seconds]
<sorear> if nothing else kvm needs to be able to save and restore senvcfg
<palmer> I'm not really a KVM guy, though, so I might be off there
<sorear> me neither, looks plausible
cp- has quit [Ping timeout: 260 seconds]
pepperoni has joined #riscv
cp- has joined #riscv
jacklsw has joined #riscv
<pepperoni> considering a gentoo install on a beaglev-ahead board w/ a 6.1 kernel. Anyone know of issues why this wouldn't work?
Tenkawa has quit [Quit: Was I really ever here?]
notgull has quit [Ping timeout: 276 seconds]
notgull has joined #riscv
sevan has joined #riscv
cousteau has quit [Quit: ♫ I can't forget the day I shot that network down ♫]
<palmer> drewfustini: ^
marcj has joined #riscv
<palmer> pepperoni: looks like Drew might be away, but I'd guess that 6.1 i a bit too old for the BeagleV. It's a pretty new board, and things move super fast in RISC-V right now. I see the DT in 6.6: https://kernel.dance/#31ceedee8aa4559494d2ebb85c484efff6f5afa1
stolen has joined #riscv
edr has quit [Quit: Leaving]
rah has quit [Ping timeout: 246 seconds]
rah has joined #riscv
jn has quit [Ping timeout: 256 seconds]
jn has joined #riscv
jn has joined #riscv
<drewfustini> Thanks for the ping. The vendor only supports 5.10. people in the community have been trying to get support into mainline.
Nixkernal_ has quit [Ping timeout: 264 seconds]
<drewfustini> 6.6 can boot to a shell. 6.8 will support eMMC
EchelonX has quit [Quit: Leaving]
heat has quit [Ping timeout: 260 seconds]
Nixkernal has joined #riscv
mlw has joined #riscv
davidlt has joined #riscv
jacklsw has quit [Quit: Back to the real world]
jacklsw has joined #riscv
shamoe has quit [Quit: Connection closed for inactivity]
Andre_Z has joined #riscv
jacklsw has quit [Ping timeout: 268 seconds]
jacklsw has joined #riscv
Andre_Z has quit [Quit: Leaving.]
BootLayer has joined #riscv
jacklsw has quit [Quit: Back to the real world]
davidlt has quit [Remote host closed the connection]
davidlt has joined #riscv
davidlt has quit [Read error: Connection reset by peer]
davidlt has joined #riscv
zjason` has joined #riscv
zjason has quit [Ping timeout: 252 seconds]
ldevulder has joined #riscv
zjason` is now known as zjason
prabhakarlad has joined #riscv
prabhakar has joined #riscv
danilogondolfo has joined #riscv
pepperoni has quit [Ping timeout: 245 seconds]
crabbedhaloablut has joined #riscv
pepperoni has joined #riscv
davidlt has quit [Remote host closed the connection]
davidlt has joined #riscv
Leopold has quit [Quit: No Ping reply in 180 seconds.]
Leopold has joined #riscv
heat has joined #riscv
aredridel2 has joined #riscv
aredridel has quit [Ping timeout: 256 seconds]
aredridel2 is now known as aredridel
davidlt has quit [Ping timeout: 245 seconds]
<sorear> Is it publicly known whether the U74, U54, or C908 comply with Ztso?
<sorear> (it'
<sorear> (it's a generic property of in-order cores with sufficiently simple cache systems, and one that software would like to know about if true)
<muurkha> always nice when you can add an instruction set extension without adding any instructions or transistors
fredholmes has joined #riscv
fayz has joined #riscv
<fredholmes> please tell me about the masking of memory(word addressable) to implement store byte? Is it necessary to  mask the memory or is there any other method?
davidlt has joined #riscv
esv has quit [Remote host closed the connection]
esv has joined #riscv
fayz has quit [Quit: Client closed]
edr has joined #riscv
craigo has joined #riscv
<geertu> muurkha: ... even when adding a RISC-V extension to non-RISC-V CPU cores ;-)
prabhakarlad has quit [Quit: Client closed]
shamoe has joined #riscv
<muurkha> geertu: haha
Tenkawa has joined #riscv
craigo has quit [Quit: Leaving]
Stat_headcrabed has joined #riscv
Stat_headcrabed has quit [Quit: Stat_headcrabed]
davidlt has quit [Ping timeout: 268 seconds]
fredholmes has quit [Quit: Client closed]
davidlt has joined #riscv
stylefish has joined #riscv
Stat_headcrabed has joined #riscv
ldevulder has quit [Quit: Leaving]
chrip0 has joined #riscv
chripo has quit [Ping timeout: 252 seconds]
chrip0 is now known as chripo
psydroid has joined #riscv
<Esmil> a
<Esmil> dlan: Do you know what the state of u-boot for the Lichee Pi 4A is?
<Esmil> I tried the lpi4a branch of https://github.com/revyos/thead-u-boot.git with the light_lpi4a_defconfig
<Esmil> ..but that just seems to lock up with the last message: dwc3_gadget_conndone_interrupt speed:0 dwc3_dsts:0x23958
<Esmil> The u-boot-with-spl-lpi4a.bin in their LPI4A_BASIC_20231023.zip works though, but I'd like to recompile it with EFI booting enabled
SpaceCoaster has quit [Quit: Bye]
<Esmil> when booted it says U-Boot SPL 2020.01-ga50d8b9d, but the a50d8b9d commit doesn't seem to be in that repo
SpaceCoaster has joined #riscv
prabhakarlad has joined #riscv
vagrantc has joined #riscv
clemens3 has quit [Quit: WeeChat 2.7]
clemens3 has joined #riscv
Stat_headcrabed has quit [Quit: Stat_headcrabed]
prabhakarlad has quit [Quit: Client closed]
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
Andre_Z has joined #riscv
KombuchaKip has quit [Quit: Leaving.]
KombuchaKip has joined #riscv
stolen has quit [Quit: Connection closed for inactivity]
EchelonX has joined #riscv
bjdooks has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bjdooks has joined #riscv
EchelonX has quit [Quit: Leaving]
EchelonX has joined #riscv
EchelonX has quit [Client Quit]
foton has quit [Ping timeout: 256 seconds]
foton has joined #riscv
<mps> courmisch: I see some fixes for r8152 in latest 6.7-rc and 6.6.7 kernels. maybe could help you
<mps> and I'm testing one of my USB two days now, works without big issues but I don't know how it behave on boot
shamoe has quit [Quit: Connection closed for inactivity]
davidlt has quit [Ping timeout: 264 seconds]
<courmisch> mps: with fixes up to 6.6.0, I "only" have issues with auto-negotiation. Link is stable if forced at 10 Mbps
<mps> courmisch: in my case `ethtool eth0' says Speed: 1000Mb/s
<mps> and it works for now
prabhakarlad has joined #riscv
<mps> ` ethtool -i eth0` says driver: r8152
<mps> I will use for a week to see how it works now
<mps> use it*
mlw has quit [Ping timeout: 260 seconds]
KREYREN has joined #riscv
BootLayer has quit [Quit: Leaving]
mwette has joined #riscv
foton has quit [Ping timeout: 264 seconds]
foton has joined #riscv
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Tenkawa has quit [Quit: Was I really ever here?]
smaeul has quit [Quit: Down for maintenance...]
stylefish has quit [Quit: stylefish]
jmdaemon has joined #riscv
Andre_Z has quit [Quit: Leaving.]
cronos has quit [Quit: ZNC - https://znc.in]
cronos has joined #riscv
iooi has quit [Remote host closed the connection]
iooi has joined #riscv
Trifton has quit [Quit: Client exited]
Starfoxxes has quit [Ping timeout: 276 seconds]
crabbedhaloablut has quit []
shamoe has joined #riscv