2022-03-02
00:38msmith12[m] has quit [Server closed connection]
00:38msmith12[m] has joined #asahi-dev
01:35Guest466 has quit [Server closed connection]
01:35enick_53 has joined #asahi-dev
01:37sikkileo[m] has quit [Server closed connection]
01:37sikkileo[m] has joined #asahi-dev
01:40yuyichao_ has joined #asahi-dev
01:49bisko has quit [Read error: Connection reset by peer]
01:51bisko has joined #asahi-dev
02:57riker77_ has joined #asahi-dev
02:58suricato_ has joined #asahi-dev
03:00suricato has quit [Ping timeout: 480 seconds]
03:02riker77 has quit [Ping timeout: 480 seconds]
03:02riker77_ is now known as riker77
03:35PhilippvK has joined #asahi-dev
03:38phiologe has quit [Ping timeout: 480 seconds]
05:01c10l has quit [Remote host closed the connection]
05:01c10l has joined #asahi-dev
05:01c10l has quit [Remote host closed the connection]
05:01c10l has joined #asahi-dev
05:01c10l has quit [Remote host closed the connection]
06:25chadmed has quit [Quit: Konversation terminated!]
06:28chadmed has joined #asahi-dev
06:49Hinata[m] has quit [Server closed connection]
06:49Hinata[m] has joined #asahi-dev
06:49abilash1994[m] has quit [Server closed connection]
06:50abilash1994[m] has joined #asahi-dev
06:50alexanderwillner[m] has quit [Server closed connection]
06:50alexanderwillner[m] has joined #asahi-dev
06:53davay[m] has quit [Server closed connection]
06:53davay[m] has joined #asahi-dev
06:54Bastian[m] has quit [Server closed connection]
06:54Bastian[m] has joined #asahi-dev
06:54BastienSaidi[m] has quit [Server closed connection]
06:54BastienSaidi[m] has joined #asahi-dev
06:55bpalmer4[m] has quit [Server closed connection]
06:55bpalmer4[m] has joined #asahi-dev
06:56brentr123[m] has quit [Server closed connection]
06:56brentr123[m] has joined #asahi-dev
06:58daftfrog[m] has quit [Server closed connection]
06:58daftfrog[m] has joined #asahi-dev
06:58David[m]1234 has quit [Server closed connection]
06:58David[m]1234 has joined #asahi-dev
06:59Dcow[m]1 has quit [Server closed connection]
07:00Dcow[m]1 has joined #asahi-dev
07:00denden[m] has quit [Server closed connection]
07:00denden[m] has joined #asahi-dev
07:01dnjmis[m] has quit [Server closed connection]
07:01dnjmis[m] has joined #asahi-dev
07:02Liam[m] has quit [Server closed connection]
07:02Liam[m] has joined #asahi-dev
07:02etsukata[m] has quit [Server closed connection]
07:02etsukata[m] has joined #asahi-dev
07:03fetsorn[m] has quit [Server closed connection]
07:03fetsorn[m] has joined #asahi-dev
07:05ghantaz[m] has quit [Server closed connection]
07:05ghantaz[m] has joined #asahi-dev
07:07ianlienfa[m] has quit [Server closed connection]
07:07ianlienfa[m] has joined #asahi-dev
07:08joerosenberg[m] has quit [Server closed connection]
07:08joerosenberg[m] has joined #asahi-dev
07:08katatafjsh[m] has quit [Server closed connection]
07:08katatafjsh[m] has joined #asahi-dev
07:09kdrag0n[m] has quit [Server closed connection]
07:09kdrag0n[m] has joined #asahi-dev
07:09kjm99[m] has quit [Server closed connection]
07:09kjm99[m] has joined #asahi-dev
07:10lockna has quit [Server closed connection]
07:10lockna has joined #asahi-dev
07:10l3k[m] has quit [Server closed connection]
07:10l3k[m] has joined #asahi-dev
07:12mmlb[m] has quit [Server closed connection]
07:12mmlb[m] has joined #asahi-dev
07:13fezhead[m] has quit [Server closed connection]
07:13fezhead[m] has joined #asahi-dev
07:14notyou[m] has quit [Server closed connection]
07:14notyou[m] has joined #asahi-dev
07:14obflv[m] has quit [Server closed connection]
07:14obflv[m] has joined #asahi-dev
07:15ograff has quit [Server closed connection]
07:15ograff has joined #asahi-dev
07:15HaoYanQi[m] has quit [Server closed connection]
07:15bisko has quit [Read error: Connection reset by peer]
07:15HaoYanQi[m] has joined #asahi-dev
07:15latko[m] has quit [Server closed connection]
07:16latko[m] has joined #asahi-dev
07:16bisko has joined #asahi-dev
07:17RasmusEneman[m] has quit [Server closed connection]
07:17RasmusEneman[m] has joined #asahi-dev
07:18plantaintion3[m] has quit [Server closed connection]
07:18plantaintion3[m] has joined #asahi-dev
07:18ponkey364[m] has quit [Server closed connection]
07:18ponkey364[m] has joined #asahi-dev
07:19rohin[m] has quit [Server closed connection]
07:19rohin[m] has joined #asahi-dev
07:20quentin[m] has quit [Server closed connection]
07:20quentin[m] has joined #asahi-dev
07:21Redecorating[m] has quit [Server closed connection]
07:21Redecorating[m] has joined #asahi-dev
07:21rethematrix[m] has quit [Server closed connection]
07:21rethematrix[m] has joined #asahi-dev
07:22retonlage[m] has quit [Server closed connection]
07:22retonlage[m] has joined #asahi-dev
07:22rgort10[m] has quit [Server closed connection]
07:22rgort10[m] has joined #asahi-dev
07:24samfromspace[m] has quit [Server closed connection]
07:24samfromspace[m] has joined #asahi-dev
07:25shaman_br[m] has quit [Server closed connection]
07:26shaman_br[m] has joined #asahi-dev
07:26SocioProphet[m] has quit [Server closed connection]
07:26SocioProphet[m] has joined #asahi-dev
07:26sppdqd[m] has quit [Server closed connection]
07:26sppdqd[m] has joined #asahi-dev
07:27Guest477 has quit [Server closed connection]
07:27enick_375 has joined #asahi-dev
07:27Synth[m] has quit [Server closed connection]
07:28Synth[m] has joined #asahi-dev
07:29user974[m] has quit [Server closed connection]
07:29user974[m] has joined #asahi-dev
07:29Name[m] has quit [Server closed connection]
07:30Name[m] has joined #asahi-dev
07:31xiaomingcc[m] has quit [Server closed connection]
07:31xiaomingcc[m] has joined #asahi-dev
07:33YichaoYu[m] has quit [Server closed connection]
07:33YichaoYu[m] has joined #asahi-dev
07:45MajorBiscuit has joined #asahi-dev
07:52the_lanetly_052___ has joined #asahi-dev
08:34GraysonGuarino[m] has quit [Server closed connection]
08:34GraysonGuarino[m] has joined #asahi-dev
08:35IsfarSifat[m] has quit [Server closed connection]
08:35IsfarSifat[m] has joined #asahi-dev
08:35MatthewLeach[m] has quit [Server closed connection]
08:35MatthewLeach[m] has joined #asahi-dev
08:35null-nop[m] has quit [Server closed connection]
08:35null-nop[m] has joined #asahi-dev
08:36ybk[m] has quit [Server closed connection]
08:36ybk[m] has joined #asahi-dev
08:36zbotpath[m] has quit [Server closed connection]
08:36zbotpath[m] has joined #asahi-dev
09:42gryfbane[m] has joined #asahi-dev
10:01captain has joined #asahi-dev
10:03captain has quit []
10:12marcanfun, looks like the APCIE/ANS2 relationship is indeed as specified in ADT... which means we need to make ANS2 support multiple PDs, dammit
10:19mixi has quit [Ping timeout: 480 seconds]
10:29mixi has joined #asahi-dev
10:33marcanI get Message 1: assert failed: [11184]:HIX 256 timed out for segIdx 0x603 in 8 seconds, comp FIFO count 0, bus=0, nandOp=0 on attempting to shut down
11:12svenI only realized later that I could've also decreases the queue size then but forgot to fix that
11:13sventags can be reused once they appear on the completion queue and have been written to NVMMU_TCB_INVAL
11:21svenat least on the cq. the sq doesn’t have a head/tail because it’s not really a queue when the nvmmu is used
11:26marcanand yeah, the I/O one becomes 0 and the Admin one 4/4 if I issue the deletes and not the disable
11:31marcanI think it explodes if I try to shut it down before the "GC Search bitmap" rebuild is done
11:34marcanthe interesting thing is iBoot doesn't trigger this rebuild at all, which means it's probably booting in some kind of read-only mode?
11:45svenit's the same for this weird thing where the linux driver sometimes misses irqs or commands for other people. i could reproduce it once (but I even doubt that at this point) but since then it's been working fine for me even without that additional mystery spinlock around command submission
11:45bisko has quit [Read error: Connection reset by peer]
11:47bisko has joined #asahi-dev
12:09marcando you mind if I push straight to asahi in u-boot? or would you rather I run things through you?
12:11marcankettenis: it's easier not to clash if we use separate branches, so I can leave you in charge of asahi if you want
12:41marcankettenis: apparently PRs default to upstream uboot since ours is a fork. we could re-create the repo, or apparently GH support can just fix it for us; either way I think it's preferable if the fork relationship is removed, since otherwise we might open PRs against upstream. does that make sense?
12:41marcanif you're okay with that, I'll try the second route (apparently there's a chatbot? wonder if it's automated...)
12:43marcan(I'm talking about the 'forked from u-boot/u-boot' at the top of the repo, which apparently makes PRs default to going to that repo)
12:43marcan(would be nice if GH had a setting to control this independently, but it seems they don't...)
12:51marcanyeah, you'd want to rebase asahi when you do that anyway, which you'd be doing via the cli
12:54blasty has quit [Remote host closed the connection]
12:59marcankettenis: does u-boot support multiple PDs for a single device? because it looks like we're going to need that for ans... :(
13:15jannau has quit [Server closed connection]
13:15jannau has joined #asahi-dev
13:25amarioguy has joined #asahi-dev
13:50marcankettenis: the apcie_st nodes do truly depend on ANS2 in hardware; they refuse to come up without it
13:58bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:01kettenisdoesn't that mean you should make ps_acpie_st depend on ps_ans2 and make the mbox/sart/ans2 nodes depend on ps_acpie_st?
14:04wCPO6 has quit [Server closed connection]
14:04wCPO6 has joined #asahi-dev
14:18amarioguygeneral question: how do i get started reversing hardware? i've heard MMIO tracing mentioned a few times as a completely clean way of doing it, but can someone give me a tl;dr version or something
14:28marcankettenis: https://github.com/AsahiLinux/linux/commit/b7f2c99a9de07d20507e0393c4f3184bbfdb13ce
14:34amarioguybtw @marcan, if we want to use information from the Asahi Linux project for something independent (with credit of course!) is that allowed under the license?
14:35amarioguylike using information about Apple hardware documented on the Asahi Linux wiki, or looking at the Asahi Linux driver code as a reference for Apple hardware or stuff like that
14:37marcanlooking at driver code of course comes with the usual cleanroom caveat, i.e. if you think you might accidentally copy something copyrightable, then you should follow the license
14:37amarioguythat's good to hear, i just wanted to ask, since i know licensing can be quite a murky subject so I wanted to err on the side of caution and all
14:37marcanhonestly, re: code, I'd rather you just outright copy stuff if you want and follow the license (which isn't hard) :)
14:37amarioguydon't want to reveal my cards just yet, but it's gonna be a fun one if it goes to plan ;)
14:41yuyichao_ has quit [Ping timeout: 480 seconds]
15:01the_lanetly_052__ has joined #asahi-dev
15:07the_lanetly_052___ has quit [Ping timeout: 480 seconds]
15:17yuyichao_ has joined #asahi-dev
15:58IanPlatt[m] has joined #asahi-dev
16:09amarioguy has quit [Ping timeout: 480 seconds]
16:09amarioguy has joined #asahi-dev
16:26psykose has quit [Ping timeout: 480 seconds]
16:27psykose has joined #asahi-dev
16:28svenlol, so atcphy definitely has a few “reset the whole system if you do something wrong” modes
16:30svenI’ve only been poking some registers there and it just rebooted my system a few seconds later
16:31svensame thing happen a while ago when I tried to bring up cio to test my mailbox patches there
16:46svenhttps://github.com/AsahiLinux/m1n1/blob/main/src/usb.c#L125 that's the one that makes all regs read back as 0. i have BIT(0) as DWC3_RESET_N
17:02amarioguy has quit [Ping timeout: 480 seconds]
17:19marcan(or maybe having those on prevents powergating and only allows clockgating, which is also a thing that happens)
17:21svenapple calls the register with that reset bit something like “AON_GEN” but that could just be a coincidence
17:38yuyichao has joined #asahi-dev
17:42yuyichao_ has quit [Ping timeout: 480 seconds]
17:44the_lanetly_052__ has quit [Ping timeout: 480 seconds]
17:47the_lanetly_052__ has joined #asahi-dev
18:02yrlf has quit [Quit: The Lounge - https://thelounge.chat]
18:04yrlf has joined #asahi-dev
18:29___nick___ has joined #asahi-dev
18:31___nick___ has quit []
18:33___nick___ has joined #asahi-dev
19:41DarkShadow44 has quit [Server closed connection]
19:41DarkShadow44 has joined #asahi-dev
19:43Glanzmannm a r c a n: Could you please also apply poviks audio jack input patch, he already asked you 2 days after rebase to apply the same. With this patch audio recording over the jack works for 2020 models: https://tg.st/u/XKVZ.patch mps and I have tested it extensively on the 2020 air and pro.
19:52amarioguy has joined #asahi-dev
20:18MajorBiscuit has quit [Ping timeout: 480 seconds]
20:28bisko has joined #asahi-dev
20:47j`eyGlanzmann: if you mean u-boot logo, that's just because there's a patch that needs cherry-picking
21:04jannauthe color's are off without https://github.com/jannau/u-boot/commit/fd54b633e9ce9a103498340f454531e2fa7f7f11
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:10mpsjannau: I have same logo on arm32 peach_pi (exynos-5800 chromebook) as it is in current asahi u-boot (and it looks quite fine for me personally)
21:10amarioguy has quit [Ping timeout: 480 seconds]
21:46mpsI hope one day someone experienced with firmware will create u-boot to be flashed to 'flash rom' (leave all hopes you who enters here :) )