#
#asahi-dev · 2023-11-30 22:21
DannyBooh good question
#asahi-dev · 2023-11-30 22:21
kettenisis MPIDR_EL1 entirely 0? Or just the core number within the cluster?
#asahi-dev · 2023-11-30 22:19
j`eyoh
#asahi-dev · 2023-11-30 22:17
DannyBj`ey: The core number in MPIDR_EL1 is 0.
#asahi-dev · 2023-11-30 22:17
jannegso it looks more like the m1/m2 macbook pro 14"
#asahi-dev · 2023-11-30 22:16
jannegI suppose M3 macbook pro is an earlier design than the m3 pro/max. It was supposed to be announced in the summer but is late because there was not enough chip supply for macbook air 15"
#asahi-dev · 2023-11-30 22:16
DannyByes, it starts on the first p-core
#asahi-dev · 2023-11-30 22:12
j`eylook at the mpidr_el1 register?
#asahi-dev · 2023-11-30 22:12
kettenisdoes it start on one of the P-cores now?
#asahi-dev · 2023-11-30 22:11
DannyBor something
#asahi-dev · 2023-11-30 22:11
DannyBi guess extract the core/cluster/die ids and see if they match and skip it
#asahi-dev · 2023-11-30 22:11
DannyB(and there does not appear to be like /chosen/primary-cpu or something like that
#asahi-dev · 2023-11-30 22:11
DannyBbut it's not obvious to me how to figure out which of the device tree nodes represents the one we are currently running on.
#asahi-dev · 2023-11-30 22:10
DannyBunlike the other macbook pro's, the m3 max starts on cpu4, and not cpu0. Is there a way to tell which one we are currently on? smp_start_secondaries assumes we start on CPU0, and then crashes trying to start our current CPU :)
#asahi-dev · 2023-11-30 22:08
DannyBSo fun question that should be obvious that isn't
#asahi-dev · 2023-11-30 22:07
DannyBjanneg: I have a feeling the m3 regular is just a chip replacement and nothing else
#asahi-dev · 2023-11-30 22:06
DannyBnicolas17: yes
#asahi-dev · 2023-11-30 20:24
leioI'd be game, but in an hour or tomorrow/saturday
#asahi-dev · 2023-11-30 20:23
jannegwe could try dcpext1 and see if that fixes the issue on the ultra as well (don't ask me why that doesn't depend on ps_afr)
#asahi-dev · 2023-11-30 20:21
leioit's just hitting somehow harder on the ultra?
#asahi-dev · 2023-11-30 20:21
jannegI think it's the same problem I see/saw with dcp on the m2 pro so until that's solved I can test myself
#asahi-dev · 2023-11-30 20:20
kettenispush for 2024.01 it is then
#asahi-dev · 2023-11-30 20:20
leiobut yeah, if it's a matter of device, we can also do live debugging session if it helps, etc
#asahi-dev · 2023-11-30 20:18
leiomaybe in about two weeks I'm back fully in my dear GNOME UI and can stop being frustrated about the window management :)
#asahi-dev · 2023-11-30 20:18
jannegI'm not sure about that. I tried horrible mdelay() crimes without any luck
#asahi-dev · 2023-11-30 20:17
leiojanneg: ok. I'm busy on workdays mostly in macOS for iOS stuff anyhow, no hurry, but if I can help test if it's a matter of no suitable device then I can do that
#asahi-dev · 2023-11-30 20:15
j`eymore timing fun :(
#asahi-dev · 2023-11-30 20:15
jannegleio: I have a partial solution for the dcp/hdmi issue on linux. dcp at least wakes up but is not fully working except with tracing and verbose rtkit syslog logging
#asahi-dev · 2023-11-30 20:10
leiodon't expect that to help for HDMI though, but I'll try to get to u-boot for a proper gentoo installer thing work at some point again
#asahi-dev · 2023-11-30 20:10
jannegthe second die has an offset of 0x2000000000
#asahi-dev · 2023-11-30 20:10
leiook, so I might be able to get EFI now then, great
#asahi-dev · 2023-11-30 20:09
jannegleio: yes. m2 ultra always used dcpext0 (on the second die)
#asahi-dev · 2023-11-30 20:09
leiothat was something about address 0x2404e80100
#asahi-dev · 2023-11-30 20:07
leioI wonder if that was the u-boot crash I had then and still haven't looked further after just payloading kernel instead to stage2
#asahi-dev · 2023-11-30 19:57
jannegdon't ask my why ps_dispext0_cpu0 has ps_afr as parent (via ps_dispext0_sys)
#asahi-dev · 2023-11-30 19:55
jannegu-boot accesses the whole simple-framebuffer power-domain tree and runs into a data abort on the unmapped 0x404e80000 + 0x100 with https://github.com/AsahiLinux/linux/commit/760ed8e3be2f4a8c550f197aeb135e7564e0ee2e
#asahi-dev · 2023-11-30 19:48
kettenisi'm asking to decide whether I should try to get this included in 2023.01 or if it is ok for this to go onto the -next branch
#asahi-dev · 2023-11-30 19:45
janneg0x480000000 is only for completeness without current use
#asahi-dev · 2023-11-30 19:40
jannegkettenis: partially, dcpext0/dispext0 on t602x which drives simple-framebuffer needs ps_afr from pmgr_gfx at 0x404e80000
#asahi-dev · 2023-11-30 19:34
kettenisjanneg: those u-boot memory map updates are just for completeness?
#asahi-dev · 2023-11-30 19:23
nicolas17looks like macOS 14.1.2 is just a WebKit security bugfix
#asahi-dev · 2023-11-30 19:14
jannegM3 Macbook Pro still uses cd3217 as type-c controller
#asahi-dev · 2023-11-30 18:51
nicolas17apparently it's not the same bootrom as M3 Pro :|
#asahi-dev · 2023-11-30 18:49
nicolas17DannyB: this is CPID 6031 right?
#asahi-dev · 2023-11-30 18:25
nicolas17macOS 14.1.2 is out
#asahi-dev · 2023-11-30 17:54
jannegnot that either of those has any useful public information
#asahi-dev · 2023-11-30 17:48
janneghttps://www.ifixit.com/Guide/MacBook+Pro+14-Inch+Late+2023+M3+Pro+Chip+ID/167049
#asahi-dev · 2023-11-30 17:47
jannegbut the macbook pro teardown has Texas Instruments SN25A12 USB type-C controllers
#asahi-dev · 2023-11-30 17:46
jannegifixit has identifies a Texas Instruments SN2012017 battery charger on the iphone 15 pro
#asahi-dev · 2023-11-30 17:38
jannegDannyB: it is 1 die. the second number is the maximum numnber of dies the implemenation can handle. the theoretical limit is 8 but so far Mx Max can only handle irqs from 2 dies i.e. for Mx Max pairs in Mx Ultra (if aic3 in still compatible to aic2 in that regard)

plus ›