summaryrefslogtreecommitdiff
path: root/sys/conf
AgeCommit message (Collapse)Author
2024-10-31Stop abusing ufs inodes and with it the ufs_ihash.Claudio Jeker
Instead extend fusefs_node with the few required fields. Tested by kirill@ with input from miod@ OK beck@
2024-10-30remove unneeded conf.h includeJonathan Gray
2024-10-30directly use dev_t for swdevt[], remove struct swdevtJonathan Gray
ok mpi@ miod@
2024-10-03We've left release mode. Time to re-enable POOL_DEBUGTheo Buehler
ok deraadt
2024-09-23now hacking on 7.6-currentTheo de Raadt
(corrected)
2024-09-23now hacking on 7.6-currentTheo de Raadt
2024-09-17disable POOL_DEBUG for releaseJonathan Gray
ok deraadt@
2024-09-17head into releaseTheo de Raadt
2024-09-14vxlan.h not neededJonathan Gray
2024-09-14ccp.h no longer requiredJonathan Gray
2024-09-09move some server only functions from nfs_subs.c to nfs_srvsubs.cJonathan Gray
saves space on ramdisks that have option NFSCLIENT initial diff from and ok miod@
2024-09-04make psp attach to ccp as a different driverJonathan Gray
'fine with me' hshoexer, ok bluhm@
2024-08-31add rport(4) for p2p l3 connectivity between route domains.David Gwynne
you can basically plug rdomains together and route between them over rport interfaces. people keep asking me if this is so you can leak routes between rdomains, and the answer is yes. this is like pair(4) but cheaper because it avoids all the mucking around with putting an ethernet header on the mbuf just to take it off again later, and is more efficient with address space because it's a p2p ip interface. it has a small tweak from mvs@ ok denis@ claudio@
2024-08-20Unlock KERN_MAXFILES.Vitaliy Makkoveev
`maxfiles' is atomically accessed integer which is lockless and read-only accessed in file descriptors layer. lim_startup() called during kernel bootstrap, no need to atomic_load_int() within. ok mpi
2024-08-20Unlock KERN_MAXPROC and KERN_MAXTHREAD from `kern_vars'. BothVitaliy Makkoveev
`maxprocess' and `maxthread' are atomically accessed integers. ok mpi
2024-08-14Introduce qwz(4), a work-in-progress port of the Linux ath12k driver.Patrick Wildt
This driver is not working yet, it's a copy of qwx(4) which bit-by-bit will be adjusted to work on the newer generation of chips. Even though this is only a minor bump over the previous generation, the changes are large enough that bringup, debugging and long-term maintenance would suffer trying to squash them into a single driver. This can be reconsidered once we have reached a stable state.
2024-08-07crank to 7.6-beta, release date is vagueTheo de Raadt
2024-07-13Add condition to ip_gre.c in files.Alexander Bluhm
Use gre condition in conf/files for compiling netinet/ip_gre.c only if needed. Remove #if NGRE > 0 from ip_gre.c that caused ramdisk build to compile an empty C file. OK kn@ deraadt@; input jsg@
2024-06-12Add support for the AMD Platform Security Processor (PSP) to ccp(4).Alexander Bluhm
Several commands for basic platform initialization and launch of SEV/SEV-ES enabled guests are implemented. These can be used by e.g. vmd(8) later. from hshoexer@; OK mlarkin@
2024-05-29Set 'needs-flag' for ufshci(4) as preparation for some future hibernateMarcus Glocker
code. Remove obsolete comment while here as pointed out by kettenis@. ok kettenis@
2024-05-05Stop building with and documenting FFS_SOFTUPDATES.Jonathan Gray
Code that used it was removed in February.
2024-05-05remove unneeded includesJonathan Gray
2024-04-10remove unused hton[ls] functions from libkernChristian Weisgerber
These have been superseded by inlines from endian.h. ok miod@ mpi@
2024-03-13enable POOL_DEBUG after 7.5 releaseAlexander Bluhm
OK deraadt@
2024-03-12moving on to 7.5-currentTheo de Raadt
2024-03-10disable POOL_DEBUG for releaseJonathan Gray
ok deraadt@
2024-02-29move from 7.5-beta to 7.5Theo de Raadt
2024-02-17move to 7.5-betaTheo de Raadt
2024-02-03Remove Softdep.Bob Beck
Softdep has been a no-op for some time now, this removes it to get it out of the way. Flensing mostly done in Talinn, with some help from krw@ ok deraadt@
2024-01-02Revert chunk that I have commited by accident.Alexander Bluhm
2024-01-02Prevent simultaneous dt(4) open.Alexander Bluhm
Syskaller has hit the assertion "dtlookup(unit) == NULL" by opening dt(4) device in two parallel threads. Convert kassert into if condition. Move check that device is not used after sleep points in malloc. The list dtdev_list is protected by kernel lock which is released during sleep. Reported-by: syzbot+6d66c21f796c817948f0@syzkaller.appspotmail.com OK miod@
2024-01-01Move fdt attachment into sys/conf/files.conf instead of duplicating it onMark Kettenis
an MD basis. ok patrick@
2023-12-28Introduce qwx(4), a work-in-progress port of the Linux ath11k driver.Stefan Sperling
This driver is not working yet. Scanning almost works but a lot more work remains to be done. So far most of the porting work was done by myself, with some help from mpi, patrick, and kettenis. Obviously this driver remains disabled for now. Enable relevant lines in the kernel config if you want to help out with development. At present firmware files must be obtained manually and placed in the directory /etc/firmware/qwx/WCN6855/hw2.1/ This will be improved later. Thanks to the OpenBSD Foundation for supporting this effort.
2023-12-21add strnstr(9) string search within character limitJonathan Gray
From Mike Barcroft in FreeBSD. Added to FreeBSD in 2001, Linux in 2010. Used in amdgpu. ok deraadt@
2023-11-21Fix kernel build without option PTRACE, but with dt(4).Alexander Bluhm
Since revision 1.26 dt_ioctl_get_auxbase() is calling process_domem(). Build the latter function into kernel if pseudo device dt is enabled. from Matthias Pitzl; OK claudio@
2023-10-04re-enable POOL_DEBUGAlexander Bluhm
OK deraadt@
2023-10-04base is unlocked, move to 7.4-currentAlexander Bluhm
OK deraadt@
2023-09-27disable POOL_DEBUG for releaseTheo de Raadt
2023-09-26we are heading out of -betaTheo de Raadt
2023-09-18crank to 7.4-betaTheo de Raadt
2023-08-11enable sec(4) so people can try it outDavid Gwynne
2023-08-07wire sec(4) into the kernel config.David Gwynne
this makes #include "sec.h" and #if NSEC > 0 work in kernel code.
2023-07-04Remove mbuf low watermark vars. Unused since uipc_mbuf.c rev 1.244.Jonathan Gray
ok kn@ bluhm@
2023-04-23add iosf(4), a driver for the Intel OnChip System FabricDavid Gwynne
The OnChip System Fabric is mostly an implementation detail on a bunch of Intel SoC platforms we usually don't care about, except on some of these machines there are devices shared between the kernel and the platform that need to coordinate. The iosf(4) driver allows the kernel to talk via a mailbox interface to take and release a semaphore that the hardware also uses to lock around accesses to some components. There are two ways to talk to the mailbox interface, one via mmio ops on an INT33BD acpi device. The other is via magic pci conf space operations on the pci host device. This provides a generic iosf driver with attachment glue for both acpi and pci so either can be used. According to linux, the pci ops are a lot more reliable and less buggy, so if both acpi and pci are available we will prefer the pci ops after they attach. I found this because I got a Dell Wyse 3040, which is a cherry trail/braswell system that has an acpitz(4) which talks to a tipmic(4) device attached to dwiic(4) on acpi. This box almost always locked up by the time it got to showing the console login prompt, and it turns out one of the reasons for this is because acpitz was touching the tipmic device at the same time the powerunit on the platform was also trying to use it. The tipmic device lists the iosf mailbox as a dependency, and the dwiic controller has a _SEM property, both of which indicate we should use an iosf device to coordinate iic ops when talking to the tipmic. This adds the code, but doesn't wire it into dwiic or the build yet. help from patrick@ jsg@ kettenis@ ok kettenis@ patrick@
2023-04-04Synopsis Designware -> Synopsys DesignWareJonathan Gray
2023-03-27re-enable POOL_DEBUGChristian Weisgerber
2023-03-25we are now hacking on 7.3-currentTheo de Raadt
2023-03-19disable POOL_DEBUG for releaseJonathan Gray
ok deraadt@
2023-03-17remove -beta tagTheo de Raadt
2023-03-04move to 7.3-betaTheo de Raadt