#
✕ nick:jannau
#asahi-dev · 2025-05-31 09:07
jannauthe u-boot smbios exists for other reasons. we could just not use it initially since it expected physical RAM within 4GB
#asahi-dev · 2025-05-31 09:06
jannauchadmed: I think u-boot will populate other data and I don't think we have lost the battle w.r.t smbios vs. dt based information
#asahi-dev · 2025-05-31 09:04
jannauchassis-tpye would be nice as well
#asahi-dev · 2025-05-31 09:03
jannauvendor string is "wrong": "Apple" vs. "Apple Inc." and the serial is missing
#asahi-dev · 2025-05-31 08:55
jannauI'd like to get the smbios support in otherwise I agree
#asahi-dev · 2025-05-31 07:07
jannausven: ack on DRM hotplug. is the DP only ok as is? I'm not sure if I stripped the weirder parts yet
#asahi-dev · 2025-05-29 22:21
jannaumy theory of how increasing dummy_stack avoids the problem is that something else gets overwritten
#asahi-dev · 2025-05-29 22:19
jannauI haven't seen supports_pan being inlined. one variant of "fixed by too much debug" I've seen was saving LR at function entry
#asahi-dev · 2025-05-29 21:54
jannauaccording to my debugging SP was consistent within mmu_setup_secondary but I don't see how "too much" debugging inside mmu_setup_secondary would prevent something corrupting the secondary stack of the affected core
#asahi-dev · 2025-05-29 21:41
jannaucould be memory contents
#asahi-dev · 2025-05-29 21:38
jannauI still do not understand against what we could be racing though
#asahi-dev · 2025-05-29 21:30
jannaubetter debugability of the host m1n1 than writing to random registers would be nice
#asahi-dev · 2025-05-29 21:29
jannaumy suspicion are guest intercepts but I'm puzzled why those would only break in this specific place. I also suspect the issue would vanish if llvm would save SP at function entry
#asahi-dev · 2025-05-27 22:32
jannau`__asm__ volatile("ldr x11, [sp, #8]" : : : "r11");` after `msr(PAN, 0);` fixes it for me. only difference in the binary is that that meaning instruction is inserted
#asahi-dev · 2025-05-27 21:39
jannaulinux clang-built m1n1 crashes as well
#asahi-dev · 2025-05-27 21:38
jannauthe crash did not reproduce on t6020
#asahi-dev · 2025-05-27 21:02
jannauright, I wanted to try if that happens with clang on linux
#asahi-dev · 2025-05-27 18:22
jannaushall we plan for a m1n1 release? I think a release before the chickens refactoring and the agx initdata would be good idea
#asahi-dev · 2025-05-27 10:58
jannauI don't think we want to touch the FP/SIMD registers on HV context switches
#asahi-dev · 2025-05-27 10:56
jannauI'd say using "-Z build-std" is kind of justified for our use case if we can't rely on a prebuilt softfloat toolchain. stabilization is a goal for 2025H1 to support Rust for Linux: https://github.com/rust-lang/rust-project-goals/issues/116
#asahi-dev · 2025-05-25 19:04
jannaukettenis: I get a bunch of warnings mostly related to cfg as well (with the gpu init branch)
#asahi-dev · 2025-05-25 16:44
jannauat least the kernel doesn't complain
#asahi-dev · 2025-05-25 16:22
jannausven: usb3 works on m2 with unchanged mvmem from v6.15* so we have only the dts validation to argue about
#asahi-dev · 2025-05-25 16:08
jannauaop (audio) is rust
#asahi-dev · 2025-05-25 16:07
jannauI was wondering a moment why the mics are broken until I remembered that it needs RUST
#asahi-dev · 2025-05-25 16:03
jannauthis is new "apple-isp 22a000000.isp: late IOMMU probe at driver bind, something fishy here!"
#asahi-dev · 2025-05-25 15:50
jannaufor the pstate override I would prefer dts but I see that it's a little awkward
#asahi-dev · 2025-05-25 15:49
jannaudo we have overrides for studio/max which differ from the ADT? my commit is just taking values from the ADT
#asahi-dev · 2025-05-25 15:32
jannauyuka: thank you
#asahi-dev · 2025-05-25 15:26
jannaulet's see if it compiles/work without rust
#asahi-dev · 2025-05-25 15:15
jannauintial rebase on today's Linus' HEAD, bits/190-rust will not compile
#asahi-dev · 2025-05-25 14:33
jannauI'm confused why nobody mentioned it during review
#asahi-dev · 2025-05-25 14:14
jannaudoesn't 7a06ef75107799675ea6e4d73b9df37e18e352a8 already do what we want in nvmem core for the usb efuses?
#asahi-dev · 2025-05-25 13:58
jannauand bits/230-touchbar is gone
#asahi-dev · 2025-05-25 06:34
jannaucomparing them in m1n1 with the ADT wouldn't a bad idea as well
#asahi-dev · 2025-05-25 06:33
jannauif we were to keep them I'd create .dtsi files with all gpu properties and include them directly in device .dts
#asahi-dev · 2025-05-25 06:31
jannauI think splitting the values over multiple .dtsi/.dts is not a good idea
#asahi-dev · 2025-05-25 06:29
jannauchaos_princess: yes. also our dts' were buggy. see 25a6e10c983dc and b8047d540dca1
#asahi-dev · 2025-05-24 08:37
jannauof course different because tipd has no integrated retimer
#asahi-dev · 2025-05-24 08:33
jannaumost of the x1 elite devices seems to use https://www.paradetech.com/products/ps8830/ https://lore.kernel.org/linux-arm-msm/20241112-x1e80100-ps8830-v5-0-4ad83af4d162@linaro.org/ as type-c controller
#asahi-dev · 2025-05-24 08:11
jannauthe phy is Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml but not usb4/pcie-tunneling support there either
#asahi-dev · 2025-05-24 08:10
jannauI can't find any usb4 patches
#asahi-dev · 2025-05-24 07:48
jannauin 6.15 there seems to be just usb3 and dp-alt support but it's dwc3 based
#asahi-dev · 2025-05-24 07:42
jannauwhat does qualcomm use? they use at least dwc3 and their eusb2 hub seems to be synopsys based as well
#asahi-dev · 2025-05-23 20:20
jannauI won't look at it tonight. https://github.com/jannau/m1n1/commit/9db727e9566769724b24f253f088a96b049274c9 is my change to compare and use "*perf-base-pstate" from the DT to avoid that difference
#asahi-dev · 2025-05-23 20:14
jannauno, but including your int vs. float fix
#asahi-dev · 2025-05-23 20:13
jannauasahi-6.14.8-1 pushed
#asahi-dev · 2025-05-23 20:06
jannau4 mismatches https://gist.github.com/jannau/96e48150fd381dc51af5f019db56889b
#asahi-dev · 2025-05-23 18:50
jannauthe hwdata a mismatch is gone with `base_pstate = 3`. hwdata b mismatch moved to 4244
#asahi-dev · 2025-05-23 18:40
jannauexcept when it's fully missing

plus ›