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 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 16:26:58 UTC Now

2017-12-31 07:23:09 UTC MAIN commitmail json YAML

2017-12-31 07:22:55 UTC MAIN commitmail json YAML

2017-12-31 06:57:12 UTC MAIN commitmail json YAML

Check MT_FREE by default, and not just under DEBUG (or DIAGNOSTIC). This
code is fast, with an nonexistent overhead - and we already take care of
setting MT_FREE, so why not check it.

In addition, stop registering the function name, that's not helpful since
the MBUFFREE macro is local. Instead, set m_data to NULL, so that any
access to a freed mbuf's data after mtod() or similar will page fault.

The combination of these two changes provides a fast and efficient way of
detecting use-after-frees in the network stack.

(maxv)

2017-12-31 03:38:06 UTC MAIN commitmail json YAML

explain that a.out never shipped on x86_64 and put back compat_nomid

(christos)

2017-12-31 03:29:18 UTC MAIN commitmail json YAML

2017-12-31 03:08:49 UTC MAIN commitmail json YAML

add trivial handling for DW_ATE_UTF, does not work.

(christos)

2017-12-31 03:04:44 UTC MAIN commitmail json YAML

factor out common code from Poul-Henning Kamp.

(christos)

2017-12-31 03:02:23 UTC MAIN commitmail json YAML

2017-12-31 00:53:29 UTC MAIN commitmail json YAML

Enable Gigabit Ethernet on Nano Pi Neo Plus 2.

(jakllsch)

2017-12-30 23:24:19 UTC MAIN commitmail json YAML

In addition to previous the which fixed a (harmless) MSAN detected ref
of uninit'd field also fix a couple more (still harmless) related
technical C usage bugs.

Explaining why these issues were harmless would take too long to include here.

(kre)

2017-12-30 22:02:34 UTC MAIN commitmail json YAML

Use the default ATF timeout instead of a reduced one of 5 seconds,
which isn't enough for pmax under gxemul on babylon5.netbsd.org.

(gson)

2017-12-30 20:42:28 UTC MAIN commitmail json YAML

initialize just used and prev_job

(christos)

2017-12-30 17:59:25 UTC MAIN commitmail json YAML

Fix usage of sysarch(ALPHA_FPGETMASK)

(martin)

2017-12-30 17:06:27 UTC MAIN commitmail json YAML

Double the nanosleep() time to make the test work more reliably on my
dual CPU alpha (where previously we sometimes ended up with no delay
at all).

(martin)

2017-12-30 16:53:34 UTC MAIN commitmail json YAML

Skip all tests on architectures w/o ifunc linker/ld.elf_so support.

(martin)

2017-12-30 16:35:03 UTC MAIN commitmail json YAML

Implement helper function for alpha

(martin)

2017-12-30 03:19:23 UTC MAIN commitmail json YAML

fix default value (Brad Spenser)

(christos)

2017-12-30 03:18:26 UTC MAIN commitmail json YAML

2017-12-30 01:21:25 UTC MAIN commitmail json YAML

initialize the jobtab; it is easier than putting checks for used everywhere.

(christos)

2017-12-30 00:14:19 UTC MAIN commitmail json YAML

Add support for A64 eMMC controller

(jmcneill)

2017-12-29 18:15:49 UTC MAIN commitmail json YAML

Add startup file for dhcp v6 with builtin isc-dhcp. Alas, this needs to
be a seperate process. On the positive side: this can't break the dhcpd
for IPv4 when tested.

(is)

2017-12-29 16:13:26 UTC MAIN commitmail json YAML

Don't release the lock in the PR_NOWAIT allocation. Move flags setting
after the acquiring the mutex. (from Tobias Nygren)

(christos)

2017-12-29 14:47:10 UTC MAIN commitmail json YAML

New sentence, new line. Use more markup.

(wiz)

2017-12-29 11:07:03 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2017-12-29 11:06:27 UTC MAIN commitmail json YAML

Set attached to true when attach completes.

Reported by Ramakrishna Rao Desetti on port-arm

(skrll)

2017-12-29 09:27:01 UTC MAIN commitmail json YAML

Simplify, don't use ifdefs to optimize out DIAGNOSTIC assertions.
Make the test for the n32/n64 case meaningful.

tested on pmax (o32).

(maya)

2017-12-29 08:58:57 UTC MAIN commitmail json YAML

2017-12-29 08:56:49 UTC MAIN commitmail json YAML

KNF
cvS: ----------------------------------------------------------------------

(skrll)

2017-12-29 08:15:21 UTC MAIN commitmail json YAML

Make a \ go away...

(kre)

2017-12-29 07:53:33 UTC MAIN commitmail json YAML

2017-12-29 03:05:13 UTC MAIN commitmail json YAML

2017-12-29 03:04:56 UTC MAIN commitmail json YAML

While SH3 is no longer an exception, m68000 still is.

(sevan)

2017-12-29 02:20:47 UTC MAIN commitmail json YAML

2017-12-29 02:19:45 UTC MAIN commitmail json YAML

Fix modules build.

(christos)

2017-12-29 02:18:34 UTC MAIN commitmail json YAML

2017-12-29 02:14:25 UTC MAIN commitmail json YAML

2017-12-28 23:31:07 UTC MAIN commitmail json YAML

2017-12-28 23:28:01 UTC MAIN commitmail json YAML

2017-12-28 23:24:30 UTC MAIN commitmail json YAML

XXX: Test for the new two environmental drivers

(christos)

2017-12-28 23:23:47 UTC MAIN commitmail json YAML

2017-12-28 23:16:57 UTC MAIN commitmail json YAML

2017-12-28 23:16:42 UTC MAIN commitmail json YAML

2017-12-28 23:16:15 UTC MAIN commitmail json YAML

2017-12-28 23:15:45 UTC MAIN commitmail json YAML

2017-12-28 23:14:49 UTC MAIN commitmail json YAML

2017-12-28 23:14:42 UTC MAIN commitmail json YAML

2017-12-28 22:42:36 UTC MAIN commitmail json YAML

PR/52848: Brad Spencer: Comment out KASSERT, length 0 appears to be valid.

(christos)

2017-12-28 18:41:34 UTC MAIN commitmail json YAML

mips panic should be fixed on head.

(christos)

2017-12-28 18:29:45 UTC MAIN commitmail json YAML

provide separate read and write functions to accomodate register functions
that need a size argument.

(christos)

2017-12-28 17:51:49 UTC MAIN commitmail json YAML

2017-12-28 17:51:19 UTC MAIN commitmail json YAML

- add ddb.panicstackframes to avoid scrolling the interesting parts of panic
  stacktraces off.
- change valuep to void * to avoid casts
- sort and use c99 initializers in variables array

(christos)

2017-12-28 15:12:16 UTC MAIN commitmail json YAML

PR/52837: Michael Kaufmann: getaddrinfo() resolves "127.0.0.1 www.example.com"
to 127.0.0.1. Apply the patch from FreeBSD and explain the rationale.

(christos)

2017-12-28 14:34:39 UTC MAIN commitmail json YAML

Use variables in PMAP_DIRECT_*, so that the location of the direct map can
change.

(maxv)

2017-12-28 14:03:13 UTC MAIN commitmail json YAML

Eliminate the assumption that the beginning of the direct map is aligned
to NBPD_L4 and NBPD_L3. It won't be when we'll randomize its location.

(maxv)

2017-12-28 14:02:08 UTC MAIN commitmail json YAML

Initialize drm_device bus and dma space tags

(jmcneill)

2017-12-28 13:46:10 UTC MAIN commitmail json YAML

Downgrade the direct map from 1GB superpages to 2MB large pages, and
simplify. Then, map the "head" region and the kernel segments as RO instead
of RW, to kill the last place that has .text mapped as writable. It will
also allow for a greater number of possibilities when we will randomize
the direct map.

While it is true that this change theoretically reduces performance a bit,
we are more interested in correctness.

(maxv)

2017-12-28 09:47:52 UTC MAIN commitmail json YAML

atf: ptrace: Temporarily skip fpregs* tests on pmax

NetBSD/pmax 8.99.9 panics when attempting to use fpregs through ptrace(2).

Sponsored by <The NetBSD Foundation>

(kamil)

2017-12-28 08:49:28 UTC MAIN commitmail json YAML

Style, export struct acpisrat_node, and add acpisrat_get_node.

(maxv)

2017-12-28 08:30:36 UTC MAIN commitmail json YAML

2017-12-28 07:46:34 UTC MAIN commitmail json YAML

2017-12-28 07:10:26 UTC MAIN commitmail json YAML

2017-12-28 07:09:31 UTC MAIN commitmail json YAML

Functionalize some routines to add new tests easily (NFC)

(ozaki-r)

2017-12-28 07:06:36 UTC MAIN commitmail json YAML

Ensure the timer isn't running by using workqueue_wait

(ozaki-r)

2017-12-28 07:00:52 UTC MAIN commitmail json YAML

Add workqueue_wait that waits for a specific work to finish

The caller must ensure that no new work is enqueued before calling
workqueue_wait. Note that Note that if the workqueue is WQ_PERCPU, the caller
can enqueue a new work to another queue other than the waiting queue.

Discussed on tech-kern@

(ozaki-r)

2017-12-28 06:13:50 UTC MAIN commitmail json YAML

Don't use MSI-X if we can use only one queue to save interrupt resource.
Written by knakahara and tested by me.

(msaitoh)

2017-12-28 06:10:01 UTC MAIN commitmail json YAML

Fallback from MSI-X to MSI or INTx if MSI-X setup failed.

(msaitoh)

2017-12-28 05:43:42 UTC MAIN commitmail json YAML

- Fix panic in xhci_pci_detach() if xhci_pci_attach() failed.
- Fallback from MSI to INTx correctly.

(msaitoh)

2017-12-28 04:38:02 UTC MAIN commitmail json YAML

Fix a race condition on taking the mutex

The workqueue worker can take the mutex before the tester tries to take it after
calling workqueue_enqueue. If it happens, the worker calls cv_broadcast before
the tester calls cv_timedwait and the tester will wait until the cv timed out

Take the mutex before calling workqueue_enqueue so that the tester surely calls
cv_timedwait before the worker calls cv_broadcast.

The fix stabilizes the test, t_workqueue/workqueue1.

(ozaki-r)

2017-12-28 04:36:15 UTC MAIN commitmail json YAML

Tweak use of cv_timedwait

- Handle its return value
- Specify more appropriate time-out periods (2 ticks is too short)

(ozaki-r)

2017-12-28 03:39:48 UTC MAIN commitmail json YAML

Prevent panic or hangup in softint_disestablish(), pserialize_perform() or
psref_target_destroy() while mp_online == false.

See http://mail-index.netbsd.org/tech-kern/2017/12/25/msg022829.html

(msaitoh)

2017-12-27 21:34:12 UTC MAIN commitmail json YAML

Better EXTERNAL_TOOLCHAIN support from Zachary McGrew
- Allow mdsetimage and dbsym to be built with EXTERNAL_TOOLCHAIN
- Allow BFDDIR and IBERTYDIR to be overwritten for mdsetimage and dbsym

(christos)

2017-12-27 20:27:02 UTC MAIN commitmail json YAML

PR/52868: Petar Bogdanovic: Add support for Manhattan 158220 card

(christos)

2017-12-27 19:35:05 UTC MAIN commitmail json YAML

PR/52867: Martin Husemann: arm sofware breakpoint asm is slightly off

ARM uses an undefined instruction to emulate a software breakpoint.
However, the ptrace.h instruction on the one hand, and gdb/the kernel
disagree on the exact value.

This causes PTRACE_BREAKPOINT_ASM to generate a SIGILL instead of a SIGTRAP.

(christos)

2017-12-27 19:20:41 UTC MAIN commitmail json YAML

remove unused code
XXX: we should remove this from all archs

(christos)

2017-12-27 19:20:04 UTC MAIN commitmail json YAML

one more place to pass the thread id

(christos)

2017-12-27 18:30:02 UTC MAIN commitmail json YAML

Without RADEONFB_ALWAYS_ACCEL_PUTCHAR, there are display issues on the PowerBook5,2 (G4 FW-800)
Radeon 9600, where console is garbled.
Thanks to <macallan> for the pointer.
Closes PR port-macppc/52712

(sevan)

2017-12-27 13:38:51 UTC MAIN commitmail json YAML

atf: ptrace: Temporarily disable signal3 as it breaks now on some ports

This test is marked as failing with: PR kern/51918.

(kamil)

2017-12-27 09:03:22 UTC MAIN commitmail json YAML

rump: check if the mutex is surely owned by the caller in mutex_exit

Unlocking a not-owned mutex wasn't detected well (it could detect if the mutex
is not held by anyone but that's not enough). Let's check it (the check is the
same as normal kernel's mutex).

If LOCKDEBUG is enabled, give the check over LOCKDEBUG because it can provide
better debugging information.

(ozaki-r)

2017-12-27 09:01:53 UTC MAIN commitmail json YAML

Distinguish spin mutex and adaptive mutex on rump kernels for LOCKDEBUG

Formerly rump kernels treated the two types of mutexes as both adaptive for
LOCKDEBUG for some reasons.

Now we can detect violations of mutex restrictions on rump kernels such as
taking an adaptive mutex with holding a spin mutex as well as normal kernels.

(ozaki-r)

2017-12-27 08:45:45 UTC MAIN commitmail json YAML

Tweak LOCKDEBUG macros (NFC)

(ozaki-r)

2017-12-27 08:35:20 UTC MAIN commitmail json YAML

Don't pass rwlock to callout_halt

(ozaki-r)

2017-12-27 08:29:02 UTC MAIN commitmail json YAML

Minor tweak to the vadvise entry.

(martin)

2017-12-27 01:17:01 UTC MAIN commitmail json YAML

2017-12-27 00:12:06 UTC MAIN commitmail json YAML

mulaw/alaw_to_linearN macros replaced with individual faster filters.
NFC.

(nat)

2017-12-26 20:04:03 UTC MAIN commitmail json YAML

build without -u does not work because of the dependencies and the stale
files. Be more explicit with instructions.

(christos)

2017-12-26 18:44:52 UTC MAIN commitmail json YAML

Fix typo in a comment

(khorben)

2017-12-26 17:09:20 UTC MAIN commitmail json YAML

2017-12-26 17:08:56 UTC MAIN commitmail json YAML

add linted to __USE()

(christos)

2017-12-26 17:03:10 UTC MAIN commitmail json YAML

lint knows about all inline variant syntax...

(christos)

2017-12-26 17:02:19 UTC MAIN commitmail json YAML

2017-12-26 17:01:25 UTC MAIN commitmail json YAML

2017-12-26 17:00:51 UTC MAIN commitmail json YAML

Needs to be protected since it has a timespec argument. Found by lint(1)

(christos)

2017-12-26 14:54:52 UTC MAIN commitmail json YAML

2017-12-26 14:53:12 UTC MAIN commitmail json YAML

Implement the DRM GEM/CMA helpers. The implementation has been extracted
from our tegra DRM driver, but generalized for use with other drivers.

(jmcneill)

2017-12-26 12:43:59 UTC MAIN commitmail json YAML

Fix cargo cult ioctl implementation for LUAINFO: the name and desc fields
are arrays, not pointers, so don't use copyoutstr on them, but instead
copyin/copyout the whole array of structures.
Fixes PR 52864 for me (on sparc64).

(martin)

2017-12-26 11:40:47 UTC MAIN commitmail json YAML

Note build fallout from vadvise removal.

(martin)

2017-12-26 08:30:58 UTC MAIN commitmail json YAML

Refactor pipe1() and correct a bug in sys_pipe2() (SYS_pipe2)

sys_pipe2() returns two integers (values), the 2nd one is a copy of the 2nd
file descriptor that lands in fildes[2]. This is a side effect of reusing
the code for sys_pipe() (SYS_pipe) and not cleaning it up.

The first returned value is (on success) 0.

Introduced a small refactoring in pipe1() that it does not operate over
retval[], but on an array int[2]. A user sets retval[] for pipe() when
desired and needed.

This refactoring touches compat code: netbsd32, linux, linux32.

Before the changes on NetBSD/amd64:

$ ktruss -i ./a.out
[...]
15131      1 a.out    pipe2(0x7f7fff2e62b8, 0)    = 0, 4
[...]

After the changes:

$ ktruss -i ./a.out
[...]
  782      1 a.out    pipe2(0x7f7fff97e850, 0)    = 0
[...]

There should not be a visible change for current users.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-12-26 05:45:50 UTC MAIN commitmail json YAML

Match prior syscall behaviour
hide __RCSID under the same macros as rest of libc

(maya)

2017-12-26 03:58:03 UTC MAIN commitmail json YAML

Make cold __read_mostly like mp_online.

(msaitoh)

2017-12-26 02:26:45 UTC MAIN commitmail json YAML

Work around softnet_lock handling

nd6_dad_stoptimer can be called with or without softnet_lock held.
callout_halt has to take softnet_lock depending on the situation.

(ozaki-r)

2017-12-26 02:01:35 UTC MAIN commitmail json YAML

Suppress the assertion of IFNET_LOCK in if_mcast_op if MROUTING

MROUTING doesn't deal with IFNET_LOCK yet.

Reported by kardel@

(ozaki-r)

2017-12-25 17:00:16 UTC MAIN commitmail json YAML

Since GNU ld doesn't honor the PLT entry reservation, also compensate
for JMP_IREL relocations at the start of the PLT.

(joerg)

2017-12-25 12:38:01 UTC MAIN commitmail json YAML

atf: t_ptrace_wait: Mark attach2 as racy

(kamil)

2017-12-25 11:03:30 UTC MAIN commitmail json YAML

libc: Add a dummy implementation of vadvise()

This readds a symbol that has been removed accidentally without major bump.

The implementation is dummy (similar to the old one), without API in public
headers.

Pointed out by <maya>

Sponsored by <The NetBSD Foundation>

(kamil)

2017-12-25 09:13:40 UTC MAIN commitmail json YAML

2017-12-25 08:39:38 UTC MAIN commitmail json YAML

- Fix a panic while cleaning PCI interrupt.
- Fallback to INTx if MSI allocation succeeded but the establish failed.

(msaitoh)

2017-12-25 06:39:00 UTC MAIN commitmail json YAML

Disable nouveau for INSTALL as in a similar manner to other DRMKMS drivers.
XXX pullup to netbsd-8

(rin)

2017-12-25 06:35:57 UTC MAIN commitmail json YAML

install/52845: Enable vga@isa and pcdisplay for INSTALL. Otherwise, install
media do not boot on pre-PCI machines.

XXX pullup to netbsd-8 and netbsd-7

(rin)

2017-12-25 06:15:50 UTC MAIN commitmail json YAML

Drop the following features, which reduces ramdisk.bin about 70KB:
- shutdown, rcmd, rcp
- support for byte-swapped FFS and Apple UFS in fsck_ffs and newfs
- support for byte-swapped label and interactive editor in disklabel
OK tsutsui

(rin)

2017-12-25 05:29:27 UTC MAIN commitmail json YAML

Fix typo in comment

from freebsd

(maya)

2017-12-25 05:08:49 UTC MAIN commitmail json YAML

Return a non-zero (one) exit code on failure for one of the files

But keep on processing them, like ls, rm, and other programs do

(maya)

2017-12-25 04:41:49 UTC MAIN commitmail json YAML

Fix wrong usage of psref_held

We can't use it for checking if a caller does NOT hold a given target.
If you want to do it you should have psref_not_held or something.

(ozaki-r)

2017-12-24 17:37:23 UTC MAIN commitmail json YAML

fix priority tests for SCHED_OTHER

(christos)

2017-12-24 16:16:30 UTC MAIN commitmail json YAML

2017-12-24 16:15:53 UTC MAIN commitmail json YAML

Build compat code for RAMDISK as a library otherwise we get code bloat
for code we are not using (there are no compat options in the RAMDISK kernel).

(christos)

2017-12-24 01:22:16 UTC MAIN commitmail json YAML

2017-12-23 22:12:19 UTC MAIN commitmail json YAML

Merge the code back; the problem was that since we are reading/writing
to a kernel address for PT_{READ,WRITE}_{I,D} we need the kernel vmspace.

(christos)

2017-12-23 22:07:57 UTC MAIN commitmail json YAML

2017-12-23 19:56:01 UTC netbsd-8 commitmail json YAML

2017-12-23 18:48:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #450):
sys/dev/pad/pad.c: revision 1.44
Rework so that module infrastructure is provided even when the module
is built-in to the kernel.

(snj)

2017-12-23 18:25:03 UTC MAIN commitmail json YAML

The order in which the arguments to a function are evaluated is
undefined, so don't use va_arg() twice.

PR lib/52849

(uwe)

2017-12-23 12:50:55 UTC MAIN commitmail json YAML

Apply RTL8211E 'no-rx-delay' workaround on Pine64+ boards

(jmcneill)

2017-12-23 12:49:55 UTC MAIN commitmail json YAML

Add a no-rx-delay device property for RGE8211E that disables RX internal
delay using some undocumented registers. Required for stable gigabit links
on Pine64+.

(jmcneill)

2017-12-23 10:15:52 UTC MAIN commitmail json YAML

2017-12-23 10:07:07 UTC MAIN commitmail json YAML

glint is enabled both xorg-server 1.10 and 1.18.

(nakayama)

2017-12-23 06:48:30 UTC MAIN commitmail json YAML

Use ldscript from src to fix build.sh build

(ryoon)

2017-12-22 22:59:26 UTC MAIN commitmail json YAML

Don't handle emulations overriding e_fault.

No existing emulations do this.
(COMPAT_IRIX did, but was removed)

(maya)

2017-12-22 19:13:18 UTC netbsd-7-1 commitmail json YAML

2017-12-22 17:35:14 UTC MAIN commitmail json YAML

ptrace atf: Clanup reports of failures

Mark resume* suspend* tests as expected failure and link with PR 51995.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-12-22 15:02:57 UTC MAIN commitmail json YAML

ptrace: Partially undo PT_{READ,WRITE}_{I,D} and unbreak these commands

The refactored code did not work and was generating EFAULT.

Sponsored by <The NetBSD Foundation>

(kamil)

2017-12-22 14:41:55 UTC MAIN commitmail json YAML

missing comma �泗�

(jakllsch)

2017-12-22 14:18:30 UTC MAIN commitmail json YAML

Add RT Systems RTS-03

(jakllsch)

2017-12-22 14:13:55 UTC MAIN commitmail json YAML

Add West Mountain Radio RIGblaster.  From OpenBSD uslcom(4).

(jakllsch)

2017-12-22 14:06:40 UTC MAIN commitmail json YAML

2017-12-22 14:03:39 UTC MAIN commitmail json YAML

Add West Mountain Radio IDs from OpenBSD

(jakllsch)

2017-12-22 13:59:32 UTC MAIN commitmail json YAML

Add RT Systems RTS-03 USB to Serial Adapter

(jakllsch)

2017-12-22 13:58:12 UTC MAIN commitmail json YAML

Update a URL of Am53c974A technical manual.

(tsutsui)

2017-12-22 13:39:57 UTC MAIN commitmail json YAML

Fix typo in phy-handle property name

(jmcneill)

2017-12-22 13:27:29 UTC MAIN commitmail json YAML

2017-12-22 11:22:37 UTC MAIN commitmail json YAML

Fix usage of curlwp_bind in ip_output

curlwp_bindx must be called in LIFO order, i.e., we can't call curlwp_bind
and curlwp_bindx like this:
  bound1 = curlwp_bind();
  bound2 = curlwp_bind();
  curlwp_bindx(bound1);
  curlwp_bindx(bound2);

ip_outout did so if NET_MPSAFE. Fix it.

(ozaki-r)

2017-12-22 10:24:49 UTC MAIN commitmail json YAML

Check LP_BOUND is surely set in curlwp_bindx

This may find an extra call of curlwp_bindx.

(ozaki-r)

2017-12-22 09:53:06 UTC MAIN commitmail json YAML

Add missing curlwp_bindx

(ozaki-r)

2017-12-22 07:37:27 UTC MAIN commitmail json YAML

2017-12-22 07:19:02 UTC MAIN commitmail json YAML

Build and install the prekern by default. I didn't build a full
distribution to test this change, but it seems fine enough.

(maxv)

2017-12-22 06:06:22 UTC netbsd-8 commitmail json YAML

2017-12-22 06:05:35 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by htodd in ticket #445):
distrib/sets/lists/debug/mi: revision 1.223
fix filename. sorry

(snj)

2017-12-22 02:36:46 UTC MAIN commitmail json YAML

Add board support package - BSP

(ginsbach)

2017-12-22 00:56:44 UTC MAIN commitmail json YAML

Wrap NanoPi M1 dts to enable simplefb support.

(jmcneill)

2017-12-22 00:07:32 UTC netbsd-8 commitmail json YAML

2017-12-21 23:06:58 UTC netbsd-8 commitmail json YAML

2017-12-21 22:07:07 UTC netbsd-8 commitmail json YAML

tickets 434-438, 441-449, 451-454, 459

(snj)

2017-12-21 21:56:29 UTC MAIN commitmail json YAML

overhaul the dbri driver and make it work again in the New Order Of Things
- fix switching between control and data mode
- make sure interrupts can happen in control mode
- implement audioif.commit_settings()
- switch to control mode only if needed - for changes in sample rate or format
  but not for things like volume control
should fix PR 52786

(macallan)

2017-12-21 21:53:32 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #459):
sys/dev/usb/xhci.c: 1.78, 1.83
PR/52791: Robert Sprowson: avoid duplicate tests (use accessor variables)
--
Fix the logic around TT Hub Slot ID, TT Port Number and Multi-TT in
xhci_setup_tthub.  TT Hub/Port need to reference the upstream HS hub and
Multi-TT needs to reflect the capabilities of a HS hub itself or the same
upstream HS hub.

(snj)

2017-12-21 21:51:37 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #454):
sys/net/bpf.c: revision 1.222
Make softint and callout MP-safe

(snj)

2017-12-21 21:50:16 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #453):
sys/dev/fss.c: revision 1.100
If config_cfattach_detach() returns an error, handle it instead of
ignoring.  Otherwise the mutex will get destroyed and we'll unload
the module, and any active users will eventually cause a panic.
Noted by code inspection.

(snj)

2017-12-21 21:48:01 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #452):
share/man/man9/module.9: 1.39-1.140
Document the arguments to the MODULE() macro
--
Explicitly note that the required argument to the MODULE() macro is
a quoted string, or NULL.

(snj)

2017-12-21 21:46:47 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #451):
dist/pf/etc/pf.os: 1.4-1.5
Synchronise with r1.27 from OpenBSD
--
Add DragonFly BSD fingerprints.

(snj)

2017-12-21 21:38:23 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #446):
sys/net/bpf.c: revision 1.221
Fix panic in callout_halt (fix typo)
Reported by wiz@

(snj)

2017-12-21 21:37:03 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #449):
sys/kern/kern_module.c: 1.126-1.130
Add additional duplicate-module-name check in case we have two modules
with the same internal name but no conflicting symbol definitions.
When we load a module from the file system, the filename may have no
relationship to the internal module's name.  Furthermore, comparing
the module's filename is insufficient if the file is loaded from an
absolute path.
--
Use KASSERT to ensure that the newly-added module's name can be found.
--
Change a KASSERTMSG into a regular module_error - not nice for the
kernel
to panic when I try to modload the 'ntfs' module.
--
When looking for a duplicate module name, also check the pending list.
--
Remove the check for duplicate-module-name-on-pending-list since it really
doesn't help.  The check really cannot fail, and it only looks at the list
belonging to the current level of recursion.
Instead, verify that the module's modcmd(MODULE_CMD_INIT, ...) does not
introduce a duplicate module name as a result of recursively calling
module_do_load().

(snj)

2017-12-21 21:33:31 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #448):
sbin/route/route.c: revision 1.157
Fix typo in flag name.  We should probably just use IFFBITS string
that <net/if.h> defines.
PR bin/52815

(snj)

2017-12-21 21:32:10 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by khorben in ticket #447):
sys/dev/usb/usb_subr.c: revision 1.222
Be more defensive towards malicious USB devices
This avoids potential panics due to 0-sized memory allocation attempts,
which could be triggered by malicious USB devices.
Tested on NetBSD/amd64 with a Sony Xperia X (SailfishOS).
Based on an initial patch by Nick Hudson <skrll@NetBSD.org>, thanks!
Fixes PR kern/52383.

(snj)

2017-12-21 21:08:13 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ryo in ticket #445):
distrib/sets/lists/debug/mi: revision 1.222
distrib/sets/lists/tests/mi: revision 1.760
share/man/man4/ip.4: revision 1.38
sys/netinet/in.c: revision 1.207
sys/netinet/in.h: revision 1.101
sys/netinet/in_pcb.c: revision 1.179
sys/netinet/in_pcb.h: revision 1.64
sys/netinet/ip_output.c: revision 1.284, 1.286
sys/netinet/ip_var.h: revision 1.120-1.121
sys/netinet/raw_ip.c: revision 1.166-1.167
sys/netinet/udp_usrreq.c: revision 1.235-1.236
sys/netinet/udp_var.h: revision 1.42
tests/net/net/Makefile: revision 1.21
tests/net/net/t_pktinfo_send.c: revision 1.1-1.2
Add support IP_PKTINFO for sendmsg(2).
The source address or output interface can be specified by adding IP_PKTINFO
to the control part of the message on a SOCK_DGRAM or SOCK_RAW socket.
Reviewed by ozaki-r@ and christos@. thanks.
--
As is the case with IPV6_PKTINFO, IP_PKTINFO can be sent without EADDRINUSE
even if the UDP address:port in use is specified.

(snj)

2017-12-21 19:53:29 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #444):
sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.114
Keep fs/gs the same for the signal context; otherwise calling things
like __lwp_getprivate_fast() from a signal handler (that uses %gs) die.
Merge context building code.

(snj)

2017-12-21 19:41:16 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #443):
sys/kern/kern_sig.c: revision 1.339
- Reset ignored or masked traps to avoid infinite loops
- If sigpost fails don't add an SDT_PROBE
ok (and author) chuq

(snj)

2017-12-21 19:33:15 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #442):
sys/arch/x86/x86/fpu.c: 1.19 via patch
Mask mxcsr, otherwise userland could set reserved bits to 1 and make
xrstor fault.

(snj)

2017-12-21 19:28:54 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #441):
sys/dev/pci/files.pci: 1.390
sys/dev/pci/ixgbe/if_bypass.c: new
sys/dev/pci/ixgbe/if_fdir.c: new
sys/dev/pci/ixgbe/if_sriov.c: new
sys/dev/pci/ixgbe/ixgbe_bypass.h: new
sys/dev/pci/ixgbe/ixgbe_fdir.h: new
sys/dev/pci/ixgbe/ixgbe_features.h: new
sys/dev/pci/ixgbe/ixgbe_netmap.c: new
sys/dev/pci/ixgbe/ixgbe_netmap.h: new
sys/dev/pci/ixgbe/ixgbe_rss.h: new
sys/dev/pci/ixgbe/ixgbe_sriov.h: new
sys/dev/pci/ixgbe/ix_txrx.c: 1.28, 1.30 via patch
sys/dev/pci/ixgbe/ixgbe.c: 1.97-1.105, 1.107-1.111, 1.113-1.115
sys/dev/pci/ixgbe/ixgbe.h: 1.26-1.29 via patch
sys/dev/pci/ixgbe/ixv.c: 1.57-1.58, 1.60-1.61, 1.63-1.64, 1.66-1.72, 1.75 via patch
sys/dev/pci/ixgbe/ixgbe_api.c: 1.17-1.18 via patch
sys/dev/pci/ixgbe/ixgbe_type.h: 1.26-1.30 via patch
sys/dev/pci/ixgbe/ixgbe_82598.c: 1.9-1.10 via patch
sys/dev/pci/ixgbe/ixgbe_82598.h: 1.6-1.7
sys/dev/pci/ixgbe/ixgbe_82599.c: 1.15-1.16 via patch
sys/dev/pci/ixgbe/ixgbe_82599.h: 1.5-1.6
sys/dev/pci/ixgbe/ixgbe_api.h: 1.10-1.11 via patch
sys/dev/pci/ixgbe/ixgbe_common.c: 1.14-1.16 via patch
sys/dev/pci/ixgbe/ixgbe_common.h: 1.8-1.9 via patch
sys/dev/pci/ixgbe/ixgbe_dcb.c: 1.5-1.6
sys/dev/pci/ixgbe/ixgbe_dcb.h: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_dcb_82598.c: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_dcb_82598.h: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_dcb_82599.c: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_dcb_82599.h: 1.4-1.5
sys/dev/pci/ixgbe/ixgbe_mbx.c: 1.7-1.9 via patch
sys/dev/pci/ixgbe/ixgbe_mbx.h: 1.11-1.12 via patch
sys/dev/pci/ixgbe/ixgbe_osdep.c: 1.2
sys/dev/pci/ixgbe/ixgbe_osdep.h: 1.18-1.19 via patch
sys/dev/pci/ixgbe/ixgbe_phy.c: 1.12-1.14 via patch
sys/dev/pci/ixgbe/ixgbe_phy.h: 1.9-1.10 via patch
sys/dev/pci/ixgbe/ixgbe_vf.c: 1.13-1.15 via patch
sys/dev/pci/ixgbe/ixgbe_vf.h: 1.9-1.11 via patch
sys/dev/pci/ixgbe/ixgbe_x540.c: 1.10-1.12
sys/dev/pci/ixgbe/ixgbe_x540.h: 1.6-1.7
sys/dev/pci/ixgbe/ixgbe_x550.c: 1.6-1.7
sys/dev/pci/ixgbe/ixgbe_x550.h: 1.3
Sync with FreeBSD's up to r326022, fix bugs and some improvements:
- Don't limit number of queue pair to 8. Take chip's max TX queues and
  max RX queues into account.
- Add C3000 (Denverton) support.
- Add bypass function support for bypass adapters.
- Change EEE sysctl.
- Remove thermal test sysctl.
- ixv(4): set RSS mapping.
- ixv(4): Add TSOv6.
- ixv(4): Fix hardware counter.
- ixv(4): Make TX/RX descriptors size the same as ixg(4).
- ixv(4): Print device name in ixv_attach().
- ixv(4): Make mailbox statistic counters evcnt(9).
- ixv(4): Fix a problem that mailbox interrupt never occurred.
- ixv(4): Don't check neither VTEICR nor VTEICS same as Linux. It
  seems that both registers can't be used to check which MSI-X vector
  is triggered.
- ixv(4): Print Mailbox API version.
- Print driver feature capabilities and enable bits when verbose boot.
- Fix a bug that X550EM_A (Denverton) can't force 10BaseT.
- Remove all half-duplex setting because of the chip specification.
- Add 2.5GBASE-T and 5GBASE-T support.
- Set ifm_baudrate correctly.
- Protect ec_multi* with mutex like other MP safe Ethernet drivers.
- On X550 and newer, print NVM Image Version with %u.%02x.
- On X540, print PHY FW Revision with %u.%x. 0x4030 will be printed
  as "Revision 4.3 ID 0x0"
- Fix value check of OEM_NVM_IMAGE_VER.
- Print PHY ID only for copper PHY.
- Fix a bug that X550 and newer didn't linkup if it forces
  100BaseTX-FDX or 10BaseT-FDX.
- Fix a bug that RX may accesses freed area. It also fixes a problem
  that if_init() takes long time on many core machine.
- Check ETHERCAP_VLAN_HWTAGGING in ixgbe_setup_vlan_hw_support(). This
  change has no influence to netbsd because it's enabled by default
  and NetBSD has no API to disable it.
- Whitespace fix.

(snj)

2017-12-21 19:19:30 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #438):
sys/modules/nand/Makefile: revision 1.6
Include the flash_mtd_parts in the nand module.  Without this, the module
fails to load because of undefined linker symbol flash_attach_mtdparts

(snj)

2017-12-21 19:17:43 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mlelstv in ticket #437):
sys/dev/iscsi/iscsi_ioctl.c: 1.26-1.27
sys/dev/iscsi/iscsi_main.c: 1.26
sys/dev/iscsi/iscsi_send.c: 1.35
Fix session cleanup.
--
add debug messages
-
use same lock for ref/deref.
--
unreference session only for responses to SCSI commands.

(snj)

2017-12-21 19:14:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #436):
distrib/sets/lists/modules/mi: revision 1.112
sys/modules/Makefile: revision 1.196
sys/modules/ip_ecn/Makefile: revision 1.1
sys/modules/if_gif/Makefile: revision 1.3
sys/net/if_gif.c: revision 1.136
sys/netinet/ip_ecn.c: revision 1.17
Split ip_ecn code into its own module, so it can be shared between
gif(4), stf(4), and ipsec(4).  Without this, loading the if_gif
module can result in redefined global symbols if either ipsec(4) or
stf(4) but not gif(4) is built into the kernel.
Fixes PR kern/52795 (as reported by martin@ via irc).

(snj)

2017-12-21 19:11:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #435):
tools/compat/compat_defs.h: 1.108
tools/compat/configure: 1.87-1.88
tools/compat/configure.ac: 1.88-1.89
tools/compat/fpurge.c: 1.2
tools/compat/nbtool_config.h.in: 1.41-1.42
handle __fpurge being declared in <stdio_ext.h>
--
regen
--
Add asnprintf() to the AC_CHECK_DECLS list.
Resolves conflict when cross compiling on Cygwin the provided implementation
does not get picked up.
Closes PR toolchain/52797
--
regen

(snj)

2017-12-21 19:08:10 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #434):
sys/compat/ultrix/ultrix_fs.c: revision 1.58
Fix uninitialized pointer, found by Mootja. Not a surprise in untested
code.

(snj)

2017-12-21 15:52:19 UTC MAIN commitmail json YAML

Use stat() information to decide if the backing store is a directory.
Depending on open() returning EISDIR fails for mount points.

(hannken)

2017-12-21 15:51:39 UTC MAIN commitmail json YAML

Pass residual back to b_resid for persistent snapshots.

(hannken)

2017-12-21 15:51:07 UTC MAIN commitmail json YAML

Bounds check against media size for non-persistent snapshots.

(hannken)

2017-12-21 15:50:33 UTC MAIN commitmail json YAML

Treat partial read from backing store as I/O error.

(hannken)

2017-12-21 14:32:06 UTC MAIN commitmail json YAML

2017-12-21 14:28:39 UTC MAIN commitmail json YAML

Make sure we're loading a relocatable binary, to give the user a chance to
correct the kernel name if he mistakenly typed pkboot on a static kernel,
without having to reboot the machine (currently the prekern sees it's a
static kernel and panics).

(maxv)

2017-12-21 12:25:03 UTC MAIN commitmail json YAML

Add width arguments to tagget lists.

(wiz)

2017-12-21 12:09:43 UTC MAIN commitmail json YAML

Don't KASSERT that we are MPSAFE if ! DWCGMAC_MPSAFE

(martin)

2017-12-21 11:52:00 UTC MAIN commitmail json YAML

The reset bit for the analog portion of the codec is bit 28.  As per
Allwinner H3 datasheet.

Ok jmcneill@.

(nat)

2017-12-21 09:56:47 UTC MAIN commitmail json YAML

t_ptrace_wait*: Disable suspend* tests

These tests can hang the system. These interfaces will be improved and
temporarily disable them.

(kamil)

2017-12-21 09:35:38 UTC MAIN commitmail json YAML

remove duplicated null ckeck

(knakahara)

2017-12-21 09:31:22 UTC MAIN commitmail json YAML

for Read_Local_Version, print also the HCI revision

(plunky)

2017-12-21 09:30:31 UTC MAIN commitmail json YAML

add HCI_SPEC_50

(plunky)

2017-12-21 09:24:45 UTC MAIN commitmail json YAML

- If MSI can't be used on some environment, fallback to INTx correctly.
- Use single vector MSI when number of CPU is 1 to save interrupt slot.

(msaitoh)

2017-12-21 09:04:34 UTC MAIN commitmail json YAML

consistent style: connect(2), socket(2) and setsockopt(2) return -1
for error so check for this specifically rather than < 0

(plunky)

2017-12-21 09:02:48 UTC MAIN commitmail json YAML

fix width of .Bl list

(plunky)

2017-12-21 09:00:19 UTC MAIN commitmail json YAML

fix width/indent of list

(plunky)

2017-12-21 08:59:58 UTC MAIN commitmail json YAML

fix width of list

(plunky)

2017-12-21 08:59:27 UTC MAIN commitmail json YAML

fix offset/indent of list

(plunky)

2017-12-21 08:28:55 UTC MAIN commitmail json YAML

Remove unnecessary #include

(skrll)

2017-12-21 06:49:26 UTC MAIN commitmail json YAML

Fix panic when only link interrupt can't be established.

(msaitoh)

2017-12-21 06:43:17 UTC MAIN commitmail json YAML

Don't panic when resource shortage occured. Like ixgbe.c rev. 1.116.
- Move location of {ixgbe,ixv}_setup_interface() call at a position that
  any error don't occur. One of the reason is that it should be. Another
  reason is that it's hard to call ether_ifdetach() and if_detach() when
  cold == 1 (because of pserialize_perform, xc_wait, timing of domaininit
  and maybe more).

(msaitoh)

2017-12-21 03:31:43 UTC MAIN commitmail json YAML

Fix broken test: we can't assume that the current schedule priority range
will overlap with the requested scheduler range, so get the new scheduler
range, and then try to find a different priority. If that fails (to find
a different scheduling range), give up here.

(christos)

2017-12-20 23:07:30 UTC MAIN commitmail json YAML

Fix debug build with LLVM for ILP32 archs.

(rin)

2017-12-20 15:22:14 UTC MAIN commitmail json YAML

One copy of the generic timer register defines is enough for anyone.  The
ARM_ prefixed copies are prefered (at this point) and the comments from
the non-ARM_ prefixed versions are copied over.

(skrll)

2017-12-20 15:12:04 UTC MAIN commitmail json YAML

Correct ARM_CNTKCTL_PL0[VP]CTEN values.  NFC as nothing uses them.

(skrll)

2017-12-20 14:58:08 UTC MAIN commitmail json YAML

2017-12-20 14:51:40 UTC MAIN commitmail json YAML

2017-12-20 14:35:12 UTC MAIN commitmail json YAML