2023-01-17
00:03hightower4 has quit [Ping timeout: 480 seconds]
00:54hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:12seeeath has joined #asahi-dev
01:29hightower4 has joined #asahi-dev
01:36hightower3 has quit [Ping timeout: 480 seconds]
01:52hightower3 has joined #asahi-dev
01:53seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:55seeeath has joined #asahi-dev
01:59hightower4 has quit [Ping timeout: 480 seconds]
02:00seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:16amarioguy has joined #asahi-dev
02:21hightower4 has joined #asahi-dev
02:28hightower3 has quit [Ping timeout: 480 seconds]
02:47seeeath has joined #asahi-dev
02:49seeeath has quit []
03:00seeeath has joined #asahi-dev
03:00seeeath has quit []
03:29marcanIRQ behavior on s2idle is opt-in, right now we opt in all mailboxes under the assumption that mostly everything but SMC will be shut down anyway
04:10hertz has joined #asahi-dev
04:36nyx_o has quit [Quit: WeeChat 3.5]
05:00c10l has quit [Quit: Bye o/]
05:00c10l has joined #asahi-dev
05:27faruk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:29nyx_o has joined #asahi-dev
07:43zzywysm has joined #asahi-dev
08:42amw has quit [Ping timeout: 480 seconds]
09:17c10l1 has joined #asahi-dev
09:24c10l has quit [Ping timeout: 480 seconds]
09:38leitao has joined #asahi-dev
09:43tim has joined #asahi-dev
09:43tim is now known as Guest1569
09:52leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:59leitao has joined #asahi-dev
10:00leitao has quit []
10:09leitao has joined #asahi-dev
10:30leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:41faruk has joined #asahi-dev
10:43faruk has quit []
10:44leitao has joined #asahi-dev
10:44jluthra has quit [Remote host closed the connection]
10:45jluthra has joined #asahi-dev
10:54eiln has joined #asahi-dev
10:57eiln has quit [Remote host closed the connection]
10:59eiln has joined #asahi-dev
11:24leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:25leitao has joined #asahi-dev
12:01leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:06hightower3 has joined #asahi-dev
12:13hightower4 has quit [Ping timeout: 480 seconds]
12:17hightower3 has quit [Ping timeout: 480 seconds]
12:32zalyx has quit [Read error: Connection reset by peer]
12:33zalyx has joined #asahi-dev
12:37leitao has joined #asahi-dev
12:39chadmed_ has quit [Remote host closed the connection]
12:40svenlol, so thunderbolt hotplug seems to work pretty well. it just doesn't detect the adapter the first time for some reason
12:41sven0001:01:00.0 PCI bridge: Intel Corporation DSL2210 Thunderbolt Controller [Port Ridge 1C 2011]
12:41chadmed_ has joined #asahi-dev
12:47hightower2 has joined #asahi-dev
12:55c10l1 has quit []
12:56c10l has joined #asahi-dev
13:05eiln has quit [Remote host closed the connection]
13:14jannausven DSL2210 seems to be a thunderbolt 1 device controller so that is might already be on the ethernet adapter
13:15svenhttps://paste.debian.net/hidden/2c372cad/ looks like i might've messed up something when describing the bus in the dt, let me double check that
13:16faruk has joined #asahi-dev
13:20bisko has joined #asahi-dev
13:30leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:32leitao has joined #asahi-dev
13:40faruk has quit [Quit: Textual IRC Client: www.textualapp.com]
13:47chadmed_ has quit [Remote host closed the connection]
13:48sven0001:01:00.0 PCI bridge: Intel Corporation DSL2210 Thunderbolt Controller [Port Ridge 1C 2011]
13:48sven0001:02:00.0 PCI bridge: Intel Corporation DSL2210 Thunderbolt Controller [Port Ridge 1C 2011]
13:48sven0001:03:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57762 Gigabit Ethernet PCIe
13:48svenand I need to read code to understand how the kernel handles hotplug management because right now this is only works with even more ugly hacks
13:48eiln has joined #asahi-dev
13:48chadmed_ has joined #asahi-dev
13:58mazdo you get the interrupt on the RP when plugging in the device? this should be what triggers the rescan.
13:59svenit's a bit more ugly. I need to wait for the Thunderbolt NHI to activate the PCIe link and only then clear some "tunnel reset" bit and then trigger the link-training and only then the "port up" interrupt appears
14:04___nick___ has joined #asahi-dev
14:04___nick___ has quit []
14:06___nick___ has joined #asahi-dev
14:06bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:13jannauhttps://www.apple.com/newsroom/2023/01/apple-unveils-macbook-pro-featuring-m2-pro-and-m2-max/
14:14povikhttps://www.apple.com/newsroom/2023/01/apple-introduces-new-mac-mini-with-m2-and-m2-pro-more-powerful-capable-and-versatile-than-ever/
14:15ChaosPrincessoh, hey wifi6e finally
14:23faruk has joined #asahi-dev
14:24ChaosPrincesssven: it appears they route the hdmi output to tb now
14:25ChaosPrincesscause it is thunderbolt + thunderbolt or hdmi
14:25leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:28eiln has quit [Remote host closed the connection]
14:28leitao has joined #asahi-dev
14:33ChaosPrincesswould be nice to see device trees for those machines
14:33mazwhat I'd really like is a mask on the vgic maintenance interrupt. can't imagine that happening either (and I wouldn't know where to look)
14:33ChaosPrincessbut ipsws aren't up yet
14:33faruk has quit [Quit: Textual IRC Client: www.textualapp.com]
14:41chadmed_ has quit [Ping timeout: 480 seconds]
14:45mazwhat I like about it is that the pico is the serial adapter. and in theory, one adapter could deal with two FUSB302 (one per I2C bus), which is useful when you have multiple boxes.
14:47nicolas17 has joined #asahi-dev
14:56sven[ 3.460700] thunderbolt-apple-cio 501f00000.nhi: Port 6: 5ac:2000 (Revision: 0, TB Version: 1, Type: DP/HDMI (0xe0101))
14:56svenwhich also seems to come up at least on the NHI side when I connected my old thunderbolt display via apple's 3->2 adapter
14:57svenso I guess we'll have to come up with some kind of NHI -> {pcie, dpin0-phy, dpin1-phy} notification system anyway
15:02eiln has joined #asahi-dev
15:22nate8 has joined #asahi-dev
15:26jannauI wonder whether the display out switching will work on the m2 laptops too. 2 external displays in clamshell mode could be interesting. I doubt apple will support that in macos
15:32eiln has quit [Remote host closed the connection]
15:44seeeath has joined #asahi-dev
15:48nicolas17 has quit [Ping timeout: 480 seconds]
15:49seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:50seeeath has joined #asahi-dev
15:55nate8 has quit [Quit: Leaving]
15:55nate8 has joined #asahi-dev
15:59vivithecanine2 external in clamshell works fine on mbp m1 max
15:59vivithecanine3 works fine even
16:00vivithecanineI think the max does a total of 5 displays?
16:00jannauthis would be for the m2 mb air and and pro 13" which support only 1 external display officially
16:05sventhe config space was just completely messed up because I unplugged the adapter and that's why I assumed it was broken
16:06sventhis currently runs on essentially duct tape so i'll have to clean that up and then figure out how to get that DART up sanely
16:06marcanalso, for the DART, vague idea I had was to play with runtime-pm somehow? like have the DART driver defer doing anything and start up in rpm sleep state, only to be woken up when the PCIe dependency needs it. or something something.
16:07sveni'll see what happens if I just fake a clock controller for now just to see if that breaks already
16:07svenit might just work because it technically doesn't need the DART before the first device comes up
16:08sventurns out I can just leave the thunderbolt stuff up the entire time because it's much less broken than dwc3
16:09jannauruntime pm might be annoying, the internal pcie devices are runtime pm enabled on probe_device
16:09svenI actually haven't figured out how to bring it down without resetting the entire soc yet :D
16:11svenif you mess that one up though you either get SErrors on pcie/acio MMIO access or some internal watchdog just resets everything
16:14leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:15jannaumarcan: with https://github.com/jannau/linux/commit/e941a3e8a1dd7ecdcaa032d1fe75b2fb97ccff3c there is at least no breakage with DART runtime PM, not sure if runtime PM would work correctly if any of the pcie drivers supported it
16:16leitao has joined #asahi-dev
16:22nicolas17 has joined #asahi-dev
16:28leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:29leitao has joined #asahi-dev
16:36yamii has quit [Remote host closed the connection]
16:36yamii has joined #asahi-dev
16:39Guest1569 has quit [Ping timeout: 480 seconds]
16:42seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:42seeeath has joined #asahi-dev
16:59kettenis_ has joined #asahi-dev
17:00povikthe curves are roughly overlaid because TI chose the units in a ~3.7 ohm ratio (understandably)
17:01cylm has joined #asahi-dev
17:01kettenis has quit [Ping timeout: 480 seconds]
17:05leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:07leitao has joined #asahi-dev
17:18svenokay, removing and plugging in again works when I manually set that tunnel reset but again inbetween as well
17:23faruk has joined #asahi-dev
17:24jannauany idea how to wake from s2idle in upstream v6.2-rc4 (without macsmc)? I tried enabling wakeup for usb devices and ttySAC0 but both don't appear to work
17:28bcrumb has joined #asahi-dev
17:32bcrumb_ has joined #asahi-dev
17:33bcrumb_ has quit []
17:33bcrumb_ has joined #asahi-dev
17:37bcrumb has quit [Ping timeout: 480 seconds]
18:00povikyeah, but the -60 dB figure is quoted at 5 W, and if i didn't miscalculate i only drove 10 mW to it
18:05bcrumb_ has quit [Quit: WeeChat 3.8]
18:07faruk has quit [Read error: Connection reset by peer]
18:39leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:56seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:56seeeath has joined #asahi-dev
18:57eiln has joined #asahi-dev
19:02faruk has joined #asahi-dev
19:02faruk has quit []
19:08eiln has quit [Remote host closed the connection]
19:45nate8 has quit [Remote host closed the connection]
19:46nate8 has joined #asahi-dev
20:27seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:27seeeath has joined #asahi-dev
20:36eiln has joined #asahi-dev
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:35abby has quit [Remote host closed the connection]
21:35abby has joined #asahi-dev
21:43psykose has quit [Remote host closed the connection]
21:44psykose has joined #asahi-dev
22:02nicolas17the raw thing I found (from a regulatory listing) was "J414 A2779 MBP 14 SG/10C/16C GPU/16G/512G-USA~||~MPHF3"
22:05bluetail has quit [Quit: The Lounge - https://thelounge.chat]
22:06nicolas17FCC wireless testing documents also mentioned these new machines running macOS 22A8375 and 22A12320r (ie. macOS 13.0),
22:08bluetail has joined #asahi-dev
22:45jannaudid anyone already ran ventura 13.2 beta or earlier in the HV? panics here immediately with "trust cache module 0 has unsupported version 2 @trustcache.c:113" and some AppleImage4 errors before
22:50karolherbst has quit [Remote host closed the connection]