#asahi-re · 2023-03-24 07:07
eiln_so the power domains aren't described in the dt#asahi-re · 2023-03-24 07:07
eiln_for reference i rebased with the t8103 nodes https://github.com/eiln/linux/tree/ane-dt#asahi-re · 2023-03-22 02:44
blarghHas anyone had a chance to look at the M2 max device tree and compare it with that of M1 max? Wondering if M2 max also has a hidden second ANE like M1 max had#asahi-re · 2023-03-03 14:47
jannauport control seems to be related to turning devices on/off: for example: 'AppleSDXC::TurnOnPower fPortControl->enable 0x%x retry%u'#asahi-re · 2023-03-02 00:55
ligma_toadI suppose I should continue learning C, maybe also learn some Asm and Rust; look into more content like what Ben Eater has on YouTube#asahi-re · 2023-03-02 00:52
ligma_toadhi. where's the best place to ask, what are some things I can learn as a novice programmer who would like to work on reversing someday?#asahi-re · 2023-03-01 10:21
jannauwaste your time as you like but don't bother us with it#asahi-re · 2023-03-01 10:21
jannauno need to discuss this here#asahi-re · 2023-03-01 10:20
svenagain, just ignore it and /msg the admins to deal with them. no need to discuss the craziness any further in here#asahi-re · 2023-03-01 10:20
kode54the latest in stupid bullshit to waste my time on#asahi-re · 2023-03-01 10:19
kode54I thought maybe there was some campaign going on now that may have made it to rationalwiki#asahi-re · 2023-03-01 10:19
kode54I know, sorry#asahi-re · 2023-03-01 10:19
svenplease just ignore the trolls#asahi-re · 2023-03-01 10:18
kode54google on "neurorights" finds nothing I want to read#asahi-re · 2023-03-01 05:16
snowcra5hlol#asahi-re · 2023-03-01 05:11
paxLack of Neurorights and the 1917 prophecy of Fatima, or how Colegio Militar alumni (largo da luz, Portugal) and their CM93 three decade long blue-whale suicide games as extrajudicial trials and sentences of a terrorist cell comprising members of government and nobility under the false guise of erradicating class A narcotraffic and promote neurorights#asahi-re · 2023-03-01 05:11
paxand crime prevention brought Vladimir Putin to invade the Ukraine#asahi-re · 2023-02-28 21:36
paxand crime prevention brought Vladimir Putin to invade the Ukraine#asahi-re · 2023-02-28 21:36
paxLack of Neurorights and the 1917 prophecy of Fatima, or how Colegio Militar alumni (largo da luz, Portugal) and their CM93 three decade long blue-whale suicide games as extrajudicial trials and sentences of a terrorist cell comprising members of government and nobility under the false guise of erradicating class A narcotraffic and promote neurorights#asahi-re · 2023-02-05 07:50
marcanwe generally name things 1:1 with the PMGR descriptors in the ADT table, but if they aren't in there at all then that sounds like a good alternative#asahi-re · 2023-02-05 07:49
marcaneiln: sure, why not#asahi-re · 2023-02-05 07:46
eilnshould i call them ane_set1 like apple?#asahi-re · 2023-02-05 07:37
marcan(you can still add base separately if there's a reason to turn it on without the children of course)#asahi-re · 2023-02-05 07:37
eilnsounds good#asahi-re · 2023-02-05 07:36
marcan(cpu also depends on sys of course, as it already does)#asahi-re · 2023-02-05 07:36
marcanso the dep chain is sys -> base -> {1-5} and the driver probably only needs to know about cpu and 1-5, sys and 0 would be implicitly driven as parents#asahi-re · 2023-02-05 07:36
marcanok, then let's go with that, call 0 "base" in the DT and 1-5 can keep those numbers, 1-based is fine if Apple does that#asahi-re · 2023-02-05 07:35
eilnweird number#asahi-re · 2023-02-05 07:35
eilnyep. off order doesn't matter either. #asahi-re · 2023-02-05 07:34
marcanno dep relationship between the 5 themselves? i.e. if base is on, you can turn on 5 first or 1 first?#asahi-re · 2023-02-05 07:33
marcaneiln: that means 1-5 should depend on base in the DT, that's the expected behavior#asahi-re · 2023-02-05 07:30
eilnto clarify the ones changed state by the base had to be "on" before#asahi-re · 2023-02-05 07:28
eilnshould order it to be safe regardless but #asahi-re · 2023-02-05 07:28
eilnbut turning off the base doesn't affect the remaining#asahi-re · 2023-02-05 07:27
eilnremaining 5 bulk turns on (0x30f -> 0x3ff) when the 0th (base) is turned on#asahi-re · 2023-02-05 07:27
eilnmarcan: can't really tell if it's a parent-child relationship#asahi-re · 2023-02-05 07:08
marcanif this were any other SoC vendor I'd be wary of lockups and badness if things are powered out of order, but Apple seems to be pretty good about encoding dependencies in pmgr cleanly where required :p#asahi-re · 2023-02-05 07:03
eiln_thanks, testing it rn#asahi-re · 2023-02-05 07:02
marcanif the ack does not come in and there is a hardware dep, that should be encoded by chaining them as parent/child#asahi-re · 2023-02-05 07:02
marcanI'd say test to see if you can power them up in the wrong order and the pstate ack comes in. if it does, treat them as an unordered set (might still be worth following the power up/down order to match macOS just in case, but it'd be a driver responsibility)#asahi-re · 2023-02-05 07:02
eiln_also not in dt :D#asahi-re · 2023-02-05 07:01
eiln_ISP has 12 of those that work very similarly #asahi-re · 2023-02-05 07:01
marcanseems pretty arbitrary...#asahi-re · 2023-02-05 07:01
eiln_ive dumped these by triggering a fault: rPMGR_ANE0_BASE_PS, rPMGR_ANE0_SET1_PS, rPMGR_ANE0_SET2_PS, rPMGR_ANE0_SET3_PS, rPMGR_ANE0_SET4_PS #asahi-re · 2023-02-05 07:01
marcan(and you get some error flag bit set which I forget)#asahi-re · 2023-02-05 07:00
marcan(the current pstate will not reach 0xf if parent domains are off)#asahi-re · 2023-02-05 07:00
marcanmight be worth testing#asahi-re · 2023-02-05 07:00
marcanbut if they have a hardware dependency it would show up if you try to turn them on in the wrong order, because they would refuse to do that#asahi-re · 2023-02-05 06:59
marcanheh, that ordering almost sounds like they should be a big chain#asahi-re · 2023-02-05 06:59
eiln_yeah, they're handled as a whole. turned on in reverse and off in nornal order, but doesn't really matter