Age | Commit message (Collapse) | Author |
|
|
|
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@
|
|
unhibernate.
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
|
|
Requested by guenther@ how is currently off net.
|
|
- 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 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.
critical review of early versions by weingart@; testing by many
ok haesbaert@ krw@
|
|
- cast void * before using as %s
- imm2 is int
|
|
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).
|
|
VIA specific amd64 code. Makes the code work with Eden X2 processors
which have the same model/family as a Nano but don't claim to be one
in the model string.
from bytevolcano at Safe-mail.net
|
|
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@
|
|
found by Maxime Villard
|
|
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 kettenis@
|
|
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.
|
|
Makes the x200 and w500 and probably other machines go a bit
faster during resume from hibernate. This had been in my tree since
t2k13.
|
|
to mimic what is done in locore.S. Otherwise we lose the CPUID_NXE bit.
ok matthew@
|
|
type definitions that are the same across all archs from
<machine/_types.h> to <sys/_types.h>
ok deraadt@ kettenis@ otto@
|
|
breakage lurking; ok kettenis@
|
|
the same across all archs from <machine/_types.h> to <sys/_types.h>
ok deraadt@
|
|
were still unused.
ok millert@
|
|
Pointed out by LLVM.
ok matthew@ kettenis@
|
|
is supposed to establish interrupts at IPL_VM, we only need to "flatten"
mutex ipls up until IPL_TTY. Add an assertion to enforce that IPL_AUDIO
interrupts are establish with the IPL_MPSAFE flag set. Should improve
latency of audio interrupts a tiny bit.
ok matthew@
|
|
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are
mostly interested in -Werror here.
|
|
test period; i think 3 years ago the last bugs fell out.
ok otto beck others
|
|
removed at n2k13 but a few errant references still remained. No functional
change. Spot tested by my on i386 and amd64 UP environments, no regressions
seen.
noticed by deraadt@
|
|
This adds information about smt id (thread), core id and package id
(socket) to amd64.
ci_smt_id, ci_core_id, ci_pkg_id should be followed by other
archictectures and core relying on them should be under
ARCH_HAVE_CPU_TOPOLOGY.
ok tedu@
|
|
|
|
ok matthew@ deraadt@
|
|
from Sylvestre Gallon ccna.syl gmail.com
|
|
necessary. If something crawls in again that needs these we want to know
ok deraadt@
|