#
…

2026-01-05

00:00JamesCalligeros[m]any combination except agx+appledrm is actually horrible now. idk if we broke llvmpipe+appledrm but i dont remember it being as bad as it is now a few years ago
00:02hdbngr has quit [Ping timeout: 480 seconds]
00:05jannaullvmpipe renders with 2000 fps on simpledrm but display (kwin compositing on the gpu) still stutters from time to time
00:12hdbngr has joined #asahi-dev
00:20mixi has quit [Ping timeout: 480 seconds]
00:21hdbngr has quit [Ping timeout: 480 seconds]
00:29hdbngr has joined #asahi-dev
00:30mixi has joined #asahi-dev
00:37hdbngr has quit [Ping timeout: 480 seconds]
00:40zkrx has quit []
00:43zkrx has joined #asahi-dev
00:47hdbngr has joined #asahi-dev
00:54john-cabaj has joined #asahi-dev
00:56hdbngr has quit [Ping timeout: 480 seconds]
00:58Tramtris1 has joined #asahi-dev
00:59Tramtrist has quit [Ping timeout: 480 seconds]
01:04hdbngr has joined #asahi-dev
01:12john-cabaj has quit [Ping timeout: 480 seconds]
01:12leah has quit [Ping timeout: 480 seconds]
01:13hdbngr has quit [Ping timeout: 480 seconds]
01:20hdbngr has joined #asahi-dev
01:29hdbngr has quit [Ping timeout: 480 seconds]
01:30leah has joined #asahi-dev
01:38hdbngr has joined #asahi-dev
01:40integralpilot has joined #asahi-dev
01:47hdbngr has quit [Ping timeout: 480 seconds]
01:55hdbngr has joined #asahi-dev
02:04hdbngr has quit [Ping timeout: 480 seconds]
02:13hdbngr has joined #asahi-dev
02:22hdbngr has quit [Ping timeout: 480 seconds]
02:24alxdrl has quit [Quit: Textual IRC Client: www.textualapp.com]
02:31hdbngr has joined #asahi-dev
02:39ruicon has joined #asahi-dev
02:39hdbngr has quit [Ping timeout: 480 seconds]
02:41ruicon has quit [Remote host closed the connection]
02:44ciara is now known as Guest35138
02:44ciara has joined #asahi-dev
02:44Guest35138 has quit [Read error: Connection reset by peer]
02:45ruicon has joined #asahi-dev
02:45ruiconsven: the patches are ready, only the battery driver needs to be tested, you can see the patches in the t2linux discord
02:46ruicon has quit []
02:49hdbngr has joined #asahi-dev
02:57hdbngr has quit [Ping timeout: 480 seconds]
03:01lacamar has quit [Quit: ZNC 1.10.1 - https://znc.in]
03:05hdbngr has joined #asahi-dev
03:14hdbngr has quit [Ping timeout: 480 seconds]
03:14hdbngr has joined #asahi-dev
03:23hdbngr has quit [Ping timeout: 480 seconds]
03:29hexdump01 has joined #asahi-dev
03:30hdbngr has joined #asahi-dev
03:30hexdump0815 has quit [Ping timeout: 480 seconds]
03:39hdbngr has quit [Ping timeout: 480 seconds]
03:44natalie has quit [Remote host closed the connection]
03:45natalie has joined #asahi-dev
03:47lynndotpy70 has joined #asahi-dev
03:47hdbngr has joined #asahi-dev
03:47Chainsaw has quit [Ping timeout: 480 seconds]
03:47Chainsaw_ has joined #asahi-dev
03:48Son_Goku_ has joined #asahi-dev
03:48beto_ has joined #asahi-dev
03:48Son_Goku has quit [Ping timeout: 480 seconds]
03:48Manouchehri has quit [Ping timeout: 480 seconds]
03:48Son_Goku_ is now known as Son_Goku
03:48opticron_ has joined #asahi-dev
03:48Manouchehri has joined #asahi-dev
03:48ipatch_ has joined #asahi-dev
03:49Leo341B has joined #asahi-dev
03:49tbodt_ has joined #asahi-dev
03:49ansg191_ has joined #asahi-dev
03:49annan_person_ has joined #asahi-dev
03:49opticron has quit [Read error: Connection reset by peer]
03:49Leo3418 has quit [Remote host closed the connection]
03:49ansg191 has quit [Ping timeout: 480 seconds]
03:49annan_person has quit [Ping timeout: 480 seconds]
03:49ciara has quit [resistance.oftc.net reflection.oftc.net]
03:49Lyude has quit [resistance.oftc.net reflection.oftc.net]
03:49troseman has quit [resistance.oftc.net reflection.oftc.net]
03:49lynndotpy7 has quit [resistance.oftc.net reflection.oftc.net]
03:49__Tetris__ has quit [resistance.oftc.net reflection.oftc.net]
03:49ipatch has quit [resistance.oftc.net reflection.oftc.net]
03:49kevans91 has quit [resistance.oftc.net reflection.oftc.net]
03:49tbodt has quit [resistance.oftc.net reflection.oftc.net]
03:49swiftraccoon has quit [resistance.oftc.net reflection.oftc.net]
03:49betoissues has quit [resistance.oftc.net reflection.oftc.net]
03:49elvishjerricco has quit [resistance.oftc.net reflection.oftc.net]
03:49b074_ has quit [resistance.oftc.net reflection.oftc.net]
03:49isinyaaa has quit [resistance.oftc.net reflection.oftc.net]
03:49runxiyu has quit [resistance.oftc.net reflection.oftc.net]
03:49violette has quit [resistance.oftc.net reflection.oftc.net]
03:49annan_person_ is now known as annan_person
03:49lynndotpy70 is now known as lynndotpy7
03:49beto_ is now known as betoissues
03:50violette has joined #asahi-dev
03:50ansg191_ is now known as ansg191
03:50elvishjerricco has joined #asahi-dev
03:50ciara has joined #asahi-dev
03:50__Tetris__ has joined #asahi-dev
03:50b074_ has joined #asahi-dev
03:50runxiyu has joined #asahi-dev
03:50tbodt has joined #asahi-dev
03:50swiftraccoon has joined #asahi-dev
03:50kevans91 has joined #asahi-dev
03:50isinyaaa has joined #asahi-dev
03:50Lyude has joined #asahi-dev
03:50ipatch has joined #asahi-dev
03:50ipatch has quit [Ping timeout: 480 seconds]
03:51tbodt has quit [Ping timeout: 480 seconds]
03:54integralpilotmacsmc-power is ready for upstream now yay! currently cloning linux-next to rebase the changes off and then will publish a branch for ppl to try and if all goes well send upstream soon :)
03:55hdbngr has quit [Ping timeout: 480 seconds]
04:01jackhill_ has quit [Read error: Connection reset by peer]
04:01jackhill has joined #asahi-dev
04:03hdbngr has joined #asahi-dev
04:07isinyaaa has quit [Read error: Connection reset by peer]
04:07isinyaaa has joined #asahi-dev
04:12hdbngr has quit [Ping timeout: 480 seconds]
04:12amarioguy has quit [Remote host closed the connection]
04:20hdbngr has joined #asahi-dev
04:28hdbngr has quit [Ping timeout: 480 seconds]
04:30integralpilot has quit [Ping timeout: 480 seconds]
04:33nora has joined #asahi-dev
04:35nora_ has quit [Ping timeout: 480 seconds]
04:37hdbngr has joined #asahi-dev
04:45hdbngr has quit [Ping timeout: 480 seconds]
04:49k1nch0 has joined #asahi-dev
04:50lacamar has joined #asahi-dev
04:54hdbngr has joined #asahi-dev
04:55cremfuelled has joined #asahi-dev
04:59mocal has joined #asahi-dev
04:59cremfuelled has quit []
05:02integralpilot has joined #asahi-dev
05:03hdbngr has quit [Ping timeout: 480 seconds]
05:04mocal has quit [Quit: WeeChat 4.8.1]
05:08Gues__________________________ has joined #asahi-dev
05:08Gues__________________________ has quit []
05:10integralpilotwait does linux-next not have MTP/DockChannel support so i cant use the keyboard that's kinda annoying i guess i'll just make a init script that tests all the power mangement sysfs stuff
05:10hdbngr has joined #asahi-dev
05:12integralpilotbtw, chadmed, wondering if you have plans to upstream AIC3? if not that's fine, just for now had to add support into linux-next to get it working
05:13integralpilotoh sorry that was jannau's patch, got confused
05:19hdbngr has quit [Ping timeout: 480 seconds]
05:22nickchani still can't get t8015's aop fw to talk to me but I can confirm these things:
05:23midou has quit [Read error: No route to host]
05:23nickchancpu is ARM Cortex-A7; AOP SRAM is at 0x0 and starts execution here, 0xc000_0000 - 0xffff_ffff maps to iomem at 0x2_0000_0000 to 0x2_3fff_3fff; and it supports PL2/Hyp mode
05:25nickchanim really not in the mood of writing an armv7 hypervisor
05:25integralpilotis it even possible to get AOP ACE to run a hypervisor on it?
05:26nickchanintegralpilot: there is no SCIP on A11 so write code to AOP SRAM and then start the CPU
05:26nickchansystem coprocessor integrity protection
05:26hdbngr has joined #asahi-dev
05:27nickchanm1 has it though so no cfw there
05:27integralpilotoh interesting, that's cool!
05:27integralpilothave you played around with any of the coprocessors yet or not really?
05:27integralpilotas in running custom code there
05:28nickchanintegralpilot: not really
05:28nickchanjust want to get aop fw going
05:29integralpilotmakes sense, good luck with that
05:29nickchanand aop img4 decodes to some sorf of plist that can be parsed by IOCFUnserialize
05:30nickchanone of the properties is actual executable code of course
05:32ruicon has joined #asahi-dev
05:36hdbngr has quit [Ping timeout: 480 seconds]
05:38integralpilotit's so cool how ur doing all the RE on a platform that wasn't even meant to have fuOSes in the first place
05:44ruicon has quit [Remote host closed the connection]
05:44hdbngr has joined #asahi-dev
05:53hdbngr has quit [Ping timeout: 480 seconds]
05:56aditya has joined #asahi-dev
05:57adityachaos_princess: I will run the checkpatch after the development is complete
05:59adityaEighth_Doctor: I hope everything gets upstreamed soon too! The main issue is the Apple-bce driver, the driver that communicates with the T2 chip, needs a lot of work and unfortunately we don't have devs to work upon it.
06:01hdbngr has joined #asahi-dev
06:14hdbngr has quit [Ping timeout: 480 seconds]
06:18k1nch0 has quit [Quit: leaving]
06:21midou has joined #asahi-dev
06:23hdbngr has joined #asahi-dev
06:29chadmed has quit [Quit: Konversation terminated!]
06:29chadmed has joined #asahi-dev
06:31hdbngr has quit [Ping timeout: 480 seconds]
06:32chadmed has quit []
06:32chadmed has joined #asahi-dev
06:32chadmed has quit []
06:32chadmed has joined #asahi-dev
06:33chadmed has quit []
06:33chadmed has joined #asahi-dev
06:35chadmed has quit []
06:35chadmed has joined #asahi-dev
06:36pb17 has quit [Ping timeout: 480 seconds]
06:37pb17 has joined #asahi-dev
06:38chadmed_ has joined #asahi-dev
06:38chadmed has quit [Read error: Connection reset by peer]
06:40hdbngr has joined #asahi-dev
06:43chadmed_ has quit [Quit: Konversation terminated!]
06:44chadmed_ has joined #asahi-dev
06:49hdbngr has quit [Ping timeout: 480 seconds]
06:53integralpilot has quit [Ping timeout: 480 seconds]
06:55integralpilot has joined #asahi-dev
06:57integralpilotwith MAINTAINERS, do i just add the new power supply files to the big asahi block, or do i also make a seperate entry?
06:57hdbngr has joined #asahi-dev
06:57chadmed_just add it to the asahi block. its a subdevice of the smc mfd right?
06:59integralpilotyeah, thanks!
07:08integralpilot has quit [Ping timeout: 480 seconds]
07:09hdbngr has quit [Ping timeout: 480 seconds]
07:17hdbngr has joined #asahi-dev
07:19integralpilot has joined #asahi-dev
07:26hdbngr has quit [Ping timeout: 480 seconds]
07:32NickChan[m] has left #asahi-dev [User left]
07:34hdbngr has joined #asahi-dev
07:43hdbngr has quit [Ping timeout: 480 seconds]
07:44nickchaneven I add my drivers to that block though I expect I will be the one to look at any issues
07:48kaazoo has joined #asahi-dev
07:51hdbngr has joined #asahi-dev
07:53kaazoo has quit []
07:53integralpilotokay thanks, makes sense.
07:54integralpilotalso, should apple,smc-power be a new node under smc even if it needs no configuration options?
07:58integralpilotthat's how i've been doing it as in theory not every SMC may support power info and we might want to add some form of config option later, like hwmon has, but in practice every SMC ofc supports power info because it's like the core task
08:00hdbngr has quit [Ping timeout: 480 seconds]
08:01kaazoo has joined #asahi-dev
08:04ravikant_ has joined #asahi-dev
08:04svenif you add a node you will need to add dt-bindings and then you’ll get complaints that you’re adding a useless node without any options ;)
08:05hdbngr has joined #asahi-dev
08:07kaazoo has quit [Quit: Leaving.]
08:08integralpilotoh thank you, i'll remove the node then! :)
08:16integralpilot has quit [Ping timeout: 480 seconds]
08:26hdbngr has quit [Ping timeout: 480 seconds]
08:26pb17 has quit [Ping timeout: 480 seconds]
08:33hdbngr has joined #asahi-dev
08:42___nick___ has joined #asahi-dev
08:43___nick___ has quit []
08:46___nick___ has joined #asahi-dev
08:49hdbngr has quit [Ping timeout: 480 seconds]
08:52pb17 has joined #asahi-dev
08:56hdbngr has joined #asahi-dev
09:04hdbngr has quit [Ping timeout: 480 seconds]
09:10alxdrl has joined #asahi-dev
09:12hdbngr has joined #asahi-dev
09:21hdbngr has quit [Ping timeout: 480 seconds]
09:28hdbngr has joined #asahi-dev
09:31jannaugit diff --stat drm-rust/drm-rust-next -- drivers/gpu/drm/asahi/
09:31jannau46 files changed, 18628 insertions(+)
09:31jannaudependencies are
09:33jannau76 files changed, 6728 insertions(+), 147 deletions(-)
09:34JamesCalligeros[m]Thats less than i expected
09:34JamesCalligeros[m]Thats like a good 20% of our downstream code at this point
09:37hdbngr has quit [Ping timeout: 480 seconds]
09:38sventhat's without the rust bindings, isn't it?
09:38svenstill pretty good
09:38sveni would've expected the driver itself to be larger
09:39svenhow much is dcp? :>
09:41sven41 files changed, 12134 deletions(-)
09:43hdbngr has joined #asahi-dev
09:48jannauthe bindings are in the 6.7k from the dependencies which still can be cleaned up
09:50svenhrm, so what other big thing except for dcp and gpu do we still have then?
09:50svenor is it really just a whole bunch of small patches that make up the rest?
09:51svenisp is another 5k lines
09:51JamesCalligeros[m]The remaining audio stuff is a few k
09:51chaos_princessisp is blocked on a few dart pieces and i will resume once that is upstream
09:52svenokay, so we're left with gpu, dcp, isp, audio stuff and a bunch of small patches all over the place
09:52JamesCalligeros[m]But i have a bad feeling about macaudio.c
09:52sventhat's not too bad
09:53JamesCalligeros[m]lets discount dcp for now since theres still a lot of churn there
09:53JamesCalligeros[m]And possible oxidation too
09:54svenoh yeah, i was just listing whatever is left in our downstream tree
09:54chaos_princessthere is also wifi
09:55svenis wifi really that much?
09:55chaos_princessnot really, but there was some issues with it before
09:55aditya has quit [Quit: Connection closed for inactivity]
09:56JamesCalligeros[m]Engineering or political?
09:56JamesCalligeros[m]Hopefully nothing insurmountable, its been a while
09:56svenit's about 1k lines changed
09:57svener, wait, no, 4k lines
09:57sventhat's more than i remember
09:58integralpilot has joined #asahi-dev
09:58svenbut i hear ellyqw volunteed to upstream wifi ;P
09:58integralpilotafter power i'd like another upstreaming project, any recommendations?
09:59integralpilotit was fun to like develop it for M3 and also fix it up for upstream at the same time
09:59integralpilotleaning towards MTP as it's annoying to not be able to type/run terminal commands when testing on linux-next
09:59svenit would be nice to get m3 devicetrees upstream as well
09:59chaos_princessi was about to suggest mtp too
09:59svenbut yeah, MTP would be good too i think
10:00sventhough i don't remember how much cleanup that needs
10:00JamesCalligeros[m]mtp would get m2 series machines to “useable console” status at this point right
10:01chaos_princessthere might be some mtp-related cleanup in the installer if we care about that, as marcan reversed CBOR and wrote a serializer from first principles :P
10:03svenhm... so i'm personally not a big fan of the rtkit-helper.c stuff
10:05svenbut otherwise mtp looks okay i think
10:05svenneeds dt-bindings though
10:05hdbngr has quit [Ping timeout: 480 seconds]
10:07integralpilotmoment of truth doing the final power test 🤞
10:08integralpilotbusybox-as-init helps cause i can just write a massive shell script to test everything in the sysfs
10:09[KongrooParadox] has joined #asahi-dev
10:09KongrooParadox has quit [Ping timeout: 480 seconds]
10:15hdbngr has joined #asahi-dev
10:24hdbngr has quit [Ping timeout: 480 seconds]
10:28svennice!!
10:30hdbngr has joined #asahi-dev
10:37pb17 has quit [Ping timeout: 480 seconds]
10:39hdbngr has quit [Ping timeout: 480 seconds]
10:43integralpilot has quit [Ping timeout: 480 seconds]
10:46hdbngr has joined #asahi-dev
10:48jannauof / device_node bindings gone, -530 lines from dependencies
10:52integralpilot has joined #asahi-dev
10:55svenfeels like we’re slowly getting this under control. who would’ve thought that almost a year of upstreaming focus would pay off ;)
10:55hdbngr has quit [Ping timeout: 480 seconds]
10:55pb17 has joined #asahi-dev
11:00hdbngr has joined #asahi-dev
11:00integralpilot has quit [Ping timeout: 480 seconds]
11:03__nick__ has joined #asahi-dev
11:04chadmed_ has quit [Quit: Konversation terminated!]
11:04integralpilot has joined #asahi-dev
11:04alxdrl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:05dev-muhammad-adel has joined #asahi-dev
11:05integralpilotjust getting the messages ready now, is it okay to have Co-developed-by marcan? i want to make sure i've got the right credit for the base driver i worked off (i added a note about this in the cover letter too)
11:06integralpilot(i'd use his full name and email just truncating for IRC)
11:06chaos_princessi personally add co-deveoped-by for every commit that went into the final one
11:06chaos_princessbetter to over-include than to under-include
11:07___nick___ has quit [Ping timeout: 480 seconds]
11:08svenfor most stuff i upstream i keep the original author and then add myself as co-developed-by
11:09svenmake sure to run checkpatch and fix (most) errors/warnings there as well
11:09svencan also recommend to use b4 and b4 send --reflect as a final check before actually sending the series out
11:10chaos_princessyes. use b4. don't bother with git-send-email, or whatever. b4 makes mailing lists actually tolerable
11:11svenyou really feel the pain for git-send-email once you need v2, v3, etc.
11:11integralpilotthank you for the help and recommendation!
11:12JamesCalligeros[m]I recommend running checkpatch with --strict too
11:13JamesCalligeros[m]some maintainers consider it useless without --strict and will get annoyed if you don't use it
11:14integralpiloti've been using strict
11:14integralpilotthere's some false positives where it things a string literal in the SMC key macro is a subtraction (it's AC-i) and it wants spaces is that okay to ignore?
11:14svenyeah, it's not perfect
11:14JamesCalligeros[m]Yeah its a fourcc it needs to be exact
11:15JamesCalligeros[m]‘I’ != ‘i’ etc
11:15mazcheckpatch is not meant to be an absolute oracle. it is mostly advisory.
11:16chadmed has joined #asahi-dev
11:18integralpilotdo i add Signed-off-by marcan too or no as he hasn't seen and approved the final version
11:20jannauyou have to, it's enough that the initial version had the Signed-off-by:
11:20mazif there's a Co-Dev tag, you must have a SoB.
11:20sventake a look at at what sob means, https://docs.kernel.org/process/submitting-patches.html#developer-s-certificate-of-origin-1-1. effectively it's enough if marcan's original version had the sob and you hadd your co-dev-by and sob afterwards
11:21alxdrl has joined #asahi-dev
11:22Eighth_Doctorwhile that's true, I really wouldn't recommend doing it without at least emailing him first and letting him know
11:24svenas long as you don't change the from: line he's fine with his sob followed by co-dev-by. if you change the from: line or do significant changes i'd reach out before
11:34jodaco_ has joined #asahi-dev
11:34jodaco has quit [Ping timeout: 480 seconds]
11:39aditya has joined #asahi-dev
11:42integralpilotim not sure if it's considered significant changes, though.
11:47svencan you push the branch somewhere? it's probably fine
11:48integralpilotwill do, thank you
12:04pb17 has quit [Ping timeout: 480 seconds]
12:05integralpilot has quit [Ping timeout: 480 seconds]
12:15pb17 has joined #asahi-dev
12:16hdbngr has quit [Ping timeout: 480 seconds]
12:25hdbngr has joined #asahi-dev
12:26integralpilot has joined #asahi-dev
12:31ACG___ has quit [Remote host closed the connection]
12:34hdbngr has quit [Ping timeout: 480 seconds]
12:34ACG has joined #asahi-dev
12:41hdbngr has joined #asahi-dev
12:50hdbngr has quit [Ping timeout: 480 seconds]
12:56integralpiloti've checked and i think it's alright, i'm going to send it now
12:58hdbngr has joined #asahi-dev
12:58integralpilotoh no git defaulted to me in From, i thought it changed it. b4 doens't use outgoing folder?
12:58integralpiloti think it's fine though, it's late here so i have to log off now
12:58integralpilot has quit [Quit: integralpilot]
13:06hdbngr has quit [Ping timeout: 480 seconds]
13:06hdbngr has joined #asahi-dev
13:09Eighth_Doctoryou need to override from for emails in the body
13:09Eighth_Doctorthe last from wins
13:11svengit commit --amend --author="..." is what I usually use if I have to adjust the author to someone else. b4 will do the correct thing then
13:15hdbngr has quit [Ping timeout: 480 seconds]
13:21__nick__ has quit [Ping timeout: 480 seconds]
13:24hdbngr has joined #asahi-dev
13:29svenphew. finally fixed that 5 seconds reboot and the tbt nhi now shows up in boltctl again \o/
13:32mazsven: whooho!
13:32svenit doesn't do any pcie tunneling quite yet ofc
13:32mazwell, you need to start somewhere...
13:33svenyeah... this is already annoying enough with the weird way it uses its iommu
13:33hdbngr has quit [Ping timeout: 480 seconds]
13:33sventl;dr: the iommu is effectively powered off until the nhi itself it brought up. and the nhi kinda depends in that iommu
13:34mazI guess that's an insurance policy. no external traffic before the IOMMU can filter things. but yeah, pretty annoying.
13:35sventhis isn't even the iommu for external traffic :/
13:35sveni'll have to ask robin and the dt guys how to properly handle this anyway
13:37mazI wonder if other SoCs that use an iommu per subsystem have similar constructs. I definitely remember something along these lines at $JOB-1...
13:38sveni haven't found anything in linux but maybe I just missed it
13:39sventhe weird special case here is that any access to the iommu MMIO before the NHI is powered on (which can only be done after the PHY is switched to tbt) results in an SError
13:39mazlook at the google pixel stuff (not sure it is merged yet). they definitely had some weird integration with one iommu per sswrap.
13:39sventhanks, will take a look
13:41hdbngr has joined #asahi-dev
13:41mazfrom what you describe, the NHI and IOMMU are sharing a power rail (or clocks), gated by the PHY. describing that in DT is going to be fun. not.
13:41svenyup, and if I enable that power rail before the PHY is brought up the SoC just resets immediately
13:41svenit's going to be great!
13:48pb17 has quit [Ping timeout: 480 seconds]
13:48aditya has quit [Quit: Connection closed for inactivity]
13:56dev-muhammad-adel has quit [Ping timeout: 480 seconds]
13:56dev-muhammad-adel has joined #asahi-dev
13:57hdbngr has quit [Ping timeout: 480 seconds]
14:06hdbngr has joined #asahi-dev
14:14pb17 has joined #asahi-dev
14:15hdbngr has quit [Ping timeout: 480 seconds]
14:17dev-muhammad-adel has quit [Ping timeout: 480 seconds]
14:17dev-muhammad-adel has joined #asahi-dev
14:17cremfuelled has joined #asahi-dev
14:23hdbngr has joined #asahi-dev
14:27duckworld has quit [Ping timeout: 480 seconds]
14:32hdbngr has quit [Ping timeout: 480 seconds]
14:33dev-muhammad-adel has quit [Remote host closed the connection]
14:33dev-muhammad-adel has joined #asahi-dev
14:35fl0_id_ has joined #asahi-dev
14:36duckworld has joined #asahi-dev
14:37fl0_id_at the point where the kernel has been uncompressed, and then says "initializing clusters" - is the device tree also important at that stage? like just wondering if it can be only chickens or a fault in the device tree could also crash it here
14:38fl0_id_ has quit [Remote host closed the connection]
14:40sveninitializing clusters is still inside m1n1, isn't it?
14:41hdbngr has joined #asahi-dev
14:49hdbngr has quit [Ping timeout: 480 seconds]
14:51jannauasahi driver down to "18 files changed, 1384 insertions(+)". probably upper bound of what I can submit right now. there is known dead code
14:53sveni like that "submit right now" part 😁
14:55john-cabaj has joined #asahi-dev
14:55jannau"right now" == "this cycle", still cleanup to do. driver is very chatty
14:56hdbngr has joined #asahi-dev
15:02ellyqwsven: i can help with that, sure :D
15:05hdbngr has quit [Ping timeout: 480 seconds]
15:14hdbngr has joined #asahi-dev
15:21svenvery nice!
15:23hdbngr has quit [Ping timeout: 480 seconds]
15:24aditya has joined #asahi-dev
15:29hdbngr has joined #asahi-dev
15:41pb17 has quit [Ping timeout: 480 seconds]
15:43hdbngr has quit [Ping timeout: 480 seconds]
15:46cremfuelled has quit [Quit: cremfuelled]
15:50ravikant_ has quit [Remote host closed the connection]
15:50pb17 has joined #asahi-dev
15:51hdbngr has joined #asahi-dev
15:54ravikant_ has joined #asahi-dev
15:59cremfuelled has joined #asahi-dev
15:59hdbngr has quit [Ping timeout: 480 seconds]
16:08hdbngr has joined #asahi-dev
16:08opticron_ is now known as opticron
16:19hdbngr has quit [Ping timeout: 480 seconds]
16:25catred2 has joined #asahi-dev
16:27hdbngr has joined #asahi-dev
16:30catred has quit [Ping timeout: 480 seconds]
16:32alxdrl has quit [Quit: Textual IRC Client: www.textualapp.com]
16:45hdbngr has quit [Ping timeout: 480 seconds]
16:54hdbngr has joined #asahi-dev
17:00ravikant_ has quit []
17:02hdbngr has quit [Ping timeout: 480 seconds]
17:06fl0_id_ has joined #asahi-dev
17:08hdbngr has joined #asahi-dev
17:12fl0_id_svenpeter[m]: probably, from src/cpufreq.c I just thought maybe it already jumped / started the kernel as it is after uncompressing the kernel. and m1n1(proxy) is presumably running on that one core, so what's the problem (for m1n1) ^^ I tried different values for the counter, but they don't seem to change anything. Would be just like me to have overlooked sth incredibly basic ... but not as far as i could find
17:13fl0_id_(and good, then i don't have to check there)
17:23fl0_id_ has quit [Remote host closed the connection]
17:24dev-muhammad-adel has quit [Remote host closed the connection]
17:25dev-muhammad-adel has joined #asahi-dev
17:26hdbngr has quit [Ping timeout: 480 seconds]
17:27fatmalama has joined #asahi-dev
17:34aditya has quit [Quit: Connection closed for inactivity]
17:35hdbngr has joined #asahi-dev
17:43hdbngr has quit [Ping timeout: 480 seconds]
17:48pb17 has quit [Ping timeout: 480 seconds]
17:50pb17 has joined #asahi-dev
17:51hdbngr has joined #asahi-dev
18:00hdbngr has quit [Ping timeout: 480 seconds]
18:10hdbngr has joined #asahi-dev
18:18hdbngr has quit [Ping timeout: 480 seconds]
18:22dev-muhammad-adel has quit [Ping timeout: 480 seconds]
18:23hdbngr has joined #asahi-dev
18:39fl0_id_ has joined #asahi-dev
18:42hdbngr has quit [Ping timeout: 480 seconds]
18:44fl0_id_ has quit [Remote host closed the connection]
18:51hdbngr has joined #asahi-dev
18:54fl0_id_ has joined #asahi-dev
18:54fl0_id_looking at differences between t6030 and t6031 - is there a reason why in src/cpufreq, some switch statements only include t6031, not t6030 (but all other devices) or did integralpilot or others add this locally? if this was different between these, it would seem like a pretty big change. selectively disabling things did not help however haha
19:02fl0_id_ has quit [Remote host closed the connection]
19:07hdbngr has quit [Ping timeout: 480 seconds]
19:10dev-muhammad-adel has joined #asahi-dev
19:12integralpilot has joined #asahi-dev
19:13integralpilott6030 just goes “cpufreq: not supported on this chip” and m1n1 doesnt bother (though Linux has working cpufreq b/c of the device tree I made) so perhaps your issue is with m1n1 cpufreq somewhere and you should just skip it for now?
19:14hdbngr has joined #asahi-dev
19:14pb17 has quit [Ping timeout: 480 seconds]
19:14integralpilotwait sorry I might be remembering wrong
19:15integralpilotI know t8122 does that not supported thing, got mixed up not sure about t6030 I’ll see
19:16integralpilotbut if it’s causing you issues there’s no harm in just skipping m1n1 cpufreq for now as it’s just early bring up so not important
19:23hdbngr has quit [Ping timeout: 480 seconds]
19:24integralpilot has quit [Ping timeout: 480 seconds]
19:28fl0_id__ has joined #asahi-dev
19:29fl0_id__integralpilot thx. yeah skipping cpufreq stuff got me further.
19:30fl0_id__this is the serial output from the second port https://www.pastery.net/tzbddr/
19:32pb17 has joined #asahi-dev
19:32hdbngr has joined #asahi-dev
19:34fl0_id__ has quit [Remote host closed the connection]
19:34integralpilot has joined #asahi-dev
19:35integralpilotif you press ^C and then type “bt”, what’s the kernel up to?
19:37fl0_id__ has joined #asahi-dev
19:37svenalso, do you have earlycon enabled?
19:37integralpilot has quit [Remote host closed the connection]
19:38fl0_id__and this is the usual m1n1 output on first port https://www.pastery.net/jcvrka/
19:38fl0_id__both somewhat abbreviated
19:38fl0_id__sven: not at the moment, because it didn't seem to make a difference
19:39svenstrongly recommend to always keep it enabled
19:39svenyou're very blind otherwise
19:40fl0_id__sven: yeah, that was just b/c i was experimenting and wanted to remove all boot options
19:40catred2 has quit [Ping timeout: 480 seconds]
19:41hdbngr has quit [Ping timeout: 480 seconds]
19:41hdbngr has joined #asahi-dev
19:42jannaumight be even worth sprinkling manual writes to the uart into linux early startup code if you don't where you're hanging. iirc marcan did that for the initial bringup
19:43fl0_id__mmh seems to be about the same with earlycon. just asahi logo and a lot of pmgr "dangerous write", and mmu shutting down
19:43fl0_id__jannau: mmmh. you mean into the m1n1 part or the kernel itself?
19:44svenkernel, you're already past m1n1 at this point
19:44noopwafelscattered uart writes in the kernel are definitely your friend
19:45fl0_id__ok. have to think about my setup then, as right now I use a thinkpad x230 as control device, which is fine, but it does not compile the kernel quickly...
19:45fl0_id__sven: thx
19:45svenif single stepping is still working (unlike el1 calls *cough*) you can also single step through the kernel
19:46fl0_id__sven: what's the best way to test this? I could drop to a HV shell.
19:46svenset a breakpoint on kernel init, then just use step() from the hv shell
19:47svenlooks like i added support for that 5 years ago and probably last tested it around that time as well :d
19:48svenwell, 4.5 years. but it's rather simple and shouldn't really break
19:48alxdrl has joined #asahi-dev
19:49chaos_princessit somewhat worked recently while i was doing some macos experiments
19:49fl0_id__ has quit [Remote host closed the connection]
19:50hdbngr has quit [Ping timeout: 480 seconds]
19:51catred has joined #asahi-dev
19:53integralpilot has joined #asahi-dev
19:53integralpilotstep has been working well for me, used it extensively when doing XNU bring up
19:53jannauhv has gdbserver support but it's also a while since I used that
19:54integralpilotgdbserver didn’t work for me :(
19:56integralpilotthe hypervisor’s own shell is quite well featured though and has like everything you could need, thanks to the ppl who made it!
19:58hdbngr has joined #asahi-dev
20:04integralpilot has quit [Ping timeout: 480 seconds]
20:08hdbngr has quit [Ping timeout: 480 seconds]
20:17hdbngr has joined #asahi-dev
20:32cremfuelled has quit [Quit: cremfuelled]
20:33hdbngr has quit [Ping timeout: 480 seconds]
20:40hdbngr has joined #asahi-dev
20:49hdbngr has quit [Ping timeout: 480 seconds]
20:49dev-muhammad-adel has quit [Ping timeout: 480 seconds]
20:54dev-muhammad-adel has joined #asahi-dev
20:56cremfuelled has joined #asahi-dev
20:56paps__ has quit [Quit: Connection closed for inactivity]
20:59hdbngr has joined #asahi-dev
21:03fl0_id__ has joined #asahi-dev
21:04fl0_id__dumb question maybe, what is the best way to add a breakpoint? I use run_guest_kernel.sh with a shell option. then I load System.map for symbols. however at this point, this fails because I self.ctx.cpu_id is not available yet. if I continue for a bit, then drop to a shell it works, but then the breakpoint didn't work. so clearly I am missing sth
21:05fl0_id__ has quit [Remote host closed the connection]
21:07hdbngr has quit [Ping timeout: 480 seconds]
21:14hdbngr has joined #asahi-dev
21:16dev-muhammad-adel has quit [Read error: Connection reset by peer]
21:17dev-muhammad-adel has joined #asahi-dev
21:20fl0_id__ has joined #asahi-dev
21:22dev-muhammad-adel has quit [Read error: Connection reset by peer]
21:22dev-muhammad-adel has joined #asahi-dev
21:22z4ckz3r0 has joined #asahi-dev
21:22fl0_id__ has quit [Remote host closed the connection]
21:23hdbngr has quit [Ping timeout: 480 seconds]
21:25z4ckz3r0 has quit [Quit: Leaving]
21:26pb17 has quit [Ping timeout: 480 seconds]
21:32hdbngr has joined #asahi-dev
21:41hdbngr has quit [Ping timeout: 480 seconds]
21:49pb17 has joined #asahi-dev
21:50hdbngr has joined #asahi-dev
21:51alxdrl has quit [Quit: Textual IRC Client: www.textualapp.com]
21:59fl0_id__ has joined #asahi-dev
22:00fl0_id__integralpilot - as you were asking about backtrace before https://www.pastery.net/auaccd/
22:03hdbngr has quit [Ping timeout: 480 seconds]
22:11hdbngr has joined #asahi-dev
22:20fl0_id__ has quit [Read error: No route to host]
22:20hdbngr has quit [Ping timeout: 480 seconds]
22:23fl0_id__ has joined #asahi-dev
22:28hdbngr has joined #asahi-dev
22:31fl0_id__ has quit [Remote host closed the connection]
22:31fl0_id__ has joined #asahi-dev
22:36hdbngr has quit [Ping timeout: 480 seconds]
22:39integralpilot has joined #asahi-dev
22:40integralpilotfor BPs as soon as you see EL1 m1n1 come on, immediately press ^C before it starts Linux and you can set a breakpoint the
22:41fl0_id__ has quit [Read error: Connection reset by peer]
22:41integralpilot has quit [Remote host closed the connection]
22:41integralpilot has joined #asahi-dev
22:44hdbngr has joined #asahi-dev
22:45fl0_id__ has joined #asahi-dev
22:48fl0_id___ has joined #asahi-dev
22:48fl0_id__ has quit [Read error: Connection reset by peer]
22:50integralpilot has quit [Ping timeout: 480 seconds]
22:53hdbngr has quit [Ping timeout: 480 seconds]
22:55cremfuelled has quit [Quit: cremfuelled]
22:59hdbngr has joined #asahi-dev
23:00fl0_id___ has quit [Remote host closed the connection]
23:00fl0_id___ has joined #asahi-dev
23:04cremfuelled has joined #asahi-dev
23:07hdbngr has quit [Ping timeout: 480 seconds]
23:08cremfuelled has quit []
23:08hdbngr has joined #asahi-dev
23:17hdbngr has quit [Ping timeout: 480 seconds]
23:23fl0_id___ has quit [Ping timeout: 480 seconds]
23:24hdbngr has joined #asahi-dev
23:29john-cabaj has quit [Ping timeout: 480 seconds]
23:33hdbngr has quit [Ping timeout: 480 seconds]
23:39pb17 has quit [Ping timeout: 480 seconds]
23:42hdbngr has joined #asahi-dev
23:42pb17 has joined #asahi-dev
23:51hdbngr has quit [Ping timeout: 480 seconds]
23:56hdbngr has joined #asahi-dev
23:56rany has quit [Remote host closed the connection]
23:56rany has joined #asahi-dev
…