#
#asahi-dev · 2023-04-18 16:22
marcanTTY> HV: All CPUs exited
#asahi-dev · 2023-04-18 16:22
marcanTTY> HV: Exiting from CPU 7
#asahi-dev · 2023-04-18 16:22
marcanTTY> HV: Requesting exit of CPU#7 from the guest
#asahi-dev · 2023-04-18 16:22
marcan[cpu7] Guest is shutting down CPU
#asahi-dev · 2023-04-18 16:22
marcanthis happens:
#asahi-dev · 2023-04-18 16:21
marcananyway, I implemented CPU shutdown enough to survive a suspend cycle
#asahi-dev · 2023-04-18 16:12
marcanmaybe it's due to the dodgy power readings?
#asahi-dev · 2023-04-18 16:12
marcanweird, so clpc or something is shutting down the Pcore clusters on this t602x and then they never come back, processes just stay stuck on the ecores
#asahi-dev · 2023-04-18 15:17
ChaosPrincessthat would make it much easier
#asahi-dev · 2023-04-18 15:17
ChaosPrincessi can just not bother with trying to survive a reset for now and not disable the mipi link on suspend
#asahi-dev · 2023-04-18 15:16
marcanand yes you can do what DCP used to do and drop it in the driver (it's a hack but it works), though eventually that won't be necessary
#asahi-dev · 2023-04-18 15:15
marcanit is a known problem, don't design around it
#asahi-dev · 2023-04-18 15:15
marcanthe always-on thing will be fixed in core code eventually
#asahi-dev · 2023-04-18 15:15
marcanwe don't want to be passing around unnecessary blobs
#asahi-dev · 2023-04-18 15:15
marcanChaosPrincess: no, read the regs in the kernel
#asahi-dev · 2023-04-18 15:05
_jannau_you can clear the always-on after you saved the initial config. did we drop that with runtime-pm?
#asahi-dev · 2023-04-18 14:58
ChaosPrincessalso might need to put the stash part in m1n1 so i could drop always-on
#asahi-dev · 2023-04-18 14:57
ChaosPrincessits save/restore, and i would copy/paste the mipi send/mipi recv functinos
#asahi-dev · 2023-04-18 14:57
marcanif it's just a save/restore it's not worth using the existing driver
#asahi-dev · 2023-04-18 14:57
marcannew driver
#asahi-dev · 2023-04-18 14:55
ChaosPrincessso, how to deal with mipi? Macos just stashes whatever was configured by iboot and reapplies the configs if it comes out of sleep mode. I could make a separate driver, but dw-mipi-dsi kinda looks similar-ish, but the way it is right now, i can't really cause it to do the same series of register writes as macos does.
#asahi-dev · 2023-04-18 12:32
jannauno, wakeup is again broken
#asahi-dev · 2023-04-18 12:26
jannauprobably less than 2
#asahi-dev · 2023-04-18 12:25
jannauwas the last test already with lina's sync UAPI? results are not fully resolution independent. 800x600 is faster than 4k. nowhere near 17 times faster of course but maybe 2 times
#asahi-dev · 2023-04-18 12:18
chadmedbut higher
#asahi-dev · 2023-04-18 12:18
chadmedresolution doesnt affect it so its still cpu bound
#asahi-dev · 2023-04-18 12:16
chadmedmight be the sus eas numbers, but im getting ~3700 by default whereas last time i did the testing i barely got 2300 with the performance governor and pinning glmark2 to the pcores
#asahi-dev · 2023-04-18 12:14
jannauchadmed: 3840x2160 glmark2 score with cpuidle alone is roughly the same
#asahi-dev · 2023-04-18 12:11
jannauvoltage-states{5,13}-sram? max value on j474s is 3_504_000_000
#asahi-dev · 2023-04-18 12:08
marcanthat should do it
#asahi-dev · 2023-04-18 12:08
marcanioreg -l -p IODeviceTree | grep voltage-states
#asahi-dev · 2023-04-18 12:07
marcanyes, you can see it in the pmgr stuff
#asahi-dev · 2023-04-18 12:07
jannauis the max pstate visible in ioreg? that's probably the fastest way to get results from j41{4,6}{s,c}
#asahi-dev · 2023-04-18 12:06
marcanI'm guessing the console isn't quite right then
#asahi-dev · 2023-04-18 12:06
marcanthat kind of makes sense because macsmc tries to do a printk when you press the button
#asahi-dev · 2023-04-18 12:06
marcanwell
#asahi-dev · 2023-04-18 12:06
marcanoh, heh
#asahi-dev · 2023-04-18 12:03
jannaususpend (or wakeup) seems to break with no_console_suspend and macsmc_power.log_power=1. wakeup works without no_console_suspend
#asahi-dev · 2023-04-18 12:01
chadmedsame mesa
#asahi-dev · 2023-04-18 12:01
chadmedoh in other news glmark2 scores have doubled for no apparent reason???
#asahi-dev · 2023-04-18 11:47
marcanneeds a m1n1 stage1 update to fix "properly" but I can probably just restore the bits in stage2 as a one-off
#asahi-dev · 2023-04-18 11:47
marcanI think that made us lose at least one bit on pcores and I don't know what it does
#asahi-dev · 2023-04-18 11:47
marcanwe were clearing all bits of the pstate registers because I wrote & FOO instead of & ~FOO
#asahi-dev · 2023-04-18 11:47
marcannp, let me confirm that I can work around the snafu
#asahi-dev · 2023-04-18 11:45
chadmedill do the mini tomorrow now, its getting late
#asahi-dev · 2023-04-18 11:45
chadmedj314 atm
#asahi-dev · 2023-04-18 11:45
marcanwhat machine are you testing on?
#asahi-dev · 2023-04-18 11:45
marcanthere's a couple m1n1 changes that might affect that
#asahi-dev · 2023-04-18 11:45
marcanchadmed: might want to hold off on measurements
#asahi-dev · 2023-04-18 11:45
marcanoh yeah, there's something else...

plus ›