Age | Commit message (Collapse) | Author |
|
and pass it to the kernel.
ok jca@, patrick@
|
|
This repairs operation on 21164 processors (not 21164A!) which lack BWX.
Reported by Mark Butt on alpha@
|
|
|
|
argument unless it was one of the special keywords "any" or "none".
Reported by Georges Chaudy in bz3515; ok dtucker@
|
|
before this it would use the pf state id, which is just an increasing
number. the toeplitz hash is generated/used by the rest of the
stack, so this encourages consistent flow of traffic through the
system.
|
|
interrupt keeps firing even if the hos controller has been declared dead.
ok mpi@
|
|
there are actually no more uses of the PMAP_PREFER() macro left in the kernel.
Remove that macro but keep PMAP_PREFER as a simple #define for it to let uvm
knows the PMAP_PREFER_{ALIGN,OFFSET} macros are available.
ok mpi@
|
|
32-bit systems.
|
|
32-bit systems.
|
|
32-bit platforms; NFCI
ok tb@
|
|
From nabijaczleweli, OK deraadt@
|
|
ok mlarkin@, deraadt@
|
|
|
|
new hardware support includes
AMD
Raphael, Ryzen 7000 desktop, gfx1036/GC 10.3.6
Mendocino, Ryzen & Athlon 7020 Series mobile APU, gfx1037/GC 10.3.7
Navi 31, gfx1100 dGPU, GC 11.0.0, Radeon RX 7900 XT/XTX
gfx1101 dGPU
gfx1102 dGPU
gfx1103 APU
Thanks to the OpenBSD Foundation for sponsoring this work.
|
|
- Document timeout_abs_ts(9).
- Add the kclock arguments to timeout_set_flags(9) and
TIMEOUT_INITIALIZER_FLAGS(9).
- Document KCLOCK_NONE and KCLOCK_UPTIME.
- Mention the static initialization macros alongside timeout_set(9) etc.;
keep relevant information adjacent.
- Mention timeout_add_sec(9) etc. alongside timeout_add(9); keep
relevant information adjacent.
... plus many other cleanups, rewrites, and rearrangements.
Prompted by mvs@ and many others. With input from jmc@, mvs@, kn@,
schwarze@, and probably a few others I have forgotten.
v1: https://marc.info/?l=openbsd-tech&m=162449274513068&w=2
v2: https://marc.info/?l=openbsd-tech&m=165851505627764&w=2
v3: https://marc.info/?l=openbsd-tech&m=167250339811308&w=2
ok jmc@ mvs@ schwarze@
|
|
With input from and OK jmc@
|
|
I think "abs" ("absolute timeout") is a better mnemonic than
"at" ("at the given time").
The interface is undocumented and there are only two callers, so
renaming it is not a big deal.
probably ok kn@
|
|
|
|
Some macppc nvidia graphics cards have a 3rd mem region, but nv(4)
wants to mmap the 1st and 2nd regions.
ok miod@
|
|
cranked. ok tb@
|
|
e308674c5d to fix PR259. This release includes a number of memory
leak fixes.
Disable the upsteam custom allocators feature.
Feedback/ok tb@
Thanks also to Pedro Martelletto for pointing out the new release as
well as PR259.
|
|
Current bootloader can pass boothowto information to the kernel. It
also has the capability to load random seed data from /etc/random.seed
already. So set RB_GOODRANDOM at the bootloader when loadrandom() has
been finished successfully.
Now the kernel says "random: good seed from bootblocks".
Tested by LUNA-88K2 and nono emulator, "Absolutely!" ok miod@
|
|
|
|
ok mpi@
|
|
These are XSI extensions but some code seems to expect them.
We don't currently implement TAB1 or TAB2. Idea from FreeBSD.
OK guenther@ gnezdo@
|
|
getpid() appeared (undocumented) in v5. Between v6 and v7 there is an
extra return value for the parent process ID.
getppid() did not appear in v7, it appeared in 32v libc. But getppid()
predates 32v. It seems to have been in earlier USG releases such as
Generic 3 (PG-1C300 Issue 3) as the MERT Release 0 manual references it.
getppid() didn't become a system call until 4.3BSD-Reno
omit most of these details and just mention v5 and 32v
with and ok schwarze@
|
|
Eliminate some redundant or extraneous pieces from the pause.3 page.
Say the "thread" "blocks", don't say the "process" "pauses". No need
to enumerate the ways a signal can be delivered. Add a few relevant
cross-references.
With input from millert@ and schwarze@.
Link: https://marc.info/?l=openbsd-tech&m=166801212316670&w=2
ok millert@ schwarze@
|
|
|
|
from iwm(4), which also looks at the TX_MGMT_ONLY flag. We don't expect
that flag to be ever set for bwfm(4), but it shouldn't hurt and it keeps
things consistent across drivers.
This fixes issues with suspend/resume (including firmware crashes seen on
the M2 Macbook Air).
ok patrick@, stsp@
|
|
ok patrick@
|
|
COMPILER_VERSION initially missed. I'm not sure why we still have those
COMPILER_VERSION checks in sys/arch/i386 and sys/arch/amd64, when the
base system doesn't ship gcc any more, but let's stay consistent.
|
|
Disable -Wdeprecated-non-prototype instead of patching zlib. Upstream
plans to drop the pre-ANSI syntax soon. ok tb@ millert@
|
|
FT232R is either 0 or 0.125.
ok dlg@
|
|
Pull the retry logic out of tickcmpr_set() and sys_tickcmpr_set() into
C functions tick_rearm() and sys_tick_rearm(), respectively. There is
nothing wrong with the retry logic in these assembly functions, but
it's better to keep equivalent code similar and this change realigns
the %TICK and %SYS_TICK rearm code with that of the Hummingbird
%STICK.
Tested by miod@ on UltraSPARC I, UltraSPARC II, and UltraSPARC IIe.
Link: https://marc.info/?l=openbsd-tech&m=167175014315419&w=2
ok kettenis@
|
|
joint work with and OK jsg@
|
|
the BUS_DMA_COHERENT flag.
ok miod@
|
|
memory.
ok miod@
|
|
|
|
sys/kern/kern_fork.c rev 1.195.
|
|
tuhs/Distributions/Research/Dennis_v4/v4man.tar.gz has
manx/profil.2 but no man2/profil.2
the nsys sysent.c has '&nullsys, /* 44 = prof */'
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V4/nsys/ken/sysent.c
profil(2) is first listed as v5 in the Combined Tables of Contents from
McIlroy's A Research UNIX Reader.
https://marc.info/?l=tuhs&m=158099986005023&w=2
and is present in
tuhs/Distributions/Research/Dennis_v5/v5man.pdf
ok schwarze@
|
|
ok schwarze@
|
|
waitid(2) and __thrsigdivert(2) and teach kdump(1) to handle them.
Also report more from the siginfo_t inside PSIG tracepoints.
ok mpi@
|
|
|
|
any parts of his diff not taken are noted on tech
|
|
Prefer setitimer(2)+sigsuspend(2) to nanosleep(2) when performing
periodic work. The latter drifts.
Link: https://marc.info/?l=openbsd-tech&m=167068674625838&w=2
ok millert@
|
|
The "naptime" value is not the real elapsed time. But showkre() has
the real elapsed time, "etime", so pass that as argument to dinfo().
Link: https://marc.info/?l=openbsd-tech&m=167095169115427&w=2
ok millert@
|
|
- Remove the bintime interfaces. They should not be used outside of
the timecounting layer. Unsure whether they warrant a manpage of
their own.
- In the SYNOPSIS, change the variable names for timespec interfaces
from "tv" to "ts".
- Document the new-ish "nsec" interfaces.
- Rewrite the DESCRIPTION. Describe every clock completely in its own
paragraph. Enumerate all the interfaces in tables. Explicitly state
the output format for each interface in said tables. Add new vocab
("hardware", "timestamp") to clarify the differences between the
"get" and non-"get" interfaces.
- Add the CONTEXT, RETURN VALUES, and ERRORS sections.
- Cross-reference clock_settime(2), timeradd(3), and tc_init(9).
Lots of input from schwarze@.
ok jmc@ schwarze@
|
|
OpenBSD coding practices (fork+exec/privsep/pledge/...). It is only
intended to replace the lpd(8) daemon for the moment, not the lpr(1),
lprm(1), lpq(1) and lpc(8) commands.
This is a work in progress. The server part should be fairly functionnal,
but the printer part is not complete: remote printers should work, for
local printers it depends on the setup. Anyway, at this point it's better
in the tree than rotting on my disk.
ok deraadt@
|
|
|
|
|