#
…

2024-08-31

00:02Bertrand___ has quit [Ping timeout: 480 seconds]
00:02Bertrand___ has joined #asahi-dev
00:17pb17 has quit [Ping timeout: 480 seconds]
00:29Bertrand___ has quit [Ping timeout: 480 seconds]
00:31Bertrand___ has joined #asahi-dev
00:34pb17 has joined #asahi-dev
00:51Bertrand___ has quit [Ping timeout: 480 seconds]
00:52Bertrand___ has joined #asahi-dev
01:00KxCORP5894000 has quit [Quit: Bye!]
01:02KxCORP5894000 has joined #asahi-dev
01:08Bertrand___ has quit [Ping timeout: 480 seconds]
01:15Bertrand___ has joined #asahi-dev
01:23Bertrand___ has quit [Ping timeout: 480 seconds]
01:31Bertrand___ has joined #asahi-dev
01:42tocrswsoal^ has joined #asahi-dev
01:43Bertrand___ has quit [Ping timeout: 480 seconds]
01:45Bertrand___ has joined #asahi-dev
02:11chadmed has quit [Quit: Konversation terminated!]
02:14JayBeeFOSS has quit [Remote host closed the connection]
02:16JayBeeFOSS has joined #asahi-dev
02:29Bertrand___ has quit [Ping timeout: 480 seconds]
02:32Bertrand___ has joined #asahi-dev
02:36pb17 has quit [Ping timeout: 480 seconds]
02:38nicolas17 has quit [Remote host closed the connection]
02:38nicolas17 has joined #asahi-dev
02:44pb17 has joined #asahi-dev
02:53Bertrand___ has quit [Ping timeout: 480 seconds]
03:09Bertrand___ has joined #asahi-dev
03:23Bertrand___ has quit [Ping timeout: 480 seconds]
03:31Bertrand___ has joined #asahi-dev
03:39Bertrand___ has quit [Ping timeout: 480 seconds]
03:45nora has joined #asahi-dev
03:45Bertrand___ has joined #asahi-dev
03:46nora_ has quit [Ping timeout: 480 seconds]
04:17JayBeeFOSS has quit [Remote host closed the connection]
04:19JayBeeFOSS has joined #asahi-dev
04:22Bertrand___ has quit [Ping timeout: 480 seconds]
04:26Bertrand___ has joined #asahi-dev
04:33pb17 has quit [Ping timeout: 480 seconds]
04:43Bertrand___ has quit [Ping timeout: 480 seconds]
04:50Bertrand___ has joined #asahi-dev
04:55pb17 has joined #asahi-dev
05:16Bertrand___ has quit [Ping timeout: 480 seconds]
05:21Bertrand___ has joined #asahi-dev
05:42Bertrand___ has quit [Ping timeout: 480 seconds]
05:45Bertrand___ has joined #asahi-dev
05:53Bertrand___ has quit [Ping timeout: 480 seconds]
06:01Bertrand___ has joined #asahi-dev
06:09Bertrand___ has quit [Ping timeout: 480 seconds]
06:16Bertrand___ has joined #asahi-dev
06:23pjakobsson has quit [Ping timeout: 480 seconds]
06:30jannauchadmed_: the dcp overlay one produced unexpected tests results in igt-gpu-tools which I've not investigated further (you can't easily check yourself since driver misses things)
06:31jannauI'll write more into the PR later today
06:31jannauI haven't looked at the hwmon fan PR yet
06:32Bertrand___ has quit [Ping timeout: 480 seconds]
06:32Bertrand___ has joined #asahi-dev
06:33chadmed_jannau: all good, thought there might be something :)
06:46pb17 has quit [Ping timeout: 480 seconds]
06:53pb17 has joined #asahi-dev
06:55bpye has quit [Quit: Ping timeout (120 seconds)]
06:55bpye has joined #asahi-dev
07:01Bertrand___ has quit [Ping timeout: 480 seconds]
07:01ellyq has quit [Ping timeout: 480 seconds]
07:17chadmed_ has quit [Quit: Konversation terminated!]
07:23chadmed has joined #asahi-dev
07:27pjakobsson has joined #asahi-dev
07:46Bertrand___ has joined #asahi-dev
07:50Bertrand___ has quit [Read error: Connection reset by peer]
07:52pjakobsson has quit [Remote host closed the connection]
07:52pjakobsson has joined #asahi-dev
07:53Bertrand___ has joined #asahi-dev
08:01Bertrand___ has quit [Ping timeout: 480 seconds]
08:02Bertrand___ has joined #asahi-dev
08:02axboe has quit [Read error: Connection reset by peer]
08:04axboe has joined #asahi-dev
08:08pb17 has quit [Ping timeout: 480 seconds]
08:10___nick___ has joined #asahi-dev
08:27Bertrand___ has quit [Ping timeout: 480 seconds]
08:31pb17 has joined #asahi-dev
08:34Bertrand___ has joined #asahi-dev
08:42Dan___ has joined #asahi-dev
08:42Bertrand___ has quit [Ping timeout: 480 seconds]
08:42Bertrand___ has joined #asahi-dev
09:21matrix_ds has quit [Quit: Bridge terminating on SIGTERM]
09:21mjolnir[m]1 has quit []
09:21notvoltage[m] has quit []
09:21paddatrapper_ has quit [Quit: Bridge terminating on SIGTERM]
09:21nico[m] has quit [Quit: Bridge terminating on SIGTERM]
09:21tumblingweed has quit [Quit: Bridge terminating on SIGTERM]
09:22matrix_ds has joined #asahi-dev
09:22matrix_ds has quit [Excess Flood]
09:23matrix_ds has joined #asahi-dev
09:27highvoltage[m]1 has joined #asahi-dev
09:47pb17 has quit [Ping timeout: 480 seconds]
09:52pb17 has joined #asahi-dev
10:04svennickchan: nice work on the aic support for pre-M1 SoCs. looks mostly good to me now :)
10:21mjolnir[m]1 has joined #asahi-dev
10:21tumblingweed has joined #asahi-dev
11:00c10l has quit [Remote host closed the connection]
11:03c10l has joined #asahi-dev
11:20cyrinux has quit []
11:20cyrinux has joined #asahi-dev
11:33chadmed has quit [Remote host closed the connection]
11:34chadmed has joined #asahi-dev
11:35nickchansven: by the way the devicetree patches might come a bit later since there's some additional troubles with the uart
11:36nickchanbesides the SError issue which already have a fix
11:36nickchanon A7-A9 uart rx is partially broken, it only happens in chunks of 16 bytes
11:37svensounds good to me
11:37nickchanit is not that important for the serial0 debug console but it would be problematic for the other uarts, so I would like to fix that first
11:37svenim happy someone actually makes this all work on older socs
11:38svenI haven’t worked on the UART at all so no idea what’s going on there :/
11:38nickchanfor the devicetree part it will exclude some SKUs due to testing issues:
11:38nickchan- All T2 iBridges
11:38nickchan- the HomePod
11:38svensure, we can always add them later once they’ve been tested
11:39jannaure cpuidle: I've excluded the pre-m1 platforms with `of_machine_is_compatible("apple,t8015") ...` in apple_cpuidle_init and will push that soon to github
11:41nickchannow because of the ridiclous amount of SKUs here - not every other SKU is actually tested, but every SoC/device type combination is tested
11:41nickchaneg: A8 iPhone, A9X iPad Pro, A10 iPad
11:41nickchanBut for example the cellular A9X iPad Pro is not tested while the wifi one is
11:42chadmedthat shouldnt really matter if the lte modem is just a platform device type thingy hanging off an iommu
11:43nickchanApple TV are also tested though Apple TV 4K is most annoying to actually use Linux with
11:43nickchansince the USB exploit can only be performed with the USB pins in the ethernet port
11:44nickchanthough we did manage to test it on that
11:44chadmedhuh... did you test dcp on the atv 4k at all?
11:44chadmedasking for a friend
11:44nickchanDcp doesn't exist until A14
11:44chadmedoh yeah
11:44nickchanthe display on these devices are more similar to the z2 touchscreen stuff for the touchbar mac
11:45nickchanbut that also does not apply to Apple TV
11:45chadmedatv's features are more like dcp-lite i suppose
11:45nickchancpufreq (at least on A10) and wdt is exactly the same
11:46nickchana10(x) is a mess of cpufreq
11:46nickchanthere's the normal a10 that goes up to 2.34 GHz
11:46nickchana10x goes up to 2.4 GHz
11:47nickchanand then the iPod touch 7 that can only go up to 1.6 GHz
11:47nickchanthough other SoCs im dealing with like A7 are also like that
11:47nickchanhaven't have luck locating the performance controller from the adt though
11:47nickchana10(x) is directly from corellium
11:48nickchanalso has the lower p-states frequencies artifically adjusted
11:48nickchansince the lower p-states are the zephyr core
11:48nickchanand the higher p-states are the hurricane cores
11:49nickchanuserspace absolutely does not expect a lower frequency to have more performance than a higher frequency
11:49nickchandue to the core type
11:49nickchanso it has been adjusted so that performance scales roughly linearly
11:49nickchandividing all e-core frequencies by 2.65 seems to do the trick
11:50chadmednickchan: this is a dealt with problem, use capacity-dmips-mhz
11:50chadmednormalise to 1024 on the pcores
11:50chadmedand if you can use opp-microwatt but that might be hard if you cant measure power
11:50chadmedschedutil does the rest for you mostly-accurately
11:51mrkajetanp has joined #asahi-dev
11:51nickchanthere isn't a pcore and ecore to software
11:51nickchanit is cores that suddenly changes performance when crossing a certain p-state
11:51nickchan(and ability to execute aarch32)
11:52chadmeddo they have some thing in front of the cores that migrates their state between clusters at the transition? lmfao
11:52chadmedthats insane
11:53nickchanand due to this one of the patches that I have is a gross patch that pretend a10 does not support 32 bit el0
11:54nickchanit doesn't seem like it's a good patch but I do not have other sensible solutions
11:57nickchanchadmed: I think those parts are just fused
11:57nickchanA10 "Fusion"
11:59mrkajetanp has quit [Ping timeout: 480 seconds]
12:00pb17 has quit [Ping timeout: 480 seconds]
12:01flokli has quit [Quit: WeeChat 4.4.1]
12:09pb17 has joined #asahi-dev
12:25mrkajetanp has joined #asahi-dev
12:36mrkajetanp has quit [Ping timeout: 480 seconds]
12:37pjakobsson_ has joined #asahi-dev
12:42pjakobsson has quit [Ping timeout: 480 seconds]
12:51flokli has joined #asahi-dev
13:13flokli has quit [Quit: WeeChat 4.4.1]
13:18mrkajetanp has joined #asahi-dev
13:25flokli has joined #asahi-dev
13:26mrkajetanp has quit [Ping timeout: 480 seconds]
13:34manawyrm has quit [Quit: Read error: 2.99792458 x 10^8 meters/second (Excessive speed of light)]
13:36mrkajetanp has joined #asahi-dev
13:38manawyrm has joined #asahi-dev
13:44mrkajetanp has quit [Ping timeout: 480 seconds]
13:47Dan___ has quit [Ping timeout: 480 seconds]
13:51flokli has quit [Quit: WeeChat 4.4.1]
13:54flokli has joined #asahi-dev
13:55mrkajetanp has joined #asahi-dev
13:59pb17 has quit [Ping timeout: 480 seconds]
14:03mrkajetanp has quit [Ping timeout: 480 seconds]
14:10mrkajetanp has joined #asahi-dev
14:13flokli has quit [Quit: WeeChat 4.4.1]
14:13pb17 has joined #asahi-dev
14:14manawyrm has quit [Quit: Read error: 2.99792458 x 10^8 meters/second (Excessive speed of light)]
14:14manawyrm has joined #asahi-dev
14:15KxCORP5894000 has quit [Quit: Bye!]
14:16KxCORP5894000 has joined #asahi-dev
14:17KxCORP5894000 has quit []
14:18KxCORP5894000 has joined #asahi-dev
14:18mrkajetanp has quit [Ping timeout: 480 seconds]
14:25jannaunickchan: pushed those thanges to asahi-wip / asahi-6.10.7-2
14:27KxCORP5894000 has quit [Quit: Bye!]
14:28KxCORP5894000 has joined #asahi-dev
14:28mrkajetanp has joined #asahi-dev
14:31KxCORP5894000 has quit []
14:34flokli has joined #asahi-dev
14:37mrkajetanp has quit [Ping timeout: 480 seconds]
14:38KxCORP5894000 has joined #asahi-dev
14:40___nick___ has quit []
14:42___nick___ has joined #asahi-dev
14:42___nick___ has quit []
14:45___nick___ has joined #asahi-dev
14:46mrkajetanp has joined #asahi-dev
14:48nickchanjannau: you missed quite a lot of compatibles
14:48nickchanat the very least apple,s5l8960x also needed to be excluded
14:49nickchannow the devicetree stuff is very much downstream and things could change but we currently do not make the skus based on the AX-series SoC to have the base A-series SoC compatible
14:50nickchanso that's apple,t7001, apple,s8001, apple,t8011
14:50nickchanand then there's TSMC A9 which is apple,s8003
14:50nickchanand finally apple,t8012 would be for the T2
14:52tobhe_ has joined #asahi-dev
14:53nickchangiven that the t6001 machines were not given the t6000 compatibles
14:54nickchanall skus will only been given its own soc-specific compatible and not some compatible of a similar soc as far as soc-based compatibles go
14:54nickchanso full list to exclude:
14:55nickchanapple,s5l8960x || apple,t7000 || apple,t7001 || apple,s8000 || apple,s8001 || apple,s8003 || apple,t8010 || apple,t8011 || apple,t8012 || apple,t8015
14:57nickchanfor difference between s8000 and s8003: midr is different and the chicken bits to be applied is also different
14:59tobhe has quit [Ping timeout: 480 seconds]
15:03mrkajetanp has quit [Ping timeout: 480 seconds]
15:07nickchannow because this is a downstream driver
15:08nickchanjannau: you can also do a runtime check by checking whether bit 0 of s3_5_c15_c5_0 is RES0
15:09nickchanthis is the disable wfi retention bits
15:09nickchanon the asi mac this can be set
15:09nickchanon a7-a11 it is res0
15:10nickchanremember to clear the bit after testing! otherwise you will get the a7-a11 behavior even on m1
15:11mrkajetanp has joined #asahi-dev
15:13nickchanim actually not super sure need to check
15:19mrkajetanp has quit [Ping timeout: 480 seconds]
15:31mrkajetanp has joined #asahi-dev
15:41pb17 has quit [Ping timeout: 480 seconds]
15:42mrkajetanp has quit [Ping timeout: 480 seconds]
15:53mrkajetanp has joined #asahi-dev
15:58nickchanokay it's res0 at least on the iPhone X
16:01mrkajetanp has quit [Ping timeout: 480 seconds]
16:12mrkajetanp has joined #asahi-dev
16:12pb17 has joined #asahi-dev
16:20mrkajetanp has quit [Ping timeout: 480 seconds]
16:23Dan___ has joined #asahi-dev
16:29mrkajetanp has joined #asahi-dev
16:40mrkajetanp has quit [Ping timeout: 480 seconds]
16:48CaptainIRS8 is now known as CaptainIRS
16:56mrkajetanp has joined #asahi-dev
17:04mrkajetanp has quit [Ping timeout: 480 seconds]
17:15mrkajetanp has joined #asahi-dev
17:23mrkajetanp has quit [Ping timeout: 480 seconds]
17:34pb17 has quit [Ping timeout: 480 seconds]
17:36pb17 has joined #asahi-dev
17:56mrkajetanp has joined #asahi-dev
18:04mrkajetanp has quit [Ping timeout: 480 seconds]
18:13mrkajetanp has joined #asahi-dev
18:22flokli has quit [Quit: WeeChat 4.4.1]
18:22mrkajetanp has quit [Max SendQ exceeded]
18:23mrkajetanp has joined #asahi-dev
18:24flokli has joined #asahi-dev
18:28mrkajetanp has quit [Remote host closed the connection]
18:28mrkajetanp has joined #asahi-dev
18:29Dan___ has quit [Ping timeout: 480 seconds]
18:59Bertrand___ has quit [Ping timeout: 480 seconds]
19:00KxCORP5894000 has quit [Quit: Bye!]
19:00Bertrand___ has joined #asahi-dev
19:01KxCORP5894000 has joined #asahi-dev
19:02nickchanfor tracing on a7-a11 currently im thinking of hijacking a core and use the debug registers to debug the other cores
19:02mrkajetanp has quit [Remote host closed the connection]
19:02mrkajetanp has joined #asahi-dev
19:21Dan___ has joined #asahi-dev
19:28pb17 has quit [Ping timeout: 480 seconds]
19:32mrkajetanp has quit [Remote host closed the connection]
19:32mrkajetanp has joined #asahi-dev
19:36pb17 has joined #asahi-dev
19:40___nick___ has quit []
19:42___nick___ has joined #asahi-dev
19:43Deewiant has quit [Remote host closed the connection]
19:44Deewiant has joined #asahi-dev
19:44nicolas17chadmed: "Unlike most implementations of big.LITTLE, such as the Snapdragon 820 or Exynos 8890, only one core type can be active at a time, either the high-performance or low-power cores, but not both. Thus, the A10 Fusion appears to software and benchmarks as a dual core chip."
19:47mrkajetanp has quit [Remote host closed the connection]
19:47mrkajetanp has joined #asahi-dev
19:50nicolas17"The A11 uses a new second-generation performance controller, which permits the A11 to use all six cores simultaneously, unlike its predecessor the A10."
20:03___nick___ has quit [Remote host closed the connection]
20:22mrkajetanp has quit [Remote host closed the connection]
20:23mrkajetanp has joined #asahi-dev
20:37mrkajetanp has quit [Remote host closed the connection]
20:37mrkajetanp has joined #asahi-dev
20:50allmazz has joined #asahi-dev
20:53mrkajetanp has quit [Remote host closed the connection]
20:53mrkajetanp has joined #asahi-dev
21:02asahi has joined #asahi-dev
21:02mrkajetanp has quit [Max SendQ exceeded]
21:03mrkajetanp has joined #asahi-dev
21:03Dan___ has quit [Ping timeout: 480 seconds]
21:04asahi has quit [Remote host closed the connection]
21:04calejvaldez has joined #asahi-dev
21:05deci has joined #asahi-dev
21:05calejvaldez has quit [Remote host closed the connection]
21:06calejvaldez has joined #asahi-dev
21:07deci has quit []
21:13Dan___ has joined #asahi-dev
21:17mrkajetanp has quit [Remote host closed the connection]
21:18mrkajetanp has joined #asahi-dev
21:20calejvaldez has quit [Remote host closed the connection]
21:26pb17 has quit [Ping timeout: 480 seconds]
21:36mrkajetanp has quit [Ping timeout: 480 seconds]
21:46mrkajetanp has joined #asahi-dev
21:53pb17 has joined #asahi-dev
21:54mrkajetanp has quit [Ping timeout: 480 seconds]
21:59mrkajetanp has joined #asahi-dev
22:07mrkajetanp has quit [Ping timeout: 480 seconds]
22:19mrkajetanp has joined #asahi-dev
22:21Dan___ has quit [Ping timeout: 480 seconds]
22:27mrkajetanp has quit [Ping timeout: 480 seconds]
22:28Dan___ has joined #asahi-dev
22:36Dan___ has quit [Ping timeout: 480 seconds]
22:39mrkajetanp has joined #asahi-dev
22:47mrkajetanp has quit [Ping timeout: 480 seconds]
22:58mrkajetanp has joined #asahi-dev
23:06mrkajetanp has quit [Ping timeout: 480 seconds]
23:17Dan___ has joined #asahi-dev
23:19mrkajetanp has joined #asahi-dev
23:27mrkajetanp has quit [Ping timeout: 480 seconds]
23:28pb17 has quit [Ping timeout: 480 seconds]
23:35mrkajetanp has joined #asahi-dev
23:40Dan___ has quit [Ping timeout: 480 seconds]
23:43mrkajetanp has quit [Ping timeout: 480 seconds]
23:52Dan___ has joined #asahi-dev
23:53mrkajetanp has joined #asahi-dev
23:54pb17 has joined #asahi-dev
…