#asahi-dev · 2023-04-17 14:06
marcan(and now that I have switched branches it would get updated)#asahi-dev · 2023-04-17 14:06
marcanso that would make sense#asahi-dev · 2023-04-17 14:06
marcanbecause I think I did a run, then updated dtschema#asahi-dev · 2023-04-17 14:06
marcanor that actually#asahi-dev · 2023-04-17 14:05
marcanis it possible it was caused by a make race from me using -j<n>?#asahi-dev · 2023-04-17 14:05
marcanyeah...#asahi-dev · 2023-04-17 14:02
marcanbut... now I can't repro it, and I'm confused#asahi-dev · 2023-04-17 14:02
marcanyes, that's what was causing it (it was saying it matched both options)#asahi-dev · 2023-04-17 13:58
marcanlet me run it again#asahi-dev · 2023-04-17 13:58
marcanyes#asahi-dev · 2023-04-17 13:57
marcanno, mainline (well, my asahi-soc/dt branch which includes some new stuff, but nothing related to the warnings)#asahi-dev · 2023-04-17 13:16
marcan(and this kernel build should have PAC)#asahi-dev · 2023-04-17 13:16
marcanit hasn't exploded yet without doing anything so :)#asahi-dev · 2023-04-17 13:04
marcanI did just find at least one power-related bit we're not setting properly#asahi-dev · 2023-04-17 13:04
marcanI don't think macOS uses that in normal system idle, otherwise the hypervisor would go nuts#asahi-dev · 2023-04-17 13:03
marcanI thought that was outright system sleep#asahi-dev · 2023-04-17 12:59
marcanapple definitely does something to let clusters fully power down, otherwise I wouldn't get 100+ hours of idle battery#asahi-dev · 2023-04-17 12:54
marcanplus with the linux timekeeping mess we really need cpuidle anyway#asahi-dev · 2023-04-17 12:54
marcanno worries, not blaming it on you :)#asahi-dev · 2023-04-17 12:46
marcanI should pull down some newer xnu sources and see if there's anything interesting, haven't looked in ages#asahi-dev · 2023-04-17 12:42
marcanthis is on t6021 btw, maybe there's something else broken here#asahi-dev · 2023-04-17 12:41
marcan1.5W of CLVR power usage suggests something is still wrong though, I would expect that to drop to ~0 if things were properly and fully shutting down#asahi-dev · 2023-04-17 12:40
marcanwhich isn't... great but it's not nothing#asahi-dev · 2023-04-17 12:40
marcanso testing with the smc debug print thing, it drops about 1W of power when I enable the idle states#asahi-dev · 2023-04-17 12:36
marcanthe debug mode thing I have isn't enough?#asahi-dev · 2023-04-17 12:34
marcanyeah something is not quite right, I think#asahi-dev · 2023-04-17 12:20
marcanbut I would expect this to be eventually fired from the Aqantia NICs so... how would that work? do they have an outright SMC sidechannel via i2c or something?#asahi-dev · 2023-04-17 12:20
marcanit's an outright SMC key though, so... who writes it? it would have to be another coprocessor via SMC sidechannel I think...#asahi-dev · 2023-04-17 12:19
marcanoooh this is interesting, there's an SMC key for remote management that can trigger system actions (boot, reboot, and even ask the OS to sleep)#asahi-dev · 2023-04-17 12:13
marcanI'm going to pull up the old SMC disasm and see if I find anything useful... though I kind of doubt it, there aren't many event sources to begin with#asahi-dev · 2023-04-17 12:10
marcanalternatively I'm sure the RTC or watchdog could be used for this but ugh, if this is going to be cross-driver we might as well figure out how to do it with core timekeeping and the arch timer#asahi-dev · 2023-04-17 12:09
marcanit would be nice if we had a way to make SMC annoy us periodically some way, then it could all be done within the driver#asahi-dev · 2023-04-17 12:09
marcanyeah, the problem is actually setting up some kind of periodic timer#asahi-dev · 2023-04-17 11:56
marcanthat also means the battery charge state control won't work unfortunately... we need to figure out something for that#asahi-dev · 2023-04-17 11:50
marcanlol, implementing proper cpuidle also caused timekeeping to stop properly during suspend now, which means the SMC power logging doesn't work :D#asahi-dev · 2023-04-17 11:48
marcanjannau: got some splat on suspend: https://mrcn.st/p/3e6l4HU2 (still worked though)#asahi-dev · 2023-04-17 11:46
marcanhaven't tested actual idle power consumption yet :)#asahi-dev · 2023-04-17 11:45
marcanpushed t602x/bringup with jannau's DCP 13.3 conversion (tested working) and a cpuidle driver#asahi-dev · 2023-04-17 10:20
marcanok, I'm tired of waiting for the PSCI conversation to happen / to find time to start it. I'm going to write a dumb cpuidle driver and we can run on that downstream until it does.#asahi-dev · 2023-04-17 08:46
marcanpretty sure it's not a regression on our side so I won't block the next SoC pull on it, but would be nice to know what's up#asahi-dev · 2023-04-17 08:39
marcanrobher: I'm running the DT checker on our SoC DT tree after updating dtschema and it's complaining about OPPs and cpu-release-addr, but as far as I can tell they are correct. known issue?#asahi-dev · 2023-04-17 08:05
marcanyou're welcome to help development out, but please learn how to get a development setup going with a *supported* machine first where stuff will actually work as intended#asahi-dev · 2023-04-17 08:03
marcanspending time walking people through testing unreleased code is not productive when we could be fixing those things instead#asahi-dev · 2023-04-17 08:02
marcanwe know what works and what's broken#asahi-dev · 2023-04-17 08:02
marcanwhat feedback do you plan to give?#asahi-dev · 2023-04-17 07:57
marcanare you planning to help with t602x bringup?#asahi-dev · 2023-04-17 07:57
marcanwhat are you trying to do exactly?#asahi-dev · 2023-04-17 07:56
marcanthat and I don't think u-boot has the bits to make the keyboard work there yet either#asahi-dev · 2023-04-17 07:55
marcanjust the devicetrees won't get you anywhere#asahi-dev · 2023-04-17 07:55
marcanthe devicetree is the first thing that gets compiled, but you need the new kernel anyway