2021-11-21
00:33nsklaus has quit [Quit: WeeChat 3.3]
00:55nsklaus has joined #asahi-dev
01:07kenzie has quit [Quit: The Lounge - https://thelounge.chat]
03:06yuyichao_ has joined #asahi-dev
03:08aquijoule_ has joined #asahi-dev
03:14richbridger has quit [Ping timeout: 480 seconds]
03:14psykose has quit [Remote host closed the connection]
03:15psykose has joined #asahi-dev
03:16PhilippvK has joined #asahi-dev
03:20phiologe has quit [Ping timeout: 480 seconds]
03:38kov has quit [Quit: Coyote finally caught me]
04:02palmer_ has joined #asahi-dev
04:02palmer_ has quit [Remote host closed the connection]
04:35phire_ has joined #asahi-dev
04:35phire is now known as Guest6421
04:35phire_ is now known as phire
04:37Guest6421 has quit [Ping timeout: 480 seconds]
06:02Dcow has joined #asahi-dev
06:10Dcow has quit [Ping timeout: 480 seconds]
07:23rkt has joined #asahi-dev
07:47aquijoule_ is now known as richbridger
07:49richbridger has quit []
07:49richbridger has joined #asahi-dev
07:50richbridger has quit [Remote host closed the connection]
07:50richbridger has joined #asahi-dev
07:57Dcow has joined #asahi-dev
08:30richbridger has quit [Remote host closed the connection]
08:45rkt has left #asahi-dev [#asahi-dev]
10:15kov has joined #asahi-dev
10:21aleasto has joined #asahi-dev
10:53gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:53gabuscus has joined #asahi-dev
11:15the_lanetly_052___ has joined #asahi-dev
11:30svenAnd there nvme is attached over pcie so you “just” need a few quirks to the normal driver to make it work in that mode
11:43gladiac is now known as Guest6447
11:43gladiac has joined #asahi-dev
11:47gladiac has quit []
11:48gladiac has joined #asahi-dev
11:49Guest6447 has quit [Ping timeout: 480 seconds]
12:17gladiac is now known as Guest6448
12:17gladiac has joined #asahi-dev
12:23Guest6448 has quit [Ping timeout: 480 seconds]
12:47the_lanetly_052___ has quit [Ping timeout: 480 seconds]
12:53aleasto has quit [Remote host closed the connection]
13:20gladiac is now known as Guest6452
13:20gladiac has joined #asahi-dev
13:26Guest6452 has quit [Ping timeout: 480 seconds]
14:19nsklaus has quit [Quit: WeeChat 3.3]
14:23klaus has joined #asahi-dev
15:05marcanalso there's some extra stuff that has to happen with the designware registers to make it train at the right speed on the first go (ASPM ends up making it retrain anyway, but that's after linux complains about a speed bottleneck)
15:05marcanremind me again why we aren't reusing any code from drivers/pci/controller/dwc? It's the same registers for the parts that are shared...
15:21Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
15:57marcanI kind of hate that. It's poking config space registers, but since this is before the PCI bus gets initialized, we can't use the usual accessors...
15:59marcanAlso, the pmgr stuff in t6000/bringup-work is what I'm going to send as v3, modulo I need to do a final check to make sure I didn't do anything silly :)
16:00marcanmain changes are I enable auto-PM now (unconditionally, seems to be fine) and also force on "always-on" things that aren't, but complain. There's also a bit of cleanup/fixes, and also the t6000 compatible in the bindings.
16:03kettenismarcan: some of the link speed related setup is actually done by the tunables applied by m1n1
16:04marcanyou get this: [ 0.266469] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
16:04marcanbecause without PORT_LOGIC_SPEED_CHANGE preset (can be done before initial link training), it just comes up at Gen1
16:05marcanthe max speed thing is tangential, it defaults to Gen4 but still comes up at Gen1 without that bit
17:00jkkm has quit [Remote host closed the connection]
17:00cptcobalt has quit [Remote host closed the connection]
17:00nkaretnikov has quit [Remote host closed the connection]
17:00nathanchance has quit [Remote host closed the connection]
17:07jabashque has quit [Remote host closed the connection]
17:11weems_ has quit [Remote host closed the connection]
17:11brinly has quit [Remote host closed the connection]
17:23austriancoder has quit [Ping timeout: 480 seconds]
17:24esden has quit [Ping timeout: 480 seconds]
17:24philpax has quit [Ping timeout: 480 seconds]
17:25tom-w has quit [Ping timeout: 480 seconds]
17:25robher has quit [Ping timeout: 480 seconds]
17:25kendfinger has quit [Ping timeout: 480 seconds]
17:25Chainsaw has quit [Ping timeout: 480 seconds]
17:25Ariadne has quit [Ping timeout: 480 seconds]
17:26sjg1 has quit [Ping timeout: 480 seconds]
17:26arnd_ has quit [Ping timeout: 480 seconds]
17:27daniels has quit [Ping timeout: 480 seconds]
17:35kettenismarcan: since you rebased the PMGR stuff on top of a tree that has more stuff than what has been submitted upstream so far, the bits that actually add the nodes to the device tree won't apply
17:36Dcow has joined #asahi-dev
18:50weems_ has joined #asahi-dev
18:55tardyp has joined #asahi-dev
18:55brinly has joined #asahi-dev
18:57NekomimiScience has joined #asahi-dev
19:01jabashque has joined #asahi-dev
19:04arnd_ has joined #asahi-dev
19:04kendfinger has joined #asahi-dev
19:04esden has joined #asahi-dev
19:04robher has joined #asahi-dev
19:05sjg1 has joined #asahi-dev
19:05daniels has joined #asahi-dev
19:08cptcobalt has joined #asahi-dev
19:09jkkm has joined #asahi-dev
19:09nkaretnikov has joined #asahi-dev
19:10Chainsaw has joined #asahi-dev
19:10nathanchance has joined #asahi-dev
19:10philpax has joined #asahi-dev
19:10Ariadne has joined #asahi-dev
19:11austriancoder has joined #asahi-dev
19:14tom-w has joined #asahi-dev
19:41maor26 has joined #asahi-dev
19:50thunfisch has quit [Remote host closed the connection]
19:50thunfisch has joined #asahi-dev
19:56thunfisch has quit [Remote host closed the connection]
19:57thunfisch has joined #asahi-dev
20:05thunfisch is now known as Guest6468
20:05thunfisch has joined #asahi-dev
20:05Guest6468 has quit [Ping timeout: 480 seconds]
20:16thunfisch has quit [Remote host closed the connection]
20:16thunfisch has joined #asahi-dev
20:26gladiac is now known as Guest6469
20:26gladiac has joined #asahi-dev
20:31Guest6469 has quit [Ping timeout: 480 seconds]
20:42kenzie has joined #asahi-dev
20:50Dcow_ has joined #asahi-dev
20:55Dcow has quit [Ping timeout: 480 seconds]
20:57kenzie has quit [Quit: The Lounge - https://thelounge.chat]
20:58kenzie has joined #asahi-dev
21:08X-Scale has joined #asahi-dev
21:13X-Scale` has quit [Ping timeout: 480 seconds]
21:43kenzie has quit [Quit: The Lounge - https://thelounge.chat]
21:45kenzie has joined #asahi-dev
21:45X-Scale` has joined #asahi-dev
21:50X-Scale has quit [Ping timeout: 480 seconds]
21:52marcankettenis: yeah, I know, I'll rebase that anyway; I'm just using this branch as my kitchen sink to exercise the patches
21:54kenzie has quit [Quit: The Lounge - https://thelounge.chat]
21:58jannaumarcan: does the branch work for you on the mac mini? pmgr seems to cause here a SError in apple_dart_hw_reset of the PCIe dart
22:03kenzie has joined #asahi-dev
22:04kenzie has quit []
22:05kenzie has joined #asahi-dev
22:10jannaukernel bacttrace bare metal: https://gist.github.com/jannau/83e2b4d8af3565ebf3baabb6542e7e75
22:14marcan[cpu1][0xffffc0001049cf50] PMGR: W.4 0x23b7003a8 (DISPDFR_FE.pstate + 0x00) = 0x300 -> 0xf
22:14marcan[cpu1][0xffffc0001049cf50] PMGR: W.4 0x23b7003a8 (DISPDFR_FE.pstate + 0x00) = 0x3ff -> 0x10000300
22:22marcanjannau: can you run it with `-m hv/trace_pmgr.py` (which I just pushed) and paste the HV side log including the SError dump?
22:34marcan(this is a bit of a limbo state inside the HV but not on the host side, but it should work)
22:35marcanonly thing I can think of is we're using different iBoot versions and there's some difference
22:38jannauanother potential difference is that iboot doesn't detect my display but we should be good if you tested without display connected. also unclear how it would be related
22:40RealityVoid has quit [Remote host closed the connection]
22:40RealityVoid has joined #asahi-dev
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:12yrlf has joined #asahi-dev
23:23maor26 has quit [Ping timeout: 480 seconds]
23:31palmer_ has joined #asahi-dev
23:32palmer_ has quit [Remote host closed the connection]