2023-02-19
00:45chadmed has quit [Remote host closed the connection]
00:54nate8 has quit [Ping timeout: 480 seconds]
01:04chadmed has joined #asahi-dev
01:12chadmedi get TINF_DATA_ERROR with a 330mb initrd, but making a smaller one with the same method works fine so i assume its a size thing
01:37seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:41chadmedwhich is odd because it decompresses fine when passing to linux.py, just not run_guest.py
02:09seeeath has joined #asahi-dev
02:41zef_ has joined #asahi-dev
02:48zef has quit [Ping timeout: 480 seconds]
02:59hightower3 has joined #asahi-dev
03:06hightower2 has quit [Ping timeout: 480 seconds]
03:17chadmed has quit [Remote host closed the connection]
03:21seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:26lawrence has quit [Ping timeout: 480 seconds]
03:36lawrence has joined #asahi-dev
03:40cylm has joined #asahi-dev
03:49chadmed has joined #asahi-dev
04:28seeeath has joined #asahi-dev
05:46cylm has quit [Ping timeout: 480 seconds]
05:50seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:20jfreedman0 has joined #asahi-dev
06:21seeeath has joined #asahi-dev
06:24jfreedman0 has quit [Quit: Igloo IRC: https://iglooirc.com]
06:35thevar1able has quit [Remote host closed the connection]
06:36thevar1able has joined #asahi-dev
06:39thevar1able has quit [Remote host closed the connection]
06:43thevar1able has joined #asahi-dev
06:53seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:43korniltsev has joined #asahi-dev
07:51povikisn't it simply a case of the hypervisor cropping the payload or otherwise damaging it past a certain size limit?
07:54poviki am surprised this doesn't error out on that large a payload since run_guest.py allocated 128mb for the heap
08:00korniltsev has quit [Quit: Konversation terminated!]
08:04stickytoffee has quit [Quit: Ping timeout (120 seconds)]
08:04stickytoffee has joined #asahi-dev
08:53chadmednot sure the hv is cropping off the tail of the file since it passes all of tinf's length sanity checks
09:04jeffmiw has joined #asahi-dev
09:25zzywysm has quit [Ping timeout: 480 seconds]
09:41chadmed has quit [Quit: Konversation terminated!]
09:41chadmed has joined #asahi-dev
09:43akspecs has quit [Remote host closed the connection]
09:43akspecs has joined #asahi-dev
09:45akspecs has quit [Remote host closed the connection]
09:45akspecs has joined #asahi-dev
09:50jannauyou could try https://github.com/AsahiLinux/m1n1/pull/268 which defers uncompressing to linux
09:51jannauthat's close: "unsigned int source_len = size, dest_len = 1 << 30; // 1 GiB should be enough hopefully
09:55psykose has quit [Remote host closed the connection]
09:56psykose has joined #asahi-dev
10:01chadmednot quite, its most of the gentoo installer with firmware and some other useless stuff ripped out
10:03weitcis has quit [Ping timeout: 480 seconds]
10:11gladiac has joined #asahi-dev
10:18weitcis has joined #asahi-dev
11:03jannauyes, compressed_writemem should fail (from quick code inspection) if it can't allocate enough heap
11:08chadmedyeah, all the comments in proxyutils references 128mb as the default too though which is where i got confused
11:16gladiac has quit [Quit: k thx bye]
11:52r0ni has joined #asahi-dev
11:55Dementor has quit [Remote host closed the connection]
11:56Dementor has joined #asahi-dev
12:01hightower3 has quit [Ping timeout: 480 seconds]
12:32hightower2 has joined #asahi-dev
12:45chadmed has quit [Remote host closed the connection]
12:54svenpovik: w.r.t. those SIO bindings, do I understand it correctly that the memory-region things have to be mapped inside the SIO DART, that m1n1 will prepare e.g. sio_auxdata2 and then put the hardcoded IOVA pointing to sio_auxdata2 into apple,sio-firmware-params?
12:54svenand "apple,sio-firmware-params" is just something that's passed to the SIO firmware using some rtkit messages?
13:05chadmed has joined #asahi-dev
13:25svenmy cold is finally gone so that I can catch up on emails and try to get my inbox empty again ;)
14:00kesslerd has joined #asahi-dev
14:07povikif you haven't seen there's this standard way to arrange the mappings ^-- (not sure if that was the final version of the series)
14:15jannaustill depends on patches in the asahi tree to support mappings with translation. I plan to send them out after v6.3-rc1
14:23sam_- is now known as sam_
14:32povikaha, the upstream series merely reserves the iovas, doesn't set up translation for those but assumes some other mechanism resolves those addresses
14:51sventhe device tree is also a bit of a mess because I need to bring down the DART on unplug as well (https://f.svpe.de/aa6c13322a846da8a88166c38603ba89cfee68a74d3cdbd5e4605d13f675f11e_acio_dt.txt)
15:42svenfor anyone who knows how to actually run and debug this (i.e. no end users!): https://github.com/AsahiLinux/linux/tree/atcphy-20230219
15:42svennote that this only allows thunderbolt 1,2 and 3 (i.e. no USB3, no USB4, no DP) mainly because I've been too lazy to deal with tipd/typec yet.
15:43svenI don't care about bug reports, I only care about bug reports together with patches that fix them for now :P
15:50seeeath has joined #asahi-dev
16:03kesslerd has quit [Remote host closed the connection]
16:04kesslerd has joined #asahi-dev
16:05kesslerd has quit [Remote host closed the connection]
16:35seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:35seeeath has joined #asahi-dev
16:44bluetail986 has quit [Ping timeout: 480 seconds]
16:47amarioguy has quit [Remote host closed the connection]
16:48amarioguy has joined #asahi-dev
16:51bluetail986 has joined #asahi-dev
16:54jannauchadmed: I get an out of memory error from run_guest.py with a larger kernel (with debug symbols)
17:05zzywysm has joined #asahi-dev
17:10jannausven: any config dependencies except enabling the added CONFIG_* and PCI_HOTPLUG? I see the thunderbolt pcie controller but no devices
17:13kesslerd has joined #asahi-dev
17:14svenuntil the tipd stuff is done you might have to change the value of that vse cable info thing manually
17:15jannauyes, tried replugging multiple devices. thunderbolt3 nvme adapter, thunderbolt3 monitor (afaik dp and usb) and usb4 hub. I expect the latter two to be broken
17:19bluetail986 has quit [Ping timeout: 480 seconds]
17:24amarioguy has quit [Ping timeout: 480 seconds]
17:24kesslerd has quit [Remote host closed the connection]
17:26kesslerd has joined #asahi-dev
17:31kesslerd has quit [Remote host closed the connection]
17:32kesslerd has joined #asahi-dev
17:32bluetail986 has joined #asahi-dev
17:39cylm has joined #asahi-dev
17:41kesslerd has quit [Remote host closed the connection]
17:42kesslerd has joined #asahi-dev
17:56jannauyes, nothing suspicious changed there. is it normal that the second tps698x is not removed/disabled when using the first usb-c port for the HV?
18:01svenno idea, I was just confused by first and second because I always think of the ports as atcphy0/1
18:04jannauno, I didn't but there is something missing since usb-pd@3f is deferred. I assumed that was the one connected to the hv port
18:19svenI don’t remember which part but if some but in the usb2 phy part isn’t set it cleared the soft reset bit inside dwc3 is stuck
18:30jannauirqs work now and the thunderbolt connection is detected. it fails with "-ETIMEDOUT: M3 firmware failed to boot"
18:53spikerguy has joined #asahi-dev
19:01ChaosPrincessthat is only t8103 rn, no m1 pro/max?
19:57kesslerd has quit [Remote host closed the connection]
19:57kesslerd has joined #asahi-dev
20:42spikerguy has quit [Quit: Page closed]
20:48hightower2 has quit [Remote host closed the connection]
20:48hightower2 has joined #asahi-dev
21:25svenusually the error mode here is just “nhi comes up but can’t establish a connection so that it never sees a hotplug event”
22:16hightower2 has quit [Ping timeout: 480 seconds]
22:38hightower2 has joined #asahi-dev
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:00darkapex has quit [Remote host closed the connection]
23:01yrlf has joined #asahi-dev
23:01darkapex has joined #asahi-dev
23:03stsmwg has joined #asahi-dev
23:05beeblebrox has quit [Remote host closed the connection]
23:22stsmwg has quit [Quit: Lost terminal]