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

2024-05-10 17:19:13 UTC Now

2017-08-10 13:25:49 UTC MAIN commitmail json YAML

Report AUXUART fifo size on rpi3 to 1 byte.  This prevents bluetooth
errors using the h5 protocol.

(nat)

2017-08-10 13:22:19 UTC MAIN commitmail json YAML

2017-08-10 13:13:03 UTC MAIN commitmail json YAML

Save and restore xcr0 when doing ACPI sleeps. Should fix PR/49174.

(maxv)

2017-08-10 12:51:22 UTC MAIN commitmail json YAML

Don't include opt_compat_freebsd.h.

(maxv)

2017-08-10 12:49:11 UTC MAIN commitmail json YAML

Don't include opt_compat_ibcs2.h. No idea what it was doing in amd64,
since it never got implemented there.

(maxv)

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

Remove the svr4/ibcs2 fpu flags.

(maxv)

2017-08-10 09:26:55 UTC MAIN commitmail json YAML

Write known issues on scalability

(ozaki-r)

2017-08-10 09:08:54 UTC MAIN commitmail json YAML

Update

ipsec(4), opencrypto(9) and vlan(4) are now MP-safe.

(ozaki-r)

2017-08-10 07:15:09 UTC netbsd-8 commitmail json YAML

prune redundant line

(snj)

2017-08-10 07:04:19 UTC netbsd-6-0 commitmail json YAML

2017-08-10 06:59:39 UTC netbsd-6-0 commitmail json YAML

2017-08-10 06:48:24 UTC netbsd-6-1 commitmail json YAML

2017-08-10 06:44:10 UTC netbsd-6-1 commitmail json YAML

Apply patch (requested by mrg in ticket #1467):
Update tzdata to 2017b.

(snj)

2017-08-10 06:35:06 UTC netbsd-6-1 commitmail json YAML

2017-08-10 06:33:51 UTC MAIN commitmail json YAML

Use pool_cache(9) instead of pool(9) for tdb_crypto objects

The change improves network throughput especially on multi-core systems.

(ozaki-r)

2017-08-10 06:11:24 UTC MAIN commitmail json YAML

Add per-CPU rtcache to ipsec_reinject_ipstack

It reduces route lookups and also reduces rtcache lock contentions
when NET_MPSAFE is enabled.

(ozaki-r)

2017-08-10 06:09:00 UTC MAIN commitmail json YAML

Simplify ipsec_reinject_ipstack (NFC)

(ozaki-r)

2017-08-10 06:05:00 UTC netbsd-6 commitmail json YAML

2017-08-10 05:59:07 UTC netbsd-6 commitmail json YAML

2017-08-10 04:31:58 UTC MAIN commitmail json YAML

2017-08-09 23:01:06 UTC MAIN commitmail json YAML

evbmips can "boot root FFSv2"

It typically uses a non-NetBSD bootloader (PMON, u-boot...) and those
don't differentiate from v1 from v2 - both are unsupported and it requires
a separate boot partition.

(maya)

2017-08-09 19:18:59 UTC MAIN commitmail json YAML

Remove references to svr4 and ibcs2, they are not supported here.

(maxv)

2017-08-09 19:11:13 UTC MAIN commitmail json YAML

Remove several dead entries from the x86 makefiles. Looks like people (me
included) regularly forget to take care of this.

(maxv)

2017-08-09 18:58:51 UTC MAIN commitmail json YAML

2017-08-09 18:55:21 UTC MAIN commitmail json YAML

2017-08-09 18:52:00 UTC MAIN commitmail json YAML

2017-08-09 18:48:53 UTC MAIN commitmail json YAML

2017-08-09 18:45:30 UTC MAIN commitmail json YAML

Remove compat_ibcs2 from i386. After a discussion on port-vax, it turns
out that compat_ibcs2 does not implement the iBCS2 standard - which is
x86-specific - but rather SVR3. Our real iBCS2 implementation was a
mixture of compat_ibcs2 and compat_svr4, and was only partial. Keeping
support for this in i386 is totally irrelevant today. I also asked on
port-i386 but didn't wait long.

The main issue is that compat_ibcs2 should have been called compat_svr3.
But CVS does not support renaming files, and moving things around is both
painful and tiring, even more so when no one seems to be interested in
doing this work or in the feature at all. For now compat_ibcs2 is available
on Vax and will stay, until someone (not me) cleans it up.

(maxv)

2017-08-09 18:44:32 UTC MAIN commitmail json YAML

If a DF_1_NODELETE DSO has been removed from the DAG list, it still
needs to be able to resolve relocations against itself. As such, search
the referencing object explicitly last, if it hasn't been searched
before.

(joerg)

2017-08-09 17:20:44 UTC MAIN commitmail json YAML

PR/52472: Edgar Fuss: Document handling of scoped IPv6 addresses by embedding
ASCII art from:
IPv6 Core Protocols Implementation
By Qing Li, Tatuya Jinmei, Keiichi Shima
Page 56, Figure 2.12

(christos)

2017-08-09 16:44:40 UTC MAIN commitmail json YAML

While ld(4) is MP safe, many backends are not.

Add a flag for backends that are MP safe. Take KERNEL_LOCK when calling
into a backend that doesn't have the flag set. Do the same for the
discard routine.

Fixes PR 52462.

(mlelstv)

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

Don't wait for allocation in polling mode.

(mlelstv)

2017-08-09 13:03:38 UTC netbsd-8 commitmail json YAML

2017-08-09 13:03:18 UTC netbsd-8 commitmail json YAML

Additionally pull up r1.30 for ticket #189 to unbreak the build.

(martin)

2017-08-09 09:48:11 UTC MAIN commitmail json YAML

MP-ify SAD (savlist)

localcount(9) is used to protect savlist of sah. The basic design is
similar to MP-ifications of SPD and SAD sahlist. Please read the
locking notes of SAD for more details.

(ozaki-r)

2017-08-09 08:30:54 UTC MAIN commitmail json YAML

Limit the number of mbufs queued for deferred key_sendup_mbuf

It's easy to be queued hundreds of mbufs on the list under heavy
network load.

(ozaki-r)

2017-08-09 07:32:43 UTC netbsd-7-0 commitmail json YAML

2017-08-09 07:27:02 UTC netbsd-7-1 commitmail json YAML

2017-08-09 07:19:05 UTC netbsd-7 commitmail json YAML

1460-1462, 1464-1466

(snj)

2017-08-09 06:56:02 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1466):
sys/arch/hpcsh/dev/pfckbd.c: revision 1.30
Don't reschedule the callout in the scanning function itself, as that
conflicts with using the same function for polled console.
Makes early ddb work with wscons console again on my Jornada 690.

(snj)

2017-08-09 06:48:57 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1465):
sys/dev/hpc/hpckbd.c: revision 1.32
XXX: On hpcsh only - bring back old incorrect hpckbd_keymap_setup()
fixed in 1.31.  The old one with UNCONST does work on hpcsh b/c the
kernel is directly mapped.  The new one does not work on hpcsh b/c it
calls consinit() very early when malloc() is not yet available.
The real fix for this is to fix the constness of wscons keymap
structures that is self-contradictory.

(snj)

2017-08-09 06:40:25 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #1464):
sys/arch/evbarm/rpi/rpi_machdep.c: 1.71 via patch
Disable BSC0 on Raspberry Pi 3 and Zero W boards.

(snj)

2017-08-09 06:35:37 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1462):
sys/dev/usb/if_ural.c: revision 1.52
Free the RX list if ural_alloc_rx_list fails part way through.
Reported by Ilja Van Sprundel.

(snj)

2017-08-09 06:35:16 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1462):
sys/dev/usb/if_ural.c: revision 1.52
Free the RX list if ural_alloc_rx_list fails part way through.
Reported by Ilja Van Sprundel.

(snj)

2017-08-09 06:34:53 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1462):
sys/dev/usb/if_ural.c: revision 1.52
Free the RX list if ural_alloc_rx_list fails part way through.
Reported by Ilja Van Sprundel.

(snj)

2017-08-09 06:32:49 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1461):
sys/kern/kern_malloc.c: revision 1.146
Avoid integer overflow in kern_malloc(). Reported by Ilja Van Sprundel.

(snj)

2017-08-09 06:32:22 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1461):
sys/kern/kern_malloc.c: revision 1.146
Avoid integer overflow in kern_malloc(). Reported by Ilja Van Sprundel.

(snj)

2017-08-09 06:31:33 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1461):
sys/kern/kern_malloc.c: revision 1.146
Avoid integer overflow in kern_malloc(). Reported by Ilja Van Sprundel.

(snj)

2017-08-09 06:22:07 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #1460):
sys/dev/auconv.c: revision 1.30 via patch
sys/dev/ic/ac97.c: revision 1.97 via patch
sys/dev/pci/azalia_codec.c: revision 1.81 via patch
Mixer device bounds checking.
Analysis by Ilja van Sprundel.

(snj)

2017-08-09 06:21:18 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #1460):
sys/dev/auconv.c: revision 1.30 via patch
sys/dev/ic/ac97.c: revision 1.97 via patch
sys/dev/pci/azalia_codec.c: revision 1.81 via patch
Mixer device bounds checking.
Analysis by Ilja van Sprundel.

(snj)

2017-08-09 06:20:10 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by nat in ticket #1460):
sys/dev/auconv.c: revision 1.30 via patch
sys/dev/ic/ac97.c: revision 1.97 via patch
sys/dev/pci/azalia_codec.c: revision 1.81 via patch
Mixer device bounds checking.
Analysis by Ilja van Sprundel.

(snj)

2017-08-09 06:19:56 UTC MAIN commitmail json YAML

Add counter check to vlan(4) ATF. Implemented by s-yamaguchi@IIJ, thanks.

(knakahara)

2017-08-09 06:17:23 UTC MAIN commitmail json YAML

Fix vlan(4) obytes counter. Implemented by s-yamaguchi@IIJ, thanks.

(knakahara)

2017-08-09 06:10:08 UTC netbsd-8 commitmail json YAML

2017-08-09 06:04:41 UTC MAIN commitmail json YAML

Fix that prev isn't cleared on retry

(ozaki-r)

2017-08-09 06:03:47 UTC netbsd-8 commitmail json YAML

Apply patch (requested by mrg in ticket #204):
Don't define _DIAGNOSTIC in libc.  When this was introduced in revision
1.9, it was intended to be turned off for release branches.

(snj)

2017-08-09 06:00:11 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #203):
sys/arch/hpcsh/dev/pfckbd.c: revision 1.30
Don't reschedule the callout in the scanning function itself, as that
conflicts with using the same function for polled console.
Makes early ddb work with wscons console again on my Jornada 690.

(snj)

2017-08-09 05:57:32 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #202):
sys/dev/hpc/hpckbd.c: revision 1.32
XXX: On hpcsh only - bring back old incorrect hpckbd_keymap_setup()
fixed in 1.31.  The old one with UNCONST does work on hpcsh b/c the
kernel is directly mapped.  The new one does not work on hpcsh b/c it
calls consinit() very early when malloc() is not yet available.
The real fix for this is to fix the constness of wscons keymap
structures that is self-contradictory.

(snj)

2017-08-09 05:51:50 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #201):
sys/net/if_gif.c: revision 1.128
fix leak when encap_attach() fails twice.

(snj)

2017-08-09 05:49:50 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #200):
sys/arch/arm/sunxi/files.sunxi: 1.15-1.16
sys/arch/arm/sunxi/sun6i_dma.c: 1.1-1.2
sys/arch/arm/sunxi/sun8i_h3_ccu.c: 1.9-1.10
sys/arch/arm/sunxi/sun8i_h3_codec.c: 1.1-1.2
sys/arch/arm/sunxi/sunxi_ccu.h: 1.8
sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: 1.5
sys/arch/arm/sunxi/sunxi_codec.c: 1.1
sys/arch/arm/sunxi/sunxi_codec.h: 1.1
sys/arch/evbarm/conf/SUNXI: 1.20-1.21
Add DMA controller driver for sun6i and later family SoCs.
--
Enable sun6idma
--
add DMA gate
--
Fix burst field encoding, and add a helper function to dump registers
from ddb.
--
Add support for H3 audio PLL and digital audio part.
--
Add support for Allwinner H3 audio codec.
--
Enable H3 audio support
--
h3_codec_pr_write: clear write mode bit after setting it; fixes an issue with output being mutex when skipping tracks in mpg123

(snj)

2017-08-09 05:35:19 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #199):
bin/sh/input.c: revision 1.61
bin/sh/parser.c: revision 1.143
PR bin/52458
Avoid mangling history when editing is enabled, and the prompt contains a \n
Also, allow empty input lines into history when they are being appended to
a previous (partial) command (but not when they would just make an empty entry)
.
For all the gory details, see the PR.
Note nothing here actually makes prompts containing \n work correctly
when editing is enabled, that's a libedit issue, which will be addressed
some other time.

(snj)

2017-08-09 05:31:03 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #198):
sys/altq/altq_cbq.c: revision 1.31
sys/altq/altq_hfsc.c: revision 1.27
sys/altq/altq_jobs.c: revision 1.11
sys/altq/altq_priq.c: revision 1.24
sys/altq/altq_wfq.c: revision 1.22
Zero buffers copied to userland to avoid stack disclosure.
From Ilja Van Sprundel.
--
Reject negative indices.
(Would be nice to change the types too, and it's *probably* safe to
replace int by u_int, but I'm reluctant to touch the ioctl
definitions without at least a modicum more thought.  Also one of
them is a u_long, because why not?)
From Ilja Van Sprundel.

(snj)

2017-08-09 05:27:14 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #197):
sys/netsmb/smb_dev.c: revision 1.50
sys/netsmb/smb_subr.c: revision 1.38
sys/netsmb/smb_subr.h: revision 1.22
sys/netsmb/smb_usr.c: revision 1.17-1.19
Reject allocations for too-small buffers from userland.
From Ilja Van Sprundel.
--
Plug another overflow: refuse bogus sa_len from user.
--
Reject negative ioc_setupcnt.
--
Reject negative offset/count for smb read/write.
Not clear that this is actually a problem for the kernel -- might
overwrite user's buffers or return garbage to user, but that's their
own damn fault.  But it's hard to imagine that negative offset/count
ever makes sense, and I haven't ruled out a problem for the kernel.

(snj)

2017-08-09 05:18:26 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #196):
sys/dev/ic/ciss.c: revision 1.37
Reject negative indices from userland.

(snj)

2017-08-09 05:17:03 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #195):
sys/dev/ic/isp_netbsd.c: revision 1.89
Reject out-of-bounds channel index.
From Ilja Van Sprundel.

(snj)

2017-08-09 05:14:20 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #194):
sys/kern/kern_ktrace.c: revision 1.171
Clamp the length we use, not the length we don't.
Avoids uninitialized memory disclosure to userland.
From Ilja Van Sprundel.

(snj)

2017-08-09 05:12:19 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #193):
sys/compat/common/vfs_syscalls_12.c: revision 1.34
sys/rump/kern/lib/libsys_sunos/rump_sunos_compat.c: revision 1.2
sys/compat/svr4_32/svr4_32_misc.c: revision 1.78
sys/compat/sunos32/sunos32_misc.c: revision 1.78
sys/compat/linux/common/linux_misc.c: revision 1.239
sys/compat/osf1/osf1_file.c: revision 1.44
sys/compat/common/vfs_syscalls_43.c: revision 1.60
sys/compat/svr4/svr4_misc.c: revision 1.158
sys/compat/ibcs2/ibcs2_misc.c: revision 1.114
sys/compat/linux/common/linux_file64.c: revision 1.59
sys/compat/linux32/common/linux32_dirent.c: revision 1.18
sys/compat/sunos/sunos_misc.c: revision 1.171
Fail, don't panic, on bad dirents from file system.
Controllable via puffs from userland.
From Ilja Van Sprundel.

(snj)

2017-08-09 05:09:47 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #192):
sys/kern/vfs_getcwd.c: revision 1.52
Don't walk off the end of the dirent buffer.
From Ilja Van Sprundel.

(snj)

2017-08-09 04:45:39 UTC MAIN commitmail json YAML

- Sprinkle static and const. No functional change.
- Print chip ID in hexadecimal instead of octal in def_match().

(msaitoh)

2017-08-09 04:29:36 UTC MAIN commitmail json YAML

Fix deadlock between key_sendup_mbuf called from key_acquire and localcount_drain

If we call key_sendup_mbuf from key_acquire that is called on packet
processing, a deadlock can happen like this:
- At key_acquire, a reference to an SP (and an SA) is held
- key_sendup_mbuf will try to take key_so_mtx
- Some other thread may try to localcount_drain to the SP with
  holding key_so_mtx in say key_api_spdflush
- In this case localcount_drain never return because key_sendup_mbuf
  that has stuck on key_so_mtx never release a reference to the SP

Fix the deadlock by deferring key_sendup_mbuf to the timer
(key_timehandler).

(ozaki-r)

2017-08-09 03:41:11 UTC MAIN commitmail json YAML

Fix locking notes of SAD

(ozaki-r)

2017-08-09 01:56:42 UTC MAIN commitmail json YAML

Make use of the defined YP errors when ypbind encounters one rather than
just returning an empty (successful) RPC result.

Don't exit when allocating memory for a new bound domain received via a RPC.

(ginsbach)

2017-08-08 22:21:35 UTC MAIN commitmail json YAML

If the harware ring is starved of data...Insert silence into the mix ring
so mix_write can function properly.

(nat)

2017-08-08 17:27:34 UTC MAIN commitmail json YAML

Mmh, don't overwrite tf_err and tf_trapno. Looks like it can be used to
exploit the intel sysret vulnerability once again.

(maxv)

2017-08-08 17:00:42 UTC MAIN commitmail json YAML

Remove dumb debug code and outdated comment.

(maxv)

2017-08-08 16:57:32 UTC MAIN commitmail json YAML

Remove compat_svr4, compat_svr4_32 and compat_ibcs2 from the list of
autoloaded modules. These options are disabled everywhere (except ibcs2
on Vax, but Vax does not support kernel modules, so doesn't matter),
therefore there is no issue in removing them from the list. Interested
users will now have to do a 'modload' first, or uncomment the entries in
GENERIC.

(maxv)

2017-08-08 16:24:03 UTC netbsd-8 commitmail json YAML

2017-08-08 16:21:35 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #191):
sys/compat/ibcs2/ibcs2_ioctl.c: revision 1.46
sys/compat/ibcs2/ibcs2_stat.c: revision 1.50
sys/compat/ibcs2/ibcs2_exec_coff.c: revision 1.27
sys/compat/ibcs2/ibcs2_exec_coff.c: revision 1.28
sys/compat/ibcs2/ibcs2_exec_coff.c: revision 1.29
sys/compat/ibcs2/ibcs2_stat.c: revision 1.49
Check for NUL termination within the buffer we have.
From Ilja Van Sprundel.
Make sure we have enough space in the buffer before reading it.
From Ilja Van Sprundel.
Make sure we move forward over the buffer.
From Ilja Van Sprundel.
Zero buffers in ibcs2 ioctl to avoid disclosing stack to userland.
From Ilja Van Sprundel.
Don't drop vnode ref until we're done with mount in ibcs2_stat(v)fs.
Nothing else guarantees the mount will stick around.
From Ilja Van Sprundel.
Little happy on the commit trigger.  Actually use the out label.

(martin)

2017-08-08 16:12:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #190):
sys/dev/vnd.c: revision 1.260
sys/dev/vnd.c: revision 1.262
Put in a litany of judicious bounds checks around vnd headers.
Thought I was done with this crap after I rewrote vndcompress(1)!
From Ilja Van Sprundel.
Appease toxic bullshit warning from gcc.
If you have a better way to write a useful bounds check that happens
to always pass on LP64 but doesn't always on LP32, without making it
fail to compile on LP64 or making it an #ifdef conditional on LP32,
please put it in here instead.

(martin)

2017-08-08 16:05:37 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #189):
sys/compat/svr4/svr4_stream.c: revision 1.89
sys/compat/svr4/svr4_signal.c: revision 1.67
sys/compat/svr4/svr4_stream.c: revision 1.90
sys/compat/svr4/svr4_stream.c: revision 1.91
sys/compat/svr4_32/svr4_32_signal.c: revision 1.29
sys/compat/svr4/svr4_lwp.c: revision 1.20
Fix some of the multitudinous holes in svr4 streams.
We should never have enabled this by default; it is a minefield.
From Ilja Van Sprundel.
Zero stack data before copyout.
From Ilja Van Sprundel.
Fix indexing of svr4 signals.
From Ilja Van Sprundel.
Feebly attempt to get this reference counting less bad.
This svr4 streams code is bad and it should feel bad.
From Ilja Van Sprundel.
Check bounds in svr4_sys_putmsg.  Check more svr4_strmcmd bounds.
svr4 streams code is still a disaster.
From Ilja Van Sprundel.

(martin)

2017-08-08 15:59:04 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #188):
sys/compat/linux/common/linux_time.c: revision 1.38
sys/compat/linux/common/linux_time.c: revision 1.39
Only let the superuser set the compat_linux timezone.
Not really keen to invent a new kauth cookie for this useless purpose.
From Ilja Van Sprundel.
Put suser check in the right function: settimeofday, not gettimeofday.
While here, remove wrong comment.
Noted by kre@.

(martin)

2017-08-08 12:22:21 UTC MAIN commitmail json YAML

Build the loongson kernels with all the binutils loongson2f errata workarounds

From Zhang Fuxin via https://sourceware.org/ml/binutils/2009-11/msg00387.html

  - The NOP issue

"The nature of the erratum is deeply related to the microarchitecture of
Loongson-2. It uses roughly a 4-way superscalar dynamically scheduled core,
instructions are excuted as much as possible in parallel with technics like
branch prediction etc. We use a 8-entry internal branch prediction queue to
keep track of each predicted branches, if some branches are proved to be
wrongly predicted, all the instructions following it will be cancelled,together
with the resources used by them, including the registers used for renaming, and
the queue entry will be freeed. There is a bug that might cause a hang when the
queue is full(some resources might been leaked due to conflict branch entries),
the workaround is to reduce the possiblity of branch queue full by using
renaming registers(they are also limited, can prevent too many simutaneos
branches). In theory this is still not enough to fully eliminate possible
hangs, but the possiblity is extremely low now and hard to be hit in real
code."

  - The JUMP instructions issue

"The Loongson-2 series processors have quite complex micro-architecture, it will
try to execute instructions from the predicated branch of coming instruction
stream before they are confirmed to be run, if the predication of branch
direction is proved wrong later, the instructions will be cancelled, but if the
instructions is a read from memory, the read action might not be cancelled(but
the changes to register will) to enable some prefetch. This will lead to some
problems when compining with some chipsets. E.g. the AMD CS5536 used in
Yeeloong/Fuloong will hang if it gets an address in the physical address range
of 0x100000-0x200000(might be more other ranges). Speculative reads can perform
read at any address in theory(due to wrong prediction of branch directions and
the use of branch target buffer), thus in very few occasions they might cause a
hard lock of the machine.

To prevent this, we need to prevent some addresses from entering branch
target buffers. A way to do this is that to modify all jump targets, e.g.,
    calulations of t9
    ...
    jalr t9  =>
    calculations of t9
    or t9, t9, 0x80000000;  // to make sure t9 is in kseg0
    jalr t9
Of course, we have to consider 64/32bit, and modules addresses etc.

This only need to be performed on kernel code, because only there we can have
accesses not translated/limited by TLB. For user code, it is impossible to
generate accesses to unwanted physical address. So it is safe.

Also, to prevent addresses generated by user mode code to be used by the
kernel, we add a few empty jumps to flush the BTB upon entrance to kernel."

(maya)

2017-08-08 12:01:20 UTC netbsd-6 commitmail json YAML

2017-08-08 12:00:35 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1464):

sys/arch/i386/i386/trap.c:    revision 1.288 (patch)
sys/arch/i386/i386/machdep.c:  revision 1.783 (patch)
sys/arch/i386/i386/locore.S:  revision 1.146 (patch)
sys/arch/amd64/amd64/locore.S: revision 1.122,1.124 (patch)
sys/arch/amd64/amd64/machdep.c revision 1.254 (patch)
sys/arch/amd64/amd64/trap.c:  revision 1.95-1.96 (patch)

Remove the osyscall call gate and emulate it. There is a
one-instruction race in it that could panic the kernel.

Restore the ability to run netbsd 1.0 32-bit executables by checking
for the relevant lcall instruction in the trap handler and treating it
as a syscall.

(martin)

2017-08-08 11:59:59 UTC netbsd-6-1 commitmail json YAML

2017-08-08 11:59:16 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1464):

sys/arch/i386/i386/trap.c:    revision 1.288 (patch)
sys/arch/i386/i386/machdep.c:  revision 1.783 (patch)
sys/arch/i386/i386/locore.S:  revision 1.146 (patch)
sys/arch/amd64/amd64/locore.S: revision 1.122,1.124 (patch)
sys/arch/amd64/amd64/machdep.c revision 1.254 (patch)
sys/arch/amd64/amd64/trap.c:  revision 1.95-1.96 (patch)

Remove the osyscall call gate and emulate it. There is a
one-instruction race in it that could panic the kernel.

Restore the ability to run netbsd 1.0 32-bit executables by checking
for the relevant lcall instruction in the trap handler and treating it
as a syscall.

(martin)

2017-08-08 11:58:43 UTC netbsd-6-0 commitmail json YAML

2017-08-08 11:55:20 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1464):

sys/arch/i386/i386/trap.c:    revision 1.288 (patch)
sys/arch/i386/i386/machdep.c:  revision 1.783 (patch)
sys/arch/i386/i386/locore.S:  revision 1.146 (patch)
sys/arch/amd64/amd64/locore.S: revision 1.122,1.124 (patch)
sys/arch/amd64/amd64/machdep.c revision 1.254 (patch)
sys/arch/amd64/amd64/trap.c:  revision 1.95-1.96 (patch)

Remove the osyscall call gate and emulate it. There is a
one-instruction race in it that could panic the kernel.

Restore the ability to run netbsd 1.0 32-bit executables by checking
for the relevant lcall instruction in the trap handler and treating it
as a syscall.

(martin)

2017-08-08 10:41:33 UTC MAIN commitmail json YAML

Fix KASSERT(solocked(sb->sb_so)) failure in sbappendaddr that is called eventually from key_sendup_mbuf

If key_sendup_mbuf isn't passed a socket, the assertion fails.
Originally in this case sb->sb_so was softnet_lock and callers
held softnet_lock so the assertion was magically satisfied.
Now sb->sb_so is key_so_mtx and also softnet_lock isn't always
held by callers so the assertion can fail.

Fix it by holding key_so_mtx if key_sendup_mbuf isn't passed a socket.

Reported by knakahara@
Tested by knakahara@ and ozaki-r@

(ozaki-r)

2017-08-08 09:34:59 UTC MAIN commitmail json YAML

Remove whitespace I just introduced

(maya)

2017-08-08 09:33:41 UTC MAIN commitmail json YAML

In working around loongson errata clear BTB and RAS, same as
other operating systems.

15 Errata: Issue of Out-of-order in loongson (translated)

In loongson 2F, because of the branch prediction, sometimes the CPU
may fetch the instructions from some unexpected area (for example I/O
space). It is an invalid operation. There are two ways for the CPU to
choose the branch target. The first one is predicting the branch
target according to the branch target history. The second one is
calculating the branch target by the ALU. There are most 8
instructions in the instruction window at the same time in loongson2f
(Remember the loongson 2f is superscalar, right?). Hence, the
branch target of an indirect branch(such as jr) could be got(may be
predicted by the branch target history) earlier and the instrctions of
the branch target could be prefetched even if there are branch
instructions before it. As a result, it is possible to fetch the
instructions from I/O region( say out-of the physical address range of
[0- 0x100000]) in kernel model because of the instruction prefetch of
the branch target.

There are some suggestions to prevent prefetching instructions from
the I/O region in kernel mode.

(1) When switching from user model to kernel model, you should flush
the branch target history such as BTB and RAS.
(2) Doing some tricks to the indirect branch target to make sure that
the indirect branch target can not be in the I/O region.

(maya)

2017-08-08 08:24:34 UTC MAIN commitmail json YAML

Destroy sav only in the loop for DEAD sav

(ozaki-r)

2017-08-08 08:23:10 UTC MAIN commitmail json YAML

Introduce key_sa_refcnt and replace sav->refcnt with it (NFC)

(ozaki-r)

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

Remove compat_freebsd from the list of autoloaded modules. Interested users
will now have to type 'modload' to use it, or uncomment the entry in
GENERIC. I should have removed it when I disabled COMPAT_FREEBSD by
default, sorry about that.

(maxv)

2017-08-08 08:04:06 UTC MAIN commitmail json YAML

2017-08-08 05:58:12 UTC MAIN commitmail json YAML

Remove dead codes. chan will never be NULL in SIMPLEQ_FOREACH.

(isaki)

2017-08-08 05:54:14 UTC MAIN commitmail json YAML

Introduce audio_destroy_pfilters()/audio_destroy_rfilters()
and use it.

(isaki)

2017-08-08 05:46:23 UTC MAIN commitmail json YAML

Add missing initialization of sc_rfilters in audioattach().

(isaki)

2017-08-08 05:42:31 UTC MAIN commitmail json YAML

Remove a duplicated line.

(isaki)

2017-08-08 04:17:34 UTC MAIN commitmail json YAML

MP-ify SAD (key_sad.sahlist and sah entries)

localcount(9) is used to protect key_sad.sahlist and sah entries
as well as SPD (and will be used for SAD sav).

Please read the locking notes of SAD for more details.

(ozaki-r)

2017-08-08 03:58:43 UTC MAIN commitmail json YAML

s/tail queue/simple queue/ in SIMPLE QUEUES section.

(isaki)

2017-08-08 03:14:50 UTC MAIN commitmail json YAML

fix leak when encap_attach() fails twice.

XXX need pullup to -8 branch

(knakahara)

2017-08-08 02:27:03 UTC MAIN commitmail json YAML

Fix setkey -D -P outputs

The outputs were tweaked (by me), but I forgot updating libipsec
in my local ATF environment...

(ozaki-r)

2017-08-08 01:56:49 UTC MAIN commitmail json YAML

Add missing mutex_exit

(ozaki-r)

2017-08-08 01:56:10 UTC MAIN commitmail json YAML

Tweak wording (pserialize critical section => pserialize read section)

Suggested by riastradh@

(ozaki-r)

2017-08-08 01:55:17 UTC MAIN commitmail json YAML

Add __read_mostly to key_psz

Suggested by riastradh@

(ozaki-r)

2017-08-07 23:57:40 UTC MAIN commitmail json YAML

XXX: On hpcsh only - bring back old incorrect hpckbd_keymap_setup()
fixed in 1.31.  The old one with UNCONST does work on hpcsh b/c the
kernel is directly mapped.  The new one does not work on hpcsh b/c it
calls consinit() very early when malloc() is not yet available.

The real fix for this is to fix the constness of wscons keymap
structures that is self-contradictory.

(uwe)

2017-08-07 23:42:11 UTC MAIN commitmail json YAML

Don't reschedule the callout in the scanning function itself, as that
conflicts with using the same function for polled console.

Makes early ddb work with wscons console again on my Jornada 690.

(uwe)

2017-08-07 22:08:12 UTC MAIN commitmail json YAML

Use NULL instead of 0 for null pointer.

(uwe)

2017-08-07 21:50:34 UTC MAIN commitmail json YAML

h3_codec_pr_write: clear write mode bit after setting it; fixes an issue with output being mutex when skipping tracks in mpg123

(jmcneill)

2017-08-07 17:31:11 UTC MAIN commitmail json YAML

Fix GCC warning on NET4501, PR/52451.

(maxv)

2017-08-07 17:10:09 UTC MAIN commitmail json YAML

Remove incorrect KASSERT, only the allocation is protected by cpu_lock.

(maxv)

2017-08-07 14:27:11 UTC perseant-stdc-iso10646 commitmail json YAML

2017-08-07 13:30:51 UTC MAIN commitmail json YAML

Fix typo in comment.

(isaki)

2017-08-07 09:24:43 UTC MAIN commitmail json YAML

Add support Microchip SST25VF016B.
- Fixed imxspi send and receive bugs.

(hkenken)

2017-08-07 08:54:54 UTC MAIN commitmail json YAML

2017-08-07 07:45:45 UTC MAIN commitmail json YAML

Hold key_sad.lock on SAVLIST_WRITER_INSERT_TAIL

(ozaki-r)

2017-08-07 06:53:49 UTC MAIN commitmail json YAML

Tidy up ufs_readdir. First step only; there's plenty more that could be
done to improve this code.

(dholland)

2017-08-07 06:51:13 UTC MAIN commitmail json YAML

don't build apm, ark or glint on cats for xorg-server 1.18.

(mrg)

2017-08-07 03:30:46 UTC MAIN commitmail json YAML

Describe constraints of key_sp_ref and key_sp_unref

Requested by riastradh@

(ozaki-r)

2017-08-07 03:28:31 UTC MAIN commitmail json YAML

Update the locking notes

- Add locking order
- Add locking notes for misc lists such as reglist
- Mention pserialize, key_sp_ref and key_sp_unref on SP operations

Requested by riastradh@

(ozaki-r)

2017-08-07 03:22:33 UTC MAIN commitmail json YAML

Move locking notes

(ozaki-r)

2017-08-07 03:21:59 UTC MAIN commitmail json YAML

Assemble global lists and related locks into cache lines (NFCI)

Also rename variable names from *tree to *list because they are
just lists, not trees.

Suggested by riastradh@

(ozaki-r)

2017-08-07 03:20:02 UTC MAIN commitmail json YAML

Use KDASSERT instead of KASSERT for mutex_ownable

Because mutex_ownable is too heavy to run in a fast path
even for DIAGNOSTIC + LOCKDEBUG.

Suggested by riastradh@

(ozaki-r)

2017-08-07 03:18:32 UTC MAIN commitmail json YAML

Remove out-of-date log output

Pointed out by riastradh@

(ozaki-r)

2017-08-06 17:16:02 UTC MAIN commitmail json YAML

Enable H3 audio support

(jmcneill)

2017-08-06 17:15:45 UTC MAIN commitmail json YAML

2017-08-06 17:14:37 UTC MAIN commitmail json YAML

2017-08-06 17:13:15 UTC MAIN commitmail json YAML

Fix burst field encoding, and add a helper function to dump registers
from ddb.

(jmcneill)

2017-08-06 11:50:21 UTC MAIN commitmail json YAML

Turn on DIAGNOSTIC and DEBUG.

(christos)

2017-08-06 10:07:31 UTC MAIN commitmail json YAML

Ensure to call mix write if inserting silence into the hw ring.

Addresses PR kern/52459.

Patch provided and tested by isaki@.

(nat)

2017-08-06 09:14:14 UTC MAIN commitmail json YAML

use the same string for the log and uprintf.

(christos)

2017-08-06 08:11:39 UTC MAIN commitmail json YAML

Mention high mem.

(maxv)

2017-08-06 08:07:37 UTC MAIN commitmail json YAML

2017-08-06 08:00:40 UTC MAIN commitmail json YAML

2017-08-06 02:33:13 UTC MAIN commitmail json YAML

Regen from previous changes of usbdevs to fix kernel build

(ryoon)

2017-08-06 01:55:22 UTC MAIN commitmail json YAML

2017-08-06 01:02:45 UTC MAIN commitmail json YAML

Write the "warm start" file to /var/run rather than /tmp.

(ginsbach)

2017-08-05 20:30:41 UTC perseant-stdc-iso10646 commitmail json YAML

Sort; simplify; new sentence, new line; fix typo.

(wiz)

2017-08-05 20:25:41 UTC MAIN commitmail json YAML

Fix punctuation markup.

(wiz)

2017-08-05 20:24:17 UTC MAIN commitmail json YAML

Fix punctuation markup, remove superfluous Pp.

(wiz)

2017-08-05 20:22:29 UTC MAIN commitmail json YAML

Remove superfluous Pp.

(wiz)

2017-08-05 20:21:08 UTC MAIN commitmail json YAML

Use Fx/Nx.

(wiz)

2017-08-05 19:41:03 UTC MAIN commitmail json YAML

2017-08-05 17:52:06 UTC MAIN commitmail json YAML

2017-08-05 17:51:49 UTC MAIN commitmail json YAML

Add DMA controller driver for sun6i and later family SoCs.

(jmcneill)

2017-08-05 17:50:53 UTC MAIN commitmail json YAML

2017-08-05 13:34:06 UTC MAIN commitmail json YAML

Reset mixer ports on opening /dev/sound.

This fixes an issue reported on port-arm@ by Brian Buhrow.

(nat)

2017-08-05 13:22:01 UTC jdolecek-ncq commitmail json YAML

2017-08-05 12:38:08 UTC MAIN commitmail json YAML

Automatically eject RALINK RT73 devices

This lets the MW-P54SS USB Wireless Broadband Router from Synet attach
as rum(4).

(khorben)

2017-08-05 12:29:38 UTC MAIN commitmail json YAML

Sort the matching vendor list alphabetically

NFC.

(khorben)

2017-08-05 11:58:19 UTC MAIN commitmail json YAML

Wrap MP-specific code in ifdef MULTIPROCESSOR

(jmcneill)

2017-08-05 11:33:05 UTC MAIN commitmail json YAML

PR bin/52458

Avoid mangling history when editing is enabled, and the prompt contains a \n

Also, allow empty input lines into history when they are being appended to
a previous (partial) command (but not when they would just make an empty entry).

For all the gory details, see the PR.

Note nothing here actually makes prompts containing \n work correctly
when editing is enabled, that's a libedit issue, which will be addressed
some other time.

(kre)

2017-08-05 06:05:37 UTC MAIN commitmail json YAML

Merge prate and rrate.  These can not be separated.

(isaki)

2017-08-05 06:03:26 UTC MAIN commitmail json YAML

2017-08-05 05:53:27 UTC MAIN commitmail json YAML

vs(4) became to able to play audio again.
At the moment the encoding conversion using set_params() does
not seem to work for me.  So vs(4) uses local conversion to/from
ADPCM instead of it.  But this should be a temporary work.
XXX The playback quality is very poor compared to before...
XXX Recording is not tested.

(isaki)

2017-08-05 05:22:55 UTC MAIN commitmail json YAML

Remove temporary VS_USE_PREC8 option.
vs(4) now supports slinear16be and slinear8 (but now work yet).

(isaki)

2017-08-05 05:12:46 UTC netbsd-8 commitmail json YAML

175-178, 180-187

(snj)

2017-08-05 05:06:48 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #187):
sys/dev/ic/bwi.c: revision 1.32
Check for M_EXT in m->m_flags, whether m is NULL, after MCLGET.
From Ilja Van Sprundel.

(snj)

2017-08-05 05:04:30 UTC MAIN commitmail json YAML

Fix typo. 266 -> 256.

(isaki)

2017-08-05 04:53:35 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #186):
sys/dev/ic/dm9000.c: revision 1.12
Check for MCLGET failure in dme_alloc_receive_buffer.
From Ilja Van Sprundel.

(snj)

2017-08-05 04:45:30 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #185):
sys/dev/ic/dp83932.c: revision 1.41
Plug mbuf leak on MCLGET failure in sonic_rxintr.
From Ilja Van Sprundel.

(snj)

2017-08-05 04:39:29 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #184):
sys/dev/ic/i82596.c: revision 1.37
Null out sc_rx_mbuf[i] after m_freem to avoid double-free later.
From Ilja Van Sprundel.
Also null out sc_tx_mbuf[i] after m_freem, out of paranoia.
XXX Not entirely clear to how tx mbufs are freed, but no way to test
this since it's ews4800mips- and hp700-only, so not keen to make any
more elaborate changes...

(snj)

2017-08-05 04:36:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #183):
sys/dev/pci/if_et.c: revision 1.15
Check for MCLGET failure in et_newbuf.
From Ilja Van Sprundel.

(snj)

2017-08-05 04:35:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #182):
sys/dev/pci/if_ipw.c: revision 1.65
Null out sbuf->m on failure to avoid double-free later.
From Ilja Van Sprundel.
Also null out sbuf->map out of paranoia.

(snj)

2017-08-05 04:19:28 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #181):
sys/arch/mac68k/nubus/if_netdock_nubus.c: revision 1.26
Avoid memory leak in netdock_get.
If top is null, this is the first time through and nothing else will
free m.
From Ilja Van Sprundel.

(snj)

2017-08-05 04:17:03 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #180):
sys/arch/newsmips/apbus/if_sn.c: revision 1.39
Avoid memory leak in sonic_get.
If this is the first time around, top is null and nothing else will
free m.
From Ilja Van Sprundel.

(snj)

2017-08-05 03:59:21 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #178):
sys/opencrypto/crypto.c: 1.92-1.100
sys/opencrypto/cryptodev.h: 1.38-1.39
sys/opencrypto/ocryptodev.c: 1.9-1.11
sys/opencrypto/xform.c: revision 1.29
sys/opencrypto/xform.h: revision 1.20
KNF
--
Apply C99-style struct initialization to enc_xform, auth_hash and comp_algo
--
make cryptoret() context softint to balance dequeuing crypto_ret_q with enqueuing it.
--
fix panic when using ecryption devices attached earlier than ipi_sysinit().
pointed out and tested by martin@n.o, thanks.
--
fix typo
--
make crp_{,k}q percpu to scale crypto_dispatch().
update locking note later.
--
divide crp_ret_{,k}q by CPU to avoid reordering.
update locking note later.
--
update locking notes of opencrypto(9)
--
Don't disclose uninitialized 32-bit word if cryptodev_session fails.
From Ilja Van Sprundel.
--
Avert userland-controlled integer overflow.
From Ilja Van Sprundel.
--
Avoid another userland-controlled integer overflow.
From Ilja Van Sprundel.
--
refactor: remove glue macros for FreeBSD code.
--
pack crypto_drivers variables to struct and add cacheline_aligned qualifier.
--
use kmem_alloc KPI instead of malloc KPI.
--
use pool_cache(9) instead of pool(9) as they can be called concurrently.

(snj)

2017-08-05 03:52:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #177):
sys/dev/pcmcia/aic_pcmcia.c: revision 1.44
From bjoern johannesson, in netbsd-general... Reset the mask to 0, used to
be 0xa. Is it wrong in the cfe? Should this better be done via a quirk?

(snj)

2017-08-05 03:51:38 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #176):
usr.sbin/makemandb/apropos.c: revision 1.23
Make the 'no results found' message sound less harsh.
Changes "try using better keywords" to "try using different keywords".

(snj)

2017-08-05 03:49:35 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #175):
sys/dev/pci/ixgbe/ix_txrx.c: 1.25-1.27
sys/dev/pci/ixgbe/ixgbe.c: 1.91-1.95
sys/dev/pci/ixgbe/ixgbe_type.h: 1.23-1.25
sys/dev/pci/ixgbe/ixgbe_api.c: 1.16
sync ixg(4) up to ixgbe.c rev. 1.95:
- Increase total number of RX buffers on multiqueue.
- Fix the partial chain check in ixgbe_rx_discard(). This bug was
  added in ixgbe.c rev. 1.33.
- Fix a double free in ixgbe_rxeof().
- Print verbose output in ixgbe_update_link_status() correctly on 5Gbps
  and 2.5Gbps (NBASE-T) for X550T[12] and newer.
- Change hw.ixgN.ts to hw.ixgN.thermal_test. Same as FreeBSD.
- Fix a bug that ifconfig ixgN media 1000baseT and 10Gbase-T advertised
  additional unwanted speeds.
- Print PHY ID.
- Remove unused variable.

(snj)

2017-08-04 23:54:46 UTC MAIN commitmail json YAML

- store bitmap fonts in vram
- don't try to force buffer flushes
- avoid 64bit writes to vram
-> no more corruption of font bitmaps

(macallan)

2017-08-04 22:27:37 UTC MAIN commitmail json YAML

switch bebox, cats, ibmnsw and prep to xorg-server 1.18.

(mrg)

2017-08-04 21:43:11 UTC perseant-stdc-iso10646 commitmail json YAML

Add a version of localedef(1), taken from FreeBSD, which works with
NetBSD's binary format.  LC_CTYPE should be mostly compatible but is
still missing pieces; the LC_COLLATE format is in a similar situation,
since it makes different assumptions than UCA/DUCET.  The other, smaller,
LC_* types should all work, but have not been extensively tested.

(perseant)

2017-08-04 21:27:34 UTC MAIN commitmail json YAML

mark ark_drv as obsolete in xorg-server 1.18

(mrg)

2017-08-04 20:53:47 UTC jdolecek-ncq commitmail json YAML

prb_control need to add (or) PRB_CF_INTERRUPT_MASK for polled commands,
rather that set - the field may be nonzero for ATAPI or for protocol override

(jdolecek)

2017-08-04 20:49:24 UTC jdolecek-ncq commitmail json YAML

restore part of what was removed in 1.30.4.30 - the success of command
needs to be driven by PSS so that it works also for polled commands, apparently
PR_PIS_CMDCMPL is not set in that case; now do error handling again only when
PSS_ATTENTION is set

this fixes timeout for polled commands like standby on shutdown,
and (ehm ehm), READ LOG EXT on NCQ error recovery

(jdolecek)

2017-08-04 20:17:45 UTC MAIN commitmail json YAML

Fix it's -> its in a comment.

(uwe)

2017-08-04 11:55:06 UTC MAIN commitmail json YAML

Add a note regarding the need for a common mechanism for defining and
building modules, whether built-in or separately-loadable.

(pgoyette)

2017-08-04 09:33:03 UTC MAIN commitmail json YAML

2017-08-04 09:30:19 UTC MAIN commitmail json YAML

Revert my changes, and re-enable COMPAT_NOMID, COMPAT_09 and COMPAT_43.
Several compat options happen to be dependent on the compat_43_* functions,
the availability of which is (wrongfully) controlled with COMPAT_43. Same
for COMPAT_09.

(maxv)

2017-08-04 08:45:39 UTC MAIN commitmail json YAML

s3virge.4 is a .man not a html.

(mrg)

2017-08-04 07:27:42 UTC MAIN commitmail json YAML

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

(maya)

2017-08-04 07:27:08 UTC MAIN commitmail json YAML

2017-08-04 07:19:35 UTC MAIN commitmail json YAML

add a "saveblks <file>" command that saves the data blocks of the current
inode into named file.

(mrg)

2017-08-04 07:00:17 UTC MAIN commitmail json YAML

normalise a BIOHIST log message

(mrg)

2017-08-04 06:30:36 UTC MAIN commitmail json YAML

Sync with FreeBSD's r321294:
- Dump TCG ACPI spec table (TCPA) more.
- Dump DMA Remapping Reporting table (DMAR).
- Consistently cast ACPICA 64-bit integer types when we print them.
- Display the 'Flags' field in the HPET Description Table.
- Do not crash when RSDT/XSDT contains an empty entry.
- Print 64-bit addresses clearly with leading zeros to avoid confusions.
- Create temp file safely.
- Add missing flags into FADT.
- Print some new ACPI 5.1 MADT entries.
- Use __arraycount().
- Warn and exit loop on invalid subtable length.
- Fix the type used to hold the value returned from getopt. On arm64 char is
  unsigned so will never be -1.

(msaitoh)

2017-08-04 02:43:56 UTC MAIN commitmail json YAML

Fix a typo, and make a couple of minor wording improvements.
I resisted the (very weak) impulse to Americanise some spellings ...

(kre)

2017-08-04 02:08:22 UTC MAIN commitmail json YAML

Expand the traceroute6 man page

- Add a proper description paragraph before launching into describing the
  options.  More closely follow format of the traceroute(8) man page.
- Improve the wording for some option descriptions.
- Add description what what is printed and define what the possible
  annotations mean.

(ginsbach)

2017-08-04 01:18:39 UTC MAIN commitmail json YAML

2017-08-04 01:06:22 UTC MAIN commitmail json YAML

There are more than four types of encoding.  The combination of
VIS_CSTYLE | VIS_OCTAL is different from either separately.

(ginsbach)

2017-08-04 00:25:24 UTC MAIN commitmail json YAML

put all the ELD debugging messages under #ifdef HDAFG_HDMI_DEBUG.
this silences a frequent and largely useless series of messages
in my dmesg.  ok jmcneill.

(mrg)

2017-08-03 22:01:30 UTC MAIN commitmail json YAML

pass the target specific CPUFLAGS and CPPFLAGS for the .c.o rule.
should fix a problem rjs@ reported.

(mrg)

2017-08-03 22:00:38 UTC MAIN commitmail json YAML

2017-08-03 19:51:00 UTC MAIN commitmail json YAML

This driver should also support Schneider & Koch SK-9821 v2.0, besides
Marvell SKnet.

(phx)

2017-08-03 19:22:15 UTC MAIN commitmail json YAML

Some Synology network devices show vendor 0x1148 (Schneider & Koch) instead
of 0x11ab (Marvell). Detect both.
Improve spinning up of both disk drives on Synology DS20x by adding some
more delays (directly at the start and after powering up the second drive).

(phx)

2017-08-03 14:39:31 UTC MAIN commitmail json YAML

Add note about bootme flag:

The bootme flag is used to indicate which partiotion should be booted
by UEFI boot code.

(msaitoh)

2017-08-03 13:40:07 UTC MAIN commitmail json YAML

Apply a bug fix from lua.org/bugs.html:  Lua does not check GC when creating
error messages.

(mbalmer)

2017-08-03 12:34:32 UTC MAIN commitmail json YAML

2017-08-03 11:39:06 UTC MAIN commitmail json YAML

Fix resource leaks on error handling in audio_open().

(isaki)