#asahi · 2022-04-24 09:34
sveneveryone I know in .de just uses them and pays off the entire balance every month while the banks in the USA wanted me to only pay off like 10% or so and just keep accumulating debt :/#asahi · 2022-04-24 09:33
svenI never realized that people actually had debt on the credit cards for months before I spent time in the USA#asahi · 2022-04-22 10:10
svenI haven't seen XNU use it anywhere fwiw#asahi · 2022-04-22 10:10
svenwould also be interesting to benchmark it and see how fast it actually is#asahi · 2022-04-22 10:09
sventrue#asahi · 2022-04-22 10:07
sveni'm not even sure if using that aes engine would be any faster#asahi · 2022-04-22 10:07
svenyeah#asahi · 2022-04-22 10:06
svenhttps://f.svpe.de/70fb5357bea78c2e50f0017f563907ebe775cd731861d37751346a1eb8ad61c9_aes.py some old python code to drive that aes engine#asahi · 2022-04-22 10:03
svenbut those keys are disabled before it jumps to m1n1 or XNU#asahi · 2022-04-22 10:03
svenI think it's also still used to decrypt iBoot#asahi · 2022-04-22 10:02
svenI think it's mostly a leftover from the days when there was no SEP#asahi · 2022-04-22 10:02
svenI don't think there's any sidechannel#asahi · 2022-04-22 10:01
svenit also has some hidden keys but those should be disabled already by the time we get control#asahi · 2022-04-22 10:01
svenyes#asahi · 2022-04-22 10:00
svenbut yeah, SEP is more of a TPM and less of a HW accelerator afaict#asahi · 2022-04-22 10:00
svenand eventually ANS (the nvme-coprocessor) presumably also can do the crypto itself#asahi · 2022-04-22 10:00
svennot sure if it's any faster than just doing it on the cpu for now :D#asahi · 2022-04-22 09:59
svenchadmed: / florolf: the AP has access to an AES engine fwiw#asahi · 2022-04-19 16:36
sveneven stable apfs write support is already going to be quite painful#asahi · 2022-04-19 16:18
svenI assume it will happen eventually, but it’s still far off#asahi · 2022-04-19 16:16
svenyou’d need a lot of work (probably at least SEP and APFS support) for little gain#asahi · 2022-04-19 16:15
sventhat’s still a long way to go #asahi · 2022-04-19 10:28
svenand the driver “summer project” for Linux has been a multi-people effort going on for 1+ year now#asahi · 2022-04-19 10:27
svenyeah, you’d need to do some pretty heroic patching to the (closed source) kernel itself#asahi · 2022-04-18 21:06
svenI guess we can currently answer it with “no” ;p#asahi · 2022-04-18 17:56
sven(unless you want new bleeding-edge features ;))#asahi · 2022-04-18 17:56
svengive it another few months and we'll hopefully have most things upstream and then even the kernel won't be special anymore#asahi · 2022-04-18 12:56
sven*on#asahi · 2022-04-18 12:55
svenso my money is in a bad cable#asahi · 2022-04-18 12:55
svenm1 max should have USB ports at the front that are connected via a third party controller attached over pcie iirc#asahi · 2022-04-18 12:52
svenyeah#asahi · 2022-04-18 12:51
svenone of the results also sounds like a bad cable because it falls back to what suspiciously is usb 2 speed #asahi · 2022-04-18 11:14
sven(this only applies to the actual usb4/tbt ports. some macs (iMac and Mac studio I think) also have usb 3 ports that are different)#asahi · 2022-04-18 11:14
svenand usb4 mode uses both lanes anyway#asahi · 2022-04-18 11:13
svenusb 3 mode doesn’t require any firmware to be loaded. there might be some internal ROMs but those are unchangable anyway#asahi · 2022-04-18 10:09
svenand that blog post is already confused by the usb naming at the beginning. you can have 3.2 ports than can only do 10 Gbps just fine.#asahi · 2022-04-18 10:07
svenwhat these ports can’t do in usb 3 mode seems to be lane bonding which is required for 20 Gbps #asahi · 2022-04-18 10:06
svennote that usb 3 != thunderbolt or usb4#asahi · 2022-04-18 09:06
sveniirc xhci only uses 32bit accesses #asahi · 2022-04-18 08:31
svenoh, was it just for the sd card reader? I thought every non-aligned read didn’t work#asahi · 2022-04-18 07:50
svenand also only do 4 byte aligned access#asahi · 2022-04-18 07:49
sven*more likely be that we can only map memory as nGnRE on the pcie bus#asahi · 2022-04-18 07:49
svenhere the issue will nore#asahi · 2022-04-18 06:09
svenwe already know that we can likely only make that pcie memory with a specific type and that the gpu drivers want a different memory type#asahi · 2022-04-18 06:09
svenwe don’t know yet but I wouldn’t get my hopes up#asahi · 2022-04-18 06:09
sventhere might be some limitations on that pcie bus that breaks eGPus#asahi · 2022-04-18 06:08
svenIt’s not true though #asahi · 2022-04-14 19:41
svenI look forward to the day I can just grab any random distro and install it #asahi · 2022-04-14 19:38
svenIn an ideal future world there is no asahi distro anymore ;)#asahi · 2022-04-14 18:55
svenyou only need thunderbolt for fancy things like those apple displays