2026-07-10
00:26madmatt067 has joined #asahi-dev
00:43madmatt067 has quit [Quit: .]
01:25Calandracas_ has joined #asahi-dev
01:32Calandracas has quit [Ping timeout: 480 seconds]
01:58madmatt067 has joined #asahi-dev
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:27ddxtanx has quit [Remote host closed the connection]
02:30ddxtanx has joined #asahi-dev
02:32pthariensflame has joined #asahi-dev
02:44pthariensflame has quit [Remote host closed the connection]
02:54pthariensflame has joined #asahi-dev
02:54pthariensflame has quit [Remote host closed the connection]
03:19pthariensflame has joined #asahi-dev
03:19pthariensflame has quit [Remote host closed the connection]
03:34nela has quit [Quit: Ping timeout (120 seconds)]
03:39nela has joined #asahi-dev
03:52nora_ has joined #asahi-dev
03:53madmatt067 has quit [Quit: .]
03:54nora has quit [Ping timeout: 480 seconds]
03:58madmatt067 has joined #asahi-dev
04:26sefidel has quit [Remote host closed the connection]
04:28sefidel has joined #asahi-dev
04:29eluks has quit [Remote host closed the connection]
04:29eluks has joined #asahi-dev
04:30Graypup_ has quit [Quit: meow]
04:31Graypup_ has joined #asahi-dev
05:19Graypup_ has quit [Quit: meow]
05:19Graypup_ has joined #asahi-dev
05:29yurix has quit [Read error: Connection reset by peer]
05:29yurix has joined #asahi-dev
05:49hdbngr has joined #asahi-dev
06:11StanfordAppliedCyber[m]for the hv m1-m3 boots with mmu disabled, and then xnu enables the mmu as part of its startup right?
06:14svenin EL1 xnu enables the mmu, yes. in EL2 the mmu is ofc laready on before the guest is entered
06:17StanfordAppliedCyber[m]great, just checking my current understanding
06:25hardy94 has joined #asahi-dev
06:25hardy94 has quit []
06:28mattia013 has quit [Quit: mattia013]
06:40user2 has quit [Quit: WeeChat 4.7.1]
06:46gobin[m] has joined #asahi-dev
06:58yukaor maybe there is some way to enable irqs for the other channels (but I just don't know how to find it)
07:04rosalyntg_ has joined #asahi-dev
07:04rosalyntg has quit [Read error: Connection reset by peer]
07:11chadmed has joined #asahi-dev
07:37jannauyes. it also enables https://github.com/AsahiLinux/m1n1/commit/093f59ea0777e14948ee49b25dfe3ab8d5ae6b64 which is helpful to sync kernel log with tracing output
07:47yukaI would still like to support at least 2 channels over dockchannel uart inside of m1n1, so that one of them can be used as vuart on the Neo
08:05picnoir has quit [Ping timeout: 480 seconds]
08:14picnoir has joined #asahi-dev
08:42hardy94 has joined #asahi-dev
09:19StanfordAppliedCyber[m]dumb question, how do we know how to start secondaries on t6050 enough to say that macos is the problem?
09:19StanfordAppliedCyber[m]like, wouldn't we need to trace macos to get to that point to know what the offsets are
09:19StanfordAppliedCyber[m]--> that needs a hypervisor that yall don't have?
09:20chaos_princesshasn't the api been the same for every m-series chip
09:20chaos_princessah, no, the offsets differ
09:22StanfordAppliedCyber[m]like i'm FULLY willing to believe that apple fucked up smp
09:22StanfordAppliedCyber[m]see: ALL OF MY MACBOOK NEO TROUBLES
09:23StanfordAppliedCyber[m]but them just changing the offsets, especially when introducing a new core, seems pretty normal?
09:25pb17 has quit [Ping timeout: 480 seconds]
09:29pb17 has joined #asahi-dev
09:54hdbngr_ has joined #asahi-dev
09:54StanfordAppliedCyber[m]well, assuming the new cores aren't just different for some reason, but the super cores don't start either
09:55hdbngr has quit [Ping timeout: 480 seconds]
09:59delinka has joined #asahi-dev
10:00hdbngr has joined #asahi-dev
10:07hdbngr_ has quit [Ping timeout: 480 seconds]
10:10apc has quit [Ping timeout: 480 seconds]
10:18svenalso, did anyone ever test what happens when a cpu is shut down in the hv? does macos ever do that and we survive?
10:18sventrying to test psci with that mode where the core ends up at RVBAR and uhh.. the exit works but i think the cpu then never comes up again and i think that's because we just don't implement that correctly in the hv
10:19chaos_princessdon't we now catch it, at least python-side
10:19chaos_princessthe message i get is sth like "all cpus exited"
10:20hdbngr has quit [Ping timeout: 480 seconds]
10:20svenmeh, guess i can just fake it for now by having the psci code shut down the mmu and just jump to RVBAR itself for now
10:24hdbngr has joined #asahi-dev
10:25StanfordAppliedCyber[m]i assume on m4+ we're just gonna default to psci by default?
10:25StanfordAppliedCyber[m]it seems like the obviously right option
10:31steinsgate has joined #asahi-dev
10:33StanfordAppliedCyber[m]hypervisor PR made, i'm off at a slightly less unreasonable hour for once today
10:34StanfordAppliedCyber[m]i'm assuming it'll need a lot of work given this is my first time doing anything like this
10:38hdbngr has quit [Remote host closed the connection]
10:38hdbngr has joined #asahi-dev
10:39StanfordAppliedCyber[m]i think i'm done with dev tooling for a bit, other than trying to usptream this thing i'm going to take a break and write some drivers. may add exclave support when my m5 air comes, but that's it
10:39StanfordAppliedCyber[m]that'll be a followup PR after we merge this one
10:42Mary has quit [Quit: .]
10:42Mary has joined #asahi-dev
10:48delinka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:00lord_breadcrumb has joined #asahi-dev
11:08mini has quit [Quit: The Lounge - https://thelounge.chat]
11:08mini has joined #asahi-dev
11:33lord_breadcrumb has quit [Ping timeout: 480 seconds]
11:41lord_breadcrumb has joined #asahi-dev
11:44apc has joined #asahi-dev
11:49lord_breadcrumb has quit [Ping timeout: 480 seconds]
11:57lord_breadcrumb has joined #asahi-dev
12:05lord_breadcrumb has quit [Ping timeout: 480 seconds]
12:40lord_breadcrumb has joined #asahi-dev
12:41lord_breadcrumb has quit [Remote host closed the connection]
12:45pb17 has quit [Ping timeout: 480 seconds]
12:47qyliss has quit [Quit: bye]
12:50pb17 has joined #asahi-dev
12:50qyliss has joined #asahi-dev
13:10hdbngr has quit [Ping timeout: 480 seconds]
13:12hdbngr has joined #asahi-dev
13:29nela has quit [Quit: bye!]
13:46nickchani have a feeling that by essentially forcing people to soft model private isa there would be more documentation on it, not less
13:48nickchannow ofc el0 usage of private isa is disabled in that hypervisor implementation but like, you don't need custom kernel to document things accessible from el0, and people have been doing it since m1
14:17nela has joined #asahi-dev
14:21mattia013 has joined #asahi-dev
14:21rodmac has joined #asahi-dev
14:25rodmac has quit []
14:30lynndotpy72 has quit [Quit: bye bye]
14:31lynndotpy72 has joined #asahi-dev
14:40hdbngr has quit [Ping timeout: 480 seconds]
14:40SG has joined #asahi-dev
14:45hdbngr has joined #asahi-dev
15:09hdbngr has quit [Ping timeout: 480 seconds]
15:09madmatt067 has quit [Quit: .]
15:14madmatt067 has joined #asahi-dev
15:44steinsgate has quit [Quit: Connection closed for inactivity]
15:56madmatt067 has quit [Quit: .]
15:58madmatt067 has joined #asahi-dev
16:00svenalright, that linux psci code also works for "fake core powerdown", i.e. just disable mmu and jump to the entry_point immediately
16:14tamar is now known as tamar-away
16:17hdbngr has joined #asahi-dev
16:27hdbngr has quit [Ping timeout: 480 seconds]
16:30chadmed has quit [Read error: Connection reset by peer]
16:31chadmed has joined #asahi-dev
16:32hdbngr has joined #asahi-dev
16:41hdbngr has quit [Ping timeout: 480 seconds]
16:48hdbngr has joined #asahi-dev
16:57hdbngr has quit [Ping timeout: 480 seconds]
16:59JanneGrunau[m] has joined #asahi-dev
17:02hdbngr has joined #asahi-dev
17:08mischa85 has joined #asahi-dev
17:11cosmicvoice[mds] has joined #asahi-dev
17:15hdbngr has quit [Ping timeout: 480 seconds]
17:20WindowPain6 has joined #asahi-dev
17:26WindowPain has quit [Ping timeout: 480 seconds]
17:26WindowPain6 is now known as WindowPain
17:38hdbngr has joined #asahi-dev
17:46hdbngr has quit [Ping timeout: 480 seconds]
17:47hdbngr has joined #asahi-dev
17:56hdbngr has quit [Ping timeout: 480 seconds]
18:03hdbngr has joined #asahi-dev
18:06elvishjerricco has quit [Read error: Connection reset by peer]
18:08elvishjerricco has joined #asahi-dev
18:11jannauWe'd like to remind everyone that Asahi Linux is committed to ensuring that all source code and documentation is free of copyright violations and other legal problems. Contributors are expected to abide by our copyright, reverse-engineering and generative AI policies. These policies are designed to ensure the Asahi Linux project remains sustainable for years to come.
18:11jannauIf you have concerns about enforcement actions, please contact the board at board@asahilinux.org and refrain from public speculation. For more information, see https://asahilinux.org/copyright/ https://asahilinux.org/code-of-conduct/ https://asahilinux.org/docs/project/policies/slop/
18:11hdbngr has quit [Ping timeout: 480 seconds]
18:14StanfordAppliedCyber[m] was kicked from #asahi-dev by ChanServ [You are not permitted on this channel]
18:25j`eyso does this mean you think the m1n1 pr was AI/llm, i thought they claimed to write that themselves but i wasnt following super close
18:29hardy94 has quit [Remote host closed the connection]
18:30hdbngr has joined #asahi-dev
18:31nicolas17"<jannau> I doubt apple has less than 10% margin on anything" well I read that AppleTV+ loses money, it's Tim Cook's fund for the cinematic arts :P
18:42hdbngr has quit [Ping timeout: 480 seconds]
18:49hdbngr has joined #asahi-dev
18:54svenwell fuck, this is going to be very annoying to fix: https://f.svpe.de/6c2a2466c223751bd59151473486e23f92fb08a7466c5f50628b8952b630dbf7_crap
18:56svencan't take spinlocks anymore after ct_cpuidle_enter but the context switch to efi runtime mapping takes a spinlock *sigh*
19:03hdbngr has quit [Ping timeout: 480 seconds]
19:04hdbngr has joined #asahi-dev
19:06zkrx has quit []
19:09zkrx has joined #asahi-dev
19:12hdbngr has quit [Ping timeout: 480 seconds]
19:16pb17 has quit [Ping timeout: 480 seconds]
19:20pb17 has joined #asahi-dev
19:21runxiyu has quit [Remote host closed the connection]
19:24runxiyu has joined #asahi-dev
19:25runxiyu has quit [Remote host closed the connection]
19:28runxiyu has joined #asahi-dev
19:29runxiyu has quit [Remote host closed the connection]
19:29runxiyu has joined #asahi-dev
19:33runxiyu has quit [Remote host closed the connection]
19:43farchordJanne Grunau: There we go, cleaned up the posts before you banned, and added to the bot's banlist for you
19:51kraem is now known as Guest13085
19:51kraem has joined #asahi-dev
19:52hdbngr has joined #asahi-dev
19:56Guest13085 has quit [Ping timeout: 480 seconds]
20:00hdbngr has quit [Ping timeout: 480 seconds]
20:05hdbngr has joined #asahi-dev
20:13hdbngr has quit [Ping timeout: 480 seconds]
20:15hdbngr has joined #asahi-dev
20:19runxiyu has joined #asahi-dev
20:19runxiyu has quit [Remote host closed the connection]
20:24hdbngr has quit [Ping timeout: 480 seconds]
20:42YourNickName has joined #asahi-dev
20:42YourNickName has quit []
20:43Frosty has joined #asahi-dev
20:45Frosty has quit []
20:45runxiyu has joined #asahi-dev
20:46FrostyCesium has joined #asahi-dev
20:47enverbalalic has joined #asahi-dev
20:48FrostyCesium has quit [Remote host closed the connection]
20:50enverbalalic has quit []
20:51enverbalalic has joined #asahi-dev
20:56Yushi has quit [Remote host closed the connection]
20:57Yushi has joined #asahi-dev
21:06hdbngr has joined #asahi-dev
21:17hdbngr has quit [Ping timeout: 480 seconds]
21:34svenlol, this is getting rather hacky now. i can reserve an ASID with arm64_mm_context_get in some initcall and then later switch mm via what's essentially switch_mm_fastpath in check_and_switch_context to bypass that asid allocator and the lock entirely
21:43hdbngr has joined #asahi-dev
21:45fossdd has quit [Remote host closed the connection]
21:46fossdd has joined #asahi-dev
21:51hdbngr has quit [Ping timeout: 480 seconds]
22:07hdbngr has joined #asahi-dev
22:18enverbalalic has quit [Quit: enverbalalic]
22:21hdbngr has quit [Ping timeout: 480 seconds]
22:22hdbngr has joined #asahi-dev
22:23Carlos has joined #asahi-dev
22:24fossdd has quit [Remote host closed the connection]
22:26fossdd has joined #asahi-dev
22:29runxiyu has quit [Remote host closed the connection]
22:31Carloshi folks, i'm a linux kernel dev at a big semiconductor company, i have a mbp m3, and i have free time after work to contribute. any pointers or tasks i can help with
22:32runxiyu has joined #asahi-dev
22:32hdbngr has quit [Ping timeout: 480 seconds]
22:36JamesCalligeros[m]Mostly yes
22:39chaos_princessout of curiosity, which "big semiconductor company"
22:40chaos_princesssure, np
22:40Carlosso most (all) of my experience is with x86 systems lol, getting up to speed on arm systems
22:54chaos_princessCarlos: so, btw, do you want something specific to do that will help me out with a thing?
22:55chaos_princessget the hypervisor set up, hmu once you can run macos under hypervisor
22:55chaos_princessignore the bit about 13.5, we are doing 14.8.3
22:56hdbngr has joined #asahi-dev
22:58chaos_princessdw, i am in europe, so will probably log off for today soon-ish anyway
22:59chaos_princesscamera support
23:01chaos_princessutc+2
23:05hdbngr has quit [Ping timeout: 480 seconds]
23:08hdbngr has joined #asahi-dev
23:12amarioguy has joined #asahi-dev
23:16hdbngr has quit [Ping timeout: 480 seconds]
23:35FrostyCesium has joined #asahi-dev
23:35FrostyCesium has quit []
23:42delinka has joined #asahi-dev
23:46Carlos has quit [Remote host closed the connection]