2022-06-18
00:56nafod has quit [Quit: Ping timeout (120 seconds)]
00:56nafod has joined #asahi-dev
01:00DragoonAethis has joined #asahi-dev
01:04DarkShadow44 has joined #asahi-dev
01:20Emantor has joined #asahi-dev
02:27PhilippvK has joined #asahi-dev
03:15nico_32 has joined #asahi-dev
05:20the_lanetly_052 has joined #asahi-dev
06:49Astra[m] has joined #asahi-dev
07:32MajorBiscuit has joined #asahi-dev
08:52MajorBiscuit has quit [Quit: WeeChat 3.5]
09:28saintstellaris[m] has joined #asahi-dev
09:29svenhuh, on the latest main the hv vuart is incredibly slow for me. anyone noticed something similar?
09:44j`eythe sequence is from https://github.com/ARM-software/arm-trusted-firmware/blob/8078b5c5a0c2a47710df96412d88df53486e2b29/lib/locks/exclusive/aarch64/spinlock.S#L30
10:17jannaujudging from my uart output I'd say it starts getting slow when the chainloaded m1n1 disables the MMU
10:17alethkitIs there in-depth documentation on the memory model/architecture behind Apple Silicon? At the moment, I have the impression that it is heterogeneous, with asymmetric multiprocessing, but with UMA (and I presume, cache coherence) instead of x86-like NUMA?
10:19svenhm... so for me it already prints the "setting mode to wft" pretty slowly and that happens before the MMU is disabled I think
10:21jannaukernel gets back to normal speed shortly after initializing aic but I believe before it initializes the the secondary CPUs
10:22jannauis it consistently slow for you? it's random for me. I'd say with 10% probablity of glacially slow
10:25jannaustrange, when it's not glacially slow for me it's 50% okay-ish and 50% clearly slow but not that slow that I reboot the HV
10:33jannauit might been that slow for me once or twice and I rebooted. ~3 minutes for booting the kernel is what I call glacially slow
10:46jannauwith an explicit 'sev' in spin_unlock everything is fast as well but the store release is supposed to send an event
10:57j`eythere's some stuff about atomics and needing the SCTLR_ELx C (cacheable) bit set, that I dont quite understand. but if the mmu is still on then its not that
10:59svenit does disable the MMU a bit later and there could be a delay in the messages arriving over USB
11:15jannauj`ey: doesn't the store need be exclusive for the event trigger? i.e. either stlxr or stxr?
11:26jannauB2.9.2 has a note which suggests the global monitor needs setup to work with address translation disabled
11:37chadmed has quit [Ping timeout: 480 seconds]
11:41jannauyeah, here too. had I bothered to check a non regressed build I would have looked earlier for the cause. even my ok-ish speed is very slow compared sev in spin_unlock
11:42chadmed has joined #asahi-dev
11:46chadmed has quit []
12:02jannauonly question is if we can still hit the ordering issue from 9c795fbdbf445d with the mmu disabled
12:20derzahl has quit [Remote host closed the connection]
12:29the_lanetly_052__ has joined #asahi-dev
12:35the_lanetly_052 has quit [Ping timeout: 480 seconds]
12:44the_lanetly_052__ has quit [Remote host closed the connection]
14:06MajorBiscuit has joined #asahi-dev
14:06MajorBiscuit has quit []
14:13MajorBiscuit has joined #asahi-dev
14:42MajorBiscuit has quit [Ping timeout: 480 seconds]
14:58gjekdkdjjr[m] has joined #asahi-dev
15:20MajorBiscuit has joined #asahi-dev
15:51MajorBiscuit has quit [Ping timeout: 480 seconds]
15:57MajorBiscuit has joined #asahi-dev
16:03MajorBiscuit has quit [Quit: WeeChat 3.5]
16:14jnn has joined #asahi-dev
16:43nicolas17 has joined #asahi-dev
17:01c10l has quit [Quit: Bye o/]
17:05c10l has joined #asahi-dev
17:14Gaspare has joined #asahi-dev
17:59___nick___ has joined #asahi-dev
17:59___nick___ has quit []
18:01___nick___ has joined #asahi-dev
18:14zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:17nico_32 has quit [Ping timeout: 480 seconds]
18:21c10l has quit [Quit: Bye o/]
18:25c10l has joined #asahi-dev
18:27zzywysm has joined #asahi-dev
18:29Gaspare has quit [Quit: Gaspare]
18:42zzywysmFYI: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c50f11c6196f45c92ca48b16a5071615d4ae0572
19:14nico_32 has joined #asahi-dev
19:46jannauhas anyone booted v5.19-rc2 (or rc1) on the mini? it doesn't detect a usb mass storage device on either usb-a port. the xhci itself is found
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:47jakebot6 has joined #asahi-dev
22:17nsklaus_ has joined #asahi-dev
23:00jakebot6 has quit [Quit: The Lounge - https://thelounge.chat]
23:16jakebot6 has joined #asahi-dev