Wednesday, 2022-05-11

*** tpb <[email protected]> has joined #openrisc00:00
shornezx2c4: now I think I figured it out09:28
zx2c4!!09:31
shornehttps://gist.github.com/stffrdhrn/6285f162b00f945aa1129f2b4ed154e809:34
shornethis patch fixes it for me09:34
shornethe problem was as expected, after TB exits due to exception on page boundary09:35
shorneqemu-exec will save state from TB to ENV09:35
shorneby default it uses set_pc if schronize_from_tb is not provided09:35
shorneopenriscs set_pc implementation clears the delay slot flag!!09:36
shorneso I just procide schronize_from_tb callback without the code to clear the delay slot flag09:36
shorneand it seems to work09:36
shorneI think I need to maybe think of a few other cases but it should be good09:36
shornezx2c4: when you have time check the patch, otherwise I will fix it up and send an official patch maybe later tonight09:42
shornecooking dinner now09:42
zx2c4Awesome! Will take a look09:43
zx2c4shorne: do you have a qemu tree where youve collected all these patches?12:51
zx2c4looks like not from your github12:58
zx2c4ill make something now in case it helps12:58
zx2c4shorne: also, wireguard status: https://git.zx2c4.com/wireguard-linux/commit/?h=jd/openrisc13:30
tpbTitle: wireguard-linux - WireGuard for the Linux kernel (at git.zx2c4.com)13:30
zx2c4and here's the qemu tree of patches needed: https://git.zx2c4.com/qemu-openrisc/log/13:30
tpbTitle: qemu-openrisc - Various patches to make QEMU work with OpenRISC (at git.zx2c4.com)13:30
zx2c4so basically: kernel l.nop thing [written, unmerged], qemu patches [written, unmerged], qemu mttcg [unwritten]13:31
zx2c4shorne: nice tweet storm!13:41
shorneI have a tree13:54
shornehttps://github.com/stffrdhrn/qemu/commits/or1k-fixes-70013:55
shorneI just have not staged implement shutdown and reset helpers13:57
shorne'implement shutdown and reset helpers'13:57
shornezx2c4: the 'implement shutdown and reset helpers' patch needs additional work of documentation and move to semihosting13:57
shorneNow hopefully the main issues are fixed I can pop the stack and work on those things13:58
shorneI plan to do in order13:58
shorne 1. Need to finish off a mor1kx patch to fix a bug with data-cache, fixed but need to cleanup series and record some other issues13:59
shorne 2. Get my kernel patches into next for or1k13:59
shorne 3. Send qemu patches upstream13:59
shorne 4. work on openrisc spec for simulator ABI14:00
zx2c45. mttcg?14:40
zx2c4shorne: ^14:40
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)19:09
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc19:24
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)20:28
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc20:43
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc20:49
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)20:52
shornezx2c4: yeah, that too fixing my multithread TCG patch20:55
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc21:19
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)21:22
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)21:54
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc21:58
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)22:10
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc22:11
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Remote host closed the connection)22:27
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc22:37
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)22:50
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc23:01
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)23:11
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc23:20
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Quit: leaving)23:32
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc23:34
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc23:43
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)23:44
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds)23:55

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!