#
…

2022-01-06

00:23aleasto has quit [Quit: Konversation terminated!]
00:23aleasto has joined #asahi-dev
00:24aleasto has quit [Remote host closed the connection]
00:28aleasto has joined #asahi-dev
01:12aleasto has quit [Quit: Konversation terminated!]
01:26yuyichao has joined #asahi-dev
02:00DragoonAethis has quit [Quit: hej-hej!]
02:00DragoonAethis has joined #asahi-dev
03:08bluerise_ has joined #asahi-dev
03:15bluerise has quit [Ping timeout: 480 seconds]
03:26kov has quit [Quit: Coyote finally caught me]
03:26kov has joined #asahi-dev
03:41PhilippvK has joined #asahi-dev
03:44phiologe has quit [Ping timeout: 480 seconds]
04:10chadmed has joined #asahi-dev
06:39the_lanetly_052 has joined #asahi-dev
06:52jeffmiw has quit [Ping timeout: 480 seconds]
08:16MajorBiscuit has joined #asahi-dev
08:17Major_Biscuit has joined #asahi-dev
08:25MajorBiscuit has quit [Ping timeout: 480 seconds]
10:23Dcow__ has joined #asahi-dev
10:23Dcow___ has joined #asahi-dev
10:28Dcow_ has quit [Ping timeout: 480 seconds]
10:28Dcow has quit [Ping timeout: 480 seconds]
10:43ChaosPrincess has quit [Quit: WeeChat 3.4]
10:45ChaosPrincess has joined #asahi-dev
11:07aleasto has joined #asahi-dev
11:32Major_Biscuit has quit [Ping timeout: 480 seconds]
11:35aleasto has quit [Quit: Konversation terminated!]
11:36aleasto has joined #asahi-dev
11:37marcanrobher: good catch, I'll send a fix for that
11:37marcanlandscape15[m]: yes
11:49jannaumarcan: u-boot has smc support and enables the brcm devices
11:52os0 has joined #asahi-dev
11:53MajorBiscuit has joined #asahi-dev
11:53os has quit [Remote host closed the connection]
11:54chadmed has quit [Remote host closed the connection]
11:54landscape15[m]jannau: there is an Apple SMC driver inside the Linux kernel, but I suppose it’s for old macs (T1 maybe?)
11:57j`eyit has some similarities in the "api"
12:13roxfan has quit [Ping timeout: 480 seconds]
12:24phiologe has joined #asahi-dev
12:26PhilippvK has quit [Ping timeout: 480 seconds]
12:28roxfan has joined #asahi-dev
12:59marcanjannau: oh, that's new :)
13:02marcan(sorry for still being less than 100% around; I've ended up helping a friend with some personal stuff over this week and the next, but I'm still working on the wifi stuff/reviews and other kernel things on and off)
13:02kettenismarcan: no it isn't, the smc support in u-boot has been there ever since I added PCIe support to u-boot
13:03kettenisnot sure if I'm going to upstream that bit though, since U-Boot doesn't really need it since I don't plan to add wifi support to u-boot
13:13marcankettenis: huh, I somehow missed or forgot about that, heh
13:13marcandoes it serve any other purpose? on the Pro/Max it could enable the SD card reader and enable booting from that if u-boot can do sdhci-pci, but...
13:15kettenisyeah, that would be a reason to keep it
13:19kettenisdon't think u-boot supports pci sdhc controllers on non-x86 systems right now
13:19kettenisanyway, my priorities for u-boot at the moment are:
13:19kettenis1. get upstreamed what I already submitted (wdt, pmgr)
13:20kettenis3. spi keyboard
13:21ketteniswith m1 pro/max support thrown in somewhere once we figure out what the problem with my current diff is
13:23marcanthat sounds like a good list
13:24kettenisI hope to get at least 1-3 done for the 2022.04 release
13:24marcanthat would be awesome!
13:24marcanI need to get SMC done and keep pushing the linux upstreaming wheel, update the asahi branch and then figure out what to do about the Mac Mini video problem in m1n1
13:24marcanand then installer stuff
13:24marcanif I'm lucky by the end of the month I might be able to get things to a near-testable point, and then I can also help out with any u-boot stuff that also needs doing, aiming for something releasable
13:25ChaosPrincessif i am somewhat new to kernel dev but want to contribute, any pointers on what part of hardware to try to get working?
13:25kettenisnow that I fixed the MP issue on OpenBSD the plan is to "officially" support the M1 machines in OpenBSD 7.1
13:26marcanwhen is that scheduled to be released?
13:26kettenisMay 1st in principle
13:26* mazupdates his obsd VM on M1...
13:27marcancool, I think by then we should definitely have an installer ready for it with all the right scaffolding
13:27ketteniswhich means that I need stable DT bindings for nvme by mid march or so ;)
13:27* marcanpokes svenpeter[m] :D
13:28marcanbut I think we can push through the bindings ahead of time without issue, even if the driver will take longer
13:28marcanAIUI everything "interestingly" about the driver is down to the implementation, the bindings don't do much other than "generic rtkit stuff" plus SART
13:28marcanso we can settle those earlier
13:28marcan*interesting
13:29svenuh, sure
13:29marcanmaybe once the SMC prototype is done, just to validate the concept with another ASC?
13:29marcan(which should happen this month)
13:29sveni was just typing that :D
13:29marcanwhich puts the bindings at, say, mid february
13:29marcankettenis: should work for you, right?
13:29marcan(being conservative tbh)
13:29j`eyChaosPrincess: SMC has lots of things in it, so once the SMC prototype is done, that will be a good chance to look at that
13:29kettenisthe current issues seem to be "-mailbox" vs "-mailbox-v4" (the latter being submitted upstream, but not used in any of the asahi trees yet)
13:30kettenisand "-ans" vs. "-ans2"
13:30svenor maybe even ans3 if ioreg is to be trusted
13:30marcanI was going to suggest audio, but poking at speaker amplifier chips is a good recipe for accidentally blowing your speakers... happened to me on a chromebook. I actually have AppleCare on the expensive models and funding, so I should probably be the one risking that on the unknown chips.
13:30svenI don’t care either way
13:30marcanSMC makes more sense
13:34* marcanoff to sleep
13:35kettenissven: let's stick to -ans2
13:35kettenisI've already added the compatible for that to OpenBSD ;)
13:36marcanhow does apple even bind to that anyway? the compatibles are generic ASC stuff...
13:37marcandoes their driver look at some other prop and decide to instantiate another driver?
13:38kettenisrole = ANS2?
13:38svenMarcan: ans2 vs 3 is decided by the enable-linear-sq boot arg fwiw
13:38svenand some drivers bind to node names
13:38marcanwait, boot arg?
13:38marcan nvme-linear-sq = None
13:38marcannot that prop in the adt?
13:39svenyeah, boot arg
13:39svenyou can disable linear-sq with a boot arg
13:39marcanah, and then it still works?
13:39svenit then uses the classes called ANS2
13:39marcanand still works
13:39marcanso it supports both
13:39svenbehaves like the T2 chip then
13:39sveni think we had this discussion before ;)
13:40marcanthat almost sounds like it should be "apple,ans3", "apple,ans2"
13:40sven🤷🏻‍♂️
13:40marcanbut if we can detect availability of linear-sq at runtime then we can just not care in the DT
13:41svenI’ll have to check
13:41svenwe have to enable it by flipping a bit to 1
13:41svenwithout that there’s also no NVMMU
13:41marcannvme side, right?
13:42marcanI imagine there's always the "try to flip it on and see if it sticks" approach
13:42marcanshould I try that on a T2?
13:43svenI guess :D
13:43marcan(thought for all we know they also do ANS3, lol)
13:43marcanI guess if I flip it and it breaks everything then it "works" :D
13:43sveni suspect linear sq will break horribly over pcie, but let’s see :D
13:44marcanI'll give it a shot
13:44marcananyway, nn :)
13:46yuyichao has quit [Ping timeout: 480 seconds]
13:56m42uko has quit [Quit: Leaving.]
14:06m42uko has joined #asahi-dev
14:16m42uko has quit [Quit: Leaving.]
14:21bluerise_ is now known as bluerise
16:00m42uko has joined #asahi-dev
16:19___nick___ has joined #asahi-dev
16:19___nick___ has quit []
16:21___nick___ has joined #asahi-dev
16:23the_lanetly_052__ has joined #asahi-dev
16:29the_lanetly_052 has quit [Ping timeout: 480 seconds]
16:54yuyichao has joined #asahi-dev
18:14the_lanetly_052__ has quit [Ping timeout: 480 seconds]
18:47MajorBiscuit has quit [Ping timeout: 480 seconds]
19:20Dcow___ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:21Dcow has joined #asahi-dev
19:29yuyichao_ has joined #asahi-dev
19:33yuyichao has quit [Ping timeout: 480 seconds]
20:11bpye has quit [Quit: Ping timeout (120 seconds)]
20:11bpye has joined #asahi-dev
21:04yuyichao has joined #asahi-dev
21:07___nick___ has quit [Ping timeout: 480 seconds]
21:09yuyichao_ has quit [Ping timeout: 480 seconds]
21:55m42uko has quit [Quit: Leaving.]
21:57roote has joined #asahi-dev
21:59m42uko has joined #asahi-dev
22:25roote has quit [Quit: Page closed]
23:59yuyichao has quit [Ping timeout: 480 seconds]
…