mlelstv
8cb91ffd8c
Welcome 9.99.21. dk_lookup() has been replaced.
2019-12-08 13:19:59 +00:00
mlelstv
f12d5d1854
Drop comment about dk_lookup being in the wrong place.
2019-12-08 12:23:00 +00:00
mlelstv
19fac8fe81
Drop now unused dk_lookup function.
2019-12-08 12:15:24 +00:00
mlelstv
5a52f2af3d
Switch to vn_bdev_open* functions.
2019-12-08 12:14:40 +00:00
maxv
cbaecaa959
Use the inlines; it is actually fine, since the compiler drops the inlines
...
if the caller is kmsan-instrumented, forcing a white-listing of the memory
access.
2019-12-08 11:53:54 +00:00
maxv
b08f5ff9f6
Fix __nomsan: missing opt_kmsan.h, and the attribute should be
...
kernel-memory.
2019-12-08 11:48:15 +00:00
wiz
27a591f890
Sort SEE ALSO.
2019-12-08 10:57:17 +00:00
tkusumi
837fc0447c
dm: Move targets specific structs to .c files
...
These don't need to be defined and exposed in dm.h.
2019-12-08 10:50:21 +00:00
skrll
fe20baa9d9
Mark FDT as non-exec and create KVA=VA mapping of same size as identity
...
mapping, i.e. include BOOTPAGE_ALLOC_MAX
2019-12-08 10:37:19 +00:00
tkusumi
1c486dc61c
dm: Unbreak compilation of kernel modules
...
The dm kernel modules (MK_DM_TARGETS enabled in sys/modules/dm/Makefile)
have been broken. Unbreak the build.
2019-12-08 10:35:53 +00:00
skrll
05f01df798
Typo in comment
2019-12-08 10:12:19 +00:00
tkusumi
2cb93e573c
dm: Refactor target's ->init() i/f
...
Take dm_table_entry_t* instead of void**.
Remove dm_dev_t* unneeded by target code.
No functional change, but for future changes.
taken-from: DragonFlyBSD
2019-12-08 04:41:02 +00:00
nia
d4aa4cb973
Replace mention of azalia with hdaudio
2019-12-08 02:57:52 +00:00
nia
ff58397b58
Add hdaudio
2019-12-08 02:54:54 +00:00
kre
956ce054c6
PR lib/54744 (bruno@haible.de)
...
Add missing __END_DECLS for C++ compiles.
XXX pullup -9 XXX pullup -8 (bug not present in -7).
2019-12-08 02:15:02 +00:00
sevan
9112ea0837
We don't need to require the presence of /etc/zfs/zpool.cache to unmount &
...
unload the module, just like for the start target.
2019-12-08 00:58:16 +00:00
jmcneill
1cc7b00cc1
Add crypto engine clock
2019-12-08 00:12:20 +00:00
uwe
55d76dd035
Simplify markup for inline code to plain .Li in most places.
...
Use backslashes to protetect embedded spaces in inline code to prevent
filling from stretching them.
Use .Fn and .Fa to refer only to things this manual page documents,
they are not to be used for "a function" or "a function argument" in
general.
In code examples drop the empty line at the beginning of a function
(mandated by the KNF when there are no variables) - it doesn't help
readability here.
2019-12-08 00:00:59 +00:00
ad
9b2ceb0ad8
mi_switch: move an over eager KASSERT defeated by kernel preemption.
...
Discovered during automated test.
2019-12-07 21:14:36 +00:00
kamil
61223bbb2b
Revert the in_interrupt() change to use again the x86 specific code
...
This is prerequisite for kMSan and upcoming kernel changes.
Discussed with <maxv>
2019-12-07 19:50:33 +00:00
kamil
1826c36972
Switch proc_getlwpstatus from PT_LWPINFO to PT_GET_SIGINFO for NetBSD
...
PT_LWPINFO from FreeBSD is almost never intended to be expressed with
PT_LWPINFO in NetBSD. PT_GET_SIGINFO reads siginfo_t with the signal
information about the event, on FreeBSD siginfo_t is merged into
ptrace_lwpinfo and returns the thread that received the event (not the
first one in a list like on NetBSD).
2019-12-07 19:38:29 +00:00
jmcneill
472bbf0ecf
sys/atomic.h for membar_*
2019-12-07 17:56:08 +00:00
ad
9079e8e09e
mi_switch: move LOCKDEBUG_BARRIER later to accomodate holding two locks
...
on entry.
2019-12-07 17:36:33 +00:00
christos
0ca61464d2
need pfilter.h
2019-12-07 16:38:42 +00:00
christos
6ebd45802c
Add some more pfilter_notify() calls where authentication attempts fail.
2019-12-07 16:32:22 +00:00
christos
ca08478982
don't call pfilter_notify() from authz_log(). Logging should not have side
...
effects (kim@)
2019-12-07 16:25:36 +00:00
christos
a6d8c24313
don't call pfilter_notify() twice in grace_alarm_handler(). (kim@)
2019-12-07 16:25:05 +00:00
tkusumi
6847e6b09b
dm: Fix indentation
2019-12-07 16:13:39 +00:00
jmcneill
0a25dbfa87
Use bus_space_{peek,poke}_4 for pci conf reg access.
2019-12-07 16:00:36 +00:00
jmcneill
4c82ba64c0
Define __BUS_SPACE_HAS_PROBING_METHODS
2019-12-07 16:00:09 +00:00
tkusumi
b794fcf3ad
dm: Fix strange pointer declarations
...
Should be "type *name" or "type* name", but not "type * name".
taken-from: DragonFlyBSD
2019-12-07 15:28:39 +00:00
riastradh
1ec67535be
Add missing MLINK for membar_datadep_consumer(3).
...
Detected by the indefatigable wizd.
2019-12-07 15:13:59 +00:00
riastradh
131828f69c
Restore call to pserialize_init.
...
We need it after all for psz_lock on the event counter.
2019-12-07 14:55:58 +00:00
martin
1a12097886
Relax restrictions on packnames, as disklabel(8) does not do full decoding
...
for the tag field.
Fix quoting of command args.
2019-12-07 13:33:45 +00:00
jmcneill
ee0db1e1ec
Fix build for ports without __BUS_SPACE_HAS_STREAM_METHODS defined
2019-12-07 13:31:41 +00:00
wiz
ec6e765cf3
Remove trailing whitespace.
2019-12-07 12:47:07 +00:00
wiz
04ba8470c8
Really add -isoC-2018 (not just the docs).
2019-12-07 12:45:28 +00:00
wiz
61075eb365
Reduce diff to upstream.
2019-12-07 12:43:19 +00:00
wiz
97394f0e9a
Remove superfluous Pp.
2019-12-07 12:35:27 +00:00
wiz
cb84b950e7
Sync usage with man page, merge single letter options.
...
Limit program usage line length.
2019-12-07 12:34:17 +00:00
wiz
70da9690a6
Simplify macro usage.
2019-12-07 12:22:19 +00:00
nonaka
82065bef52
Get a Hyper-V virtual processor id in cpu_hatch().
...
Currently, it is got in config_interrupts context.
However, since it is required when attaching a device,
it is got earlier than now.
2019-12-07 11:45:45 +00:00
maxv
ce1d0ac5b0
Panic instead of printf, same as syscall.
2019-12-07 10:19:35 +00:00
tkusumi
312beb0985
dm: Simplify list eviction code
...
taken-from: DragonFlyBSD
2019-12-07 06:26:31 +00:00
christos
7300145099
Drop the advertising clause to match the other files.
2019-12-07 04:55:01 +00:00
christos
6656448714
loadfile sets errno, return the correct error, not EIO.
2019-12-07 02:29:03 +00:00
macallan
b2103fc8a7
clean up the video mode selection logic, switch modes only when actually
...
necessary
while there make some debug output optional
2019-12-07 01:00:40 +00:00
pgoyette
ac676e6637
Note also that the load address (if provided) is also for the module's
...
text segment.
2019-12-06 21:45:14 +00:00
ad
4477d28d73
Make it possible to call mi_switch() and immediately switch to another CPU.
...
This seems to take about 3us on my Intel system. Two changes required:
- Have the caller to mi_switch() be responsible for calling spc_lock().
- Avoid using l->l_cpu in mi_switch().
While here:
- Add a couple of calls to membar_enter()
- Have the idle LWP set itself to LSIDL, to match softint_thread().
- Remove unused return value from mi_switch().
2019-12-06 21:36:10 +00:00
ad
8e78580c11
NetBSD 9.99.20 cpu_info/cpu_data changes for topology
2019-12-06 21:07:07 +00:00