#
…

2022-02-02

00:29jbowen has joined #asahi-dev
00:37jbowen has quit [Ping timeout: 480 seconds]
00:46yuyichao has joined #asahi-dev
01:04jato has quit [Ping timeout: 480 seconds]
01:20jato has joined #asahi-dev
02:29jbowen has joined #asahi-dev
02:38jbowen has quit [Ping timeout: 480 seconds]
03:50kov has quit [Quit: Coyote finally caught me]
03:50kov has joined #asahi-dev
04:01PhilippvK has joined #asahi-dev
04:05phiologe has quit [Ping timeout: 480 seconds]
04:30jbowen has joined #asahi-dev
04:38jbowen has quit [Ping timeout: 480 seconds]
06:00gladiac is now known as Guest1486
06:00gladiac has joined #asahi-dev
06:06Guest1486 has quit [Ping timeout: 480 seconds]
06:30jbowen has joined #asahi-dev
06:38jbowen has quit [Ping timeout: 480 seconds]
07:15leah1 has quit []
07:17jbowen has joined #asahi-dev
07:23jeffmiw has quit [Ping timeout: 480 seconds]
07:24leah has joined #asahi-dev
07:25jbowen has quit [Ping timeout: 480 seconds]
07:35MajorBiscuit has joined #asahi-dev
08:39flying_sausages has quit [Ping timeout: 480 seconds]
08:51kloenkChaosPrincess: would it be a good idea to include the block size as a const in the block_device trait?
08:59ChaosPrincessdo you know of a way of doing that w/o forking the crate
09:03kloenkNo, but would like to upstream it then
09:08marcanre signatures, let me take care of that please
09:08marcanwe are running way ahead of ourselves here
09:08ChaosPrincessi will just make a proof of concept implementation for now
09:08marcanI said I wanted to look into rust for that future feature, not that I wanted implemented now :p
09:08ChaosPrincessthe actual checking part isnt that complex and can be replaced
09:08marcan*wanted it
09:09ChaosPrincesswelcome to the news cycle - "scientist say a chemical may increase chances of in-vitro treatment of cancer cells" = "scienctists cured all forms of cancer " :P
09:16kloenkmarcan: I'm sorry If I'm too fast for you. I will for now continue on my gpt crate, to make that easier/more stable to use.
09:17jbowen has joined #asahi-dev
09:25jbowen has quit [Ping timeout: 480 seconds]
09:36kettenismarcan: any progress on the smc mfd stuff?
09:42jbowen has joined #asahi-dev
09:51jbowen has quit [Ping timeout: 480 seconds]
10:02marcankettenis: cleaning up the commits now (modulo stupid IRQ... see twitter... *sigh*)
10:03chadmed has quit [Quit: Konversation terminated!]
10:05blasty has joined #asahi-dev
10:06Ziemas has quit [Ping timeout: 480 seconds]
10:07blasty_ has quit [Ping timeout: 480 seconds]
10:07Ziemas has joined #asahi-dev
10:14chadmed has joined #asahi-dev
10:42flying_sausages has joined #asahi-dev
12:25al3xtjames4 has joined #asahi-dev
12:29al3xtjames has quit [Ping timeout: 480 seconds]
12:29al3xtjames4 is now known as al3xtjames
13:54nsklaus_ has joined #asahi-dev
13:56kgarrington has joined #asahi-dev
13:57kgarringtonmarcan: any word on the pull request sven submitted for m1n1 nvme fixes? https://github.com/AsahiLinux/m1n1/pull/156
13:57kgarrington has quit [Remote host closed the connection]
13:58marcan... merged but I guess they left?
13:58kgarrington has joined #asahi-dev
13:58marcanI have joins/parts disabled but I always get confused when tabcomplete doesn't work, heh
13:58svenah, he's back :D
13:59kgarringtonSorry, when I leave this app on my iPad it must sign me out. I mostly watch using whitequark’s log
13:59j`eykgarrington: that nvme support is just for m1n1 though, not used for anything currently
14:00* svenjust wants to use it to reproduce that weird random write + flush slowdown
14:01kgarringtonMy other question for marcan is if he’s going to exclusively support schedutil with his upcoming cpufreq work. Seems like the best option
14:02kgarringtonMight be worth removing performance and ondemand from the kernel config entirely
14:04marcanthat's purely a config thing, the driver doesn't care
14:04marcanbut yes schedutil should be the default, probably
14:05kgarringtonProbably best to enforce that default in the config
14:05j`eykgarrington: the config is up to the distros in the end
14:06kgarringtonI thought the default distribution was going to be Arch-based, so in that case, it’s very doable
14:08kgarringtonI’m excited to start turning things off in the Asahi kernel config and getting the total memory footprint of the system down 🤓
14:09kgarringtonWhile it’s not hard to use less ram on first boot than macOS, it’s fun to get it as low as possible
14:09kgarringtonThough turning off the various cpu errata in the arm64 config scares me, I don’t know which apply to M1x
14:10j`eykgarrington: I have a pretty minimal kernel and it's still 15M
14:10kgarringtonI measure based on the memory usage reported by neofetch after boot
14:13kgarringtonAnd compare to the numbers reported in Activity Monitor.app on the Mac. My Intel macs use at least 4GB of Ram just to boot to the desktop
14:15kgarrington has quit [Remote host closed the connection]
14:28povikprotonmail has found pgp keys for bunch of people and has been sending them encrypted copies of patches
14:29j`eybut its fine on the web page?
14:29povikyeah, no pgp key on file for the mailing list :-p
14:32sventhey also messed with my outgoing patch once (iirc they changed some linebreaks or something? don't remember)
14:32sventhat was one of the reasons i switched to fastmail
14:36alyssapovik: oh dear
14:42mazyeah, proton has some interesting policies.
14:42poviki guess it might have picked up the key from a signed email on the mailing list in the past? (pull request?) not sure what happened there
14:43mazthey likely have imported the database from one of the keyuervers.
14:43mazkeyservers*
14:43povikhow do they know the keys are valid? i thought anyone can upload to keyservers
14:43mazthat's the fun part. they have no clue.
14:44mazbut hey, they managed to get my key right, so I can still read email people send me.
14:44svenmost of their security is also more of a cargo cult
14:44mazbut I'm everyday grateful I run my own email infrastructure.
14:45sveni happily pay someone else so that I don't have to do just that :D
14:47mazI used to do that. and then I realised that they were worse than me.
14:47maz(and that's saying something)
14:48off^ has quit [Remote host closed the connection]
14:49povikwell that's one explanation why NCO v3 haven't got any response yet
14:49povik(stephen who reviewed v2 got his copy encrypted)
14:49sveni think i gave up when gmail.com decided for the n-th time that my mails were spam because the IP range my server was in got added to some spam blacklist
14:50ChainsawRunning e-mail infrastructure is hard work. I left it to Microsoft in the end. They have more time to spend on spam defence than I do.
14:50mazyeah, I had some run-in with gmail, only solved by some heavy duty DKIM/SPF setup.
14:50mazyahoo has been the worse over the years.
14:51sveni've heard outlook.com is pretty bad too. apparently they silently blackhole mails they consider spam instead of just moving them to a spam folder
14:51milek7in my experience outlook is the worst
14:51sveni just decided life's too short to deal with all that :)
14:51Chainsawsven: Funny how "I don't care anymore", "it's someone elses problem" and "it's in the cloud" all mean the same thing :)
14:52mazone thing for sure, I'm not going to pay my employer to allow me to do my job... ;-)
14:53Chainsawmaz: That just sounds like you've got a strong negotiation position to me.
14:54Glanzmannmaz: When you work for Google you can also open an internal ticket and email blocking get resolved quickly or if you have the right permissions you can do it yourself ...
14:54Glanzmannmaz: I also prefer running my own mailserver and will never let someone else take care of my email, to imortant.
15:02mazGlanzmann: I stay away from the internal prod stuff. otherwise, I'll get roped in for ridiculous stuff.
15:02yuyichao has quit [Ping timeout: 481 seconds]
15:03Glanzmannmaz: I see. :-)
15:23jbowen has joined #asahi-dev
15:28yuyichao has joined #asahi-dev
15:55povikweb key directory is where protonmail got the keys
16:11sventhat actually looks reasonable. it’s still annoying that it automatically tries to encrypt every outgoing email then
16:17povikbut that seems like a bug. as they describe the feature in their support pages there needs to be an action from me first before they start using the key to encrypt for a particular contact
16:18povikand i don't see a way to make protonmail not do that... argh...
16:55alyssapovik: giving the CLASS_DEPRECATED patch a go
16:56alyssaIt definitely "seems" to be more likely to work if I warm reboot from macOS
16:57alyssathough actually boot chime is enabled regardless
16:57alyssafailing even with that patch
16:58alyssaat fresh boot, p.read32(0x23d1f002c) = 0xc76202
16:59povikfwiw the chime is with a different codec than the one you see probe failures on
17:01povik0xc76202 is the cs42l part in reset, as it should be
17:04alyssafailed after a warm boot from 1TR
17:07alyssafailed after rebooting from macOS, so much for that theory
17:08alyssaahh bloody h
17:08alyssawait nvm
17:10alyssabroken even with {clk,pd}_ignore_unused
17:10alyssayeah im just going to use headphones on another computer.
17:12povikoh no the asahi effort failed you there
17:12povikwent over the bits in 0xc76202 but the drive strength seems high enough, nothing weird
17:12poviknot that my mini would give a different value (probably, don't have it by me)
17:14povikalyssa: you still no friends with the hypervisor?
17:14poviki would love to ask you to look at the matter under m1n1's gpiola
17:16povikor send me the exact tip commit and .config and i will see if i can't reproduce it with that
17:41MajorBiscuit has quit [Ping timeout: 480 seconds]
17:48ChaosPrincesstrying to call nvme_init in m1n1 code and it returns 0, what am i doing wrong
17:58svenit should complain about something if it fails
17:58j`eyChaosPrincess: marcan just merged a few changes from sven for 12.1 and max/pro, so maybe pull if that could affect you
17:59svenoh, yes. Apple decided to change the SART compatible from sart,t8103 to sart,costguard with the 12.0 update
18:00sven*coastguard
18:00ChaosPrincessok, that helped
18:00j`eycoastguard.. i assume thats an inside joke :P
18:02sveni guess it’s the codename for that hardware block
18:02alyssathe West Coast, I assume
18:40jannauI got rid of the force-locked dart-disp0 using reserved regions from the devicetree. Works by not resetting stream ids with reserved regions on probe and recreating the regions on device attach
18:42jannauI'm not sure if it would be desirable to verify that only the the reserved resgions are mapped at probe
18:44svennice! not sure what that check would do for us but it feels like that check could be done in m1n1 if we really wanted to
18:47jannauok, easier for me then. I laready check if the reserved regions are mapped continuously in m1n1 but not if anything else is mapped
18:48yamii has joined #asahi-dev
18:49svenfeels like a sanity check to me tbh. If iboot wants to play nasty games and try to map something else it could also do much more horrible things 🤷🏻‍♂️
18:50j`eylike.. not load us :P
18:50svenI’m much more enthusiastic about not needing that force locked hack anymore :)
18:52jannauchecking every page looks indeed over the top. checking the last mapped page shouldbe enough of a sanity check
18:53jannaumostly to catch unexpected changes in the adt not catch a nefarious iboot
18:53alyssajannau: Woo :]
18:53alyssareserved-regions is probably the way to go, yeah
18:53alyssasven: aww but the force-locked hack is so cute! :-p
18:55svenjannau: yeah, that sounds reasonable
19:00kaprests has quit [autokilled: Possible botnet activity. Mail support@oftc.net with questions. (2022-02-02 19:00:02)]
19:07n1c has quit [Quit: ZNC 1.8.2+deb1+focal2 - https://znc.in]
19:08wCPO6 has quit []
19:08wCPO6 has joined #asahi-dev
19:08n1c has joined #asahi-dev
19:10jannauseems to be enough to have just the framebuffer as reserved region
19:24m6wiq has joined #asahi-dev
19:34kaprests has joined #asahi-dev
19:48Tuff has joined #asahi-dev
20:08Guest1237 has quit []
20:09DragoonAethis has joined #asahi-dev
20:30nsklaus_ has quit [Quit: Konversation terminated!]
20:46___nick___ has joined #asahi-dev
20:46chengsun has quit [Ping timeout: 480 seconds]
20:47___nick___ has quit []
20:48___nick___ has joined #asahi-dev
20:56Tuff has quit [Quit: Textual IRC Client: www.textualapp.com]
21:00ChaosPrincessfat loading done, now time to reimplement mach-o parsing in c
21:02jannaudo we need that? we probably should think of a simpler solution now that we have raw binaries anyway for macos 12.1 and later
21:04jannauthe macho parsing in python was something needed for loading macos kernels in the HV
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:09ChaosPrincessim not sure i understand the raw m1n1 linker script
21:09ChaosPrincesslike where is the entry point set
21:15j`eyyou set that when you run kmutil: kmutil configure-boot -c m1n1.bin --raw --entry-point 2048
21:16ChaosPrincessyea, i just dont get how sections magically end up at 2048
21:17j`eysrc/start.S has the .init section, and _start is at 2048 into that
21:25loki_val has quit []
21:25crabbedhaloablut has joined #asahi-dev
22:05m6wiq has quit []
22:13c10l has quit [Quit: Bye o/]
22:18jeffmiw has joined #asahi-dev
22:20c10l has joined #asahi-dev
22:54Esmil has quit [Server closed connection]
22:54Esmil has joined #asahi-dev
23:19Fanfwe has quit [Server closed connection]
23:22Fanfwe has joined #asahi-dev
…