#asahi-dev · 2026-07-23 21:59
yukafirst go at foreach_hpm: https://github.com/AsahiLinux/m1n1/pull/636#asahi-dev · 2026-07-23 21:55
yukagood that it's working now :)#asahi-dev · 2026-07-23 21:55
yukaoh no#asahi-dev · 2026-07-23 21:52
yukalike, do they expose SPRR inside VMs at all#asahi-dev · 2026-07-23 21:51
yukasince the VM environment (that I know of) looks more like raw boot mode#asahi-dev · 2026-07-23 21:50
yukais the question if the non-vm xnu kernels can run inside NV (or a macOS VM at all)?#asahi-dev · 2026-07-23 19:26
yukaI can add a condition expression to the macro, but this makes it kinda complex?#asahi-dev · 2026-07-23 19:25
yukahowever the part I don't have a good solution for is whether to call tps6598x_init for each iterated hpm even if the caller ultimately doesn't want to do anything with it#asahi-dev · 2026-07-23 19:23
yukaOr maybe they can be the same, as finding a specfic hpm can be done by iterating all and returning early out of the macro#asahi-dev · 2026-07-23 19:22
yukaand one for "find the hpm with index X (usually 0) and do a thing with it"#asahi-dev · 2026-07-23 19:22
yukaI think we definitely want some helper function or macro for "do a thing for each hpm in the system"#asahi-dev · 2026-07-23 19:21
yuka(in m1n1)#asahi-dev · 2026-07-23 19:21
yukaI'm thinking about how to refactor usb / tps6598x to make it more maintainable#asahi-dev · 2026-07-23 12:10
yukanickchan: this confuses me even more. S3C2410_UCON_CLKMASK is not used anywhere#asahi-dev · 2026-07-23 09:58
yukaAre you sure? Why would linux clear it then#asahi-dev · 2026-07-23 07:12
yukaotherwise it would break RX not TX#asahi-dev · 2026-07-23 07:12
yukaIf I understand correctly what RXTO does, this is likely something different#asahi-dev · 2026-07-23 06:46
yukanot 1000% sure but this maybe this is RXTO_ENA#asahi-dev · 2026-07-23 06:45
yukathe 1<<10 bit in UCON is set and must not be cleared during resetport#asahi-dev · 2026-07-23 06:45
yukathis fixes samsung serial on A18 Pro#asahi-dev · 2026-07-23 06:44
yukahttps://x0.at/s0ul#asahi-dev · 2026-07-23 06:35
yuka(the device tree I originally used to test samsung uart with on t6050 was missing always-on on ps_aic, that's why it crashed in s5l init)#asahi-dev · 2026-07-23 06:32
yukaother issue#asahi-dev · 2026-07-23 06:30
yukaso it has its issues, but M5 can probably use the same s5l uart compatible as M1..M3#asahi-dev · 2026-07-23 06:29
yukathere's still the compatibility issues between different Macs' samsung uarts too#asahi-dev · 2026-07-23 06:27
yukaIt's still making problems on A18 Pro, but M5 Pro works fine after I fixed some issues with my device tree#asahi-dev · 2026-07-23 06:27
yukaI revise what I said about samsung uart being unusable on A18 Pro and M5#asahi-dev · 2026-07-23 05:50
yukaI attached the logs with timestamps to the FB#asahi-dev · 2026-07-23 05:49
yukaThe only way I found to make it boot quickly again was dfu to 26.x. The extra 20-30 seconds of boot time occur before the iBootStage1 info is printed#asahi-dev · 2026-07-23 05:47
yukasven: FB23924837 Slow boot with macOS 27 beta on MacBook Neo#asahi-dev · 2026-07-22 18:36
yukaI could also do one for the failure to start secondary cores on t6050 from a raw custom kernel object, though I would want to create a draft and have one of you review it before I submit it to 🍏#asahi-dev · 2026-07-22 18:31
yukasubmitted a feedback assistant regarding slow boot on mac os 27 beta on macbook neo (not really related to asahi though)#asahi-dev · 2026-07-22 05:08
yukagood catch with the ps_dispext3_cpu. the t6040 I tested on does not (really) have that node#asahi-dev · 2026-07-21 20:16
yukaAh nice then T6040 and T8142 are missing#asahi-dev · 2026-07-21 20:01
yukas/26.0RC/26.6RC/g#asahi-dev · 2026-07-21 19:57
yukaenverbalalic would be nice to know if the new betas / RC change anything on t6041, iirc that also still had SYS_IMP_APL_VM_TMR_FIQ_ENA_EL2 locked#asahi-dev · 2026-07-21 19:57
yukathat is SYS_IMP_APL_VM_TMR_FIQ_ENA_EL2, see m1n1/src/cpu_regs.h#asahi-dev · 2026-07-21 19:56
yukarhlvista[m] msr((3, 5, 15, 1, 3), mrs((3, 5, 15, 1, 3)))#asahi-dev · 2026-07-21 19:55
yukaT6050 / 26.0RC: smp broken, SYS_IMP_APL_VM_TMR_FIQ_ENA_EL2 locked#asahi-dev · 2026-07-21 19:55
yukaT6050 / 27.0b4: smp broken#asahi-dev · 2026-07-21 19:55
yukaT8140 / 26.0RC: all fine#asahi-dev · 2026-07-21 19:55
yukaT8140 / 27.0b4: iboot takes reaaally long (also for normal macOS boot), otherwise fine#asahi-dev · 2026-07-21 19:55
yukaT8132 / 26.0RC: all fine#asahi-dev · 2026-07-21 19:55
yukaT8132 / 27.0b4: still random iboot crashes when booting raw custom kernel objects, otherwise fine#asahi-dev · 2026-07-21 19:33
yukaI tested the latest betas on T8132, T8140 & T6050#asahi-dev · 2026-07-21 09:03
yukaTo use it as console, console=ttyDC0#asahi-dev · 2026-07-21 09:03
yuka*to work#asahi-dev · 2026-07-21 09:03
yukadepends on what you mean for the serial yo work#asahi-dev · 2026-07-21 08:14
yukaOops