ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
VinDuv has joined #asahi
jeffmiw has joined #asahi
yuyichao has joined #asahi
<marcan> alyssa: if it's any consolation my experience with PCIe amounts to making it run over RS-232. not exactly applicable to our use case :3
Namidairo has quit [Quit: ZNC - https://znc.in]
Namidairo has joined #asahi
kettenis has joined #asahi
<jeffmiw> marcan: when running macos under the hypervisor, if I want to get the symbols for the extensions, I suppose I need the corresponding dSYM file ? Is there a way to load all of them at once ? will a concatenation of them in a single file will do the job ? I suppose not as the proxyclient/macho loader expects only one SYMTAB macho cmd
<marcan> I've never actually done that (symbols for extensions)
<marcan> patches welcome :-)
<marcan> haven't even looked into how that's supposed to work
<marcan> most of the early HV bringup work that benefited from backtraces was on stuff in the core kernel
<jeffmiw> ok, so I'm not missing something or doing it wrongly then :). I'll see if I can propose something useful then.
jbowen has quit [Read error: Connection reset by peer]
jbowen has joined #asahi
<landscape15[m]> So if asahi creates a standard EFI partition i suppose you can run every Aarch64 EFI based OS, if properly loaded with compatible drivers. Maybe also W10 on arm...
<opticron> I wonder if it would be easier to write up shims for virtual devices that W10 already understands
<opticron> otherwise W10 is going to have a hellish driver problem to deal with across the board
<landscape15[m]> opticron: Yes, but i don't think there will be a development due to copyright issues and DMCA.
<landscape15[m]> Maybe Microsoft is following marcan work :)
<marcan> landscape15[m]: windows requires kernel changes that only microsoft can do
<marcan> it will never run on these machines without either a VM or MS's help
<j_ey> can windows run under kvm?
<marcan> yes
<marcan> I don't expect any issues there
<marcan> it already works on qemu on macos, would be the same on linux
<landscape15[m]> Yeah, and nobody wants to pay Parallels to run Windows. I think qemu (also UTM) will be the future.
<jn> i suppose a linux/KVM system could be made so quiet that it _looks_ like windows booting base-metal on an M1 mac. start one VM in fullscreen, and pass through all relevant hardware (probably via emulation of a standard HW interface, rather than IOMMU-based pass-through)
<j_ey> jn: we could have done that for linux isntead of asahi :P
<jn> j_ey: but that would have taken away the fun if porting linux :)
<landscape15[m]> marcan: So basically every open source kernel can be adapted?
<marcan> sure, with effort
<j_ey> landscape15[m]: kettenis here works on OpenBSD for M1
<landscape15[m]> Ok thanks.
<landscape15[m]> Yes i found out. I don't like OpenBSD very much.
<j_ey> well the point is that you can port things to the m1 :P
<landscape15[m]> j_ey:
<landscape15[m]> Yes but i'm happier with Linux :)
yuyichao has quit [Ping timeout: 480 seconds]
<alyssa> marcan: sven: maz: El reg is onto us
skipwich has joined #asahi
<marcan> heh
skipwich_ has joined #asahi
skipwich has quit [Read error: Connection reset by peer]
skipwich_ is now known as skipwich
<alyssa> > "I've started using Linux on M1 as my workstation for Panfrost development, so this should have 40 hours of testing by this time next week," Panfrost being an open-source driver project for Arm Mali GPUs.
<alyssa> It's thursday morning so I can say, 24h in, nothing has broken spectacularly yet :-p
<marcan> speaking of: alyssa, sven et al: I need y'all to put together a bit of a summary of what patchsets work and you're currently using (ideally with git refs :p)
<alyssa> marcan: Ahem..
<marcan> I'm going to put together some kind of merge bot and review things
<jn> hmm, sort of a tiny linux-next for asahi
<marcan> yes
<alyssa> I've been doing that over in mu-one
<alyssa> https://github.com/mu-one/linux/commits/20210816 is my current branch (haven't done kernel stuff in a few days)
<alyssa> mu-one/linux master tracks linux-next
<alyssa> feature branches are for specific mainlining patch sets
<marcan> mu-one?
<alyssa> date branches are everything in one rebased on top of next, and are literally the kernels I'm running on a given date
<alyssa> marcan: well the plan was to do this in asahilinux but then you nak'd that pretty hard......
<marcan> what, the corellium stuff?
<alyssa> er, that too I guess
<marcan> or was there something else?
<alyssa> Uhmm
<marcan> I'm confused about what I nak'd
<alyssa> Sven and I started reviewing PRs over in asahilinux/linux with the intent of using that as the asahi-next
<marcan> oh *that*?
<alyssa> and then you started talking a merge bot and now we can't merge anything there until you added said bot and uhm
<marcan> I meant don't make a "main devel" branch with a bunch of PRs, because I intend to automate that branch and then the PRs would get in the way
<alyssa> so I opened a repo as a new downstream that I could merge with 'now'
<marcan> you can do it in feature branches and you can have your own playground branches or whatever
<alyssa> I'm not entirely sure how that would work as things evolve while upstreaming
<marcan> I never meant you couldn't use the asahi repo
<alyssa> automatable, pleasant mainlining, and single branch that never regresses -- pick 2 of 3
<alyssa> (the reason for date branches is so that things can be constantly rebased. The git history of date branches are not stable. The features should be.)
<alyssa> and, uhmm, I deal with technical issues better than personal ones. so clicking the github fork buttons on torvalds' repo was the easy way to focus on PCIe patches and not having a big ol' awkward group chat you with and sven.
<marcan> yeah that's very you
<marcan> :p
<alyssa> you love me the way i am :p
yuyichao has joined #asahi
<alyssa> marcan: But to answer the original question, I'm dailydriver the linked date branch. PCIe + dwc3 device tree + pinctrl + reboot
<alyssa> driving
<alyssa> I haven't cherrypicked NVMe yet from sven since that's still undergoing rapid change
<alyssa> I have a cherrypick of sven's IOP driver and Corellium's SMC adapted for said IOP driver and mainline _np but it's not in the dtae branch since it wasn't useful to me yet
<sven> marcan: uh, i think the most interesting one is probably nvme/new. that's still heavily WIP though, but i hope to get at least the mailbox part into a sane state this evening
nilsi[m] has joined #asahi
<sven> there's i2c/dev which i abandoned for some reason and which didn't do anything very useful except for enumerating that usb pd chip because the gpio interrupt support was missing
<sven> and there's also dart/4kpgsize which makes dart work on 4k kernels, but i still need to convince myself about one commit in there. seems to work though
<maz> alyssa: high quality stuff, I'm sure!
<alyssa> maz: just as high quality as my pcie patches ;_p
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
yuyichao has quit [Remote host closed the connection]
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi
artemist has quit [Ping timeout: 480 seconds]
artemist has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
ninja[m] has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
DarkShadow4444 has joined #asahi
DarkShadow44 has quit [Ping timeout: 480 seconds]
kettenis has quit [Ping timeout: 480 seconds]
jbowen has joined #asahi
jbowen has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi