Age | Commit message (Collapse) | Author |
|
reduce pctr.h usage while here. ok jsing, deraadt
|
|
Requested by Adam Thompson.
suggestions and ok deraadt, earlier version ok jmc
|
|
miod@ cannot find two boards using the same media.
With precious punctuation review from guenther@, thanks!
ok deraadt@, henning@
|
|
From Sebastien Marie.
|
|
|
|
|
|
ok guenther, dlg, deraadt
|
|
ok deraadt@
|
|
have a better handle on it.
Add an assert in i386 MP hibernate quiesce cpu function to ensure we are
running on the BSP
|
|
So far, only passphrase-based crypto volumes were bootable. Full disk
encryption with keydisks required a non-crypto partition to load the kernel.
The bootloader now scans all BIOS-visible disks for RAID partitions and
automatically associates keydisk partitions with their crypto volume.
Attempting to boot from a volume without its keydisk currently results
in a passphrase prompt (this might be changed in the future).
There is no need to re-create existing volumes. Moving the root partition
onto the crypto disk and running installboot(8) is all that's needed.
help & ok jsing
|
|
|
|
at least one supervisor mode (U/S bit = 0) setting in higher level paging
structures. This diff removes PG_u flags from the hibernate resume time
pmap (there was really no reason we needed it), to allow hibernate to
work on Ivy Bridge and later CPUs.
ok deraadt
|
|
readdoslabel(). Ditto all the MD variables whose addresses are passed
to readdoslabel() via partoffp.
Fix some 512-byte block vs disk sector confusion in hppa and sgi.
All the DL_GETxxxxx() defines return disk sector values. All
DL_SETxxxx() take disk sector values. These changes should be no-ops
until a drive using non-512-byte-sectors is encountered.
ok deraadt@
|
|
|
|
one cause of the random gzip errors and reboots we've been seeing with
hibernate as we were creating new mappings for kernel text which likely
conflicted with the non-flushed global mappings from the resuming kernel.
Also remove an unnecessary wbinvd (i386)
ok deraadt
|
|
|
|
ok miod
|
|
APM on machines where it suspended better. These days, suspend/resume
works better in ACPI. Specific machine: x40.
There is a class of very early ACPI machines which are going to break,
because of buggy AML and bugs in our acpi code. By making this change,
we will expose those, and hopefully get them fixed.
ok many
|
|
- switch to perl for better data structures and (thus) speed
- fix a couple glitches in the interpretation of the stabs output
- compress the strings by putting them in one big array and overlaying
suffixes
- all sizes and offsets are <64k, so use u_short for them
This results in ~60% reduction in the resulting text size and it now
takes less than a second to create on fast platforms.
ok miod@
|
|
if it can tell the target CPU isn't actually idling and introduce cpu_kick()
for the cases where we want to force a non-idle CPU into the kernel.
just a port of the amd64 version; testing by many
|
|
|
|
|
|
|
|
- despite the name, ntohl returns uint32_t, not long
- also fix some %d into %u
|
|
while there, fix a few %d into %u
|
|
|
|
anything useful there. Switching from glass console to serial console is
already done by cninit(), and the reinitializaton of cn_tab by cnset()
breaks the conseleness checks in the wsdisplay code.
Tested on various amd64/i386 systems with both glass and serial console.
ok mpi@
|
|
with ddb entered early with boot -d or from UKC).
|
|
ok pirofti@
|
|
It will be enabled by default in the GENERIC and RAMDISK_CD kernels,
but you have to set vmxnet3 in the VMware configuration on the host;
see vmx(4).
ok deraadt@
|
|
measurement device (idVendor:idProduct=0x0c45:0x7401).
newly added.
ok by mpi@ and sthen@
|
|
spotted by sthen@
|
|
can more fully understand the side-effects.
Tested by various people back at t2k13, been sitting in my tree since then.
|
|
1. Makes amd64 and i386 MTRR code nearly identical
2. Removes support for per-process MTRRs (which were never implemented)
3. Treat "unknown" MTRR types as uncacheable instead of trying to preserve
bogus settings made by the BIOS
4. Various KNF cleanups
Should be no functional change.
ok jsg@, deraadt@
|
|
ok miod@
|
|
No regression has been reported since libusb became the prefered
solution to work with USB scanners.
req. by mpi@
ok ian@ mpi@ miod@
|
|
ok mikeb@, sthen@, tedu@ (implied), doc bits ok jmc@
|
|
|
|
OK mpi@
|
|
generated on all architectures that support pci, making alpha and loongson
compile again.
ok todd@, miod@ seemed to agree with the idea
|
|
Mickey approves these changes.
|
|
Includes kernel modesetting, framebuffer console and support
for newer hardware.
Firmware needs to be present for acceleration and in some cases
modesetting to work. It can be installed via fw_update
or manually via pkg_add.
With lots of help from kettenis@ some macppc bits from mpi@
and some ttm refcount/queue bits from FreeBSD.
Thanks to M:Tier and the OpenBSD Foundation for sponsoring this work.
|
|
sure that SIZE_MAX and SSIZE_MAX are defined as constants with a matching
type on all are architectures.
ok millert@, matthew@
|
|
|
|
ok miod kettenis
|
|
we block all interrupts that can grab the kernel lock. The simplest way to
achieve this is to make sure mutexes always raise the ipl to the highest
level that has interrupts that grab the kernel lock. This will allow us
to have "mpsafe" interrupt handlers at lower priority levels.
No change for non-MULTIPROCESSOR kernels.
ok matthew@
|
|
type definitions that are the same across all archs from
<machine/_types.h> to <sys/_types.h>
ok deraadt@ kettenis@ otto@
|
|
ok kettenis@
|
|
f_count is long
ok kettenis@
Change esm_sensor_map.arg to int
ok deraadt@
|
|
breakage lurking; ok kettenis@
|