#
#asahi-dev · 2025-05-17 03:56
chadmeddoes someone wanna take a look at https://github.com/chadmed/linux/tree/b4/mca-fixes before i submit? theyre pretty small patches so i don't think there's anything too controversial in there
#asahi-dev · 2025-05-15 22:45
chaos_princessi've already inlined j180 data into t6022 and pushed the old ones down to t6021
#asahi-dev · 2025-05-15 22:44
jannauchaos_princess: I've pushed dts gpu t602x desktop fixes to bits/000-devicetree / asahi-wip. j180d dopesn't need special handling. In addition t602x mac mini/studio probably have inherited wrong values through t600x-j375.dtsi
#asahi-dev · 2025-05-15 15:54
svenadjusted the reg sizes as well now
#asahi-dev · 2025-05-15 15:53
svenwill wait for after the merge window to send this out anyway but i'll use it as a base to continue preparing that usb3 series
#asahi-dev · 2025-05-15 15:53
sventhanks!
#asahi-dev · 2025-05-15 15:48
chaos_princessEverything else looks fine
#asahi-dev · 2025-05-15 15:48
svendidn't notice the hilighted line
#asahi-dev · 2025-05-15 15:48
svenohhh
#asahi-dev · 2025-05-15 15:47
svenchaos_princess: node name?
#asahi-dev · 2025-05-15 15:46
kettenisbtw, it looks as if I wrote to OpenBSD driver to handle unaligned access
#asahi-dev · 2025-05-15 15:45
chaos_princesshttps://github.com/AsahiLinux/linux/commit/57772ce042d7aff3621865d0f1ae1f0dd5c0a13c#diff-2075a327efafd56d4916496f071b87d895f8fb7dc69c3cb5bd8924c1bb4439d9R876 - node name
#asahi-dev · 2025-05-15 15:42
svenhrm... or maybe not
#asahi-dev · 2025-05-15 15:42
sveni think i can even reduce that to 1 for all of them
#asahi-dev · 2025-05-15 15:41
svenabsolutely :)
#asahi-dev · 2025-05-15 15:41
svenduh, yes
#asahi-dev · 2025-05-15 15:41
kettenissven: if you no longer require aligned 32-bit access wouldn't it make sense to define the "reg" properties to be smaller than 4 if appropriate?
#asahi-dev · 2025-05-15 15:34
svenhttps://github.com/AsahiLinux/linux/commits/sven/nvmem/ would be nice if someone could double check if I got the fixup dt commits correct. they covert the 4 byte aligned fuses to byte-aligned ones
#asahi-dev · 2025-05-15 11:39
Son_GokuLinux 6.15 is right around the corner, which means it's time for another progress report! https://asahilinux.org/2025/05/progress-report-6-15/
#asahi-dev · 2025-05-13 18:04
svenand also dev_err to dmesg in the gpu driver when the required properties aren't found so that we know if we get bug reports what's going on
#asahi-dev · 2025-05-13 18:04
alyssa:P
#asahi-dev · 2025-05-13 18:04
alyssabam
#asahi-dev · 2025-05-13 18:04
alyssarequire rust if uname == Linux
#asahi-dev · 2025-05-13 18:03
chaos_princessmy intention is to have a NO_RUST makefile option, and it must be set to disable it. so, enabled by default
#asahi-dev · 2025-05-13 18:03
svenwe can't prevent that but we need to make it very obvious when that happens
#asahi-dev · 2025-05-13 18:02
svenwe just have to make sure we don't shoot ourselves in the foot because distros compile m1n1 without rust and then the gpu doesn't work
#asahi-dev · 2025-05-13 18:02
svenworks for me
#asahi-dev · 2025-05-13 18:02
alyssaoptional it is
#asahi-dev · 2025-05-13 18:02
svenwe either need to make that rust part optional or convert it to C
#asahi-dev · 2025-05-13 18:01
svenyes, but not in m1n1 stage 2 because we break *all* openbsd users then
#asahi-dev · 2025-05-13 18:01
alyssas/need/very much want/
#asahi-dev · 2025-05-13 18:01
alyssawe need rust for gpu but i guess that was going to be a problem for BSD regardless
#asahi-dev · 2025-05-13 18:00
svenand let's not make rust mandatory for m1n1 stage 2 then
#asahi-dev · 2025-05-13 17:57
svenmight be worth trying to fix it before 6.16 is out (not -rc1 but the final release weeks from now)
#asahi-dev · 2025-05-13 17:56
kettenishaven't made any progress there
#asahi-dev · 2025-05-13 17:56
kettenisregarding m1n1 and rust on OpenBSD; yes that is a huge problem since you can't easily build your own standard library for a cross compiler
#asahi-dev · 2025-05-13 17:53
kettenissven: it seems the change already made it into linux-next, so maybe it is to late to change it?
#asahi-dev · 2025-05-13 16:46
svenalso, i vaguely remember that compiling m1n1 w/ rust was kinda painful on bsd. if my memory's not wrong: is that still true? i'm asking because we're considering copy/pasting some rust code into m1n1 which would require rust even for stage2 with the current implementation (https://github.com/AsahiLinux/m1n1/pull/466)
#asahi-dev · 2025-05-13 16:44
svenkettenis: how do we continue with that compatible? try to get it changed upstream or add a quirk to m1n1 that appends the old compatible for at least the next year at least to the device trees?
#asahi-dev · 2025-05-12 22:01
jannauturns out it wasn't randomly. my tests kernels without ACPI worked but the Fedora builds with ACPI were broken
#asahi-dev · 2025-05-12 21:59
jannaufinally looked why my thinkpad compact USB keyboard "randomly" broke: Lenovo added ACPI platform power profile switching to it.
#asahi-dev · 2025-05-12 17:59
svenI think the current solution (allow offset >8) makes more sense but I’m not gonna fight for it
#asahi-dev · 2025-05-12 17:57
sventhe other alternative ofc is to do the unaligned u8 reading inside our driver and just adjust all the dt nodes *shrug*
#asahi-dev · 2025-05-12 17:57
svenI’ve only adjusted the reading but not the writing path
#asahi-dev · 2025-05-12 17:56
sventhe revert needs to be changed anyway I think
#asahi-dev · 2025-05-12 17:56
svenbut makes sense
#asahi-dev · 2025-05-12 17:55
svenlol, ouch
#asahi-dev · 2025-05-12 17:16
jannaumy revert will probably run into resistance as well with "maximum 7" in nvmem/layouts/fixed-cell.yaml
#asahi-dev · 2025-05-12 17:01
chaos_princesssven: https://github.com/AsahiLinux/linux/blob/bits/000-devicetree/Documentation/devicetree/bindings/nvmem/nvmem-deprecated-cells.yaml#L18 the regex only allows numbers up to 7
#asahi-dev · 2025-05-12 16:33
svenhttps://lore.kernel.org/asahi/174705404483.2941395.9971423828224597027.robh@kernel.org/T/#m0b44c56cee7ba4c437543136a14bd9574e280575 huh... why? did I mess the original apple,efuses.yaml up or am I overlooking something dumb?

plus ›