#asahi-dev · 2022-06-18 19:46
jannauhas anyone booted v5.19-rc2 (or rc1) on the mini? it doesn't detect a usb mass storage device on either usb-a port. the xhci itself is found#asahi-dev · 2022-06-18 13:21
jannauit is indeed, so it's just spurious events from the spin_unlock which makes it fast#asahi-dev · 2022-06-18 12:23
jannauhttps://github.com/AsahiLinux/m1n1/pull/222#asahi-dev · 2022-06-18 12:02
jannauonly question is if we can still hit the ordering issue from 9c795fbdbf445d with the mmu disabled#asahi-dev · 2022-06-18 11:41
jannauyeah, here too. had I bothered to check a non regressed build I would have looked earlier for the cause. even my ok-ish speed is very slow compared sev in spin_unlock#asahi-dev · 2022-06-18 11:26
jannauB2.9.2 has a note which suggests the global monitor needs setup to work with address translation disabled#asahi-dev · 2022-06-18 11:16
jannauso the explicit sev in spin_unlock should be correct when armv8.1-a atomics are used#asahi-dev · 2022-06-18 11:15
jannauj`ey: doesn't the store need be exclusive for the event trigger? i.e. either stlxr or stxr?#asahi-dev · 2022-06-18 10:46
jannauwith an explicit 'sev' in spin_unlock everything is fast as well but the store release is supposed to send an event#asahi-dev · 2022-06-18 10:36
jannauand I can't reproduce it at the moemt but it's much faster without the wfe#asahi-dev · 2022-06-18 10:33
jannauit might been that slow for me once or twice and I rebooted. ~3 minutes for booting the kernel is what I call glacially slow#asahi-dev · 2022-06-18 10:28
jannauif it's glacially slow it can take a few seconds until crtl+c get's me to the shell#asahi-dev · 2022-06-18 10:27
jannauI see it on m1 and m1 max#asahi-dev · 2022-06-18 10:25
jannaustrange, when it's not glacially slow for me it's 50% okay-ish and 50% clearly slow but not that slow that I reboot the HV#asahi-dev · 2022-06-18 10:22
jannauis it consistently slow for you? it's random for me. I'd say with 10% probablity of glacially slow#asahi-dev · 2022-06-18 10:21
jannaukernel gets back to normal speed shortly after initializing aic but I believe before it initializes the the secondary CPUs#asahi-dev · 2022-06-18 10:17
jannaujudging from my uart output I'd say it starts getting slow when the chainloaded m1n1 disables the MMU#asahi-dev · 2022-06-17 19:54
jannauonly chainloading is considered a stable part of m1n1 proxy protocol, so for HV always chainload a curent m1n1#asahi-dev · 2022-06-14 18:57
jannauhmm, apple's sub-ca is / was on the exemption list#asahi-dev · 2022-06-14 18:38
jannausee all the installer issues#asahi-dev · 2022-06-14 18:38
jannaumarcan: has apple always used a GeoTrust root certificate for the cdn? It uses at the moment an old one which doesn't seem to have exception from the Symantec distrust saga#asahi-dev · 2022-06-13 06:39
jannaumarcan: please take https://github.com/jannau/linux/commit/a4b84397044e0f02c55e46fbc3ba6a5bd801a535 and https://github.com/jannau/linux/commit/be714a4f81d031177f4e21a313428eafeb9c4973 for the asahi kernel#asahi-dev · 2022-06-13 06:37
jannauhttps://github.com/jannau/linux/tree/asahi-macos13-no-smc has dts changes to disable SMC, I ended up modifying the devicetree since preventing the use of apple_smc_rtkit also "breaks" all dependencies. i.e. the framebuffer due to the smc gpio backlight and PCIe due to the pwren-gpios#asahi-dev · 2022-06-12 14:40
jannauah, yes. I knew about that#asahi-dev · 2022-06-12 14:34
jannauodd, uboot master is broken without HV#asahi-dev · 2022-06-12 12:35
jannauok, I'll not send it. it seems to be required here but I'm booting a kernel with broken smc so it could be an side effect of that#asahi-dev · 2022-06-12 08:42
jannauif the only reason is that we never bothered to send it I'll include it#asahi-dev · 2022-06-12 08:41
jannaukettenis, marcan: is there a reason why we still have "nvme: Do a clean NVMe shutdown" in asahi:u-boot? I can't find it on the u-boot mailing list#asahi-dev · 2022-06-11 21:10
jannauI'll send them tomorrow#asahi-dev · 2022-06-11 21:10
jannauboth comments fixed, I reformulated the comment a little bit#asahi-dev · 2022-06-11 20:29
jannauthanks#asahi-dev · 2022-06-11 20:28
jannauthe commit could maybe splitted into multiple commits#asahi-dev · 2022-06-11 20:27
jannauI'm mostly happy with https://github.com/jannau/u-boot-1/commit/0678f8e521d31734e9dd3cbe73d818dcd9e66cd7 #asahi-dev · 2022-06-11 20:21
jannauI noticed that nvme_apple.c was missing from MAINTAINERS #asahi-dev · 2022-06-11 20:20
jannaukettenis: https://github.com/jannau/u-boot-1/tree/macos13-nvme#asahi-dev · 2022-06-11 16:05
jannauit's sart and only touched by sven but I've already moved it to its own file#asahi-dev · 2022-06-11 13:40
jannauno, linux ignores it. m1n1/proxy has "0xa: ASCDummyEndpoint, # tracekit"#asahi-dev · 2022-06-11 13:37
jannauah, I understand#asahi-dev · 2022-06-11 13:36
jannauyou mean init/free? I guess that's kind of ok as long as rtkit is only used for nvme#asahi-dev · 2022-06-11 13:33
jannaudo you see a problem with the direct instantation of sart via of* instead of using the device model?#asahi-dev · 2022-06-11 13:32
jannauah, I did a quich search and I found similar typedef in other files#asahi-dev · 2022-06-11 13:29
jannaukettenis: yes, although I'm a little bit unsure what you mean with cleanup. just the code style indentation, variables defined at the beginning?#asahi-dev · 2022-06-11 12:55
jannaui.e. the users would have to edit the grub entry#asahi-dev · 2022-06-11 12:54
jannauyes, but a little bit less convenient. its init function can be blocked on the kernel command line#asahi-dev · 2022-06-11 12:54
jannauyes, fixed kernel and u-boot packages should be provided at the same time with unmodified DTBs#asahi-dev · 2022-06-11 12:52
jannauthe kernel is on ext3 so updating the kernel is inconvenient without working Linux#asahi-dev · 2022-06-11 10:55
jannauassuming apple would enforce a consistent usage on all endpoint. this problem was with the ioreport endpoint#asahi-dev · 2022-06-11 10:37
jannaumacos 12.3 acks the crashlog buffer request so there might be future incompabilities#asahi-dev · 2022-06-11 10:17
jannau4. update the system#asahi-dev · 2022-06-11 10:12
jannau3. tell users to replace ESP:m1n1/boot.bin with the bundle from from 2.