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
bps has quit [Ping timeout: 480 seconds]
kjm99[m] has joined #asahi
yuyichao has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
yuyichao has joined #asahi
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
skipwich has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
analoq_ has joined #asahi
analoq has quit [Ping timeout: 480 seconds]
jeffmiw has joined #asahi
jeffmiw has quit [Ping timeout: 480 seconds]
jeffmiw has joined #asahi
kettenis has quit [Ping timeout: 480 seconds]
jeffmiw has quit [Ping timeout: 480 seconds]
yuyichao has quit [Ping timeout: 480 seconds]
kettenis has joined #asahi
Krumble[m] has joined #asahi
Misthios has quit [Quit: Misthios]
Misthios has joined #asahi
chadmed has joined #asahi
Misthios has quit [Quit: Misthios]
Misthios has joined #asahi
Misthios has quit []
Misthios has joined #asahi
<j_ey> (carrying on from yesterday) the kernelcache is the right one (md5 matched, so unless i got a collision.. heh)
<j_ey> is there a command line option to disable kaslr on macos?
<j_ey> I also realised that macOS serials port wont work with the hv uart
bps has joined #asahi
gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
gabuscus has joined #asahi
bps has quit [Ping timeout: 480 seconds]
bps has joined #asahi
<sven> j_ey: uh, it should
<sven> that's what the second acm interface is for
<j_ey> sven: I think I've been booting the wrong thing, booting a bare kernel instead of the entire kernelcache
<j_ey> (just guessing)
<sven> oh, yes
<sven> you have to boot the kernelcache :)
<j_ey> if/when I get it working with the release kernel I'll update the wiki
Raqbit5 has joined #asahi
<j_ey> sven: I see your mailbox now has an actual commit message :D
<sven> yeah, it's slowly getting there :D
<sven> it also supports that slightly different other mailbox now
<sven> still not happy with the rtkit handling, but i think we need to wait and see what alyssa needs for dcp and agx before we can make an informed decision there
<j_ey> hm, I dont see yet what has changed to support the different mailbox
<sven> APPLE_M3_*
<sven> it's essentially the same hardware just with different register offsets
<j_ey> thats not on asahi/nvme/new
<sven> uh. i pushed a new version about 5 minutes ago fwiw
<sven> i thought that's what you saw
<j_ey> lol, I guess I pulled 6mins ago :)
Raqbit has quit [Ping timeout: 480 seconds]
Raqbit5 is now known as Raqbit
<sven> haha :D
<j_ey> apple_mbox_hw_regs is a nice way of handling that
<sven> it helps that the hw works almost identical with just different offsets :)(
<sven> *:)
bps has quit [Ping timeout: 480 seconds]
<marcan> j_ey: kaslr is an iBoot thing and cannot be disabled on production systems
<j_ey> Ah
s-h-i-n-o-b-i_ has joined #asahi
bps has joined #asahi
gabuscus has quit [Remote host closed the connection]
gabuscus has joined #asahi
ihaveamac has quit [Quit: fail]
ihaveamac has joined #asahi
bps has quit [Remote host closed the connection]
bps has joined #asahi
jeffmiw has joined #asahi
<alyssa> the weekly problem
<alyssa> do I do my homework or hack at DCP
<pipcet[m]> uhm, DCP!
<pipcet[m]> we don't have to have reasons, do we?
<alyssa> Hmmmm
<alyssa> pipcet[m]: which branch were you talking about btw?
<pipcet[m]> the number I quoted was from your PR at asahilinux/m1n1?
<pipcet[m]> the sys_shutdown bug seems to be on linux-next/master... I'm not sure which other branches I've been talking about :-)
<alyssa> something about DCP stubs? I'm curious what "creative" changes to the DART driver were needed
<pipcet[m]> note that you need to modify the device tree to map the memory for the page tables, though...
rat-hippo[m] has joined #asahi
<pipcet[m]> (and just that memory, not all of high memory as I did)
<alyssa> I see
<alyssa> thanks :)
<pipcet[m]> I've got a version lying around somewhere that doesn't need the modified device tree, but leaks memory on mapping.
JTL has quit [Remote host closed the connection]
JTL has joined #asahi
<pipcet[m]> sven: do you want a separate bug report for the i2c issue?
bps has quit [Ping timeout: 480 seconds]
bps has joined #asahi
<alyssa> Adding a disp0 dart node to the linux DT causes an SError on boot uhhh
jeffmiw has quit [Ping timeout: 480 seconds]
<pipcet[m]> disp0 or dcp?
<alyssa> disp0 but i was being a nub
<alyssa> j_ey: I probably need your uart patch huh
aleasto has joined #asahi
skali has joined #asahi
skali has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kettenis> alyssa, that makes some sense
<kettenis> that DART is locked, so you can't write to its registers
branon has left #asahi [WeeChat 3.2]
<kettenis> the DART driver should probably check the appropriate bit and take over its page tables
<kettenis> alyssa, I also replied to some of the mails in the PCI driver series
<alyssa> kettenis: disp0 isn't locked, I just messed up the DT
<kettenis> ah
<kettenis> having the wrong address in there will do it as well ;)
<sven> you can also write to locked darts without serrors. it just won't change most regs
<sven> and the linux driver will fail to probe if it sees a locked dart
<kettenis> good!
<alyssa> kettenis: forgot to put the nodes in the soc { } block :V
<sven> if someone wants to add support for this: make sure devices in those darts always get a unique group in device_group, make sure they always use a translated domain in def_domain_type, then in attach_dev just read out the TTBRs and put them into the io-pgtable structure, and finally write a custom free function for those that checks if the
<sven> pagetables were taken over
<sven> this will destroy all mappings, if you want to keep them walk the pagetable and return them in reserved_regions
<sven> (and ofc create them in the new one :-))
* kettenis wonders if it is time to propose a DT binding for the Apple SPMI controller and the RTC chip that is connected to it
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi
Axenntio has joined #asahi
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
Axenntio has quit [Ping timeout: 480 seconds]
yrlf has joined #asahi
aleasto has quit [Quit: Konversation terminated!]
<alyssa> See I would totally tweet this screenshot but it's liable to go viral and that's not really what I need irght now.
jx0 has joined #asahi
<alyssa> Oops. Too late. This just in: i'm still a teenager
<j_ey> alyssa: so this isnt using iboots framebuffer?
<j_ey> oh youre still tweeting the details
quarkyalice has joined #asahi
jx0 has quit []