ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
chrisl has joined #asahi-dev
zumi_ has joined #asahi-dev
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has quit [Remote host closed the connection]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi-dev
hexdump01 has joined #asahi-dev
hdbngr has joined #asahi-dev
hexdump0815 has quit [Ping timeout: 480 seconds]
tobhe_ has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
nela has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
nora has joined #asahi-dev
nora_ has quit [Ping timeout: 480 seconds]
pb17 has quit [Remote host closed the connection]
pb17 has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
mattia013 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
pb17 has joined #asahi-dev
bacarrdy has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
ravikant_ has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
gabuscus has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hexdump01 has quit []
hexdump0815 has joined #asahi-dev
Calandracas_ has joined #asahi-dev
Calandracas has quit [Remote host closed the connection]
hdbngr has joined #asahi-dev
rhysmdnz has quit [Ping timeout: 480 seconds]
Guest16304 has quit [Ping timeout: 480 seconds]
pb17 has quit [Remote host closed the connection]
pb17 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
enick_477 has joined #asahi-dev
rhysmdnz has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
rhysmdnz has quit [Ping timeout: 480 seconds]
enick_477 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
<nickchan> for 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
<nickchan> now granted that is an usecase that only uses a small part of the filesystem code
<nickchan> in reference to this https://lore.kernel.org/asahi/n7kkoptktdvldadvymcfmnaw3yqbk6bfmzpxvgdkpsvvpc3p7i@ilqcgz7wur7i/ and stats.asahilinux.org does have some sizable numbers
enick_477 has joined #asahi-dev
<nickchan> But maybe that entirely falls in what should be handled by fuse not sure
rhysmdnz has joined #asahi-dev
<nickchan> the gigalocker file probably isn't much of an io burden
nela has joined #asahi-dev
<j`ey> hard to know how many people from stats.asahi would actually want this
<sven> what 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
<sven> the 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
<j`ey> is the gigalocker stuff used at SEP runtime, or would it just be m1n1?
<sven> runtime
<sven> but it's stored contiguously on the disk
<sven> so we can kinda bypass all the apfs crap once we know where it is
<j`ey> and SEP driver would use some block(?) APIs in the kernel directly?
<sven> the access would happen from asahi-sepd from userspace anyway
hdbngr has joined #asahi-dev
<nickchan> sven: 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"
<j`ey> sven: oh ok
<sven> j`ey: so, uh, open(/dev/nvme0ns0p3) and then just read/write essentially
<nickchan> and then an OS may need multiple volumes for different purposes and that's what the volume role is for
<sven> gigalocker is a key/value store and SEP just requests reads/write from there through its protocol
<sven> so unless we want to parse that protocol in kernel space which doesn't seem like a good idea it's all userspace access
<nickchan> i 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
<j`ey> but it sounds like AFPS driver wouldnt help for the SEP use case then
<sven> it would just make it a bit more convenient and less hacky
<j`ey> but a big burden, code wise
<sven> yup
<sven> but as long as we don't have to maintain it ;P
<nickchan> linux-apfs-rw maintainer does has an incentive to maintain it since it's corellium code and that guy works at corellium
<nickchan> probably safe to assume that corellium interanlly uses that module for something too so there's commerical interest
<sven> let 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
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
oliverb has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
pb17 has quit [Remote host closed the connection]
pb17 has joined #asahi-dev
gabuscus has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
<sven> looks like smc will be merged after -rc1 🥳
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
DarkShadow4444 has joined #asahi-dev
DarkShadow44 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
billak has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
billak has quit [Quit: Konversation terminated!]
ravikant_ has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
ddxtanx has quit [Quit: Konversation terminated!]
ddxtanx has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
<alyssa> sven: FUSE sounds like the sanest for SEP no?
<sven> probably
<sven> is 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
<sven> because if it does you lose access to e.g. all encrypted data on the macos volumes
<j`ey> https://github.com/sgan81/apfs-fuse read only though
john-cabaj has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
allmazz has joined #asahi-dev
hazelune has joined #asahi-dev
allmazz has quit [Quit: leaving]
hdbngr has joined #asahi-dev
chrisl has joined #asahi-dev
mini_ has quit [Quit: ZNC closing...]
hdbngr has quit [Ping timeout: 480 seconds]
mini_ has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<nickchan> i don't think there's rw apfs fuse drivers
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
<nickchan> sven: i think breaking xarts would outright make the boot picker (recoveryOS) not boot - not actually tested though
<nickchan> and normal macOS will obviously not boot as well since data volume is always encrypted
<nickchan> if gigalocker is corrupt then the init_data_protection boot-task in macOS should fail
<sven> yeah, we really don't want to corrupt that thing
sneak has quit []
hdbngr has joined #asahi-dev
sneak has joined #asahi-dev
sneak has quit []
chrisl has joined #asahi-dev
sneak has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
sneak has quit []
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
sneak has joined #asahi-dev
john-cabaj has quit [Remote host closed the connection]
cylm has joined #asahi-dev
john-cabaj has joined #asahi-dev
hazelune has quit [Ping timeout: 480 seconds]
mripard_ has quit []
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hazelune has joined #asahi-dev
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
john-cabaj has quit [Remote host closed the connection]
john-cabaj has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
nora has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
chrisl has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
hazelune has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hazelune has joined #asahi-dev
mattia013 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
allmazz has joined #asahi-dev
hdbngr has joined #asahi-dev
WindowPain1 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
allmazz_ has joined #asahi-dev
WindowPain has quit [Ping timeout: 480 seconds]
WindowPain1 is now known as WindowPain
allmazz has quit [Ping timeout: 480 seconds]
iyes has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
allmazz has joined #asahi-dev
allmazz_ has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Remote host closed the connection]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hazelune has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
hdbngr has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
iyes has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
bacarrdy has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
hdbngr has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
hdbngr has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev