#
✕ nick:nvflash
#asahi · 2022-11-01 16:17
nvflash Anyone know how Thunderbolt support is coming along in Asahi?
#asahi · 2022-11-01 16:14
nvflashCool, that's good to hear.
#asahi · 2022-11-01 16:13
nvflashOn my MBP USB seems to get it's own groups but it's somehow part of the SoC "interconnect bus" rather than PCI?
#asahi · 2022-11-01 16:11
nvflashThat's why I'm interested in seeing the groups, to see what Mx Mac's expose what PCIE devices that could be used for PCI Passthrough. I assume the M1 Mini and the Apple Studio expose USB and Ethernet.
#asahi · 2022-11-01 16:04
nvflashToo long to post here, sorry!
#asahi · 2022-11-01 16:03
nvflashWell on the 2022 MBP M2 13" really only the wifi/bt get exposed as PCIE devices, but there is some interesting stuff in dmegs for iommu:sudo dmesg | grep iommu [sudo] password for jam: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-asahi root=UUID=1977b9ca-42c7-4d1e-b414-abd00f14503b rw loglevel=3 quiet vfio_iommu_type1.allow_unsafe_interrupts=1 [ 0.015862] iommu: Default domain type: Tran
#asahi · 2022-11-01 15:55
nvflashAnyway, back to the topic of PCI Passthough. I'd be interested to see IOMMU groups from AppleSoC Mac's people are using with Asahi. There is a simple shell script for this here:https://gist.github.com/wention/246fa902a93afff153b373cdce8c582d
#asahi · 2022-11-01 15:51
nvflashty
#asahi · 2022-11-01 15:49
nvflashWhere is the right place to discuss it, IRC sucks because there is no way to format. How readable are logs without formatting?
#asahi · 2022-11-01 15:47
nvflashYou're the IRC police?
#asahi · 2022-11-01 15:46
nvflashto discus what?
#asahi · 2022-11-01 15:41
nvflashWhy would you like it, no formating.
#asahi · 2022-11-01 15:40
nvflashBTW, why do we use IRC rather than something rich like Discord?
#asahi · 2022-11-01 15:37
nvflashYes, I black listed the drivers for both so they don't load, but I still get: vfio-pci: probe of 0000:01:00.0 failed with error -22
#asahi · 2022-11-01 15:36
nvflashI can't get vfio-pci to bind to a device
#asahi · 2022-11-01 15:35
nvflashI don't know, so little documention for PCI Passthrough on AAARCH64
#asahi · 2022-11-01 15:33
nvflash @sven but does IOMMU work for PCI Passthrough?
#asahi · 2022-11-01 15:22
nvflash@sven Always enabled in firmware or Arm64 Linux kernels don't need a command line option to enable IOMMU for the kernel?
#asahi · 2022-11-01 15:18
nvflashIOMMU Group 0 lspci: -s: Invalid slot number IOMMU Group 0 lspci: -s: Invalid slot number IOMMU Group 1 lspci: -s: Invalid slot number IOMMU Group 2 lspci: -s: Invalid slot number IOMMU Group 3 01:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BRCM4378 Wireless Network Adapter [14e4:4425] (rev 05) IOMMU Group 3 01:00.1 Network controller [0280]: Broadcom Inc. and subsidiaries Device [14e4:5f69] (r
#asahi · 2022-11-01 15:17
nvflashsudo dmesg | grep vfio [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-asahi root=UUID=1977b9ca-42c7-4d1e-b414-abd00f14503b rw loglevel=3 quiet vfio_iommu_type1.allow_unsafe_interrupts=1 [ 0.364284] vfio_pci: add [14e4:4425[ffffffff:ffffffff]] class 0x000000/00000000 [ 0.364287] vfio_pci: add [14e4:5f69[ffffffff:ffffffff]] class 0x000000/00000000 [ 0.651983] vfio-pci 0000:01:00.0: Add
#asahi · 2022-11-01 15:14
nvflashIs there a kernel command line to add to GRUB to enable IOMMU for Arm64 like the one's for AMD and Intel?
#asahi · 2022-11-01 15:13
nvflashI can't seem to tell if IOMMU is enabled, I do get IOMMU grooups, but I can't bind vfio-pci to any devices, I just get an error type -22.
#asahi · 2022-11-01 15:11
nvflashAnyone testing PCI Passthough?
#asahi · 2022-10-31 18:09
nvflashCan I pull this fix somehow?
#asahi · 2022-10-31 18:08
nvflash Asahi Linux @AsahiLinux Pssst - the keyboard on M2 Macs now works in U-Boot and GRUB with the latest uboot-asahi from the asahi-dev repository*. (This one's for you, Linus!) * We need to fix a theoretical kernel race later today, but it already works in practice.
#asahi · 2022-10-31 18:08
nvflashI found a twitter post:
#asahi · 2022-10-31 18:07
nvflashM2 Macbook Pro 13'
#asahi · 2022-10-31 18:07
nvflashI installed Asahi a few days ago, but the keybord doesn't work with Grub.
#asahi · 2022-10-31 18:06
nvflashHello?