#
#asahi-dev · 2025-05-10 14:36
nickchanokay sleeping also doesn't work without that pr right now
#asahi-dev · 2025-05-10 14:29
nickchanhttps://github.com/apple-oss-distributions/xnu/blob/bb611c8fecc755a0d8e56e2fa51513527c5b7a0e/osfmk/arm64/cpu.c#L999
#asahi-dev · 2025-05-10 14:29
nickchansven: the xnu sources stated that the global sleep register must not be modified when there are CPUs in wfi
#asahi-dev · 2025-05-10 14:20
svennickchan: that entire sleep function looks suspicious to me anyway. the isb; wfi in a loop makes no sense to me e.g.
#asahi-dev · 2025-05-10 14:15
svenhttps://github.com/AsahiLinux/linux/commits/sven/smc-v5/ smc v5 with review comments addressed
#asahi-dev · 2025-05-10 14:01
nickchanand there's some workarounds in those sources
#asahi-dev · 2025-05-10 13:57
nickchanuh how about mindlessly changing the sequence to match xnu sources' sleep
#asahi-dev · 2025-05-10 13:42
nickchana11 is HAS_CLUSTER false in xnu
#asahi-dev · 2025-05-10 13:34
nickchanokay so the register accesses are getting killed in what's supposedly a not-deep-sleep
#asahi-dev · 2025-05-10 13:28
nickchanlooks like "Turning off the last core in a cluster kills our register accesses"
#asahi-dev · 2025-05-10 13:27
nickchanTTY> L2C_ERR_ADR: 0x110000208150100
#asahi-dev · 2025-05-10 13:25
nickchanOk the chickens pr is absolutely not fine on A11
#asahi-dev · 2025-05-10 11:40
sventhe NVMe maintainers didn’t like that very much though
#asahi-dev · 2025-05-10 11:40
sveniirc my original version re-used those quirks when I added platform support to pci.c
#asahi-dev · 2025-05-10 11:39
svenyup
#asahi-dev · 2025-05-10 11:35
nickchanwow that must be talking about T2
#asahi-dev · 2025-05-10 11:35
nickchanhttps://github.com/AsahiLinux/linux/blob/8dc6d00309e5feeca4f3f802976c0b7c9c406a49/drivers/nvme/host/pci.c#L2720
#asahi-dev · 2025-05-10 11:33
nickchanNVME_QUIRK_128_BYTES_SQES
#asahi-dev · 2025-05-10 11:18
svenbut assume it's a pcie device ofc
#asahi-dev · 2025-05-10 11:18
sventhe pcie driver has quirks for that other mode I think
#asahi-dev · 2025-05-10 11:17
nickchansven: after cleaning up I see it is just the other mode which is already mentioned in the driver https://github.com/AsahiLinux/linux/blob/8dc6d00309e5feeca4f3f802976c0b7c9c406a49/drivers/nvme/host/apple.c#L1110
#asahi-dev · 2025-05-10 11:17
nickchanokay cleaned up a11's nvme code
#asahi-dev · 2025-05-10 08:09
nickchancurrently cleaning up some apple nvme code after that i should check out the m1n1 chicken bits pr
#asahi-dev · 2025-05-10 07:52
svenalright, nvmem for atcphy sent out. time to address the SMC review comments now
#asahi-dev · 2025-05-09 20:08
flokliI assume that's a wrong error code somewhere? Power over air doesn't seem to be a thing yet :-)
#asahi-dev · 2025-05-09 20:08
floklicat: /sys/class/power_supply/macsmc-ac/input_current_limit: Operation not possible due to RF-kill
#asahi-dev · 2025-05-09 20:08
floklicat /sys/class/power_supply/macsmc-ac/input_current_limit
#asahi-dev · 2025-05-09 17:30
jannaumischa85: did you work on separating the cs-sw serial and control interfaces?
#asahi-dev · 2025-05-09 12:42
eric_engestromalxdrl: btw you might want to join #ci-tron and ask your questions there, as mupuf knows more than me (since he started the project), but I'll help as much as I can :)
#asahi-dev · 2025-05-09 12:34
eric_engestromalxdrl: sounds good :)
#asahi-dev · 2025-05-09 12:23
alxdrleric_engestrom: great, the plan for me then would be first to build a local/basic ci-tron setup following the guide, test the udev rules jannau provided and try to add machine serial ID, and see where it goes from there
#asahi-dev · 2025-05-09 12:20
eric_engestromAnd to what your question there, nobody else works on this yet
#asahi-dev · 2025-05-09 12:20
eric_engestromAnd yes please! I see you messaged me on matrix as well, I'm happy with either irc or matrix to communicate
#asahi-dev · 2025-05-09 12:19
eric_engestromalxdrl: plenty of devices, nice! I only have an M2 air and it's my main work machine so I'm very limited in how much I'll be able to use it as a DUT (not impossible, but many very annoying reboots 😅)
#asahi-dev · 2025-05-09 12:08
alxdrleric_engestrom: I understand you're ok with me contributing to that (or at least trying to) then ? I have access to a M1 mba, a M2 pro Mini and a used M1 Mini soon (and ofc the CS board)
#asahi-dev · 2025-05-09 11:31
eric_engestromYeah, it will be alongside network boot and usb boot
#asahi-dev · 2025-05-09 11:30
jannaumy understanding was that alxdrl is planning to look into it. so you might not have to plan as much time for it. I assume there will be questions on how integrate it into ci-tron as it differs from the existing methods
#asahi-dev · 2025-05-09 11:26
eric_engestrom*until after
#asahi-dev · 2025-05-09 11:26
eric_engestromI have a few big items on my list that I need to get to, but if there's starting to be interest from the asahi community I can make sure not to add another big item after that until I got M1/M2 support done
#asahi-dev · 2025-05-09 11:24
eric_engestromjannau: I wrote my message before seeing yours (I'm travelling, intermittent internet and screen time); I think it answers your question as well
#asahi-dev · 2025-05-09 11:23
eric_engestromalxdrl: yeah, this ci-tron tracking issue was created following a discussion between alyssa, mupuf, and me, at XDC a couple of years ago, and realistically I'm the only one who will work on this since I work on ci-tron as my day job and I have an M2, but I haven't gotten to it yet, so there's no progress yet :(
#asahi-dev · 2025-05-09 11:15
jannauI've attached my udev rules to manage multiple devices to the issue
#asahi-dev · 2025-05-09 11:05
jannaueric_engestrom: do you plan to work on https://gitlab.freedesktop.org/gfx-ci/ci-tron/-/issues/219 ? alxdrl has shown interest 2 days ago and I'll send a central-scrutinizer
#asahi-dev · 2025-05-08 17:39
alyssai can. understand that.
#asahi-dev · 2025-05-08 17:39
alyssamood.
#asahi-dev · 2025-05-08 17:35
sveni'm just very happy it works right now and don't want to look at it funny and break it all again
#asahi-dev · 2025-05-08 17:35
alyssamood
#asahi-dev · 2025-05-08 17:35
svenand i'm not in the mood for bike shedding :P
#asahi-dev · 2025-05-08 17:34
alyssamaybe later
#asahi-dev · 2025-05-08 17:34
alyssai don't want to check out this tree and have to build stuff :p

plus ›