Commit Graph

279639 Commits

Author SHA1 Message Date
rillig
57bd6e4e52 make(1): add test for the $$ expression 2020-08-19 05:40:06 +00:00
rillig
697a5bfd15 make(1): add test for the -n option 2020-08-19 05:25:26 +00:00
rillig
e2eaadf3b7 make(1): add test for the -q option 2020-08-19 05:13:18 +00:00
msaitoh
cc67c5474a s/ be be / be / 2020-08-19 02:19:06 +00:00
mrg
cef8759bd7 initial GCC 8.4 -> gcc.old import. 2020-08-18 23:31:16 +00:00
christos
0c510515ef use opendisk()/dehumanize_number 2020-08-18 19:26:29 +00:00
christos
9630bba2c9 make sure errno is always set when we return -1 (Anon Ymous) 2020-08-18 19:18:06 +00:00
maxv
82a320a02c nvmm-x86-svm: improve the CPUID emulation
Limit the hypervisor range, and properly handle each basic leaf until 0xD.
2020-08-18 17:08:05 +00:00
maxv
6d90c51498 nvmm: use relaxed atomics to read nmachines 2020-08-18 17:04:37 +00:00
maxv
49bcb63b40 nvmm: localify a variable that doesn't need to be global 2020-08-18 17:03:58 +00:00
maxv
536d725bb4 nvmm-x86: also flush the guest TLB when CR4.{PCIDE,SMEP} changes 2020-08-18 17:03:10 +00:00
riastradh
257aaf9afb Fix ugen detach after partial attach.
While here, register null pmf handler even for partially attached
devices so they don't needlessly interfere with suspend.

Reported-by: syzbot+5a091d2e62da20b77259@syzkaller.appspotmail.com
2020-08-18 14:32:34 +00:00
simonb
bc5b96679a Fix small tyop in a comment. 2020-08-18 11:48:21 +00:00
simonb
c4cbc27b38 Remove an extra word from a comment to make it more readable. 2020-08-18 11:21:25 +00:00
chs
752f40af2e fix amap_extend() to handle amaps where we previously failed to allocate
the ppref memory.
2020-08-18 10:40:20 +00:00
simonb
daaf9b06cf We don't need to call the POW and FGA bootstrap functions from the FDT
mainbus attach, the iobus attach code does this already and is called
for both iobus-only and FDT cases anyway.

After discussion with jmcneill@.
2020-08-18 10:35:51 +00:00
hannken
d117c8147b Operation union_readdirhook() stores the lower directory as un_uppervp.
This breaks the assumption that un_uppervp->v_mount is the upper mount.

Fix by storing the directory as un_lowervp and adapt union_readdir().

Should fix PR kern/55552: panic with union mount
2020-08-18 09:44:07 +00:00
maxv
17ffbcbdab Add missing cases, to prevent memory corruption.
Reported-by: syzbot+f8b8a689a3560dda27f7@syzkaller.appspotmail.com
2020-08-18 07:53:24 +00:00
skrll
ccc083321e Fix MULTIPROCESSOR build 2020-08-18 07:41:41 +00:00
skrll
3635371f3e Improve a panic message ever so slightly 2020-08-18 07:25:46 +00:00
nakayama
ffe8239bf9 Quoted from the top of the file:
# Note: don't delete entries from here - mark them as "obsolete" instead.
2020-08-18 07:13:59 +00:00
perseant
c7e481e284 Add skipped test for in-kernel roll-forward agent 2020-08-18 03:02:50 +00:00
simonb
2b428978f3 Regen. 2020-08-18 02:53:25 +00:00
simonb
6be04df69b Add Moonbase Otago OneRNG Random Number Generator. 2020-08-18 02:53:01 +00:00
mrg
e6a4ce4e30 avoid build failure on !DBB kernels.
should fix arc, emips, ews4800mips, mipsco, newsmips and pmax builds.
2020-08-17 21:50:14 +00:00
jmcneill
61ff6cfad0 Attach an iobus with octrnm even if using devicetree (there is no
corresponding node for this device in the DT).
2020-08-17 21:25:12 +00:00
jmcneill
4a584abca1 IPI_SHOOTDOWN needs to be IPL_SCHED. Spotted by nick. 2020-08-17 21:00:29 +00:00
christos
1c9f21f0f6 remove commented out MEMORY_DISK_* entries 2020-08-17 20:43:13 +00:00
christos
44fc6258f3 correct MEMORY_DISK_* option docs 2020-08-17 19:41:32 +00:00
riastradh
07c506680f Move wayward clause to where it belongs and makes sense.
Note how blowfish-cbc chooses the CBC IV.
2020-08-17 17:18:02 +00:00
christos
c47c63583c be host friendly 2020-08-17 16:26:03 +00:00
riastradh
7f7b51ca34 Make the AES and ChaCha NEON tests work in softfloat userland.
(`Softfloat' here refers to the ABI, which of course may be running
on a CPU with NEON.)
2020-08-17 16:26:02 +00:00
skrll
cc48267535 Give a hint to what the IPI numbers are, i.e. "(A/R)" meaning active and
requested respectively
2020-08-17 15:22:51 +00:00
skrll
f9d40dbbb8 Disable __HAVE_PREEMPTION. It is currently marked
#if defined(MULTIPROCESSOR) && defined(__HAVE_FAST_SOFTINTS)

but has no chance of working on OCTEON due to at least the spl functions
2020-08-17 14:17:49 +00:00
mrg
5c87c55a47 enable raidframe. 2020-08-17 09:03:03 +00:00
mrg
a152fe0b55 add pmaphist calls around seg_tab[] manipulation. hopefully will
help find what causes this:

panic: pmap_segtab_alloc: pm_segtab.seg_tab[1010] != 0 (0x980000004eeb6068): from free list
2020-08-17 08:56:27 +00:00
nonaka
7e1880b3d2 ipmi(4): Fixed a bug that incorrect condition is notified.
When the value obtained from the sensor is below the lower limit of
the critical threshold, it is notified that the value is below the lower
limit of the warning threshold.
2020-08-17 08:34:36 +00:00
msaitoh
5cf2b8e2be Simplify SFP+ check. No functional change. 2020-08-17 08:23:30 +00:00
msaitoh
82f6d01a1b Re-enabling interrupt is required only when a work is scheduled form the
interrput context.
2020-08-17 07:59:06 +00:00
simonb
c26067d669 Add some compile time asserts for endianness on boards/systems that
only support a single endianness.
2020-08-17 07:50:41 +00:00
msaitoh
53eb66a1b2 Fix a bug that the driver sometimes missed module insertion.
The ixgbe_sfp_probe() function was only for 82598 and other chips had no
way to poll SFP+ cage. The ixgbe_handle_mod() already has function to treat
module insertion/removal for all chips, so enqueue the work if the cage
status changed. All of ixgbe chips' SFP+ module interrupt is only on the
inserstion. This change also detect the removal by the timer.
2020-08-17 07:26:55 +00:00
mrg
13b7915743 remove duplicate symbol now published in shared mips. 2020-08-17 07:22:46 +00:00
msaitoh
0c83cbed3a Add missing workqueue_wait() for the recovery_mode_timer workqueue. 2020-08-17 06:30:25 +00:00
simonb
02abda66c9 Handle using "octeth" as root device by converting "octethN" to "cnmacN"
for any N < 100.  This allows booting for u-boot to use root=$(ethact)
on the command line and the kernel can use the ethernet interface the
kernel was loaded on as the NFS root device.
2020-08-17 06:23:01 +00:00
gson
de5f9e0f37 Remove unused function rump_shutdown() 2020-08-17 06:18:39 +00:00
wiz
106ec726e5 cprng(9): Remove trailing comma. 2020-08-17 06:07:53 +00:00
mrg
0e3b39d202 note mips crash(8). 2020-08-17 04:16:24 +00:00
mrg
4d62e2455a mostly complete basic port of crash(8) to mips.
tested on mipsel and mips64eb.  basic functionality works
on the running kernel, not yet tested on crash dumps.
2020-08-17 04:15:33 +00:00
mrg
da9502ad27 enable dumppcb. 2020-08-17 03:22:13 +00:00
mrg
d7467c185e port crash(8) to mips. (most of the kernel side.)
- expose parts of _KERNEL to _KMEMUSER as well
- hide more things for _KERNEL
- avoid DB_MACHINE_COMMANDS in crash(8)
- XXX add mips_label_t for !_KERNEL and use it in the pcb to
  avoid conflicting with the ddb/crash one
- enable dumppcb

some changes to make stack trace fail instead of SEGV and
the userland changes to crash itself not part of this change.
2020-08-17 03:19:35 +00:00