#
✕ nick:kettenis
#asahi-dev · 2022-03-18 20:52
ketteniss/think/thing/
#asahi-dev · 2022-03-18 20:52
kettenisit would be good if we can add that SEP RNG think to u-boot
#asahi-dev · 2022-03-18 20:50
kettenisjust noticed that when transcribing the names into the OpenBSD arm64.html page ;)
#asahi-dev · 2022-03-18 20:49
kettenisbtw, our device trees incorrectly label the iMac as a 2020 model
#asahi-dev · 2022-03-18 20:43
kettenisonce the Asahi announcement is out, I'll probably send out an OpenBSD announcement as well
#asahi-dev · 2022-03-18 20:31
ketteniswinter: I'm actually doing that now
#asahi-dev · 2022-03-18 20:25
kettenismarcan: sounds fine; thanks
#asahi-dev · 2022-03-18 20:23
kettenisprobably time for me to update that page
#asahi-dev · 2022-03-18 20:22
kettenisif you want a link, maybe link to https://www.openbsd.org/arm64.html
#asahi-dev · 2022-03-18 20:21
kettenisOpenBSD 7.0 will not actually work and if it would it could "brick" the machine by killing the Apple partitions
#asahi-dev · 2022-03-18 20:19
kettenismarcan: instead of pointing folks at the OpenBSD 7.0 release it is probably best to say that "OpenBSD/arm64 snapshots can be installed after setting up a UEFI environment"?
#asahi-dev · 2022-03-17 18:10
kettenisand send out sart/nvme ;)
#asahi-dev · 2022-03-17 13:49
kettenisbut I do no runtime power management and just leave PMGR alone after powering-up the domain
#asahi-dev · 2022-03-17 13:48
kettenismarcan: PCIe always comes up for me in OpenBSD
#asahi-dev · 2022-03-17 13:20
kettenisI'm a bit lost in the #ifdef maze that implements this, but it seems the default is to use 32 which is the largest value for any of the cores released by Arm
#asahi-dev · 2022-03-17 13:19
kettenisThe mitigation suggested by Arm (and implemented in the Linux kernel) does a loop and the number of iterations in that loop depends on the microacrhitecture
#asahi-dev · 2022-03-17 13:17
kettenisbtw, any ideas about the extent to which the M1 cores are vulnerable to Spectre-BHB?
#asahi-dev · 2022-03-16 15:44
kettenisit is explained... somewhere
#asahi-dev · 2022-03-15 17:43
ketteniswell, isn't PIPE supposed to be a converged USB3 and PCIe PHY?
#asahi-dev · 2022-03-15 16:49
kettenisbasically a rebase because jannau's logo color fix made it upstream
#asahi-dev · 2022-03-15 16:48
kettenisI did push a new u-boot to the asahi branch earlier today
#asahi-dev · 2022-03-15 15:55
kettenisalthough HID-over-I2C is getting popular on ultraportables
#asahi-dev · 2022-03-15 15:54
kettenisno, most x86 laptops still use an (emulated) PC/AT keyboard controller
#asahi-dev · 2022-03-15 14:50
kettenisvery few x86 laptops use a usb keyboard
#asahi-dev · 2022-03-15 14:06
kettenisbut maybe there is someone with a german or french keyboard here running linux who can check the country code in sysfs?
#asahi-dev · 2022-03-15 14:05
kettenisnot sure if I can get my hungarian friend to extract the adt
#asahi-dev · 2022-03-15 14:00
ketteniswhich would mean we need the language in the device tree after all..
#asahi-dev · 2022-03-15 13:55
kettenisso I strongly suspect that the country code exposed by the driver will always be 13 (ISO), 15 (Japanese) or 33 (ANSI)
#asahi-dev · 2022-03-15 13:30
kettenisI don't remember which bit of kblang-calibration we suspected of enciding the language
#asahi-dev · 2022-03-15 13:13
kettenisbut the country code it reports is 13 "International (ISO)"
#asahi-dev · 2022-03-15 13:13
kettenishmm, so one of the openbsd users has an mba with hungarian keyboard layout
#asahi-dev · 2022-03-15 12:51
ketteniswell that is more than usb 2.0 could give you
#asahi-dev · 2022-03-15 12:20
kettenisto be honest, we disable PIE for llvm on OpenBSD as well to make things run a bit faster
#asahi-dev · 2022-03-15 12:12
kettenisyes, by throwing security features out of the window
#asahi-dev · 2022-03-15 12:06
kettenisin OpenBSD we call these private malloc implementations "vulneravility mitigation countermeasures" ;)
#asahi-dev · 2022-03-14 18:47
kettenisand nobody actually uses that layout anyway, and what apple sells as a .nl keyboard layout doesn't actually match the official .nl keyboard layout anyway
#asahi-dev · 2022-03-14 18:46
ketteniscombined with the fact that while there is an official .nl keyboard layout, all the letters are in the same position as with the .us layout
#asahi-dev · 2022-03-14 18:43
kettenismaybe because I didn't pay attention to the footnotes in the relevant section of the HID Usage Tables document ;)
#asahi-dev · 2022-03-14 18:34
kettenisas opposed to xt and at keyboards which report a keycode which you then have to map to what's actually printed on the keys
#asahi-dev · 2022-03-14 18:32
ketteniswich means that the actual layout doesn't matter all that much unless you actually want to remap the keys
#asahi-dev · 2022-03-14 18:31
kettenisbut in general USB-HID keyboards report the keys by what's printed on them
#asahi-dev · 2022-03-14 18:31
kettenismarcan: I didn't look at it again after jannau found the country code
#asahi-dev · 2022-03-13 22:49
kettenisbut maybe jannau can beat marcan with that standard to make life a bit easier
#asahi-dev · 2022-03-13 22:48
kettenisheh, well, seems like apple didn't get the memo
#asahi-dev · 2022-03-13 22:42
kettenisand m1n1 writes them as upper case into the device tree?
#asahi-dev · 2022-03-13 15:37
kettenisadded the define and pushed the change onto the asahi branch
#asahi-dev · 2022-03-13 15:36
kettenisjannau: thanks for the suggestion
#asahi-dev · 2022-03-12 19:52
kettenisas far as I can tell the chip is 100% compatible
#asahi-dev · 2022-03-12 18:23
ketteniswell, exposing arbitrary hardware registers through a pseudo-filesystem like that is just dumb
#asahi-dev · 2022-03-12 14:13
kettenisif folks can give that a go it would be great

plus ›