#
#asahi-dev · 2023-04-26 19:30
marcan(just like the rest of ADT)
#asahi-dev · 2023-04-26 19:30
ChaosPrincessinstance = 465041444350554441525400545241444441525400000000554d4d53534d4d5500000000 - this?
#asahi-dev · 2023-04-26 19:30
marcanit's a horrible stupid hack
#asahi-dev · 2023-04-26 19:30
marcanthen they specify what the IO areas mean in that property
#asahi-dev · 2023-04-26 19:30
marcanthey mushed together a pile of drivers into one and called it all dart
#asahi-dev · 2023-04-26 19:29
povikor ADT subnodes?
#asahi-dev · 2023-04-26 19:29
jannauinstance property
#asahi-dev · 2023-04-26 19:29
povikinstances stuff meaning some constant register imprint in silicon?
#asahi-dev · 2023-04-26 19:29
ChaosPrincesswhats instance
#asahi-dev · 2023-04-26 19:29
marcanyou need to look at the instances stuff to figure out what the io areas are
#asahi-dev · 2023-04-26 19:29
marcanDARTs are instanced
#asahi-dev · 2023-04-26 19:29
ChaosPrincessdts claims its t8020
#asahi-dev · 2023-04-26 19:29
ChaosPrincessis this the same as everything else?
#asahi-dev · 2023-04-26 19:28
ChaosPrincessthere is some weird dart with 4 io areas used for ave, ane and isp
#asahi-dev · 2023-04-26 19:28
ChaosPrincessok, then that might be the wrong name
#asahi-dev · 2023-04-26 19:27
jannaueverything we support on t8113
#asahi-dev · 2023-04-26 19:23
ChaosPrincessdoes anything we currently support use the "t8020" DART?
#asahi-dev · 2023-04-26 19:23
povikah apple memory cache controller probably
#asahi-dev · 2023-04-26 19:22
povikgoogles AMCC
#asahi-dev · 2023-04-26 19:21
marcanpretty sure this has been broken forever and it wouldn't be surprising if deep idle makes it actually matter for real
#asahi-dev · 2023-04-26 19:20
marcanneed to sleep, will look at this angle tomorrow
#asahi-dev · 2023-04-26 19:20
marcanalready getting AMCC errors on a simple boot on j314 without u-boot
#asahi-dev · 2023-04-26 19:17
axboeI do have it set in mine fwiw
#asahi-dev · 2023-04-26 19:16
jannauPCIE_APPLE is not set in u-boot's config
#asahi-dev · 2023-04-26 19:16
marcanbut it's entirely possible something about deep idle breaks it much more badly
#asahi-dev · 2023-04-26 19:16
marcanwe've never bothered with that because it worked anyway
#asahi-dev · 2023-04-26 19:16
marcanreal-time memory requests to stuff the CPU has cached are illegal (macOS panics if that happens)
#asahi-dev · 2023-04-26 19:16
marcanlong shot: we should write an AMCC error handler driver
#asahi-dev · 2023-04-26 19:15
jannauand fails to create device links for 2920a1300.spmi:pmu@f:rtc_nvmem@1400 and 2920a1300.spmi:pmu@f:legacy_nvmem@6000
#asahi-dev · 2023-04-26 19:14
jannauit shouldn't have PCIe enabled but linux complains about "pcie-apple 590000000.pcie: invalid resource"
#asahi-dev · 2023-04-26 19:14
marcanis this with PCIe enabled in u-boot?
#asahi-dev · 2023-04-26 19:13
marcanit's not supposed to touch any HID stuff etc, is it? I wonder if it does anything interesting to any other sysregs...
#asahi-dev · 2023-04-26 19:13
marcanjannau: now I wonder what u-boot does that somehow affects linux down the line, that's... bizarre
#asahi-dev · 2023-04-26 19:04
axboejannau: wll then!
#asahi-dev · 2023-04-26 19:03
jannauI use https://github.com/AsahiLinux/m1n1/pull/268 with a few tricks to still boot from frommy dev system
#asahi-dev · 2023-04-26 19:03
jannaupovik: config with most of the non-essential drivers (including sio) as modules. so probably close to your full-fledged OS install
#asahi-dev · 2023-04-26 19:00
povikhappy about the other thing getting reproduced :)
#asahi-dev · 2023-04-26 19:00
povik\o/
#asahi-dev · 2023-04-26 18:59
jannauaxboe: reproduced when booting via u-boot
#asahi-dev · 2023-04-26 18:50
povikit doesn't seem to be a power-domain thing after all, at least the failures still occur without turning off any domains, and with resets disabled
#asahi-dev · 2023-04-26 18:50
poviki will see try flipping on SIO and see if i can reproduce
#asahi-dev · 2023-04-26 18:49
povikanything that's similar to the one you were getting boot failures with, if it isn't too bloated
#asahi-dev · 2023-04-26 18:49
povikjannau: do you have a .config that might be worth trying? see if i can reproduce it?
#asahi-dev · 2023-04-26 18:48
poviki only get them on a full-fledged OS install which makes debugging hard
#asahi-dev · 2023-04-26 18:48
povik[ 2.335642] apple-sio 236400000.sio: error -ETIME: SIO did not boot
#asahi-dev · 2023-04-26 18:48
poviknow if only we could figure out those :/
#asahi-dev · 2023-04-26 18:45
jannauI must have either overlooked the errors, didn't test it or something else
#asahi-dev · 2023-04-26 18:44
povikah, i was wondering about that, right
#asahi-dev · 2023-04-26 18:43
jannaumakes sense, allocation for the display happens (if it happens) is at m1n1's init
#asahi-dev · 2023-04-26 18:38
povikhttps://github.com/AsahiLinux/m1n1/pull/286/commits/37c6c06d0871192da8218b22c775e3b4ef7f71f9

plus ›