summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/conf
AgeCommit message (Collapse)Author
2019-12-17Add fido(4), a HID driver for FIDO/U2F security keysReyk Floeter
While FIDO/U2F keys were already supported by the generic uhid(4) driver, this driver adds the first step to tighten the security of FIDO/U2F access. Specifically, users don't need read/write access to all USB/HID devices anymore and the driver also improves integration with pledge(2) and unveil(2): It is pledge-friendly because it doesn't require any ioctls to discover the device and unveil-friendly because it uses a single /dev/fido/* directory for its device nodes. It also allows to support FIDO/U2F in firefox without further weakening the "sandbox" of the browser. Firefox does not have a proper privsep design and many operations, such as U2F access, are handled directly by the main process. This means that the browser's "fat" main process needs direct read/write access to all USB HID devices, at least on other operating systems. With fido(4) we can support security keys in Firefox under OpenBSD without such a compromise. With this change, libfido2 stops using the ioctl to query the device vendor/product and just assumes "OpenBSD" "fido(4)" instead. The ioctl is still supported but there was no benefit in obtaining the vendor product or name; it also allows to use libfido2 under pledge. With feedback from deraadt@ and many others OK kettenis@ djm@ and jmc@ for the manpage bits
2019-12-03Add pwmfan(4), a driver for PWM-regulated fans.Patrick Wildt
ok kurt@
2019-12-03Add rkpwm(4), a driver for the RK3399's PWM controller.Patrick Wildt
ok kurt@
2019-11-29Add rkemmcphy(4), a driver for the RK3399's eMMC PHY.Patrick Wildt
2019-11-09Retguard will start using sections named ".openbsd.randomdata.retguard.*"Philip Guenther
and not just ".openbsd.randomdata.retguard". Accept both in the kernel ldscripts so that they're placed together between the __retguard_{start,end} symbols. Similarly, match not just ".openbsd.randomdata" but also ".openbsd.randomdata.*" to pick up other random (pun intended) items. While here, stub in those retguard bits into all the ldscripts. ok deraadt@
2019-11-07The compiler -pg option implies -fno-ret-protector, as we want to disablePhilip Guenther
retguard and similar when profiling. However, that missed all the .S files, as ${PROF} wasn't added when ${NORMAL_S} was converted from direct invocation of ${AS} to instead use ${CC}. Similarly, mcount.o still had retguards as it cannot be built with -pg. So: pass ${PROF} when compiling .S files, and compile "no profiling" files with -fno-ret-protector on archs with retguard. feedback and ok mpi@ mortimer@
2019-10-23Enable sxisid(4).Mark Kettenis
2019-10-21Add sxipwm(4) and pwmbl(4). Thse two drivers together add support for theMark Kettenis
backlight controller on the Pinebook. ok patrick@, jsg@
2019-10-17Enable sxidog(4).Mark Kettenis
ok jsg@
2019-10-07Add moxtet(4), a driver for the Turris Mox modules. For now thisPatrick Wildt
driver only enumerates and shows the connected modules. The next step is to implement GPIO controller functionality to e.g. control the pins to the SFP on the MOX D. ok kettenis@
2019-10-07Add mvspi(4), a driver for the SPI controller on thePatrick Wildt
Armada 3700 SoC. ok kettenis@
2019-10-07Add amliic(4) and pcxrtc(4). This adds support for the RTC on the odroid-n2.Mark Kettenis
ok patrick@
2019-09-30Enable amlpwm(4) and pwmreg(4).Mark Kettenis
ok patrick@
2019-09-09Attach imxsrc(4) early and raise its priority to make sure it beatsPatrick Wildt
syscon(4). ok kettenis@
2019-09-07Add sfp(4), a driver that allows talking to SFPs connected overPatrick Wildt
an I2C bus and provides a method to read its pages over the SFP framework. Feedback from dlg@ ok kettenis@
2019-09-06mcprtc(4), a driver for the Microchip MCP79400 RTC and similar variants.Patrick Wildt
ok kettenis@
2019-09-06Add mviic(4), a driver to support the I2C controller on thePatrick Wildt
Armada 3700 SoC. With feedback from and ok kettenis@
2019-09-05Add mvdog(4), a driver to support the watchdog on the Armada 3700 SoC.Patrick Wildt
At the moment it only supports disabling the watchdog, which lets me continue to work on the Turris Mox. ok kettenis@
2019-09-04Remove DST/TIMEZONE options(4) from kernel configs; ok jca@ deraadt@cheloha
2019-09-03Enable amlmmc(4).Mark Kettenis
ok patrick@
2019-08-29Add amldwusb(4), amlusbphy(4) and amlpciephy(4), drivers for the USBMark Kettenis
controller glue and USB PHYs found on the Amlogic G12A/B SoCs. ok patrick@
2019-08-28Build and enable amdgpu(4) on arm64. The DCN1.0 support has been madeMark Kettenis
optional and will only be compiled for amd64/i386. Apparently this is only needed on Raven Ridge APUs. ok jsg@, patrick@, deraadt@
2019-08-28Add amlpinctrl(4), a driver to configure pins and control GPIOs on AmlogicMark Kettenis
SoCs. For now only a limited set of GPIO pins on the G12A/G12B variants are supported. ok patrick@
2019-08-27Add amlrng(4), the simples random numer generator driver ever.Mark Kettenis
2019-08-27Add imxtmu(4), a driver to support the temperature sensors onPatrick Wildt
the i.MX8M SoCs. ok kettenis@
2019-08-27amclock(4), a driver for the Amlogic SoC clocks. For now this implementsMark Kettenis
a tiny number of clocks for the G12A/B families only. ok jsg@
2019-08-26Add amlreset(4), a driver to support reset signal controller blocks onMark Kettenis
Amlogic SoCs. ok patrick@
2019-08-26Add amluart(4), a driver for the UARTs found on various Amlogic SoCs.Mark Kettenis
ok jsg@
2019-08-20Enable ipmi(4).Mark Kettenis
ok deraadt@
2019-08-11Add clock support to sxirtc(4); needed by newer Linux DTs.Mark Kettenis
ok patrick@
2019-08-11Add sxisyscon(4) a driver for the system controller found on variousMark Kettenis
Allwinner SoCs. This is basically a stripped down syscon(4) and is needed because the Linux device trees dropped the "syscon" compatible. ok patrick@
2019-08-04Add support for X-Gene/eMAG variant.Mark Kettenis
2019-08-04Implement smbios support on arm64.Mark Kettenis
ok deraadt@, jsg@
2019-08-03permit maxusers to grow up to 128Theo de Raadt
2019-08-03There are some pretty big arm64 machines so crank maxusers to 80.Theo de Raadt
2019-06-21Further improve the filesystem stability of kernel installation by KARL.Theo de Raadt
Use install -F to instead of cp, for fsync(2). Coupled with the new sync(8) in the reorder_kernel script, the window for a incomplete /bsd file on-disk due to a crash has now shrunk substantially. Discussion with kettenis, millert and tedu
2019-06-07enable mcx(4) on arm64, found in Packet's g2.large.arm servers.Jonathan Matthew
tested by and ok patrick@
2019-05-31Add MSI-X support for acpipci(4). This splits out some generic code intoMark Kettenis
a new pci_machdep.c file such that it can be re-used by other arm64 PCI host bridge drivers in the future. ok patrick@
2019-05-11Add fusbtc(4) to support the Fairchild FUSB302 USB Type-C controller.Patrick Wildt
A Type-C controller has multiple tasks. Even though the orientation of the plug doesn't matter for the user, it matters for the hardware. To be able to know how to route the SuperSpeed pins you need to know which way the plug is connected. Also you need to know if you're a sink/source or device/host. To get the first connection, you toggle between the modes until you find a connection. In case you see that a sink is connected, you can turn on USB Vbus to power the sink. This driver explicitly does not implement USB's Type-C state machine, but if we get more and more of these controllers it might be worth doing. Also there's no support for Power Delivery messages yet. ok kettenis@
2019-05-08Enable ucrcom(4) on all architectures that have uslcom(4).Mark Kettenis
ok deraadt@
2019-04-30Enable mvmdio(4) and mvneta(4) on arm64 as well. These are partPatrick Wildt
of the Armada 3720 SoC as used on the Turris Mox.
2019-04-30Add mvuart(4) to support the Armada 3720's serial console.Patrick Wildt
ok kettenis@
2019-04-23Add support for ccp(4) at acpi(4).Mark Kettenis
ok deraadt@
2019-04-14Instead of using COPTS=-Oz (and similar) in make environment to forceTheo de Raadt
tightly-built ramdisk kernels, set the option in per-arch Makefile.inc based upon SMALL_KERNEL
2019-04-14Update shared drm code, inteldrm(4) and radeondrm(4) from linux 4.4 toJonathan Gray
linux 4.19.34. Adds support for more Intel hardware: Broxton/Apollo Lake (was is_preliminary in 4.4) Amber Lake (another Kaby Lake refresh) Gemini Lake Coffee Lake Whiskey Lake Cannon Lake (though no hardware with Intel graphics ever shipped) Ice Lake (alpha support, hardware not released) This does not add support for new radeon hardware on the AMD side as newer radeons have a different kernel driver (amdgpu). Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for helping and a bunch of other developers for testing.
2019-04-04Add bwfm(4) such that we can use bsd.rd to update over wireless.Mark Kettenis
2019-04-01imxdwusb(4) and imxpd(4) are no longer needed.Patrick Wildt
ok kettenis@
2019-03-28Enable uxrcom(4).Mark Kettenis
2019-02-03Add mvgicp(4), a driver for the Marvell extension to the GIC thatPatrick Wildt
allows triggering SPI interrupts by doing memory transactions. This was already partially implemented in mvicu(4) and is now outsourced into its own driver since we need better initialization when booting using u-boot. Also implement new and legacy bindings in mvicu(4), relying on the new mvgicp(4) driver. ok kettenis@
2019-01-29Enable CRYPTO for arm64 RAMDISK so that we can use softraid crypto.Patrick Wildt
ok deraadt@