#
#asahi-dev · 2022-12-12 06:28
cyrozapmarcan, sven: Heads-up, there's an issue with ASMedia's USB host controllers where if you try reading from multiple USB devices simultaneously that are connected to the same ASMedia host controller (doesn't matter whether it's through a hub or they're plugged directly into the HC's USB ports), the host controller will attempt a DMA write to an address it doesn't have permission to access. I can easily
#asahi-dev · 2022-12-12 01:56
marcanrebased on 6.1 final and merged jannau's stuff. only compiled tested, will play around with suspend later today
#asahi-dev · 2022-12-12 01:06
bluetailchuckles
#asahi-dev · 2022-12-12 01:03
TellowKrinkle"The YouTube tutorial said to do this. When I did it, it didn't do this. It must be broken."
#asahi-dev · 2022-12-12 00:54
bluetail^ addiction to instant happy chemicals without ever trying to get their hands dirty
#asahi-dev · 2022-12-12 00:48
marcanwhy are users...
#asahi-dev · 2022-12-12 00:48
marcan"Does anyone know how to fix it?" *posts a screenshot that tells them how to fix it*
#asahi-dev · 2022-12-12 00:48
marcanhttps://www.reddit.com/r/AsahiLinux/comments/zjapki/asahi_installation_disk_resize_error/
#asahi-dev · 2022-12-12 00:37
marcanI might do a suspend/resume/spihid hacking stream today, lots of stuff to fix there
#asahi-dev · 2022-12-12 00:25
jannaumacos powers dcp completely down for DPMS (t8103 with internal displays), I've not yet checked j314 or mac mini/studio
#asahi-dev · 2022-12-12 00:21
jannauah, so the dead code in spihid makes not much sense for s2idle. I'd assumed s2idle could use the same suspend path
#asahi-dev · 2022-12-12 00:18
j`eyah, 2e34ca7f13a2d5f8fd665d568b6493a20d4b6efe
#asahi-dev · 2022-12-12 00:18
marcan(nor DCP for that matter, not sure if DCP wants to actually shut down rtkit on suspend?)
#asahi-dev · 2022-12-12 00:17
marcan(this is not done properly yet for the helper and for GPU and others)
#asahi-dev · 2022-12-12 00:17
marcanwe unconditionally unmask mailbox IRQs in suspend under the assumption that rtkit drivers will suspend themselves anyway (except SMC which needs to stay alive)
#asahi-dev · 2022-12-12 00:17
marcanremember in s2idle the kernel is just running normally, it's just that by default all IRQs are masked
#asahi-dev · 2022-12-12 00:16
marcanthen other GPIOs will be masked in s2idle
#asahi-dev · 2022-12-12 00:16
marcanthe pin controller should have that set for its parent IRQ and then the downstream SPI driver should set it for its GPIO IRQ
#asahi-dev · 2022-12-12 00:16
marcanwhich means those IRQs will not be masked in s2idle, then the drivers are free to do whatever they want with them
#asahi-dev · 2022-12-12 00:16
marcanin s2idle there aren't "wakeup sources" per se, what there are is IRQs marked IRQF_NO_SUSPEND
#asahi-dev · 2022-12-12 00:15
j`eyyeah you should be able to mark induvidual irqs
#asahi-dev · 2022-12-12 00:12
jannauthe color/timing mode tracing would require FTRACE in the edge kernel config
#asahi-dev · 2022-12-12 00:11
jannaumarcan: https://github.com/AsahiLinux/linux/pull/78 with t8112 cache info and dart rename is open as well
#asahi-dev · 2022-12-12 00:04
jannauwe might not want all gpio irqs to act as wakeup source though
#asahi-dev · 2022-12-11 23:52
j`eymight be as simple as https://termbin.com/ne5tc but also needs something in the DT, to mark it as a wakeup source
#asahi-dev · 2022-12-11 23:45
j`eylooks like pinctrl needs a irq_set_wake
#asahi-dev · 2022-12-11 23:29
jannauspihid wakeup by keypress does not work as far as I can see as because the pinctrl driver can not act as wakeup source
#asahi-dev · 2022-12-11 23:24
jannaumarcan: spihid pull request: https://github.com/AsahiLinux/linux/pull/88 minor fixes and suspend/resume support
#asahi-dev · 2022-12-11 23:23
jannaumarcan: dcp pull request: https://github.com/AsahiLinux/linux/pull/89
#asahi-dev · 2022-12-11 23:17
j`eyyeah you probably want 70-100G for macOS
#asahi-dev · 2022-12-11 23:15
Dcowthe ssd is slower on 256Gb model. Also, macOS uses a lot of disk space, so I wouldn't recommend to have 256Gb model for multiple os instances
#asahi-dev · 2022-12-11 22:28
sam___As for ram I'm thinking of 16GB, 24 seems like a bit much
#asahi-dev · 2022-12-11 22:28
sam___Sounds good, thanks!
#asahi-dev · 2022-12-11 22:27
j`eyonly 1 is needed really
#asahi-dev · 2022-12-11 22:26
sam___Not sure how many installs are necessary for development work outside of having macOS itself and then Asahi of course
#asahi-dev · 2022-12-11 22:26
sam___j`ey: I see, so then maybe 256gb is my choice
#asahi-dev · 2022-12-11 22:24
j`eysam___: not really. just depends if you think you will have multiple installs etc
#asahi-dev · 2022-12-11 22:22
sam___I'm looking to support development of the project on an M2 air I'd be getting soon, is there an ideal minimum storage size SSD I should be getting?
#asahi-dev · 2022-12-11 22:13
sam___Hello
#asahi-dev · 2022-12-11 17:58
svenofc, usb3 wouldn't work otherwise
#asahi-dev · 2022-12-11 17:58
zzywysm_"yeah, iirc I had to fix some bug in there as well when accessing bits past 8 inside the 32bit fuse"
#asahi-dev · 2022-12-11 17:57
sven"the bug"?
#asahi-dev · 2022-12-11 17:57
zzywysm_sven: is the bug fixed in the asahi tree?
#asahi-dev · 2022-12-11 15:01
svenguess I’ll just send it again once I also submit atcphy
#asahi-dev · 2022-12-11 15:01
sven… and I think that patch series was ignored :(
#asahi-dev · 2022-12-11 15:01
svenyeah, iirc I had to fix some bug in there as well when accessing bits past 8 inside the 32bit fuse
#asahi-dev · 2022-12-11 14:55
kettenisah, it is handled by the midlayer; thanks
#asahi-dev · 2022-12-11 14:54
sventhe nvmem core has word_size and stride iirc
#asahi-dev · 2022-12-11 14:50
kettenissven: in the Linux "apple,efuses" driver, what guarantees that the address you're reading from is 32-bit aligned?
#asahi-dev · 2022-12-11 05:37
eilnthis explains the missing values in the pmgr tracer

plus ›