#
✕ nick:yuka
#asahi-dev · 2026-06-15 15:21
yukawe need an equivalent of cpu_features->apple_sysregs_unlocked in the proxyclient code, or is there a way to pull cpu features from the running m1n1 to not duplicate them?
#asahi-dev · 2026-06-15 15:20
yukaI'm trying to run m1n1 in m1n1 hv on M4
#asahi-dev · 2026-06-15 12:54
yukayes, also preserves the context of the changes
#asahi-dev · 2026-06-15 12:51
yukaahh true
#asahi-dev · 2026-06-15 12:50
yukait no longer does that because it breaks on M4+, so I introduced an explicit list of hosts to enable it on
#asahi-dev · 2026-06-15 12:29
yuka(how?)
#asahi-dev · 2026-06-15 12:29
yukaOk, can it check that it is a guest with nested virt?
#asahi-dev · 2026-06-15 12:28
yukadoes it get the correct value for cyc ovrd
#asahi-dev · 2026-06-15 12:28
yukacan it read cyc ovrd?
#asahi-dev · 2026-06-15 12:28
yukaAh well
#asahi-dev · 2026-06-15 12:28
yukawhy?
#asahi-dev · 2026-06-15 12:27
yukaalso used actual b4 send this time
#asahi-dev · 2026-06-15 12:24
yukawell, but now it's on the asahi list too
#asahi-dev · 2026-06-15 12:24
yukaI forgot to remove the r-b when sending v2 🤦
#asahi-dev · 2026-06-15 11:40
yukaok
#asahi-dev · 2026-06-15 11:39
yukaSo what does this mean for the erratum?
#asahi-dev · 2026-06-15 11:38
yukaAh I didn't check if wfi trapping was enabled, but I would have noticed right?
#asahi-dev · 2026-06-15 11:38
yukayes
#asahi-dev · 2026-06-15 11:38
yukaand the wfi retention is the same as in EL2
#asahi-dev · 2026-06-15 11:37
yukaYes that works
#asahi-dev · 2026-06-15 11:31
yukano difference
#asahi-dev · 2026-06-15 11:30
yukastill causes an exception
#asahi-dev · 2026-06-15 11:30
yukaok, so u.msr(CNTHCTL_EL2, u.mrs(CNTHCTL_EL2) | 2)
#asahi-dev · 2026-06-15 11:28
yukabut it isn't
#asahi-dev · 2026-06-15 11:28
yukabut it isn't set, so EL1 should be able to access things directly?
#asahi-dev · 2026-06-15 11:28
yukaEL1PCEN is set would mean things are trapped
#asahi-dev · 2026-06-15 11:28
yukahuh, CNTHCTL_EL2 = 0
#asahi-dev · 2026-06-15 11:21
yukaty
#asahi-dev · 2026-06-15 11:19
yukaor should this always cause an exception which EL2 then handles by doing the thing?
#asahi-dev · 2026-06-15 11:17
yukain el1_call I am not allowed to write CNTP_TVAL_EL0 / CNTP_CFG_EL0. is that configurable?
#asahi-dev · 2026-06-15 10:06
yukaAh no usbc probably
#asahi-dev · 2026-06-15 10:06
yukaPre m1 has dockchannel uart?
#asahi-dev · 2026-06-15 10:05
yukaCentral scrutinizer worked sometimes I think but something else is borked there (it is very unreliable with the Neo)
#asahi-dev · 2026-06-15 10:04
yukaM1 Pro booted in Linux can never talk 1.5M to a Neo
#asahi-dev · 2026-06-15 10:04
yuka(Until I got kisd working)
#asahi-dev · 2026-06-15 10:03
yukaLeading to me carrying around a mac mini as uart adapter
#asahi-dev · 2026-06-15 10:03
yukaM4 Mac Mini booted in mac os can talk 1.5M to Neo running m1n1 somewhat reliably
#asahi-dev · 2026-06-15 10:02
yukaAnd what OS it is running
#asahi-dev · 2026-06-15 10:02
yukaIt depends which device is on the other side
#asahi-dev · 2026-06-15 10:01
yukaAlso 1.5M baud generally does not work on my neo, I always comment out the baudrate switch if I need to use the serial
#asahi-dev · 2026-06-15 10:00
yukaDebugusb
#asahi-dev · 2026-06-15 09:56
yukaoh well
#asahi-dev · 2026-06-15 09:56
yukaso the cluster can't go into the higher pstate
#asahi-dev · 2026-06-15 09:55
yukanickchan: probably the core you're testing is in the same cluster as the boot core which m1n1 is running on
#asahi-dev · 2026-06-15 09:38
yukait didn't happen on my M4, which I freshly dfu'd
#asahi-dev · 2026-06-15 09:37
yukabputil -nkcas error: https://x0.at/VByt.txt
#asahi-dev · 2026-06-15 09:33
yukaI can't set my mac os 27 installation to permissive (or even reduced) security on the macbook neo :(
#asahi-dev · 2026-06-15 09:10
yukaSure, can do
#asahi-dev · 2026-06-15 09:10
yukain el1 under ...?
#asahi-dev · 2026-06-15 09:10
yukaBut under mac os hvf I would assume so, or else VMs would be very broken

plus ›