Commit Graph

250026 Commits

Author SHA1 Message Date
jmcneill fa7f7f0ebb Add support for PCI_INTR_MPSAFE 2017-04-16 18:05:35 +00:00
jmcneill 998172e3e0 Add function ptr for pci_intr_setattr to struct arm32_pci_chipset 2017-04-16 18:02:50 +00:00
riastradh e67dab8d81 Can't destroy pb until we're done using it. 2017-04-16 17:45:12 +00:00
riastradh 629022bd8f regen to confirm no functional change 2017-04-16 17:18:54 +00:00
riastradh f2ed57297a Count vnode arguments correctly.
Don't count arguments that have WILLRELE/WILLPUT; count arguments
that are struct vnode *.

No functional change currently because it happens that every released
or put vnode argument comes first or after other ones.
2017-04-16 17:18:28 +00:00
riastradh d08e9ec7c8 regen 2017-04-16 16:49:25 +00:00
riastradh 6f8a4faacd Back out previous.
Breaks file systems for which VOP_UNLOCK doesn't work on a reclaimed
vnode.

The only case in tree right now is sys/fs/union -- most file systems
use genfs_unlock, which does work on a reclaimed vnode.

Maybe we can work around this -- and still enable VOP_RECLAIM's
callees to assert lock ownership -- by having VOP_RECLAIM unlock the
vnode instead.
2017-04-16 16:48:08 +00:00
jmcneill 67f4fe25f5 Adapt for clock domain support 2017-04-16 15:52:43 +00:00
jmcneill 9d68f27c55 Init array no longer required 2017-04-16 15:52:16 +00:00
jmcneill 85435f6258 typo fix 2017-04-16 15:49:26 +00:00
jmcneill 156a4eed15 Disable SDR104 until the Tegra K1 custom tuning method is implemented.
This is required to work around errata that describes periodic data CRC
errors after autotuning has completed.
2017-04-16 13:27:19 +00:00
kamil b505cb2592 ATF test attach2/t_ptrace_wait* is unstable
Mark it broken with:

PR kern/52168 attach2:t_ptrace_wait* is unsable

In order to get reliable failure, abort this test at the end (if we get
there).
2017-04-16 13:09:40 +00:00
kamil 8cd63a3b3a Mark signal3/t_ptrace_wait* with timeout on sparc 32-bit
PR kern/52167 signal3/t_ptrace_wait* timeouts on sparc 32-bit

This test is also marked as failure on other platforms:

PR kern/51918 ptrace tracee can prevent tracer to get its signals by masking

Both issues are valid on sparc 32-bit, but the timeout one wins.
2017-04-16 12:50:59 +00:00
kamil a0fde0b9f7 Mark syscallemu1/t_ptrace_wait* broken on 32-bit sparc
PR kern/52166
2017-04-16 12:32:03 +00:00
jmcneill 443b940393 Add fclock(4) 2017-04-16 12:29:40 +00:00
jmcneill d374aef866 Add support for simple fixed-rate clock source bindings. 2017-04-16 12:29:20 +00:00
jmcneill e69bfca1e7 Add support for multiple clock domains in clk API. 2017-04-16 12:28:21 +00:00
jmcneill 92da0dd801 Remove list of init devices 2017-04-16 12:27:47 +00:00
jmcneill ad4ceac9f3 get cpu pll clock from devicetree 2017-04-16 12:26:04 +00:00
jmcneill 757d874dfd Attach devices in order of "phandle" property inserted by DTC. 2017-04-16 12:24:57 +00:00
jmcneill cf7b339f47 Get DC clock parent from devicetree 2017-04-16 12:22:18 +00:00
kamil b1bdad9a86 Restore atf_tc_expect_fail in signal4 of t_ptrace_wait*
Accidentally there was removed a PR, it was never fixed.

PR 51918 "ptrace tracee can prevent tracer to get its signals by masking"
2017-04-16 12:03:25 +00:00
ozaki-r ef3b2c8cef Revert "Mark tests of tunnel/AH/IPv6 as expected failure (PR kern/52161)"
The issue was fixed by christos@
2017-04-16 10:34:49 +00:00
wiz 6c4eff14a3 Wording. 2017-04-16 07:05:24 +00:00
wiz a180087b74 Merge "userland" to be consistent with other man pages. 2017-04-16 06:36:03 +00:00
wiz 47990f0cb9 More wording and whitespace. 2017-04-16 06:34:05 +00:00
sevan 1c38b13310 Cross reference the manuals for listed modules. 2017-04-15 23:33:52 +00:00
riastradh 5a3d793f2a regen to confirm no functional change 2017-04-15 23:21:46 +00:00
riastradh ce1c68db98 Keep vnode locked during VOP_RECLAIM.
No bump because it wouldn't have been possible to acquire the lock in
VOP_RECLAIM anyway -- instant deadlock because vn_lock waits to
transition out of the RECLAIMING state first.  Benefit is that we can
now assert ownership of the lock in any operations called by
VOP_RECLAIM.

Discussed on tech-kern:

https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html
2017-04-15 23:16:53 +00:00
christos 3d6520b363 cosmetic fixes:
- __func__ in printfs
	- no space after sizeof
	- eliminate useless casts
	- u_intX_t -> uintX_t
2017-04-15 22:01:57 +00:00
kamil 0c8a82569b Build without installation example lua kernel module: luareadhappy 2017-04-15 18:22:35 +00:00
sevan 8be58fcddd Add authors email address. 2017-04-15 18:03:02 +00:00
sevan d54d828920 Re-edit
Add authors email address
Remove mb(9) as it's depricated
Bump date

TODO:
Software & Hard interrupt context description.
2017-04-15 18:00:32 +00:00
riastradh c8bcfc34de No need for membar_datadep_consumer here.
PSLIST_READER_FOREACH takes care of it already.
PSLIST_WRITER_FOREACH is exclusive so doesn't need it.
2017-04-15 17:06:45 +00:00
skrll ef94a4990e Typo - although maybe the language should change 2017-04-15 14:00:30 +00:00
skrll 2d85f55340 Typo 2017-04-15 13:57:47 +00:00
kamil bce1cecb2e Add new documentation locking(9)
It's a document from June 2015.

DESCRIPTION
     The NetBSD kernel provides several synchronization and interrupt control
     primitives.  This manpage aims at giving an overview of these interfaces
     and their proper application.  This document includes also basic kernel
     thread control primitives and rough overview of the NetBSD kernel design.

Part of interfaces are missing, like new mechanisms for networking SMP,
as this documentation page predates them.

Initial review back in 2015 by Thomas Klausner <wiz>
2017-04-15 13:52:51 +00:00
abhinav c6e09f6896 Use Xr instead of Fn to refer readdir(3) 2017-04-15 10:30:55 +00:00
abhinav 811db621b8 Use Xr instead of Fn to refer kqueue(2) 2017-04-15 09:50:57 +00:00
sevan b44ab99898 Improve wording.
Bump date.
2017-04-15 05:01:59 +00:00
sevan 4ebe471d77 Improve wording.
Bump date.
2017-04-15 04:44:14 +00:00
kamil 502c2ed2ba Add new example kernel module in Lua luareadhappy
This example presents a C module with its device (/dev entry) and its
content generator with algorithm defined in Lua state. The Lua state can
be changed dynamically from userland, without interruption of read(2) over
the device.

This is an example how to call Lua code from C.
2017-04-15 04:27:30 +00:00
wiz fc8a50fff0 Improve wording. Use standard section headers. Improve table formatting. 2017-04-15 04:08:24 +00:00
wiz 29f6cd1b8a Improve wording. 2017-04-15 04:07:52 +00:00
kamil c1fa86b6a5 Add new documentation for klua_mod_register(9) and klua_lock(9)
Lua kernel bindings.
2017-04-15 03:33:05 +00:00
jmcneill a1e104d5ce Replace early init node name list with a list of compatible strings. 2017-04-15 00:35:12 +00:00
jmcneill 2a9f65654c Change order in which nodes in the devicetree are processed.
1. Attach all known busses.
2. Attach all "early init" devices (by compatible string).
3. Finally, attach all other devices.
2017-04-15 00:34:29 +00:00
jmcneill 899026e63c Remove simplebus driver and allow fdtbus to attach directly to itself. 2017-04-14 22:55:06 +00:00
christos 4a345c3145 PR/52161: Ryota Ozaki: Fix AH tunnel ipsec for ipv6. Compute plen right,
don't forget to subtract the ipv6 header length.
2017-04-14 22:35:05 +00:00
christos def487d659 - fix old refactoring which zeroed the wrong part of the buffer.
- simplify.
2017-04-14 22:29:17 +00:00