summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf
AgeCommit message (Collapse)Author
2021-09-14Enable cy(4) on amd64.Jan Klemkow
ok deraadt
2021-09-13Enable uaq(4) on amd64. Investigations into problems on other platformsJonathan Matthew
are ongoing.
2021-09-02add aq(4) to amd64 RAMDISK_CD and riscv64 RAMDISKMike Larkin
2021-09-02aq(4) driver for Aquantia 1/2.5/5/10Gb/s PCIe ethernet adaptersMike Larkin
Adds support for Aquantia AQC1xx family of PCIe ethernet adapters. This driver supports 1Gbps through 10Gbps modes of operation based on the hardware and media/switch capabilities. The initial code was ported from NetBSD, with jmatthew@ finishing up the Tx/Rx ring support and interrupt handler routine. The driver only supports devices using firmware V2. This diff enables aq(4) on riscv64 and amd64, the only platforms where I have tested the driver, but it likely works on other architectures as well.
2021-08-20Add ucc(4), a driver for USB HID Consumer Control keyboards. Suchanton
keyboard is a pseudo device which is used to expose audio and application launch keys. My prime motivation is to get the volume mute, increment and decrement keys to just work on my keyboard without the need to use usbhidaction(1). Looks reasonable to kettenis@ mpi@ and ok jcs@
2021-07-12wrap a long lineJonathan Gray
2021-07-07update drm to linux 5.10.47Jonathan Gray
hardware support changes include inteldrm: better support for tiger lake amdgpu: support for navi12, navi21 "sienna_cichlid", arcturus amdgpu: support for cezanne "green sardine" ryzen 5000 apu Thanks to the OpenBSD Foundation for sponsoring this work, patrick@ for helping adapt rockchip drm, kettenis@ and mpi@ for uvm discussions and various testers.
2021-06-10Add Spleen 12x24 and 16x32 on amd64's RAMDISK_CD and arm64 RAMDISK kernels.Frederic Cambus
The size of kernel fonts in RAMDISKs had long been a problem on systems with large screen resolutions booting via EFI, as previously only the 8x16 font was built into RAMDISKs. As those systems are becoming more common, this should make the installation and update process more comfortable. OK deraadt@, jcs@
2021-04-28Enable dt(4) on amd64, arm64, i386, and powerpc64 in GENERIC kernel.Alexander Bluhm
Support to skip frames is missing on arm64 and i386, but the stack traces are useful anyway. sparc64 should work, but I could not test it. Other architectures do not have stacktrace_save_at() and dynamic tracer does not link. from patrick@; OK semarie@
2021-03-19another unfortunate action to cope with relentless kernel growthTheo de Raadt
2021-03-07Explicitly align kernel text.mortimer
lld11 no longer quietly aligns this when given an address, so we do the alignment explicitly. ok kettenis@
2021-02-09Activate use of PF_LOCK() by removing the WITH_PF_LOCK ifdefs.Patrick Wildt
Silence from the network group ok sashan@
2021-02-04Add uhidpp(4), a driver for Logitech HID++ devices. Currently limited toanton
exposing battery sensors for HID++ 2.0 devices. Most of the code is derived from the hid-logitech-hidpp Linux driver. Thanks to Ville Valkonen <weezeldinga at gmail dot com> for testing. ok mglocker@
2021-02-04make if_pfsync.c a better friend with PF_LOCKAlexandr Nedvedicky
The code delivered in this change is currently disabled. Brave souls may enable the code by adding -DWITH_PF_LOCK when building customized kernel. Big thanks goes to Hrvoje@ for providing test equipment and testing. As soon as we enter the next release cycle, the WITH_PF_LOCK will be defined as default option for MP kernels. OK dlg@
2021-01-28Again allow COPTS= to come from the environment again, and don't lose theTheo de Raadt
SMALL_KERNEL specific variations. ok espie jsg
2021-01-23introduce ujoy(4), a restricted subset of uhid(4) for gamecontrollers.thfr
This includes ujoy_hid_is_collection() to work around limitations of hid_is_collection() until this can be combined without fallout. input, testing with 8bitdo controller, and ok brynet@ PS4 controller testing, fix for hid_is_collection, and ok mglocker@
2020-12-27Enable acpihpet on install media, because otherwise clock initializationTheo de Raadt
is just too different from GENERIC or GENERIC.MP pointed out by jsg
2020-11-15Add pchgpio(4), a driver for the GPIO controllers found on modern IntelMark Kettenis
PCHs. With help from James Hastings. ok deraadt@
2020-10-27Adding IOMMU support for AMD Vi and Intel VTD (disabled)Jordan Hargrave
This creates separate domains for each PCI device and can provide protection against invalid memory access. Needed for Passthrough PCI from vmd. ok deraadt@, kettenis@ : ----------------------------------------------------------------------
2020-10-16rl(4) is becoming rare.Theo de Raadt
2020-09-15abl(4) is a new driver to control the backlight brightness on Intel basedMarcus Glocker
Apple machines. The driver attaches through acpi(4) when the HID 'APP0002' is found. Thanks to kettenis@ for helping me sorting out the PCI bits. ok kettenis@
2020-09-12asmc0 -> asmc*Marcus Glocker
Now that asmc(4) attaches through acpi(4), other than with isa(4), acpi(4) could attach multiple SMC chips in theory, even though in practice there will be only one SMC chip per machine. Suggested and ok kettenis@
2020-09-12Make asmc(4) attach through acpi(4) instead of isa(4).Marcus Glocker
This e.g. makes the driver also work on iMac11,2. ok kettenis@, jung@
2020-07-29atapiscsi is not needed here. (well maybe it changes the behaviour ofTheo de Raadt
the pciide subsystem a tiny bit at attach-time, but we don't have the downstream cd(4) device to attach, so let's try without)
2020-06-08update drm to linux 5.7Jonathan Gray
adds kernel support for amdgpu: vega20, raven2, renoir, navi10, navi14 inteldrm: icelake, tigerlake Thanks to the OpenBSD Foundation for sponsoring this work, kettenis@ for helping, patrick@ for helping adapt rockchip drm and many developers for testing.
2020-06-02add acpihid(4) for ACPI HID event and 5-button array devicesJoshua Stein
ok kettenis
2020-05-31add umstc(4) for Microsoft Surface Type Cover keyboardsJoshua Stein
2020-05-15disable ohci to compensate for bloat.Theo de Raadt
sad
2020-05-14Bring back the acpi(4) changes. This time around only use the ACPI _CRSMark Kettenis
information on ACPI 5.0 and later. ok krw@, patrick@
2020-03-06Add a PCI attachment driver for com(4). Intel has been removing legacyPatrick Wildt
I/O-Ports on recent machines. Instead the UARTs are memory mapped PCI- devices, as part of a so-called Low Power Subsystem (LPSS). Such an LPSS is also used for I2C and SPI, though they use different PCI device ids. Each LPSS contains the actual device, and some registers to control clocks, resets, etc. These private registers need to be saved and restored upon suspend/resume. Also we should read the current clock settings to calculate the frequency supplied to the device. The UART controller itself is based on Synopsys DesignWare IP, like we're used to from various ARM-based machines ok kettenis@
2020-03-05Allow amd64 boot(8) and friends to read from an ffs2 filesystem.Otto Moerbeek
Also enable ffs2 for floppy, so that its kernel kan access ffs2. ok deraadt@
2020-03-02amd64 ramdisk does not support CD9660, so no use to have a cd(4).Otto Moerbeek
Makes room for upcoming FFS2 support for the installer. ok deraadt@
2020-02-19Make sure the first 2MB page of the kernel is actually mapped RO in theMark Kettenis
direct map by using a properly aligned address. To prevent further confusion, remove __kernel_base_phys from the linker script and rename __kernel_end_phys into __kernel_phys_end. Hinted at by Maxime Villard. ok millert@, deraadt@, mpi@
2020-02-15Enable iwx(4) on amd64.Stefan Sperling
2020-01-21remove a few disabled drivers that don't compile and seem unlikely toTed Unangst
become interesting in the future. ok deraadt krw
2020-01-20floppy is a bit tight right now, evict fxp temporarily until anotherTheo de Raadt
space-saving candidate is found (this candidate selected by jsg and kettenis, don't blame the commiter)
2020-01-20remove esp at pcmcia attachment. it doesn't even compile.Ted Unangst
ok deraadt krw
2019-12-23Add amdgpio(4), a driver for the GPIO controller found on newer AMDMark Kettenis
AMD SoCs/chipsets. From James Hastings
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-08Bye bye options KVM86 and VM86Martin Pieuchot
2019-11-19Enable rge(4).Kevin Lo
ok deraadt@
2019-11-18Introduce rge(4), a new driver for Realtek 8125 PCI Express 2.5Gb EthernetKevin Lo
device. "just commit!" deraadt@ "looks good to me" jmatthew@
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-09-26Add a new driver for getting AMD CPU temperature sensor over the SMN.Bryan Steele
This currently supports Family 17h Zen/Zen+/Zen2 CPUs. The are still some issues with the scaler on certain models that can be fixed later. AMD Ryzen 2700X: hw.sensors.ksmn0.temp0=47.50 degC Tested by several people. "Make a move" deraadt@
2019-09-26enable iavf(4)Jonathan Matthew
ok deraadt@
2019-09-07Revert acpipci(4) changes. Too many systems are broken. We'll try againMark Kettenis
after 6.6 as been released. The acpireg.h change stays behind.
2019-09-04Remove DST/TIMEZONE options(4) from kernel configs; ok jca@ deraadt@cheloha
2019-08-28Use ACPI information to attach PCI busses like we do on arm64. There are aMark Kettenis
few additional quirks though, and attaching the PCI busses is delayed to replicate the existing code more closely. That may be changed in the future. Also tweak how we handle MSI support and respect to ACPI flag that says we shouldn't attempt to use MSIs. Some fallout is expected. ok patrick@
2019-08-14enable amdgpu on amd64 requested by a few peopleJonathan Gray
there are still issues: - running piglit will quickly trigger a gpu hang - hardware cursor (the default) isn't always correct, can be worked around by specifying SWcursor - suspend/resume doesn't work ok patrick@ kettenis@