#
#asahi-dev · 2024-09-13 06:24
chadmedon the ultra socs the e clusters can also switch independently
#asahi-dev · 2024-09-13 06:24
chadmedtheres only one e cluster and the p clusters can switch independently
#asahi-dev · 2024-09-13 05:07
nickchanI guess maybe not since the pro/max chips has more than 1 p/e clusters
#asahi-dev · 2024-09-13 04:56
nickchanhttps://www.kernel.org/doc/Documentation/devicetree/bindings/opp/opp.txt
#asahi-dev · 2024-09-13 04:55
nickchanshouldn't the opp tables in apple soc all be marked with opp-shared;
#asahi-dev · 2024-09-13 04:16
nickchansupposedly
#asahi-dev · 2024-09-13 04:16
nickchanby a12 it supposed already isn't like this
#asahi-dev · 2024-09-13 04:16
nickchannicolas17: on a more serious note a11 seems like a giant hack to get all the cores active at the same time
#asahi-dev · 2024-09-13 04:08
nicolas17"how devious of apple thinking 8 years ahead to make future linux porting borderline impossible"
#asahi-dev · 2024-09-13 04:02
nickchanat this point this needs a seperate apple_t8015_cpufreq driver
#asahi-dev · 2024-09-13 04:01
nickchanhttps://paste.debian.net/1329232/
#asahi-dev · 2024-09-13 04:01
nickchani don't have any words for it just see the results
#asahi-dev · 2024-09-13 03:45
nickchanto the point where I am considering *not* use apple_soc_cpufreq
#asahi-dev · 2024-09-13 03:45
nickchanokay a11 cpufreq is even more cursed than i thought
#asahi-dev · 2024-09-13 03:06
nickchanand the driver does not get frequency from hw
#asahi-dev · 2024-09-13 03:06
nickchanbut the comments are not very clear on how exactly to get the frequency
#asahi-dev · 2024-09-13 03:05
nickchanokay APPLE_DVFS_PLL_STATUS and APPLE_DVFS_PLL_FACTOR seems to be related to getting frequency from hw
#asahi-dev · 2024-09-13 02:31
nicolas17well the android vendor's shit kernel didn't, and the userspace app had to figure out what to do about it (after the hell in figuring out what the problem was) :D
#asahi-dev · 2024-09-13 02:31
nickchanwhat the upstream kernel cannot currently handle is something like the arm32 situation on a10
#asahi-dev · 2024-09-13 02:31
nickchanand the kernel only expose a safe value
#asahi-dev · 2024-09-13 02:30
nickchanpeople mix and match cpus all the time in arm socs
#asahi-dev · 2024-09-13 02:30
nickchannicolas17: the kernel should be able to handle that
#asahi-dev · 2024-09-13 02:30
tpw_rulesi mean intel did that too
#asahi-dev · 2024-09-13 02:30
nicolas17this was like a specific ISA extension that one core had and the other didn't, so it started running on the pcore, ran whatever is ARM's version of cpuid, determined the feature was supported, used it successfully, then got migrated to the ecore and crashed
#asahi-dev · 2024-09-13 02:30
nickchanaarch32 linux binaries
#asahi-dev · 2024-09-13 02:29
nickchanso it's not a big loss
#asahi-dev · 2024-09-13 02:29
nickchanI mean it's okay at the page size that a10 supports most aarch32 binaries won't run anyways
#asahi-dev · 2024-09-13 02:28
nicolas17the kernel can at least handle that
#asahi-dev · 2024-09-13 02:28
nickchanDon't think so
#asahi-dev · 2024-09-13 02:28
nicolas17anything else though?
#asahi-dev · 2024-09-13 02:28
nickchanonly hurricane does arm32
#asahi-dev · 2024-09-13 02:28
nickchanarm32
#asahi-dev · 2024-09-13 02:28
nicolas17arm32?
#asahi-dev · 2024-09-13 02:28
nickchanthey in fact are not
#asahi-dev · 2024-09-13 02:27
nicolas17they aren't equivalent?
#asahi-dev · 2024-09-13 02:27
nickchannicolas17: a10 also has that
#asahi-dev · 2024-09-13 02:25
nicolas17nickchan: I read of an Android SoC that had big/little cores with different capabilities and software could SIGILL when migrated between them x_x
#asahi-dev · 2024-09-13 02:20
nicolas17ah right, you can just pretend A10 has two cores with variable performance and ignore the fact that it switches to a different core at a certain perf threshold
#asahi-dev · 2024-09-13 02:20
nickchana11 is probably similarly cursed at the physical level but can't be abstrated to allow all cores to be active at the same time
#asahi-dev · 2024-09-13 02:19
nickchannicolas17: a10 is cursed on the physicl level but it is mostly abstracted away from software
#asahi-dev · 2024-09-13 02:15
nicolas17nickchan: I thought A10 pcore/ecore was cursed but A11 is worse wtf
#asahi-dev · 2024-09-13 02:09
nickchanI expect G10P AGX DRM support to be even more cursed but currently I am not ready to go into that rabbit hole yet
#asahi-dev · 2024-09-13 02:06
nickchanthere's two other ways that i think a11 can work, one more cursed one less cursed, time to go experiment
#asahi-dev · 2024-09-13 01:47
nickchanand have a11 continue to get the t8103 compatible
#asahi-dev · 2024-09-13 01:46
nickchanwell, unless I apply the a11 logic whenever the new property in cluster cpufreq is present
#asahi-dev · 2024-09-13 01:45
nickchanthis also means that a11 *cannot* get apple,cluster-cpufreq compatible
#asahi-dev · 2024-09-13 01:43
nickchanpossibly missing some tunables if some pcore tunables are missing issues would not show up till the cpu frequency is attempted to be adjusted due to the fusion arch
#asahi-dev · 2024-09-13 01:43
nickchanhowever there are some issues that locks the whole system up
#asahi-dev · 2024-09-13 01:42
nickchanI know the pstates are different from t8010 and the performance controller looks like it is at the same address
#asahi-dev · 2024-09-13 01:41
nickchanas for cpufreq on t8011 we have not got it to work yet

plus ›