#
✕ nick:kettenis
#asahi · 2021-10-04 15:24
kettenismarcan: you're still missing the yaml file for the pmgr binding
#asahi · 2021-10-04 14:52
kettenisyeah, it might help to see what macos does when you put the machine in airplane mode
#asahi · 2021-10-04 14:50
kettenisso it isn't clear to me whether rfkill should be implemented using thise gpio, or if there is some other way
#asahi · 2021-10-04 14:50
kettenisit actually powers the entire pcie device on and off
#asahi · 2021-10-04 14:49
ketteniswell, the gpio isn't really a "turn radios on"
#asahi · 2021-10-04 14:48
kettenishow are you going to trigger the gpio?
#asahi · 2021-10-04 14:44
kettenisinteresting...
#asahi · 2021-10-04 14:44
kettenisbut with the pcie driver from maz?
#asahi · 2021-10-04 14:43
kettenisalyssa: do your wifi patches actually work?
#asahi · 2021-10-04 14:42
kettenisthere are always too many Mar[ck]s
#asahi · 2021-10-04 14:37
kettenisas in, v2 of the patch series has been posted
#asahi · 2021-10-04 14:37
kettenismarcan: maybe mentioning upstreaming U-Boot support (USB type-C only) is worked on
#asahi · 2021-10-04 11:14
kettenisLOL
#asahi · 2021-10-04 11:12
kettenismaz: be my guest; I have no formal CS education whatsoever ;)
#asahi · 2021-10-04 11:10
kettenisI think the "make graphics fast by bypassing the coherency protocol" paradigm from the AGP days is finally dead now
#asahi · 2021-10-04 11:09
kettenislet's hope Apple didn't screw things up and has coherency issues like Intel had for many generations of their integrated graphics
#asahi · 2021-10-04 11:09
kettenisanyway, the built-in graphics should be fine as it just uses normal memory
#asahi · 2021-10-04 11:05
kettenis(personally I think it was a mistake for ARM to allow unaligned access to normal memory)
#asahi · 2021-10-04 11:04
kettenisI admit I didn't actually check that the M1 doesn't allow NormalNC on the PCIe address space
#asahi · 2021-10-04 10:54
kettenisbut is seems that the M1 only allows mapping PCIe as Device-nGnRE
#asahi · 2021-10-04 10:52
kettenisit also assumes that you can map VRAM as NormalNC
#asahi · 2021-10-04 10:52
ketteniswell, the standard graphics stack expects to be able to map arbitrary allocations made from userland
#asahi · 2021-10-04 10:50
kettenisanyway, this probably means that using an eGPU is going to be problematic
#asahi · 2021-10-04 10:50
kettenisthat's a limitation of the Linux kernel code though
#asahi · 2021-10-04 10:47
kettenisfairly simple; if your kernel uses 4k pages but the IOMMU has a granularity of 16k, you end up exposing pages to the hardware that you don't intend to expose
#asahi · 2021-10-04 10:44
kettenisDT updates not being in is not a disaster as the DT will be provided by m1n1 anyway
#asahi · 2021-10-04 10:30
kettenislooks like the pcie driver has been picked up by the pci subsystem maintainer
#asahi · 2021-10-03 20:45
kettenisbut even there it probably isn't helpful
#asahi · 2021-10-03 20:45
kettenismaz did provide one for ethernet, because that's the address it ends up with if the device tree doesn't provide an address
#asahi · 2021-10-03 20:43
kettenisalyssa: not sure providing a default mac address that isn't 00:00:00:00:00:00 is helpful
#asahi · 2021-10-02 22:17
kettenisalyssa: worried about spinning in U-Boot, the EFI bootloader and the OpenBSD installer which uses a non-SMP kernel
#asahi · 2021-10-02 20:25
kettenisbut maybe this could be done in the code that runs just after we set them loose
#asahi · 2021-10-02 20:24
kettenisdownside of cranking stuff up in m1n1 is that it leaves the cores spinning in a high power state
#asahi · 2021-10-02 19:27
kettenisbut maybe this needs to tie in with rfkill somehow
#asahi · 2021-10-02 19:27
kettenispwren-gios is how the hifive unmatched handles powering up devices behind the bridge
#asahi · 2021-10-02 19:18
kettenisthe way I envisaged the SMC stuff working is by having a "pwren-gpios" property next to the "reset-gpios" property on the root port node
#asahi · 2021-10-02 18:59
kettenisyeah, that needs to be redone based on sven's mailbox/rtproc stuff
#asahi · 2021-10-02 18:56
kettenisyup
#asahi · 2021-10-02 18:54
kettenis(unfortunately I can't get it to work anymore; some subtle thing in the PCIe driver maybe)
#asahi · 2021-10-02 18:53
kettenisand I don't think he was impressed by what corellium did...
#asahi · 2021-10-02 18:52
kettenishe added support to our bwfm(4) driver
#asahi · 2021-10-02 18:52
kettenisfeel free to give patrick@openbsd.org a shout
#asahi · 2021-10-02 18:50
kettenisthere should be a standard interface to fetch it
#asahi · 2021-10-02 18:50
kettenism1n1 makes sure the mac address is available as a local-mac-address property
#asahi · 2021-10-02 17:41
kettenissee the youtube link for the LTT video I posted
#asahi · 2021-10-02 15:12
kettenissee ;)
#asahi · 2021-10-02 15:12
kettenisgotto rename your branch at some point
#asahi · 2021-10-02 14:53
kettenishttps://www.youtube.com/watch?v=ghDvyItIHTY
#asahi · 2021-10-02 14:44
kettenisyes, that's not the base model
#asahi · 2021-10-02 14:41
kettenisbut otherwise it is just thermals

plus ›