#asahi · 2024-10-10 12:04
aut0also it seems EL2 timer register virutalization does not work yet if I understand it correctly#asahi · 2024-10-10 11:45
aut0did this: https://pastebin.com/SENeFNBR#asahi · 2024-10-10 11:45
aut0maz: i am looking at gicv2/mmio only right now if that makes more sense#asahi · 2024-10-10 11:38
mazyou can't really do nested with it anyway, because you'd have to track the nesting in userspace (how are you going to handle a write to a LR, for example?)#asahi · 2024-10-10 11:36
mazno, but it has been broken for years, and I don't plan to fix it.#asahi · 2024-10-10 11:35
aut0maz: :'( is there already a patch for removing timer IRQ signaling to userspace?#asahi · 2024-10-10 11:33
mazaut0: I don't really see the point, but sure, why not. Note that I intend to finish the removal of timer interrupt signalling to userspace very shortly.#asahi · 2024-10-10 11:31
aut0maz, currently looking how to do GIC and Timers in userspace, but got some part of Linux running and CPUs report EL2 :)#asahi · 2024-10-10 11:29
mazaut0: no GIC, no fun. M2 has barely enough GIC support to make it workable, but anything less can burn in hell.#asahi · 2024-10-10 09:30
aut0maz, out of curiosity is in-kernel GIC a requirement or do you think it should work without?#asahi · 2024-10-10 08:09
aut0Any advice on a good kernel debug setup on M2? I mean printf debugging works to an extent, but is there a way to maybe use kGDB or something like that? I assume JTAG may be difficult.#asahi · 2024-10-10 02:09
Kitlithhm. and testdisk is also only finding the APFS partitions, and not the EFI partitions that I *know* are still present (because macos can see them)#asahi · 2024-10-10 01:18
KitlithI'm finally following up on something I was working on a couple weeks ago, where I took a raw disk image of my m1 macbook pro from recovery (via /dev/rdisk0), and transferred it to another computer for inspection. However, while I see a protective MBR present, I don't see a GPT? So I feel like I've missed something important.#asahi · 2024-10-09 14:51
jannauprobably not but Longhorn is cclaimed that it's not necessary with nvidia and the driver for old AMD GPUs (most likely slower than agx) apparently doesn't need unaligned accesses anymore#asahi · 2024-10-09 14:46
chaos_princessi haven't seen anyone conclusively proving either way#asahi · 2024-10-09 14:46
chaos_princessThe question is whether they fixed device memory on root port#asahi · 2024-10-09 14:43
jannaumarcan got the pcie controller working on the mac pro (probably) but all hardware is behind a large PCIe switch#asahi · 2024-10-09 14:34
mazchaos_princess: saw that one a while ago, but clearly vendors don't align with that.#asahi · 2024-10-09 14:34
aut0chaos_princess, interesting. do you know if Ampere Linux has nested virt enabled?#asahi · 2024-10-09 14:32
mazbut you are on your own when it comes to userspace.#asahi · 2024-10-09 14:32
chaos_princessmaz: https://www.servethehome.com/ampere-ampereone-pricing-and-sku-list-with-current-oem-partners-supermicro-asrock-rack-gigabyte-ieit-byd-arm/#asahi · 2024-10-09 14:32
aut0maz, thanks will check#asahi · 2024-10-09 14:32
mazaut0: my current sandbox is at https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/nv-next-fruit#asahi · 2024-10-09 14:30
aut0maz, that's the feeling I am getting as well. I have some KVM related issues and some minor changes to work around, but it feels like I am not using the right source code. I saw your patch series but couldn't find the source.#asahi · 2024-10-09 14:29
mazso far, what I found was more in the 15k category...#asahi · 2024-10-09 14:29
mazchaos_princess: under 5k? where?#asahi · 2024-10-09 14:29
mazaut0: it is doubtful that you are testing it, unless you are directly picking the patches from my tree. and if you do, the way to report issues is to post on the kvmarm list.#asahi · 2024-10-09 14:28
chaos_princessI think you can get one for under 5k#asahi · 2024-10-09 14:28
aut0probably the ampereone systems will not be much cheaper#asahi · 2024-10-09 14:27
chaos_princessThats more of a maz question#asahi · 2024-10-09 14:27
aut0chaos_princess, yeah same kind of#asahi · 2024-10-09 14:27
aut0Maybe on a related note, I am trying nested virt on M2 asahi now, but also facing some issues. Should it work more or less out of the box?#asahi · 2024-10-09 14:27
chaos_princessTbh, i am quite curious about it, but not "drop 10 grand on a dubiously useful computer" curious#asahi · 2024-10-09 14:26
chaos_princessFor everything except mac pro - yes, for mac pro - idk#asahi · 2024-10-09 14:25
aut0It seems MacOS doesn't even support eGPU. Maybe it's a HW limitation.#asahi · 2024-10-09 14:25
chaos_princessAnd yes, that applies to pcie-over-tb in arm macs, and idk if applies to mac pro#asahi · 2024-10-09 14:24
aut0Had that issue in the past as well#asahi · 2024-10-09 14:24
chaos_princessthough most arm chips also like having a broken pcie implementation for some reason#asahi · 2024-10-09 14:23
chaos_princessProbably a better bet for that#asahi · 2024-10-09 14:23
aut0AmpereOne apparently #asahi · 2024-10-09 14:23
chaos_princessdo altras support nv?#asahi · 2024-10-09 14:23
chaos_princessWell, mac pro is not that well supported for reazons that should be pretty obvious :P#asahi · 2024-10-09 14:23
aut0chaos_princess, thanks. I see. I saw something like that in the chat logs. Trying to find some ARM HW where I can play with nested virt and pcie.#asahi · 2024-10-09 14:22
opticronchaos_princess would know better than me :D#asahi · 2024-10-09 14:21
opticronaut0, the installer is listed as WiP as per: https://github.com/AsahiLinux/docs/wiki/M2-Series-Feature-Support#m2-promaxultra-devices#asahi · 2024-10-09 14:21
chaos_princessInstaller should work, but iirc mac pro's pcie controller is not supported#asahi · 2024-10-09 14:10
aut0Is it very difficult to install asahi on a Mac Pro? I would like to experiment with PCIe devices.#asahi · 2024-10-08 08:58
maznor in any official tree. it will take some time (“Eternity is awful long time, especially towards the end.”)#asahi · 2024-10-08 08:16
j`eychadmed_: gp: the code to run a nested vm is not all in the asahi tree yet though#asahi · 2024-10-08 07:19
chadmed_gp: in case you check the logs, yes nested virt is supported on m2 and friends