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
linuxgemini is now known as Guest7678
Guest7678 has quit [Read error: Connection reset by peer]
linuxgemini has joined #asahi-dev
chrisl has joined #asahi-dev
lion328 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
shintyl has quit [Ping timeout: 480 seconds]
nea999 has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
nea999 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
KxCORP58940003455 has quit [Quit: Bye!]
KxCORP58940003455 has joined #asahi-dev
kujeger has joined #asahi-dev
kujeger- has quit [Ping timeout: 480 seconds]
ellyq_ has joined #asahi-dev
ellyq has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
lion328 has joined #asahi-dev
gabuscus has quit []
ddxtanx has quit [Remote host closed the connection]
ddxtanx has joined #asahi-dev
ddxtanx has quit [Remote host closed the connection]
ddxtanx has joined #asahi-dev
tobhe_ has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
ddxtanx has quit [Remote host closed the connection]
tobhe has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
linuxgemini is now known as Guest7696
Guest7696 has quit [Read error: Connection reset by peer]
linuxgemini has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
gabuscus has joined #asahi-dev
nora has joined #asahi-dev
nora_ has quit [Ping timeout: 480 seconds]
linuxgemini is now known as Guest7699
Guest7699 has quit [Read error: Connection reset by peer]
linuxgemini has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
midou has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
ajgae has joined #asahi-dev
ajgae has quit [Remote host closed the connection]
chrisl has quit [Ping timeout: 480 seconds]
midou has quit [Ping timeout: 480 seconds]
aak has joined #asahi-dev
midou has joined #asahi-dev
beto_ has quit [Read error: Connection reset by peer]
betoissues has joined #asahi-dev
chrisl has joined #asahi-dev
ddxtanx has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
aak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
glem810053 has joined #asahi-dev
glem81005 has quit [Ping timeout: 480 seconds]
glem810053 is now known as glem81005
chrisl has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
Halian has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
aak has joined #asahi-dev
___nick___ has joined #asahi-dev
ddxtanx_ has joined #asahi-dev
ddxtanx has quit [Ping timeout: 480 seconds]
PaulFertser_ has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mille77 has joined #asahi-dev
mille7 has quit [Ping timeout: 480 seconds]
mille77 is now known as mille7
Retr0id has quit [Remote host closed the connection]
Retr0id has joined #asahi-dev
john-cabaj has joined #asahi-dev
oliverb has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
Sebastian2 has joined #asahi-dev
Sebastian2 has quit []
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
domben2 has joined #asahi-dev
chrisl has joined #asahi-dev
buroa23 has quit [Quit: The Lounge - https://thelounge.chat]
buroa23 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
domben2 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
domben2 has joined #asahi-dev
aak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sand4rt has joined #asahi-dev
domben2 has quit [Ping timeout: 480 seconds]
domben2 has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
john-cabaj has joined #asahi-dev
pb17 has joined #asahi-dev
john-cabaj1 has joined #asahi-dev
john-cabaj has quit [Remote host closed the connection]
domben2 has quit [Remote host closed the connection]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
DarkShadow44 has quit []
DarkShadow44 has joined #asahi-dev
glem81005 has quit [Quit: Ping timeout (120 seconds)]
glem81005 has joined #asahi-dev
buroa23 has quit [Quit: The Lounge - https://thelounge.chat]
buroa23 has joined #asahi-dev
aak has joined #asahi-dev
john-cabaj has quit [Remote host closed the connection]
phire_ has joined #asahi-dev
phire is now known as Guest7779
phire_ is now known as phire
Guest7779 has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
mille7 has quit [Read error: Connection reset by peer]
<aak> What do people use for testing features, other than having a spare machine
<aak> I don't want to brick my main one
<chaos_princess> with few specific exceptions, you can't damage those machines from software, and while an os recovery is kind of a pain, it works.
<chaos_princess> but 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
<chaos_princess> And even then it is unlikely to happen
<chaos_princess> So, just install a second copy of the os, it will be fine
<aak> I can boot back and forth between asahi and macos? I thought that only worked on intel macs
<chaos_princess> in 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
<aak> > get to keep the pieces?
<chaos_princess> slang for "you are on your own if you need to fix it"
<aak> ah right
<nicolas17> aak: 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
<chaos_princess> pmuch that. The reflash is kind of annoying to do if you do not have another mac (intel is fine, just needs to run macos).
<aak> I 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
<aak> Yea I don't have another mac so probably a good idea to get one
<aak> in case i need to re flash
<nicolas17> it can be done from Linux, it's just more of a hassle
<chaos_princess> if 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)
<chaos_princess> because the standard method involves two machine debugging
<aak> I thought there were vm's where you could test this stuff
<aak> the problem is with touch id and hardware related stuff its trickier, although maybe you can have emulators?
<nicolas17> well there are no VMs that emulate Apple's custom hardware
<chaos_princess> it is not a vm in a classic sense, more that it uses vm-adjacent technology to allow you to puppeteer macos from another machine
<aak> There those mac mini stadiums that you can rent one, but again cant test hardware
lion328 has quit [Ping timeout: 480 seconds]
<chaos_princess> those are useless, since you can't enter 1TR on those
lion328 has joined #asahi-dev
aak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sebastian2 has joined #asahi-dev
Sebastian2 has quit [Read error: Connection reset by peer]
aak has joined #asahi-dev
aak has quit []
sand4rt has quit [Ping timeout: 480 seconds]
sand4rt has joined #asahi-dev
mille77 has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
<kettenis> so we get an m4 imac but nothing else yet?
<jannau> yes, apparently they are doing daily announcements until they run out of devices
pb17 has joined #asahi-dev
<jannau> kettenis: 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
<kettenis> maybe apple_dart_remove() gets called before xhci_{dwc3|pci}_remove()?
<jannau> indeed. I thought the device model would prevent that
<kettenis> I think the u-boot device model is weaker than the linux version
<kettenis> and the iommu references go sideways in the tree
<kettenis> maybe the dart driver needs to return -EPROBE_DEFER if there are still active users
<jannau> can it know that? iommu_ops has .connect() but no .disconnect()
<kettenis> could keep track of the mappings and hope the drivers properly remove them
<jannau> yes, doing that. -EPROBE_DEFER in remove does't seem to have the intended effect. remove is not called again
<kettenis> so maybe implementing .connect() and a new .disconnect() and drop the remove
<kettenis> I can look into that, but it might take me a few days
<jannau> do 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
sand4rt has quit [Ping timeout: 480 seconds]
<kettenis> ah, I was afraid it would break things
<jannau> it looks like it will break things. if it doesn't we're probably only saved by phys memory starting high
<nicolas17> the iMac M4 "system block diagram" was leaked btw (FCC screwed up), but I guess that's nowhere near as interesting as schematics
<kettenis> jannau: that is different breakage from that dev_get_priv() thing though isn't it?
<jannau> kettenis: yes. that not merged for v2024.10. I spotted it while searching in the u-boot mailing list for iommu
<jannau> ah, it's already merged
<kettenis> yeah, with lots of stuff piled on top of it
ddxtanx_ has quit [Remote host closed the connection]
<kettenis> at this point it is porbably easiest to just bring back the old lmb code with a different name
___nick___ has quit [Remote host closed the connection]
ddxtanx has joined #asahi-dev
sand4rt has joined #asahi-dev
<jannau> would it make sense to add asahi@lists.linux.dev as apple silicon maintainer in u-boot?
<kettenis> maybe; I probably missed this because of vacation followed by too much work travel
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
sand4rt has quit [Ping timeout: 480 seconds]
sand4rt has joined #asahi-dev
c10l has quit [Remote host closed the connection]
c10l has joined #asahi-dev
sand4rt has quit [Ping timeout: 480 seconds]
<jannau> there's DM_FLAG_VITAL / DM_REMOVE_NON_VITAL to order device_remove. efi boot doesn't use it but that's easily fixed
DarkShadow44 has quit []
DarkShadow44 has joined #asahi-dev
nukelet has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev