#asahi-dev · 2026-06-17 19:35
jannauI'm ignoring cases which do not causes trouble due to CYC_OVRD#asahi-dev · 2026-06-17 19:29
jannauif that's the case switch_boot_cpu() might be a bad idea as well#asahi-dev · 2026-06-17 19:28
jannauyuka: the boot cpu on m4 never loses state in wfi? Doesn't that suggests that it is still somehow configurable?#asahi-dev · 2026-06-16 20:30
jannaufor upstream cpuidle (and deeper sleep states)#asahi-dev · 2026-06-16 20:28
jannauour downstream cpuidle driver would need changes as well#asahi-dev · 2026-06-16 20:27
jannauwe could get the kernel ready first and switch the dts later. then it's at least possible do some kernel downgrades#asahi-dev · 2026-06-16 18:56
jannauhow would that work with u-boot in the mix?#asahi-dev · 2026-06-16 18:47
jannaunickchan: I did diff HID* and other Apple sysregs. one flipped bit in each HID4 and HID18 but those make no difference. Did you have anything else in mind?#asahi-dev · 2026-06-16 15:49
jannauany idea why the first perf core (boot core) on M3 would be slower than the other 3? only 41% in coremark independent of p-state#asahi-dev · 2026-06-16 13:40
jannauSYS_IMP_APL_VM_TMR_FIQ_ENA_EL2 access is fixed in 26.6 beta 2 (only tested M4/t8132)#asahi-dev · 2026-06-15 13:51
jannauwe tried runtime PM in DCP but gave up since marcan and me didn't get it reliable#asahi-dev · 2026-06-15 13:49
jannaudcp is at most clock-gated via "apple,min-state = 4". my understanding for agx was that it has its own aggressive power management#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 10:47
jannauspeakers have the same part number but the audio board differs between j504/j514. the latter seems to be just the headphone amp though#asahi-dev · 2026-06-15 10:13
jannauI'd expect Apple has to do testing anyway to detect unexpected issues due to changes (missing usb-c port, single fan and different main pcb) and then there isn't any reason not to do a proper per device calibration#asahi-dev · 2026-06-15 10:05
jannauchadmed: what do you need j504 for? I'd expect it to be very close to j[3-5]14 audio-wise. I haven't had time yet to look into it#asahi-dev · 2026-06-15 07:28
jannauit kinda works. we need to learn to file those earlier instead of wasting time/effort trying to find the issue on our side#asahi-dev · 2026-06-15 07:22
jannauI fear VRR is in anycase a lost cause on apple. xaver is also waiting on controls for min/max refresh for VRR. As far as I see we can't control that either without modeset#asahi-dev · 2026-06-15 07:16
jannauchadmed: this is unrelated to what compositors actually do#asahi-dev · 2026-06-15 07:13
jannauchadmed: I'm unhappy that only forced VRR works. I'd prefer if the driver at least worked with a compositor which can deal with the needs_modeset to enable VRR#asahi-dev · 2026-06-15 07:09
jannauwe might end up with a m3 ultra / m4 max repeat and get m5 ultra and m6 max#asahi-dev · 2026-06-15 07:08
jannaunickchan: based on ipsw template Sotra C ADT with 36 CPUs it looks a safe bet#asahi-dev · 2026-06-14 21:06
jannauI've tagged asahi-7.0.12-1 with the macOS 27 smc firmware battery fix#asahi-dev · 2026-06-14 17:57
jannaum4 has WFxT#asahi-dev · 2026-06-14 17:55
jannaustill needs the fixup but someone might argue that those cores should boot with nohlt#asahi-dev · 2026-06-14 17:54
jannaunickchan: if the older CPU cores go through reset that's not not architecturally unsound as the wfi never completes#asahi-dev · 2026-06-14 16:38
jannauenabling debugusb works now from within m1n1 on devices with i2c usb-c port controller#asahi-dev · 2026-06-14 16:37
jannaui2c fixed by switching from checking STATUS_XFER_BUSY to STATUS_XFER_ENDED#asahi-dev · 2026-06-14 15:58
jannaunot sure there should be one#asahi-dev · 2026-06-14 15:57
jannauapple's performance counters has sys_impl_apl as well but those are local as well#asahi-dev · 2026-06-14 15:56
jannaum1n1's i2c / smbus seems to busted. code to enter debugusb works when running under hv with i2c tracing#asahi-dev · 2026-06-14 15:54
jannaufor which line?#asahi-dev · 2026-06-14 14:28
jannau"If the system is configured such that the WFI or WFIT instruction can be completed, then the architecture requires that the architectural state is not lost."#asahi-dev · 2026-06-14 12:03
jannautrapping wfi isn't architecturally guaranteed but I can't see how a broken wfi may supported without trapping#asahi-dev · 2026-06-14 10:31
jannauyuka: does the kernel boot with "nohlt" in the kernel command line#asahi-dev · 2026-06-14 10:29
jannauonly the ones mentioned in Documentation/arch/arm64/cpu-feature-registers.rst. I can add the remaining ones but those are half 0 anyway#asahi-dev · 2026-06-14 10:28
jannaumaz: A18 Pro feature registers: https://gist.github.com/jannau/130b792789647554405dff506ba3cc56#asahi-dev · 2026-06-13 12:03
jannautry writing {0x06, 0x46, 0x82, 0x01} in DBMa mode then#asahi-dev · 2026-06-13 12:02
jannaumy i2c tps6598x remains in "APP "#asahi-dev · 2026-06-13 12:00
jannauyuka: entering DBMa doesn't work for me. query the mode by reading 4 bytes from 0x03#asahi-dev · 2026-06-13 11:41
jannaustill confused why tuxvdmtool serial works#asahi-dev · 2026-06-13 11:40
jannauthe number at which it doesn't return !CMD anymore#asahi-dev · 2026-06-13 11:36
jannauentering debugusb in m1n1 is not working for me on m1 either. DVEn wants 7 bytes as argument#asahi-dev · 2026-06-13 11:14
jannauyuka: TPS_CMD_INVALID in m1n1 is wrong. it's big-endian, should be 0x444d4321 as you get#asahi-dev · 2026-06-13 09:50
jannauboth "J514" and reversed don't work?#asahi-dev · 2026-06-13 09:31
jannaudoes DISC work from linux via the spmi debug interface?#asahi-dev · 2026-06-13 09:20
jannausure, it's copied from there#asahi-dev · 2026-06-13 09:18
jannaumy understanding is that DVEn is "Perform Action" on the local controller. so its data should be just 0x1824606 for configuring debugusb#asahi-dev · 2026-06-13 09:11
jannauyuka: devn is for acting on the local usb-pd controller, cmp serial() in tuxvdmtool#asahi-dev · 2026-06-09 08:58
jannaufor m3* we will use macos 14.8.3 anyway