2021-09-18
00:10yuyichao has joined #asahi
01:20Emantor has quit [Quit: ZNC - http://znc.in]
01:20Emantor has joined #asahi
01:55rkjnsn[m]I believe teared is the past tense of tear (to produce clear salty liquid from one's eyes), while torn is the past participle of tear (to rip).
02:39malvo has quit [Ping timeout: 480 seconds]
02:40malvo has joined #asahi
02:49PhilippvK has joined #asahi
03:11bgb has joined #asahi
03:20marvin24 has joined #asahi
03:23marvin24_ has quit [Ping timeout: 480 seconds]
03:33bgb_ has joined #asahi
03:37bgb has quit [Ping timeout: 480 seconds]
03:43bgb has joined #asahi
03:45bgb_ has quit [Ping timeout: 480 seconds]
04:33bgbany changes for usb thing? I can not get usb device ttyACM0 ttyACM1 on my host, tried C-C C-A cables
06:16VinDuv_ has joined #asahi
06:18VinDuv has quit [Ping timeout: 480 seconds]
06:18VinDuv_ is now known as VinDuv
06:26bgb_ has joined #asahi
06:30bgb has quit [Ping timeout: 480 seconds]
06:40bgb has joined #asahi
06:41bgb_ has quit [Ping timeout: 480 seconds]
07:06bgb has quit [Ping timeout: 480 seconds]
07:07bgb has joined #asahi
07:34bgbj_ey: I want to try marcan's smp-hpervisor. But I just found UEFI bug msg from dmesg of host, and m1n1 works fine with another linux machine
07:48bgbj_ey: a bit complicated, my new host does not have desktop, inconvenient. I'm struggling to install gentoo desktop.
09:29bradfier has quit [Quit: Leaving...]
09:30bradfier has joined #asahi
09:39zopieux has quit [Ping timeout: 480 seconds]
09:42zopieux has joined #asahi
11:06bgb has quit [Ping timeout: 480 seconds]
11:12gladiac is now known as Guest235
11:12gladiac has joined #asahi
11:15bgb has joined #asahi
11:17Guest235 has quit [Ping timeout: 480 seconds]
11:21chadmed has quit [Remote host closed the connection]
11:21chadmed has joined #asahi
11:23bgb has quit [Ping timeout: 480 seconds]
11:37bgb has joined #asahi
11:42chadmed has quit [Remote host closed the connection]
11:43chadmed has joined #asahi
11:46bgb has quit [Ping timeout: 480 seconds]
11:51alyssaj_ey: now would be a godo time to plug, we're putting together an unofficial debian host for rootfs images
11:51alyssathere's a lot of folks who run with arch linux arm because of the wget and go for arm64, for devices which can't run a full debian installer due to broken bootloaders
11:54j_eycool! im currently just using an initramfs cos im not even trying to use the mac for anything more than messing aruound
12:01X-Scale has joined #asahi
12:04M320mb[m]1 has left #asahi [#asahi]
12:06sveni think if you switch to that branch, then rebase on the latest linux-rc and then merge it everything should work out
12:07[X-Scale] has quit [Ping timeout: 480 seconds]
12:08j_eykettenis: but it's only refactoring linux apis of the corellium code, so nothing interesting to you
12:12svenalright, sent. let's see what happens. (and which dumb mistake i will notice a few minutes from now :D)
12:14bgb has joined #asahi
12:14alyssasven: so it looks like the pinctrl driver in your branch might be newer than the one in mine?
12:24bgb has quit [Ping timeout: 480 seconds]
12:24svenhrm, and i should also figure out why macos doesn't seem to like the linux serial gadget driver
12:24alyssasven: once I finish smashing together PCIe and type-C hotplug I can branch off a new date branch (without DCP)
12:26sveni2c needs a real clock (which is easy, i know about that one) but also that power/clock gate
12:26marcanI'm going to shave the cpufreq yak first because it's easy, but also because looking into how that memory controller thing is represented will probably give me ideas for the more general power management stuff
12:29marcanand yeah, if anyone missed it... cpufreq is one register per cluster. Plus 8*2 (repeated) if you want to bump the memory controller perf mode in lockstep with the pcore state.
12:29marcanthis thing really is high level like all heck, it also does the boost modes automatically
12:30alyssasven: yes, I know. I'm just asking -- are you attached to the gpio name? I've changed it all to pinctrl_ap in my current branch
12:33marcanlike maybe iBoot just programs the operating point tables including whatever commands need to be sent to change voltages into registers, and then after that it's all state machines?
12:33j_eykettenis: oh yeah, i noticed using the u-boot dts caused some issues with the pinctrl driver
12:35j_eykettenis: nothing major, and it might be an issue with the driver. but pinctrl in u-boot was missing interrupts =
12:35j_eykettenis: i guess the u-boot dts is meant to only describe what u-boot needs, and youre meant to use another dts for linux?
12:38j_eykettenis: I see, then I think I should remove this bit: https://gitlab.arm.com/linux-arm/jg-open/-/commit/1ecf3fc36d2e01398403c3420f1a436e5b12ab9a#56e4e6000e95c3b50a0d97102babd6d65873ea66_0_586
12:38svenand i'd really like to avoid that entire xhci takedown everything a new device is connected
12:38marcankettenis: ideally the linux DTs should be up to date with whatever we use in m1n1, though of course there will be divergence
12:38marcanwhat bugs me is this just stinks of weird bug... but if so this workaround apple is doing can't be reliable?
12:40bgb has joined #asahi
12:41svenmarcan: their workaround is "disable xhci, disable dwc3, keep PHY in reset" when a device is unplugged fwiw
12:48svenuh. but then i'd need to get pcie into my tree which sounds like more effort than connecting a screen :D
12:48bgb has quit [Ping timeout: 480 seconds]
12:54alyssasven: but the primary benefit of hotplug for me would being able to free up the port used to transfer the kernel at boot time :-p
12:57bgb has joined #asahi
13:05bgb has quit [Ping timeout: 480 seconds]
13:05zigmars has joined #asahi
13:16bgb has joined #asahi
13:24bgb has quit [Ping timeout: 480 seconds]
13:32X-Scale` has joined #asahi
13:34bgb has joined #asahi
13:38X-Scale has quit [Ping timeout: 480 seconds]
13:43bgb has quit [Ping timeout: 480 seconds]
13:54bgb has joined #asahi
14:06bgb has quit [Ping timeout: 480 seconds]
14:12zigmarsj_ey: thanks for helping me out the other day with hv os x kernel. Shall I update the wiki sidebar with smth like this https://pastebin.com/raw/fX1fjkhA (added 'Unsorted' section) so that it's harder to miss hypervisor wiki link now?
14:20zigmarsis it expected that under hv, the mb-air built-in keyboard & trackpad don't work when os x is booted?
14:21alyssaYou'd think the novelty of using M1 as my honest-to-goodness desktop would have worn off my now, but it hasn't :3
14:23zigmarshmmm, i'll then probably try putting this kernel back in place of m1n1 and double check that it works then
14:26bgb has joined #asahi
14:36bgb has quit [Ping timeout: 480 seconds]
14:46bgb has joined #asahi
14:55bgb has quit [Ping timeout: 480 seconds]
14:58os has quit [Quit: The Lounge - https://thelounge.chat]
15:00os has joined #asahi
15:04bgb has joined #asahi
15:13bgb has quit [Ping timeout: 480 seconds]
15:14yoodee[m] has joined #asahi
15:23zigmarsj_ey: I grabbed m1n1's commits from today & yesterday and internal kb & mouse work now through hv. :)
15:25bgb has joined #asahi
15:32zigmarsj_ey: I did other things as well: I re-did `kmutil configure-boot ...` with HEAD of m1n1 (and so didn't need to do chainload)
15:38zigmarsanyway kb & trackpad problem solved. mystery stays though. :D probably did do smth wrong.
15:39bgb has quit [Ping timeout: 480 seconds]
15:50bgb has joined #asahi
16:01* tophevich[m]is looking forward to tomorrows marcan teardown stream he "promised"
16:04bgb has quit [Ping timeout: 480 seconds]
16:11steevmy daily driver is a lenovo yoga c630 which is probably the second best (maybe a chromebook lazor would be better, but then you have the chromebook keyboard, so you really lose anyway)
16:12sg94 has joined #asahi
16:20sg94 has quit [Ping timeout: 480 seconds]
16:35mlq has joined #asahi
16:42boardwalk has quit [Quit: Ping timeout (120 seconds)]
16:42mlq_ has quit [Ping timeout: 480 seconds]
16:42boardwalk has joined #asahi
16:47marcan(note: bottom right corner isn't really reliable due to rounding errors and the actual frequency actually undershooting the target on those)
16:54marcanalso the maximum actual pipeline blip during these transitions is only ~350ns, which is very nice
16:55boardwalk has quit [Quit: Ping timeout (120 seconds)]
16:56boardwalk has joined #asahi
16:57marcanalyssa: also you probably want to taskset any benchmarks to cpus 4-7, since linux has no idea about bit.LITTLE with our current devicetrees
16:58marcanalso note that that set64 is missing the memory controller performance bump, which should increase memory bandwidth on top of that
17:01chadmed has quit [Ping timeout: 480 seconds]
17:02boardwalk has quit [Quit: Ping timeout (120 seconds)]
17:02boardwalk has joined #asahi
17:07bgb has joined #asahi
17:14j_eymarcan: is there anything mini specific? python3.9 proxyclient/experiments/cpu_pstate_latencies.py casued my m1 to reboot
17:15bgb has quit [Ping timeout: 480 seconds]
17:20j_eyresults https://paste.gg/p/anonymous/2221238eb66741bba32a382f03efd9bf/files/1370c04f0a154224af29f77b58aacecd/raw
17:24bgb has joined #asahi
17:24marcanthere might be some voodoo needed to get things working on the air, if this isn't just a throttling thing
17:25marcanj_ey: use cpu_pstates.py to just test the highest states. there's a pile of commented out stuff there. see if uncommenting any/all of it fixes it.
17:32j_eyhttps://paste.gg/p/anonymous/80827c568f564f70be5503b67efce5eb/files/f6231a3df76743ec9310483d2fd7ccd9/raw cpu_pstates with no changes to the .py
17:34bgb has quit [Ping timeout: 480 seconds]
17:37marcan(that was kind of the point of going to 12.x, getting ahead on those ABI changes, which is why I don't want to support 11.x at all for the initial merge of this)
17:44bgb has joined #asahi
17:45marcanthis is the actual waste-of-time-on-stream poke all the things version, if you want to try it too: https://mrcn.st/p/L92lzFKJ
17:53bgb has quit [Ping timeout: 480 seconds]
17:55marcanif we end up needing init, I'm tempted to just do it in m1n1 (and also default the pcores to at least 2GHz)
18:05zigmars has quit [Remote host closed the connection]
18:06j_eymarcan: https://paste.gg/p/anonymous/57a0ee7fb39f4bae93a0cc14157d0366/files/fc66eb4d1ff9438eb5b428c5e90d6642/raw
18:11bgb has joined #asahi
18:20bgb has quit [Ping timeout: 480 seconds]
18:30bgb has joined #asahi
18:39bgb has quit [Ping timeout: 480 seconds]
18:44svenalyssa: hrm, okay. so i can confirm that the port that's used to boot the linux kernel seems to break :/
18:45svencould've been just a weird combination of that ethernet gadget driver and your linux host :D
18:48bgb has joined #asahi
18:56bgb has quit [Ping timeout: 480 seconds]
19:02boardwalk has quit [Ping timeout: 480 seconds]
19:04bgb has joined #asahi
19:13bgb has quit [Ping timeout: 480 seconds]
19:21boardwalk has joined #asahi
19:22bgb has joined #asahi
19:27boardwalk has quit [Quit: Ping timeout (120 seconds)]
19:27boardwalk has joined #asahi
19:31bgb has quit [Ping timeout: 480 seconds]
19:40boardwalk has quit [Quit: Ping timeout (120 seconds)]
19:40boardwalk has joined #asahi
19:41bgb has joined #asahi
19:52bgb has quit [Ping timeout: 480 seconds]
20:14boardwalk has quit [Quit: Ping timeout (120 seconds)]
20:14boardwalk has joined #asahi
20:29bgb has joined #asahi
20:31boardwalk has quit [Ping timeout: 480 seconds]
20:32boardwalk has joined #asahi
20:38bgb has quit [Ping timeout: 480 seconds]
20:40boardwalk has quit [Quit: Ping timeout (120 seconds)]
20:40boardwalk has joined #asahi
20:46bgb has joined #asahi
20:50ketteniswell, if you set aside 100G for Mac OS and follow the instructions on the wiki to set up the partitions to install Linux, you end up with something like that ;)
20:54bgb has quit [Ping timeout: 480 seconds]
20:58boardwalk has quit [Ping timeout: 480 seconds]
22:02boardwalk has joined #asahi
22:36boardwalk has quit [Quit: Ping timeout (120 seconds)]
22:36boardwalk has joined #asahi
22:43boardwalk has quit [Quit: Ping timeout (120 seconds)]
22:43boardwalk has joined #asahi
22:53boardwalk has quit [Ping timeout: 480 seconds]
23:44V has joined #asahi
23:57bgb has joined #asahi