#
#asahi · 2022-10-14 12:32
_jannau_the firmware is not redistributeable so it has to be handled all locally
#asahi · 2022-10-14 12:32
_jannau_it doesn't help. your kernel doesn't support it. no need to try. You will get updated firmware when an updated asahi-fwextract runs
#asahi · 2022-10-14 12:29
boriskanyone know where I can get the latest firmware.tar/manifest.txt?
#asahi · 2022-10-14 12:28
boriskj`ey: thanks, it's still worth a try to update it and see if it helps
#asahi · 2022-10-14 12:18
j`eyborisk: but your kernel doesnt have support for loading it anway, as far as i can tell
#asahi · 2022-10-14 12:18
j`eyborisk: yeah
#asahi · 2022-10-14 12:16
_jannau_I'm not sure if it will work with that change on the mac studio m1 max as it has an usb hub for the rear usb-a and front usb-c ports which might need firmware too
#asahi · 2022-10-14 12:16
boriskjust to confirm, we are talking about the stuff in vendorfw/ on the ESP partition, correct?
#asahi · 2022-10-14 12:15
svenit kinda makes sense that apple wants to instead be able to store that firmware inside a blob that's verified with their secure boot chain
#asahi · 2022-10-14 12:14
sventhat firmware is usually stored in some on-board flash or ROM
#asahi · 2022-10-14 12:14
mpsuh, I see. apple /o\
#asahi · 2022-10-14 12:14
_jannau_for the usb host controller. the mac studio (and imac with 4 ports) uses a different one than the mac mini. also with 10gbps instead of just 5gbps as the mini
#asahi · 2022-10-14 12:13
j`eyhttps://github.com/AsahiLinux/linux/commit/511d8877144408f9ad74b12bb33d92d93aad0209
#asahi · 2022-10-14 12:11
mpsj`ey: firmware for usb driver? interesting. first time see this
#asahi · 2022-10-14 12:10
mpsborisk: ahm, but I wonder why usb-a wouldn't work, though you could be right - maybe it need some fixes
#asahi · 2022-10-14 12:08
aykeChaosPrincess: ah yeah that'll be it. I am on Matrix and was kicked by the bridge. I suspected a mistake of some sort :)
#asahi · 2022-10-14 12:07
j`eyborisk: some of the ports need firmware, and the 5.19 release doesnt have the firmware uploader code yet
#asahi · 2022-10-14 12:06
ChaosPrincessif you were on matrix, yes, someone banned the matrix bridge by accident
#asahi · 2022-10-14 12:06
aykeHuh? For some reason I was kicked from this channel??
#asahi · 2022-10-14 12:05
ChaosPrincesstry running the firmware updater script
#asahi · 2022-10-14 12:04
boriskmps: that's what I also thought but here I have Mac Mini M1 where they work and Mac Studio M1 Max where they don't with the same Linux kernel/configuration (5.19.0 from current Asahi release). Wonder what might be going on...
#asahi · 2022-10-14 12:00
mpsborisk: afaik they are, but can't be used in u-boot and grub
#asahi · 2022-10-14 11:56
boriskDoes anyone know if USB-A ports on Mac Studio M1 Max are usable from Linux?
#asahi · 2022-10-14 02:41
leifIn case anyone cares the first (Linux) aarch64 build of the brave browser was just released: https://github.com/brave/brave-browser/releases/tag/v1.46.56
#asahi · 2022-10-13 21:44
jannauand macos or xcode ship per SoC plists with the event descriptions
#asahi · 2022-10-13 21:44
AdamTuby[m]not forcing it lol, just suggested it
#asahi · 2022-10-13 21:44
AdamTuby[m]sven: sure thing, got it
#asahi · 2022-10-13 21:44
AdamTuby[m]jannau: I know of it, it isn't as thorough as even my basic benchmarks
#asahi · 2022-10-13 21:44
svenplease read the copyright policy we have. We don’t want to operate in grey areas
#asahi · 2022-10-13 21:43
svenwe still don’t want that documentation as part of our project that
#asahi · 2022-10-13 21:42
AdamTuby[m]s/though/thought/
#asahi · 2022-10-13 21:42
jannauthere's https://github.com/dougallj/applecpu/blob/main/timer-hacks/bench.py
#asahi · 2022-10-13 21:42
AdamTuby[m]sven: though you would say so, but as long as the benchmarks are thorough enough and non-speculative, the findings would sure help some microarchitectural researchers out there
#asahi · 2022-10-13 21:41
AdamTuby[m]<jannau> "Adam Tuby: how would this go..." <- could you clarify what events are you talking about? I suppose we are not talking about the same thing - the current event selection of PMC2-9 is unknown: both by the official linux kernel driver and by any docs online.
#asahi · 2022-10-13 21:41
svenif you have read leaked or non-public material that effectively taints everything you do
#asahi · 2022-10-13 21:40
svendoesn’t matter
#asahi · 2022-10-13 21:39
AdamTuby[m]jannau sven
#asahi · 2022-10-13 21:39
AdamTuby[m]reclarifying "I can't share the event encodings as of now, but as long as my benchmarks will produce the same results as I have in my hand right now I'll be happy to share it!".
#asahi · 2022-10-13 21:34
jannauif you have non public information see https://asahilinux.org/copyright/ first
#asahi · 2022-10-13 21:31
svenplease don’t write any docs that way
#asahi · 2022-10-13 21:31
svenbasing things on “insider information” is a terrible idea
#asahi · 2022-10-13 21:31
jannauAdamTuby[m]: how would this go beyond current kernel PMU driver and the non secret event description inside macos/xcode?
#asahi · 2022-10-13 21:28
AdamTuby[m] * btw, I'm planning on (well, already started) writing a PMU reverse engineering benchmarks library - I would be happy to contribute the findings to the Asahi docs, perhaps even contribute a kernel-module wrapper for interfacing with the PMU.
#asahi · 2022-10-13 21:28
AdamTuby[m]I can't share the event encodings as of now, but as long as my benchmarks will produce the same results as I have in my hand right now I'll be happy to share it!
#asahi · 2022-10-13 21:26
AdamTuby[m]* the problem? (For the record, I patched the kernel to make all writes to SCTLR_EL1 have bit 26 (UCI) turned on - this makes sure the (defined) `DC` instruction series is enabled in EL0)
#asahi · 2022-10-13 21:23
AdamTuby[m]* planning on (well, already started) writing a, * to the Asahi docs, perhaps
#asahi · 2022-10-13 21:23
AdamTuby[m]* I'm planning (well, already started) on writing, * to the Asahi docs, perhaps
#asahi · 2022-10-13 21:16
AdamTuby[m]* to the Asahi docs, perhaps
#asahi · 2022-10-13 21:16
AdamTuby[m]I can't share the event encodings as of now, but as long as my benchmarks will produce the same results as I have in my hand right now I'll be happy to share it!
#asahi · 2022-10-13 21:16
AdamTuby[m]btw, I'm planning on writing a PMU reverse engineering benchmark library - I would be happy to contribute the findings to the docs, perhaps even contribute a kernel-module wrapper for interfacing with the PMU.

plus ›