Commit Graph

246824 Commits

Author SHA1 Message Date
christos
e33f4e7ec2 Regen sh3 2016-12-04 18:43:07 +00:00
skrll
abe7dda6b4 Add a missing usb_syncmem(... BUS_DMASYNC_PRE{READ,WRITE}) for the
transfer buffer
2016-12-04 16:59:49 +00:00
christos
1d6d63b6d6 PR/51685: Kamil Rytarowski: Fill sigcontext info in kpsignal2 so that the
debugger/core-dump signal info gets filled in in all code paths (including
the lwp_kill one).
2016-12-04 16:40:43 +00:00
martin
9fba69f4c1 Fix debug entry for glint driver (no longer obsolete with 1.18) 2016-12-04 13:37:45 +00:00
skrll
02fbf32fa6 Fix a -Werror=sign-compare 2016-12-04 11:47:29 +00:00
maya
949eb6bfc4 Note new axe(4) chipset support. 2016-12-04 11:40:01 +00:00
skrll
ae2187513d Note all chipsets supported.
Bump date.
2016-12-04 11:31:55 +00:00
skrll
c5a90c121f Whitespace 2016-12-04 10:08:26 +00:00
skrll
1d558c76e2 Sync with FreeBSD/OpenBSD and add support for 88772B devices.
While I'm here convert to USB_DEBUG
2016-12-04 10:07:06 +00:00
maxv
eea9b1ed90 KNF and explain a few things 2016-12-04 08:21:08 +00:00
kamil
1a4e4ead74 Add dbregs_dr[0123]_trap_variable in arch/amd64/t_ptrace_wait*
Add new preliminary tests for testing that CPU Debug Registers can be used
to trap on a variable (write operation).

dbregs_dr0_trap_variable:
    Verify that setting trap with DR0 triggers SIGTRAP

dbregs_dr1_trap_variable:
    Verify that setting trap with DR1 triggers SIGTRAP

dbregs_dr2_trap_variable:
    Verify that setting trap with DR2 triggers SIGTRAP

dbregs_dr3_trap_variable:
    Verify that setting trap with DR3 triggers SIGTRAP

Sponsored by <The NetBSD Foundation>
2016-12-04 03:38:58 +00:00
christos
840d624913 Add missing ktrkuser 2016-12-03 22:28:16 +00:00
tsutsui
a8597f078b Mention luna68k HD647180X I/O processor support. 2016-12-03 19:15:27 +00:00
flxd
11a5313a42 newline 2016-12-03 18:18:12 +00:00
flxd
cb798baa56 Print warning for problematic switch configuration. 2016-12-03 18:12:50 +00:00
tsutsui
97d3c24f2a Preliminary support for LUNA's HD647180X I/O processor (a.k.a. XP).
Demonstrated as "PSG tunes / PCM wav player on LUNA"
(using Z80 PSG/PCM drivers ported from NEC PC-6001)
at OSC2016 Kyoto and OSC2016 Hiroshima:
 http://mail-index.netbsd.org/netbsd-advocacy/2016/08/01/msg000712.html
 http://mail-index.netbsd.org/netbsd-advocacy/2016/11/29/msg000724.html
2016-12-03 17:38:02 +00:00
macallan
1c7cf5e0f4 there is no pm2_exa.c yet 2016-12-03 16:41:34 +00:00
macallan
fbfd0b265f - build glint driver on macppc
- reenable it on sparc64
2016-12-03 16:38:15 +00:00
christos
c4cb6918e1 switch sparc/sparc64 to binutils 227 2016-12-03 16:02:10 +00:00
christos
b1a05e3501 switch alpha/sparc/sparc64 to new binutils 2016-12-03 16:01:18 +00:00
christos
23623c849a struct cpu_info is varible size when page_size is not fixed. 2016-12-03 16:00:10 +00:00
riastradh
18f9dbe565 Directories are unconditional and hence must be untagged. 2016-12-03 15:18:41 +00:00
maxv
d5c86237f5 Fix a wrong flag and KNF. 2016-12-03 09:20:55 +00:00
kamil
a58716a3f0 Add new tests lwpinfo1 in t_ptrace_wait* and lwpinfo2 under HAVE_PID guard
lwpinfo1:
    Verify baic LWPINFO call for single thread (PT_TRACE_ME)

lwpinfo2:
    Verify baic LWPINFO call for single thread (PT_ATTACH from tracer)

Both tests are marked as expected failure PR kern/51685:
    ptrace(2): Signal does not set PL_EVENT_SIGNAL in
    (struct ptrace_lwpinfo.)pl_event

Sponsored by <The NetBSD Foundation>
2016-12-03 07:23:08 +00:00
christos
1b08d10df9 move alpha to new binutils 2016-12-03 04:06:25 +00:00
mrg
15bdea6a19 add a basic "-b" option - that outputs one display and exits.
inspired by "top -b".  still requires a curses-capable output
without some fairly significant internal restructuring.
2016-12-03 03:26:27 +00:00
christos
2de9513676 switch mips64 to new binutils and gdb. 2016-12-03 02:18:38 +00:00
kamil
4b9f3a9f8a Define new tests for CPU Debug Registers in t_ptrace_wait{,3,4,6,id,pid}
Rename dbregs1 to dbregs_print
Rename dbregs[2345] to dbregs_preserve_dr[0123]

Add new tests dbregs_preserve_dr[0123]_yield.

dbregs_preserve_dr0_yield:
     Verify that setting DR0 is preserved across ptrace(2) calls with
     scheduler yield

dbregs_preserve_dr1_yield:
     Verify that setting DR1 is preserved across ptrace(2) calls with
     scheduler yield

dbregs_preserve_dr2_yield:
     Verify that setting DR2 is preserved across ptrace(2) calls with
     scheduler yield

dbregs_preserve_dr3_yield:
     Verify that setting DR3 is preserved across ptrace(2) calls with
     scheduler yield

Add new tests dbregs_preserve_dr[0123]_continued.

dbregs_preserve_dr0_continued:
    Verify that setting DR0 is preserved across ptrace(2) calls and with
    continued child

dbregs_preserve_dr1_continued:
    Verify that setting DR1 is preserved across ptrace(2) calls and with
    continued child

dbregs_preserve_dr2_continued:
    Verify that setting DR2 is preserved across ptrace(2) calls and with
    continued child

dbregs_preserve_dr3_continued:
    Verify that setting DR3 is preserved across ptrace(2) calls and with
    continued child

Use more meaningful names for these tests as they are MD specific and
testing precise functionality. Also there will be a growing number of
tests in this category and prefixing everything with plain dbregs and
trailing with a number cannot be verbose.

Sponsored by <The NetBSD Foundation>
2016-12-03 01:41:15 +00:00
christos
5b0871f5ea regen mips64 2016-12-03 00:40:47 +00:00
macallan
176218773a build pm3_exa 2016-12-02 22:59:17 +00:00
christos
5a6cfab10a provide a tree like display with -d, from FreeBSD 2016-12-02 21:59:03 +00:00
christos
d10d9a2322 fix test lib/librumphijack/t_sh/runscript
(handle F_DUPFD_CLOEXEC that the shell is now using)
2016-12-02 20:53:36 +00:00
christos
b293c8a9d7 Add unwind action type and constants 2016-12-02 19:25:19 +00:00
christos
0ab93415f3 switch m68k to new binutils and gdb 2016-12-02 17:54:35 +00:00
christos
787b0418af regen m68k 2016-12-02 17:51:07 +00:00
tsutsui
540167e84a Fix crashdump on machines with EXTENDED_MEMORY.
PR port-x68k/51663 from Rin Okuyama.
2016-12-02 12:43:07 +00:00
msaitoh
daab61de0e Update ixg(4) and ixv(4) up to FreeBSD r294578:
- Fixup SFP module insertion on the 82599 when insertion happens after
  the system is booted and running. Add PHY detection logic to
  ixgbe_handle_mod() and add locking to ixgbe_handle_msf() as well.
  FreeBSD r293334.
- Fix ix advertise value after media change. When ifconfig sets media then the
  values displayed by the advertise_speed value are invalidated.
  Fix this by setting the bits correctly including setting advertise to 0 for
  media = auto. FreeBSD r294578.
- Some others (e.g. LRO(not used by NetBSD)).
2016-12-02 12:14:37 +00:00
msaitoh
c0574abec5 Fix ix{gbe,v}_set_sysctlvalue(). 2016-12-02 11:56:55 +00:00
msaitoh
e339bcee96 Add ixgbe_osdep.c. 2016-12-02 10:48:11 +00:00
msaitoh
e8248b5bb6 - Add missing pmf_device_deregister() in ixgbe_detach()
- Remove extra newline from an sysctl description.
- Fix dmesg output when the number of PCIe lane can't get.
2016-12-02 10:46:58 +00:00
msaitoh
1160ab7951 Update ixg(4) and ixv(4) up to FreeBSD r292674:
- Add X552 SFP+ and X550T single port.
- Bug fixes.
2016-12-02 10:42:04 +00:00
msaitoh
0e1d573dba Update ixg(4) and ixv(4) up to FreeBSD r289238:
- Add support for sysctl knobs to live tune the per interrupt rx/tx packet
  processing limits in ixgbe(4)
- Some others (netmap, etc.)
2016-12-02 10:34:23 +00:00
msaitoh
f0e3127a11 Update ixg(4) and ixv(4) up to FreeBSD r285590:
- Fix igxbe SRIOV VF (if_ixv) initialization bugs.  The MAC address for
  an if_ixv instance can now set at creation time, and the receive ring
  tail pointer is correctly initialized (previously, things still worked
  because the receive ring tail pointer was being fixed up as a side
  effect of other activity).
2016-12-02 10:24:31 +00:00
msaitoh
001a98a41d Update ixg(4) and ixv(4) up to FreeBSD r283881:
- SRIOV support (not enabled because NetBSD doesn't support it).
2016-12-02 10:21:43 +00:00
kamil
0904a3bc79 Add new tests dbregs[2345] in MD arch/amd64/ t_ptrace_wait{,3,4,6,id,pid}
dbregs2:
    Verify that setting DR0 is preserved across ptrace(2) calls

dbregs3:
    Verify that setting DR1 is preserved across ptrace(2) calls

dbregs4:
    Verify that setting DR2 is preserved across ptrace(2) calls

dbregs5:
    Verify that setting DR3 is preserved across ptrace(2) calls

These tests are deliberately fine-grained as they are expected to penetrate
precisely each functional aspect of CPU Debug Registers on amd64 one after
another.

These tests (and MI ones) might be generated or merged with helper
functions, however in order to copy-and-paste them out of a test-suite and
quickly port to other platform (in order to compare results) it's useful to
keep them as stand-alone as they are.

Code from these tests might be shared with other ports in future, for the
same reason keep them currently as they are.

Sponsored by <The NetBSD Foundation>
2016-12-02 06:49:00 +00:00
knakahara
a3ee55e14c fix typo. ping6 deadline option is not "-w" but "-X". 2016-12-02 06:19:50 +00:00
kamil
96cf2030eb Refactor location of amd64-specific ATF tests to new dir kernel/arch/amd64
Rename
 - tests/kernel/t_ptrace_amd64_wait.c
to
 - tests/kernel/arch/amd64/t_ptrace_wait.c
and adapt appropriate files accordingly.

New directory will be used for more amd64-specific tests, verifying the
MD parts of the kernel.

Remove old entries from distrib/sets/lists as they were added a while ago.

Sponsored by <The NetBSD Foundation>
2016-12-02 05:54:14 +00:00
knakahara
5c3ea1ee6e fix accidentally if_pppoe atf failure depends on cpu workload. 2016-12-02 05:28:27 +00:00
riastradh
ad4751da4c Respect MKSHARE=no. 2016-12-02 02:41:54 +00:00
riastradh
73a060fc54 Mark lvm and npf shlibs as such. 2016-12-02 02:30:47 +00:00