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


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




switch to index mode

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

2024-05-09 22:39:46 UTC Now

2018-09-13 18:55:01 UTC MAIN commitmail json YAML

2018-09-13 14:44:09 UTC MAIN commitmail json YAML

Don't leak kernel pointers to userland in kern.file2, same as kern.proc2.

(maxv)

2018-09-13 12:53:00 UTC MAIN commitmail json YAML

Wrap arm_fdt_cpu_okay with #ifdef MULTIPROCESSOR

(jmcneill)

2018-09-13 10:16:51 UTC pgoyette-compat commitmail json YAML

Include rtsock_50.c in the build for compat_50 module.  It might be
reachable via the rtsock code, but there's stuff in the compat_09
module that refers to the _50 stuff.  Including this allows us to
modload the compat_09 module.

(pgoyette)

2018-09-13 09:03:40 UTC MAIN commitmail json YAML

Fix editing mistake, remove ) from func call that is now gone.

(kre)

2018-09-13 08:25:55 UTC MAIN commitmail json YAML

add support for kabylake and skylake GT4 (untested) GPUs.
largely taken from openbsd and linux 4.13 trees (which
have this code identical), with mimimal porting to netbsd.

i have not installed (and thus tested) the newer referenced
firmware files.

only real local change is to fix IS_BROXTON() macro to check
the things valid in this era of drm.  previous match would
attach on KBL, and then a loop would never exit.

tested on kabylake P630.  needs mesa 11.x or newer for GL
to work.

ok @riastradh.

(mrg)

2018-09-13 03:52:35 UTC pgoyette-compat commitmail json YAML

2018-09-13 03:51:32 UTC pgoyette-compat commitmail json YAML

2018-09-13 03:50:24 UTC pgoyette-compat commitmail json YAML

2018-09-13 03:49:47 UTC pgoyette-compat commitmail json YAML

2018-09-13 02:03:49 UTC pgoyette-compat commitmail json YAML

Now that compat_netbsd32 is no longer monolithic, it no longer
requires compat_09 (and all higher) compat code.  Adjust the
requirements list accordingly.

(pgoyette)

2018-09-13 01:55:16 UTC MAIN commitmail json YAML

always call lockdebug_dismiss() from DDB -- there are always some
minimal lockdebug checks in place, even without LOCKDEBUG.

adjust lockdebug_abort() to ignore problems after ld_panic is set
so that there's a chance of this working.

this fixes ddb 'reboot' on softiron od1000.

(mrg)

2018-09-13 01:26:33 UTC MAIN commitmail json YAML

more efficient to use decode_result :-) Pointed out by kre@

(christos)

2018-09-13 01:15:59 UTC pgoyette-compat commitmail json YAML

2018-09-13 00:15:01 UTC pgoyette-compat commitmail json YAML

2018-09-12 23:33:31 UTC MAIN commitmail json YAML

PR standards/34646

Make test(1) always use the POSIX "number of args" evaluation rules
when they apply.

Only fall back to the old expression evaluation when there are more
than 4 args, or when the args given cannot work as a test expression
using the POSIX rules.  That is when the result is unspecified.

Also fix old bug where a string of whitespace is considered to be a
valid number (at least one digit is needed amongst it somewhere...)

XXX pullup -8

(kre)

2018-09-12 23:28:16 UTC pgoyette-compat commitmail json YAML

Use correct module name for dependency

(pgoyette)

2018-09-12 23:27:25 UTC pgoyette-compat commitmail json YAML

2018-09-12 23:26:38 UTC pgoyette-compat commitmail json YAML

2018-09-12 22:10:35 UTC MAIN commitmail json YAML

PR/53597: Yasuhiro Horimoto: Avoid segmentation fault in bad history file.

(christos)

2018-09-12 22:10:07 UTC MAIN commitmail json YAML

I've been on an Ed Wood binge.

(sevan)

2018-09-12 21:58:38 UTC MAIN commitmail json YAML

Fix lockdebug diagnostic error of trying to acquire an rw_lock from a
pserialized active context. From riastradh@

(christos)

2018-09-12 21:57:18 UTC MAIN commitmail json YAML

Don't have modules depend on bpf; they will find the dependency dynamically
at runtime. Otherwise builtin modules will complain about non-builtin bpf.

(christos)

2018-09-12 21:52:17 UTC pgoyette-compat commitmail json YAML

2018-09-12 21:46:09 UTC pgoyette-compat commitmail json YAML

2018-09-12 19:55:39 UTC MAIN commitmail json YAML

2018-09-12 15:58:08 UTC MAIN commitmail json YAML

Remove this check, it has never protected against mmap on page zero, and
has since been replaced by the code in exec_vm_minaddr.

(maxv)

2018-09-12 15:29:11 UTC MAIN commitmail json YAML

add nta named directory.

(christos)

2018-09-12 15:28:42 UTC MAIN commitmail json YAML

Put the nta files in a subdirectory instead of requiring the namedb root
directory to be writable by named... Others have expressed the same concern,
but upstream refused: https://bugzilla.redhat.com/show_bug.cgi?id=1487823
https://bugs.isc.org/Public/Bug/Display.html?id=46242

(christos)

2018-09-12 13:52:36 UTC MAIN commitmail json YAML

if_msk: detach/reattach fixes

- Fill in sc->sk_bsize upon pci_mapreg_map() so that we'll correctly
  bus_space_unmap() on detach.
- Clear sc->sk_intrhand after interrupt disestablish, to prevent
  disestablishing unestablished interrupt.

(jakllsch)

2018-09-12 13:44:05 UTC MAIN commitmail json YAML

Try to properly guess a path on the ftp server for pkg binaries
and use that as default.

Assume for $N.99 (current) we can use $N.0. Otherwise strip all
RC*/STABLE* annotations and just use the plain numbers.

(martin)

2018-09-12 09:49:03 UTC MAIN commitmail json YAML

use pa_dmat64 if pci_dma64_available().

(mrg)

2018-09-12 09:46:00 UTC MAIN commitmail json YAML

- link to pci_mapreg_type() from pci_mapreg_map() for the type argument
- note that 64 bit memory mappings are different to others
- bump date

(mrg)

2018-09-12 08:09:23 UTC pgoyette-compat commitmail json YAML

2018-09-12 07:45:56 UTC pgoyette-compat commitmail json YAML

2018-09-12 07:42:22 UTC MAIN commitmail json YAML

Add ATS Relaxed Ordering supported bit described in Address Translation
Relaxed Ordering ECN.

(msaitoh)

2018-09-12 05:03:05 UTC MAIN commitmail json YAML

2018-09-12 04:59:26 UTC MAIN commitmail json YAML

- Try m_defrag() to reduce the number of DMA segment if bus_dmamap_load_mbuf()
  returned EFBIG. When m_defrag() is called, txqNNdefrag event counter is
  incremented. If the 2nd try of bus_dmamap_load_mbuf() failed, txqNNtoomanyseg
  event counter is incremented.

- Reduce the max number of DMA segemts from 256 to 64 (it's the same valuse
  as other BSD's (EM_MAX_SCATTER) and more than before if_wm.c rev. 1.75's
  value (40)) because we do m_defrag() now.

(msaitoh)

2018-09-12 04:37:18 UTC MAIN commitmail json YAML

- Split txdrop evcnt into pcqdrop and descdrop.
- Simplify evcnt name by removing duplicated "tx" or "rx".
- s/tu/underrun/

(msaitoh)

2018-09-12 04:35:22 UTC pgoyette-compat commitmail json YAML

2018-09-12 03:23:38 UTC MAIN commitmail json YAML

use pci_mapreg_type() instead of assuming PCI_MAPREG_TYPE_MEM.
suggested by riastradh@.

fixes hdaudio on thinkpad P51 where the registers are mapped
over 4GB range.  probably fixes intel X10-based systems that
map hdaudio high as well, but i was able to work around that
in the BIOS.  not so for the P51.

XXX: pullup-7, pullup-8.

(mrg)

2018-09-12 03:22:08 UTC pgoyette-compat commitmail json YAML

2018-09-12 03:21:14 UTC pgoyette-compat commitmail json YAML

Prepare for splitting compat_netbsd32_sysvipc into version-specific modules

(pgoyette)

2018-09-12 02:24:25 UTC MAIN commitmail json YAML

Fix a bug that SIOC[GZ]IFDATA returned old ifreq structure.

(msaitoh)

2018-09-12 01:28:32 UTC pgoyette-compat commitmail json YAML

2018-09-12 01:26:40 UTC pgoyette-compat commitmail json YAML

2018-09-12 01:05:21 UTC pgoyette-compat commitmail json YAML

2018-09-12 00:22:26 UTC pgoyette-compat commitmail json YAML

2018-09-12 00:20:53 UTC pgoyette-compat commitmail json YAML

The netbsd32 40 mount code belongs in a netbsd32 40 module

(pgoyette)

2018-09-12 00:00:32 UTC pgoyette-compat commitmail json YAML

2018-09-11 23:58:47 UTC pgoyette-compat commitmail json YAML

2018-09-11 23:26:21 UTC pgoyette-compat commitmail json YAML

2018-09-11 21:18:33 UTC pgoyette-compat commitmail json YAML

2018-09-11 10:06:53 UTC MAIN commitmail json YAML

2018-09-11 10:05:31 UTC MAIN commitmail json YAML

2018-09-11 09:22:51 UTC pgoyette-compat commitmail json YAML

2018-09-11 09:05:32 UTC pgoyette-compat commitmail json YAML

2018-09-11 08:51:55 UTC pgoyette-compat commitmail json YAML

2018-09-11 08:42:45 UTC pgoyette-compat commitmail json YAML

2018-09-11 08:42:23 UTC pgoyette-compat commitmail json YAML

Make compat_netbsd32_43 into a stand-alone module.

(pgoyette)

2018-09-11 08:41:27 UTC pgoyette-compat commitmail json YAML

Use the real version numbers, not just the ones from the template.

(pgoyette)

2018-09-11 08:36:29 UTC pgoyette-compat commitmail json YAML

2018-09-11 08:35:28 UTC pgoyette-compat commitmail json YAML

Insert "MODULAR compat_netbsd32_43" as neeed

(pgoyette)

2018-09-11 08:25:44 UTC pgoyette-compat commitmail json YAML

Define vector for compat_netbsd32 version of sys_modctl()

(pgoyette)

2018-09-11 08:05:18 UTC MAIN commitmail json YAML

Split the host name used for ftp transfers from the one used for http
transfers. This is slightly inconsistent, as directories are still
shared - but this allows us to default to cdn/nycdn for http (which don't
support ftp).

(martin)

2018-09-11 07:01:10 UTC pgoyette-compat commitmail json YAML

2018-09-11 06:46:24 UTC pgoyette-compat commitmail json YAML

2018-09-11 06:26:59 UTC pgoyette-compat commitmail json YAML

2018-09-11 06:12:18 UTC pgoyette-compat commitmail json YAML

2018-09-11 06:11:59 UTC pgoyette-compat commitmail json YAML

More over-zealousness - what was I thinking?

(pgoyette)

2018-09-11 05:57:15 UTC pgoyette-compat commitmail json YAML

2018-09-11 05:48:07 UTC pgoyette-compat commitmail json YAML

2018-09-11 05:47:52 UTC pgoyette-compat commitmail json YAML

Don't be overzealous with changes!  Return a few syscalls to their
original COMPAT_xx status (rather than STD)

(pgoyette)

2018-09-11 05:01:35 UTC pgoyette-compat commitmail json YAML

Don't include the 60-specific code in the monolithic compat_netbsd32 module

(pgoyette)

2018-09-11 05:00:42 UTC pgoyette-compat commitmail json YAML

2018-09-11 04:53:42 UTC pgoyette-compat commitmail json YAML

2018-09-11 04:20:51 UTC pgoyette-compat commitmail json YAML

2018-09-11 03:30:40 UTC MAIN commitmail json YAML

Whitespace cleanup from last update.  NFC.

(kre)

2018-09-11 02:53:56 UTC pgoyette-compat commitmail json YAML

2018-09-11 02:20:31 UTC MAIN commitmail json YAML

2018-09-11 01:52:00 UTC pgoyette-compat commitmail json YAML

2018-09-11 01:45:19 UTC pgoyette-compat commitmail json YAML

Update for module-provided compat syscalls

(pgoyette)

2018-09-10 22:50:52 UTC pgoyette-compat commitmail json YAML

2018-09-10 19:43:58 UTC MAIN commitmail json YAML

armgic_ipi_send: use GIC interface number, not CPU index, when setting
the target(s) for an IPI.

(jmcneill)

2018-09-10 19:15:17 UTC MAIN commitmail json YAML

Re-add support for cpu nodes with status = "disabled", lost in previous commit

(jmcneill)

2018-09-10 19:09:38 UTC MAIN commitmail json YAML

psci_fdt_bootstrap -> arm_fdt_cpu_bootstrap

(jmcneill)

2018-09-10 17:56:49 UTC netbsd-8 commitmail json YAML

2018-09-10 17:56:00 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nakayama in ticket #1019):

sbin/raidctl/rf_configure.h: revision 1.2
sbin/raidctl/rf_configure.c: revision 1.27
sbin/raidctl/rf_configure.c: revision 1.28
sbin/raidctl/rf_configure.c: revision 1.29
sbin/raidctl/raidctl.8: revision 1.73
sbin/raidctl/rf_configure.c: revision 1.30
sbin/raidctl/rf_configure.c: revision 1.31
sbin/raidctl/rf_configure.c: revision 1.32

support NAME=<wedge name> syntax for disks and spares

-

stop using magic constants
wrap long lines
use warn{,x}
make static
knf

-

White space and comment formatting.  NFC.

-

With char bug[SIZE]  using sizeof(bug[0]) is kind of boring, use
sizeof(bug) instead...

-

Avoid needless pointer calisthenics: &foo[0] -> foo

-

Several more cleanups:
1. Don't force use of "for" when "while" works better.
2. No need to check c != '\0' when we also check (c == ' ' || c == '\t')
3. Use the size of the buffer we're using, rather than a different one
  (not really a concern, they're the same size)
4. Don't use fscanf() to read file data, use fgets() & sscanf().
5. After using a pointer as a char *, validate alignment before switching
  to int * (can only fail if kernel #define gets set stupidly)  Or #6...
6. Validate sparemap file name isn't too long for assigned space.
7. recognise that strlen() returns size_t - don't shove it into an int.
8. On out of mem, be more clear which allocation failed in warning msg.

ATF tests all pass.  But I don't think they use sparemap files.

(martin)

2018-09-10 17:25:21 UTC MAIN commitmail json YAML

2018-09-10 17:25:15 UTC MAIN commitmail json YAML

changed kcopy() to asm to avoid replacement memcpy() to kasan_memcpy() when defined KASAN.

(ryo)

2018-09-10 16:43:24 UTC MAIN commitmail json YAML

Replace KDASSERT by panic.

(maxv)

2018-09-10 16:00:10 UTC netbsd-8 commitmail json YAML

2018-09-10 15:58:47 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #1018):

sys/netinet6/in6_l2tp.c: revision 1.17
sys/netinet/in_l2tp.c: revision 1.16

fix: l2tp(4) cannot receive packets after reset session without reset tunnel. Pointed out by k-goda@IIJ

When the following operations are done after established session, the l2tp0
cannot receive packets until done deletetunnel && tunnel "src" "dst".

====================
ifconfig l2tp0 deletesession
ifconfig l2tp0 deletecookie
ifconfig l2tp0 session 200 100
====================

XXX pullup-8

(martin)

2018-09-10 15:52:36 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1017):

sys/arch/sgimips/conf/INSTALL32_IP2x: revision 1.10
sys/arch/sgimips/stand/boot/Makefile: revision 1.20
sys/arch/sgimips/sgimips/machdep.c: revision 1.146
sys/arch/sgimips/hpc/wdsc.c: revision 1.35
distrib/sgimips/instkernel/Makefile: revision 1.13

Disable misc options to shrink an INSTALL kernel for IP2x.

The ARC BIOS on Indy seems to have ~8MB limit.

Fixes PR port-sgimips/53378 from Naruaki Etomi.
Should be pulled up to netbsd-7 and netbsd-8.

-

Fix build failure without options DDB and with pseudo-device ksyms.
There is a typo for ksyms (NKSYMS vs NKSYM).

Also use consistent "#if NKSYMS" rather than "#if NKSYMS > 0" etc.
and add comments after corresponding #endif for readability.

Fixes PR port-sgimips/53521 from Naruaki Etomi.
Should be pulled up to (at least) netbsd-8.

-

Use elf2ecoff(1) rather than objcopy(1) to generat ecoff for old machines.
objcopy(1) was used instead of elf2ecoff(1) since Makefile rev 1.9:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/sgimips/stand/boot/Makefile#rev1.9
but it looks ELF binaries generated by recent binutils are too complicated
to convert them to ecoff for old machines by objcopy(1).

Reported by Naruaki Etomi in PR port-sgimips/53519.
Should be pulled up to at least netbsd-8.

-

Fix wdsc(4) probe failure on HPC1.5 machines (Indigo R3k/R4k, IP6/IP10/IP12).

The alignment adjustment code was removed in rev 1.36 for common
mips bus_space changes, but the code was not bus_space related
but used for uint32_t register acccess during probe.

Reported and tested by Naruaki Etomi in PR port-sgimips/53522.
Should be pulled up to netbsd-8.

-

Use elf2ecoff(1) rather than objcopy(1) to generate ecoff kernel.

Reported by Naruaki Etomi in PR port-sgimips/53518.

Should be pulled up to netbsd-7 and netbsd-8.

(martin)

2018-09-10 15:48:25 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #1016):

usr.bin/find/function.c: revision 1.77

Inspired by PR pkg/53543

When calculating the length of the args that can be
appended in a "find .... -exec something {} +"
usage, remember to allow for the arg pointers, which
form part of what is allowed in ARG_MAX.

From a fairly empty installation of HEAD on amd64
and with a "/tmp/args" command that simply prints
its arg count, and the length of the arg strings,
with this mod I see ..

netbsd# find / -exec /tmp/args {} +
Argc 5000 Arglen 107645
Argc 5000 Arglen 151324
Argc 5000 Arglen 187725
Argc 5000 Arglen 206591
Argc 5000 Arglen 172909
Argc 5000 Arglen 186264
Argc 5000 Arglen 167906
Argc 2881 Arglen 98260

The upper limit of 5000 args is in the code.

Using the biggest of those, 5000
args, plus 206591 bytes of strings
uses 246591 bytes total (this excludes
the command name, so add a few more).

That's fairly close to the ARG_MAX
of 262144.

On another system (with longer paths) I see:
(this is just a small part of the output, using a
different version of the dummy command, and a
slightly different invocation)

Args: 4546 Len 218030
Args: 4878 Len 217991
Args: 4813 Len 218028
Args: 4803 Len 218029

There, 4878*8 + 217991 == 257015 which is about
as close as we'd want to come to the arg limit.

XXX pullup -8

(martin)

2018-09-10 15:45:11 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) via patch (requested by kre in ticket #1015):

bin/sh/expand.c: revision 1.124
bin/sh/expand.c: revision 1.127
bin/sh/parser.c: revision 1.148
bin/sh/parser.c: revision 1.149
bin/sh/syntax.c: revision 1.6
bin/sh/syntax.h: revision 1.9 (partial)

First pass at fixing some of the more arcane pattern matching
possibilities that we do not currently handle all that well.

This mostly means (for now) making sure that quoted pattern
magic characters (as well as quoted sh syntax magic chars)
are properly marked, so they remain known as being quoted,
and do not turn into pattern magic.  Also, make sure that an
unquoted \ in a pattern always quotes whatever comes next
(which, unlike in regular expressions, includes inside []
matches),

-

Part 2 of pattern matching (glob etc) fixes.
Attempt to correctly deal with \ (both when it is a literal,
in appropriate cases, and when it appears as CTLESC when it was
detected as a quoting character during parsing).

In a pattern, in sh, no quoted character can ever be anything other
than a literal character.  This is quite different than regular
expressions, and even different than other uses of glob matching,
where shell quoting is not an issue.

In something like
ls ?\*.c
the ? is a meta-character, the * is a literal (it was quoted).  This
is nothing new, sh has handled that properly for ever.

But the same happens with
VAR='?\*.c'
and
ls $VAR
which has not always been handled correctly.  Of course, in
ls "$VAR"
nothing in VAR is a meta-character (the entire expansion is quoted)
so even the '\' must match literally (or more accurately, no matching
happens - VAR simply contains an "unusual" filename).  But if it had
been
ls *"$VAR"
then we would be looking for filenames that end with the literal 5
characters that make up $VAR.

The same kinds of things are requires of matching patterns in case
statements, and sub-strings with the % and # operators in variable
expansions.

While here, the final remnant of the ancient !! pattern matching
hack has been removed (the code that actually implemented it was
long gone, but one small piece remained, not doing any real harm,
but potentially wasting time - if someone gave a pattern which would
once have invoked that hack.)

(martin)

2018-09-10 15:14:50 UTC MAIN commitmail json YAML

Rename _pmap_alloc_pdp -> pmap_alloc_pdp, and make it public.

(maxv)

2018-09-10 15:02:11 UTC MAIN commitmail json YAML

Add a test where printf is run twice in the same shell, and the
first invocation uses \c in a %b arg - make sure that 2nd invocation
is not affected by that  (it was until recently, for a very long time).

(kre)

2018-09-10 14:42:29 UTC MAIN commitmail json YAML

A truly ancient bug found by Edgar Fuss

When printf is running builtin in a sh, global vars aren't reset to
0 between invocations.  This affects "rval" which remembers state
from a previous %b \c and thereafter always exits after the first
format conversion, until we get a conversion that generates an
error (which resets the flag almost by accident)

printf %b abc\\c
abc (no \n)
printf %s%s hello world
hello (no \n, of course, no world ...)
printf %s%s hello world
hello
printf %s%s hello world
hello
printf %d hello
printf: hello: expected numeric value
0 (no \n)
printf %s%s hello world
helloworld (no \n, and we are back!)

This affects both /bin/sh and /bin/csh (and has for a very long time).

XXX pullup -8

(kre)

2018-09-10 13:11:05 UTC MAIN commitmail json YAML

Correctly align the size+redzone for KASAN, on amd64 it happens to be
always 8byte-aligned but on other architectures it may not be.

(maxv)

2018-09-10 11:05:12 UTC MAIN commitmail json YAML

cleanup aarch64 mpstart and fdt bootstrap
* arm_cpu_hatch_arg is a bad idea. avoid serializing CPU startup, and eliminate arm_cpu_hatch_arg.
  in mpstart, resolve own cpu index using array of cpu_mpidr[] (aarch64)
* add support fdt enable-method "spin-table"
* add support fdt enable-method "brcm,bcm2836-smp" (for 32bit RaspberryPi)
* use arm_fdt_cpu_bootstrap() instead of psci_fdt_bootstrap()
* rename "arm/fdt/psci_fdt.h" to "arm/fdt/psci_fdtvar.h" because of conflict of include file for needs-flag
* add devmap for cpu spin-table of raspberrypi3/aarch64
* no need to force hatch APs for raspberrypi3/arm32 ifndef MULTIPROCESSOR.
* fix to work pmap_extract(kerneltext/data/bss) even if before calling pmap_bootstrap

idea to use cpu_mpidr[] by jmcneill@. reviewd by skrll@. thanks.

(ryo)

2018-09-10 10:59:50 UTC pgoyette-compat commitmail json YAML

Remove from the generic module those files which are being included
in their own version-specific modules.

(pgoyette)

2018-09-10 10:55:03 UTC MAIN commitmail json YAML

Typo in comment from Joerg's gtmr diff

(skrll)

2018-09-10 10:49:10 UTC pgoyette-compat commitmail json YAML

2018-09-10 09:54:47 UTC pgoyette-compat commitmail json YAML

2018-09-10 09:48:57 UTC MAIN commitmail json YAML

Update sc_mptargets atomically, as PEs will be started up in parallel w/o locking here

(jmcneill)

2018-09-10 08:53:12 UTC pgoyette-compat commitmail json YAML

2018-09-10 08:52:10 UTC pgoyette-compat commitmail json YAML

Add compat_80 to the list of compats

(pgoyette)

2018-09-10 08:49:25 UTC pgoyette-compat commitmail json YAML

Note that the compat_netbsd32 module will be split into version-specific
components.

(pgoyette)

2018-09-10 08:44:50 UTC pgoyette-compat commitmail json YAML

2018-09-10 08:43:50 UTC pgoyette-compat commitmail json YAML

Don't descend into the build directories for monolithic compat and
compat_sysv modules.

Add sub-dirs for the soon-to-arrive version-specific compat_netbsd32_xx
modules.

(pgoyette)

2018-09-10 08:41:47 UTC pgoyette-compat commitmail json YAML

2018-09-10 07:30:33 UTC MAIN commitmail json YAML

2018-09-10 07:04:08 UTC MAIN commitmail json YAML

Remove the last usage of xen_pirq_alloc() and pirq_establish()
outside of the x86 interrupt and xen events framework.

This allows us to finally unify the interrupt path for both Xen
and x86 as changes 'internal' to the subsystem.

This change has been kindly tested on real hardware by gson@

The change is not cosmetic and may thus affect users on various
hardware configurations - especially involving legacy hardware.

I look forward to bug reports.

(cherry)

2018-09-10 05:14:42 UTC MAIN commitmail json YAML

Fix typos and DEBUG_MMU output.  From Rin Okuyama.

(skrll)

2018-09-10 05:08:55 UTC MAIN commitmail json YAML

Make the use of 'irqs' in the range 0 < irq < 255 by xen
as a handle for internal use explicit.

This allows us to pass up the handle as "legacy" irq while
establishing interrupt handlers for xen.

No functional change.

(cherry)

2018-09-10 02:49:23 UTC MAIN commitmail json YAML

In the NIOAPIC case, we do not need to support "legacy" irqs,
ie; We don't need to simultaneously pass back the irq in the
range 0 < irq < 16 (which are sometimes described as "legacy"
in src

This was non-obvious, until the semantics of "legacy" were
used in inconsistent ways in Xen (to also mean interrupts in
the 0 < irq < 256 range) which causes problems with attempting
to unify the sys/arch/x86/isa/isa_machdep.c:isa_intr_establish_xname()
function between XEN and !XEN

This commit should not affect current functionality on any
either native or Xen. It is needed for future code reorg, and
published now as a preview.

(cherry)

2018-09-09 22:35:23 UTC pgoyette-compat commitmail json YAML

2018-09-09 22:12:16 UTC pgoyette-compat commitmail json YAML

In the case of no compat modules (ENOSYS returned from the stubs), reset
the retcode to zero so we don't return the wrong value when there is
nothing to do for the particular command.  This was causing spurious
failures for RAIDFRAME_SET_COMPONENT_LABEL which is wrapped in

#if 0
...
#endif

(pgoyette)

2018-09-09 21:16:05 UTC MAIN commitmail json YAML

Boot APs with status "disabled" if they have an enable-method property

(jmcneill)

2018-09-09 21:15:21 UTC MAIN commitmail json YAML

Attach cpu nodes with status "disabled" if they have an enable-method
property. This is a valid configuration according to the devicetree
specification.

(jmcneill)

2018-09-09 21:14:04 UTC MAIN commitmail json YAML

Add fdt_add_bus_match, which is like fdt_add_bus but allows for the caller to filter child nodes on their own

(jmcneill)

2018-09-09 19:17:21 UTC MAIN commitmail json YAML

Add instructions for building NetBSD on modern Solaris 11 hosts

(palle)

2018-09-09 18:00:20 UTC MAIN commitmail json YAML

2018-09-09 17:55:22 UTC MAIN commitmail json YAML

Add support for setting environment variables. Currently the following env
vars are supported: "fdtfile", "initrd", and "rootdev".

(jmcneill)

2018-09-09 13:40:28 UTC MAIN commitmail json YAML

Take interrupt-map-mask into consideration when mapping PCI interrupts.

(jmcneill)

2018-09-09 13:37:54 UTC MAIN commitmail json YAML

2018-09-09 13:32:26 UTC MAIN commitmail json YAML

Fix previous; PSCI_CPU_ON requires an MPIDR!

(jmcneill)

2018-09-09 13:22:50 UTC MAIN commitmail json YAML

Ditch arm,arm-v8 compatible string (everything uses arm,armv8)

(jmcneill)

2018-09-09 11:54:10 UTC pgoyette-compat commitmail json YAML

When freeing the required list, make sure we calculate its size based
on the size of the contained elements, not on the size of a pointer to
those elements.

(pgoyette)

2018-09-09 11:51:48 UTC pgoyette-compat commitmail json YAML

The compat_netbsd32 module requires compat_09 and above.  Since we
removed the alias names, we need to explicitly refer to the oldest
non-32 required compat module.

(pgoyette)

2018-09-09 07:24:59 UTC MAIN commitmail json YAML

Add a todo item for a future major bump (rename many symbols)

(maya)

2018-09-09 07:21:18 UTC MAIN commitmail json YAML

2018-09-09 03:58:37 UTC MAIN commitmail json YAML

include sys/param.h for MIN/MAX, needed when building in pkgsrc
tolerate set version failing in another location too.

this now works well enough for mesa 18.2.0 to display glxgears followed
soon by X crashing and refusing to start again until the machine is
rebooted, at least in my case.

PR pkg/51795, pkg/51786

(maya)

2018-09-09 03:24:46 UTC MAIN commitmail json YAML

Let's get the sense of strncmp correct, shall we?

PR pkg/51795
PR kern/51786

XXX pullup-7
XXX pullup-8

(riastradh)

2018-09-09 03:12:51 UTC MAIN commitmail json YAML

2018-09-09 03:10:03 UTC MAIN commitmail json YAML

2018-09-09 03:05:37 UTC MAIN commitmail json YAML

Don't make setversion failure fatal -- only master can set it.

PR pkg/51795
PR kern/51786

XXX pullup-7
XXX pullup-8

(riastradh)

2018-09-09 03:04:43 UTC MAIN commitmail json YAML

Add __diagused attribute to some diagnostic routines.

OK riastradh@

(pgoyette)

2018-09-09 02:20:17 UTC pgoyette-compat commitmail json YAML

Rename COMPAT-branch-notes to TODO.compat-module

(pgoyette)

2018-09-09 02:00:29 UTC MAIN commitmail json YAML

Implement drmParsePciBusInfo and drmParsePciDeviceInfo.

Uses drmGetBusid for bus info, and pciN with libpci for device info.

Aims to address PR pkg/51795 without needing the kernel changes
suggested in PR kern/51786.  Compile-tested only sofar -- should
confirm before closing any PRs.

(Sorry it took so long for me to find a round tuit!)

XXX pullup-7
XXX pullup-8

...along with src/external/mit/xorg/lib/libdrm/Makefile r1.16 for
libpci.

(riastradh)

2018-09-09 01:53:23 UTC MAIN commitmail json YAML

libdrm needs libpci for bus info stuff.

(riastradh)

2018-09-08 23:39:21 UTC pgoyette-compat commitmail json YAML

Add a note regarding possible future investigation of the .a vs .o
compat library mechanisms.

(pgoyette)

2018-09-08 20:01:19 UTC MAIN commitmail json YAML

Fix editor accident in previous

(martin)

2018-09-08 19:12:01 UTC MAIN commitmail json YAML

2018-09-08 18:24:02 UTC MAIN commitmail json YAML

Make sure we're in the standard locale when testing for printf
being built in to the shell, so we don't receive an unrecognisable
(to the script) message from the shell when we ask it.

(kre)

2018-09-08 18:10:35 UTC MAIN commitmail json YAML

PR port-sgimips/53583: fetch kernel name always before using it.
Make the struct utsname local to avoid future similar issues.

(martin)

2018-09-08 14:32:25 UTC MAIN commitmail json YAML

2018-09-08 14:13:09 UTC MAIN commitmail json YAML

2018-09-08 14:12:53 UTC MAIN commitmail json YAML

2018-09-08 14:12:04 UTC MAIN commitmail json YAML

2018-09-08 14:11:41 UTC MAIN commitmail json YAML

2018-09-08 14:11:11 UTC MAIN commitmail json YAML

2018-09-08 14:02:15 UTC MAIN commitmail json YAML

2018-09-08 13:26:12 UTC MAIN commitmail json YAML

Add libnv info.

(christos)

2018-09-08 13:10:08 UTC MAIN commitmail json YAML

Make smsc(4) MPSAFE. Patch from skrll@.

(mlelstv)

2018-09-08 12:40:17 UTC MAIN commitmail json YAML

Work around dumb KASSERT in vtopte(), the PTE area can now be above the
MAIN area. I guess the KASSERT should be removed because it doesn't make
a lot of sense.

(maxv)

2018-09-08 11:54:26 UTC MAIN commitmail json YAML

Increase the size of is_irq from 8- to 16-bits to allow for > 256 IRQs per pic.

(jmcneill)

2018-09-08 09:02:50 UTC MAIN commitmail json YAML

2018-09-08 02:33:34 UTC MAIN commitmail json YAML

Initialize ci_divisor_delay by temporary cpufreq for early delay(9) calls.

This is actually required for Indigo R3k.
Reported by Naruaki Etomi in PR port-sgimips/53520.

(tsutsui)

2018-09-08 00:51:57 UTC MAIN commitmail json YAML

2018-09-08 00:49:06 UTC MAIN commitmail json YAML

Add platform glue for AMD Opteron A1100 family SoCs.

(jmcneill)

2018-09-08 00:42:24 UTC MAIN commitmail json YAML

2018-09-08 00:42:01 UTC MAIN commitmail json YAML

Add pl061gpio, pcihost, mskc/msk (commented out), ehci@pci, ohci@pci, and xhci@pci

(jmcneill)

2018-09-08 00:40:57 UTC MAIN commitmail json YAML

2018-09-07 23:32:30 UTC pgoyette-compat commitmail json YAML

2018-09-07 21:14:45 UTC MAIN commitmail json YAML

re-enable 64bit addressing in n32 kernels
Now these work again, at least on my Indy.

(macallan)

2018-09-07 20:44:04 UTC MAIN commitmail json YAML

fix the build

add mssing directory to sets list

(para)

2018-09-07 18:41:39 UTC MAIN commitmail json YAML

fix the build; this was mis-generated before to an empty file.

(christos)

2018-09-07 17:30:59 UTC MAIN commitmail json YAML

2018-09-07 17:30:32 UTC MAIN commitmail json YAML

2018-09-07 17:21:58 UTC MAIN commitmail json YAML

Increase MAX_PHYSMEM to 64

(jmcneill)

2018-09-07 17:21:38 UTC MAIN commitmail json YAML

Increase VM_PHYSSEG_MAX to 64

(jmcneill)

2018-09-07 16:51:13 UTC MAIN commitmail json YAML

make a link to the pid file so the rc scripts can find it.

(christos)

2018-09-07 16:50:22 UTC MAIN commitmail json YAML

add /var/chroot/nsd/var/run

(christos)

2018-09-07 15:16:15 UTC MAIN commitmail json YAML

2018-09-07 14:47:15 UTC MAIN commitmail json YAML

two issues noted by maxv@

1. If an adaptor sends repeated fragments indicating HCI_PACKET_START,
  we would leak mbufs. Fix that by releasing the previous in that case.

2. If an adaptor sends fragments which overflow the expected total
  payload length, it could build up the pending packet to use up system
  mbufs. Fix that by changing the unsigned calculation to a comparison
  and rejecting oversize packets

(plunky)

2018-09-07 13:24:14 UTC MAIN commitmail json YAML

Flip the order of free'ing things to avoid crash (from ozaki-r). Tested
with a month's uptime. Used to crash once a week.

(christos)

2018-09-07 12:50:58 UTC MAIN commitmail json YAML

2018-09-07 12:38:23 UTC netbsd-8 commitmail json YAML

2018-09-07 12:37:20 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1014):

sys/dev/pci/ixgbe/ix_txrx.c: revision 1.50

  Fix a bug that ixgbe_mq_start(an if_transmit function) returned wrong
value on error. pcq_put returns false on error, so returning it to caller
indicated no error.

XXX pullup-8

(martin)

2018-09-07 12:34:18 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1013):

sys/sys/lockdebug.h: revision 1.20
sys/ddb/db_command.c: revision 1.155
sys/kern/subr_lockdebug.c: revision 1.65

add a lockdebug_dismiss() function for DDB to use that tells
lockdebug to avoid asserts.  use it for the ddb "reboot"
command, so that it doesn't matter how ddb was entered, the
reboot not trigger mutex checks and not work.

(martin)

2018-09-07 12:31:30 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #1012):

sys/net/route.c: revision 1.212
sys/net/route.c: revision 1.213

route: don't take an extra reference of a rtentry for the delayed free mechanism
Because a reference is already taken at that point.

-

route: avoid overwriting rt_free_global.enqueued unexpectedly

rt_free_global.enqueued can be set to true by rt_free during rt_free_work
because rt_free_work releases rt_free_global.lock.  So rt_free_work must update
it once and not update after releasing the lock.

(martin)

2018-09-07 12:27:27 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1011):

sys/dev/usb/usbdevices.config: revision 1.32 (patch)
sys/arch/amd64/conf/GENERIC: revision 1.502 (patch)
sys/arch/i386/conf/GENERIC: revision 1.1188 (patch)

- add commented entries that exist in amd64 GENERIC: oboe, mos, umb.
  (XXX: mos might be deleteable now?).
- comment uscanner(4) -- usb scanners use ugen(4) interface.
- minor sort.

-

use dev/usb/usbdevices.config, gaining these missing drivers:
slurm(4), uthum(4), umcs(4), uark(4), upgt(4), and usmsc(4).

-

use dev/usb/usbdevices.config instead of a local list.
adds slurm(4), umcs(4), uark(4), and usmsc(4).

(martin)

2018-09-07 12:21:13 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1010):

sys/dev/scsipi/scsipi_base.c: revision 1.178

Async event can be called before the adapter is running (pmax tc asc)

(martin)

2018-09-07 10:20:32 UTC MAIN commitmail json YAML

mark two entries as done, and add two more

(maxv)

2018-09-07 06:13:14 UTC MAIN commitmail json YAML

2018-09-07 06:08:16 UTC MAIN commitmail json YAML

Set unused pr_input field to NULL, discussed on tech-net@.

(maxv)

2018-09-07 02:25:40 UTC MAIN commitmail json YAML

2018-09-06 22:54:05 UTC MAIN commitmail json YAML

Add fdtbus_intr_establish_raw and fdtbus_intr_str_raw, for establishing
interrupts directly using an interrupt controller's phandle and specifier.

(jmcneill)

2018-09-06 22:30:34 UTC MAIN commitmail json YAML

Define _PCI_HAVE_DMA64 for aarch64

(jmcneill)

2018-09-06 21:37:43 UTC pgoyette-compat commitmail json YAML

2018-09-06 21:22:05 UTC pgoyette-compat commitmail json YAML

Catch up to recent change on head:  min() -> uimin()

(pgoyette)

2018-09-06 19:19:44 UTC MAIN commitmail json YAML

2018-09-06 19:07:13 UTC MAIN commitmail json YAML

2018-09-06 14:08:24 UTC MAIN commitmail json YAML

2018-09-06 12:05:23 UTC MAIN commitmail json YAML

When a man page becomes obsolete, its html form does as well.
Remove en.html (that is, mark it obsolete).

(kre)

2018-09-06 11:12:14 UTC pgoyette-compat commitmail json YAML

Resolve conflict, remove marker.  Not sure how this snuck past me.

(pgoyette)

2018-09-06 10:09:29 UTC MAIN commitmail json YAML

2018-09-06 09:54:36 UTC MAIN commitmail json YAML