#asahi · 2021-06-18 08:50
j_eyand no, im pretty sure guarded exec is not enabled, otherwise marcan would have to dealt with that ages ago, but it wasnt that long ago they got guarded exec working#asahi · 2021-06-18 08:50
j_eyyes#asahi · 2021-06-18 08:48
j_eynot sure, but iBoot handles all that for us#asahi · 2021-06-18 08:46
j_eyit boots at EL2 by default#asahi · 2021-06-18 08:30
j_eyhi#asahi · 2021-06-17 18:31
j_ey:)#asahi · 2021-06-17 18:22
j_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#asahi · 2021-06-17 17:57
j_eyim confused when that would be 0#asahi · 2021-06-17 17:57
j_eymarcan: im confused by this: https://github.com/AsahiLinux/m1n1/commit/990f5b3995f4b5594d0f27a2d8b34f8e3e50f971#diff-fae8ba41268463eb78bd26b34a696bc376c1910b51ad3a10ffe080bea4027631R378 this seems to be set here https://github.com/AsahiLinux/m1n1/blob/15381b8d744d539b4904368c7c92edbf2c0d6e3b/src/hv_vm.c#L789#asahi · 2021-06-17 17:37
j_eymarcan: ciao#asahi · 2021-06-17 17:35
j_eymarcan: I know, just wanted to be snarky :P#asahi · 2021-06-17 17:35
j_eyoh, so it's kinda a temporary workaround#asahi · 2021-06-17 17:33
j_eyyuck no static typing :P https://github.com/AsahiLinux/m1n1/commit/990f5b3995f4b5594d0f27a2d8b34f8e3e50f971#diff-fae8ba41268463eb78bd26b34a696bc376c1910b51ad3a10ffe080bea4027631R232#asahi · 2021-06-17 17:31
j_ey0 = RESERVED?#asahi · 2021-06-17 17:31
j_eymarcan: why is vm_hooks [None]?#asahi · 2021-06-17 17:30
j_eythe Reloadable stuff is kinda spooky#asahi · 2021-06-17 17:29
j_eyprobably https://github.com/AsahiLinux/m1n1/blob/cb6d1f58a2a40d258ad6705cbdee66696f5dbc58/proxyclient/m1n1/utils.py#L489 (Im just guessing, I dont know python well enough for these tricks!)#asahi · 2021-06-17 17:27
j_eyis https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/trace/asc.py#L14 some metaclass stuff that looks at its own properties?#asahi · 2021-06-17 17:26
j_eyyeah, I watched the stream :)#asahi · 2021-06-16 17:36
j_eyI appreciate the tests for regmaps :)#asahi · 2021-06-16 17:30
j_eyoh this https://github.com/AsahiLinux/m1n1/commit/49dad3b9ffc212986814e16ad3bfd12f634679ac#diff-fae8ba41268463eb78bd26b34a696bc376c1910b51ad3a10ffe080bea4027631R715#asahi · 2021-06-16 17:27
j_eythis https://github.com/AsahiLinux/m1n1/commit/49dad3b9ffc212986814e16ad3bfd12f634679ac#diff-2669701b9fa9ca0c39c0d49e424006eda3f4089c692e77a63e0af294b1614ebcR4 ?#asahi · 2021-06-16 17:23
j_eyI was trying to convince myself that hw_map() when TraceMade.OFF doesnt call into C/python#asahi · 2021-06-16 17:22
j_ey(there's a https://github.com/AsahiLinux/m1n1/blob/15381b8d744d539b4904368c7c92edbf2c0d6e3b/src/hv_vm.c#L724 check here, so yes, that returns here to handled = false, https://github.com/AsahiLinux/m1n1/blob/4b5c01636823df4f367572cf7ee8b109f0011a83/src/hv_exc.c#L257)#asahi · 2021-06-16 17:21
j_eymarcan: just to clarify, think im having a bit of a brainfart, hv_handle_dabort is only meant to be for SPTEs right?#asahi · 2021-06-16 17:14
j_eyoh right, i see. and if it's tracemode.OFF... it just maps_hw#asahi · 2021-06-16 17:13
j_eymarcan: is it re-doing the whole page tables in pt_update?#asahi · 2021-06-16 09:56
j_eyaha#asahi · 2021-06-16 09:55
j_eylayer 2?#asahi · 2021-06-16 09:50
j_ey(sounds like you had similar fun to https://lore.kernel.org/linux-arm-kernel/AS8PR04MB850017FD8F07864BB98C07D488319@AS8PR04MB8500.eurprd04.prod.outlook.com/)#asahi · 2021-06-15 12:24
j_eymakes sense#asahi · 2021-06-15 12:23
j_eyand the diff between HOOK and RESERVED?#asahi · 2021-06-15 12:22
j_eyso SYNC is for tracing, but with some extra things you want to do/log#asahi · 2021-06-15 12:21
j_eyohh #asahi · 2021-06-15 12:20
j_eywait, whats the diff between HOOK and ASYNC?#asahi · 2021-06-15 12:16
j_eymarcan: might want to rename this bool param too? https://github.com/AsahiLinux/m1n1/blob/15381b8d744d539b4904368c7c92edbf2c0d6e3b/src/hv_vm.c#L614#asahi · 2021-06-15 11:52
j_eymarcan: data structues for what?#asahi · 2021-06-12 07:14
j_eymarcan: was a gr8 stream#asahi · 2021-06-10 18:29
j_eyad infinitum#asahi · 2021-06-10 07:21
j_eyand who can turn down another m1?#asahi · 2021-06-08 19:10
j_ey*fed#asahi · 2021-06-08 19:10
j_eyarnd: oh cool, I didn't know asahi was feed into linux-next#asahi · 2021-06-08 19:08
j_eyarnd: some build bot is running on the asahi github branches?#asahi · 2021-06-08 15:37
j_eywhat exactly is a platform device/driver?#asahi · 2021-06-08 09:32
j_eyhow much memory>?#asahi · 2021-06-08 08:29
j_eyhttps://github.com/AsahiLinux/docs/wiki wiki here#asahi · 2021-06-08 08:29
j_eyI guess there isnt one?#asahi · 2021-06-08 08:24
j_eyhehe#asahi · 2021-06-08 08:23
j_eyI forgot about that, did that land?#asahi · 2021-06-08 08:22
j_eyare those partitions or?