#
…

2023-03-28

01:21user982492 has joined #asahi-dev
01:23Urriellu has quit [Ping timeout: 480 seconds]
01:26Urriellu has joined #asahi-dev
02:19Urriellu has quit [Ping timeout: 480 seconds]
03:01skipwich has quit [Quit: DISCONNECT]
03:02skipwich has joined #asahi-dev
04:10rory_be has quit [Remote host closed the connection]
04:12rory_be has joined #asahi-dev
04:20rory_be has quit [Ping timeout: 480 seconds]
04:25Urriellu has joined #asahi-dev
04:53rory_be has joined #asahi-dev
05:01rory_be has quit [Ping timeout: 480 seconds]
05:03user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:16soonercane has quit [Quit: Bye]
05:17soonercane has joined #asahi-dev
05:21raveling has quit [Ping timeout: 480 seconds]
05:22raveling has joined #asahi-dev
05:33marcanzzywysm: it's not pushed yet, no. it's merged locally.
05:34krbtgt has quit [Ping timeout: 480 seconds]
05:37enron8 has joined #asahi-dev
05:37nafod has quit [Quit: Ping timeout (120 seconds)]
05:37enron has quit [Quit: Ping timeout (120 seconds)]
05:37nafod has joined #asahi-dev
05:37enron8 is now known as enron
05:49cylm has quit [Ping timeout: 480 seconds]
06:29rory_be has joined #asahi-dev
06:36gabuscus_ has joined #asahi-dev
06:37rory_be has quit [Ping timeout: 480 seconds]
06:41gabuscus has quit [Ping timeout: 480 seconds]
06:43nafod has quit [Remote host closed the connection]
06:43nafod has joined #asahi-dev
06:45Urriellu has quit [Ping timeout: 480 seconds]
06:45rory_be has joined #asahi-dev
06:53rory_be has quit [Ping timeout: 480 seconds]
06:55salimterryli has joined #asahi-dev
07:00rory_be has joined #asahi-dev
07:00WindowPa- has quit [Quit: ZNC 1.8.2 - https://znc.in]
07:00SalimTer- has quit [Ping timeout: 480 seconds]
07:00WindowPain has joined #asahi-dev
07:08rory_be has quit [Ping timeout: 480 seconds]
07:20rory_be has joined #asahi-dev
07:28rory_be has quit [Ping timeout: 480 seconds]
07:51marcansven, jannau & co: any objections to merging the 4K patches soon™?
07:52marcanI think 1 year in we've mostly covered the "making people fix their stuff on 16K" problem
07:52marcanand FEX actually works now for running real games to there's actually a valid use case for 4K (also waydroid I guess...?)
07:52marcansome of the patches are... a bit questionable, but I don't think they're likely to regress 16K builds
07:53marcanthis would be a linux-asahi-edge-4k package eventually (RIP my kernel build times...)
07:54rory_be has joined #asahi-dev
07:55marcanin other kernel news, I'm going to do another 6.2 asahi tag with a couple trivialities, and then rebase on 6.3-rcX and start pushing through the asahi-soc queue
08:01svenim not sure what happens with thunderbolt/untrusted plus my old 4K patches
08:01svenI don’t remember if I disallow dma for those devices entirely
08:02rory_be has quit [Ping timeout: 480 seconds]
08:02jannauthe dcp size alignment patch is fine, I haven't looked at the iommu/dma changes in detail
08:02svenother than that im rather sure the patches work, they’re just a bit awkward due to the way the iommu api works
08:05marcanjannau: yeah, that one I already merged in, it's trivial
08:06marcansven: if TB is broken on 4K builds, whatever, we can worry about that later. as long as it doesn't regress 16K I'm not worried.
08:06marcanthis is mostly about giving people a way to use FEX (including the developers) on AS, since that stuff is starting to matter now
08:08nyilas has joined #asahi-dev
08:10rory_be has joined #asahi-dev
08:11sventhe patches may expose adjacent pages on 4K for untrusted fwiw
08:12svenill have to check again
08:12svenbut it shouldn’t break anything on 16k builds
08:19rory_be has quit [Ping timeout: 480 seconds]
08:21marcancan we add a kernel security taint on 4K?
08:25marcanI think TAINT_CRAP is the best fit here, heh
08:25jannauis there a matching TAINT? otherwise it's just 'add_taint(TAINT_FIRMWARE_WORKAROUND, LOCKDEP_STILL_OK);'
08:25marcanit's not exactly a firmware workaround...
08:27jannaunah, that's just copy-n-paste from dcp module unload code
08:27jannaujust add the taint in dart_probe with 4k pages
08:28rory_be has joined #asahi-dev
08:29nyilas has quit [Remote host closed the connection]
08:30leitao has joined #asahi-dev
08:31leitao has quit []
08:33nyilas has joined #asahi-dev
08:36nsklaus has joined #asahi-dev
08:36rory_be has quit [Ping timeout: 480 seconds]
08:39leitao has joined #asahi-dev
08:57cuso4 has joined #asahi-dev
09:01nsklaus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
09:07leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:08rory_be has joined #asahi-dev
09:11chadmed_ has joined #asahi-dev
09:11chadmed has quit [Read error: Connection reset by peer]
09:13svenI should also get back to TB and clean that up now that $work has calmed down a bit
09:14marcantagged -asahi12, just that minor DCP change and some miscellanea from lina
09:14marcangoing to rebase on 6.3-rc4 now
09:16rory_be has quit [Ping timeout: 480 seconds]
09:16marcanthanks :)
09:17marcanalso it's probably a good time to send off mailbox after a smoke test here, enough people have tested it in asahi now
09:17* marcangrabs the popcorn
09:19_jannau_for dart you have drop the t8112 patches but manual cleanup required after that
09:21_jannau_rebase for gpu is not trivial due to upstreamed rust changes, my first try didn't compile. I haven't tried to clean it up
09:23leitao has joined #asahi-dev
09:24rory_be has joined #asahi-dev
09:25darkapex1 has quit []
09:26darkapex has joined #asahi-dev
09:33rory_be has quit [Ping timeout: 480 seconds]
09:37kettenissven: you don't use the subpage protection to avoid exposing more than 4k?
09:38marcanI think that isn't hooked up yet
09:39svenI wanted to do that but never got around because that also requires changes to the iommu api
09:40kettenisthere are some gotcha's with exposing really small regions, but 4k regions should be fine
09:41svenI think I did a quick hack and the WiFi chip didn’t like just exposing very small (8 bytes or so) regions
09:43kettenis8-byte alignment is ok, smaller than that gets you into trouble with the onboard NIC
09:44kettenis(the NIC probably always does 64-bit aligned memory access, which is consistent with its mips heritage)
10:02marcan_jannau_: didn't run into anything significant for gpu, I just dropped all the upstreamed commits and replaced the arm64 series with what was on the ML + a conflict fix and it worked
10:03marcanshould I merge the 13.2 DCP changes?
10:06_jannau_I think I have newer 13.2 dcp changes so please don't merge them from that branch
10:06marcansmoke testing on t314 now
10:07marcanseems to work, I'll do a push
10:08marcangithub seems to be hurting...
10:08marcanmaybe this is a good time to move to fdo...
10:18leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:20leitao has joined #asahi-dev
10:31rory_be has joined #asahi-dev
10:39rory_be has quit [Ping timeout: 480 seconds]
10:48rory_be has joined #asahi-dev
10:56rory_be has quit [Ping timeout: 480 seconds]
11:01raveling has quit [Ping timeout: 480 seconds]
11:05rory_be has joined #asahi-dev
11:08marcanok, applied the pending soc stuff (I think)... now let's see about mailbox.
11:13rory_be has quit [Ping timeout: 480 seconds]
11:14raveling has joined #asahi-dev
11:19leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:22rory_be has joined #asahi-dev
11:22salimterryli has quit [Remote host closed the connection]
11:24raveling has quit [Ping timeout: 480 seconds]
11:26raveling has joined #asahi-dev
11:30rory_be has quit [Ping timeout: 480 seconds]
11:30salimterryli has joined #asahi-dev
11:38rory_be has joined #asahi-dev
11:38salimterryli has quit [Remote host closed the connection]
11:38raveling has quit [Ping timeout: 480 seconds]
11:43eiln has joined #asahi-dev
11:46rory_be has quit [Ping timeout: 480 seconds]
11:49eilnis there an easy way to get M2 device trees?
11:49eilnthey're not in preboot and i dont want to install ventura :(
11:50ChaosPrincessdownload ipsw and grab from there
11:51jannaueiln: in the installer source: python src/urlcache.py $IPSW
11:51eilnthank you!
11:51jannauwithout arguments it will print the files. list files you want to extract as further arguments
11:53eilnill add that to the adt wiki
11:53ChaosPrincesshttps://www47.zippyshare.com/v/0MzyBguK/file.html - already downloaded and decoded dts that i had laying around
11:53ChaosPrincessshould be some m2 ones in there
11:53leitao has joined #asahi-dev
11:54eilnthank you
12:01raveling has joined #asahi-dev
12:10raveling has quit [Ping timeout: 480 seconds]
12:12eiln has quit [Remote host closed the connection]
12:19raveling has joined #asahi-dev
12:21marcansven, jannau: want to review the wording for the de-mailboxing before I send it? https://mrcn.st/p/ecCKPUy9
12:27eiln has joined #asahi-dev
12:27raveling has quit [Ping timeout: 480 seconds]
12:38raveling has joined #asahi-dev
12:38_jannau_marcan: maybe replace "just isn't particularly high quality" with "made design decisions unfit for our use case"
12:40_jannau_you could add binary size comparisson. mailbox with only apple-mailbox vs. soc/apple-mailbox
12:40_jannau_might look more favorable than the source code size reduction
12:41marcanheh, sure
12:51rory_be has joined #asahi-dev
12:55raveling has quit [Ping timeout: 480 seconds]
12:56pjakobsson_ has joined #asahi-dev
12:56pjakobsson has quit [Ping timeout: 480 seconds]
12:59raveling has joined #asahi-dev
12:59rory_be has quit [Ping timeout: 480 seconds]
13:01marcan_jannau_: meh, there's some alignment thing and .text doesn't change size (.data and .rodata do, but not by too much)
13:01marcannot worth spending more time on
13:01marcanI think something might be padding to 64K align
13:03j`ey_#define SEGMENT_ALIGN SZ_64K
13:05marcaneh, whatever :p
13:07marcanI'll send it
13:08_jannau_you could compare the size of the object files, not worth to spend much time on though
13:08ChaosPrincessmaybe mention that gpu goes faster with your mailbox
13:08raveling has quit [Ping timeout: 480 seconds]
13:09rory_be has joined #asahi-dev
13:10cuso4 has left #asahi-dev [#asahi-dev]
13:11marcanChaosPrincess: it doesn't :p (not yet at least)
13:11marcanI could barely get a 1% improvement with regular benchmarks, mostly within margin of error
13:12marcanin sync mode it was actually worse, probably because the extra CPU busywork ended up helping with the scheduler or something
13:12marcanthere's too much cpu/gpu interaction subtlety right now
13:13marcanbut at least when we control the driver we can actually profile and optimize it without a pile of common code getting in the way
13:13* marcanhits b4 send
13:15raveling has joined #asahi-dev
13:17rory_be has quit [Ping timeout: 480 seconds]
13:17marcan(also first time I send a series with b4)
13:18marcanbetween this and my DIY patch tracker and maybe moving soc to fdo/gitlab, maybe I can make this whole kernel thing less painful enough to tolerate :p
13:18ChaosPrincessb4 is great, removes a lot of guessing 'how will i fuck up sending patches this time' :P
13:18j`ey_looks like it went through ok marcan
13:18marcanI like how it picked up my gpg key automatically, although it was a bit surprising (why is a dry-run send asking me to touch my yubikey?!)
13:19ChaosPrincessnow, if people would actually respond to them in reasonable time, but thats not something you can solve with tech
13:19marcanChaosPrincess: thankfully for this one we don't have to *actually* wait for Jassi, if he drags his feet on it we can just merge everything up until the removal ourselves :p
13:20j`ey_the only issue is the config change then
13:20marcanyeah, but that's a minor evil if it comes to that
13:24leitao has quit [Ping timeout: 480 seconds]
13:24raveling has quit [Ping timeout: 480 seconds]
13:26rory_be has joined #asahi-dev
13:27raveling has joined #asahi-dev
13:29eilnemail terrifies me
13:29eilnthat they're comparing a ulong to int ret in find_and_map_user_pages()
13:30eilnbut i *really* dont want to join a @quicinc.com thread
13:30nsklaus has joined #asahi-dev
13:31fortich has joined #asahi-dev
13:32mazwhy not? we all interact with "competitors on the list.
13:34rory_be has quit [Ping timeout: 480 seconds]
13:42eilnmaz: ill send a patch if it gets merged.
13:42raveling has quit [Ping timeout: 480 seconds]
13:49mazeiln: it'd be a lot easier to get it fixed before... :-/ doing it after the facts is a real pain.
13:51rory_be has joined #asahi-dev
13:58eilnmaz: i feel the opposite. the qaic patch is at v5(!) now, and i have no idea of its review status. only qualcomm would know if v5 gets scraped again.
14:00raveling has joined #asahi-dev
14:02mazeiln: v5 is nothing. I have series that are up to v18 in my Inbox. getting things merged with blatant bugs usually end up in a disaster, specially with QC, as the crap immediately propagates in the Android trees...
14:02mazI'm sorry, but I really don't get the rationale.
14:04leitao has joined #asahi-dev
14:08raveling has quit [Ping timeout: 480 seconds]
14:11raveling has joined #asahi-dev
14:17eilnmaz: of course some unaffiliated normie would feel out of place in disturbing a massively corpo & proprietary operation (Cloud AI chip btw, WTF?)
14:17eilnthis is less about email, but it sure doesn't help
14:17eilnlike i said, i've been eyeing the thread, and once reviewed/staged/stable i'll send a patch
14:19ChaosPrincessi can bully some corporations on your behalf if you want it :P
14:21raveling has quit [Ping timeout: 480 seconds]
14:22mazI still don't understand the corp vs unaffiliated statement. a bug is a bug, and the sooner it gets squashed, the better. anyway, I'll go back to my cave, I'm clearly missing some basics here.
14:22eilne.g. intel vpu had to scrape userptrs in like v2; if qaic also does the patch becomes meaningless
14:25eilnmaz: if a patch holds that much importance the focus should be on simplifying the process
14:29raveling has joined #asahi-dev
14:34mazeiln: we'll have to agree to disagree here.
14:36marcanmaz: there is a much bigger mental and practical barrier to email/patch interactions than most seasoned kernel devs acknowledge
14:36marcanI mean FFS I just had to make myself a boutique patch tracker for my own submissions/reviews because I just couldn't cope with email
14:37mazmarcan: clearly, I'm not seasoned enough. and replying to an email to say "this is broken" isn't that hard.
14:37mazbut hey, like I said, I don't understand most things.
14:37marcanit isn't, but replying to a merge request is even easier and has an edit button
14:37psykosethere are plenty of email issues but i wouldn't say "i will send the bug report after it's merged and not before it's merged" is very related to that
14:37psykoseand i refuse to use git-send-email on a good day :p
14:39bcrumb has joined #asahi-dev
14:40leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:43leitao has joined #asahi-dev
14:52leitao has quit [Ping timeout: 480 seconds]
14:52bcrumb has quit [Quit: WeeChat 3.8]
14:55raveling has quit [Ping timeout: 480 seconds]
15:06raveling has joined #asahi-dev
15:17raveling has quit [Ping timeout: 480 seconds]
15:30raveling has joined #asahi-dev
15:30leitao has joined #asahi-dev
15:38leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:39raveling has quit [Ping timeout: 480 seconds]
15:39leitao has joined #asahi-dev
15:52raveling has joined #asahi-dev
15:58Dcow has joined #asahi-dev
16:01leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:03leitao has joined #asahi-dev
16:06alyssa has joined #asahi-dev
16:06alyssamy #1 bugbear with email patch review is that I'm apparently not allowed to resend patches after i fix things people report
16:06alyssawhich means people are expected to review stale code
16:06alyssabecause otherwise resending will annoy people by generaitng more email
16:07alyssagitlab by contrast, the moment i fix something reported i repush the MR and reviewers always see the working code
16:07alyssawhich means instead of waiting a week for every new version of the series, it can be minutes in between a reviewer sending in feedback and it getting fixed
16:07Urriellu has joined #asahi-dev
16:08alyssaand instead of taking a month to get through 4 versions before merged, it can be (and often is) just a few days
16:08raveling has quit [Ping timeout: 480 seconds]
16:09tobhe_is that a linux ml rule?
16:09alyssaetiquette/courtesy, but yes
16:10ChaosPrincesssince we are talking ml, can someone explain to me what statuses on patchwork mean
16:10alyssaChaosPrincess: no
16:10ChaosPrincesslike, a patch is in status 'changes requested', except there were zero responses to series
16:13_jannau_my crystal ball answers: maybe unaddressed comments from a previous series but I'd vote for alyssa's answer
16:14raveling has joined #asahi-dev
16:15leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:17leitao has joined #asahi-dev
16:20Urriellu has quit [Remote host closed the connection]
16:21leitao has quit []
16:24Dcow has quit [Quit: dcow]
16:25salimterryli has joined #asahi-dev
16:25raveling has quit [Ping timeout: 480 seconds]
16:27Dcow has joined #asahi-dev
16:28raveling has joined #asahi-dev
16:28leitao has joined #asahi-dev
16:32leitao has quit []
16:35bcrumb has joined #asahi-dev
16:36raveling has quit [Ping timeout: 480 seconds]
16:38leitao has joined #asahi-dev
16:40marcansee my solution has emojis, that's how you know it's better than patchwork https://mrcn.st/t/fboard.png
16:41raveling has joined #asahi-dev
16:41alyssamarcan: -1, needs lina sticker
16:42marcanlina sticker... where?
16:42alyssaeverything is better with lina stickers
16:43marcan(tbf this is an off-the-shelf thing I just plugged a mailing list scraper into, I'm not planning on hacking up the UI :p)
16:43bcrumb has quit [Quit: WeeChat 3.8]
16:46handlerugwhat's that UI?
16:47handlerugI see, thanks
16:47marcanit's... not exactly the most solid piece of software, it has some quirks, but it does the job
16:47seeeath has joined #asahi-dev
16:47marcanI'm trying to use it both for general project/task management, and as a patch tracker
16:48marcan(and it's easy to deploy which is important, and has a somewhat-questionably-documented-but-functional API I could fire requests at from a python script running as a Postfix transport from a redirect and yes this is all very rube goldberg)
16:48handlerugfunny how when you build it yourself it suddenly changes to AGPL https://github.com/mattermost/focalboard/blob/main/LICENSE.txt
16:49handlerugbut better than Notion I guess :P
16:49marcanyeah I dunno, AGPL sucks but I have no particular plans to contribute back and I used their blobs anyway
16:49marcanI just need something that works and is on my server
16:49leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:50ChaosPrincessso, isnt that screenshot a derivative work, so, since you posted it here, source code, plz :P
16:50marcanI don't have time time to fight ideological fights any more, I just don't contribute to projects with shitty licenses :p
16:50marcanChaosPrincess: no the binaries are MIT
16:50marcanI can also just binary patch them if I need a feature, that's okay
16:51marcanand it extracts its own web UI to bare files on first run, so editing those is kosher since the whole binary release is MIT :p
16:51marcan(if I ever do need to hack the UI)
16:51marcanit just means I need to run the .js through a beautifier first, but c'est la vie
16:53leitao has joined #asahi-dev
16:54marcanseriously though, I only have the energy/time to fight asahi-relevant ideological fights these days :p
16:54marcanand with that, good night
16:55raveling has quit [Ping timeout: 480 seconds]
16:58Dcow has quit [Quit: dcow]
16:58leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:59raveling has joined #asahi-dev
17:01leitao has joined #asahi-dev
17:04leitao has quit []
17:05zachole has joined #asahi-dev
17:06leitao has joined #asahi-dev
17:10raveling has quit [Ping timeout: 480 seconds]
17:10leitao has quit []
17:11raveling has joined #asahi-dev
17:14leitao has joined #asahi-dev
17:17leitao has quit []
17:21seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:22leitao has joined #asahi-dev
17:25seeeath has joined #asahi-dev
17:26leitao has quit []
17:27raveling has quit [Ping timeout: 480 seconds]
17:38leitao has joined #asahi-dev
17:40fortich has quit [Remote host closed the connection]
17:42leitao has quit []
17:44leitao has joined #asahi-dev
17:47leitao has quit []
17:47leitao has joined #asahi-dev
17:47leitao has quit [Remote host closed the connection]
17:48Urriellu has joined #asahi-dev
17:49raveling has joined #asahi-dev
17:54cylm has joined #asahi-dev
17:57cylm_ has joined #asahi-dev
17:59cylm__ has joined #asahi-dev
18:01raveling has quit [Ping timeout: 480 seconds]
18:03bcrumb has joined #asahi-dev
18:04cylm has quit [Ping timeout: 480 seconds]
18:06cylm_ has quit [Ping timeout: 480 seconds]
18:08cylm has joined #asahi-dev
18:14bcrumb_ has joined #asahi-dev
18:15cylm__ has quit [Ping timeout: 480 seconds]
18:18bcrumb_ has quit []
18:19bcrumb_ has joined #asahi-dev
18:21bcrumb has quit [Ping timeout: 480 seconds]
18:27bcrumb_ has quit [Quit: WeeChat 3.8]
18:43psykose has quit [Remote host closed the connection]
18:44psykose has joined #asahi-dev
19:37cylm has quit [Ping timeout: 480 seconds]
19:45seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:46seeeath has joined #asahi-dev
19:54c10l has quit [Quit: Bye o/]
19:55c10l has joined #asahi-dev
20:02seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:03seeeath has joined #asahi-dev
20:14roxfan2 has joined #asahi-dev
20:17roxfan has quit [Ping timeout: 480 seconds]
20:28c10l0 has joined #asahi-dev
20:31seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:32seeeath has joined #asahi-dev
20:32eiln has quit [Remote host closed the connection]
20:34c10l has quit [Ping timeout: 480 seconds]
20:37seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:57raveling has joined #asahi-dev
21:05raveling has quit [Ping timeout: 480 seconds]
21:06raveling has joined #asahi-dev
21:06nehsou^ has joined #asahi-dev
21:09kujeger has quit [Remote host closed the connection]
21:17seeeath has joined #asahi-dev
21:22mkurz has quit [Remote host closed the connection]
21:24mkurz has joined #asahi-dev
21:34nyilas has quit [Remote host closed the connection]
21:46jannauwonderful, dcp manages to print empty syslog messages even with "soc: apple: rtkit: Crop syslog messages" applied
21:49jannaumarcan: https://github.com/jannau/linux/tree/dcp-6.3-rc4-0_dcp-v13_2 has a mergeable DCP 13.2 firmware commits
22:04krbtgt has joined #asahi-dev
22:23sefidel has quit [Remote host closed the connection]
22:23sefidel has joined #asahi-dev
22:30seeeath has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:31seeeath has joined #asahi-dev
23:24rosefromthedead has joined #asahi-dev
…