2021-11-23
00:02gladiac is now known as Guest6553
00:02gladiac has joined #asahi-dev
00:04gladiac is now known as Guest6554
00:04gladiac has joined #asahi-dev
00:07Guest6553 has quit [Ping timeout: 480 seconds]
00:10Guest6554 has quit [Ping timeout: 480 seconds]
00:39gladiac is now known as Guest6556
00:39gladiac has joined #asahi-dev
00:45Guest6556 has quit [Ping timeout: 480 seconds]
01:12gladiac is now known as Guest6559
01:12gladiac has joined #asahi-dev
01:15gladiac is now known as Guest6560
01:15gladiac has joined #asahi-dev
01:18Guest6559 has quit [Ping timeout: 480 seconds]
01:21Guest6560 has quit [Ping timeout: 480 seconds]
01:50gladiac is now known as Guest6563
01:50gladiac has joined #asahi-dev
01:56Guest6563 has quit [Ping timeout: 480 seconds]
02:39gabuscus_ has joined #asahi-dev
02:46gabuscus has quit [Ping timeout: 480 seconds]
02:49Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
02:54gladiac is now known as Guest6569
02:54gladiac has joined #asahi-dev
03:00Guest6569 has quit [Ping timeout: 480 seconds]
03:01skipwich has quit [Quit: DISCONNECT]
03:01skipwich has joined #asahi-dev
03:14PhilippvK has joined #asahi-dev
03:18phiologe has quit [Ping timeout: 480 seconds]
03:50kov has quit [Quit: Coyote finally caught me]
04:25gabuscus has joined #asahi-dev
04:25gabuscus_ has quit [Read error: Connection reset by peer]
04:40loki_val has joined #asahi-dev
04:43crabbedhaloablut has quit [Ping timeout: 480 seconds]
05:07kov has joined #asahi-dev
05:10chadmed has quit [Quit: Konversation terminated!]
05:28yuyichao_ has joined #asahi-dev
05:37daniels has quit [Ping timeout: 480 seconds]
05:38daniels has joined #asahi-dev
05:42marcanwhat ends up happening is a mystery bit 30 lights up in XFSTA (doesn't exist on pasemi), and the transfer state machine never moves at all
05:42marcanI compared registers and can't find any differences with the other instances; I also tried a reset via PMGR but that didn't work
05:48VinDuv_ has joined #asahi-dev
05:52VinDuv has quit [Ping timeout: 480 seconds]
05:52VinDuv_ is now known as VinDuv
06:29jannaufun. given that the 1ge mac mini is more common it would make sense to disable it by default on j274 and enable it only if present in the ADT
06:33marcanwell, if I make a generic "disable things not in the ADT" function, we can just enable it by default
06:37jannauit would work but the stealed usb device is somewhat of a special case. We would not expect random devices from the ADT missing
08:10kettenisenabling/disabling hardware in the DT based on what hardware is actually configured/present is standard practice
08:12austriancoder has quit [Read error: Connection reset by peer]
08:13austriancoder has joined #asahi-dev
09:02Dcow has joined #asahi-dev
09:08chadmed has joined #asahi-dev
09:34crabbedhaloablut has joined #asahi-dev
09:36gabuscus has quit [Ping timeout: 480 seconds]
09:37loki_val has quit [Ping timeout: 480 seconds]
09:41loki_val has joined #asahi-dev
09:44crabbedhaloablut has quit [Ping timeout: 480 seconds]
10:34minecrell has quit [Quit: :( ]
10:47kenzie41 has quit []
10:48kenzie41 has joined #asahi-dev
11:16minecrell has joined #asahi-dev
11:27minecrell has quit [Quit: :( ]
11:30minecrell has joined #asahi-dev
11:56Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
12:05gabuscus has joined #asahi-dev
12:09Dcow has joined #asahi-dev
12:16chadmed has quit [Quit: Konversation terminated!]
12:51mini has quit [Quit: ZNC closing...]
12:53mini has joined #asahi-dev
13:05marcanpovik: not exactly how I'd do it, but I like the concept. I'll probably do something like that on top of the verbose flag gate once we start shipping this with u-boot pre-bundled
13:26nkaretnikov has quit [Read error: Connection reset by peer]
13:26nkaretnikov has joined #asahi-dev
13:36Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
13:52WhyNotHugo has quit [Read error: Connection reset by peer]
13:52WhyNotHugo has joined #asahi-dev
14:03aleasto has joined #asahi-dev
14:15Dcow has joined #asahi-dev
14:15Dcow has quit []
14:33jbowen has joined #asahi-dev
14:33marcanjannau: pushed a change to disable the missing i2c devices (and it's generalized, so I use it for USB too and got rid of the old function for that)
14:37yuyichao_ has quit [Ping timeout: 480 seconds]
14:54yuyichao_ has joined #asahi-dev
15:10_jannau_I would have simply disabled the i2c busses by default until we have a target using bus. This would have postponed this problem until someone starts implementing lights out management for the 10ge mac mini
15:13Dcow has joined #asahi-dev
15:24svenand that obviously requires a fancy protocol! "The Controller in turn sends the command to the Mac Pro or Mac mini using a secured and proprietary protocol."
15:27mazsven: yeah, that. yet another thing to RE, and I'm not holding my breath. Nothing a controlled PDU can't work around.
15:27marcanhave I ever shared that comment my old boss wrote on the whiteboard when I was at Google with this crowd?
15:29marcanspeaking of yaks shaved, I think I'm done with almost the ones I wanted to shave before sending the PMGR series
15:30marcansven: think it's worth throwing PMGR reset support into the rtkit/ans stuff, so we can recover from a wedged ANS and exercise that feature in the pmgr stuff?
15:31marcanfwiw, I added shutdown support to the m1n1 client stuff; tested with SMC at least a few times until it crashes with an overflow (I think we aren't fully initializing/polling something)
15:34marcanI'll get the pmgr branch ready then, as soon as you give me the OK on that I'll fire it off
15:36marcanI was hoping to be able to crash DCP early enough to get a nice log of everything iBoot does, but it doesn't quite fit in 128 entries :(
15:36marcanthough I have mostly figured out that it initializes about 4 of the EPIC endpoints (the ones we haven't looked at yet beyond the ring buffer...), and one of them, DISP0 I believe, is actually the iBoot protocol
15:37marcanso if it comes down to it, we can *probably* implement a client for that in m1n1 to kick the display on the Mac Mini
15:37svenunrelated, but fwiw SMC actually isn't reset by iBoot but just put into some low power state
15:38marcanit actually sends the start command with another arg, which I guess makes that command the "set power/mode" command
15:43svenso maybe just have a function to poke that bit and another function to wake up SMC or something like that
15:43svenoh, and ANS firmware text also seems to be inside the same region the DCP firmware also uses. it's just the data section that seems to be inside the region that SErrors if we try to read it
15:45marcan(I still don't understand why they lock down DCP firmware and then put the entire data section in writable memory...)
15:47svenmaybe it just uses 0xb which may just be "notify co-processor that AP power state is 0x0 now" and maybe that disables all messages it tries to send?
15:47sven0x0 is completely shut down and requires a hard reset but 0x10 allows recovery by just sending that wake-up message
15:51svenyeah, that's obviously a reasonable action to take when you get an invalid argument! *sigh*
16:05mazI'll post patches for that tomorrow (can't really drop the branch merging nightmare I'm in the middle of...)
16:06Ariadne has quit [Ping timeout: 480 seconds]
16:06jkkm has quit [Ping timeout: 480 seconds]
16:06austriancoder has quit [Ping timeout: 480 seconds]
16:06arnd_ has quit [Read error: Connection reset by peer]
16:06cptcobalt has quit [Ping timeout: 480 seconds]
16:06jabashque has quit [Ping timeout: 480 seconds]
16:06austriancoder has joined #asahi-dev
16:06arnd_ has joined #asahi-dev
16:07Chainsaw has quit [Ping timeout: 480 seconds]
16:07Ariadne has joined #asahi-dev
16:07jabashque has joined #asahi-dev
16:08jkkm has joined #asahi-dev
16:08cptcobalt has joined #asahi-dev
16:08Chainsaw has joined #asahi-dev
16:10kettenismaz: I'll push the u-boot change to the branch once I've seen that hit the mailing list
16:11Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
16:17Dcow has joined #asahi-dev
16:35_jannau_make dtbs_check will complain a lot since aic/pinctrtrl/dart bindings don't allow "power-domains" properties
16:51Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
16:52Dcow has joined #asahi-dev
17:03Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
17:20Dcow has joined #asahi-dev
17:44gladiac has quit [Quit: k thx bye]
17:44gladiac has joined #asahi-dev
17:46Dcow has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
17:47X-Scale has joined #asahi-dev
17:49X-Scale` has quit [Ping timeout: 480 seconds]
17:50svenif you're also working on it i can stop rebasing/squashing and instead just adding commits on top of that
17:55fredix771 has joined #asahi-dev
18:05fredix771 has quit [Ping timeout: 480 seconds]
18:05jbowen has quit [Read error: Connection reset by peer]
18:28Dcow has joined #asahi-dev
18:30aleasto has quit [Quit: Konversation terminated!]
18:31aleasto has joined #asahi-dev
18:54nafod has quit [Remote host closed the connection]
19:03marcanI don't know why power-domains needs to be explicitly specified; that really feels like it should've been globally available (robher_?) given that at least single-PD modes are automatically handled by the driver layer, and work even for drivers with no runtime-pm support (where it just keeps the domain on)
19:10nafod has joined #asahi-dev
19:10nafod has quit [Remote host closed the connection]
19:12nafod has joined #asahi-dev
19:27firefox317_ has joined #asahi-dev
19:28firefox317_sven: in the Kconfig file in the 'WIP: soc: apple: rtkit: Add RTKit library' commit, you misspelled protocol (protocl)
19:34firefox317_in case you will upstream this ;p
19:48robher_marcan: That's all kernel implementation details and we want to define how many power domains a device has.
19:55robher_marcan: also allowing in any and every node would not be well defined. We do have that for pinctrl, but it's weird.
19:56kettenisbeing explicit probably is a good thing though, since it allows automated checking of the actual device trees
20:00marcanexpect a few patches adding those to the bindings tacked on to the series tomorrow then :)
20:09aleasto has quit [Remote host closed the connection]
20:09firefox317_ has quit [Quit: Page closed]
21:37gabuscus_ has joined #asahi-dev
21:40gabuscus has quit [Ping timeout: 480 seconds]
21:41povikhttps://github.com/povik/linux/blob/asahi/working-branch-november-21/drivers/clk/clk-apple-nco.c
21:52m6wiq has joined #asahi-dev
22:26m6wiq has quit [Quit: Leaving]
22:33phiologe has joined #asahi-dev
22:35PhilippvK has quit [Read error: No route to host]
23:42yuyichao_ has quit [Ping timeout: 480 seconds]