#asahi-dev · 2023-04-03 22:25
kettenis_unfortunately the only hardware i have with the asmedia chip is the m2 pro mini#asahi-dev · 2023-04-03 22:23
kettenis_I think if I just prevent the u-boot xhci-pci driver from attaching, linux should be happy#asahi-dev · 2023-04-03 22:23
jannauthat becomes annoying when we can support the fw upload since it is powered on on boot so we don't need the pwr-enable gpio#asahi-dev · 2023-04-03 22:22
jannauand skip it since u-boot misses a driver for that#asahi-dev · 2023-04-03 22:21
kettenis_i'll see if I can come up with a hack for u-boot until we can have u-boot initialize the frmware#asahi-dev · 2023-04-03 22:21
jannauadhoc solution was to parse the smc gpios#asahi-dev · 2023-04-03 22:21
kettenis_heh#asahi-dev · 2023-04-03 22:21
kettenis_and then we need a hack in u-boot to skip the asmedia usb#asahi-dev · 2023-04-03 22:20
jannaufor the asmedia usb hcd I can only think of skipping it in u-boot #asahi-dev · 2023-04-03 22:19
jannauI'll send that tomorrow#asahi-dev · 2023-04-03 22:19
jannaukettenis_: only thing I've come up with that works is not init port with up link status in linux#asahi-dev · 2023-04-03 22:18
jannauChaosPrincess: "clpc=0" in bootargs#asahi-dev · 2023-04-03 22:15
kettenis_we still need to solve the pci issues with linux#asahi-dev · 2023-04-03 22:14
kettenis_not planning to; people that want tagged releases probably should use the asahi-releng branch that marcan maintains#asahi-dev · 2023-04-03 22:06
mpskettenis_: will you make tagged tarball#asahi-dev · 2023-04-03 22:02
kettenis_the u-boot asahi-next branch is rebased on the upstream next branch for now, but I will rebase it on top of master as soon as the next branch gets merged into master#asahi-dev · 2023-04-03 22:01
kettenis_the u-boot asahi branch is now rebased on the 2023.04 release#asahi-dev · 2023-04-03 21:41
kettenis_FYI, the idea here is to have floats represented as big-endian ieee754 binary floating-point numbers encoded in a 32-bit "cell"#asahi-dev · 2023-04-03 21:32
robherkettenis_: IIRC, they are just passed to userspace. 'mount-matrix' is the property.#asahi-dev · 2023-04-03 21:31
kettenis_then what lina is proposing would be infinitely better ;)#asahi-dev · 2023-04-03 21:31
kettenis_in the kernel?#asahi-dev · 2023-04-03 21:31
kettenis_robher: so those need to be parsed?#asahi-dev · 2023-04-03 21:24
ChaosPrincessany ideas on how to avoid that, aside from 'dont freeze macos for too long'?#asahi-dev · 2023-04-03 21:24
ChaosPrincessFreezing the vm for too long sometimes results in macos panic on unfreeze with panic(cpu 2 caller 0xfffffe0015da7630): "ApplePMGR: virtual void AppleT8101PMGR::checkEnergy(ApplePMGR::EnergyNode *, UInt64):2270 " "PMGR panic: DRAM power > max threshold. power = 15945 mW max threshold = 3840 current energy = 6293166854 previous energy = 6096357484" @AppleT8101PMGR.cpp:2270#asahi-dev · 2023-04-03 21:19
robherkettenis_: We already have floats in DT in a few places. They are encoded as strings.#asahi-dev · 2023-04-02 17:10
marcanANE is very much a "side" thing right now so I'm comfortable leaving things up to you, I doubt it's going to become a critical piece of the ecosystem overnight (which is a good place to be when developing since you don't have to care about users as much :p)#asahi-dev · 2023-04-02 17:08
marcaneiln: since I forgot to answer, before I go to sleep: feel free to move in-tree, that's where we want to be anyway. you can prepare a branch based on asahi-wip and I can rebase it into one more bits/ branch. we can enable it in actual asahi-dev then asahi builds whenver you think it's usable/worth having people test.#asahi-dev · 2023-04-02 15:39
kettenis_still something to consider; easier to change your own principles that that of others ;)#asahi-dev · 2023-04-02 15:29
marcanand m1n1 only copies dynamic data#asahi-dev · 2023-04-02 15:29
marcanbut that violates the principle that this is static data for any given device#asahi-dev · 2023-04-02 15:29
marcanin principle yes, I guess#asahi-dev · 2023-04-02 15:27
kettenis_if they 1:1 match Apple's DT, m1n1 could copy them over#asahi-dev · 2023-04-02 15:25
marcanAIUI that's on purpose, to make porting over new devices less of a pain#asahi-dev · 2023-04-02 15:25
marcanthose numbers in the DTs are pretty much 1:1 from Apple's DT#asahi-dev · 2023-04-02 15:25
marcanit'll just be a royal pain to make any changes#asahi-dev · 2023-04-02 15:25
marcanI mean nothing stops you from replacing all the floats with the equivalent uint32 representations, it will work the same#asahi-dev · 2023-04-02 15:23
marcanin fact the dynamic stuff m1n1 fills in isn't even floats (though it is computed using floats)#asahi-dev · 2023-04-02 15:23
kettenis_I suppose that makes experimentation harder#asahi-dev · 2023-04-02 15:23
marcanno, only some of those are dynamic, m1n1 doesn't know the per-model values#asahi-dev · 2023-04-02 15:23
kettenis_?#asahi-dev · 2023-04-02 15:23
kettenis_can these just be uint32_t placeholders that get filled in by m1n1#asahi-dev · 2023-04-02 15:22
marcanfeel free to come up with a better one ;)#asahi-dev · 2023-04-02 15:22
kettenis_I don't think you want me to push for something that I'm not certain is a good idea ;)#asahi-dev · 2023-04-02 15:20
marcanjust be glad m1n1 is taking care of the calculations involving exponentials (yes there's some of those those too)#asahi-dev · 2023-04-02 15:19
marcanoh right, you want to do it in C :D#asahi-dev · 2023-04-02 15:19
marcanhey lina pulled off softfloat in a couple hundred lines of rust and it's all operator overloaded and nice and ergonomic#asahi-dev · 2023-04-02 15:18
kettenis_ugh#asahi-dev · 2023-04-02 15:18
marcangood luck not doing floats#asahi-dev · 2023-04-02 15:18
marcanthe firmware wants floats#asahi-dev · 2023-04-02 15:18
kettenis_I'm not talking about Linux