#
…

2021-06-17

00:13bgb_ has quit [Ping timeout: 480 seconds]
01:28quarkyalice has quit [Quit: Leaving]
01:29quarkyalice has joined #asahi
01:30bgb_ has joined #asahi
02:59yuyichao has joined #asahi
02:59PhilippvK has joined #asahi
03:02phiologe has quit [Ping timeout: 480 seconds]
03:24marvin24_ has joined #asahi
03:28marvin24 has quit [Ping timeout: 480 seconds]
03:29skali has joined #asahi
03:45bgb_ has quit [Remote host closed the connection]
03:46bgb_ has joined #asahi
04:48Izumoo has quit [Quit: Konversation terminated!]
04:55skali is now known as skali_
04:55skali_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:59skali has joined #asahi
05:11skali has quit [Read error: Connection reset by peer]
05:31VinDuv has joined #asahi
05:58r0ni has quit [Ping timeout: 480 seconds]
06:15VinDuv has quit [Quit: Leaving.]
07:10skali has joined #asahi
08:13aleasto has joined #asahi
08:16user__ has joined #asahi
08:19jehh has joined #asahi
08:19skali is now known as skali_
08:19skali_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:20user__ has left #asahi [#asahi]
08:50skali has joined #asahi
08:53jehh has quit [Ping timeout: 480 seconds]
09:14mindfreeze has joined #asahi
09:32SallyAhaj has joined #asahi
10:22skali is now known as skali_
10:23skali_ is now known as skali
10:33choozy has joined #asahi
11:04opticron has quit [Ping timeout: 480 seconds]
11:12yuyichao has quit [Ping timeout: 480 seconds]
11:22skali is now known as skali_
11:27skali_ is now known as skali
11:53yuyichao has joined #asahi
11:56aleasto has quit [Remote host closed the connection]
12:41skali is now known as skali_
13:02opticron has joined #asahi
13:19al3xtjames5 has joined #asahi
13:21al3xtjames has quit [Ping timeout: 480 seconds]
13:21al3xtjames5 is now known as al3xtjames
13:22choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
13:25yuyichao has quit [Quit: Konversation terminated!]
13:30Izumoo has joined #asahi
13:35bloomI had a dream last night that the new iDevices could be bootloader unlocked by pressing the power button four times while booting up, at which point iBoot would give you a boot menu.
13:36bloomI distinctly remember seeing GNOME running on an M1 iPad.
13:36bloomThen I woke up. Now I have to go to work.
14:05radex2 has quit [Quit: WeeChat 3.1]
14:14radex has joined #asahi
14:20skali_ is now known as skali
14:21skali is now known as skali_
14:31MisthiosSounds like a nice dream (except the gnome part)
14:43artemist has quit [Quit: artemist]
15:02aleasto has joined #asahi
15:03artemist has joined #asahi
15:24choozy has joined #asahi
15:25minecrell has quit [Quit: Ping timeout (120 seconds)]
15:41jkc_ has joined #asahi
15:41jkc has quit [Quit: WeeChat 3.2]
15:43minecrell has joined #asahi
15:44Andalu30 has joined #asahi
16:55VinDuv has joined #asahi
17:18skali_ is now known as skali
17:26marcanI think it turned out quite pretty
17:26j_eyyeah, I watched the stream :)
17:27j_eyis https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/trace/asc.py#L14 some metaclass stuff that looks at its own properties?
17:29marcancorrect :)
17:30j_eythe Reloadable stuff is kinda spooky
17:30marcanyeah it feels like a terrible idea and a great idea at the same time
17:30marcanbut damn does it work well (once I ironed out the kinks)
17:31j_eymarcan: why is vm_hooks [None]?
17:31j_ey0 = RESERVED?
17:32marcan0 is the "internal" hook
17:32marcanthe one that actually handles all this
17:32marcanoriginally I planned to have a table of hooks (the C side passes back an index into that) but trying to build it into this framework will run into issues with garbage in that list, since it is only ever appended to
17:33marcanand it turns out I need to do a RangeMap lookup for every MMIO event anyway to find the observe-only ones anyway
17:33marcanso there's no point in using a token to tell things apart at the SPTE level
17:34marcanI still use that hook for non-Tracer clients, currently that PMGR hack, but that will probably go away
17:35j_eyoh, so it's kinda a temporary workaround
17:35marcanI'm likely to deprecate vm_hooks altogether yes
17:35roxfani remember seeing some Python disassembler using decorators, it looked pretty neat
17:35marcanre that "is True" thing, backwards compat
17:35marcanthat used to be a bool trace (on/off)
17:35j_eymarcan: I know, just wanted to be snarky :P
17:36marcananyway, off to sleep :)
17:37j_eymarcan: ciao
17:57j_eyim confused when that would be 0
18:22j_eyOoooh think I got it, https://github.com/AsahiLinux/m1n1/commit/990f5b3995f4b5594d0f27a2d8b34f8e3e50f971#diff-fae8ba41268463eb78bd26b34a696bc376c1910b51ad3a10ffe080bea4027631R267 here youre calling map_hook_idx with 0. so then data.id will be 0 and you will call handle_vm_hook_mapped and that works out what tracers/hooks to call based on the address
18:30roxfanrubber duck debugging works
18:38skali is now known as skali_
18:40alice[m] is now known as alicela1n
18:41alicela1n has quit [Quit: authenticating]
18:41alicela1n has joined #asahi
19:01aleasto has quit [Remote host closed the connection]
19:22Andalu30 has quit [Ping timeout: 480 seconds]
20:02SallyAhaj has left #asahi [Leaving]
20:04aleasto has joined #asahi
20:10willy has joined #asahi
20:27tertu has joined #asahi
20:37VinDuv has quit [Quit: Leaving.]
21:59choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
22:42richbridger has joined #asahi
23:01jkc_ is now known as jkc
23:05aleasto has quit [Quit: Konversation terminated!]
…