#asahi-dev · 2026-10-06 12:20
yukaintegralpilot: is it possible that the midr needs to be added to has_vgic_v3 in arch/arm64/kvm/vgic/vgic-v3.c as well?#asahi-dev · 2026-10-06 12:16
yukaSee the links above#asahi-dev · 2026-10-06 12:15
yukaintegralpilot: writing the M4+ device trees for upstream dockchannel-hid is on my todo list#asahi-dev · 2026-10-06 12:14
yukathey should work the same on M4 Pro / M5 / M5 Pro#asahi-dev · 2026-10-06 12:14
yukaor you can add the smc device tree nodes: https://github.com/AsahiLinux/linux/pull/567/changes/22d6dc811366348078f4d28ceee2536dcf203481#asahi-dev · 2026-10-06 12:13
yukaadd it to kboot#asahi-dev · 2026-10-06 12:13
yukasimilar to that#asahi-dev · 2026-10-06 12:13
yuka"smc_write_u32(smc, dcp->dp2hdmi_pwr_gpio, 0x800001);"#asahi-dev · 2026-10-06 12:13
yukasee src/dcp.c:#asahi-dev · 2026-10-06 12:13
yukaHel3zi: When testing, you can always let m1n1 write the smc gpio pin#asahi-dev · 2026-10-06 12:12
yukaNo, at that point there was simply no draft#asahi-dev · 2026-10-06 12:11
yuka(also using downstream dockchannel-hid)#asahi-dev · 2026-10-06 12:11
yukaand here someone managed to do it for the base M4: https://github.com/AsahiLinux/linux/pull/567#asahi-dev · 2026-10-06 12:10
yukaat least was definitely working on the M5 Pro MacBook Pro#asahi-dev · 2026-10-06 12:10
yukahttps://cyberchaos.dev/yuka/linux/-/commits/feature%2Fm4-m5-mtp/?ref_type=heads#asahi-dev · 2026-10-06 12:10
yukaI think this one was working, but it's using the downstream dockchannel-hid#asahi-dev · 2026-10-06 12:10
yukaBut there have been successful attempts#asahi-dev · 2026-10-06 12:09
yukaonly an Mac mini#asahi-dev · 2026-10-06 12:09
yukaHel3zi I don't have any MacBook with M4#asahi-dev · 2026-10-06 12:08
yukabuilding...#asahi-dev · 2026-10-06 12:06
yukaI used https://pastebin.com/raw/FaUE7utS#asahi-dev · 2026-10-06 12:06
yukasure#asahi-dev · 2026-10-06 12:06
yukaguest: [ 24.003964] watchdog: CPU0: Watchdog detected hard LOCKUP on cpu 1#asahi-dev · 2026-10-06 12:05
yukadoes not seem to work (yet)#asahi-dev · 2026-10-06 11:58
yukatesting the KVM patch on M3 Max...#asahi-dev · 2026-10-06 11:31
yukaamazing#asahi-dev · 2026-10-06 11:04
yukawith nested virt, the host also sometimes hangs#asahi-dev · 2026-10-06 11:03
yukaI know M3 Max is weirdly broken. The guest does start to some degree but then hangs (nixos tests never reach their backdoor target).#asahi-dev · 2026-10-06 11:03
yukaM3 Max is very easy for me to test, as it's my main device and already has everything installed. On M4, I'll need a few minutes to put together a setup where I can boot a more complete system with qemu and networking.#asahi-dev · 2026-10-06 10:53
yukawhere can I find the patch?#asahi-dev · 2026-10-06 10:53
yukaMichaelReeves[m] would gladly test#asahi-dev · 2026-10-06 10:06
yukaI should test it to confirm#asahi-dev · 2026-10-06 10:06
yukaI expect it will be similar to M3#asahi-dev · 2026-10-06 10:06
yukasomeone has tested kvm on M4, but I'm afraid they're not in here#asahi-dev · 2026-10-06 09:01
yukajdrago if you found anything missing in the docs during this, you could open a PR to improve them#asahi-dev · 2026-10-05 16:52
yukanice!#asahi-dev · 2026-10-05 16:16
yuka(as part of the rtkit crashlog)#asahi-dev · 2026-10-05 16:16
yuka> Message (id=1): assert failed: [20646]:Dispatcher: Error interrupt. status = 0x2, valid = 0x2, specific_status = 0x20000#asahi-dev · 2026-10-05 16:16
yukastill fighting with t6050 nvme#asahi-dev · 2026-10-05 12:16
yukaMaybe the kernel module is not builtin?#asahi-dev · 2026-10-05 12:08
yuka(this is how it all starts... and at some point you can not go back and become a kernel developer)#asahi-dev · 2026-10-05 12:07
yukaalso congrats, you are now cursed with the ability to test things on this platform :D#asahi-dev · 2026-10-05 12:05
yuka*beyond#asahi-dev · 2026-10-05 12:05
yuka*beyone#asahi-dev · 2026-10-05 12:05
yukaTwo more questions: do you have /dev/nvme0n* and does it keep uptime beyone 10min#asahi-dev · 2026-10-05 11:32
yukaOdd. I have not seen problems with secondary CPU bringup on M4 Pro 26.6.2#asahi-dev · 2026-10-05 11:28
yukaInteresting. Which macos version did you use as base for the boot volume?#asahi-dev · 2026-10-05 11:15
yuka* take a count#asahi-dev · 2026-10-05 11:14
yukaso -C 1 means running only on the second processor#asahi-dev · 2026-10-05 11:14
yukabtw the -C option does not take acount, but a list of cpus