#
…

2025-05-22

00:02chrisl has joined #asahi-dev
00:04zumi_ has joined #asahi-dev
00:04zumi has quit [Remote host closed the connection]
00:09zumi_ is now known as zumi
00:10chrisl has quit [Ping timeout: 480 seconds]
01:19hdbngr has joined #asahi-dev
01:27hdbngr has quit [Ping timeout: 480 seconds]
01:28pb17 has quit [Remote host closed the connection]
01:28pb17 has joined #asahi-dev
01:59chrisl has joined #asahi-dev
02:10chrisl has quit [Ping timeout: 480 seconds]
02:52tobhe has joined #asahi-dev
02:55hexdump01 has joined #asahi-dev
02:55hdbngr has joined #asahi-dev
02:57hexdump0815 has quit [Ping timeout: 480 seconds]
02:59tobhe_ has quit [Ping timeout: 480 seconds]
03:05hdbngr has quit [Ping timeout: 480 seconds]
03:08nela has quit [Ping timeout: 480 seconds]
03:08chrisl has joined #asahi-dev
03:16chrisl has quit [Ping timeout: 480 seconds]
03:25nora has joined #asahi-dev
03:27nora_ has quit [Ping timeout: 480 seconds]
04:12pb17 has quit [Remote host closed the connection]
04:13pb17 has joined #asahi-dev
04:17hdbngr has joined #asahi-dev
04:25hdbngr has quit [Ping timeout: 480 seconds]
04:27hdbngr has joined #asahi-dev
04:29mattia013 has quit [Ping timeout: 480 seconds]
04:35hdbngr has quit [Ping timeout: 480 seconds]
04:56bacarrdy has quit [Ping timeout: 480 seconds]
05:35pb17 has quit [Ping timeout: 480 seconds]
05:44hdbngr has joined #asahi-dev
05:50pb17 has joined #asahi-dev
05:51bacarrdy has joined #asahi-dev
05:52hdbngr has quit [Ping timeout: 480 seconds]
05:59chrisl has joined #asahi-dev
06:07chrisl has quit [Ping timeout: 480 seconds]
06:31ravikant_ has joined #asahi-dev
06:33hdbngr has joined #asahi-dev
06:42hdbngr has quit [Ping timeout: 480 seconds]
07:03gabuscus has quit [Ping timeout: 480 seconds]
07:04chrisl has joined #asahi-dev
07:12chrisl has quit [Ping timeout: 480 seconds]
07:34hexdump01 has quit []
07:35hexdump0815 has joined #asahi-dev
07:44Calandracas_ has joined #asahi-dev
07:44Calandracas has quit [Remote host closed the connection]
07:45hdbngr has joined #asahi-dev
07:51rhysmdnz has quit [Ping timeout: 480 seconds]
07:51Guest16304 has quit [Ping timeout: 480 seconds]
07:53pb17 has quit [Remote host closed the connection]
07:53pb17 has joined #asahi-dev
07:53hdbngr has quit [Ping timeout: 480 seconds]
08:06chrisl has joined #asahi-dev
08:07enick_477 has joined #asahi-dev
08:07rhysmdnz has joined #asahi-dev
08:14chrisl has quit [Ping timeout: 480 seconds]
08:19hdbngr has joined #asahi-dev
08:21rhysmdnz has quit [Ping timeout: 480 seconds]
08:22enick_477 has quit [Ping timeout: 480 seconds]
08:27hdbngr has quit [Ping timeout: 480 seconds]
08:29nickchanfor the interest of having apfs in the kernel would it be safe to assume every asahi linux user would be using it eventually as part of using the SEP's xART gigalocker file? that usecase be sufficiently common
08:30nickchannow granted that is an usecase that only uses a small part of the filesystem code
08:31nickchanin reference to this https://lore.kernel.org/asahi/n7kkoptktdvldadvymcfmnaw3yqbk6bfmzpxvgdkpsvvpc3p7i@ilqcgz7wur7i/ and stats.asahilinux.org does have some sizable numbers
08:32enick_477 has joined #asahi-dev
08:32nickchanBut maybe that entirely falls in what should be handled by fuse not sure
08:32rhysmdnz has joined #asahi-dev
08:32nickchanthe gigalocker file probably isn't much of an io burden
08:33nela has joined #asahi-dev
08:35j`eyhard to know how many people from stats.asahi would actually want this
08:35svenwhat might be interesting for users is that apple container(?) feature where they could have a volume for macos and one for linux that share the available space. not sure if the apfs driver supports this or if that's even something users want
08:35sventhe gigalocker thing we can also hack: figure out the offset of the file from m1n1 inside that disk image and then just use raw disk r/w to modify it
08:35j`eyis the gigalocker stuff used at SEP runtime, or would it just be m1n1?
08:35svenruntime
08:36svenbut it's stored contiguously on the disk
08:36svenso we can kinda bypass all the apfs crap once we know where it is
08:36j`eyand SEP driver would use some block(?) APIs in the kernel directly?
08:37sventhe access would happen from asahi-sepd from userspace anyway
08:37hdbngr has joined #asahi-dev
08:37nickchansven: volumes in a container share space (though optional fixed allocations could be made) . To tell which volume is for which OS there are "volume groups"
08:38j`eysven: oh ok
08:38svenj`ey: so, uh, open(/dev/nvme0ns0p3) and then just read/write essentially
08:38nickchanand then an OS may need multiple volumes for different purposes and that's what the volume role is for
08:38svengigalocker is a key/value store and SEP just requests reads/write from there through its protocol
08:39svenso unless we want to parse that protocol in kernel space which doesn't seem like a good idea it's all userspace access
08:40nickchani don't think kernel space access is really needed unless one wants to access SEP encrypted apfs from the kernel which no linux driver can do right now even for normal encryption
08:41j`eybut it sounds like AFPS driver wouldnt help for the SEP use case then
08:42svenit would just make it a bit more convenient and less hacky
08:42j`eybut a big burden, code wise
08:43svenbut as long as we don't have to maintain it ;P
08:44nickchanlinux-apfs-rw maintainer does has an incentive to maintain it since it's corellium code and that guy works at corellium
08:44nickchanprobably safe to assume that corellium interanlly uses that module for something too so there's commerical interest
08:45svenlet me put it differently: I don't care much about apfs support in the kernel honestly but I'm also not going to complain if someone else manages to get it upstream
08:45hdbngr has quit [Ping timeout: 480 seconds]
08:46hdbngr has joined #asahi-dev
08:48oliverb has joined #asahi-dev
08:54hdbngr has quit [Ping timeout: 480 seconds]
09:01hdbngr has joined #asahi-dev
09:09hdbngr has quit [Ping timeout: 480 seconds]
09:32hdbngr has joined #asahi-dev
09:35pb17 has quit [Remote host closed the connection]
09:35pb17 has joined #asahi-dev
09:39gabuscus has joined #asahi-dev
09:40hdbngr has quit [Ping timeout: 480 seconds]
09:47hdbngr has joined #asahi-dev
09:55hdbngr has quit [Ping timeout: 480 seconds]
10:22svenlooks like smc will be merged after -rc1 🥳
10:39hdbngr has joined #asahi-dev
10:47hdbngr has quit [Ping timeout: 480 seconds]
10:48hdbngr has joined #asahi-dev
10:52DarkShadow4444 has joined #asahi-dev
10:56DarkShadow44 has quit [Ping timeout: 480 seconds]
10:56hdbngr has quit [Ping timeout: 480 seconds]
10:59chrisl has joined #asahi-dev
11:06hdbngr has joined #asahi-dev
11:07chrisl has quit [Ping timeout: 480 seconds]
11:14billak has joined #asahi-dev
11:14hdbngr has quit [Ping timeout: 480 seconds]
11:20JayBeeFOSS has quit [Ping timeout: 480 seconds]
11:21JayBeeFOSS has joined #asahi-dev
11:22hdbngr has joined #asahi-dev
11:30hdbngr has quit [Ping timeout: 480 seconds]
11:34billak has quit [Quit: Konversation terminated!]
11:38ravikant_ has quit [Ping timeout: 480 seconds]
11:49hdbngr has joined #asahi-dev
11:57hdbngr has quit [Ping timeout: 480 seconds]
12:08chrisl has joined #asahi-dev
12:16chrisl has quit [Ping timeout: 480 seconds]
12:21ddxtanx has quit [Quit: Konversation terminated!]
12:21ddxtanx has joined #asahi-dev
12:23hdbngr has joined #asahi-dev
12:31hdbngr has quit [Ping timeout: 480 seconds]
12:50hdbngr has joined #asahi-dev
12:58hdbngr has quit [Ping timeout: 480 seconds]
13:02bacarrdy has quit [Ping timeout: 480 seconds]
13:12alyssasven: FUSE sounds like the sanest for SEP no?
13:19svenprobably
13:22svenis there a apfs-fuse driver? we'll have to test that one very well so make sure it doesn't corrupt that xARTs partition in any way
13:22svenbecause if it does you lose access to e.g. all encrypted data on the macos volumes
13:34john-cabaj has joined #asahi-dev
13:51hdbngr has joined #asahi-dev
13:59hdbngr has quit [Ping timeout: 480 seconds]
14:01bacarrdy has joined #asahi-dev
14:24allmazz has joined #asahi-dev
14:25hazelune has joined #asahi-dev
14:35allmazz has quit [Quit: leaving]
14:52hdbngr has joined #asahi-dev
14:57chrisl has joined #asahi-dev
14:58mini_ has quit [Quit: ZNC closing...]
15:00hdbngr has quit [Ping timeout: 480 seconds]
15:03mini_ has joined #asahi-dev
15:05chrisl has quit [Ping timeout: 480 seconds]
15:11nickchani don't think there's rw apfs fuse drivers
15:19pb17 has quit [Ping timeout: 480 seconds]
15:20pb17 has joined #asahi-dev
15:24nickchansven: i think breaking xarts would outright make the boot picker (recoveryOS) not boot - not actually tested though
15:25nickchanand normal macOS will obviously not boot as well since data volume is always encrypted
15:27nickchanif gigalocker is corrupt then the init_data_protection boot-task in macOS should fail
15:32svenyeah, we really don't want to corrupt that thing
15:32sneak has quit []
15:44hdbngr has joined #asahi-dev
15:49sneak has joined #asahi-dev
15:50sneak has quit []
15:52chrisl has joined #asahi-dev
15:52sneak has joined #asahi-dev
15:52hdbngr has quit [Ping timeout: 480 seconds]
15:53hdbngr has joined #asahi-dev
15:58sneak has quit []
16:00chrisl has quit [Ping timeout: 480 seconds]
16:01hdbngr has quit [Ping timeout: 480 seconds]
16:02sneak has joined #asahi-dev
16:06john-cabaj has quit [Remote host closed the connection]
16:06cylm has joined #asahi-dev
16:10john-cabaj has joined #asahi-dev
16:17hazelune has quit [Ping timeout: 480 seconds]
16:24mripard_ has quit []
16:26hdbngr has joined #asahi-dev
16:35hdbngr has quit [Ping timeout: 480 seconds]
16:51hazelune has joined #asahi-dev
16:52chrisl has joined #asahi-dev
16:54hdbngr has joined #asahi-dev
17:01chrisl has quit [Ping timeout: 480 seconds]
17:02hdbngr has quit [Ping timeout: 480 seconds]
17:27hdbngr has joined #asahi-dev
17:32john-cabaj has quit [Remote host closed the connection]
17:34john-cabaj has joined #asahi-dev
17:35hdbngr has quit [Ping timeout: 480 seconds]
17:45hdbngr has joined #asahi-dev
17:53hdbngr has quit [Ping timeout: 480 seconds]
17:55hdbngr has joined #asahi-dev
18:03hdbngr has quit [Ping timeout: 480 seconds]
18:18hdbngr has joined #asahi-dev
18:26hdbngr has quit [Ping timeout: 480 seconds]
18:37chrisl has joined #asahi-dev
18:45chrisl has quit [Ping timeout: 480 seconds]
18:56hdbngr has joined #asahi-dev
19:04hdbngr has quit [Ping timeout: 480 seconds]
19:14hdbngr has joined #asahi-dev
19:22hdbngr has quit [Ping timeout: 480 seconds]
19:26nora has quit [Ping timeout: 480 seconds]
19:31hdbngr has joined #asahi-dev
19:38chrisl has joined #asahi-dev
19:39hdbngr has quit [Ping timeout: 480 seconds]
19:46chrisl has quit [Ping timeout: 480 seconds]
19:48hazelune has quit [Ping timeout: 480 seconds]
19:49hdbngr has joined #asahi-dev
20:02hazelune has joined #asahi-dev
20:02mattia013 has joined #asahi-dev
20:05hdbngr has quit [Ping timeout: 480 seconds]
20:11allmazz has joined #asahi-dev
20:14hdbngr has joined #asahi-dev
20:17WindowPain1 has joined #asahi-dev
20:22hdbngr has quit [Ping timeout: 480 seconds]
20:23allmazz_ has joined #asahi-dev
20:23WindowPain has quit [Ping timeout: 480 seconds]
20:23WindowPain1 is now known as WindowPain
20:24allmazz has quit [Ping timeout: 480 seconds]
20:29iyes has joined #asahi-dev
20:30hdbngr has joined #asahi-dev
20:38hdbngr has quit [Ping timeout: 480 seconds]
20:39chrisl has joined #asahi-dev
20:44allmazz has joined #asahi-dev
20:46allmazz_ has quit [Ping timeout: 480 seconds]
20:47chrisl has quit [Ping timeout: 480 seconds]
20:49bacarrdy has quit [Remote host closed the connection]
20:58hdbngr has joined #asahi-dev
21:06hdbngr has quit [Ping timeout: 480 seconds]
21:11bacarrdy has joined #asahi-dev
21:19bacarrdy has quit [Ping timeout: 480 seconds]
21:20bacarrdy has joined #asahi-dev
21:34chrisl has joined #asahi-dev
21:42chrisl has quit [Ping timeout: 480 seconds]
21:47pb17 has quit [Ping timeout: 480 seconds]
21:59hdbngr has joined #asahi-dev
22:01bacarrdy has quit [Ping timeout: 480 seconds]
22:02bacarrdy has joined #asahi-dev
22:07hdbngr has quit [Ping timeout: 480 seconds]
22:08hazelune has quit [Ping timeout: 480 seconds]
22:13pb17 has joined #asahi-dev
22:14chrisl has joined #asahi-dev
22:16hdbngr has joined #asahi-dev
22:22chrisl has quit [Ping timeout: 480 seconds]
22:23bacarrdy has quit [Ping timeout: 480 seconds]
22:24bacarrdy has joined #asahi-dev
22:24hdbngr has quit [Ping timeout: 480 seconds]
22:30chrisl has joined #asahi-dev
22:38chrisl has quit [Ping timeout: 480 seconds]
22:39hdbngr has joined #asahi-dev
22:41bacarrdy has quit [Ping timeout: 480 seconds]
22:41bacarrdy has joined #asahi-dev
22:45iyes has quit [Ping timeout: 480 seconds]
22:47hdbngr has quit [Ping timeout: 480 seconds]
22:50bacarrdy has quit [Ping timeout: 480 seconds]
22:51bacarrdy has joined #asahi-dev
22:59bacarrdy has quit [Ping timeout: 480 seconds]
23:00hdbngr has joined #asahi-dev
23:00bacarrdy has joined #asahi-dev
23:08hdbngr has quit [Ping timeout: 480 seconds]
23:08bacarrdy has quit [Ping timeout: 480 seconds]
23:09bacarrdy has joined #asahi-dev
23:16hdbngr has joined #asahi-dev
23:18bacarrdy has quit [Remote host closed the connection]
23:25hdbngr has quit [Ping timeout: 480 seconds]
23:30chrisl has joined #asahi-dev
23:38chrisl has quit [Ping timeout: 480 seconds]
23:38cylm has quit [Ping timeout: 480 seconds]
23:56chrisl has joined #asahi-dev
…