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 (33m)  netbsd-10 (17d)  netbsd-9 (17d)  netbsd-8 (22d) 

2024-06-02 18:18:47 UTC Now

2017-11-02 15:28:23 UTC MAIN commitmail json YAML

C99ify initialization of dummy_timecounter.

(riastradh)

2017-11-02 09:42:45 UTC MAIN commitmail json YAML

2017-11-02 08:41:15 UTC MAIN commitmail json YAML

- Handle hw.ixgN.advertise_speed correctly.
- Fix hw.ixgN.advertise_speed sysctl's description.

(msaitoh)

2017-11-02 02:08:02 UTC MAIN commitmail json YAML

Revert commit rev 1.419 to audio.c.  This should address PR kern/52685.

This also means that drivers that have a static block size will have more
latency at lower sample rates/precision/channels.  Also audio drivers that
do more than supply rounded blocksizes in their round_blocksize functions
will have to be changed.

(nat)

2017-11-01 23:00:05 UTC MAIN commitmail json YAML

2017-11-01 21:27:22 UTC MAIN commitmail json YAML

one down - mlelstv converted wd(4) to dksubr

(jdolecek)

2017-11-01 21:13:26 UTC MAIN commitmail json YAML

Unwrap two lines.  NFC.

(skrll)

2017-11-01 21:11:44 UTC MAIN commitmail json YAML

2017-11-01 19:34:46 UTC MAIN commitmail json YAML

2017-11-01 19:15:31 UTC MAIN commitmail json YAML

Protect against multiple inclusion.

(mlelstv)

2017-11-01 17:00:18 UTC MAIN commitmail json YAML

Handle absolute symbols. Since my linux_sigcode.S::rev1.4 there are two
Elf_Rela that point to the NULL symbol - which the prekern thought was an
external reference.

In the ELF spec, STN_UNDEF means the value of the symbol is zero.

(maxv)

2017-11-01 15:34:28 UTC MAIN commitmail json YAML

BPM: beam propagation method (light)
BPM: beats per minute (music)

(khorben)

2017-11-01 15:24:42 UTC MAIN commitmail json YAML

2017-11-01 15:11:31 UTC MAIN commitmail json YAML

PPS: pulse per second (signal)

(riastradh)

2017-11-01 09:47:53 UTC MAIN commitmail json YAML

2017-11-01 09:38:43 UTC MAIN commitmail json YAML

More END(). In linux_sigcode.S we only provide symbols, not defined as
functions.

(maxv)

2017-11-01 09:31:24 UTC MAIN commitmail json YAML

Add linux_sigcode.o, otherwise it doesn't get rebuilt.

(maxv)

2017-11-01 09:17:28 UTC MAIN commitmail json YAML

Don't fall through functions, explicitly jump instead. While here don't
call smap_enable twice (harmless), and add END() markers.

(maxv)

2017-11-01 08:44:34 UTC MAIN commitmail json YAML

Add ./usr/libdata/debug/usr/tests/net/ipsec

(martin)

2017-11-01 08:32:08 UTC MAIN commitmail json YAML

Add net/ipsec debug lib directory

(martin)

2017-11-01 07:14:29 UTC MAIN commitmail json YAML

Remove unused macros and LDT entries.

(maxv)

2017-11-01 05:42:32 UTC MAIN commitmail json YAML

Complete last change...

(kre)

2017-11-01 01:47:00 UTC MAIN commitmail json YAML

Simplify, and avoid compiler warning for variable format string.

As discussed on IRC.

(pgoyette)

2017-10-31 21:53:48 UTC MAIN commitmail json YAML

Add padding to gus.c so fields match up when it ts cast to a ad1848_isa
softc for the allocation of hw ring buffers.

Locking fixes as gus KASSERTS / uses the codec locks.

Ok christos@.

(nat)

2017-10-31 21:18:02 UTC MAIN commitmail json YAML

Only allow blocksizes greater or equal to the calculated one.

This should help applications as the blocksize obtained (AUDIO_SET/GETINFO)
will work without stutter.

Ok christos@.

(nat)

2017-10-31 21:13:24 UTC MAIN commitmail json YAML

Move calculation of sc_latency into a function.

The latency of the audio device is updated on attach in the audio auto
config and shown on screen.

Ok christos@.

(nat)

2017-10-31 21:09:27 UTC MAIN commitmail json YAML

round_blocksize is only used for the hardware ring buffer.  All other
buffers (mix ring, streams) are set to be a power of 2.

This allows for consistent latency where a static blocksize is enforced by
the underlying audio device driver.

Ok christos@.

(nat)

2017-10-31 19:03:32 UTC MAIN commitmail json YAML

bring the WAPBL entry more up-to-date and sound less desperate,
there is not really much preventing it to be enabled by default for
new installs again actually

(jdolecek)

2017-10-31 18:30:36 UTC MAIN commitmail json YAML

2017-10-31 18:23:29 UTC MAIN commitmail json YAML

Zero out the buffer entirely.

(maxv)

2017-10-31 18:13:37 UTC MAIN commitmail json YAML

Mask mxcsr, otherwise userland could set reserved bits to 1 and make
xrstor fault.

(maxv)

2017-10-31 16:10:25 UTC MAIN commitmail json YAML

unconst machine_arch32 for sysctl data .. pointed out by Riccardo Mottola

(kre)

2017-10-31 15:16:10 UTC MAIN commitmail json YAML

Initialize xstate_bv with the structures that were just filled in,
otherwise xrstor does not restore them. This can happen only if userland
calls setcontext without having used the FPU before.

Until rev1.15 xstate_bv was implicitly initialized because the xsave area
was not zeroed out properly.

(maxv)

2017-10-31 15:10:28 UTC MAIN commitmail json YAML

undo - pointed out this is a register assignment.

(christos)

2017-10-31 15:00:03 UTC MAIN commitmail json YAML

PR/52682: David Binderman: Fix wrong assignment (in the !__NetBSD__ code)

(christos)

2017-10-31 14:55:45 UTC MAIN commitmail json YAML

PR/52680: David Binderman: Remove dedundant assignment.

(christos)

2017-10-31 12:43:57 UTC MAIN commitmail json YAML

2017-10-31 12:37:23 UTC MAIN commitmail json YAML

Allow architectures to define a macro PROC_MACHINE_ARCH(P) and
PROC_MACHINE_ARCH32(P) to override the value for sysctl hw.machine_arch
(native and netbsd32 commpat resp.).

Use these for arm and mips instead of the (not working, noisy, in case
of arm) sysctl override and #ifdef __mips__ in architecture neutral
code.

(martin)

2017-10-31 12:02:20 UTC MAIN commitmail json YAML

Don't embed our own values in the reserved fields of the XSAVE area, it
really is a bad idea. Move them into the PCB.

(maxv)

2017-10-31 11:46:46 UTC MAIN commitmail json YAML

Also mark ppi.html as obsolete

(martin)

2017-10-31 11:37:05 UTC MAIN commitmail json YAML

2017-10-31 10:46:47 UTC MAIN commitmail json YAML

PR port-sparc64/52622: mark the parent device as TS_KERN_ONLY,
so userland will not touch it (and change serial params w/o our
controll).

(martin)

2017-10-31 10:45:19 UTC MAIN commitmail json YAML

As discussed on tech-kern: define a new tty internal state flag: TS_KERN_ONLY

Implement it in a few tty drivers. If this flag is set, the underlying
hardware is used by another driver and userland has no right to open
it. A few uses will appear soon in sys/dev/sun/sun{kbd,ms}.c.

(martin)

2017-10-31 10:39:13 UTC MAIN commitmail json YAML

Add xsh_xcomp_bv and fx_zero, and use uint8_t instead.

(maxv)

2017-10-31 10:35:58 UTC MAIN commitmail json YAML

Remove comments that are more misleading than anything else. While here
make sure we zero out the FPU area entirely, and not just its legacy
region.

(maxv)

2017-10-31 10:14:27 UTC MAIN commitmail json YAML

Casting variable of type int *  to size_t *, may cause
alignment issues on some platforms (e.g. Sparc64)
So, Use a temporary variable to avoid the cast.

Thanks to Martin@ for noticing the issue and also suggesting the issue.
Fixes PR bin/52678

(abhinav)

2017-10-31 08:10:12 UTC MAIN commitmail json YAML

remove ppi(9) manpage, the actual subsystem got never implemented

PR kern/52665 by Kamil Rytarowski

(jdolecek)

2017-10-31 00:57:14 UTC MAIN commitmail json YAML

Also attach the RTL8192EU from TP-LINK

(khorben)

2017-10-31 00:30:07 UTC MAIN commitmail json YAML

2017-10-31 00:20:51 UTC MAIN commitmail json YAML

Add the TP-LINK TL-WN823N (version 2)

(khorben)

2017-10-30 22:09:54 UTC MAIN commitmail json YAML

2017-10-30 21:41:39 UTC MAIN commitmail json YAML

add load & store instructions for channel data type
mostly for Xorg

(macallan)

2017-10-30 17:13:39 UTC MAIN commitmail json YAML

2017-10-30 17:06:42 UTC MAIN commitmail json YAML

Always use END() markers when declaring functions in assembly, so that ld
can compute the size of the functions. A few remain.

While here, fix a bug in the INTRSTUB macro: we are falling through
resume_, but it is aligned, so it looks like we're executing the inter-
function padding - which probably happens to contain NOPs, but that's
still bad.

(maxv)

2017-10-30 16:01:19 UTC MAIN commitmail json YAML

Set IFEF_NO_LINK_STATE_CHANGE flag to pseudo devices that don't use if_link_state_change

(ozaki-r)

2017-10-30 15:59:24 UTC MAIN commitmail json YAML

Add test cases of NAT-T (transport mode)

A small C program is added to make a special socket (UDP_ENCAP_ESPINUDP)
and keep it to handle UDP-encapsulated ESP packets.

(ozaki-r)

2017-10-30 15:55:53 UTC MAIN commitmail json YAML

Whitespace fix. Give Bl tag table a width. Fix Xr.

(wiz)

2017-10-30 15:53:51 UTC MAIN commitmail json YAML

Bump date for previous. Remove superfluous Pp.

(wiz)

2017-10-30 15:50:48 UTC MAIN commitmail json YAML

Remove references to non-existing ifconfig(4). Use Mt.

(wiz)

2017-10-30 15:49:24 UTC MAIN commitmail json YAML

2017-10-30 15:48:38 UTC MAIN commitmail json YAML

2017-10-30 15:46:38 UTC MAIN commitmail json YAML

2017-10-30 15:44:29 UTC MAIN commitmail json YAML

Remove Tn. Do not split on An lines.

(wiz)

2017-10-30 15:43:21 UTC MAIN commitmail json YAML

Remove empty Fd. Use minus for return value. End list. Sort SEE ALSO.

(wiz)

2017-10-30 15:38:52 UTC MAIN commitmail json YAML

2017-10-30 15:37:41 UTC MAIN commitmail json YAML

Minor spellchecking changes.

(wiz)

2017-10-30 11:24:04 UTC MAIN commitmail json YAML

If if_attach() failed in the attach function, return. Add comments about if_initialize().

suggested by ozaki-r@n.o.

(knakahara)

2017-10-30 09:35:51 UTC netbsd-8 commitmail json YAML

2017-10-30 09:29:04 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #330):
sbin/fsck_lfs/inode.c: 1.69
sbin/fsck_lfs/lfs.c: 1.73
sbin/fsck_lfs/pass6.c: 1.50
sbin/fsck_lfs/segwrite.c: 1.46
sys/ufs/lfs/lfs.h: 1.202-1.203
sys/ufs/lfs/lfs_accessors.h: 1.48
sys/ufs/lfs/lfs_alloc.c: 1.136-1.137
sys/ufs/lfs/lfs_balloc.c: 1.94
sys/ufs/lfs/lfs_bio.c: 1.141
sys/ufs/lfs/lfs_extern.h: 1.113
sys/ufs/lfs/lfs_inode.c: 1.156-1.157
sys/ufs/lfs/lfs_inode.h: 1.20, 1.21, 1.23
sys/ufs/lfs/lfs_itimes.c: 1.20
sys/ufs/lfs/lfs_pages.c: 1.13-1.15
sys/ufs/lfs/lfs_rename.c: 1.22
sys/ufs/lfs/lfs_segment.c: 1.270-1.275
sys/ufs/lfs/lfs_subr.c: 1.94-1.97
sys/ufs/lfs/lfs_syscalls.c: 1.175
sys/ufs/lfs/lfs_vfsops.c: 1.360
sys/ufs/lfs/lfs_vnops.c: 1.316-1.321
sys/ufs/lfs/ulfs_inode.c: 1.20
sys/ufs/lfs/ulfs_inode.h: 1.24
sys/ufs/lfs/ulfs_lookup.c: 1.41
sys/ufs/lfs/ulfs_quota2.c: 1.31
sys/ufs/lfs/ulfs_readwrite.c: 1.24
sys/ufs/lfs/ulfs_vnops.c: 1.49-1.50
Update inode member i_flag --> i_state to keep up with kernel changes
Move definition of IN_ALLMOD near the flag it's a mask for.
Now we can see that it doesn't match all the flags, but changing that will
require more careful thought.
Correct confusion between i_flag and i_flags
These will have to be renamed.
Spotted by Riastradh, thanks!
Add an XXX about the missing flags so it's not buried in a commit
message.
now the XXX count for LFS is 260
Rename i_flag to i_state.
The similarity to i_flags has previously caused errors.
Use continue to denote the no-op loop to match netbsd style
newline for extra clarity.
It isn't safe to drain dirops with seglock held, it'll deadlock if there
are any dirops. drain before grabbing seglock.
lfs_dirops == 0 is always true (as we already drained dirops), so omit
that part of the comparison.
Fixes a lot of LFS deadlocks. PR kern/52301
Many thanks to dholland for help analyzing coredumps
Ifdef out KDASSERT which fires on my machine.
Deduplicate sanity check that seglock is held on segunlock
Revert r1.272 fix to PR kern/52301, the performance hit is making things
unusable.
change lfs_nextsegsleep and lfs_allclean_wakeup to use condvar
XXX had to use lfs_lock in lfs_segwait, removed kernel_lock, is this
appropriate?
fix buffer overflow/KASSERT when cookies are supplied
lfs no longer uses the ffs-style struct direct, use the correct minimum
size
from dholland
XXX more wrong
Consistently use {,UN}MARK_VNODE macros rather than function calls.
Not much point doing anything after a panic call
Ask some question about the code in a XXX comment
XXX question our double-flushing of dirops
Fix typo in comment

(snj)

2017-10-30 04:53:43 UTC MAIN commitmail json YAML

Fix showing translated port (ntohs-ed twice wrongly)

(ozaki-r)

2017-10-30 03:25:14 UTC MAIN commitmail json YAML

Remove unneeded casts to (uintptr_t).  This is already taken care of in
the xxxHIST_LOG() macros.

No need to pull-up to -8 - the extra cast really won't hurt anything.

(pgoyette)

2017-10-30 03:02:35 UTC MAIN commitmail json YAML

Fix npfclt reload on rump kernels

It fails because npfctl cannot get an errno when it calls ioctl to the (rump)
kernel; npfctl (libnpf) expects that an errno is returned via proplib,
however, the rump library of npf doesn't so. It happens because of mishandlings
of complicate npf kernel options.

PR kern/52643

(ozaki-r)

2017-10-30 01:25:27 UTC MAIN commitmail json YAML

2017-10-30 01:24:47 UTC MAIN commitmail json YAML

Add Areca ARC1214 & ARC1880.
From OpenBSD.

(sevan)

2017-10-30 01:19:46 UTC MAIN commitmail json YAML

And replace an instance of "%p" conversion with "%#jx"

(pgoyette)

2017-10-30 00:55:42 UTC MAIN commitmail json YAML

Remove a stray '"' (obvious typo) and add a couple of casts that are
probably needed.

(kre)

2017-10-29 17:57:21 UTC MAIN commitmail json YAML

Provisionally return to declaring midi_cd unconditionally.

Apparently this breaks compiling some kernels, although how they ever
managed to link if midi_cd is not declared in ioconf.h, and therefore
presumably not defined in ioconf.c, is beyond me.

Maybe someone who knows how sequencer is supposed to work, and/or
someone who knows how arm kernels are linked, can figure this out...

(riastradh)

2017-10-29 17:19:14 UTC MAIN commitmail json YAML

Mmh, we don't map the CTF section on kaslr kernels, so disable
KDTRACE_HOOKS for now.

(maxv)

2017-10-29 16:02:46 UTC MAIN commitmail json YAML

Create a custom bus space tag and use it to remap registers instead of
relying on options MOTG_ALLWINNER.

(jmcneill)

2017-10-29 15:29:34 UTC MAIN commitmail json YAML

PR/52671: Ralph Geier: The ignorecase option is not handeled correctly in vi
for unicode characters

(christos)

2017-10-29 15:00:00 UTC MAIN commitmail json YAML

sunxi_twi: provide custom read/write reg callbacks and remove the
GTTWSI_ALLWINNER option from the kernel config

(jmcneill)

2017-10-29 14:59:05 UTC MAIN commitmail json YAML

Allow drivers to provide their own read/write register functions. While
here, sprinkle KASSERTs to verify that the i2c lock is held where it
should be.

(jmcneill)

2017-10-29 14:07:11 UTC MAIN commitmail json YAML

remove options COM_AWIN and set COM_TYPE_SUNXI in the bus driver instead

(jmcneill)

2017-10-29 14:06:08 UTC MAIN commitmail json YAML

Make all of the COM_xxx type options runtime selectable. Kernel configs
with the existing options (COM_16650, COM_16750, COM_AWIN, COM_HAYESP, and
COM_PXA2X0) will select the correct type in com_attach_subr. New code
should specify the com type by passing COM_TYPE_xxx to comcnattach and/or
setting sc_type.

(jmcneill)

2017-10-29 11:38:43 UTC MAIN commitmail json YAML

Fix a few error messages, and be a little more verbose.

(maxv)

2017-10-29 11:28:30 UTC MAIN commitmail json YAML

Randomize the kernel segments independently. That is to say, put text,
rodata and data at different addresses (and in a random order).

To achieve that, the mapping order in the prekern is changed. Until now,
we were creating the kernel map the following way:
-> choose a random VA
-> map [kernpa_start; kernpa_end[ at this VA
-> parse the ELF structures from there
-> determine where exactly the kernel segments are located
-> relocate etc
Now, we are doing:
-> create a read-only view of [kernpa_start; kernpa_end[
-> from this view, compute the size of the "head" region
-> choose a random VA in the HEAD window, and map the head there
-> for each region in (text, rodata, data, boot)
-> compute the size of the region from the RO view
-> choose a random VA in the KASLR window
-> map the region there
-> relocate etc

Each time we map a region, we initialize its bootspace fields right away.

The "head" region must be put before the other regions in memory, because
the kernel uses (headva + sh_offset) to get the addresses of the symbols,
and the offset is unsigned.

Given that the head does not have an mcmodel constraint, its location is
randomized in a window located below the KASLR window.

The rest of the regions being in the same window, we need to detect
collisions.

Note that the module map is embedded in the "boot" region, and that
therefore its location is randomized too.

(maxv)

2017-10-29 10:25:28 UTC MAIN commitmail json YAML

Use bootspace.head.va instead of the direct map. Otherwise there's the
assumption that the offsets contained in sh_offset in physical memory are
equal to the offsets in virtual memory, which won't be true in the future.

(maxv)

2017-10-29 10:07:08 UTC MAIN commitmail json YAML

Add three functions and start using them; will be more useful soon.

(maxv)

2017-10-29 10:01:22 UTC MAIN commitmail json YAML

Add a fifth region, called "head". On kaslr kernels it contains the ELF
Header and the ELF Section Headers. On normal kernels it is empty (the
headers are in the "boot" region).

Note: if you're using GENERIC_KASLR, you also need to rebuild the prekern.

(maxv)

2017-10-29 09:51:42 UTC MAIN commitmail json YAML

More improvements in grammar and readability.

(pgoyette)

2017-10-29 09:44:17 UTC MAIN commitmail json YAML

Use driver specific label code as fallback. This fixes the UDF label for CDs.

(mlelstv)

2017-10-29 09:17:42 UTC MAIN commitmail json YAML

Use correct mark-up for NetBSD version.

(pgoyette)

2017-10-29 06:07:48 UTC MAIN commitmail json YAML

Fix the escape used for em dash

ok wiz@

(abhinav)

2017-10-29 03:48:17 UTC MAIN commitmail json YAML

Fix typo.

Wishful thinking for some of our resource-constrained platforms!

(riastradh)

2017-10-29 01:28:46 UTC MAIN commitmail json YAML

The sign is optional in an exponent

Treat numbers after [Ee] as a positive number rather than an invalid
numeric sequence.  (Taken from FreeBSD but done differently.)

(ginsbach)

2017-10-29 00:20:42 UTC MAIN commitmail json YAML

Correct a markup typo (Sv -> Dv)

(kre)

2017-10-29 00:02:23 UTC MAIN commitmail json YAML

Fix typos (from FreeBSD)

(ginsbach)

2017-10-28 22:59:27 UTC MAIN commitmail json YAML

2017-10-28 21:54:54 UTC MAIN commitmail json YAML

Ignore empty MAKEOBJDIR

Otherwise we end up with .OBJDIR = ${.CURDIR}/
which is quivalent, but fails the typial
.if ${.OBJDIR} == ${.CURDIR}

(sjg)

2017-10-28 20:57:52 UTC MAIN commitmail json YAML

And yet another one.  :(

(pgoyette)

2017-10-28 20:57:17 UTC MAIN commitmail json YAML

Use FLAT_RING3_CS64 (defined in Xen public headers) instead of numeric
value.

(bouyer)

2017-10-28 20:56:51 UTC MAIN commitmail json YAML

Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit

(pgoyette)

2017-10-28 20:06:31 UTC MAIN commitmail json YAML

It appears that Xen remaps the userland %cs to 0xE033. So add it to the
checklist. Otherwise we're going through Luexit32: %fs gets reloaded,
which sets the FS.base to NULL, which will cause the thread to page-fault
next time it accesses its TLS (as seen in PR/52662).

This fix is not very clean, and it would be nice to understand why Xen
remaps %cs. But I'm committing it now anyway, so that people can test.

(maxv)

2017-10-28 19:28:11 UTC MAIN commitmail json YAML

Fix a mistake I made in the very first revision. The calculation of the
number of slots was incorrect in some cases, and it could cause the
prekern to fault right away at boot time, or the kernel to fault when
loading kernel modules near the end of the module map.

The variables are divided by PAGE_SIZE to prevent integer overflows.

(maxv)

2017-10-28 19:25:31 UTC MAIN commitmail json YAML

2017-10-28 19:24:55 UTC MAIN commitmail json YAML

make tests print the values.

(christos)

2017-10-28 19:19:10 UTC MAIN commitmail json YAML

Define the new flag too for previous commit.

XXX pullup-8
XXX pullup-7
XXX pullup-6
XXX pullup-5...

(riastradh)

2017-10-28 17:40:45 UTC MAIN commitmail json YAML

Rework memory allocators summary.

Recommend kmem(9) for everything that doesn't have special needs.

Note vmem(9) and extent(9) too.

(riastradh)

2017-10-28 17:06:43 UTC MAIN commitmail json YAML

Allow only one pending call to a pool's backing allocator at a time.

Candidate fix for problems with hanging after kva fragmentation related
to PR kern/45718.

Proposed on tech-kern:

https://mail-index.NetBSD.org/tech-kern/2017/10/23/msg022472.html

Tested by bouyer@ on i386.

This makes one small change to the semantics of pool_prime and
pool_setlowat: they may fail with EWOULDBLOCK instead of ENOMEM, if
there is a pending call to the backing allocator in another thread but
we are not actually out of memory.  That is unlikely because nearly
always these are used during initialization, when the pool is not in
use.

XXX pullup-8
XXX pullup-7
XXX pullup-6 (requires tweaking the patch)
XXX pullup-5...

(riastradh)

2017-10-28 16:09:14 UTC MAIN commitmail json YAML

2017-10-28 13:13:45 UTC MAIN commitmail json YAML

2017-10-28 12:56:27 UTC MAIN commitmail json YAML

2017-10-28 12:56:10 UTC MAIN commitmail json YAML

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

2017-10-28 10:54:18 UTC MAIN commitmail json YAML

Add new DTS files:
sun8i-a83t-allwinner-h8homlet-v2.dts
sun8i-a83t-bananapi-m3.dts
sun8i-a83t-cubietruck-plus.dts
sun50i-a64-nanopi-a64.dts
sun50i-a64-olinuxino.dts
sun50i-a64-orangepi-win.dts
sun50i-a64-sopine-baseboard.dts

(jmcneill)

2017-10-28 10:35:48 UTC MAIN commitmail json YAML

dts updated to 4.14-rc6

(jmcneill)

2017-10-28 10:35:04 UTC MAIN commitmail json YAML

src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/imx6ul-geam-kit.dts deleted
src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/imx6ul-geam.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/imx6ul-isiot-common.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/mt7623-evb.dts deleted
src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/rk1108-evb.dts deleted
src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/rk1108.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/tegra20-whistler.dts deleted
src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/uniphier-sld3-ref.dts deleted
src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/uniphier-sld3.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/bcm2835-rpi.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/bcm2837.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/bcm283x-rpi-smsc9514.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/bcm283x-rpi-usb-host.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/bcm283x.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/ns2-clock.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/ns2-svk.dts deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/ns2-xmc.dts deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/broadcom/ns2.dtsi deleted
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/socionext/uniphier-pinctrl.dtsi@1.4 / diff / nxr@1.4
src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/socionext/uniphier-ref-daughter.dtsi@1.4 / diff / nxr@1.4
      :
(more 3 files)
merge conflicts

(jmcneill)

2017-10-28 07:36:02 UTC MAIN commitmail json YAML

Update format to report sC

(skrll)

2017-10-28 06:36:18 UTC MAIN commitmail json YAML

Add '-n' and '-p var' args to the wait command (-n: wait for any,
-p var: set var to identifier, from arg list, or PID if no job args)
of the job for which status is returned (becomes $? after wait.)

Note: var is unset if the status returned from wait came from wait
itself rather than from some job exiting (so it is now possible to
tell whether 127 means "no such job" or "job did exit(127)", and
whether $? > 128 means "wait was interrupted" or "job was killed
by a signal or did exit(>128)".  ($? is too limited to to allow
indicating whether the job died with a signal, or exited with a
status such that it looks like it did...)

(kre)

2017-10-28 06:27:32 UTC MAIN commitmail json YAML

2017-10-28 06:24:24 UTC MAIN commitmail json YAML

Add #includes to make this compile.

<sys/cdefs.h> for __packed
<sys/types.h> for uint32_t

(riastradh)

2017-10-28 04:53:56 UTC MAIN commitmail json YAML

2017-10-28 04:50:38 UTC MAIN commitmail json YAML

Another %zu for size_t (this one in a DEBUG mode trace call, so it
doesn't actually ever bother anyone in practice.)

(kre)

2017-10-28 04:16:04 UTC MAIN commitmail json YAML

Back out extern struct cfdriver -> ioconf.h change to sequencer.c.

This broke the module build, because it needs midi_cd which is defined
in another module and not declared by the ioconf.h generated from
sequencer.ioconf.

But...  It also needs sequencer_cd, which is _also_ not declared by
the ioconf.h generated from sequencer.ioconf, nor defined in the
ioconf.c generated from sequencer.ioconf.  Did this ever work???

(riastradh)

2017-10-28 03:59:11 UTC MAIN commitmail json YAML

Extract the variable name validity test from setname() into a
function of its own.  It will soon be needed from another source.

(kre)

2017-10-28 03:47:24 UTC MAIN commitmail json YAML

2017-10-28 03:34:27 UTC MAIN commitmail json YAML

No externs in .c files!  Include ioconf.h for struct cfdriver xyz_cd.

(riastradh)

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

Note update of kernhist(9) and mention that you also need to update
vmstat(1).

(pgoyette)

2017-10-28 00:40:46 UTC MAIN commitmail json YAML

For some reason this single kernel seems to have outgrown its declared
size as a result of the kernhist(9) changes.  Bump the size.

XXX The amount of increase may be excessive - anyone with more detailed
XXX knowledge please feel free to further adjust the value appropriately.

(pgoyette)

2017-10-28 00:37:14 UTC MAIN commitmail json YAML

Update the kernhist(9) kernel history code to address issues identified
in PR kern/52639, as well as some general cleaning-up...

(As proposed on tech-kern@ with additional changes and enhancements.)

Details of changes:

* All history arguments are now stored as uintmax_t values[1], both in
  the kernel and in the structures used for exporting the history data
  to userland via sysctl(9).  This avoids problems on some architectures
  where passing a 64-bit (or larger) value to printf(3) can cause it to
  process the value as multiple arguments.  (This can be particularly
  problematic when printf()'s format string is not a literal, since in
  that case the compiler cannot know how large each argument should be.)

* Update the data structures used for exporting kernel history data to
  include a version number as well as the length of history arguments.

* All [2] existing users of kernhist(9) have had their format strings
  updated.  Each format specifier now includes an explicit length
  modifier 'j' to refer to numeric values of the size of uintmax_t.

* All [2] existing users of kernhist(9) have had their format strings
  updated to replace uses of "%p" with "%#jx", and the pointer
  arguments are now cast to (uintptr_t) before being subsequently cast
  to (uintmax_t).  This is needed to avoid compiler warnings about
  casting "pointer to integer of a different size."

* All [2] existing users of kernhist(9) have had instances of "%s" or
  "%c" format strings replaced with numeric formats; several instances
  of mis-match between format string and argument list have been fixed.

* vmstat(1) has been modified to handle the new size of arguments in the
  history data as exported by sysctl(9).

* vmstat(1) now provides a warning message if the history requested with
  the -u option does not exist (previously, this condition was silently
  ignored, with only a single blank line being printed).

* vmstat(1) now checks the version and argument length included in the
  data exported via sysctl(9) and exits if they do not match the values
  with which vmstat was built.

* The kernhist(9) man-page has been updated to note the additional
  requirements imposed on the format strings, along with several other
  minor changes and enhancements.

[1] It would have been possible to use an explicit length (for example,
    uint64_t) for the history arguments.  But that would require another
    "rototill" of all the users in the future when we add support for an
    architecture that supports a larger size.  Also, the printf(3) format
    specifiers for explicitly-sized values, such as "%"PRIu64, are much
    more verbose (and less aesthetically appealing, IMHO) than simply
    using "%ju".

[2] I've tried very hard to find "all [the] existing users of kernhist(9)"
    but it is possible that I've missed some of them.  I would be glad to
    update any stragglers that anyone identifies.

(pgoyette)

2017-10-27 23:22:01 UTC MAIN commitmail json YAML

Add comment explaining why membar_producer is not sfence.

On x86, ordinary non-temporal stores are always issued in program
order to main memory and to other CPUs.

(riastradh)

2017-10-27 19:00:07 UTC MAIN commitmail json YAML

Document the hw.driverN.latency sysctl variable.

(nat)

2017-10-27 18:16:10 UTC MAIN commitmail json YAML

Add NULL check after doing memory allocation at a couple of places

ok christos@

(abhinav)

2017-10-27 12:25:15 UTC MAIN commitmail json YAML

2017-10-27 12:01:08 UTC MAIN commitmail json YAML

[syzkaller] Fix for PR #52658 as suggested by riastradh@

The bug was found by Dmitry Vyukov (dvyukov@google.com)
using syzkaller and was tested by me on a VM running
8.99.5

(utkarsh009)

2017-10-27 11:15:03 UTC MAIN commitmail json YAML

Update the return type of printf(9)

from 'void' to 'int' as a result of
redeclaration in sys/sys/systm.h

(utkarsh009)

2017-10-27 09:59:17 UTC MAIN commitmail json YAML

2017-10-27 08:43:11 UTC MAIN commitmail json YAML

Replace a line that somehow got lost in the import from tzcode2017c

(kre)

2017-10-27 05:14:11 UTC MAIN commitmail json YAML

The Zone test was obviously intended to test %Z rather than %z, otherwise
it would be (and has been) identical to the zone test, which would be a
pointless waste of time.

(kre)

2017-10-27 04:31:50 UTC MAIN commitmail json YAML

Handle esp-udp for NAT-T

(ozaki-r)

2017-10-27 04:05:21 UTC MAIN commitmail json YAML

Minor typo: Coordinated Universal time  should be  Coordinated Universal Time

(kre)

2017-10-27 01:34:32 UTC MAIN commitmail json YAML

Independent blocksizes for virtual channels where a static blocksize is
not stipulated by the underlying hw driver.

This improves latency in games esp. when the stream format differs from
the harware format.

OK christos@.

(nat)

2017-10-27 00:55:27 UTC MAIN commitmail json YAML

Remove bogus errno checks, mktime() (and timegm()) does not guarantee
to leave errno unaltered if there is no error.  And does not.

While here, write -1 the same way everyone else does (not ~0, which
would not even be negative on a 1's complement host, if you can find one).

And while not needed for the test, but so that if checked, the result is
more likely to be what is anticipated, set tm_mday to an in-range value
in the mtime_negyear test (otherwise the correction results in the result
movng backwards to the last day of the previous month, which is the
end of Decemper, 1898, rather than the 1899 one would expect from year -1.)

(kre)

2017-10-26 23:28:15 UTC MAIN commitmail json YAML

Add support for enabling modules specified in ti,hwmods property. Very
primitive am3xxx prcm driver added to validate it, needs work.

(jmcneill)

2017-10-26 22:45:00 UTC MAIN commitmail json YAML

Ensure that the low/high water marks are at least PREFILL_BLOCKS.

(nat)

2017-10-26 22:38:27 UTC MAIN commitmail json YAML

Add latency sysctl to adjust hw blocksize and hence latency of the mixer.

usage: sysctl -w hw.hdafg0.lantency="value in milliseconds"

It is possible to set the latency of the mixer unless a static blocksize
is configured by the underlying hardware driver (pad, vcaudio on RPI).

Documentation updates to audio.4 will occur in a follow up commit.

OK christos@.  XXX pullup-8.

(nat)

2017-10-26 10:56:57 UTC MAIN commitmail json YAML

UART frequency comes from 'clock-frequency' property here

(jmcneill)

2017-10-26 09:41:15 UTC MAIN commitmail json YAML

Use macro(ETHER_LOCK() and ETHER_UNLOCK()). No functional change.

(msaitoh)

2017-10-26 07:29:53 UTC MAIN commitmail json YAML

Add man page for bwfm(4)

Wireless driver for Broadcom and some now sold by Cypress.

(maya)

2017-10-26 05:08:30 UTC MAIN commitmail json YAML

2017-10-26 01:40:33 UTC MAIN commitmail json YAML

- Remove all half duplex setting.
- Remove special handling of IXGBE_DEV_ID_82598AT's 1000BaseT. The PHY is
  compliant with clause 45, so the media is added in the beginning of
  ixgbe_add_media_types().

(msaitoh)

2017-10-26 01:16:32 UTC MAIN commitmail json YAML

2017-10-25 19:27:06 UTC MAIN commitmail json YAML

Note addition of bwfm(4)

(jmcneill)

2017-10-25 19:04:07 UTC MAIN commitmail json YAML

Remove comma after last Nm entry
Remove whitespace at the end of a line

(abhinav)

2017-10-25 19:01:25 UTC MAIN commitmail json YAML

Add offtime_r to the NAME section

(abhinav)

2017-10-25 18:07:33 UTC MAIN commitmail json YAML

Repositioned my name according to Alphabetical Order (surname).

(utkarsh009)

2017-10-25 18:06:01 UTC MAIN commitmail json YAML

2017-10-25 17:59:34 UTC MAIN commitmail json YAML

Add clock_getcpuclockid to the NAME section

(abhinav)

2017-10-25 17:58:04 UTC MAIN commitmail json YAML

Correct the standard version for clock_nanosleep (based on the FreeBSD man page)

(abhinav)

2017-10-25 17:53:11 UTC MAIN commitmail json YAML

Add clock_nanosleep to the NAME section

(abhinav)

2017-10-25 17:44:50 UTC MAIN commitmail json YAML

Add pipe2 to the NAME section

(abhinav)

2017-10-25 17:42:05 UTC MAIN commitmail json YAML

Add sigqueueinfo to the NAME section

(abhinav)

2017-10-25 17:39:47 UTC MAIN commitmail json YAML

Add FD_SET, FD_CLR, FD_ISSET and FD_ZERO to the NAME section

(abhinav)

2017-10-25 17:30:03 UTC MAIN commitmail json YAML

Add fktrace to the NAME section

(abhinav)

2017-10-25 17:27:07 UTC MAIN commitmail json YAML

Add myself at the right place :-P

(utkarsh009)

2017-10-25 17:25:52 UTC MAIN commitmail json YAML

Add fhstatvfs1 to the NAME section

(abhinav)

2017-10-25 17:20:52 UTC MAIN commitmail json YAML

Add fchroot to the NAME section

(abhinav)

2017-10-25 17:09:47 UTC MAIN commitmail json YAML

Add malloc.conf to the NAME section
Remove Pp before Bd at few places

(abhinav)

2017-10-25 17:03:31 UTC MAIN commitmail json YAML

Remove comma after last Nm entry

(abhinav)

2017-10-25 16:59:12 UTC MAIN commitmail json YAML

Added my name to the NetBSD developers list.

(utkarsh009)

2017-10-25 16:49:25 UTC MAIN commitmail json YAML

Add __svc_getcallercreds to the NAME section
Remove Pp before It at various places

(abhinav)

2017-10-25 16:29:21 UTC MAIN commitmail json YAML

Add freeifaddrs to the NAME section

(abhinav)

2017-10-25 16:26:42 UTC MAIN commitmail json YAML

Remove comma after last Nm entry

(abhinav)

2017-10-25 16:13:04 UTC MAIN commitmail json YAML

Remove comma after last Nm entry.
New sentence, new line

(abhinav)

2017-10-25 16:09:46 UTC MAIN commitmail json YAML

Improve delay to be better than 1.3 innaccurate by default and handle the
unlikely wrap

(skrll)

2017-10-25 16:08:09 UTC MAIN commitmail json YAML

2017-10-25 16:07:34 UTC MAIN commitmail json YAML

Add towupper to the NAME section as well.

(abhinav)

2017-10-25 16:04:00 UTC MAIN commitmail json YAML

Add sha_224, sha_384 and sha_512 family of functions to the NAME section as well.
Also use .An for authors in the AUTHORS section

(abhinav)

2017-10-25 09:13:41 UTC MAIN commitmail json YAML

unbound reloads config on SIGHUP, so add the reload command

(roy)

2017-10-25 08:50:05 UTC MAIN commitmail json YAML

Use %zu for size_t

(martin)

2017-10-25 08:21:41 UTC MAIN commitmail json YAML

2017-10-25 08:12:40 UTC MAIN commitmail json YAML

2017-10-25 07:41:35 UTC MAIN commitmail json YAML

2017-10-25 07:35:40 UTC MAIN commitmail json YAML

Mention ec_multi*

(ozaki-r)

2017-10-25 07:19:29 UTC netbsd-8 commitmail json YAML

310, 311, 317, 322, 323, 325, 327-329

(snj)

2017-10-25 07:14:10 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #329):
sys/net/bpf.c: revision 1.217
Turn on D_MPSAFE flag of bpf_cdevsw that is already MP-safe
Pointed out by k-goda@IIJ

(snj)

2017-10-25 07:12:33 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #328):
sys/net/if_vlan.c: revision 1.103
Set IFEF_START_MPSAFE by default
Because vlan_start is already MP-safe, there is no reason to not do so.
Acked by s-yamaguchi@IIJ

(snj)

2017-10-25 07:08:46 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by flxd in ticket #327):
share/man/man4/slhci.4: 1.11-1.12
Add TC-USB.
--
remove Tn, bump date for previous

(snj)

2017-10-25 07:05:55 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #325):
sys/arch/x86/x86/vmt.c: revision 1.18
Check that the host supports GET_SPEED as well as GET_VERSION
before deciding vmt_probe has succeeded.
qemu supports GET_VERSION but not the RPC protocol so the probe succeeds
but the attach fails, resulting in "vmt0: failed to open backdoor RPC
channel (TCLO protocol)".  All known versions of vmware support GET_SPEED
and no known qemu versions do, so this prevents it from attempting to
attach (and failing) on qemu while still working on vmware.
stop checking vmt_type to avoid having to adapt this code.
- Taken from openbsd

(snj)

2017-10-25 07:03:10 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #323):
bin/sh/sh.1: revision 1.168
Fix typo: s/one or mode/one or more/

(snj)

2017-10-25 07:01:19 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #322):
sys/dist/pf/net/pf_ioctl.c: revision 1.52
Defer initialization of pf_status.host_id
The call to cprng_fast32() requires that per-cpu data has been initialized
by corng_fast_init(), which doesn't get called until after the first part
of auto-configuration is done, long after pfattach() calls cprng_fast32().
Fixed PR kern/52620

(snj)

2017-10-25 06:56:41 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jdolecek in ticket #317):
lib/libc/net/getaddrinfo.c: revision 1.116
lib/libc/resolv/res_mkquery.c: revision 1.16
PR/52578: Benjamin M. Schwartz Set the AD bit when DNSSEC is enabled
(RFC 6840 Section 5.7).
--
PR/52578: Benjamin M. Schwartz: sync the internal copy of res_nquery for
getaddrinfo, with the real version so that we handle EDNS fallback.

(snj)

2017-10-25 06:54:27 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #311):
share/man/man4/u3g.4: revision 1.9
u3ginit was split out and became umodeswitch.
Update the kernel configuration declaration.

(snj)

2017-10-25 06:51:36 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #310):
bin/sh/expand.c: revision 1.121
bin/sh/sh.1: revision 1.167 via patch
Three fixes and a change to ~ expansions
1. A serious bug introduced 3 1/2 months ago (approx) (rev 1.116) which
  broke all but the simple cases of ~ expansions is fixed (amazingly,
  given the magnitude of this problem, no-one noticed!)
2. An ancient bug (probably from when ~ expansion was first addedin 1994, and
  certainly is in NetBSD-6 vintage shells) where ${UnSeT:-~} (and similar)
  does not expand the ~ is fixed (note that ${UnSeT:-~/} does expand,
  this should give a clue to the cause of the problem.
3. A fix/change to make the effects of ~ expansions on ${UnSeT:=whatever}
  identical to those in UnSeT=whatever  In particular, with HOME=/foo
  ${UnSeT:=~:~} now assigns, and expands to, /foo:/foo rather than ~:~
  just as VAR=~:~ assigns /foo:/foo to VAR.  Note this is even after the
  previous fix (ie: appending a '/' would not change the results here.)
  It is hard to call this one a bug fix for certain (though I believe it is)
  as many other shells also produce different results for the ${V:=...}
  expansions than  they do for V=... (though not all the same as we did).
  POSIX is not clear about this, expanding ~ after : in VAR=whatever
  assignments is clear, whether ${U:=whatever} assignments should be
  treated the same way is not stated, one way or the other.
4. Change to make ':' terminate the user name in a ~ expansion in all cases,
  not only in assignments.  This makes sense, as ':' is one character that
  cannot occur in user names, no matter how otherwise weird they become.
  bash (incl in posix mode) ksh93 and bosh all act this way, whereas most
  other shells (and POSIX) do not.  Because this is clearly an extension
  to POSIX, do this one only when not in posix mode (not set -o posix).

(snj)

2017-10-25 06:32:59 UTC MAIN commitmail json YAML

Implement tcgetwinsize() and tcsetwinsize() in libc, with access
via <termios.h> (and document them.)  Bump libc minor number for them.

Arrange for "struct winsize" to become visible in <termios.h>

Fix stty(1) so that "cols" is reported as the arg to set number of columns,
and "columns" is the alias, rather than the other way around, as "cols" is
what has been added to POSIX.

This is to conform with updates to be included in 1003.1 issue 8
(whenever that gets published) currently available at:
  http://austingroupbugs.net/view.php?id=1053  (see note 3863)
  http://austingroupbugs.net/view.php?id=1151  (see note 3856)

(kre)

2017-10-25 06:02:40 UTC MAIN commitmail json YAML

Document lock order and locking rules.

(riastradh)

2017-10-25 05:42:56 UTC MAIN commitmail json YAML

Add options to the builtin jobid command to allow discovering the
process group (-g), the process leader pid (-p) ($! if the job was &'d)
and the job identifier (-j) (the %n that refers to the job) in addition to
(default) the list of all pids in the job (which it has always done).
No change to the (single) "job" arg, which is a specifier of the job:
the process leader pid, or one of the % forms, and defaults to %% (aka %+).
(This is all now documented in sh(1))

Also document the jobs command properly (no change to the command, just
document what it actually is.)

And while here, a whole new section in sh(1) "Job Control".  It probably
needs better wording, but this is (perhaps) better than the nothing that
was there before.

(kre)

2017-10-25 04:45:41 UTC MAIN commitmail json YAML

- For X550 and newer, print NVM Image Version with %u.%02x (e.g. "0.05").
- Fix value check of OEM_NVM_IMAGE_VER.

(msaitoh)

2017-10-25 04:33:15 UTC MAIN commitmail json YAML

Remove unnecessary splsoftnet

(ozaki-r)

2017-10-25 04:17:34 UTC MAIN commitmail json YAML

Don't free sc_rthash twice

(ozaki-r)