Age | Commit message (Collapse) | Author |
|
|
|
the same error messages on GPT processing failures.
Add a message about failed GPT entry checksum error to both. This
was inadvertantly deleted in the switch to one entry at a time
processing.
tweaks & ok yasuoka@ jsing@
|
|
safety. The function has to be called in a context where conflicting
pmap updates cannot happen. Otherwise the returned physical address
might not be valid.
Suggested by kettenis@
|
|
conversion. Because pmap_extract() acquires the PTE mutex, a "locking
against myself" panic is triggered if the cache routine gets called in
a context where the mutex is already held.
In the pmap, all calls to HitSyncDCache() are for a whole page. Add a
new cache routine, HitSyncDCachePage(), which gets both the va and the
pa of a page. This removes the need of the va->pa conversion. The new
routine has the same signature as SyncDCachePage(), allowing reuse of
the same routine for cache implementations that do not need differences
between "Hit" and non-"Hit" routines.
With the diff, POWER Indigo2 R8000 boots multiuser again. Tested on sgi
GENERIC-IP27.MP and octeon GENERIC.MP, too.
Diff from miod@, ok kettenis@
|
|
for findopenbsd_gpt().
|
|
This should fix some of the odd termination errors people have been seeing
(vmctl status showing running VMs after they have exited/crashed, and
invalid instruction panics on vmptrld during certain races)
This diff also implements dropping the biglock when running a VCPU, and
reacquiring the lock as needed based on the type of exit (normal vs.
external interrupt)
diff supplied by Stefan Kempf <sn.kempf at t-online.de>, many thanks!
|
|
|
|
OpenBSD partition. Just one 128-byte stack copy of a single entry.
Problems with EFI installs involving many disks reported by and fix
tested by Thomas Bohl.
Stefan Kempf pointed finger of suspicion at the addition of the 2nd
16K static buffer for softraid GPT and suggested/reviewed several
versions of the diff.
Tweaked and ok jsing@
|
|
ok kettenis@
|
|
Otherwise the PHY goes undetected on the slave node of a dual-node
Origin 200. The PHY gets enabled by diagnostic checks but only on the
master node. As the attach code will now do the enabling, the checks can
be disabled on reboot, making reboots faster especially on IP27.
Tested on Origin 200 (IP27), Fuel (IP35 with iec), and Origin 350
(IP35 without iec).
Diff from miod@, ok krw@
|
|
|
|
operations MP-safe. Tested on octeon and sgi (IP27, IP30).
Feedback from kettenis@ long ago
|
|
ok tb@
|
|
ok visa
|
|
to the kernel rng. If the rdseed source is empty fallback to rdrand
as suggested by naddy. rdrand output comes from a prng that is
periodically reseeded. rdseed should give us more bits of entropy.
ok naddy@ djm@ deraadt@
|
|
signalling as a workaround to a limitation in the hub interrupt code,
to allow four CPUs per node. At the moment, multi-node setups are not
supported.
|
|
and function signature are from Linux.
|
|
substitute for hardware documentation.
|
|
|
|
|
|
starts at sector 1. Instead return -1, as for all other failures during
the header check.
|
|
non-static) by passing disk size as 2nd parameter instead of the
different structures holding the disk size info. The fifth copy of
gpt_chk_mbr() in fdisk is a little specialer. No functional change.
|
|
declarations of gpt_chk_mbr() to match prototypes in efidev.c and
softraid.c.
|
|
Another diff from Stefan Kempf <sn.kempf at t-online.de>.
|
|
Noticed over a month ago by Stefan Kempf <sn.kempf at t-online.de>, and I
shamefully just got around to committing it. Thanks Stefan.
|
|
|
|
Use the size info in struct sr_boot_volume, and not the uninitialized
info in the disklabel, when checking the GPT protective MBR. Now
both GPT and MBR formatted softraid volumes actually boot.
As a bonus add prototype for gpt_chk_mbr().
|
|
MBR/GPT.
Problem found the hard way by Glenn Faustino on tech@
|
|
raises a machine check exception. Do not report anything on console in
that case, so that userland does not suffer too much.
Diff from miod@
|
|
|
|
boot from such volumes to match being able to install to them.
Problem spotted by jcs@, fix tested by rpe@, ok jsing@
|
|
This patch adds a new driver for use of virtio-console devices as
ttys. It's still in an early state and not compiled by default, yet.
Currently it is only wired into amd64. i386 is still missing.
Discussed with uebayasi@, deraadt@
|
|
|
|
|
|
ok kettenis@
|
|
|
|
page protection bits.
Go ahead, mlarkin@
|
|
|
|
decision as to how the vcpu should be set up for initial start and
reset. Also removes some hardcoded register constants from vmm(4).
ok jsing@, mpi@
|
|
ok deraadt@
|
|
|
|
later).
discussed with deraadt@ and reyk@ at length.
|
|
|
|
ok reyk@, beck@, mpi@
|
|
|
|
|
|
seem to trigger an IPI. According to IP27 headers in Linux, those have a
special meaning in hardware.
|
|
(bios, CPU, interrupt handlers, pvbus). This splits the pvbus attach
function into two parts: pvbus_identify() to scan the CPUID registers
for supported hypervisors and pvbus_attach() to attach the bus, print
information, and configure the children.
This will be needed for Xen and KVM, as discussed with mikeb@ and sf@
OK mlarkin@
|
|
|
|
similar to config_defer(9).
ok mikeb@, deraadt@
|