Commit Graph

264537 Commits

Author SHA1 Message Date
yamaguchi 6d613515d5 Set IFEF_MPSAFE flag 2019-01-14 14:57:25 +00:00
yamaguchi 94b53882b2 Add multiqueue support, virtio(4) 2019-01-14 14:55:37 +00:00
yamaguchi 8af7ff79ef Functionize the same code related to ctrl vq in vioif(4) 2019-01-14 14:52:57 +00:00
yamaguchi 217b9f6be8 Divide some elements of vioif_softc into txq, rxq, and ctrlq 2019-01-14 14:35:52 +00:00
yamaguchi ae8d76aa4f Make macros not depend on vioif_softc 2019-01-14 14:32:13 +00:00
mlelstv 680fcadd28 Fix infinite loop like in fdtbus_get_string_index. 2019-01-14 12:23:53 +00:00
kre 4426ee8da1 Whitespace (indent with tabs, rather than spaces), and rearrange one
line that needed wrapping so it no longer does, and is (IMO) clearer.
WHile here, note that this was created in 2019, not 2018, for the
copyright notice...

NFCI.
2019-01-14 03:30:25 +00:00
christos 323118b11c add call error checks, requested by mrg@ 2019-01-14 00:23:43 +00:00
mrg 40fb220229 normalise comment for fileassoc(8). from PR#44873. 2019-01-14 00:13:18 +00:00
mrg 7ac32fbe62 switch sparc pmap lock to the scheme sparc64 uses:
- local IPL_NONE mutex for general pmap locking operations, not
  kernel lock.
- for pmap_activate()/pmap_deactivate(), switch to using the
  existing ctx_lock, and push handling of it into ctx_alloc() the
  ctx_free() callers.

fixes easy to trigger deadlocks on systems with >2 cpus.  without
this patch i usually hang during boot.  with it, i was able to
push the machine hard for over 12 hours.

XXX: pullup-8, and maybe -7.
2019-01-13 22:11:11 +00:00
snj a117763158 regen for 2.25 2019-01-13 19:21:27 +00:00
jakllsch 6835f27c8d Incite the "Purple Cow" wrath of Gelett Burgess upon ourselves. 2019-01-13 17:55:03 +00:00
uwe a73c12be45 .Pp before .Bd is redundant.
From Edgar Pettijohn.
2019-01-13 16:48:51 +00:00
christos 42bad95822 Increase the timeout a bit, and make sure we join so that there is no
race.
2019-01-13 15:36:57 +00:00
gson 5a561c0cd0 Mark the fs/vfs/t_renamerace:udf_renamerace_dirs test case as an
expected failure referencing PR kern/53865, and force failure to avoid
reports of unexpected success as it does not realiably fail under
qemu.  This makes the treatment of udf_renamerace_dirs the same as
that of udf_renamerace, only with a different PR.  Also, make
whitespace consistent between the two.
2019-01-13 14:35:00 +00:00
maxv 7e9223365a Forgot to commit file along with identcpu.c::rev1.86. 2019-01-13 12:19:09 +00:00
maxv 4729fe3d53 On certain AMD f10h CPUs (like mine), the BIOS does not enable WC+. It
means that the guest pages that are WC+ become CD, and this degrades
performance of the guests.

Explicitly enable WC+.

While here clarify the AMD identification code.
2019-01-13 12:16:58 +00:00
gson c807c19194 Don't mark the traceme_vfork_crash_bus test case as an expected failure
when it is executing as part of the lib/libc/sys/t_ptrace_waitid test,
because that particular combination is not failing, at least not on amd64.
It is failing as part of other tests, so PR lib/53343 still applies.
2019-01-13 11:03:20 +00:00
maxv 7ceb32d30a Handle more corner cases, clean up a little, and add a set of instructions
in Group1.
2019-01-13 10:43:22 +00:00
maxv 57f35105a5 Reset DR7 before loading DR0-3, to prevent a fault if the host process
has dbregs enabled.
2019-01-13 10:07:50 +00:00
maxv c204348316 Error out if the higher 32 bits of DR6 and DR7 are set. MOV DR would
fault otherwise.
2019-01-13 10:01:07 +00:00
mrg 94ad063926 add a note about pmap_activate() and pmap_deactivate() not being allow to block. 2019-01-13 06:59:15 +00:00
kre 7b39a1eecc Always return from expandm() with errno unaltered, so on the
off chance it failed, there's still the possibility that whatever
processes the result will be able to deal with the %m that would
(presumably) be left in the format string.

And as a frill, don't call strerror() until we know we are
going to use its result (still call it only once, no matter
how many %m's are in the format string).
2019-01-13 06:10:34 +00:00
mrg 754a5dbbce update to reality:
- note that the base system supports 32 bit / 64 bit compat directly now
- list all the expected paths for ld.elf_so
- remove largely obsolete info
- fix list of known issues
- misc other clean up
2019-01-13 04:45:35 +00:00
christos 3359bf52a4 check for *. integer overflow over ptrdiff. Pointed out by kre@ 2019-01-13 01:32:51 +00:00
tnn beb239d2eb clang does not like to deref a null pointer unless it is qualified volatile 2019-01-13 00:11:29 +00:00
kre c323915498 Make expandm() return a const char * so we can do away with __UNCONST()
and more importantly, so that we don't accidentally return a value
that is a const char * in reality (pointer to read only string) as a
char *.
2019-01-12 22:14:08 +00:00
christos a55f258316 Don't do %%m -> %%%m escaping, requested by gson@. 2019-01-12 21:50:29 +00:00
kre 63c2be2dac Return the buffer that has not been freed, so it can be later,
rather than the one that already was.
2019-01-12 21:05:37 +00:00
christos 0779cbe997 adjust to new expandm. 2019-01-12 19:09:25 +00:00
christos 94a22d4c76 Provide an extra argument to store the returned pointer so we can use
the function directly as the return format (before assigning it to a
variable) to appease clang.
2019-01-12 19:08:24 +00:00
christos d17b8a0ea7 print the program name when we don't find a library.
XXX: really most _rtld_error() should do that, and most do.
2019-01-12 18:58:10 +00:00
roy 08c8b11310 Setup default wpa_supplicant flags so that it:
* Writes diagnostics to syslog
  * Enables interface matching to hotplug wireless interfaces
  * Uses /etc/wpa_supplicant.conf
2019-01-12 17:38:36 +00:00
tsutsui 02fa6b8f42 Mention about irisboot for sgimips pre-ARC machines. 2019-01-12 17:30:28 +00:00
roy a4b9a5dd90 Install /etc/wpa_supplicant.conf 2019-01-12 17:25:09 +00:00
roy dd916c1e0e Add a default wpa_supplicant.conf which allows wpa_cli(8) to configure
wpa_supplicant(8).
2019-01-12 16:51:54 +00:00
tsutsui c9cc7dbd64 Add irisboot binaries for pre-ARC machines. PR port-sgimips/53539 2019-01-12 16:46:25 +00:00
tsutsui d02e022db7 Import irisboot, yet another bootloader for pre-ARC sgimips machines.
This bootloader adds support for Personal IRIS 4D/25 (IP6),
Personal IRIS 4D/35 (IP12), and Indigo R3000 (IP12) etc. and
optionally supports R4000 Indy and Indigo R4000 (ARCS machine)
using standalone WD33C93 SCSI driver.

Submitted by Naruaki Etomi via PR port-sgimips/53539,
and reviewed by tsutsui@.  See also port-sgimips@ ML thread:
 https://mail-index.netbsd.org/port-sgimips/2018/09/16/msg000778.html
2019-01-12 16:44:47 +00:00
thorpej 62c421829a Explicitly size the regmap array. 2019-01-12 15:44:08 +00:00
jdolecek 20a2ac8662 partially back-off rev. 1.68 - when the drive reset for port 15 fails,
on some systems controller isn't actually able to process further commands,
it's really necessary to do explicitely reset for drive 0 too

towards resolution of PR kern/53307
2019-01-12 15:16:51 +00:00
tsutsui 314bc7176f Add NOLUNS quirk for more SEAGATE SCA/WIDE drives.
Tested on NetBSD/luna68k and LUNA with SCA 80pin -> NARROW 50pin and
WIDE 68pin -> NARROW 50pin connectors.
2019-01-12 13:59:53 +00:00
hannken cbfd7da2fc Allow zfs_vn_rdwr() with "rw == UIO_READ" too. 2019-01-12 10:44:36 +00:00
hannken 8027df3b0b Pass unmount flags down to syscall, "zfs unmount -f" now works. 2019-01-12 10:44:05 +00:00
hannken 1917967c61 The ZFS onexit routines expect opening ZFS_DEV with O_EXCL to return
a cloned device with an unique minor number.

Use fd_clone() on this condition to return a cloned device descriptor.
2019-01-12 10:43:33 +00:00
hannken 256b65dcc0 Disable valid assertion "!(flags & TQ_NOQUEUE)" as "zfs send" triggers it. 2019-01-12 10:42:40 +00:00
hannken b7f32ae1de Need FOF_UPDATE_OFFSET to update the offset on plain files.
Running "zfs send" to plain files no longer writes garbage.
2019-01-12 10:42:09 +00:00
hannken ddb2d27412 There is no such function read_rflags(), probably meant x86_read_flags(). 2019-01-12 10:41:31 +00:00
thorpej 5a2bf51a92 Simplify regmap initialization, and fix an regmap issue that
affected TI OMAP (LCR register would get clobbered due to
using the wrong offset for the MDR1 register) reported by Lwazi Dube
(who also found the root cause).
2019-01-11 23:10:40 +00:00
christos ea179cc7cf use expandm from libwrap. 2019-01-11 20:41:53 +00:00
christos feb39a8c47 Use a utility function to expand %m correctly... 2019-01-11 20:37:30 +00:00