#asahi · 2024-10-11 11:16
aut0"just" fix the sw i guess...#asahi · 2024-10-11 11:15
aut0at some point it's just not fun anymore#asahi · 2024-10-11 11:14
aut0ah sorry didn't read carefully#asahi · 2024-10-11 11:12
aut0nickchan i thought it was the main problem that DART does not support 4k pages#asahi · 2024-10-11 10:57
aut0chaos_princess you mentioned that was abandoned for technical reasons, are there details on that?#asahi · 2024-10-11 10:55
aut0Mhm, doesn't make my life easer :-D. Brings me back to the original question of running a 4k asahi kernel#asahi · 2024-10-11 10:55
aut0ah right, yes that was what i was worried about that the host s2 would be used#asahi · 2024-10-11 10:52
aut0it seems like i am running into some FEAT_GTG related check error#asahi · 2024-10-11 10:21
aut0chaos_princess, thanks will keep trying :)#asahi · 2024-10-11 10:21
aut0chaos_princess yes#asahi · 2024-10-11 10:21
aut0chaos_princess, except patches from maz i think#asahi · 2024-10-11 10:20
aut0j`ey, the scenario is host hypervisor (asahi linux) -> Guest Hypervisor (4k page size) -> Guest Hypervisor Guest VM (4k page size)#asahi · 2024-10-11 10:19
aut0chaos_princess i saw that in alyssa's talk yesterday#asahi · 2024-10-11 10:19
aut0chaos_princess my understanding is that the guest hypervisor would run in a vm anyways and that should support 4k pages#asahi · 2024-10-11 10:18
aut0chaos_princess I think so too#asahi · 2024-10-11 10:18
aut0j`ey, I would like to run a guest hypervisor with 4k pages size in a nested virt scenario#asahi · 2024-10-11 10:17
aut0chaos_princess, is there a discussion about that somewhere? would like to learn more#asahi · 2024-10-11 10:14
aut0chaos_princess, abandoned for technical reasons?#asahi · 2024-10-11 10:12
aut0This blog posts mentions that: https://asahilinux.org/2021/10/progress-report-september-2021/#asahi · 2024-10-11 10:08
aut0Found this so far: https://tg.st/u/0001-4k-iommu-patch-2022-03-11.patch#asahi · 2024-10-11 10:07
aut0I saw there are patches under review for 4k page size in asahi. Are these patches publicly available somewhere?#asahi · 2024-10-10 12:47
aut0maz you are right, sorry, I'll send an e-mail, anyways thanks to the asahi community for enabling all of this :)#asahi · 2024-10-10 12:41
aut0also I'll try to see if I may be able to use memory-mapped timers#asahi · 2024-10-10 12:38
aut0maz, for me I'd like to be able to emulate as much as possible in user space because I need as much control as possible, e.g. GICv2/MMIO and timers. For now, I'll try to workaround and use the existing in-kernel emulation to see if I can get to where I need to be, but long-term having that option would be great. As I said, I get my use-case may be a bit fringe so I understand if KVM cannot support that upstream.#asahi · 2024-10-10 12:26
aut0 I guess it depends on the use case, but I understand KVM mine may be a bit fringe#asahi · 2024-10-10 12:23
aut0maz got it#asahi · 2024-10-10 12:05
aut0(in user space)#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:35
aut0maz: :'( is there already a patch for removing timer IRQ signaling to userspace?#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 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-09 14:34
aut0chaos_princess, interesting. do you know if Ampere Linux has nested virt enabled?#asahi · 2024-10-09 14:32
aut0maz, thanks will check#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:28
aut0probably the ampereone systems will not be much cheaper#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:25
aut0It seems MacOS doesn't even support eGPU. Maybe it's a HW limitation.#asahi · 2024-10-09 14:24
aut0Had that issue in the past as well#asahi · 2024-10-09 14:23
aut0AmpereOne apparently #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:10
aut0Is it very difficult to install asahi on a Mac Pro? I would like to experiment with PCIe devices.