*** tpb <[email protected]> has joined #openrisc | 00:00 | |
shorne | zx2c4: now I think I figured it out | 09:28 |
---|---|---|
zx2c4 | !! | 09:31 |
shorne | https://gist.github.com/stffrdhrn/6285f162b00f945aa1129f2b4ed154e8 | 09:34 |
shorne | this patch fixes it for me | 09:34 |
shorne | the problem was as expected, after TB exits due to exception on page boundary | 09:35 |
shorne | qemu-exec will save state from TB to ENV | 09:35 |
shorne | by default it uses set_pc if schronize_from_tb is not provided | 09:35 |
shorne | openriscs set_pc implementation clears the delay slot flag!! | 09:36 |
shorne | so I just procide schronize_from_tb callback without the code to clear the delay slot flag | 09:36 |
shorne | and it seems to work | 09:36 |
shorne | I think I need to maybe think of a few other cases but it should be good | 09:36 |
shorne | zx2c4: when you have time check the patch, otherwise I will fix it up and send an official patch maybe later tonight | 09:42 |
shorne | cooking dinner now | 09:42 |
zx2c4 | Awesome! Will take a look | 09:43 |
zx2c4 | shorne: do you have a qemu tree where youve collected all these patches? | 12:51 |
zx2c4 | looks like not from your github | 12:58 |
zx2c4 | ill make something now in case it helps | 12:58 |
zx2c4 | shorne: also, wireguard status: https://git.zx2c4.com/wireguard-linux/commit/?h=jd/openrisc | 13:30 |
tpb | Title: wireguard-linux - WireGuard for the Linux kernel (at git.zx2c4.com) | 13:30 |
zx2c4 | and here's the qemu tree of patches needed: https://git.zx2c4.com/qemu-openrisc/log/ | 13:30 |
tpb | Title: qemu-openrisc - Various patches to make QEMU work with OpenRISC (at git.zx2c4.com) | 13:30 |
zx2c4 | so basically: kernel l.nop thing [written, unmerged], qemu patches [written, unmerged], qemu mttcg [unwritten] | 13:31 |
zx2c4 | shorne: nice tweet storm! | 13:41 |
shorne | I have a tree | 13:54 |
shorne | https://github.com/stffrdhrn/qemu/commits/or1k-fixes-700 | 13:55 |
shorne | I just have not staged implement shutdown and reset helpers | 13:57 |
shorne | 'implement shutdown and reset helpers' | 13:57 |
shorne | zx2c4: the 'implement shutdown and reset helpers' patch needs additional work of documentation and move to semihosting | 13:57 |
shorne | Now hopefully the main issues are fixed I can pop the stack and work on those things | 13:58 |
shorne | I plan to do in order | 13: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 issues | 13:59 |
shorne | 2. Get my kernel patches into next for or1k | 13:59 |
shorne | 3. Send qemu patches upstream | 13:59 |
shorne | 4. work on openrisc spec for simulator ABI | 14:00 |
zx2c4 | 5. mttcg? | 14:40 |
zx2c4 | shorne: ^ | 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 #openrisc | 19: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 #openrisc | 20:43 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 20:49 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Ping timeout: 240 seconds) | 20:52 | |
shorne | zx2c4: yeah, that too fixing my multithread TCG patch | 20:55 |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 21: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 #openrisc | 21: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 #openrisc | 22: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 #openrisc | 22: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 #openrisc | 23: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 #openrisc | 23:20 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has quit IRC (Quit: leaving) | 23:32 | |
*** littlebobeep <littlebobeep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 23:34 | |
*** littlebo1eep <littlebo1eep!~alMalsamo@gateway/tor-sasl/almalsamo> has joined #openrisc | 23: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/!