#
…

2024-10-28

00:37linuxgemini is now known as Guest7678
00:37Guest7678 has quit [Read error: Connection reset by peer]
00:37linuxgemini has joined #asahi-dev
00:48chrisl has joined #asahi-dev
00:55lion328 has quit [Ping timeout: 480 seconds]
00:56chrisl has quit [Ping timeout: 480 seconds]
01:07shintyl has quit [Ping timeout: 480 seconds]
01:13nea999 has joined #asahi-dev
01:25pb17 has quit [Ping timeout: 480 seconds]
01:30chrisl has joined #asahi-dev
01:34nea999 has quit [Ping timeout: 480 seconds]
01:38chrisl has quit [Ping timeout: 480 seconds]
01:56pb17 has joined #asahi-dev
02:00KxCORP58940003455 has quit [Quit: Bye!]
02:00KxCORP58940003455 has joined #asahi-dev
02:02kujeger has joined #asahi-dev
02:07kujeger- has quit [Ping timeout: 480 seconds]
02:13ellyq_ has joined #asahi-dev
02:20ellyq has quit [Ping timeout: 480 seconds]
02:31chrisl has joined #asahi-dev
02:39chrisl has quit [Ping timeout: 480 seconds]
02:55lion328 has joined #asahi-dev
03:00gabuscus has quit []
03:06ddxtanx has quit [Remote host closed the connection]
03:07ddxtanx has joined #asahi-dev
03:11ddxtanx has quit [Remote host closed the connection]
03:12ddxtanx has joined #asahi-dev
03:33tobhe_ has joined #asahi-dev
03:36yuyichao_ has quit [Ping timeout: 480 seconds]
03:37yuyichao_ has joined #asahi-dev
03:40ddxtanx has quit [Remote host closed the connection]
03:40tobhe has quit [Ping timeout: 480 seconds]
03:53pb17 has quit [Ping timeout: 480 seconds]
04:01pb17 has joined #asahi-dev
04:23chrisl has joined #asahi-dev
04:26linuxgemini is now known as Guest7696
04:26Guest7696 has quit [Read error: Connection reset by peer]
04:26linuxgemini has joined #asahi-dev
04:31chrisl has quit [Ping timeout: 480 seconds]
04:37gabuscus has joined #asahi-dev
04:44nora has joined #asahi-dev
04:46nora_ has quit [Ping timeout: 480 seconds]
04:56linuxgemini is now known as Guest7699
04:56Guest7699 has quit [Read error: Connection reset by peer]
04:56linuxgemini has joined #asahi-dev
05:22chrisl has joined #asahi-dev
05:30chrisl has quit [Ping timeout: 480 seconds]
05:33chrisl has joined #asahi-dev
05:41chrisl has quit [Ping timeout: 480 seconds]
05:56bpye has quit [Quit: Ping timeout (120 seconds)]
05:57bpye has joined #asahi-dev
05:58pb17 has quit [Ping timeout: 480 seconds]
06:06midou has quit [Ping timeout: 480 seconds]
06:14midou has joined #asahi-dev
06:15pb17 has joined #asahi-dev
06:23chrisl has joined #asahi-dev
06:29ajgae has joined #asahi-dev
06:30ajgae has quit [Remote host closed the connection]
06:31chrisl has quit [Ping timeout: 480 seconds]
06:39midou has quit [Ping timeout: 480 seconds]
06:57aak has joined #asahi-dev
07:05midou has joined #asahi-dev
07:21beto_ has quit [Read error: Connection reset by peer]
07:22betoissues has joined #asahi-dev
07:25chrisl has joined #asahi-dev
07:29ddxtanx has joined #asahi-dev
07:33chrisl has quit [Ping timeout: 480 seconds]
07:36pb17 has quit [Ping timeout: 480 seconds]
07:47pb17 has joined #asahi-dev
08:00aak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:14glem810053 has joined #asahi-dev
08:20glem81005 has quit [Ping timeout: 480 seconds]
08:20glem810053 is now known as glem81005
09:10chrisl has joined #asahi-dev
09:16pb17 has quit [Ping timeout: 480 seconds]
09:18chrisl has quit [Ping timeout: 480 seconds]
09:19Halian has joined #asahi-dev
09:28chrisl has joined #asahi-dev
09:36chrisl has quit [Ping timeout: 480 seconds]
09:38pb17 has joined #asahi-dev
09:38aak has joined #asahi-dev
09:47___nick___ has joined #asahi-dev
10:02ddxtanx_ has joined #asahi-dev
10:08ddxtanx has quit [Ping timeout: 480 seconds]
10:25PaulFertser_ has joined #asahi-dev
10:27chrisl has joined #asahi-dev
10:35chrisl has quit [Ping timeout: 480 seconds]
10:48mille77 has joined #asahi-dev
10:55mille7 has quit [Ping timeout: 480 seconds]
10:55mille77 is now known as mille7
11:05Retr0id has quit [Remote host closed the connection]
11:08Retr0id has joined #asahi-dev
11:11john-cabaj has joined #asahi-dev
11:18oliverb has joined #asahi-dev
11:43pb17 has quit [Ping timeout: 480 seconds]
12:00john-cabaj has quit [Ping timeout: 480 seconds]
12:13chrisl has joined #asahi-dev
12:13Sebastian2 has joined #asahi-dev
12:18Sebastian2 has quit []
12:21chrisl has quit [Ping timeout: 480 seconds]
12:23pb17 has joined #asahi-dev
13:02domben2 has joined #asahi-dev
13:03chrisl has joined #asahi-dev
13:03buroa23 has quit [Quit: The Lounge - https://thelounge.chat]
13:09buroa23 has joined #asahi-dev
13:11chrisl has quit [Ping timeout: 480 seconds]
13:16domben2 has quit [Ping timeout: 480 seconds]
13:18chrisl has joined #asahi-dev
13:20domben2 has joined #asahi-dev
13:22aak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:26sand4rt has joined #asahi-dev
13:40domben2 has quit [Ping timeout: 480 seconds]
13:40domben2 has joined #asahi-dev
13:41pb17 has quit [Ping timeout: 480 seconds]
13:42john-cabaj has joined #asahi-dev
13:58pb17 has joined #asahi-dev
14:26john-cabaj1 has joined #asahi-dev
14:26john-cabaj has quit [Remote host closed the connection]
14:26domben2 has quit [Remote host closed the connection]
14:44JayBeeFOSS has quit [Ping timeout: 480 seconds]
14:45JayBeeFOSS has joined #asahi-dev
14:50DarkShadow44 has quit []
14:50DarkShadow44 has joined #asahi-dev
15:20glem81005 has quit [Quit: Ping timeout (120 seconds)]
15:21glem81005 has joined #asahi-dev
15:36buroa23 has quit [Quit: The Lounge - https://thelounge.chat]
15:37buroa23 has joined #asahi-dev
15:55aak has joined #asahi-dev
16:23john-cabaj has quit [Remote host closed the connection]
16:51phire_ has joined #asahi-dev
16:51phire is now known as Guest7779
16:51phire_ is now known as phire
16:54Guest7779 has quit [Ping timeout: 480 seconds]
17:26pb17 has quit [Ping timeout: 480 seconds]
17:34pb17 has joined #asahi-dev
17:42mille7 has quit [Read error: Connection reset by peer]
17:50aakWhat do people use for testing features, other than having a spare machine
17:50aakI don't want to brick my main one
17:51chaos_princesswith few specific exceptions, you can't damage those machines from software, and while an os recovery is kind of a pain, it works.
17:52chaos_princessbut unless you are doing things like messing with partition tables, you are unlikely to destroy a different os other than one you are actively working on
17:52chaos_princessAnd even then it is unlikely to happen
17:52chaos_princessSo, just install a second copy of the os, it will be fine
17:55aakI can boot back and forth between asahi and macos? I thought that only worked on intel macs
17:56chaos_princessin fact, you are required to keep a macos install, while uninstalling it would work, this configuration is unsupported for various reasons, and if you do it and something breaks - you get to keep the pieces
17:57aak> get to keep the pieces?
17:57chaos_princessslang for "you are on your own if you need to fix it"
17:57aakah right
17:59nicolas17aak: if you go out of your way to screw up the system bootloader or something, you'll have to connect it to another computer to reflash it, that's the worst that can happen
18:00chaos_princesspmuch that. The reflash is kind of annoying to do if you do not have another mac (intel is fine, just needs to run macos).
18:00aakI think I'll try to get a spare machine from ebay, even if it's fixable screwing up my one and only machine would be costly
18:01aakYea I don't have another mac so probably a good idea to get one
18:01aakin case i need to re flash
18:01nicolas17it can be done from Linux, it's just more of a hassle
18:02chaos_princessif you want to do development on kernel components you most likely want another machine, yes (any computer works, does not have to be a mac)
18:02chaos_princessbecause the standard method involves two machine debugging
18:02aakI thought there were vm's where you could test this stuff
18:02aakthe problem is with touch id and hardware related stuff its trickier, although maybe you can have emulators?
18:02nicolas17well there are no VMs that emulate Apple's custom hardware
18:03chaos_princessit is not a vm in a classic sense, more that it uses vm-adjacent technology to allow you to puppeteer macos from another machine
18:03aakThere those mac mini stadiums that you can rent one, but again cant test hardware
18:03lion328 has quit [Ping timeout: 480 seconds]
18:04chaos_princessthose are useless, since you can't enter 1TR on those
18:08lion328 has joined #asahi-dev
18:23aak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:25Sebastian2 has joined #asahi-dev
18:31Sebastian2 has quit [Read error: Connection reset by peer]
18:52aak has joined #asahi-dev
18:56aak has quit []
18:58sand4rt has quit [Ping timeout: 480 seconds]
19:18sand4rt has joined #asahi-dev
19:29mille77 has joined #asahi-dev
19:31pb17 has quit [Ping timeout: 480 seconds]
19:52kettenisso we get an m4 imac but nothing else yet?
19:54jannauyes, apparently they are doing daily announcements until they run out of devices
19:57pb17 has joined #asahi-dev
20:00jannaukettenis: can you think of a reason why dev_get_priv() in apple_dart_unmap() for the usb xhci returns NULL on the studio in v2024.10. reproduced in v2024.10-rc2, v2024.07 was ok
20:04kettenismaybe apple_dart_remove() gets called before xhci_{dwc3|pci}_remove()?
20:10jannauindeed. I thought the device model would prevent that
20:10kettenisI think the u-boot device model is weaker than the linux version
20:11kettenisand the iommu references go sideways in the tree
20:12kettenismaybe the dart driver needs to return -EPROBE_DEFER if there are still active users
20:15jannaucan it know that? iommu_ops has .connect() but no .disconnect()
20:22ketteniscould keep track of the mappings and hope the drivers properly remove them
20:29jannauyes, doing that. -EPROBE_DEFER in remove does't seem to have the intended effect. remove is not called again
20:37kettenisso maybe implementing .connect() and a new .disconnect() and drop the remove
20:40kettenisI can look into that, but it might take me a few days
20:44jannaudo you know what's the status of https://lore.kernel.org/u-boot/20240826115940.3233167-1-sughosh.ganu@linaro.org/ is? That seems to break apple_dart because it tries to lump the per dart lmb use of iova space into a single global LMB
20:45sand4rt has quit [Ping timeout: 480 seconds]
20:45kettenisah, I was afraid it would break things
20:47jannauit looks like it will break things. if it doesn't we're probably only saved by phys memory starting high
20:51nicolas17the iMac M4 "system block diagram" was leaked btw (FCC screwed up), but I guess that's nowhere near as interesting as schematics
20:57kettenisjannau: that is different breakage from that dev_get_priv() thing though isn't it?
20:59jannaukettenis: yes. that not merged for v2024.10. I spotted it while searching in the u-boot mailing list for iommu
20:59jannauah, it's already merged
21:02kettenisyeah, with lots of stuff piled on top of it
21:02ddxtanx_ has quit [Remote host closed the connection]
21:03kettenisat this point it is porbably easiest to just bring back the old lmb code with a different name
21:04___nick___ has quit [Remote host closed the connection]
21:07ddxtanx has joined #asahi-dev
21:09sand4rt has joined #asahi-dev
21:20jannauwould it make sense to add asahi@lists.linux.dev as apple silicon maintainer in u-boot?
21:22kettenismaybe; I probably missed this because of vacation followed by too much work travel
21:28pb17 has quit [Ping timeout: 480 seconds]
21:55pb17 has joined #asahi-dev
22:08sand4rt has quit [Ping timeout: 480 seconds]
22:23sand4rt has joined #asahi-dev
22:24c10l has quit [Remote host closed the connection]
22:27c10l has joined #asahi-dev
22:47sand4rt has quit [Ping timeout: 480 seconds]
23:08jannauthere's DM_FLAG_VITAL / DM_REMOVE_NON_VITAL to order device_remove. efi boot doesn't use it but that's easily fixed
23:27DarkShadow44 has quit []
23:27DarkShadow44 has joined #asahi-dev
23:41nukelet has joined #asahi-dev
23:47pb17 has quit [Ping timeout: 480 seconds]
23:54pb17 has joined #asahi-dev
…