2021-03-06
01:48odmir has quit [Remote host closed the connection]
01:49odmir has joined #asahi-dev
01:54odmir has quit [Ping timeout: 276 seconds]
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:21odmir has joined #asahi-dev
02:21Emantor has joined #asahi-dev
03:15odmir has quit [Remote host closed the connection]
03:15odmir has joined #asahi-dev
03:48phiologe has quit [Ping timeout: 245 seconds]
04:38odmir has quit [Remote host closed the connection]
05:34taziden has quit [Ping timeout: 264 seconds]
05:49phiologe has joined #asahi-dev
06:06taziden has joined #asahi-dev
06:44VinDuv has joined #asahi-dev
09:40KindTwo has joined #asahi-dev
09:42KindOne has quit [Ping timeout: 264 seconds]
09:42KindTwo is now known as KindOne
10:12svenhttps://github.com/AsahiLinux/m1n1/pull/34 adds support to enable clocks from device tree entires
10:12svenwith one small weirdness that i haven't been able to figure out: clocks can be aliased to other clocks but sometimes such a chain leads to nowhere
10:17vimal has quit [Remote host closed the connection]
10:21kettenisafter I'm done dealing with the 8-bit ASID fallout properly in the OpenBSD kernel, I'm going to look into using m1n1 such that I can get all the cores running
10:22sveni guess calling pmgr_adt_clocks_enable with /arm-io/{apcie,apciec0,apciec1,dart-apcie0,dart-apcie1} or so should bring up those clocks i guess
10:24svenfor linux we could just extract the addresses of these clocks from apple's device tree and put them into the regular linux device tree
10:25kettenisto apply the tunables you need to enable the clocks such that you can access the pcie host bridge registers
10:31kettenisso having u-boot parsing the apple device tree would mean m1n1 has to pass its address somehow
10:33kettenisstill using the corellium preloader at this point because I need the tunables to bring up PCIe
10:38svenyeah, i think we should definitely apply any tunables we can before we jump to the bsd/linux/whatever kernel
10:41svenfor usb there are different ones for device vs. host mode though. let me see if there are more cases where the tunables depend on some decision the kernel would make
11:13KindTwo has joined #asahi-dev
11:15KindOne has quit [Ping timeout: 272 seconds]
11:15KindTwo is now known as KindOne
11:57_whitelogger has joined #asahi-dev
12:38vimal has joined #asahi-dev
12:57riker77 has quit [Quit: Quitting IRC - gone for good...]
13:05riker77 has joined #asahi-dev
13:37snalty has quit [Ping timeout: 246 seconds]
13:43snalty has joined #asahi-dev
13:51svenpcie needs more magic though. just enabling clocks isn't enough to make the MMIO range readable
13:54arndkettenis: do you need anything beyond the config space access for PCIe in the kernel today?
13:55svenerm, no. scratch that. i'm just an idiot as usual. looks like enabling clocks is actually enough to make PCIe accessible
14:11zkrx has quit [Ping timeout: 276 seconds]
14:25zkrx has joined #asahi-dev
14:35zkrx has quit [Ping timeout: 256 seconds]
14:54zkrx has joined #asahi-dev
16:08odmir has joined #asahi-dev
16:20marcansven: as long as the tunables don't need re-applying except for full system sleep, it makes sense to do the tunables entirely in m1n1
16:21marcanthe only thing that would be somewhat annoying is if we can't power down peripherals without re-applying tunables either, i.e. power gating kills all those settings too, but we'll worry about that when we get there and figure out how much power it saves us
16:28odmir has quit [Remote host closed the connection]
16:28odmir has joined #asahi-dev
16:57superk has left #asahi-dev ["WeeChat 3.0"]
17:21odmir has quit [Remote host closed the connection]
17:23odmir has joined #asahi-dev
18:07roxfan2 has joined #asahi-dev
18:08roxfan has quit [Disconnected by services]
18:09roxfan2 is now known as roxfan
19:05zkrx has quit [Ping timeout: 245 seconds]
19:25zkrx has joined #asahi-dev
20:20odmir has quit [Remote host closed the connection]
20:21odmir has joined #asahi-dev
20:25odmir has quit [Ping timeout: 246 seconds]
20:26Augur[m] has joined #asahi-dev
20:31odmir has joined #asahi-dev
20:35odmir has quit [Ping timeout: 245 seconds]
20:40KindTwo has joined #asahi-dev
20:40zarvox has quit [Ping timeout: 264 seconds]
20:40KindOne has quit [Ping timeout: 246 seconds]
20:40zarvox has joined #asahi-dev
20:41KindTwo is now known as KindOne
20:45odmir has joined #asahi-dev
20:45odmir has quit [Read error: Connection reset by peer]
21:02odmir has joined #asahi-dev
21:15odmir has quit [Ping timeout: 245 seconds]
21:27odmir has joined #asahi-dev
21:31odmir has quit [Remote host closed the connection]
21:31odmir has joined #asahi-dev
22:06zkrx has quit [Ping timeout: 245 seconds]
22:13pent1ckel has joined #asahi-dev
22:17VinDuv has quit [Quit: Leaving.]
22:25zkrx has joined #asahi-dev
22:36amw has quit [Ping timeout: 246 seconds]
22:59odmir has quit [Remote host closed the connection]
23:08zarvox has quit [Ping timeout: 264 seconds]
23:08zarvox has joined #asahi-dev
23:13sirn has quit [Ping timeout: 240 seconds]
23:16sirn has joined #asahi-dev
23:19odmir has joined #asahi-dev
23:20odmir has quit [Remote host closed the connection]
23:42odmir has joined #asahi-dev
23:44odmir has quit [Remote host closed the connection]
23:48odmir has joined #asahi-dev