Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 10:42:04 UTC Now

2016-12-14 22:21:13 UTC MAIN commitmail json YAML

Tidy up and make it look like the other drivers.

(christos)

2016-12-14 22:14:28 UTC nick-nhusb commitmail json YAML

Remove one that won't happen

(skrll)

2016-12-14 22:09:21 UTC nick-nhusb commitmail json YAML

2016-12-14 21:52:43 UTC MAIN commitmail json YAML

correct spkr softc.

(christos)

2016-12-14 21:49:33 UTC MAIN commitmail json YAML

2016-12-14 20:34:17 UTC MAIN commitmail json YAML

no more constant pitch, now we can use all video memory

(macallan)

2016-12-14 19:33:33 UTC netbsd-7 commitmail json YAML

2016-12-14 19:29:31 UTC MAIN commitmail json YAML

The t_clock_subr test doesn't require rump.

(rjs)

2016-12-14 19:18:58 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1321):
sys/dev/usb/uchcom.c: revision 1.17
Followling an advice in a linux forum, don't update LCR1/LCR2.
With this change this CH340 usb/serial based device:
https://www.olimex.com/Products/Breadboarding/BB-CH340T/open-source-hardware
(the chip is written H340T)
works as expected. As I'm not sure if this is needed for older device,
make this change for sc_version 0x30 or newer only.
While there, match USB_PRODUCT_WINCHIPHEAD2_CH341_2 too.

(snj)

2016-12-14 19:16:56 UTC netbsd-7 commitmail json YAML

2016-12-14 19:16:14 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1320):
sys/dev/usb/usbdevs: revision 1.728
Rename "CH341 serial/parallel" to "CH341 USB-Serial Bridge", and
add a second device id for this chip.
From FreeBSD.

(snj)

2016-12-14 19:13:24 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1322):
sys/external/bsd/drm2/drm/drmfb.c: revision 1.3
sys/external/bsd/drm2/i915drm/intelfb.c: revision 1.14
sys/external/bsd/drm2/include/drm/drmfb.h: revision 1.2
sys/external/bsd/drm2/nouveau/nouveaufb.c: revision 1.4
add da_fb_linebytes to drmfb_attach_args and use it to pass linebytes
from nouveau code to drmfb. keep the same linebytes logic for i915.
nvidia hardware needs 256 byte alignment, so aligning to just 64 was
not enough.
fixes broken console with a width of 1440px (PR kern/51181)
ok riastradh

(snj)

2016-12-14 18:50:56 UTC MAIN commitmail json YAML

remove local lwp_eprio() definition that broke the clang build.

(mrg)

2016-12-14 16:51:44 UTC MAIN commitmail json YAML

2016-12-14 16:46:31 UTC MAIN commitmail json YAML

use host blits for image uploads on pm2

(macallan)

2016-12-14 16:05:34 UTC MAIN commitmail json YAML

Add "define ia64Architecture" for ia64 case; probably more changes needed later.

(scole)

2016-12-14 16:03:19 UTC MAIN commitmail json YAML

Make ia64 considered 64bit for the _XSERVER64 define so a release with x11 will at least build.

(scole)

2016-12-14 15:49:35 UTC MAIN commitmail json YAML

Change the freelists to lrulists, all vnodes are always on one
of the lists.  Speeds up namei on cached vnodes by ~3 percent.

Merge "vrele_thread" into "vdrain_thread" so we have one thread
working on the lrulists.  Adapt vfs_drainvnodes() to always wait
for a complete cycle of vdrain_thread().

(hannken)

2016-12-14 15:48:55 UTC MAIN commitmail json YAML

Move vnode members "v_freelisthd" and "v_freelist" from "struct vnode"
to "struct vnode_impl" and rename to "vi_lrulisthd" and "vi_lrulist".

No functional change intended.

Welcome to 7.99.48

(hannken)

2016-12-14 15:46:57 UTC MAIN commitmail json YAML

Remove the "target" argment from vfs_drainvnodes() as it is
always equal to "desiredvnodes" and move its definition
from sys/vnode.h to sys/vnode_impl.h.

Extend vfs_drainvnodes() to also wait for deferred vrele to flush
and replace the call to vrele_flush() with a call to vfs_drainvnodes().

(hannken)

2016-12-14 15:24:06 UTC MAIN commitmail json YAML

Add a HISTORY section
Move information about exit status to EXIT STATUS section
Add more xrefs

ok wiz@

(abhinav)

2016-12-14 15:11:29 UTC MAIN commitmail json YAML

Don't hold softc lock when calling ucom_read

PR/51714: uftdi (on xhci): mutex_vector_enter: locking against myself

(skrll)

2016-12-14 14:01:10 UTC MAIN commitmail json YAML

Comment out spkr at audio, as audio is commented out too

(martin)

2016-12-14 14:00:17 UTC MAIN commitmail json YAML

Comment out spkr at pcppi, as pcppi is commented out too.

(martin)

2016-12-14 13:04:42 UTC MAIN commitmail json YAML

Simplify (and no need for sub-shells).
Same functionality, same method, simpler exposition.

(kre)

2016-12-14 12:59:52 UTC MAIN commitmail json YAML

2016-12-14 11:19:15 UTC MAIN commitmail json YAML

fix race of gif_softc->gif_ro when we send multiple flows over gif on NET_MPSAFE enabled kernel.

make gif_softc->gif_ro percpu as well as ipforward_rt to resolve this race.
and add future TODO comment for etherip(4).

(knakahara)

2016-12-14 10:52:39 UTC netbsd-7 commitmail json YAML

Ammend #1305 for additional changes

(martin)

2016-12-14 10:50:52 UTC netbsd-7 commitmail json YAML

Pull up revisions 1.11 and 1.15, requested by snj in #1305:

don't look for libdrm_nouveau unless we've built it.
only build the radeon and nouveau drivers on i386/amd64/evbarm,
where they're useful.  this saves almost 2MB in text/data on shark.

(martin)

2016-12-14 10:46:12 UTC MAIN commitmail json YAML

Fix ip[46]csum-tx doesn't work other than TCP and UDP.

(msaitoh)

2016-12-14 08:22:33 UTC netbsd-7-0 commitmail json YAML

2016-12-14 08:21:39 UTC netbsd-7-0 commitmail json YAML

Apply patch (requested by kre in ticket #1324):
Update tz info.

(snj)

2016-12-14 08:21:17 UTC netbsd-7 commitmail json YAML

2016-12-14 08:20:42 UTC netbsd-7 commitmail json YAML

Apply patch (requested by kre in ticket #1324):
Update tz info.

(snj)

2016-12-14 07:37:26 UTC MAIN commitmail json YAML

Add tests for flushing prefix and default router entries

(ozaki-r)

2016-12-14 06:33:01 UTC MAIN commitmail json YAML

Reduce return points

No functional change intended.

(ozaki-r)

2016-12-14 06:26:04 UTC MAIN commitmail json YAML

Update TODO.ptrace

Add new entries:
- add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS,
  PT_SETFPREGS in all ports
- integrate all ptrace(2) features in gdb
- add ptrace(2) NetBSD support in LLDB

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-14 06:19:59 UTC MAIN commitmail json YAML

Define -D_KERNTYPES in CPPFLAGS unconditionally to fix MKRUMP=no build

Reported by Robert Swindells

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-14 04:13:50 UTC MAIN commitmail json YAML

Use macro to iterate on the nd_prefix list

(ozaki-r)

2016-12-14 04:05:11 UTC MAIN commitmail json YAML

2016-12-14 03:30:30 UTC MAIN commitmail json YAML

add wait_for_disconnected to run_test() as well as run_test6().

Before commited MP-safe patch, IPv4 test can run in time without
wait_for_disconnected. Currently, wait_for_disconnected is required
because of locking overhead.

(knakahara)

2016-12-14 02:50:42 UTC MAIN commitmail json YAML

Rename dump because it's used in net_common.sh

(ozaki-r)

2016-12-13 22:54:24 UTC MAIN commitmail json YAML

More changes for creds, mutex, etc.

(pgoyette)

2016-12-13 22:52:46 UTC MAIN commitmail json YAML

2016-12-13 22:49:02 UTC MAIN commitmail json YAML

Disable duplicate typedef

(pgoyette)

2016-12-13 22:41:46 UTC MAIN commitmail json YAML

2016-12-13 22:31:51 UTC MAIN commitmail json YAML

2016-12-13 22:17:33 UTC MAIN commitmail json YAML

2016-12-13 21:58:17 UTC MAIN commitmail json YAML

2016-12-13 21:50:32 UTC MAIN commitmail json YAML

2016-12-13 21:44:01 UTC MAIN commitmail json YAML

One more option for the opt_ file.

(pgoyette)

2016-12-13 20:50:13 UTC MAIN commitmail json YAML

fix format warning.

(christos)

2016-12-13 20:42:21 UTC MAIN commitmail json YAML

2016-12-13 20:20:34 UTC MAIN commitmail json YAML

2016-12-13 20:18:32 UTC MAIN commitmail json YAML

back to passing device

(christos)

2016-12-13 20:18:06 UTC MAIN commitmail json YAML

back to passing device_t

(christos)

2016-12-13 19:03:49 UTC MAIN commitmail json YAML

ping is not a reliable means of testing if connectivity to download sets
actually works, so remove it.
Hopefully fixes PR kern/51531.

(roy)

2016-12-13 18:00:10 UTC MAIN commitmail json YAML

2016-12-13 17:12:51 UTC MAIN commitmail json YAML

Add rescan for audio children.

(christos)

2016-12-13 13:09:00 UTC MAIN commitmail json YAML

Remove dbregs* in arch/amd64/t_ptrace_wait*

CPU Debug Registers won't be exposed as is to userland.

Hardware Watchpoints will be exported to userland dedicated interface
through the ptrace(2) interface.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-13 13:04:18 UTC MAIN commitmail json YAML

Add regs1 in arch/amd64/t_ptrace_wait*

regs1:
    Call PT_GETREGS and iterate over General Purpose registers

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-13 12:59:46 UTC MAIN commitmail json YAML

Define in CPPFLAGS symbol _KERNTYPES in order to get PRIxREGISTER

This type will be used in t_ptrace_wait* for the printf(3) function.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-13 12:25:05 UTC MAIN commitmail json YAML

Remove dbregs[12] from t_ptrace_wait{,3,4,6,id,pid}

CPU Debug Registers won't be exposed as is to userland.

Hardware Watchpoints will be exported to userland dedicated interface
through the ptrace(2) interface.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-13 11:01:10 UTC MAIN commitmail json YAML

options(4): Remove KSTACK_CHECK_DR0.

(kamil)

2016-12-13 11:00:20 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2016-12-13 10:55:40 UTC MAIN commitmail json YAML

KSTACK_CHECK_DR0 is no longer available

It used to detect stackoverflow on the i386 port.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-13 10:54:27 UTC MAIN commitmail json YAML

Torn down KSTACK_CHECK_DR0, i386-only feature to detect stack overflow

This feature was intended to detect stack overflow with CPU Debug Registers
(x86). It was never ported to other ports, neither amd64 and should be
adapted for SMP...

Currently there might be better ways to detect stack overflows like page
mapping protection. Since the number of Debug Registers is restricted
(4 on x86), torn it down completely.

This interface introduced helper functions for Debug Registers, they will
be replaced with the new <x86/dbregs.h> interface.

KSTACK_CHECK_DR0 was disabled by default and won't affect ordinary users.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-13 10:21:33 UTC MAIN commitmail json YAML

Switch x86 CPU Debug Register types from vaddr_t to register_t

This is more opaque and appropriate type, as vaddr_t is meant to be used
for vitual address value. Not all DR on x86 are used to represent virtual
address (DR6 and DR7 are definitely not).

No functional change intended.

Change suggested by <christos>

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-13 10:01:44 UTC MAIN commitmail json YAML

- Change to use 2500Base-KX correctly on C2000(I354). It worked, but the
output of ifconfig and if_baudrate was not good. Tested by nils@:
  - The STATUS_TBIMODE bit in the STATUS register is deleted since 82575,
    so check for 82575 and newer first and then check for old devices.
  - Check the 2P5_SKU and 2P5_SKU_OVER bit for KX.
  - Set IFM_2500_SX instead of IFM_1000_SX for 2.5G.
- Check SERDES's speed directly from the PCS layer (PCS_LSTS register) for old
  devices.
- Style fix.

(msaitoh)

2016-12-13 09:51:34 UTC MAIN commitmail json YAML

Add a bit for Mobile IPv6.

(rjs)

2016-12-13 09:44:35 UTC MAIN commitmail json YAML

Add initial TODO list for the ptrace(2) (and procfs) interface.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-13 08:29:03 UTC MAIN commitmail json YAML

2016-12-13 07:35:08 UTC netbsd-7-0 commitmail json YAML

2016-12-13 07:34:53 UTC netbsd-7 commitmail json YAML

2016-12-13 07:29:24 UTC netbsd-7 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1087.2.9 / diff / nxr@1.1087.2.9
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.1.2.4 / diff / nxr@1.1.1.1.2.4
src/external/public-domain/tz/dist/LICENSE@1.1.1.1.2.3 / diff / nxr@1.1.1.1.2.3
src/external/public-domain/tz/dist/Makefile@1.1.1.1.4.6 / diff / nxr@1.1.1.1.4.6
src/external/public-domain/tz/dist/NEWS@1.1.1.1.4.6 / diff / nxr@1.1.1.1.4.6
src/external/public-domain/tz/dist/README@1.1.1.1.4.3 / diff / nxr@1.1.1.1.4.3
src/external/public-domain/tz/dist/TZDATA_VERSION@1.6.4.2 / diff / nxr@1.6.4.2
src/external/public-domain/tz/dist/Theory@1.1.1.1.2.7 / diff / nxr@1.1.1.1.2.7
src/external/public-domain/tz/dist/africa@1.1.1.1.4.4 / diff / nxr@1.1.1.1.4.4
src/external/public-domain/tz/dist/antarctica@1.1.1.1.4.4 / diff / nxr@1.1.1.1.4.4
src/external/public-domain/tz/dist/asia@1.1.1.1.4.6 / diff / nxr@1.1.1.1.4.6
src/external/public-domain/tz/dist/australasia@1.1.1.1.4.5 / diff / nxr@1.1.1.1.4.5
src/external/public-domain/tz/dist/backward@1.1.1.1.4.5 / diff / nxr@1.1.1.1.4.5
src/external/public-domain/tz/dist/backzone@1.1.1.1.2.7 / diff / nxr@1.1.1.1.2.7
src/external/public-domain/tz/dist/etcetera@1.1.1.1.4.1 / diff / nxr@1.1.1.1.4.1
src/external/public-domain/tz/dist/europe@1.1.1.1.4.6 / diff / nxr@1.1.1.1.4.6
src/external/public-domain/tz/dist/factory@1.1.1.1.4.1 / diff / nxr@1.1.1.1.4.1
src/external/public-domain/tz/dist/iso3166.tab@1.1.1.1.4.3 / diff / nxr@1.1.1.1.4.3
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.1.4.4 / diff / nxr@1.1.1.1.4.4
src/external/public-domain/tz/dist/leapseconds@1.1.1.1.4.6 / diff / nxr@1.1.1.1.4.6
      :
(more 7 files)
Pull up following revision(s) (requested by kre in ticket #1324):
distrib/sets/lists/base/mi: 1.1125, 1.1128, 1.1132, 1.1137, 1.1139, 1.1140
external/public-domain/tz/dist/CONTRIBUTING: up to 1.1.1.3
external/public-domain/tz/dist/LICENSE: up to 1.1.1.2
external/public-domain/tz/dist/Makefile: up to 1.1.1.16
external/public-domain/tz/dist/NEWS: up to 1.1.1.16
external/public-domain/tz/dist/README: up to 1.1.1.5
external/public-domain/tz/dist/TZDATA_VERSION: up to 1.6
external/public-domain/tz/dist/Theory: up to 1.1.1.9
external/public-domain/tz/dist/africa: up to 1.1.1.9
external/public-domain/tz/dist/antarctica: up to 1.1.1.7
external/public-domain/tz/dist/asia: up to 1.1.1.15
external/public-domain/tz/dist/australasia: up to 1.1.1.10
external/public-domain/tz/dist/backward: up to 1.1.1.6
external/public-domain/tz/dist/backzone: up to 1.1.1.10
external/public-domain/tz/dist/etcetera: up to 1.1.1.2
external/public-domain/tz/dist/europe: up to 1.1.1.16
external/public-domain/tz/dist/factory: up to 1.1.1.2
external/public-domain/tz/dist/iso3166.tab: up to 1.1.1.4
external/public-domain/tz/dist/leap-seconds.list: up to 1.1.1.6
external/public-domain/tz/dist/leapseconds: up to 1.1.1.7
external/public-domain/tz/dist/northamerica: up to 1.1.1.14
external/public-domain/tz/dist/southamerica: up to 1.1.1.10
external/public-domain/tz/dist/version: up to 1.1.1.3
external/public-domain/tz/dist/zone.tab: up to 1.1.1.10
external/public-domain/tz/dist/zone1970.tab: up to 1.1.1.12
external/public-domain/tz/share/zoneinfo/Makefile: up to 1.3
external/public-domain/tz/tzdata2netbsd: up to 1.11
Update tzdata to 2016j.

(snj)

2016-12-13 07:28:23 UTC netbsd-7-0 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1087.2.7.2.2 / diff / nxr@1.1087.2.7.2.2
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.1.2.2.2.2 / diff / nxr@1.1.1.1.2.2.2.2
src/external/public-domain/tz/dist/LICENSE@1.1.1.1.4.3 / diff / nxr@1.1.1.1.4.3
src/external/public-domain/tz/dist/Makefile@1.1.1.1.4.4.2.2 / diff / nxr@1.1.1.1.4.4.2.2
src/external/public-domain/tz/dist/NEWS@1.1.1.1.4.4.2.2 / diff / nxr@1.1.1.1.4.4.2.2
src/external/public-domain/tz/dist/README@1.1.1.1.4.1.2.2 / diff / nxr@1.1.1.1.4.1.2.2
src/external/public-domain/tz/dist/TZDATA_VERSION@1.6.2.2 / diff / nxr@1.6.2.2
src/external/public-domain/tz/dist/Theory@1.1.1.1.2.5.2.2 / diff / nxr@1.1.1.1.2.5.2.2
src/external/public-domain/tz/dist/africa@1.1.1.1.4.3.2.1 / diff / nxr@1.1.1.1.4.3.2.1
src/external/public-domain/tz/dist/antarctica@1.1.1.1.4.3.2.1 / diff / nxr@1.1.1.1.4.3.2.1
src/external/public-domain/tz/dist/asia@1.1.1.1.4.4.2.2 / diff / nxr@1.1.1.1.4.4.2.2
src/external/public-domain/tz/dist/australasia@1.1.1.1.4.3.2.2 / diff / nxr@1.1.1.1.4.3.2.2
src/external/public-domain/tz/dist/backward@1.1.1.1.4.3.2.2 / diff / nxr@1.1.1.1.4.3.2.2
src/external/public-domain/tz/dist/backzone@1.1.1.1.2.5.2.2 / diff / nxr@1.1.1.1.2.5.2.2
src/external/public-domain/tz/dist/etcetera@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/public-domain/tz/dist/europe@1.1.1.1.4.4.2.2 / diff / nxr@1.1.1.1.4.4.2.2
src/external/public-domain/tz/dist/factory@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/external/public-domain/tz/dist/iso3166.tab@1.1.1.1.4.1.2.2 / diff / nxr@1.1.1.1.4.1.2.2
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.1.4.2.2.2 / diff / nxr@1.1.1.1.4.2.2.2
src/external/public-domain/tz/dist/leapseconds@1.1.1.1.4.4.2.2 / diff / nxr@1.1.1.1.4.4.2.2
      :
(more 7 files)
Pull up following revision(s) (requested by kre in ticket #1324):
distrib/sets/lists/base/mi: 1.1125, 1.1128, 1.1132, 1.1137, 1.1139, 1.1140
external/public-domain/tz/dist/CONTRIBUTING: up to 1.1.1.3
external/public-domain/tz/dist/LICENSE: up to 1.1.1.2
external/public-domain/tz/dist/Makefile: up to 1.1.1.16
external/public-domain/tz/dist/NEWS: up to 1.1.1.16
external/public-domain/tz/dist/README: up to 1.1.1.5
external/public-domain/tz/dist/TZDATA_VERSION: up to 1.6
external/public-domain/tz/dist/Theory: up to 1.1.1.9
external/public-domain/tz/dist/africa: up to 1.1.1.9
external/public-domain/tz/dist/antarctica: up to 1.1.1.7
external/public-domain/tz/dist/asia: up to 1.1.1.15
external/public-domain/tz/dist/australasia: up to 1.1.1.10
external/public-domain/tz/dist/backward: up to 1.1.1.6
external/public-domain/tz/dist/backzone: up to 1.1.1.10
external/public-domain/tz/dist/etcetera: up to 1.1.1.2
external/public-domain/tz/dist/europe: up to 1.1.1.16
external/public-domain/tz/dist/factory: up to 1.1.1.2
external/public-domain/tz/dist/iso3166.tab: up to 1.1.1.4
external/public-domain/tz/dist/leap-seconds.list: up to 1.1.1.6
external/public-domain/tz/dist/leapseconds: up to 1.1.1.7
external/public-domain/tz/dist/northamerica: up to 1.1.1.14
external/public-domain/tz/dist/southamerica: up to 1.1.1.10
external/public-domain/tz/dist/version: up to 1.1.1.3
external/public-domain/tz/dist/zone.tab: up to 1.1.1.10
external/public-domain/tz/dist/zone1970.tab: up to 1.1.1.12
external/public-domain/tz/share/zoneinfo/Makefile: up to 1.3
external/public-domain/tz/tzdata2netbsd: up to 1.11
Update tzdata to 2016j.

(snj)

2016-12-13 06:41:29 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #1323):
lib/libc/time/private.h: patch
lib/libc/time/zic.c: patch
Make zic properly parse newer tzdata files.

(snj)

2016-12-13 06:39:13 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #1323):
lib/libc/time/private.h: patch
lib/libc/time/zic.c: patch
Make zic properly parse newer tzdata files.

(snj)

2016-12-13 02:05:48 UTC MAIN commitmail json YAML

Constify ifp of if_is_deactivated

(ozaki-r)

2016-12-13 00:35:11 UTC MAIN commitmail json YAML

MP-safe pppoe(4).

Nearly all parts is implemented by Shoichi YAMAGUCHI<s-yamaguchi@IIJ>, thanks.

(knakahara)

2016-12-12 21:56:00 UTC MAIN commitmail json YAML

Bump for drm2 da_fb_linebytes

Welcome to 7.99.47

(maya)

2016-12-12 20:41:49 UTC MAIN commitmail json YAML

wtf tfw

Courtesy of i3enedek.

(riastradh)

2016-12-12 20:35:36 UTC MAIN commitmail json YAML

Handle functions that use the offset from either kinfo_proc2/kinfo_lwp properly.

(christos)

2016-12-12 19:45:56 UTC MAIN commitmail json YAML

add da_fb_linebytes to drmfb_attach_args and use it to pass linebytes
from nouveau code to drmfb. keep the same linebytes logic for i915.

nvidia hardware needs 256 byte alignment, so aligning to just 64 was
not enough.

fixes broken console with a width of 1440px (PR kern/51181)
ok riastradh

(maya)

2016-12-12 19:15:15 UTC MAIN commitmail json YAML

2016-12-12 17:03:41 UTC MAIN commitmail json YAML

Clean-up (remove redundant declarations, concentrate checks).

(flxd)

2016-12-12 16:47:06 UTC MAIN commitmail json YAML

Followling an advice in a linux forum, don't update LCR1/LCR2.
With this change this CH340 usb/serial based device:
https://www.olimex.com/Products/Breadboarding/BB-CH340T/open-source-hardware
(the chip is written H340T)
works as expected. As I'm not sure if this is needed for older device,
make this change for sc_version 0x30 or newer only.
While there, match USB_PRODUCT_WINCHIPHEAD2_CH341_2 too.

(bouyer)

2016-12-12 16:43:14 UTC MAIN commitmail json YAML

Regen for USB_PRODUCT_WINCHIPHEAD2_CH341_2

(bouyer)

2016-12-12 16:41:08 UTC MAIN commitmail json YAML

Rename "CH341 serial/parallel" to "CH341 USB-Serial Bridge", and
add a second device id for this chip.
From FreeBSD.

(bouyer)

2016-12-12 16:30:03 UTC MAIN commitmail json YAML

2016-12-12 15:58:45 UTC MAIN commitmail json YAML

2016-12-12 13:31:13 UTC MAIN commitmail json YAML

2016-12-12 13:17:56 UTC nick-nhusb commitmail json YAML

2016-12-12 13:15:39 UTC nick-nhusb commitmail json YAML

2016-12-12 13:13:12 UTC MAIN commitmail json YAML

Add missing files in distribution file lists to fix evbarm64-aarch64 build

Add ./usr/libdata/ldscripts/aarch64elf{,b}.xd{,c,w}

Tested with MKLLVM=yes and HAVE_LLVM=yes.

(kamil)

2016-12-12 11:49:27 UTC MAIN commitmail json YAML

Update audio man page with regard to audio changes.
OK wiz@

(nat)

2016-12-12 10:46:39 UTC MAIN commitmail json YAML

Mark bell_thread as static and dead.

(joerg)

2016-12-12 10:34:55 UTC MAIN commitmail json YAML

sig_atomic_t does not include volatile. Prevent static analysis from
understanding that the test function is dead.

(joerg)

2016-12-12 10:22:20 UTC netbsd-7 commitmail json YAML

2016-12-12 10:13:00 UTC MAIN commitmail json YAML

Improve wording. Fix typo. Remove superfluous Pp.

(wiz)

2016-12-12 10:10:06 UTC MAIN commitmail json YAML

New sentence, new line.
Sort SEE ALSO.

(wiz)

2016-12-12 10:09:52 UTC MAIN commitmail json YAML

2016-12-12 10:07:48 UTC MAIN commitmail json YAML

2016-12-12 10:01:17 UTC netbsd-7 commitmail json YAML

2016-12-12 09:56:59 UTC MAIN commitmail json YAML

fix accidentally if_pppoe atf failure depends on cpu workload.

advised by s-yamaguchi@IIJ, thanks.

(knakahara)

2016-12-12 09:55:30 UTC netbsd-7 commitmail json YAML

xsrc/external/mit/xf86-video-nouveau/dist/COPYING@1.1.1.1.2.2 / diff / nxr@1.1.1.1.2.2
xsrc/external/mit/xf86-video-nouveau/dist/ChangeLog@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/INSTALL@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/Makefile.am@1.1.1.1.2.2 / diff / nxr@1.1.1.1.2.2
xsrc/external/mit/xf86-video-nouveau/dist/Makefile.in@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/aclocal.m4@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/compile@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/config.guess@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/config.h.in@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/config.sub@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/configure@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/configure.ac@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/depcomp@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/install-sh@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/ltmain.sh@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/man/Makefile.am@1.1.1.1.2.2 / diff / nxr@1.1.1.1.2.2
xsrc/external/mit/xf86-video-nouveau/dist/man/Makefile.in@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/man/nouveau.man@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/missing@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xf86-video-nouveau/dist/src/Makefile.am@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
      :
(more 107 files)
r-sync-to-head for ticket #1304 requested by snj.

(msaitoh)

2016-12-12 09:34:08 UTC netbsd-7 commitmail json YAML

2016-12-12 09:32:35 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #1305):
distrib/sets/lists/xbase/md.amd64: revision 1.15 via patch
distrib/sets/lists/xbase/md.i386: revision 1.29
distrib/sets/lists/xcomp/md.amd64: revision 1.43 via patch
distrib/sets/lists/xcomp/md.i386: revision 1.48 via patch
distrib/sets/lists/xcomp/mi: revision 1.175
distrib/sets/lists/xdebug/md.amd64: revision 1.22 via patch
distrib/sets/lists/xdebug/md.i386: revision 1.21 via patch
distrib/sets/lists/xserver/md.amd64: revisions 1.85-1.87
distrib/sets/lists/xserver/md.i386: revision 1.103-1.105
external/mit/xorg/lib/Makefile: revision 1.36
external/mit/xorg/lib/gallium/Makefile: revision 1.8, 1.9
external/mit/xorg/lib/libdrm/drm/Makefile: revision 1.7
external/mit/xorg/lib/libdrm_nouveau/Makefile: revision 1.1
external/mit/xorg/lib/libdrm_nouveau/shlib_version: revision 1.1
external/mit/xorg/server/drivers/Makefile: revision 1.70
external/mit/xorg/server/drivers/xf86-video-nouveau/Makefile: revisions 1.1, 1.2 via patch
share/mk/bsd.own.mk: revision 1.875 via patch
Build xf86-video-nouveau and libdrm_nouveau on x86.

(msaitoh)

2016-12-12 09:17:36 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #1304):
external/mit/xorg-server/dist/include/list.h: revision 1.3
add list_append() macro that xf86-video-nouveau 1.0.11 wants.

(msaitoh)

2016-12-12 09:13:43 UTC netbsd-7 commitmail json YAML

src/sys/external/bsd/drm2/dist/drm/i915/i915_gpu_error.c@1.3.4.1 / diff / nxr@1.3.4.1
src/sys/external/bsd/drm2/dist/drm/nouveau/core/core/nouveau_core_object.c@1.2.4.1 / diff / nxr@1.2.4.1
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nouveau_engine_device_base.c@1.2.4.5 / diff / nxr@1.2.4.5
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nouveau_engine_disp_nvd0.c@1.1.1.1.4.2 / diff / nxr@1.1.1.1.4.2
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nouveau_engine_fifo_base.c@1.2.4.3 / diff / nxr@1.2.4.3
src/sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nouveau_engine_fifo_nv40.c@1.1.1.1.4.1 / diff / nxr@1.1.1.1.4.1
src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nouveau_subdev_devinit_nv04.c@1.1.1.1.4.2 / diff / nxr@1.1.1.1.4.2
src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/nouveau_subdev_mxm_mxms.c@1.1.1.1.4.1 / diff / nxr@1.1.1.1.4.1
src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/nouveau_subdev_mxm_nv50.c@1.1.1.1.4.2 / diff / nxr@1.1.1.1.4.2
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c@1.4.4.3 / diff / nxr@1.4.4.3
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_connector.c@1.2.4.1 / diff / nxr@1.2.4.1
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c@1.1.1.2.4.1 / diff / nxr@1.1.1.2.4.1
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_gem.c@1.2.4.2 / diff / nxr@1.2.4.2
src/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c@1.5.4.3 / diff / nxr@1.5.4.3
src/sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c@1.6.2.1 / diff / nxr@1.6.2.1
src/sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_driver.h@1.2.2.1 / diff / nxr@1.2.2.1
src/sys/external/bsd/drm2/drm/drm_vma_manager.c@1.1.4.4 / diff / nxr@1.1.4.4
src/sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h@1.4.2.5 / diff / nxr@1.4.2.5
src/sys/external/bsd/drm2/include/drm/ttm/ttm_page_alloc.h@1.1.4.1 / diff / nxr@1.1.4.1
src/sys/external/bsd/drm2/nouveau/nouveau_pci.c@1.3.2.7 / diff / nxr@1.3.2.7
src/sys/external/bsd/drm2/ttm/ttm_bus_dma.c@1.1.4.1 / diff / nxr@1.1.4.1

Pull up following revision(s) (requested by snj in ticket #1280):
sys/external/bsd/drm2/ttm/ttm_bus_dma.c: revision 1.2
sys/external/bsd/drm2/include/drm/drm_wait_netbsd.h: revision 1.14
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_dp.c: revision 1.2
sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c: revision 1.7
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/device/nouveau_engine_device_base.c: revision 1.11
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nouveau_engine_fifo_nv40.c: revision 1.2
sys/external/bsd/drm2/dist/include/drm/ttm/ttm_bo_driver.h: revision 1.3
sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c: revision 1.8
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_connector.c: revision 1.3
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_gem.c: revision 1.4
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/devinit/nouveau_subdev_devinit_nv04.c: revision 1.3
sys/external/bsd/drm2/dist/drm/nouveau/nouveau_bo.c: revision 1.7
sys/external/bsd/drm2/dist/drm/nouveau/core/core/nouveau_core_object.c: revision 1.3
sys/external/bsd/drm2/dist/drm/i915/i915_gpu_error.c: revision 1.4
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/nouveau_subdev_mxm_mxms.c: revision 1.2
sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/mxm/nouveau_subdev_mxm_nv50.c: revision 1.3
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/disp/nouveau_engine_disp_nvd0.c: revision 1.3
sys/external/bsd/drm2/dist/drm/nouveau/core/engine/fifo/nouveau_engine_fifo_base.c: revision 1.5
sys/external/bsd/drm2/include/drm/ttm/ttm_page_alloc.h: revision 1.2
sys/external/bsd/drm2/drm/drm_vma_manager.c: revision 1.4
sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.8
- fix non-debug build
- Use %"PRIx8", not %hx, for uint8_t.  %hx is for unsigned short.
- Flush unused function. Found by joerg.
- Make sure rbtrees are empty on desctruction.
  If related to PR kern/51076, might help catch the bug a bit earlier.
- revert rev 1.6.  we don't have access to those files as normal files
  and possible will get them directly elsewhere soon.
  (if i hack my nouveau to ignore fireware failure, it end up having
  a vaguely working console and slowly working X, which is better than
  the current situation.)
- Avoid possible null pointer dereference. Found by Coverity, CID 709895.
- Mark fallthrough to suppress Coverity complaints.
  CID 143119
  CID 143120
  CID 143121
  CID 143122
  CID 143123
  CID 143124
- Sanity-check that the encoder we found is not null.
  I think the previous code guarantees that finding this encoder should
  work, so this should be a moot point. CID 145720.
- Mark intended fallthrough to suppress Coverity CID 201378.
- Mark fallthrough with a comment to appease Coverity, CID 703385.
- Make it clearer to Coverity that there's no array overrun. CID 989067.
- Rework ttm tt swapin/swapout logic.
  Rather than handling `swapping in/out' here, per se, we let uvm do
  that, we interpret `swap out' as `deactivate pages', and we add
  generic ttm operations to wire and unwire pages, for the ttm_tt
  driver to use.
  This fixes certain graphics buffer eviction logic, which enables
  nouveau to suspend/resume on one of my machines.  (The machine
  doesn't resume overall for other reasons, but the nouveau device
  suspends and resumes in isolation.)
- Use bus_space_subregion to get fifo channels out of mmio registers.
  Evidently it is not enough to just map them separately.  Ran out of
  time to investigate why, last time I poked at this and confirmed this
  change works.
- Avoid taking locks during interrupts and explain why we are doing it this way.
- We now use cpu_intr_p() all the time.

(msaitoh)

2016-12-12 08:08:33 UTC netbsd-7 commitmail json YAML

2016-12-12 07:56:11 UTC netbsd-7-0 commitmail json YAML

2016-12-12 07:49:35 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1308):
usr.sbin/mld6query/mld6.c: revision 1.15
PR/51353: Patrick Mackey: mld6query  "-r" option is not recognised
XXX: pullup 7

(snj)

2016-12-12 07:49:01 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1308):
usr.sbin/mld6query/mld6.c: revision 1.15
PR/51353: Patrick Mackey: mld6query  "-r" option is not recognised
XXX: pullup 7

(snj)

2016-12-12 07:37:53 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1307):
lib/libterminfo/curterm.c: revisions 1.11, 1.12
lib/libterminfo/term.c: revisions 1.18-1.20
lib/libterminfo/termcap.c: revisions 1.18, 1.19
lib/libterminfo/terminfo.3: revision 1.13
lib/libterminfo/tparm.c: revision 1.16
terminfo.3: fix ti_puts prototype
--
PR/50092: Fix memory leak.
--
PR/50092: Rin Okuyama: Fix memory leak.
--
We have the max length; use snprintf.
--
From PR/50092:
- handle calling _ti_readterm with an existing initialized terminal
- simplify free code
Also:
- fix an inconsistency in userdefs count computation
--
Always copy the area buffer, even when the length was the same
(from Rin Okuyama)
--
- if we are freeing cur_term, set it to NULL.
- preserve and free "last" properly.
--
off-by-one in memcpy. Found by ASAN (Carsten Kunze)

(snj)

2016-12-12 07:30:20 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1306):
sys/kern/subr_xcall.c: revision 1.19
Fix a race condition of low priority xcall
xc_lowpri and xc_thread are racy and xc_wait may return during/before
executing all xcall callbacks, resulting in a kernel panic at worst.
xc_lowpri serializes multiple jobs by a mutex and a cv. If all xcall
callbacks are done, xc_wait returns and also xc_lowpri accepts a next job.
The problem is that a counter that counts the number of finished xcall
callbacks is incremented *before* actually executing a xcall callback
(see xc_tailp++ in xc_thread). So xc_lowpri accepts a next job before
all xcall callbacks complete and a next job begins to run its xcall callbacks.
Even worse the counter is global and shared between jobs, so if a xcall
callback of the next job completes, the shared counter is incremented,
which confuses wc_wait of the previous job as all xcall callbacks of the
previous job are done and wc_wait of the previous job returns during/before
executing its xcall callbacks.
How to fix: there are actually two counters that count the number of finished
xcall callbacks for low priority xcall for historical reasons (I guess):
xc_tailp and xc_low_pri.xc_donep. xc_low_pri.xc_donep is incremented correctly
while xc_tailp is incremented wrongly, i.e., before executing a xcall callback.
We can fix the issue by dropping xc_tailp and using only xc_low_pri.xc_donep.
PR kern/51632

(snj)

2016-12-12 07:29:16 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1306):
sys/kern/subr_xcall.c: revision 1.19
Fix a race condition of low priority xcall
xc_lowpri and xc_thread are racy and xc_wait may return during/before
executing all xcall callbacks, resulting in a kernel panic at worst.
xc_lowpri serializes multiple jobs by a mutex and a cv. If all xcall
callbacks are done, xc_wait returns and also xc_lowpri accepts a next job.
The problem is that a counter that counts the number of finished xcall
callbacks is incremented *before* actually executing a xcall callback
(see xc_tailp++ in xc_thread). So xc_lowpri accepts a next job before
all xcall callbacks complete and a next job begins to run its xcall callbacks.
Even worse the counter is global and shared between jobs, so if a xcall
callback of the next job completes, the shared counter is incremented,
which confuses wc_wait of the previous job as all xcall callbacks of the
previous job are done and wc_wait of the previous job returns during/before
executing its xcall callbacks.
How to fix: there are actually two counters that count the number of finished
xcall callbacks for low priority xcall for historical reasons (I guess):
xc_tailp and xc_low_pri.xc_donep. xc_low_pri.xc_donep is incremented correctly
while xc_tailp is incremented wrongly, i.e., before executing a xcall callback.
We can fix the issue by dropping xc_tailp and using only xc_low_pri.xc_donep.
PR kern/51632

(snj)

2016-12-12 07:25:16 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1303):
lib/libc/stdio/funopen.c: revision 1.15
PR/51572: calling funopen on each printw call is a tad excessive, but this
is not a reason for funopen to leak. Always call the close function since we
are indirecting through our cookie and we need to free it.

(snj)

2016-12-12 07:23:47 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1303):
lib/libc/stdio/funopen.c: revision 1.15
PR/51572: calling funopen on each printw call is a tad excessive, but this
is not a reason for funopen to leak. Always call the close function since we
are indirecting through our cookie and we need to free it.

(snj)

2016-12-12 07:18:29 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1302):
sys/dev/mii/igphyreg.h: revisions 1.7-1.10
sys/dev/mii/ikphyreg.h: revisions 1.3
sys/dev/mii/inbmphyreg.h: revisions 1.4-1.9
sys/dev/mii/mii.h: revisions 1.19-1.20
sys/dev/pci/if_wm.c: revisions 1.390, 1.392-1.395, 1.397, 1.419-1.425, 1.427-1.428, 1.430-1.435, 1.437-1.453 via patch
sys/dev/pci/if_wmreg.: revisions 1.89-1.93 via patch
sys/dev/pci/if_wmvar.h: revisions 1.31-1.32
Update wm(4) up to if_wm.c rev. 1.453 except MSI/MSI-X, multiqueue and
NET_MPSAFE:
- Add I219 support. It's not stable so it's disabled by default.
- wm_gate_hw_phy_config_ich8lan() is for younger than PCH2.
- Drop the host wakeup bit after resetting PHY on PCH and newer
  devices.
- Increase delay while toggling LANPHYPC
- Move call of wm_reset() in wm_attach() after setting PHY and NVM
  related flags because those flags are used in wm_reset().
- Use mutex for NVM access on ICH8 and newer devices. Same as FreeBSD.
- Rewrite PHY related lock stuff. Almost the same as FreeBSD.
  This change will fix a bug that PHY read/write fail on some cases.
- Increase delay in wm_phy_resetisblocked(). Same as FreeBSD.
- Use semaphore in wm_hv_phy_workaround_ich8lan() and
  wm_k1_gig_workaround_hv()
- Use wm_gii_mdic_readreg/writereg() in wm_access_phy_wakeup_reg_bm()
  because these functions are called with taking lock.
- 82567V_3 is BME1000_E_2(bm). Tested with Advantech AIMB-212 1st
  Ethernet port.
- Use wm_gmii_82544_{read,write}reg() on non-82567 ICH8, 9 and 10.
- Remove an 82578 workaround which was for PCH rev < 3. FreeBSD
  removed this workaround in r228386.
- Add an 82578 workaround which is for PHY rev < 2. From FreeBSD and
  Linux.
- Fix wm(4) input drop packet counter. WMREG_RNBC is incremented when
  there is no available buffers in host memory. However, ethernet
  controller can receive packets in such case if there is space in
  phy's FIFO. That is, ethernet controller drops packet only if there
  is no available buffers *and* there is no space in phy's FIFO. So,
  the number of dropped packets should be added WMREG_MPC only.
- Use MII_ADDRMASK.
- Define WMPHY_I217, WMPHY_VF and WMPHY_210.
- Use BME1000_PHY_PAGE_SELECT in wm_gmii_bm_{read,write}reg(). This
  change has no effect because GG82563_PHY_PAGE_SELECT and
  BME1000_PHY_PAGE_SELECT have the same value.
- Fix PHY access on  82567(ICH8 or ICH10), 82574 and 82583:
  - Use wm_gmii_bm_{read,write}reg() on 82574 and 82573.
  - Issue page select correctly on BM PHYs.
- Fix workaround which did dummy read BM_WUC register. This code was
  changed to drop BM_WUC_HOST_WU_BIT of BM_PROT_GEN_CFG register in
  FreeBSD r228386. The code was added rev. 1.149, but the location was
  not the best.
- wm_gmii_hv_{read/write}reg*(): USE PHY address 1 for some special
  registers.
- Add check code for an 82578 workaround. Not completed yet.
- wm_release_hw_control(): Remove extra line. No any effect.
- Add "10/100" into non-gigabit devices' name.
- Call wm_enable_wakeup() in wm_detach() and wm_suspend(). Now wake on
  lan works on Thinkpad X61(ICH8).
- Fix wm_access_phy_wakeup_reg_bm(). This change has no effect because
  this function is used for WUC register and our driver currenlty
  doesn't access to it.
- Call wm_enable_phy_wakeup() on PCH2 and newer, too. Now these devices
  can do WOL. Tested with Thinkpad X220(PCH2).
- Set CTRL_MEHE correctly (PCH_{LPT,SPT} only).
- Add three workarounds for PCH_{LPT,SPT}.
- Fix a bug that 8257[56], 82580, I35[04] and I21[01] didn't use
  wm_{get,release}_hw_control() correctly.
- Sync wm_smbustopci() with Linux and FreeBSD. This change effects PCH
  and newer devices.
- Move the location of wm_smbustopci() call.
- Fix flag check in wm_get_wakeup()
  - 8254[17]* and 8257[124] should not set WM_F_ARC_SUBSYS_VALID.
  - Add missing WM_T_82541_2 and WM_T_82547_2.
- Fix WOL related setting of the WUC register for other than PCH* in
  wm_enable_wakeup(). Tested with 82567V(ICH8) and 82583V.
- Use common MII_ADDRMASK.
- igphy(4): No binary change:
  - s/IGPPHY/IGPHY/
  - Fix the definition of PLHR_VALID_CHANNEL_*
  - Fix the definition of MSE_CHANNEL_*
  - Add MII_IGPHY_POWER_MGMT.
- Add some KASSERT.
- Add comment. Modify comment.
- Add debug code.

(snj)

2016-12-12 07:04:31 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1301):
sys/dev/mii/inphy.c: revision 1.55
sys/dev/mii/makphy.c: revision 1.42
sys/dev/mii/ikphy.c: revision 1.12
sys/dev/mii/atphy.c: revision 1.18
sys/dev/mii/ihphy.c: revision 1.10
Set mii_mpd_{oui,model,rev}.
--
Set mii_mpd_{oui,model,rev}.
--
Set mii_mpd_{oui,model,rev}.
--
Set mii_mpd_{oui,rev}.

(snj)

2016-12-12 04:20:31 UTC MAIN commitmail json YAML

fix placement of lint comment

(christos)

2016-12-12 03:59:24 UTC MAIN commitmail json YAML

Bump for MP-safe routing table

Welcome to 7.99.46

(ozaki-r)

2016-12-12 03:55:58 UTC MAIN commitmail json YAML

Make the routing table and rtcaches MP-safe

See the following descriptions for details.

Proposed on tech-kern and tech-net

Overview
--------

We protect the routing table with a rwock and protect
rtcaches with another rwlock. Each rtentry is protected
from being freed or updated via reference counting and psref.

Global rwlocks
--------------

There are two rwlocks; one for the routing table (rt_lock) and
the other for rtcaches (rtcache_lock). rtcache_lock covers
all existing rtcaches; there may have room for optimizations
(future work).

The locking order is rtcache_lock first and rt_lock is next.

rtentry references
------------------

References to an rtentry is managed with reference counting
and psref. Either of the two mechanisms is used depending on
where a rtentry is obtained. Reference counting is used when
we obtain a rtentry from the routing table directly via
rtalloc1 and rtrequest{,1} while psref is used when we obtain
a rtentry from a rtcache via rtcache_* APIs. In both cases,
a caller can sleep/block with holding an obtained rtentry.

The reasons why we use two different mechanisms are (i) only
using reference counting hurts the performance due to atomic
instructions (rtcache case) (ii) ease of implementation;
applying psref to APIs such rtaloc1 and rtrequest{,1} requires
additional works (adding a local variable and an argument).

We will finally migrate to use only psref but we can do it
when we have a lockless routing table alternative.

Reference counting for rtentry
------------------------------

rt_refcnt now doesn't count permanent references such as for
rt_timers and rtcaches, instead it is used only for temporal
references when obtaining a rtentry via rtalloc1 and rtrequest{,1}.
We can do so because destroying a rtentry always involves
removing references of rt_timers and rtcaches to the rtentry
and we don't need to track such references. This also makes
it easy to wait for readers to release references on deleting
or updating a rtentry, i.e., we can simply wait until the
reference counter is 0 or 1. (If there are permanent references
the counter can be arbitrary.)

rt_ref increments a reference counter of a rtentry and rt_unref
decrements it. rt_ref is called inside APIs (rtalloc1 and
rtrequest{,1} so users don't need to care about it while
users must call rt_unref to an obtained rtentry after using it.

rtfree is removed and we use rt_unref and rt_free instead.
rt_unref now just decrements the counter of a given rtentry
and rt_free just tries to destroy a given rtentry.

See the next section for destructions of rtentries by rt_free.

Destructions of rtentries
-------------------------

We destroy a rtentry only when we call rtrequst{,1}(RTM_DELETE);
the original implementation can destroy in any rtfree where it's
the last reference. If we use reference counting or psref, it's
easy to understand if the place that a rtentry is destroyed is
fixed.

rt_free waits for references to a given rtentry to be released
before actually destroying the rtentry. rt_free uses a condition
variable (cv_wait) (and psref_target_destroy for psref) to wait.

Unfortunately rtrequst{,1}(RTM_DELETE) can be called in softint
that we cannot use cv_wait. In that case, we have to defer the
destruction to a workqueue.

rtentry#rt_cv, rtentry#rt_psref and global variables
(see rt_free_global) are added to conduct the procedure.

Updates of rtentries
--------------------

One difficulty to use refcnt/psref instead of rwlock for rtentry
is updates of rtentries. We need an additional mechanism to
prevent readers from seeing inconsistency of a rtentry being
updated.

We introduce RTF_UPDATING flag to rtentries that are updating.
While the flag is set to a rtentry, users cannot acquire the
rtentry. By doing so, we avoid users to see inconsistent
rtentries.

There are two options when a user tries to acquire a rtentry
with the RTF_UPDATING flag; if a user runs in softint context
the user fails to acquire a rtentry (NULL is returned).
Otherwise a user waits until the update completes by waiting
on cv.

The procedure of a updater is simpler to destruction of
a rtentry. Wait on cv (and psref) and after all readers left,
proceed with the update.

Global variables (see rt_update_global) are added to conduct
the procedure.

Currently we apply the mechanism to only RTM_CHANGE in
rtsock.c. We would have to apply other codes. See
"Known issues" section.

psref for rtentry
-----------------

When we obtain a rtentry from a rtcache via rtcache_* APIs,
psref is used to reference to the rtentry.

rtcache_ref acquires a reference to a rtentry with psref
and rtcache_unref releases the reference after using it.
rtcache_ref is called inside rtcache_* APIs and users don't
need to take care of it while users must call rtcache_unref
to release the reference.

struct psref and int bound that is needed for psref is
embedded into struct route. By doing so we don't need to
add local variables and additional argument to APIs.

However this adds another constraint to psref other than
reference counting one's; holding a reference of an rtentry
via a rtcache is allowed by just one caller at the same time.
So we must not acquire a rtentry via a rtcache twice and
avoid a recursive use of a rtcache. And also a rtcache must
be arranged to be used by a LWP/softint at the same time
somehow. For IP forwarding case, we have per-CPU rtcaches
used in softint so the constraint is guaranteed. For a h
rtcache of a PCB case, the constraint is guaranteed by the
solock of each PCB. Any other cases (pf, ipf, stf and ipsec)
are currently guaranteed by only the existence of the global
locks (softnet_lock and/or KERNEL_LOCK). If we've found the
cases that we cannot guarantee the constraint, we would need
to introduce other rtcache APIs that use simple reference
counting.

psref of rtcache is created with IPL_SOFTNET and so rtcache
shouldn't used at an IPL higher than IPL_SOFTNET.

Note that rtcache_free is used to invalidate a given rtcache.
We don't need another care by my change; just keep them as
they are.

Performance impact
------------------

When NET_MPSAFE is disabled the performance drop is 3% while
when it's enabled the drop is increased to 11%. The difference
comes from that currently we don't take any global locks and
don't use psref if NET_MPSAFE is disabled.

We can optimize the performance of the case of NET_MPSAFE
on by reducing lookups of rtcache that uses psref;
currently we do two lookups but we should be able to trim
one of two. This is a future work.

Known issues
------------

There are two known issues to be solved; one is that
a caller of rtrequest(RTM_ADD) may change rtentry (see rtinit).
We need to prevent new references during the update. Or
we may be able to remove the code (perhaps, need more
investigations).

The other is rtredirect that updates a rtentry. We need
to apply our update mechanism, however it's not easy because
rtredirect is called in softint and we cannot apply our
mechanism simply. One solution is to defer rtredirect to
a workqueue but it requires some code restructuring.

(ozaki-r)

2016-12-12 03:14:02 UTC MAIN commitmail json YAML

Introduce macros for the prefix list

No functional change.

(ozaki-r)

2016-12-12 03:13:14 UTC MAIN commitmail json YAML

Introduce macros for the default router list

No functional change.

(ozaki-r)

2016-12-12 02:51:24 UTC MAIN commitmail json YAML

Make kernels w/o ACPICA compile.  (Same "fix" as Martin made to i386...)
cvs: ----------------------------------------------------------------------

(pgoyette)

2016-12-11 22:38:50 UTC MAIN commitmail json YAML

Make kernels w/o ACPICA compile.

(martin)

2016-12-11 21:25:23 UTC MAIN commitmail json YAML

Improve debug information.

(blymn)

2016-12-11 20:40:41 UTC MAIN commitmail json YAML

there was a bug fix in july.  call this 20160720.

(mrg)

2016-12-11 17:31:09 UTC nick-nhusb commitmail json YAML

2016-12-11 16:25:54 UTC MAIN commitmail json YAML

catch up with sd changes.

(christos)

2016-12-11 15:47:06 UTC MAIN commitmail json YAML

PR/51706: Amir Plivatsky: Fix memory leak

(christos)

2016-12-11 15:43:48 UTC MAIN commitmail json YAML

Add libprop for static linking

(christos)

2016-12-11 15:10:43 UTC nick-nhusb commitmail json YAML

2016-12-11 15:01:37 UTC MAIN commitmail json YAML

Fix some bugs introduced by the nick-nhusb merge and related to the
Tx Interrupt pipe transfer handling

While I'm here make some other changes moving towards MPification

PR/51151: athn panic on attach
PR/51458: usb athn panic

(skrll)

2016-12-11 12:51:09 UTC MAIN commitmail json YAML

Note scsictl(8) getrealloc and setrealloc commands.

(flxd)

2016-12-11 10:28:00 UTC MAIN commitmail json YAML

Improve a panic message with a bit details

(martin)

2016-12-11 08:40:10 UTC MAIN commitmail json YAML

2016-12-11 08:31:53 UTC MAIN commitmail json YAML

Kenter local_apic_va to a fake physical page, because our x86
implementation expects this va to be valid even if no lapic is present;
which probably is a bug in itself, but let's just reproduce the old
behavior and rehide that bug.

(maxv)

2016-12-11 08:30:39 UTC MAIN commitmail json YAML

2016-12-11 08:09:29 UTC MAIN commitmail json YAML

Update test output to reflect audio changes.

(nat)

2016-12-11 08:06:39 UTC MAIN commitmail json YAML

2016-12-11 08:04:17 UTC MAIN commitmail json YAML

Fix athn async stuff - the wakeup call should have been converted to
cv_broadcast.

While here remove unnecessary splusb usage.

(skrll)

2016-12-11 07:38:50 UTC MAIN commitmail json YAML

2016-12-11 07:37:53 UTC MAIN commitmail json YAML

Move default interface things from nd6_rtr.c to nd6.c

(ozaki-r)

2016-12-11 07:36:55 UTC MAIN commitmail json YAML

2016-12-11 07:36:30 UTC MAIN commitmail json YAML

PR 50613: Onno van der Linden: unpausing audio(4) causes already written
          data to be dropped.
Applied patch prepared by Onno.

(nat)

2016-12-11 07:36:20 UTC MAIN commitmail json YAML

Remove function declarations that have no actual definition

(ozaki-r)

2016-12-11 07:35:42 UTC MAIN commitmail json YAML

Correct sanity checks of icmp6_redirect_output

- rt->rt_ifp is always non-NULL
- Checking RTF_UP here is just racy and meaningless
- The arguments should be non-NULL (at least for now)

(ozaki-r)

2016-12-11 07:34:14 UTC MAIN commitmail json YAML

Remove unnecessary forward struct declarations

(ozaki-r)

2016-12-11 06:37:49 UTC MAIN commitmail json YAML

complete the transition to binutils-2.27

(christos)

2016-12-11 06:30:11 UTC MAIN commitmail json YAML

one more vaudiospeaker remove

(christos)

2016-12-11 05:27:00 UTC MAIN commitmail json YAML

Ensure variables are initialized.  Fixes error due to -Wmaybe-unitialized.

(nat)

2016-12-11 03:40:57 UTC MAIN commitmail json YAML

aarch64 builds work with binutils 2.27.  switch it.  hppa builds,
just needs a run time test if someone wants.  then we're done!

(mrg)

2016-12-11 03:38:09 UTC MAIN commitmail json YAML

Skip t_exect test because it makes test machines to hang

exect(NULL,NULL,NULL) generates 15859 times SIGTRAP on amd64
Currently exect(3) is misdesigned -- see PR port-amd64/51700 and it
needs to be redone from scratch.

This test affects amd64 releng machines causing tests to hang or
fail. As there is little point to test interface that is still not,
designed and implemented and implemented and is breaking tests - skip it
unconditionally for all ports.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-11 02:38:54 UTC MAIN commitmail json YAML

switch mips (32 bit) and arm to binutils 2.27.  hppa and aarch64 left.

(mrg)

2016-12-11 02:13:35 UTC MAIN commitmail json YAML

2016-12-11 01:53:44 UTC MAIN commitmail json YAML

src/external/gpl3/binutils/lib/libbfd/arch/aarch64/bfd.h@1.3 / diff / nxr@1.3
src/external/gpl3/binutils/lib/libbfd/arch/aarch64/bfdver.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libbfd/arch/aarch64/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libbfd/arch/mipseb/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/binutils/lib/libbfd/arch/mipseb/bfdver.h@1.12 / diff / nxr@1.12
src/external/gpl3/binutils/lib/libbfd/arch/mipseb/config.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/mipseb/defs.mk@1.6 / diff / nxr@1.6
src/external/gpl3/binutils/lib/libbfd/arch/mipsel/bfd.h@1.9 / diff / nxr@1.9
src/external/gpl3/binutils/lib/libbfd/arch/mipsel/bfdver.h@1.12 / diff / nxr@1.12
src/external/gpl3/binutils/lib/libbfd/arch/mipsel/config.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libbfd/arch/mipsel/defs.mk@1.6 / diff / nxr@1.6
src/external/gpl3/binutils/lib/libopcodes/arch/aarch64/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/lib/libopcodes/arch/mipseb/config.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/lib/libopcodes/arch/mipsel/config.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/usr.bin/common/arch/aarch64/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/usr.bin/common/arch/aarch64/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/binutils/usr.bin/common/arch/mipseb/config.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/usr.bin/common/arch/mipseb/defs.mk@1.10 / diff / nxr@1.10
src/external/gpl3/binutils/usr.bin/common/arch/mipsel/config.h@1.8 / diff / nxr@1.8
src/external/gpl3/binutils/usr.bin/common/arch/mipsel/defs.mk@1.10 / diff / nxr@1.10
      :
(more 9 files)
regen binutils mknative files for binutils 2.27 on mipsel, mipseb and aarch64.

(mrg)

2016-12-11 01:44:32 UTC MAIN commitmail json YAML

add a bunch of stuff i've done since netbsd-7.  fix a few entries.

(mrg)

2016-12-11 00:56:34 UTC MAIN commitmail json YAML

2016-12-11 00:34:39 UTC MAIN commitmail json YAML

Add aes-xts to cgdconfig(8).

(alnsn)

2016-12-11 00:28:45 UTC MAIN commitmail json YAML

2016-12-11 00:25:32 UTC MAIN commitmail json YAML

Added aes-xts to cgd(4).

(alnsn)

2016-12-11 00:24:48 UTC MAIN commitmail json YAML

Document AES-XTS in cgd(4).

(alnsn)

2016-12-11 00:23:44 UTC MAIN commitmail json YAML

AES XTS unit tests should now pass.

(alnsn)

2016-12-11 00:23:04 UTC MAIN commitmail json YAML

Welcome to 7.99.45.

cgd(4): struct cryptfuncs gets a new cf_cipher_prep member.

(alnsn)

2016-12-11 00:20:49 UTC MAIN commitmail json YAML

2016-12-10 23:40:03 UTC MAIN commitmail json YAML

revert binutils check polarity.  now we know that only these are
not updated to binutils 2.27: aarch64*, *arm*, hppa, mipse[lb]

(mrg)

2016-12-10 23:21:02 UTC MAIN commitmail json YAML

note that crash/sparc is unstable

(mrg)

2016-12-10 23:19:26 UTC MAIN commitmail json YAML

switch ppc* to binutils 2.27.

(mrg)

2016-12-10 23:12:40 UTC MAIN commitmail json YAML

Back in 1993 ${MACHINE} was a unique way to define objdirs for
every platform. Thus setting OBJMACHINE, allowed one to keep
in-tree objdirs with multiple builds. With the advent of evb*, this
has become impossible until now. Introduce OBJMACHINE_ARCH that
adds ${MACHINE_ARCH} to the objdir so that we have unique objdirs
per build again. Until we restructure things to that this is not
necessary, it is the simplest fix.

(christos)

2016-12-10 23:03:27 UTC MAIN commitmail json YAML

raidframe: use existing routines to print an error and panic.

fixes the i386 ALL build with clang which complained about the
format string not being a string literal, and lets us get rid of
rf_panicbuf.

note: kern_assert is not KASSERT. it should panic as long as the
string is not NULL.

No functional change intended.

(maya)

2016-12-10 23:03:26 UTC MAIN commitmail json YAML

2016-12-10 22:57:41 UTC MAIN commitmail json YAML

2016-12-10 22:37:12 UTC MAIN commitmail json YAML

remove VAUDIOSPEAKER, needs to be done differently.

(christos)

2016-12-10 22:36:28 UTC MAIN commitmail json YAML

remove VAUDIOSPEAKER, needs to be done differently.

(christos)

2016-12-10 22:09:50 UTC MAIN commitmail json YAML

2016-12-10 22:09:18 UTC MAIN commitmail json YAML

Fix the direction; ipf/pf seem to be wrong...

(christos)

2016-12-10 22:08:13 UTC MAIN commitmail json YAML

2016-12-10 21:33:53 UTC MAIN commitmail json YAML

2016-12-10 21:19:15 UTC MAIN commitmail json YAML

Add exect stub so "build.sh distribution" will compile

(scole)

2016-12-10 21:17:12 UTC MAIN commitmail json YAML

2016-12-10 21:04:12 UTC MAIN commitmail json YAML

2016-12-10 20:02:07 UTC MAIN commitmail json YAML

Remove outdated note in the PT_DUMPCORE call of the ptrace(2) man-page

Currently the PT_DUMPCORE call requires process to be stopped, therefore it
no longer need to warn about stoped tracee to generate consistent data.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-10 19:28:19 UTC MAIN commitmail json YAML

glint_drv.so.1.debug is not obsolete with XOrg server 1.18 any more

(martin)

2016-12-10 19:07:22 UTC MAIN commitmail json YAML

update for v18 conn list; more error checks

(christos)

2016-12-10 19:05:46 UTC MAIN commitmail json YAML

Welcome to version 18:
- Connection state keys are not stored and loaded using the logical key
  contents.
- connection finder key is stored in a map that contains the key and the
  direction.

(christos)

2016-12-10 19:02:18 UTC MAIN commitmail json YAML

Add missing extcalls array. This is currently a no-op, but this is what
userland does too. Allows npfctl save; npfctl load to work again.

(christos)

2016-12-10 17:41:44 UTC MAIN commitmail json YAML

Be explicit about precedence of operators
Appeases clang when building an ALL kernel

(maya)

2016-12-10 17:31:33 UTC MAIN commitmail json YAML

Avoid crashes in calcwater when audioattach did not fully complete

(martin)

2016-12-10 17:01:09 UTC MAIN commitmail json YAML

fix AUDIO_DEBUG build (it builds, it boots, it plays music)

typos (vhan to vchan), sc->sc_mode[n] to vc->sc_mode, etc.

(maya)

2016-12-10 16:08:04 UTC MAIN commitmail json YAML

remove redundant null check
allocating with KM_SLEEP can't fail

(maya)

2016-12-10 14:13:29 UTC MAIN commitmail json YAML

Fix typo; ".Lx" should be ".Nx"

(rin)

2016-12-10 14:06:44 UTC MAIN commitmail json YAML

Fix comment. We do not use the a.out format anymore...

(rin)

2016-12-10 14:03:34 UTC MAIN commitmail json YAML

Clear STRIPFLAG after include bsd.own.mk; it can be modified by mk.conf via
bsd.own.mk.

(rin)

2016-12-10 13:55:56 UTC MAIN commitmail json YAML

s/LIButil/LIBUTIL/ in DPADD

(rin)

2016-12-10 13:44:51 UTC MAIN commitmail json YAML

PR bin/50123 (myself): less and lesskey do not depend on libcurses and
libterminfo, respectively.

(rin)

2016-12-10 10:43:28 UTC MAIN commitmail json YAML

note crash for sparc

(mrg)

2016-12-10 10:42:43 UTC MAIN commitmail json YAML

enable sparc crash(8) builds.
it's not very stable yet but it's not 100% useless.

(mrg)