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


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




switch to index mode

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

2024-05-10 16:22:19 UTC Now

2017-11-18 18:52:59 UTC MAIN commitmail json YAML

Let's define symbols before using them.

(kre)

2017-11-18 18:44:55 UTC MAIN commitmail json YAML

Catch up with the new config version.

(christos)

2017-11-18 18:44:20 UTC MAIN commitmail json YAML

Allow multiple attachments methods to the same child+parent combination:

    foo* at bar? with baz
    foo* at bar? with barf

Do this by scanning the list of iba's and allocating a new cfparent for
each. Keep track of the shared parent+child combinations by using the
same id for them.

(christos)

2017-11-18 18:41:44 UTC MAIN commitmail json YAML

- Factor out the remove_pspec code into a function.
- Avoid NULL pointer when printing an error.

(christos)

2017-11-18 18:39:16 UTC MAIN commitmail json YAML

add more debugging, no functional change.

(christos)

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

2017-11-18 13:51:56 UTC MAIN commitmail json YAML

use symbolic constant for 0

(christos)

2017-11-18 08:19:21 UTC MAIN commitmail json YAML

Add "HFIC" and "HSIC" - as seen on IRC recently.

(pgoyette)

2017-11-18 01:11:05 UTC MAIN commitmail json YAML

avoid creating infinite loops.

(christos)

2017-11-18 00:25:43 UTC MAIN commitmail json YAML

Fix clcd node path for newer dtb

(jmcneill)

2017-11-17 20:47:52 UTC netbsd-8 commitmail json YAML

2017-11-17 20:43:11 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #357):
distrib/sets/lists/debug/mi: 1.228
distrib/sets/lists/tests/mi: 1.765-1.766
etc/mtree/NetBSD.dist.tests: 1.149
sys/net/npf/npf_ctl.c: 1.49
tests/net/ipsec/Makefile: 1.10
tests/net/ipsec/algorithms.sh: 1.6
tests/net/ipsec/natt_terminator.c: 1.1
tests/net/ipsec/t_ipsec_natt.sh: 1.1
tests/net/net_common.sh: 1.23-1.24
usr.sbin/npf/npfctl/npfctl.c: 1.54
Handle esp-udp for NAT-T
--
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
--
Fix showing translated port (ntohs-ed twice wrongly)
--
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.
--
Add net/ipsec debug lib directory
--
Add ./usr/libdata/debug/usr/tests/net/ipsec
--
Stop using bpfjit
Because most architectures don't support it and npf still works without it.

(snj)

2017-11-17 20:43:08 UTC MAIN commitmail json YAML

add missing 'b' to the optstring.  alpha-sort the option handling.

(mrg)

2017-11-17 20:35:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #356):
sys/dev/usb/xhci.c: revision 1.76
Wait 1ms first. Existing Intel xHCI requies 1ms delay to prevent system hang
(Errata).

(snj)

2017-11-17 20:33:53 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #355):
bin/sh/parser.c: revision 1.145
PR bin/52715
Correct a (relatively harmless) use after free in prompt expansion
processing [detected by asan.]
Relatively harmless: as (while incorrect) the way the data is (was)
used more or less guaranteed that the buffer contents would be
unaltered until well after they are (were) no longer wanted (this
is the expanded prompt string, it is just output (or copied into
libedit internal storage) and forgotten.
This should make no visible difference to anyone (not using asan or
similar.)

(snj)

2017-11-17 20:26:19 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #354):
sys/netinet6/in6_ifattach.c: revision 1.113
sys/netinet6/nd6.c: revision 1.238
Use psref instead of pserialize because that code is sleepable
--
Use psref instead of pserialize because that code is sleepable

(snj)

2017-11-17 20:24:05 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #353):
sys/net/if_llatbl.c: 1.22
sys/net/if_llatbl.h: 1.13
sys/netinet/if_arp.c: 1.254
sys/netinet/in.c: 1.208-1.209
sys/netinet6/in6.c: 1.249-1.250
sys/netinet6/nd6.c: 1.237
Remove redundant KASSERTMSG
The function is static, has just one caller and the caller does the same check.
--
Fix a deadlock between a route update and lltable
It happens because rtalloc1 is called from lltable with holding
IF_AFDATA_WLOCK.
If a route update is in action, rtalloc1 would wait for its completion with
holding IF_AFDATA_WLOCK. At the same moment, a softint (e.g., arpintr) may try
to take IF_AFDATA_WLOCK and get stuck on it. Unfortunately the stuck softint
prevents the route update from progressing because the route update calls
psref_target_destroy that needs the softint to complete.
A resource allocation graph of the senario looks like this:
    route update =(psref_target_destroy)=> softint => IF_AFDATA_WLOCK
    =(rt_update_wait)=> route update
Fix the deadlock by pulling rtalloc1 out of the lltable codes inside
IF_AFDATA_WLOCK.
Note that the deadlock happens only if NET_MPSAFE is enabled.

(snj)

2017-11-17 20:20:23 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by sborrill in ticket #352):
sys/external/bsd/ipf/netinet/ip_state.c: 1.9-1.10
When growing the state, remember to grow the seed array, otherwise we'll end
up accessing memory we did not allocate.
--
put back the cast.

(snj)

2017-11-17 20:19:00 UTC netbsd-7 commitmail json YAML

2017-11-17 20:08:29 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #1448):
common/lib/libc/stdlib/_strtol.h: revision 1.11
common/lib/libc/stdlib/_strtoul.h: revision 1.11
tests/lib/libc/stdlib/t_strtol.c: revision 1.7
Fix ISO C compliance: strtol of "0xX" should give the largest valid
numeric prefix, which is 0.

(snj)

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

our pool code needs either PR_SLEEP or PR_NOWAIT; arrange for that explaining
the current choice :-)

(christos)

2017-11-17 16:44:01 UTC MAIN commitmail json YAML

Add ChangeLog.old, which has been newly added to github repository.

(rin)

2017-11-17 16:21:45 UTC MAIN commitmail json YAML

Update libtre to the latest git source as of 20171117.

(rin)

2017-11-17 16:18:06 UTC MAIN commitmail json YAML

Add tre.pc to be installed into /usr/lib/pkgconfig (not yet).

(rin)

2017-11-17 16:17:06 UTC MAIN commitmail json YAML

2017-11-17 16:16:19 UTC MAIN commitmail json YAML

2017-11-17 16:14:31 UTC MAIN commitmail json YAML

2017-11-17 16:08:20 UTC MAIN commitmail json YAML

Add tre2netbsd script based on nvi2netbsd.

(rin)

2017-11-17 15:08:35 UTC netbsd-8 commitmail json YAML

2017-11-17 15:07:16 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #351):
sys/arch/arm/cortex/a9_mpsubr.S: revision 1.52
Ensure CNTVOFF is 0 before dropping out of Hyp mode

(martin)

2017-11-17 14:56:52 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #337):
bin/sh/jobs.c: revision 1.91 (patch)

PR bin/52640  PR bin/52641

Don't delete jobs from the jobs table merely because they finished,
if they are not the job we are waiting upon.  (bin/52640 part 1)

In a sub-shell environment, don't allow wait to find jobs from the
parent shell that had already exited (before the sub-shell was
created) and return status for them as if they are our children.
(bin/52640 part 2)

Don't have the "jobs" command also be an implicit "wait" command
in non-interactive shells.  (bin/52641)

Use WCONTINUED (when it exists) so we can report on stopped jobs that
"mysteriously" move back to running state without the user issuing
a "bg" command (eg: kill -CONT <pid>)  Previously they would keep
being reported as stopped until they exited.
When a job is detected as having changed status just as we're
issuing a "jobs" command (i.e.: the change occurred between the last
prompt and the jobs command being entered) don't report it twice,
once from the status change, and then again in the jobs command
output.  Once is enough (keep the jobs output, suppress the other).

Apply some sanity to the way jobs_invalid is processed - ignore it
in getjob() instead of just ignoring it most of the time there, and
instead always check it before calling getjob() in situations where
we can handle only children of the current shell.  This allows the
(totally broken) save/clear/restore of jobs_invalid in jobscmd() to
be done away with (previously an error while in the clear state would
have left jobs_invalid incorrectly cleared - shouldn't have mattered
since jobs_invalid => subshell => error causes exit, but better to be safe).

Add/improve the DEBUG more tracing.

(martin)

2017-11-17 14:37:37 UTC MAIN commitmail json YAML

Specify TRE_REGEX_T_FIELD in CPPFLAGS when we want ABI compatible with libc,
in a similar manner to TRE_SYSTEM_REGEX_H_PATH and TRE_USE_SYSTEM_REGEX_H.

No binary changes.

(rin)

2017-11-17 14:34:02 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #309):
sys/sys/vnode_impl.h: revision 1.17
sys/kern/vfs_vnode.c: revision 1.99, 1.100

Change the VSTATE_ASSERT_UNLOCKED code by pushing the potential lock
handling into the backend and doing an optimistic (unlocked) check
first. Always taking the vnode interlock makes this assertion otherwise
very heavy for multi-processor machines.
-
Fix non-DIAGNOSTICS build by adjusting _vstate_assert here too.

(martin)

2017-11-17 13:27:09 UTC MAIN commitmail json YAML

PR/52702 Malicious USB devices attaching as urtwn(4) can corrupt kernel memory

Patch from PR slighly updated by me

(skrll)

2017-11-17 13:08:48 UTC MAIN commitmail json YAML

Use a #define instead of a magic number

(skrll)

2017-11-17 12:55:17 UTC MAIN commitmail json YAML

Trailing whitespace

(skrll)

2017-11-17 09:26:36 UTC MAIN commitmail json YAML

Implement a debugging facility (overflow/underflow detection) for localcount

We cannot get an accurate count from a localcount instance because it consists
of per-cpu counters and we have no way to sum them up atomically. So we cannot
detect counter overflow/underflow as we can do on a normal refcount.

The facility adds an atomic counter to each localcount instance to enable the
validations. The counter ups and downs in synchronization with the per-CPU
counters. The counter is used iff both DEBUG and LOCKDEBUG are enabled in the
kernel.

Discussed on tech-kern@

(ozaki-r)

2017-11-17 08:22:03 UTC MAIN commitmail json YAML

2017-11-17 07:52:07 UTC MAIN commitmail json YAML

Add missing IFEF_NO_LINK_STATE_CHANGE to bridge

(ozaki-r)

2017-11-17 07:42:29 UTC MAIN commitmail json YAML

Remove superfluous Pp. Fix xref.

(wiz)

2017-11-17 07:37:12 UTC MAIN commitmail json YAML

2017-11-17 07:16:06 UTC MAIN commitmail json YAML

Kernel ASLR and XSAVEOPT.

(maxv)

2017-11-17 07:07:52 UTC MAIN commitmail json YAML

2017-11-16 23:43:48 UTC MAIN commitmail json YAML

Use correct combination of mix ring block size and vc playring used low
for signalling the writer or fetching data from the vc play ring filters.

When dealing with the ring buffer sc_mpr.s it is necessary to use the hwvc
or mixring block sizes as they represent the final size of the data to be
played back from the stream vc.

When dealing with sc_pustream when there is play back filters or not one
should use the vc->sc_mpr.blocksize, as this represents the amount of data
before going through play back filters.

This should address PR kern/52685.

(nat)

2017-11-16 23:32:12 UTC MAIN commitmail json YAML

Add vc to debug messages in audio_mix.
Also add debug message when available data in the vc is less than the mix
ring blocksize.  NFC.

(nat)

2017-11-16 21:54:51 UTC MAIN commitmail json YAML

don't lock if we are polling because we are already holding a spin lock
from uhci_poll().

(christos)

2017-11-16 19:41:42 UTC MAIN commitmail json YAML

Add a test case for "set -X".

Currently (or when testing any shell that does not support -X) the
test will be skipped (also for [m]ksh (but not ksh93 etc) where there
is an absurdly badly named -X option, skip the new test for them as well.)

When -X appears in /bin/sh, this will verify that it is probably working
(the test is MUCH more gruelling than any rational use of -X would be.)

(kre)

2017-11-16 19:41:02 UTC MAIN commitmail json YAML

Improve quoting in xtrace (-x) output ... if a string ("word") to be
output includes a single quote (') then see if using double-quotes
to quote it is reasonable (if no chars that are magic in " also appear).
If so, and if the string is not entirely the ' character, then
use " quoting.  This avoids some ugly looking results (occasionally).

Also, fix a bug introduced about 20 months ago where null strings
in xtrace output are dropped, instead of made explicit ('').
To observe this, before you get the fix: set -x; echo ''  (or similar.)

Move a comment from the wrong place to the right place.

(kre)

2017-11-16 18:40:28 UTC MAIN commitmail json YAML

Use device_private, not cast, to get at softc.

Someone^TM should turn this wall of prose into a nice itemized list
to make it clearer.

(riastradh)

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

When deleting orphans detect parent<->child loops and break them.
"active" is not a boolean, use the right comparison.

(christos)

2017-11-16 14:28:19 UTC MAIN commitmail json YAML

binutils-2.29.1 out.

(wiz)

2017-11-16 13:54:58 UTC MAIN commitmail json YAML

Match hppa JEMALLOC_TINY_MIN_2POW

(skrll)

2017-11-16 13:54:42 UTC MAIN commitmail json YAML

Match hppa JEMALLOC_TINY_MIN_2POW

(skrll)

2017-11-16 13:54:00 UTC MAIN commitmail json YAML

The HPPA architectures (1.1 and 2.0) both define quadruple-word (128-bit)
floating point types.  Adjust alignment to match.

(skrll)

2017-11-16 10:40:30 UTC MAIN commitmail json YAML

Bump kernel version for IFEF_MPSAFE

Welcome to 8.99.7

(ozaki-r)

2017-11-16 06:31:00 UTC MAIN commitmail json YAML

Add test case of vlan(4)'s re-configure without destroy
(see also if_vlan.c rev. 1.104). Written by s-yamaguchi@iij.

(msaitoh)

2017-11-16 03:07:18 UTC MAIN commitmail json YAML

Unify IFEF_*_MPSAFE into IFEF_MPSAFE

There are already two flags for if_output and if_start, however, it seems such
MPSAFE flags are eventually needed for all if_XXX operations. Having discrete
flags for each operation is wasteful of if_extflags bits. So let's unify
the flags into one: IFEF_MPSAFE.

Fortunately IFEF_*_MPSAFE flags have never been included in any releases, so
we can change them without breaking backward compatibility of the releases
(though the kernel version of -current should be bumped).

Note that if an interface have both MP-safe and non-MP-safe operations at a
time, we have to set the IFEF_MPSAFE flag and let callees of non-MP-safe
opeartions take the kernel lock.

Proposed on tech-kern@ and tech-net@

(ozaki-r)

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

Add missing words beginning with 'a' from FreeBSD's copy of src/share/dict/web2.

(sevan)

2017-11-16 00:10:31 UTC MAIN commitmail json YAML

Add software
Realised missing word through David Cantrell & Andrew Fresh.

(sevan)

2017-11-15 23:33:55 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/c++config.h@1.21 / diff / nxr@1.21
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/c++config.h@1.23 / diff / nxr@1.23
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/c++config.h@1.23 / diff / nxr@1.23
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earm/c++config.h@1.21 / diff / nxr@1.21
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmeb/c++config.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhf/c++config.h@1.19 / diff / nxr@1.19
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmhfeb/c++config.h@1.17 / diff / nxr@1.17
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv4eb/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6eb/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hf/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv6hfeb/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7eb/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hf/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/earmv7hfeb/c++config.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libstdc++-v3/arch/hppa/c++config.h@1.21 / diff / nxr@1.21
src/external/gpl3/gcc/lib/libstdc++-v3/arch/i386/c++config.h@1.22 / diff / nxr@1.22
src/external/gpl3/gcc/lib/libstdc++-v3/arch/ia64/c++config.h@1.7 / diff / nxr@1.7
      :
(more 47 files)
merge mknative files from gcc.old back into gcc.
they're back to being the same again now.

(mrg)

2017-11-15 21:21:18 UTC MAIN commitmail json YAML

PR/52728: Izumi Tsutsui: "mount -u /dev/ /" triggers kernel panic
Simplify the control flow of the mount code and make sure that the
mountfrom argument can be converted to a block device in the update
case.
XXX: pullup-8

(christos)

2017-11-15 20:45:16 UTC MAIN commitmail json YAML

2017-11-15 20:25:29 UTC MAIN commitmail json YAML

2017-11-15 18:44:34 UTC MAIN commitmail json YAML

2017-11-15 18:02:37 UTC MAIN commitmail json YAML

Support large pages on KASLR kernels, in a way that does not reduce
randomness, but on the contrary that increases it.

The size of the kernel sub-blocks is changed to be 1MB. This produces a
kernel with sections that are always < 2MB in size, that can fit a large
page.

Each section is put in a 2MB physical chunk. In this chunk, there is a
padding of approximately 1MB. The prekern uses a random offset aligned to
sh_addralign, to shift the section in physical memory.

For example, physical memory layout created by the bootloader for .text.4
and .rodata.0:
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
|+---------------+                  |+---------------+                  |
||    .text.4    |      PAD        ||  .rodata.0  |      PAD        |
|+---------------+                  |+---------------+                  |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
PA                                  PA+2MB                        PA+4MB

Then, physical memory layout, after having been shifted by the prekern:
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
| P +---------------+              |          +---------------+        |
| A |    .text.4    |      PAD      |  PAD    |  .rodata.0  |  PAD  |
| D +---------------+              |          +---------------+        |
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+
PA                                  PA+2MB                        PA+4MB

The kernel maps these 2MB physical chunks with 2MB large pages. Therefore,
randomness is enforced at both the virtual and physical levels, and the
resulting entropy is higher than that of our current implementaion until
now.

The padding around the section is filled by the prekern. Not to consume
too much memory, the sections that are smaller than PAGE_SIZE are mapped
with normal pages - because there is no point in optimizing them. In these
normal pages, the same shift is applied.

This change has two additional advantages: (a) the cache attacks based on
the TLB are mostly mitigated, because even if you are able to determine
that a given page-aligned range is mapped as executable you don't know
where exactly within that range the section actually begins, and (b) given
that we are slightly randomizing the physical layout we are making some
rare physical attacks more difficult to conduct.

NOTE: after this change you need to update GENERIC_KASLR / prekern /
bootloader.

(maxv)

2017-11-15 16:37:00 UTC MAIN commitmail json YAML

Put back /bin/cp and /sbin/sysctl to installation binaries.

- cp(1) is explicitly required by sysinst(8), cp_to_target() in
  src/usr.sbin/sysinst/target.c, to copy bootloader to targetroot
- sysctl(8) is required by src/distrib/atari/floppies/common/dot.profile
  to detect the root device (fd or md)

This might cause floppy overflow on HEAD again, but works on 8.0_BETA.

Should be pulled up to netbsd-8.

(tsutsui)

2017-11-15 16:19:19 UTC MAIN commitmail json YAML

Avoid use of expr(1).

It was removed from src/distrib/atari/floppies/install/list since rev 1.19
and the install script complains expr is not found.

Should be pulled up to netbsd-8.

(tsutsui)

2017-11-15 13:53:27 UTC MAIN commitmail json YAML

honour non-removable and broken-cd properties

(jmcneill)

2017-11-15 10:42:41 UTC MAIN commitmail json YAML

2017-11-15 10:13:11 UTC MAIN commitmail json YAML

s/Id/NetBSD/. Pointed out by wiz!

(msaitoh)

2017-11-15 09:56:31 UTC MAIN commitmail json YAML

Convert SYN_CACHE_TIMER_ARM macro to static inline function (NFC)

(ozaki-r)

2017-11-15 09:55:22 UTC MAIN commitmail json YAML

2017-11-15 09:54:18 UTC MAIN commitmail json YAML

Reduce return points (NFC)

(ozaki-r)

2017-11-15 09:21:48 UTC MAIN commitmail json YAML

DEBUG mode only change.  Add some tracing.  NFC (without DEBUG).

(kre)

2017-11-15 09:21:20 UTC MAIN commitmail json YAML

Sort options with long names that differ only by char case in
the same order that option flags with a similar property are sorted.
This corresponds with the change made to the sort order of the short
names made in the previous update (1.4).

Right now, this change makes no difference at all, as there are no
long option names that differ only in char case (yet.)

(kre)

2017-11-15 09:13:26 UTC MAIN commitmail json YAML

Restore NetBSD RCS Id which was accidentally removed in rev. 1.2.

(msaitoh)

2017-11-15 08:50:07 UTC MAIN commitmail json YAML

Correct a typo:  s/ at / an /

(kre)

2017-11-15 07:52:58 UTC MAIN commitmail json YAML

Mark callouts of pppoe(4) CALLOUT_MPSAFE. Suggested by ozaki-r@n.o.

(knakahara)

2017-11-15 07:47:40 UTC MAIN commitmail json YAML

2017-11-15 07:47:10 UTC MAIN commitmail json YAML

2017-11-15 06:17:41 UTC MAIN commitmail json YAML

Mark callouts of bridge CALLOUT_MPSAFE

(ozaki-r)

2017-11-15 04:31:48 UTC MAIN commitmail json YAML

create more /dev/pci* nodes, for PCIe systems

(macallan)

2017-11-15 04:28:45 UTC MAIN commitmail json YAML

For the virtual stream it is required to insert silence.  As these streams
are not harware streams audio_pint_silence is ineffective.

As audio_mix() was the only consumer of audio_pint_silence it has been
removed along with sc_sil_count - which was only used by this function.

(nat)

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

Don't take KERNEL_LOCK in looutput if NET_MPSAFE

We can perhaps get rid of KERNEL_LOCK from looutput, but for now
keep it for safe.

(ozaki-r)

2017-11-15 02:13:33 UTC MAIN commitmail json YAML

The harware vc is rounded to a power of two then round_blocksize is called.

This improves playback and makes it possibile to use mmapped audio on usb.

(nat)

2017-11-15 02:02:55 UTC MAIN commitmail json YAML

audio_pint improvements for when audio mixing is disabled.

When audio mixing is disabled there is only the hardware vc the mix ring
is not used.

(nat)

2017-11-15 01:58:48 UTC MAIN commitmail json YAML

Improved audiostartp for when audio mixing is disabled.

(nat)

2017-11-15 01:55:46 UTC MAIN commitmail json YAML

Improved draining function for when the mixer is and is not enabled.

One block of silence is also played in audio drivers using start_output
when draining the hardware, this helps playback of short (less than
blocksize) samples.

(nat)

2017-11-15 01:49:59 UTC MAIN commitmail json YAML

Plug memory leak as the mixer state does not grow or shrink when audio
mixing is disabled.  This avoids triggering a panic also.

(nat)

2017-11-15 01:45:57 UTC MAIN commitmail json YAML

Don't return EIO falsely when dealing with the hardware vc.
Draining of the hardware vc on close is now possible.

(nat)

2017-11-15 00:48:42 UTC MAIN commitmail json YAML

Build nand_toshiba.c

(jmcneill)

2017-11-15 00:30:02 UTC MAIN commitmail json YAML

Wait for irq instead of polling for cmd completion.

(jmcneill)

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

Fix up chfs_mountfs error branches.

(riastradh)

2017-11-14 16:56:03 UTC MAIN commitmail json YAML

Bump PAGER_MAP_DEFAULT_SIZE to 512 MB (like amd64 recently did).

(martin)

2017-11-14 15:02:06 UTC MAIN commitmail json YAML

- fix an assert; we can reach there if we are nowait or limitfail.
- when priming the pool and failing with ERESTART, don't decrement the number
  of pages; this avoids the issue of returning an ERESTART when we get to 0,
  and is more correct.
- simplify the pool_grow code, and don't wakeup things if we ENOMEM.

(christos)

2017-11-14 14:29:33 UTC MAIN commitmail json YAML

check results of pool_prime.

(christos)

2017-11-14 14:27:54 UTC MAIN commitmail json YAML

2017-11-14 14:15:30 UTC MAIN commitmail json YAML

Add "disk" dependency to flash to set device class to DV_DISK.

(jmcneill)

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

Include "flash" in list of block devices that don't use partitions.

(jmcneill)

2017-11-14 13:58:08 UTC MAIN commitmail json YAML

Remove XXX: set FRAMESIZE to the kernel value. Verily I don't understand
why we are doing that in the non-kaslr kernels, but let's just reproduce
the behavior.

jump_kernel is changed to use callq, so that the stack alignment is
preserved.

(maxv)

2017-11-14 12:20:56 UTC MAIN commitmail json YAML

Fix cursor movement for the case of USE_WIDECHAR != "yes", where the argument
of INTISWIDE() is not evaluated.

(rin)

2017-11-14 10:15:40 UTC MAIN commitmail json YAML

Split each kernel section into sub-blocks of approximately 2MB. The newly
created sections are named .origname.i, for example:

.text -> { .text .text.0 .text.1 .text.2 .text.3 .text.4 }

Each section is randomized independently by the prekern - and in a random
order obviously. As a result we can get intertwined mappings, of the type:

+-------+-----------+------+---------+-----------+-------+-------+------+-
| text1 | NOTMAPPED | bss0 | rodata1 | NOTMAPPED | data2 | text3 | bss1 |
+-------+-----------+------+---------+-----------+-------+-------+------+-

  ---------+-
    rodata0 | ...
  ---------+-

The CTF section is dropped completely, because (a) when split it becomes
enormous for some reason (that I don't quite understand, verily), and (b)
the kernel expects only one CTF and can't handle several of them.

(maxv)

2017-11-14 09:56:26 UTC MAIN commitmail json YAML

Remove max-page-size on KASLR, it doesn't play any role.

(maxv)

2017-11-14 09:55:41 UTC MAIN commitmail json YAML

2017-11-14 09:04:17 UTC MAIN commitmail json YAML

2017-11-14 08:52:20 UTC MAIN commitmail json YAML

attempt to fix liblto_plugin build.  on sparc it at least now
appears to have no missing symbols.  add xasprintf.c, xvasprintf.c,
and vprintf-support.c.

fix vprintf-support.c to include vprintf-support.h.

(mrg)

2017-11-14 07:06:34 UTC MAIN commitmail json YAML

2017-11-14 06:43:23 UTC MAIN commitmail json YAML

remove duplicate prototype.

(mrg)

2017-11-14 00:55:29 UTC MAIN commitmail json YAML

from gcc.old:
>it's ${BUILDINCS} not {BUILDINCS}

(mrg)

2017-11-14 00:54:52 UTC MAIN commitmail json YAML

src/external/gpl3/gcc.old/lib/libgcc/arch/m68000/defs.mk@1.6 / diff / nxr@1.6
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/alpha/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/arm/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/armeb/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earm/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmeb/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmhf/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmhfeb/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv4/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv4eb/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6eb/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6hf/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6hfeb/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7eb/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7hf/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7hfeb/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/hppa/c++config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/i386/c++config.h@1.7 / diff / nxr@1.7
      :
(more 15 files)
regen for GCC 5.5.

(mrg)

2017-11-14 00:54:38 UTC MAIN commitmail json YAML

2017-11-13 22:01:45 UTC MAIN commitmail json YAML

grab a copy of the absolute pathbuf, before namei() munges it.

(christos)

2017-11-13 21:33:42 UTC MAIN commitmail json YAML

One more ASSERT, won't hurt.

(maxv)

2017-11-13 21:32:21 UTC MAIN commitmail json YAML

Don't process ELF sections that don't have the ALLOC flag set.

NOTE: you need to update both the prekern and the bootloader after this
change.

(maxv)

2017-11-13 21:14:04 UTC MAIN commitmail json YAML

Change the mapping logic: don't group sections of the same type into
segments, and rather map each section independently at a random VA.

In particular, .data and .bss are not merged anymore and reside at
different addresses.

(maxv)

2017-11-13 20:38:32 UTC MAIN commitmail json YAML

Use the pathbuf which we pass to namei() (which is always absolute) as the
resolved pathname. We need this in the case of scripts where p_path needs
to point to the interpreter and not the script itself. Otherwise things
like perl script that depend on /proc/$$/exe to re-exec themselves end up
being fork bombs.

In reality we should be using the fully resolved/canonicalized path here, but
namei is not giving it back to us.

(christos)

2017-11-13 20:21:10 UTC MAIN commitmail json YAML

Revert my last revision, that is to say, don't group sections into
segments anymore. Initially I did this because I wanted to compress the
sections by reducing the padding between them; but we'll handle that
differently.

(maxv)

2017-11-13 20:03:26 UTC MAIN commitmail json YAML

Link libkern in the prekern, and remove redefined functions.

(maxv)

2017-11-13 20:01:48 UTC MAIN commitmail json YAML

Use SUBALIGN, to force the alignment at the section level, and remove
the inter-section ALIGN which doesn't do anything since the physical
address of the section is chosen dynamically by the bootloader.

(maxv)

2017-11-13 19:24:35 UTC MAIN commitmail json YAML

src/external/gpl3/gcc.old/usr.bin/gcc/arch/alpha/configargs.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/usr.bin/gcc/arch/arm/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/armeb/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/usr.bin/gcc/arch/armeb/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earm/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmeb/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmhf/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmhfeb/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv4/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv4eb/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv6/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv6eb/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv6hf/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv6hfeb/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv7/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv7eb/auto-host.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv7eb/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv7hf/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/earmv7hfeb/configargs.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc.old/usr.bin/gcc/arch/hppa/configargs.h@1.7 / diff / nxr@1.7
      :
(more 20 files)
mknative-gcc for some GCC 5.5.  c++config.h is wrong so far.

(mrg)

2017-11-13 17:37:48 UTC MAIN commitmail json YAML

Enable Allwinner NAND flash support

(jmcneill)

2017-11-13 17:37:02 UTC MAIN commitmail json YAML

Use nand_attach_mtdparts

(jmcneill)

2017-11-13 17:36:39 UTC MAIN commitmail json YAML

Add support for dynamic flash partitions

(jmcneill)

2017-11-13 17:35:58 UTC MAIN commitmail json YAML

2017-11-13 15:01:16 UTC MAIN commitmail json YAML

2017-11-13 14:44:08 UTC MAIN commitmail json YAML

sunxinand(4): Add driver for Allwinner NAND Flash Controller.

(jmcneill)

2017-11-13 14:14:25 UTC MAIN commitmail json YAML

Correct ecc block size for sw ecc case

(jmcneill)

2017-11-13 13:47:17 UTC MAIN commitmail json YAML

Keep the controller enabled when unselecting, otherwise IO fails.

(jmcneill)

2017-11-13 12:42:27 UTC MAIN commitmail json YAML

2017-11-13 11:49:16 UTC MAIN commitmail json YAML

Fix what looks like a merge botch.

(martin)

2017-11-13 11:45:54 UTC MAIN commitmail json YAML

Don't write a 1 to the read only RIRR bit in the IOAPIC redirection
register to fix "tlp0: filter setup and transmit timeout" observed
on Hyper-V VMs with the Legacy Network Adapter.

From OpenBSD via PR kern/49323:

https://marc.info/?l=openbsd-cvs&m=146718035432599&w=2

| Modified files:
| sys/arch/amd64/amd64: ioapic.c
| sys/arch/amd64/include: i82093reg.h
|
| Log message:
| Don't write a 1 to the RIRR bit in the IOAPIC redirection register. This bit
| is R/O, and although it should not matter what value is written there,
| Hyper-V's emulated IOAPIC interprets a write of 1 in some unexpected way and
| subsequently blocks interrupt delivery. This primarily manifests itself as
| de(4) timeouts when using Hyper-V VMs with the "Legacy Network Adapter"
| interface.

Tested both amd64 and i386 on Client Hyper-V on Windows 10.

(nakayama)

2017-11-13 09:11:16 UTC MAIN commitmail json YAML

2017-11-13 09:10:47 UTC MAIN commitmail json YAML

Bump space for previous. Formatting fix.

(wiz)

2017-11-13 09:10:37 UTC MAIN commitmail json YAML

Sort errors. Remove superfluous macros.

(wiz)

2017-11-13 09:09:28 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2017-11-13 09:04:57 UTC MAIN commitmail json YAML

2017-11-13 08:56:54 UTC MAIN commitmail json YAML

note GCC 5.5 exists and has been imported.

(mrg)

2017-11-13 08:47:24 UTC MAIN commitmail json YAML

update netbsd version.

(mrg)

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

2017-11-13 07:21:27 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libgcc/arch/i386/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/arch/m68000/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgcc/arch/x86_64/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/alpha/gcov-iov.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/arm/gcov-iov.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/armeb/gcov-iov.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earm/gcov-iov.h@1.10 / diff / nxr@1.10
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhf/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhfeb/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv4/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv4eb/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6eb/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6hf/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv6hfeb/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7eb/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7hf/gcov-iov.h@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmv7hfeb/gcov-iov.h@1.9 / diff / nxr@1.9
      :
(more 265 files)
regen for gcc 5.5.

(mrg)

2017-11-13 07:06:49 UTC MAIN commitmail json YAML

Remove superfluous word in comment. Noted by Geoff Wing.

(wiz)

2017-11-13 04:21:55 UTC MAIN commitmail json YAML

Protect iconv stuffs by USE_WIDECHAR in addition to USE_ICONV.

(rin)

2017-11-13 04:09:42 UTC MAIN commitmail json YAML

Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes".

(rin)

2017-11-13 02:33:13 UTC MAIN commitmail json YAML

- Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively.
  This is because encoding conversion macros yield such like:

    #define FILE2INT5(sp,buf,n,nlen,w,wlen) (w = n, wlen = nlen, 0)

- Silence gcc warnings on nonliteral arguments for snprintf(3) in v_increment.c,
  that are overlooked for swprintf(3) in the case of USE_WIDECHAR == "yes".

(rin)

2017-11-13 02:12:29 UTC MAIN commitmail json YAML

Missed a spot: preserve known_mpsafe = (level != IPL_VM).

Noted by kre -- sorry!

(riastradh)

2017-11-13 01:51:47 UTC MAIN commitmail json YAML

Use mvwchgat(3), which is not a macro in general (and in our case).

(rin)

2017-11-13 01:40:37 UTC MAIN commitmail json YAML

Make sure to cast arguments of ISFOO and TOFOO macros into UCHAR_T.

(rin)

2017-11-13 01:37:48 UTC MAIN commitmail json YAML

Use ISBLANK macro instead of isblank(3).

(rin)

2017-11-13 01:34:59 UTC MAIN commitmail json YAML

Remove duplicate definition for ISUPPER.
No binary changes.

(rin)

2017-11-13 00:53:05 UTC MAIN commitmail json YAML

Apply the previous fix to tre_regwexec().

(rin)

2017-11-12 21:20:20 UTC MAIN commitmail json YAML

Explicitly mark mb(9) as deprecated, as it has been for a decade.

(riastradh)

2017-11-12 21:15:22 UTC MAIN commitmail json YAML

Replace xref mb(9) by xref membar_ops(3).

(riastradh)

2017-11-12 21:14:33 UTC MAIN commitmail json YAML

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

Xref locking(9).  Xref membar_ops(3), not mb(9).

(riastradh)

2017-11-12 20:56:37 UTC MAIN commitmail json YAML

check more eo, initialize shift, remove useless variable.

(christos)

2017-11-12 20:04:51 UTC MAIN commitmail json YAML

Apply same treatment to cv_timedwaitbt.

(riastradh)

2017-11-12 20:04:28 UTC MAIN commitmail json YAML

Rework cv_timedwaitbt documentation and example code.

(riastradh)

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

Clarify interpretation of timeout/epsilon in cv_timedwaitbt.

(riastradh)

2017-11-12 19:46:06 UTC MAIN commitmail json YAML

Define hz2bintime = ms2bintime o hztoms.

(riastradh)

2017-11-12 16:33:31 UTC MAIN commitmail json YAML

PR/52671: Ralph Geier, return the wide character when changing case (because
it could be wide).

(christos)

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

Make REG_STARTEND for tre_regcomp() working actually:
- correct string length
- shift pmatch after pattern matching
- check validity of arguments
Do the same thing for tre_regwcomp()

(rin)

2017-11-12 15:33:03 UTC MAIN commitmail json YAML

_POSIX_VDISABLE exceeds CHAR_MAX. We thus need to cast it to CHAR_T for the
case where USE_WIDECHAR != "yes", i.e., CHAR_T is char.

(rin)

2017-11-12 15:27:53 UTC MAIN commitmail json YAML

db_recno_t aka recno_t is uint32_t

(rin)

2017-11-12 15:26:34 UTC MAIN commitmail json YAML

No need to cast endp in both cases of USE_WIDECHAR == "yes" nor "no".
Note that RCHAR_T is intended to use for bundled regex, not for nvi itself.

(rin)

2017-11-12 15:23:51 UTC MAIN commitmail json YAML

Fix argument type of put() in common_extern.h

(rin)

2017-11-12 15:22:09 UTC MAIN commitmail json YAML

Add missing encoding conversion before printing it.

(rin)

2017-11-12 08:24:37 UTC MAIN commitmail json YAML

Explicitly set NOPIE.  GOT seems problematic on elf2aout(1) conversion.

Fixes silent hangup of luna68k boot.
Should be pulled up to netbsd-8.

Current bsd.own.mk sets NOPIE in case of BINDIR=/usr/mdec for standalone
programs and in luna68k case it's defined in ../Makefile.inc.
However, many bootloader Makefiles include bsd.own.mk first to override
CFLAGS etc. and Makefile.inc is not included (so BINDIR is not set) yet
at the point.

(tsutsui)

2017-11-12 07:55:05 UTC MAIN commitmail json YAML

Restore a local change (in rev1.4) that was lost on zlib 1.12.10 merge.

The rev 1.4 changelog:
> Disable a sanity check output buffer != NULL in _STANDALONE case.
> Some kernels are loaded at address 0x0 by bootloaders and
> output buffer address could be zero in such case.
>
> Fixes "read text" errors on loading install floppy of NetBSD/news68k 4.0,
> reported by KIYOHARA Takashi on port-news68k.

This problem may also affect other m68k ports which use a gzipped install
kernel and kernel text address located at PA 0x0.

Should be pulled up to netbsd-8.

(tsutsui)

2017-11-12 05:11:36 UTC MAIN commitmail json YAML

Remove obsoleted comment. This comment should have been removed in rev. 1.97.

(msaitoh)

2017-11-12 03:03:53 UTC MAIN commitmail json YAML

2017-11-12 03:02:36 UTC MAIN commitmail json YAML

src/sys/external/bsd/acpica/dist/common/dmtbdump.c@1.9 / diff / nxr@1.9
src/sys/external/bsd/acpica/dist/common/dmtbinfo.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/compiler/aslcompile.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.l@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/compiler/aslerror.c@1.9 / diff / nxr@1.9
src/sys/external/bsd/acpica/dist/compiler/aslfiles.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/aslload.c@1.9 / diff / nxr@1.9
src/sys/external/bsd/acpica/dist/compiler/aslopt.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/acpica/dist/compiler/asloptions.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/acpica/dist/compiler/aslsupport.l@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/aslutils.c@1.19 / diff / nxr@1.19
src/sys/external/bsd/acpica/dist/compiler/dtcompile.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/dtfield.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/dtparser.y@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/compiler/dtsubtable.c@1.8 / diff / nxr@1.8
src/sys/external/bsd/acpica/dist/compiler/dttable.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/dtutils.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/compiler/prparser.y@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/compiler/prutils.c@1.9 / diff / nxr@1.9
      :
(more 21 files)
merge conflicts

(christos)

2017-11-12 03:02:15 UTC MAIN commitmail json YAML

new files for acpica-20171110

(christos)

2017-11-12 02:59:55 UTC MAIN commitmail json YAML

Provide a primitive incrementing counter if we are call since the new
Acpi dispatcher requires us to have one when we are cold (shudder).

(christos)

2017-11-12 00:36:48 UTC MAIN commitmail json YAML

2017-11-11 23:48:44 UTC MAIN commitmail json YAML

Add -h option to factor(6): duplicate factors are printed in
"human-readable" form of x^n.

(rin)

2017-11-11 21:05:58 UTC MAIN commitmail json YAML

Add KASSERT to confirm no change in xen intr MP-safety annotations.

(riastradh)

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

Restore MP-safety annotations in intr_establish_xname.

In the old API, event_set_handler would assume MP-unsafe for IPL_VM
and MP-safe for all other levels (IPL_SCHED, IPL_HIGH).  The recent
Xen interrupt rototill started passing known_mpsafe=true for _all_
interrupt handlers.  Change it to known_mpsafe=false for the IPL_VM
(= IPL_CLOCK, IPL_NET) ones.

(riastradh)

2017-11-11 20:23:49 UTC MAIN commitmail json YAML

bump PAGER_MAP_DEFAULT_SIZE to 512MB.  this should allow more
concurrent IOs to be possible, and i'm unable to see pager_map
contention any more.

other larger platforms should probably do this too.

ok chs@.

(mrg)

2017-11-11 19:25:29 UTC MAIN commitmail json YAML

2017-11-11 18:05:31 UTC MAIN commitmail json YAML

Use a more efficient data structure for graph peeling.

New code is about 50% faster on amd64 and it consumes less memory.

(alnsn)

2017-11-11 17:37:03 UTC MAIN commitmail json YAML

2017-11-11 17:26:51 UTC MAIN commitmail json YAML

Pass xname through Xen intr_establish_xname to event_set_handler.

(riastradh)

2017-11-11 17:02:53 UTC MAIN commitmail json YAML

Back out previous KASSERTMSG for now.

The immediate problem appears to have been elsewhere, in the wrong
interrupt level passed by the Xen-specific intr_establish to
event_set_handler.

We should maybe restore these assertions later, but at least one was
violated before cherry's interrupt rototill anyway.

(riastradh)

2017-11-11 16:49:13 UTC MAIN commitmail json YAML

change several of error logs in ahci_intr_port() to use AHCIDEBUG_PRINT()
so they don't show unless debugging; e.g. the AHCI_P_IX_TFES seems to be
triggered normally by ATAPI with 'Media Change' error

adresses 'dmesg spam: ahcisata0 port 1: active 2 is 0x40000001 tfd 0x2051'
thread by Stefan Hertenberger on current-users@

(jdolecek)

2017-11-11 14:16:06 UTC MAIN commitmail json YAML

don't use auto_ptr with memory allocated by C code
silences alloc-dealloc-mismatch warnings from asan

from joerg

(maya)

2017-11-11 13:50:57 UTC MAIN commitmail json YAML

Detect collisions from bootspace directly.

(maxv)

2017-11-11 12:51:06 UTC MAIN commitmail json YAML

Modify the layout of the bootspace structure, in such a way that it can
contain several kernel segments of the same type (eg several .text
segments). Some parts are still a bit messy but will be cleaned up soon.

I cannot compile-test this change on i386, but it seems fine enough.

NOTE: you need to rebuild and reinstall a new prekern after this change.

(maxv)

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

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

2017-11-11 08:23:50 UTC MAIN commitmail json YAML

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

#if DIAGNOSTIC panic ---> KASSERTMSG

(riastradh)

2017-11-11 07:52:42 UTC MAIN commitmail json YAML

Pass IPL through from intr_establish to event_set_handler.

Don't unconditionally use IPL_CLOCK, which aside from being the wrong
IPL for non-IPL_CLOCK interrupt handlers has the side effect of running
all interrupt handlers without the giant lock, even those that are not
MP-safe.

This is a step toward fixing:

https://mail-index.netbsd.org/tech-kern/2017/11/09/msg022571.html

ok cherry

(riastradh)

2017-11-11 07:50:39 UTC MAIN commitmail json YAML

Build liblto_plugin.so with safe-ctype.c

This corrects linking attempt with GNU binutils GOLD (linker).

ld.gold: error: /usr/libexec/liblto_plugin.so: \
could not load plugin library: /usr/libexec/liblto_plugin.so: \
Undefined symbol "_sch_istable" (symnum = 12)

Keep the same minor for the previous recent bump.

(kamil)

2017-11-11 07:49:43 UTC MAIN commitmail json YAML

Build liblto_plugin.so with safe-ctype.c

This corrects linking attempt with GNU binutils GOLD (linker).

ld.gold: error: /usr/libexec/liblto_plugin.so: \
could not load plugin library: /usr/libexec/liblto_plugin.so: \
Undefined symbol "_sch_istable" (symnum = 12)

Keep the same minor for the previous recent bump.

(kamil)

2017-11-11 07:46:52 UTC MAIN commitmail json YAML

#if DIAGNOSTIC panic ---> KASSERTMSG

(riastradh)

2017-11-11 06:16:52 UTC MAIN commitmail json YAML

No externs in .c files!

(riastradh)

2017-11-11 03:58:01 UTC MAIN commitmail json YAML

Don't add kevents to closing file descriptors (from riastradh)

(christos)

2017-11-10 22:54:20 UTC MAIN commitmail json YAML

Add #define CPU_CORTEDVIRT to reduce copied complex ifdef.
Shrink HYP test

(matt)

2017-11-10 22:07:30 UTC MAIN commitmail json YAML

2017-11-10 20:01:11 UTC MAIN commitmail json YAML

Instead of opening the file and using popen(3), pass the file descriptor
to sendmail directory. Idea and code from Todd Miller.

(christos)