#
#asahi-dev · 2026-06-15 13:06
nickchani hope upstream can reply soon
#asahi-dev · 2026-06-15 12:59
nickchansent
#asahi-dev · 2026-06-15 12:56
nickchani will write a reply on list
#asahi-dev · 2026-06-15 12:54
yukayes, also preserves the context of the changes
#asahi-dev · 2026-06-15 12:52
jannauplease move the main discussion on list. that's more constructive than to confuse people with new revisions every 12 hours
#asahi-dev · 2026-06-15 12:52
nickchan...actually, where is "must use psci" even mentioned?
#asahi-dev · 2026-06-15 12:51
yukaahh true
#asahi-dev · 2026-06-15 12:51
nickchanthe check is still there and your list comes after that check
#asahi-dev · 2026-06-15 12:51
chaos_princesscpuidle-apple is not upstream
#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:50
nickchanso it works well enough for bare metal cpu behavior
#asahi-dev · 2026-06-15 12:49
nickchanchaos_princess: apple,arm-platform is what cpuidle-apple does
#asahi-dev · 2026-06-15 12:44
svenah crap, nested virt ofc exists
#asahi-dev · 2026-06-15 12:31
chaos_princessseems better than indirect guesses
#asahi-dev · 2026-06-15 12:31
chaos_princesscan we put a 'wfi-broken' into the cpu dt node or something?
#asahi-dev · 2026-06-15 12:30
nickchanthis also allows the workaround to be enabled under m1n1 hypervisor
#asahi-dev · 2026-06-15 12:29
nickchanonly real reliable indicator of running bare metal is checking "apple,arm-platform" in the root node fdt compatible
#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:29
chaos_princessit shouldn't do that anyway
#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
nickchanwell, currentEL would be 2 in a VM with nested enabled
#asahi-dev · 2026-06-15 12:28
yukawhy?
#asahi-dev · 2026-06-15 12:28
nickchancurrentEL check don't work for nested case :melting_face:
#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:40
chaos_princessstill only apply in el2, kvm unbreak can be in a different patch
#asahi-dev · 2026-06-15 11:39
yukaSo what does this mean for the erratum?
#asahi-dev · 2026-06-15 11:39
chaos_princessyes
#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
chaos_princessso kvm will have to trap it
#asahi-dev · 2026-06-15 11:38
sven:(
#asahi-dev · 2026-06-15 11:38
yukayes
#asahi-dev · 2026-06-15 11:38
chaos_princessso broken
#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:35
chaos_princessmaybe try using the virtual counter then?
#asahi-dev · 2026-06-15 11:34
chadmedokie doke userspace audio components have been tagged/released, couple of trivial kernel patches at https://github.com/AsahiLinux/linux/pull/519
#asahi-dev · 2026-06-15 11:31
yukano difference
#asahi-dev · 2026-06-15 11:31
chaos_princessalso set EL1PTEN
#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:29
chaos_princess0b1 This control does not cause any instructions to be trapped.
#asahi-dev · 2026-06-15 11:29
chaos_princessopposite
#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?

plus ›