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 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 05:51:46 UTC Now

2019-11-23 19:42:52 UTC MAIN commitmail json YAML

Minor scheduler cleanup:

- Adapt to cpu_need_resched() changes. Avoid lost & duplicate IPIs and ASTs.
  sched_resched_cpu() and sched_resched_lwp() contain the logic for this.
- Changes for LSIDL to make the locking scheme match the intended design.
- Reduce lock contention and false sharing further.
- Numerous small bugfixes, including some corrections for SCHED_FIFO/RT.
- Use setrunnable() in more places, and merge cut & pasted code.

(ad)

2019-11-23 19:40:38 UTC MAIN commitmail json YAML

2019-11-23 18:57:36 UTC MAIN commitmail json YAML

Set TCON1 parent to PLL_VIDEO1(1X)

(jmcneill)

2019-11-23 18:55:08 UTC MAIN commitmail json YAML

Set pixel clock on mode set

(jmcneill)

2019-11-23 18:54:26 UTC MAIN commitmail json YAML

Need to initialize the PHY before HPD sense and DDC will work

(jmcneill)

2019-11-23 18:53:05 UTC MAIN commitmail json YAML

Use fdtbus_get_reg to read "reg" property

(jmcneill)

2019-11-23 18:52:09 UTC MAIN commitmail json YAML

Honour SUNXI_CCU_FRACTIONAL_SET_ENABLE in fractional mode

(jmcneill)

2019-11-23 18:03:57 UTC MAIN commitmail json YAML

"rv" is only used on some boards and only with options DIAGNOSTIC.
So move the declaration into the proper #ifdef block.

(martin)

2019-11-23 17:32:10 UTC MAIN commitmail json YAML

- Increase the default number of buffers, and scale it by ncpu.
- Stop tracing when the device is closed.

(ad)

2019-11-23 17:13:46 UTC MAIN commitmail json YAML

autofs: Remove unused autofs_node::an_vnode_lock

Unlike FreeBSD and DragonFlyBSD, this is unused in NetBSD.

(tkusumi)

2019-11-23 16:50:39 UTC MAIN commitmail json YAML

Looks like sparc clears want_ast with interrupts enabled, so check+clear it
and call mi_userret() in a loop.

(ad)

2019-11-23 16:36:39 UTC MAIN commitmail json YAML

For this case during build.sh:

        rw_enter(lock, RW_READ);

Having instrumented it, it turns out that >99.5% of the time the lock is
completely unknowned.  Make this assumption in the assembly stub for
rw_enter(), and avoid the initial read of the lock word.  Where there are
existing read holds, we'll do an additional CMPXCHG but should already have
the cache line in the EXCLUSIVE state.

(ad)

2019-11-23 15:17:46 UTC MAIN commitmail json YAML

autofs: Don't calculate dirent reclen twice

Taken-from: DragonFlyBSD

(tkusumi)

2019-11-23 12:30:45 UTC MAIN commitmail json YAML

HDMI PHY and TX share the same clocks. Do not enable clocks until both
reset resources have been deasserted. Explicitly set DDC clock dividers.

(jmcneill)

2019-11-23 12:29:20 UTC MAIN commitmail json YAML

2019-11-23 12:28:44 UTC MAIN commitmail json YAML

Allow bus glue to setup DDC clocks

(jmcneill)

2019-11-23 08:30:39 UTC MAIN commitmail json YAML

autofs: Fix a comment on autofs_args

mount_autofs(8) also uses this.
mount_autofs(8) was added by NetBSD as an optional command (not needed to use autofs).

(tkusumi)

2019-11-23 08:00:59 UTC MAIN commitmail json YAML

autofs: u_int -> unsigned int

(tkusumi)

2019-11-23 07:38:03 UTC MAIN commitmail json YAML

autofs: Drop unused autofs_mount field which originates from FreeBSD

Taken-from: DragonFlyBSD

(tkusumi)

2019-11-23 05:13:11 UTC MAIN commitmail json YAML

don't invalidate sensors every time we fail to read fan speeds

(macallan)

2019-11-23 03:59:39 UTC MAIN commitmail json YAML

Store the flags passed to SUNXI_CCU_FRACTIONAL macro.

Previously the macro dropped the flags argument entirely, and did not
initialize the structure with it.

(jakllsch)

2019-11-22 23:38:15 UTC MAIN commitmail json YAML

Add a comment.

(ad)

2019-11-22 23:36:25 UTC MAIN commitmail json YAML

- On-demand zeroing pages with MOVNTI is crazy.  It empties L1/L2/L3.
- Disable zeroing in the idle loop.  That needs a cache-friendly strategy.

Result: 3 to 4% reduction in kernel build time on my test system.
Inspired by a discussion with Mateusz Guzik and David Maxwell.

(ad)

2019-11-22 23:01:49 UTC MAIN commitmail json YAML

Fix crash(8).  Will revisit.

(ad)

2019-11-22 20:07:53 UTC MAIN commitmail json YAML

sched_tick: examine the correct LWP, and lock it.

(ad)

2019-11-22 20:04:03 UTC MAIN commitmail json YAML

2019-11-22 19:48:58 UTC MAIN commitmail json YAML

2019-11-22 19:46:38 UTC MAIN commitmail json YAML

2019-11-22 15:57:49 UTC MAIN commitmail json YAML

2019-11-22 15:30:39 UTC netbsd-9 commitmail json YAML

2019-11-22 15:28:18 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #463):
sys/arch/xen/xen/xenevt.c: revision 1.54
sys/arch/arm/omap/obio_mputmr.c: revision 1.9
sys/arch/evbarm/beagle/beagle_machdep.c: revision 1.79
Make this files compilable w/o options DIAGNOSTIC

(bouyer)

2019-11-22 15:26:28 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #462):
share/mk/bsd.README: revision 1.397
etc/Makefile.params: revision 1.21
Document NETBSD_OFFICIAL_RELEASE and add it to /etc/release - it is
important information when trying to reproduce a build.

(bouyer)

2019-11-22 14:57:02 UTC MAIN commitmail json YAML

2019-11-22 14:30:58 UTC MAIN commitmail json YAML

2019-11-22 14:28:46 UTC MAIN commitmail json YAML

Ah, strcat/strchr/strrchr are ASM functions, so instrument them.

(maxv)

2019-11-22 13:30:19 UTC MAIN commitmail json YAML

Document NETBSD_OFFICIAL_RELEASE and add it to /etc/release - it is
important information when trying to reproduce a build.

(martin)

2019-11-22 12:40:08 UTC MAIN commitmail json YAML

hvn(4), hvkbd(4): Only need to poll when cold.

(nonaka)

2019-11-22 12:30:32 UTC MAIN commitmail json YAML

vmbus(4), hvn(4), hvkbd(4): Fixed wait time for tsleep(9).

(nonaka)

2019-11-22 10:26:32 UTC MAIN commitmail json YAML

Several improvements. In particular, reduce CS.limit, because Intel CPUs
perform strict sanity checks, and the previous (too high) limit caused the
VM entry to fail.

(maxv)

2019-11-22 08:09:26 UTC MAIN commitmail json YAML

Bump space for ramdisk image

(martin)

2019-11-22 08:05:10 UTC netbsd-9 commitmail json YAML

2019-11-22 08:01:50 UTC netbsd-9 commitmail json YAML

Pull up the following revisions, requested by roy in ticket #461:

external/bsd/dhcpcd/dist/src/arp.c up to 1.1.1.13
external/bsd/dhcpcd/dist/src/arp.h up to 1.1.1.9
external/bsd/dhcpcd/dist/src/control.c up to 1.1.1.9
external/bsd/dhcpcd/dist/src/defs.h up to 1.1.1.33
external/bsd/dhcpcd/dist/src/dhcp.c up to 1.30
external/bsd/dhcpcd/dist/src/dhcp6.c up to 1.14
external/bsd/dhcpcd/dist/src/dhcpcd.c up to 1.29
external/bsd/dhcpcd/dist/src/eloop.c up to 1.1.1.8
external/bsd/dhcpcd/dist/src/eloop.h up to 1.1.1.6
external/bsd/dhcpcd/dist/src/if-bsd.c up to 1.15
external/bsd/dhcpcd/dist/src/if.c up to 1.1.1.18
external/bsd/dhcpcd/dist/src/if.h up to 1.1.1.13
external/bsd/dhcpcd/dist/src/ipv4.c up to 1.1.1.19
external/bsd/dhcpcd/dist/src/ipv6nd.c up to 1.13
external/bsd/dhcpcd/dist/src/ipv6nd.h up to 1.1.1.14
external/bsd/dhcpcd/dist/src/script.c up to 1.1.1.12
doc/3RDPARTY (manually adjusted)

Import dhcpcd-8.1.2 with the following changes:
* hooks: STOPPED is now run on timeout and exit
* BSD: Use IP_REVCIF rather than IN_PKTINFO
* DHCP: When rebinding, ensure we have a DHCP ARP state
* RA: Sort routers when reachability changes
* RA: Apply hoplimit, reachable and retrans timer values to kernel
* RA: Warn if advertised MTU > interface MTU
* dhcpcd: Report SSID connection to when we gain carrier
* DHCP: Fix corruption of address flags when renewing

(martin)

2019-11-22 05:21:19 UTC MAIN commitmail json YAML

2019-11-22 05:16:54 UTC MAIN commitmail json YAML

report fan speeds
disclaimer:
this is guesswork obtained from watching temperatures, listening to fan noise
and staring at register dumps. Use with caution.

(macallan)

2019-11-22 05:01:44 UTC MAIN commitmail json YAML

Fix regression introduced to ptrace_regs() in rev 1.27:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/sys_ptrace_common.c#rev1.27

Size of registers should be determined from tracer, NOT tracee.

Now, 64-bit tracer can manipulate registers of 32-bit tracee again.
gdb for amd64 works for i386 binaries to some extent.

XXX
pullup to netbsd-9 and -8.

(rin)

2019-11-22 01:52:20 UTC MAIN commitmail json YAML

2019-11-22 01:49:20 UTC MAIN commitmail json YAML

add missing files for 32 bit debugging on 64 bit host.

(christos)

2019-11-22 01:48:50 UTC MAIN commitmail json YAML

Support for compat-32 type shared library paths.

(christos)

2019-11-22 00:27:30 UTC MAIN commitmail json YAML

If gpt label "cgd.conf" contains a valid /etc/cgd file system,
try mounting gpt label "cgdroot" as a root filesystem first and
only mount /dev/cgd0a if that gpt label doesn't exist or fails
to mount.

XXX pullup to 8 and 9.

(alnsn)

2019-11-21 23:06:16 UTC MAIN commitmail json YAML

Fix PR/54074 and PR/54093 completely.

More similar to the ld.elf_so logic, it is necessary to align with
p_align first.  Also, invert the #ifdef condition for consistency.

Should fix regression for static linking binaries:
http://releng.netbsd.org/b5reports/sparc/commits-2019.11.html#2019.11.10.23.39.03
http://releng.netbsd.org/b5reports/sparc64/commits-2019.11.html#2019.11.16.04.10.33

(nakayama)

2019-11-21 22:29:03 UTC MAIN commitmail json YAML

2019-11-21 22:05:09 UTC MAIN commitmail json YAML

ga_iot = 0 -> normal_memt
now a Challenge S should work again
from George Harvey

(macallan)

2019-11-21 21:48:34 UTC MAIN commitmail json YAML

x86 TLB shootdown IPI changes:

- Shave some time off processing.
- Reduce cacheline/bus traffic on systems with many CPUs.
- Reduce time spent at IPL_VM.

(ad)

2019-11-21 21:45:35 UTC MAIN commitmail json YAML

apply the strncmp hack only to !clang.  requested by tnn.

(mrg)

2019-11-21 21:42:31 UTC MAIN commitmail json YAML

Minor improvements to select/poll:

- Increase the maximum number of clusters from 32 to 64 for large systems.
  kcpuset_t could potentially be used here but that's an excursion I don't
  want to go on right now.  uint32_t -> uint64_t is very simple.

- In the case of a non-blocking select/poll, or where we won't block
  because there are events ready to report, stop registering interest in
  the back-end objects early.

- Change the wmesg for poll back to "poll".

(ad)

2019-11-21 20:51:05 UTC MAIN commitmail json YAML

- Don't give up kpriority boost in preempt().  That's unfair and bad for
  interactive response.  It should only be dropped on final return to user.
- Clear l_dopreempt with atomics and add some comments around concurrency.
- Hold proc_lock over the lightning bolt and loadavg calc, no reason not to.
- cpu_did_preempt() is useless - don't call it.  Will remove soon.

(ad)

2019-11-21 19:57:24 UTC MAIN commitmail json YAML

2019-11-21 19:47:21 UTC MAIN commitmail json YAML

lwp_setlock(): return pointer to the kmutex_t that we replaced

(ad)

2019-11-21 19:29:58 UTC netbsd-9 commitmail json YAML

Note release doc changes.

(martin)

2019-11-21 19:28:43 UTC netbsd-9 commitmail json YAML

Pull up the following revisions:

distrib/notes/Makefile.inc 1.44
distrib/notes/acorn32/contents 1.5
distrib/notes/alpha/contents 1.19
distrib/notes/amd64/contents 1.8
distrib/notes/amiga/contents 1.23
distrib/notes/amiga/install 1.37
distrib/notes/arc/contents 1.5
distrib/notes/atari/contents 1.23
distrib/notes/atari/xfer 1.18
distrib/notes/bebox/contents 1.5
distrib/notes/cats/contents 1.5
distrib/notes/common/contents 1.179
distrib/notes/common/legal.common 1.99
distrib/notes/common/main 1.552
distrib/notes/common/main 1.553
distrib/notes/common/netboot 1.37
distrib/notes/common/postinstall 1.84
distrib/notes/common/sysinst 1.108
distrib/notes/common/xfer 1.76
distrib/notes/emips/contents 1.5
distrib/notes/emips/install 1.3
distrib/notes/evbarm/contents 1.5
distrib/notes/evbarm/install 1.10
distrib/notes/evbppc/contents 1.6
distrib/notes/ews4800mips/contents 1.5
distrib/notes/hp300/contents 1.20
distrib/notes/hp300/upgrade 1.20
distrib/notes/hpcarm/contents 1.6
distrib/notes/hpcmips/contents 1.13
distrib/notes/hpcsh/contents 1.6
distrib/notes/hppa/contents 1.5
distrib/notes/i386/contents 1.32
distrib/notes/landisk/contents 1.6
distrib/notes/mac68k/contents 1.23
distrib/notes/mac68k/install 1.31
distrib/notes/mac68k/prep 1.18
distrib/notes/mac68k/xfer 1.21
distrib/notes/macppc/contents 1.17
distrib/notes/macppc/install 1.42
distrib/notes/mmeye/contents 1.6
distrib/notes/mvme68k/contents 1.16
distrib/notes/mvme68k/xfer 1.20
distrib/notes/news68k/contents 1.9
distrib/notes/newsmips/contents 1.5
distrib/notes/next68k/contents 1.10
distrib/notes/ofppc/contents 1.6
distrib/notes/pmax/contents 1.20
distrib/notes/pmax/install 1.43
distrib/notes/prep/contents 1.5
distrib/notes/rs6000/contents 1.5
distrib/notes/sandpoint/contents 1.5
distrib/notes/sgimips/contents 1.5
distrib/notes/sgimips/install 1.11
distrib/notes/shark/contents 1.5
distrib/notes/shark/install 1.6
distrib/notes/sparc/contents 1.24
distrib/notes/sparc/install 1.59
distrib/notes/sparc64/contents 1.8
distrib/notes/sun2/contents 1.5
distrib/notes/sun3/contents 1.19
distrib/notes/sun3/upgrade 1.15
distrib/notes/vax/contents 1.14
distrib/notes/vax/xfer 1.15
distrib/notes/x68k/contents 1.20

Add missing .bullet) and replace some versions (more todo later)
Pass the set suffix (either .tgz or .tar.xz) from the makefile.
Document the rescue set.

(martin)

2019-11-21 19:27:54 UTC MAIN commitmail json YAML

2019-11-21 19:24:02 UTC MAIN commitmail json YAML

2019-11-21 19:23:21 UTC MAIN commitmail json YAML

2019-11-21 19:02:43 UTC MAIN commitmail json YAML

alpha_ipi_ast: use ci_data.cpu_onproc, not ci_curlwp.

(ad)

2019-11-21 18:56:55 UTC MAIN commitmail json YAML

Sleep queues & turnstiles:

- Avoid false sharing.
- Make the turnstile hash function more suitable.
- Increase turnstile hash table size.
- Make amends by having only one set of system wide sleep queue hash locks.

(ad)

2019-11-21 18:46:41 UTC MAIN commitmail json YAML

Add missing .bullet) and replace some versions (more todo later)

(martin)

2019-11-21 18:22:28 UTC netbsd-9 commitmail json YAML

Note removal of options DIAGNOSTIC

(martin)

2019-11-21 18:22:05 UTC MAIN commitmail json YAML

lwp_create:
- Don't need to check for PK_SYSTEM when inheriting an affinity mask.
- Inherit processor set ID under proc_lock, to sync with pset syscalls.

(ad)

2019-11-21 18:18:00 UTC netbsd-9 commitmail json YAML

2019-11-21 18:17:36 UTC MAIN commitmail json YAML

- lwp_need_userret(): only do it if ONPROC and !curlwp, and explain why.
- Use signotify() in a couple more places.

(ad)

2019-11-21 17:57:40 UTC MAIN commitmail json YAML

Break the slow path for callout_halt() out into its own routine.
No functional change.

(ad)

2019-11-21 17:54:04 UTC MAIN commitmail json YAML

Simplify pset locking, making it easier to sync with LWP creation, etc.

(ad)

2019-11-21 17:50:49 UTC MAIN commitmail json YAML

calcru: ignore running softints, unless softint_timing is on.
Fixes crazy times reported for proc0.

(ad)

2019-11-21 17:47:53 UTC MAIN commitmail json YAML

Use lwp_changepri().

(ad)

2019-11-21 17:47:23 UTC MAIN commitmail json YAML

If attach fails, don't panic on detach.

(ad)

2019-11-21 16:45:05 UTC MAIN commitmail json YAML

autofs: Change autounmountd(8) to use time_t for duration instead of double

The commit log from FreeBSD.
--
autounmountd(8) uses doubles to handle mount time durations.  However,
it must convert to integer types, time_t in particular, to do anything
meaningful.  Additionally, even though it's a floating-point value in
seconds, the sub-seconds component is never used, so it's unnecessary.

Switching type to time_t fixes an assertion on powerpc64, which checks
that a sleep value that's not -1.0 is greater than 0.  On powerpc64, it
happens that the value of -1.0 gets loaded as a float (perhaps a bug in
gcc), but gets compared to a double.  This compares as false, so follows
through the 'sleep != -1.0' path, and fails the assert.  Since the
sub-second component isn't used in the double, just drop it and deal
with whole-integer seconds.
--

Taken-from: FreeBSD and DragonFlyBSD

(tkusumi)

2019-11-21 15:24:18 UTC MAIN commitmail json YAML

2019-11-21 14:07:52 UTC netbsd-8 commitmail json YAML

2019-11-21 14:06:16 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1454:

sys/dev/mii/atphy.c 1.22-1.23, 1.25 via patch
sys/dev/mii/mii_physubr.c 1.88 via patch
sys/dev/mii/miivar.h 1.69 via patch

- Fix a bug that atphy(4) can't negotiate correctly when the media
  setting is neither auto nor 1000baseT.
- Code cleanup.

(martin)

2019-11-21 14:03:29 UTC netbsd-9 commitmail json YAML

2019-11-21 14:02:33 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #460):

sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.130

Fix netbsd32_process_write_dbregs() for amd64:
- Zero-clear regs64 so that random values are not written into the
  preserved registers.
- Cast 32-bit registers (int) to u_int, in order to avoid undesired
  sign extension when filled into 64-bit registers (long).

XXX
pullup to netbsd-9

(martin)

2019-11-21 14:00:49 UTC netbsd-9 commitmail json YAML

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

sys/dev/mii/atphy.c: revision 1.23
sys/dev/mii/atphy.c: revision 1.25
sys/dev/mii/miivar.h: revision 1.69
sys/dev/mii/mii_physubr.c: revision 1.88

s/etphy/atphy/. No functional change.

Fix a bug that atphy(4) can't negotiate correctly when the media setting is
neither auto nor 1000baseT. Use correct index for mii_media_table[].

History: mii_anar() is first added in OpenBSD and ported to NetBSD. On NetBSD,
only atphy(4) use this function. mii_physubr.c rev. 1.75 changed mii_anar()
for simplify. It changed the argument from the ifmedia word to ifm_data used
in our MII API, but the caller have not been changed. And then, PR kern/50206
was reported and the caller was modified by me to prevent panic but it was not
correct fix.

(martin)

2019-11-21 13:01:51 UTC MAIN commitmail json YAML

2019-11-21 09:48:57 UTC MAIN commitmail json YAML

2019-11-21 09:18:17 UTC MAIN commitmail json YAML

Remove accidentally committed debug code. Sorry.

(msaitoh)

2019-11-21 09:12:30 UTC MAIN commitmail json YAML

Fix a bug that IFF_ALLMULTI is almost always set.

OpenBSD's ac_multirangecnt is not NetBSD's ec_multicnt.

(msaitoh)

2019-11-21 07:56:58 UTC MAIN commitmail json YAML

switch riscv32/64 to GCC 8.

(mrg)

2019-11-21 07:34:39 UTC MAIN commitmail json YAML

from the new comment:

* XXX Hack alert.  GCC 8.3 mis-compiles this function and calls
* strncmp() with the wrong second pointer, as seen in PR#54703.
*
* Until the real cause is located, work around it by using -O1
* for this function.

this hack is restricted to i386.

(mrg)

2019-11-21 06:22:09 UTC MAIN commitmail json YAML

Fix multicast handling. All Atheros controllers use big-endian form
when computing multicast hash. Same as OpenBSD.

(msaitoh)

2019-11-21 03:04:22 UTC MAIN commitmail json YAML

Add missing NetBSD RCS Id. Reported by Andrius V.

(msaitoh)

2019-11-21 02:59:44 UTC MAIN commitmail json YAML

- Set duplex correctly when user setting is not IFM_AUTO.
- When the link is up, set VGE_DIAGCTL not from user media setting but from
  the current active link status.

(msaitoh)

2019-11-20 21:56:19 UTC MAIN commitmail json YAML

Sort options and SEE ALSO. Improve a sentence.

(wiz)

2019-11-20 21:49:00 UTC MAIN commitmail json YAML

- Put back a microoptimisation that was accidentally removed.
- Comments.

(ad)

2019-11-20 19:37:54 UTC MAIN commitmail json YAML

Move all non-emulation-specific coredump code into the coredump module,
and remove all #ifdef COREDUMP conditional compilation.  Now, the
coredump module is completely separated from the emulation modules, and
they can all be independently loaded and unloaded.

Welcome to 9.99.18 !

(pgoyette)

2019-11-20 17:29:51 UTC MAIN commitmail json YAML

mount_autofs: Sync man page with DragonFlyBSD

Taken-from: DragonFlyBSD

(tkusumi)

2019-11-20 17:18:35 UTC MAIN commitmail json YAML

mount_autofs: Remove blank line with trailing whitespace

(tkusumi)

2019-11-20 16:50:51 UTC netbsd-9 commitmail json YAML

2019-11-20 16:49:58 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by tnn in ticket #458):

sys/arch/arm/rockchip/rk3399_cru.c: revision 1.9
sys/arch/arm/rockchip/rk_spi.c: revision 1.1
sys/arch/evbarm/conf/GENERIC64: revision 1.104
sys/arch/arm/rockchip/files.rockchip: revision 1.20

rk3399_cru: add definitions for SPI clocks

rk_spi: Rockchip SPI driver

Match only on RK3399 for now, but should work on RK3328 as well with
the proper CRU support. If you can, please test and enable for RK3328.

rkspi* at fdt?

(martin)

2019-11-20 16:37:46 UTC netbsd-8 commitmail json YAML

2019-11-20 16:36:47 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hikaru in ticket #1453):

sys/arch/x86/pci/msipic.c: revision 1.19

Disable MSI-X before writing the MSI-X table.

That fixes MSI-X interrupt lost on VMware ESXi 6.7 PCI passthrough devices.

ok knakahara@

(martin)

2019-11-20 10:57:08 UTC MAIN commitmail json YAML

Fix netbsd32_process_write_dbregs() for amd64:

- Zero-clear regs64 so that random values are not written into the
  preserved registers.
- Cast 32-bit registers (int) to u_int, in order to avoid undesired
  sign extension when filled into 64-bit registers (long).

XXX
pullup to netbsd-9

(rin)

2019-11-20 10:26:56 UTC MAIN commitmail json YAML

Hide XSAVES-specific stuff and the masked extended states.

(maxv)

2019-11-20 09:37:46 UTC MAIN commitmail json YAML

2019-11-20 08:51:00 UTC MAIN commitmail json YAML

Fix a bug that atphy(4) can't negotiate correctly when the media setting is
neither auto nor 1000baseT. Use correct index for mii_media_table[].

History: mii_anar() is first added in OpenBSD and ported to NetBSD. On NetBSD,
only atphy(4) use this function. mii_physubr.c rev. 1.75 changed mii_anar()
for simplify. It changed the argument from the ifmedia word to ifm_data used
in our MII API, but the caller have not been changed. And then, PR kern/50206
was reported and the caller was modified by me to prevent panic but it was not
correct fix.

(msaitoh)

2019-11-20 08:17:02 UTC MAIN commitmail json YAML

"rss_symmetric_key" iniitalizer is too short. Pointed out by ryo@n.o, thanks.

It is not used yet.

(knakahara)

2019-11-20 06:23:31 UTC MAIN commitmail json YAML

Restrict -Wl,-z,defs to x86 and aarch64 for now to avoid global build
lossage. Suggested by mrg.

(martin)

2019-11-19 20:07:30 UTC MAIN commitmail json YAML

sun4v: added support for handling of opcode SCSI_MAINTENANCE_IN when using ldom based virtual disk

(palle)

2019-11-19 19:17:48 UTC phil-wifi commitmail json YAML

2019-11-19 19:17:16 UTC phil-wifi commitmail json YAML

2019-11-19 13:38:30 UTC netbsd-9 commitmail json YAML

2019-11-19 13:36:25 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #457):

sys/compat/sys/siginfo.h: revision 1.9
sys/compat/netbsd32/netbsd32.h: revision 1.131

8-byte objects on i386 or arm-oabi are aligned in 4-byte boundary.

Therefore, we must use __attribute__((__aligned__(4))) for them.
netbsd32_{,u}int64 are provided for this purpose. However, we
cannot use it in <compat/sys/siginfo.h> due to circular dependency
b/w <machine/netbsd32_machdep.h>.

In order to distangle it, we choose here to have a duplicate type,
netbsd32_siginfo_uint64, in <compat/sys/siginfo.h>. The equivalence
with netbsd32_uint64 is asserted in <compat/netbsd32/netbsd32.h>.

Now, gdb for i386 works again on amd64 kernel.

Based on patch provided by kamil. Thanks!

XXX
pullup to netbsd-9

(martin)

2019-11-19 13:33:21 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #456):

sys/compat/netbsd32/netbsd32_signal.c: revision 1.46
sys/compat/netbsd32/netbsd32_signal.c: revision 1.47
sys/compat/netbsd32/netbsd32_signal.c: revision 1.48
sys/compat/netbsd32/netbsd32_signal.c: revision 1.49
sys/compat/netbsd32/netbsd32_signal.c: revision 1.50

Belatedly catch up with kern_sig.c rev 1.358:
Provide syscall information with SIGTRAP TRAP_SCE/TRAP_SCX so that
picotrace/truss, for example, works fine on COMPAT_NETBSD32.
With some minor changes:
- Centralize netbsd32_si{,32}_si{32,}() into netbsd32_ksi{,32}_ksi{32,}().
- Provide si_status with SIGCHLD.
- Remove the remaining of SA.

Sort by signal numbers as far as possible, adjust locations of functions.
No functional changes intended.

XXX
pullup to netbsd-9

Provide _ptrace_state for SIGTRAP with TRAP_EXEC, TRAP_CHLD, or TRAP_LWP.
Pointed out by kamil. Thanks!

XXX
pullup to netbsd-9

When converting siginfo, examine si_code at the beginning,
as explained in siginfo(2).
- If it is SI_NOINFO, there's no additional information.
- If it is non-positive, i.e., codes described in siginfo(2),
  we need to fill in _rt.

XXX
Description for SA_ASYNCIO in siginfo(2) seems outdated;
neither si_fd nor si_band are filled in with that code.

XXX
pullup to netbsd-9

TRAP_EXEC does not have extra fields to be filled in at the moment.
Explicitly ignore fields for now.
Pointed out by kamil. Thanks!

XXX
pullup to netbsd-9

(martin)

2019-11-19 13:22:01 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #455):

sys/kern/sys_ptrace_common.c: revision 1.72

Fix pointer arithmetic for 32-bit process on LP64 kernel in
process_auxv_offset().

Now, PIOD_READ_AUXV works fine with COMPAT_NETBSD32.

XXX
pullup to netbsd-9 and netbsd-8

(martin)

2019-11-19 13:20:08 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #454):

share/man/man7/ascii.7: revision 1.14
share/man/man7/ascii.7: revision 1.15

Document standards and correct history.
via Free / OpenBSD.

Sync with FreeBSD which capitalizes the control character names, and adds
a binary set.

Add a table with the full names for the control character set.

(martin)

2019-11-19 13:17:44 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/ixgbe/ixgbe.c: revision 1.216
sys/dev/pci/ixgbe/ixv.c: revision 1.141

Print MAC address.

XXX Should we move such type of printf() to ether_ifattach?

(martin)

2019-11-19 13:15:57 UTC netbsd-9 commitmail json YAML

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

usr.sbin/cpuctl/arch/i386.c: revision 1.108
sys/arch/x86/include/specialreg.h: revision 1.158

Add the following bit definitions from the latest Intel SDM:
- CET shadow stack
- Fast Short REP MOV
- Hybrid part
- CET Indirect Branch Tracking
0x7d and 0x7e are for 10th generation Core (Ice Lake).

(martin)

2019-11-19 13:10:51 UTC netbsd-9 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #451:

sys/dev/pci/if_re_pci.c 1.50 (patch)
share/man/man4/re.4 1.17-1.18 (patch)

Add D-Link DGE-530T Rev. C,D and TP-Link TG-3468 v2,v3.
Add note about UDP checksum offload feature to the document.

(martin)

2019-11-19 13:07:37 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/if_msk.c: revision 1.94
sys/dev/pci/if_skreg.h: revision 1.27

Make Yukon EX, FE+, SUPR stable. The code is mainly taken from FreeBSD.

At least, this change made my own Yukon EX machine (HP ProBook 4501s) much
stable than before.

(martin)

2019-11-19 13:04:44 UTC netbsd-9 commitmail json YAML

2019-11-19 13:03:32 UTC netbsd-9 commitmail json YAML

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

sys/dev/pci/pcidevs: revision 1.1388
sys/dev/pci/pcidevs: revision 1.1389
sys/dev/pci/pcidevs: revision 1.1390
sys/dev/pci/pcidevs: revision 1.1391

Spell controller correctly
Add Realtek RTL8125.
- Update Intel's NVMe SSDs.
  - Modify 0x0953's description to "750 or DC P3[567]00 SSD"
  - Add DC P4[56]00
- Add Apollo Lake TXE HECI.
Add D-Link DGE-530T C1 and TP-Link TG-3468 v2.

(martin)

2019-11-19 12:58:30 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #448):

sys/dev/audio/audio.c: revision 1.33

Fix a wrong calculation of recording ring buffer.  Reported on
http://mail-index.netbsd.org/current-users/2019/11/04/msg036976.html

(martin)

2019-11-19 12:56:48 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #447):

sys/dev/usb/uaudio.c: revision 1.162

Use kmem_zalloc() instead of kmem_alloc() to initialize structure.
struct audio_format added a member since isaki-audio2.

Fix PR kern/54662 "uaudio sometimes not recognized".

(martin)

2019-11-19 11:01:27 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #446):
lib/libossaudio/ossaudio.c: revision 1.37
lib/libossaudio/ossaudio.c: revision 1.38
sys/compat/ossaudio/ossaudio.c: revision 1.77
sys/compat/ossaudio/ossaudio.c: revision 1.78
Use record.sample_rate for recording on SNDCTL_DSP_SPEED.
Fix PR lib/54667.
Use record.sample_rate for recording on SNDCTL_DSP_SPEED.
It's kernel side of PR lib/54667.
Use record field for recording even on
SNDCTL_DSP_STEREO, SNDCTL_DSP_SETFMT, and SNDCTL_DSP_CHANNELS.

(martin)

2019-11-19 10:58:30 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #445):

share/examples/npf/host-npf.conf: revision 1.11

With bin/54124 fixed, the rule needs to be explicitly set to stateful.

(martin)

2019-11-19 10:56:35 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by sevan in ticket #444):

share/examples/npf/soho_gw-npf.conf: revision 1.13
share/examples/npf/soho_gw-npf.conf: revision 1.14
share/examples/npf/soho_gw-npf.conf: revision 1.15
share/examples/npf/soho_gw-npf.conf: revision 1.16
share/examples/npf/soho_gw-npf.conf: revision 1.17
share/examples/npf/soho_gw-npf.conf: revision 1.18
share/examples/npf/soho_gw-npf.conf: revision 1.19
share/examples/npf/soho_gw-npf.conf: revision 1.20

Drop the final keyword to use the default policy of last matching rule wins
default policy is to blockall

Add descriptions for all rules and make use of localnet variable in
place of direct IP address
improve description

pastos

Passive FTP works as a client without this and we're not hosting an FTP
server (port are not listed in services_tcp)

Add support for blacklistd

Rename the block table to something else to make it easier to differentiate
between action and name. Use this table as the example for populating by
npfctl.

Drop the int-block table, it's quite cumbersome to have a firewall which
needs the internal network lists added if reboot. Use the localnet
variable to indicated which network we should pass in traffic from instead.

(martin)

2019-11-19 10:51:52 UTC netbsd-8 commitmail json YAML

2019-11-19 10:50:26 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1452):

sys/kern/sys_ptrace_common.c: revision 1.72

Fix pointer arithmetic for 32-bit process on LP64 kernel in
process_auxv_offset().

Now, PIOD_READ_AUXV works fine with COMPAT_NETBSD32.

XXX
pullup to netbsd-9 and netbsd-8

(martin)

2019-11-19 10:48:15 UTC netbsd-8 commitmail json YAML

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

sys/dev/pci/ixgbe/ixgbe.c: revision 1.216
sys/dev/pci/ixgbe/ixv.c: revision 1.141

Print MAC address.

XXX Should we move such type of printf() to ether_ifattach?

(martin)

2019-11-19 10:45:11 UTC netbsd-8 commitmail json YAML

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

usr.sbin/cpuctl/arch/i386.c: revision 1.108
sys/arch/x86/include/specialreg.h: revision 1.158

Add the following bit definitions from the latest Intel SDM:
- CET shadow stack
- Fast Short REP MOV
- Hybrid part
- CET Indirect Branch Tracking

0x7d and 0x7e are for 10th generation Core (Ice Lake).

(martin)

2019-11-19 10:40:40 UTC netbsd-8 commitmail json YAML

2019-11-19 10:36:48 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1448:

sys/dev/pci/pcidevs 1.1384-1.1391

- Add micron/crucial SM2263 NVMe.
- Add some device found on ASUS X570-P with Ryzen 3200G CPU.
- Spell it "PCIe' when using the name.
- Add Mellanox ConnectX-4, ConnectX-4 Lx, ConnectX-5, and ConnectX-5 Ex
- Modify Attansic Ethernet devices' description to clarify.
- Add Killer E2400 and E2500.
- Spell "controller" correctly.
- Add Realtek RTL8125.
- Update Intel's NVMe SSDs.
- Add Intel Apollo Lake TXE HECI.
- Add D-Link DGE-530T C1 and TP-Link TG-3468 v2.

(martin)

2019-11-19 10:21:34 UTC netbsd-8 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1449:

sys/dev/pci/if_re_pci.c 1.50
share/man/man4/re.4 1.17-1.18

Add D-Link DGE-530T Rev. C,D and TP-Link TG-3468 v2,v3.
Add note about UDP checksum offload feature to the document.

(martin)

2019-11-19 09:54:07 UTC MAIN commitmail json YAML

Fixes a bug that "ifmedia vge0 media 1000baseT-FDX" causes device timeout.

If the interface's media is NOT in the "best" mode (i.e. other than IFM_AUTO),
control VGE_DIAGCTL_GMII bit.

(msaitoh)

2019-11-19 08:59:18 UTC MAIN commitmail json YAML

Looks like this requires pthread.

(martin)

2019-11-19 06:21:24 UTC netbsd-9 commitmail json YAML

2019-11-19 06:19:04 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #443):
usr.sbin/sysinst/arch/i386/md.c: revision 1.25
usr.sbin/sysinst/arch/i386/md.c: revision 1.26
Fix previous: the install medium may not have /usr/mdec/prekern; it was
meant to copy the one from the just installed system.
Fix previous: not a good idea to try to copy files from the not yet
extracted sets.

(msaitoh)

2019-11-19 05:11:33 UTC MAIN commitmail json YAML

Sync with FreeBSD which capitalizes the control character names, and adds
a binary set.
Add a table with the full names for the control character set.

(christos)

2019-11-18 22:27:27 UTC MAIN commitmail json YAML

Rename the block table to something else to make it easier to differentiate
between action and name. Use this table as the example for populating by npfctl.

Drop the int-block table, it's quite cumbersome to have a firewall which
needs the internal network lists added if reboot. Use the localnet variable to
indicated which network we should pass in traffic from instead.

(sevan)

2019-11-18 22:26:15 UTC MAIN commitmail json YAML

2019-11-18 20:02:10 UTC MAIN commitmail json YAML

don't build stub if legacy drm is present too.

(christos)

2019-11-18 19:54:24 UTC MAIN commitmail json YAML

Use a big hammer and disabling strict aliasing for the tools build or
when using GCC.

(joerg)

2019-11-18 19:48:41 UTC netbsd-9 commitmail json YAML

2019-11-18 19:46:33 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #441):

sys/dev/hyperv/if_hvn.c: revision 1.7
sys/dev/pci/if_mcx.c: revision 1.6

Fixed incorrect m_defrag return value check.

(martin)

2019-11-18 19:45:00 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #440):

share/man/man7/sysctl.7: revision 1.142

Document usage of KERN_ARND

(martin)

2019-11-18 19:36:03 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #439):

sys/arch/evbarm/conf/GENERIC64: revision 1.115
sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.15

Add SPI clocks
Add sun6ispi

(martin)

2019-11-18 19:33:10 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #438):

sys/dev/fdt/spdif_tx.c: revision 1.1
sys/arch/evbarm/conf/GENERIC64: revision 1.114
sys/dev/fdt/files.fdt: revision 1.48

Add driver for dummy spdif transmitter bindings.
Add spdiftx

(martin)

2019-11-18 19:31:00 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #437):

sys/arch/arm/dts/sun50i-a64-sopine-baseboard.dts: revision 1.2
sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.6
sys/arch/arm/dts/sun50i-a64.dtsi: revision 1.13
sys/arch/arm/dts/sun50i-a64-pine64.dts: revision 1.2
sys/arch/arm/sunxi/sunxi_dwhdmi.c: revision 1.4
sys/arch/arm/dts/sun50i-a64-pine64-plus.dts: revision 1.3
sys/arch/arm/sunxi/sunxi_i2s.c: revision 1.7
sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.14

Add support for A64 I2S clocks.
Add A64 HDMI audio support.
Enable HDMI audio support on Pine64, Pine64+, and Pine64 LTS boards.

(martin)

2019-11-18 19:29:27 UTC netbsd-8 commitmail json YAML

2019-11-18 19:27:56 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1447):

sys/dev/hyperv/if_hvn.c: revision 1.7

Fixed incorrect m_defrag return value check.

(martin)

2019-11-18 16:23:28 UTC MAIN commitmail json YAML

Compare libraries that the bsd.prog.mk "knows about" vs the ones we actually
install... Yes, pretty bad right now.

(christos)

2019-11-18 16:09:21 UTC MAIN commitmail json YAML

Improve the script to check for installed libraries, and fix the wrong
names and obsolete libraries it found.

(christos)

2019-11-18 16:05:55 UTC MAIN commitmail json YAML

Fix previous: not a good idea to try to copy files from the not yet
extracted sets.

(martin)

2019-11-18 15:42:26 UTC MAIN commitmail json YAML

catch-up with more ports switched to gcc-8
fix typos, consistent whitespace

(christos)

2019-11-18 15:38:07 UTC MAIN commitmail json YAML

2019-11-18 15:09:59 UTC MAIN commitmail json YAML

Remove extra 10ms delay in ihphy_reset(). The delay are in if_wm.c side.
It's required for hardware full reset and it't not requred on soft reset.
When ihphy.c was added in 9 years ago, some workaround code were not in
if_wm.c yet and the initialization code was not good.

(msaitoh)

2019-11-18 14:53:34 UTC MAIN commitmail json YAML

2019-11-18 12:06:26 UTC MAIN commitmail json YAML

8-byte objects on i386 or arm-oabi are aligned in 4-byte boundary.
Therefore, we must use __attribute__((__aligned__(4))) for them.
netbsd32_{,u}int64 are provided for this purpose. However, we
cannot use it in <compat/sys/siginfo.h> due to circular dependency
b/w <machine/netbsd32_machdep.h>.

In order to distangle it, we choose here to have a duplicate type,
netbsd32_siginfo_uint64, in <compat/sys/siginfo.h>. The equivalence
with netbsd32_uint64 is asserted in <compat/netbsd32/netbsd32.h>.

Now, gdb for i386 works again on amd64 kernel.

Based on patch provided by kamil. Thanks!

XXX
pullup to netbsd-9

(rin)

2019-11-18 11:01:41 UTC MAIN commitmail json YAML

TRAP_EXEC does not have extra fields to be filled in at the moment.
Explicitly ignore fields for now.

Pointed out by kamil. Thanks!

XXX
pullup to netbsd-9

(rin)

2019-11-18 10:25:48 UTC MAIN commitmail json YAML

When converting siginfo, examine si_code at the beginning,
as explained in siginfo(2).

- If it is SI_NOINFO, there's no additional information.
- If it is non-positive, i.e., codes described in siginfo(2),
  we need to fill in _rt.

XXX
Description for SA_ASYNCIO in siginfo(2) seems outdated;
neither si_fd nor si_band are filled in with that code.

XXX
pullup to netbsd-9

(rin)

2019-11-18 10:14:52 UTC MAIN commitmail json YAML

Provide _ptrace_state for SIGTRAP with TRAP_EXEC, TRAP_CHLD, or TRAP_LWP.

Pointed out by kamil. Thanks!

XXX
pullup to netbsd-9

(rin)

2019-11-18 08:16:32 UTC MAIN commitmail json YAML

Fix previous: the install medium may not have /usr/mdec/prekern; it was
meant to copy the one from the just installed system.

(martin)

2019-11-18 05:01:36 UTC MAIN commitmail json YAML

re.4: msaitoh@ added the NCube vendor ID that identifies the TP-Link
TG-3468 v2 as well.

(gutteridge)

2019-11-18 04:58:42 UTC MAIN commitmail json YAML

Sort by signal numbers as far as possible, adjust locations of functions.
No functional changes intended.

XXX
pullup to netbsd-9

(rin)

2019-11-18 04:40:05 UTC MAIN commitmail json YAML

Fixed incorrect m_defrag return value check.

(nonaka)

2019-11-18 04:38:48 UTC MAIN commitmail json YAML

Fixed incorrect m_defrag return value check.

(nonaka)

2019-11-18 04:17:08 UTC MAIN commitmail json YAML

2019-11-18 04:09:53 UTC MAIN commitmail json YAML

Belatedly catch up with kern_sig.c rev 1.358:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/kern_sig.c#rev1.358

Provide syscall information with SIGTRAP TRAP_SCE/TRAP_SCX so that
picotrace/truss, for example, works fine on COMPAT_NETBSD32.

With some minor changes:

- Centralize netbsd32_si{,32}_si{32,}() into netbsd32_ksi{,32}_ksi{32,}().
- Provide si_status with SIGCHLD.
- Remove the remaining of SA.

XXX
pullup to netbsd-9

(rin)

2019-11-18 03:17:51 UTC MAIN commitmail json YAML

Print MAC address.

XXX Should we move such type of printf() to ether_ifattach?

(msaitoh)

2019-11-18 01:14:03 UTC MAIN commitmail json YAML

2019-11-18 01:13:39 UTC MAIN commitmail json YAML

few gcc 8 clean ups:
- port lsan_allocator.h to riscv and ia64.
- remove configure output garbage from ia64/defs.mk
- update README.gcc8 to reality:
  - arms mostly work, but not quite
  - most ports now build
  - some ports have switched

(mrg)

2019-11-18 01:11:14 UTC MAIN commitmail json YAML

build GENERIC64 only on ofppc64 (doesn't build, but a least fails
somewhat sanely, instead of trying to build the wrong things.)

(mrg)

2019-11-17 22:53:33 UTC MAIN commitmail json YAML

Explicitly compile libunwind with vfp3 because gcc-8 defaults to neon
and breaks exceptions.

(christos)

2019-11-17 19:51:35 UTC MAIN commitmail json YAML

2019-11-17 19:51:12 UTC MAIN commitmail json YAML

2019-11-17 19:30:59 UTC MAIN commitmail json YAML

2019-11-17 19:30:43 UTC MAIN commitmail json YAML

Add driver for dummy spdif transmitter bindings.

(jmcneill)

2019-11-17 17:35:10 UTC MAIN commitmail json YAML

2019-11-17 17:33:34 UTC MAIN commitmail json YAML

2019-11-17 17:33:17 UTC MAIN commitmail json YAML

2019-11-17 16:52:29 UTC MAIN commitmail json YAML

Mention ski works on amd64 and probably other archs

(scole)

2019-11-17 15:32:00 UTC MAIN commitmail json YAML

0x7d and 0x7e are for 10th generation Core (Ice Lake).

(msaitoh)

2019-11-17 15:31:05 UTC MAIN commitmail json YAML

Add the following bit definitions from the latest Intel SDM:
- CET shadow stack
- Fast Short REP MOV
- Hybrid part
- CET Indirect Branch Tracking

(msaitoh)

2019-11-17 14:07:00 UTC MAIN commitmail json YAML

Disable KCOV - by raising the interrupt level - in the TLB IPI handler,
because this is only noise.

(maxv)

2019-11-17 13:50:13 UTC netbsd-9 commitmail json YAML

2019-11-17 13:45:26 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #436):
usr.sbin/sysinst/disks.c: revision 1.55
usr.sbin/sysinst/msg.mi.en: revision 1.24
usr.sbin/sysinst/mbr.c: revision 1.22
usr.sbin/sysinst/disks.c: revision 1.56
usr.sbin/sysinst/msg.mi.en: revision 1.25
usr.sbin/sysinst/disks.c: revision 1.57
usr.sbin/sysinst/arch/playstation2/msg.md.pl: revision 1.3
usr.sbin/sysinst/Makefile.inc: revision 1.30
usr.sbin/sysinst/configmenu.c: revision 1.11
usr.sbin/sysinst/util.c: revision 1.35
usr.sbin/sysinst/gpt.c: revision 1.12
usr.sbin/sysinst/util.c: revision 1.36
usr.sbin/sysinst/arch/playstation2/msg.md.de: revision 1.3
usr.sbin/sysinst/arch/i386/menus.md: revision 1.3
usr.sbin/sysinst/util.c: revision 1.37
usr.sbin/sysinst/part_edit.c: revision 1.11
usr.sbin/sysinst/arch/i386/msg.md.en: revision 1.2
usr.sbin/sysinst/util.c: revision 1.38
usr.sbin/sysinst/part_edit.c: revision 1.12
usr.sbin/sysinst/arch/i386/msg.md.en: revision 1.3
usr.sbin/sysinst/util.c: revision 1.39
usr.sbin/sysinst/part_edit.c: revision 1.13
usr.sbin/sysinst/arch/i386/msg.md.en: revision 1.4
usr.sbin/sysinst/disklabel.c: revision 1.15
usr.sbin/sysinst/bsddisklabel.c: revision 1.30
usr.sbin/sysinst/arch/i386/msg.md.es: revision 1.2
usr.sbin/sysinst/bsddisklabel.c: revision 1.31
usr.sbin/sysinst/arch/i386/msg.md.es: revision 1.3
usr.sbin/sysinst/arch/i386/msg.md.es: revision 1.4
usr.sbin/sysinst/mbr.h: revision 1.4
usr.sbin/sysinst/main.c: revision 1.18
usr.sbin/sysinst/partman.c: revision 1.44
usr.sbin/sysinst/msg.mi.de: revision 1.17
usr.sbin/sysinst/arch/i386/msg.md.fr: revision 1.2
usr.sbin/sysinst/msg.mi.de: revision 1.18
usr.sbin/sysinst/arch/i386/msg.md.fr: revision 1.3
usr.sbin/sysinst/arch/playstation2/msg.md.en: revision 1.3
usr.sbin/sysinst/arch/i386/msg.md.fr: revision 1.4
usr.sbin/sysinst/arch/amd64/md.c: revision 1.2
usr.sbin/sysinst/arch/ews4800mips/Makefile: revision 1.3
usr.sbin/sysinst/arch/playstation2/msg.md.es: revision 1.3
usr.sbin/sysinst/label.c: revision 1.13
usr.sbin/sysinst/Makefile.inc: revision 1.29
usr.sbin/sysinst/label.c: revision 1.14
usr.sbin/sysinst/util.c: revision 1.40
usr.sbin/sysinst/partitions.c: revision 1.5
usr.sbin/sysinst/arch/amd64/md.h: revision 1.8
usr.sbin/sysinst/msg.mi.es: revision 1.18
usr.sbin/sysinst/net.c: revision 1.34
usr.sbin/sysinst/msg.mi.es: revision 1.19
usr.sbin/sysinst/arch/i386/msg.md.pl: revision 1.2
usr.sbin/sysinst/arch/i386/md.c: revision 1.22
usr.sbin/sysinst/msg.mi.fr: revision 1.22
usr.sbin/sysinst/arch/playstation2/msg.md.fr: revision 1.3
usr.sbin/sysinst/arch/i386/msg.md.pl: revision 1.3
usr.sbin/sysinst/arch/i386/md.c: revision 1.23
usr.sbin/sysinst/msg.mi.pl: revision 1.25
usr.sbin/sysinst/msg.mi.fr: revision 1.23
usr.sbin/sysinst/arch/i386/msg.md.pl: revision 1.4
usr.sbin/sysinst/arch/i386/md.c: revision 1.24
usr.sbin/sysinst/partitions.h: revision 1.8
usr.sbin/sysinst/msg.mi.pl: revision 1.26
usr.sbin/sysinst/arch/i386/msg.md.de: revision 1.2
usr.sbin/sysinst/arch/i386/msg.md.de: revision 1.3
usr.sbin/sysinst/arch/i386/msg.md.de: revision 1.4
usr.sbin/sysinst/run.c: revision 1.13
usr.sbin/sysinst/defs.h: revision 1.46
usr.sbin/sysinst/install.c: revision 1.12
usr.sbin/sysinst/defs.h: revision 1.47
usr.sbin/sysinst/install.c: revision 1.13
usr.sbin/sysinst/defs.h: revision 1.48
Add options to the various partitioning stages that allow cloning of
alien partitions (optionally including data).
PR 54467: we trust our own sets, extract them with -P to allow symlink
redirection (especially for updates and chroot services - back out
once a better solution for those is implemented)
Make cloning support optional, so we can save some space on very small
install media.
Drop MBR and cloning support on crunched install media.
Make tar extraction flags depend on our usage of pax-as-tar or bsdtar.
Fix missing newlines in bios match display, pointed out by maxv.
Drop unused variable.
Fix table of bios geomatries
knf style adjustments
Make the bootblock selection menu more sane, pointed out by maxv
Make sure all menus have a translatable exit option (or none at all).
On amd64 support installation with a KASLR kernel, via "custom install"
and selecting the GENERIC_KASLR kernel set.
Setup /prekern and boot.cfg accordingly.

(msaitoh)

2019-11-17 13:36:18 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #433):
usr.bin/msgc/msg_sys.def: revision 1.48
msg_table_add(): fix mishap in the format safety changes in r1.45

(msaitoh)

2019-11-17 12:32:31 UTC MAIN commitmail json YAML

Update comment to reflect third-party software's usage of KERN_ARND.

Changing it as the comment suggests would be a very terrible idea due to
the common usage of this variable.

Returning only 32 or 64 bits also seems to be the purpose of KERN_URND,
so that functionality is already present.

(nia)

2019-11-17 11:46:39 UTC MAIN commitmail json YAML

file system police. New sentence, new line.

(wiz)

2019-11-17 11:28:48 UTC MAIN commitmail json YAML

Not a bug strictly speaking, but compute the address only after the length
checks, for clarity and to appease kUBSan.

(maxv)

2019-11-17 08:21:25 UTC MAIN commitmail json YAML

Don't allow zero sized segments that will panic the stack.
Reported-by: syzbot+5542516fa4afe7a101e6@syzkaller.appspotmail.com

(mlelstv)

2019-11-17 08:04:06 UTC netbsd-9 commitmail json YAML

2019-11-17 07:13:09 UTC netbsd-9 commitmail json YAML

2019-11-17 07:04:38 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by maya in ticket #435):

distrib/sets/maketars: revision 1.90
usr.sbin/sysinst/arch/playstation2/md.h: revision 1.2
usr.sbin/sysinst/arch/sandpoint/md.h: revision 1.3
usr.sbin/sysinst/arch/evbppc/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcarm/md.h: revision 1.3
usr.sbin/sysinst/arch/mvme68k/md.h: revision 1.3
distrib/sun3/MakeInstTape: revision 1.3
usr.sbin/sysinst/util.c: revision 1.33
distrib/sets/lists/rescue/mi: revision 1.1
distrib/sets/lists/base/rescue.sun2: file removal
usr.sbin/sysinst/arch/zaurus/md.h: revision 1.3
distrib/sets/lists/base/rescue.ad.m68k.shl: file removal
distrib/sets/regpkgset: revision 1.13
usr.sbin/sysinst/arch/i386/md.h: revision 1.7
distrib/sets/lists/base/rescue.sparc: file removal
distrib/notes/mvme68k/xfer: revision 1.19
distrib/sets/sets.subr: revision 1.187
distrib/common/bootimage/Makefile.bootimage: revision 1.22
usr.sbin/sysinst/msg.mi.de: revision 1.16
usr.sbin/sysinst/arch/atari/md.h: revision 1.3
rescue/Makefile: revision 1.38
distrib/sets/lists/base/rescue.macppc: file removal
usr.sbin/sysinst/arch/arc/md.h: revision 1.4
distrib/miniroot/install.sub: revision 1.49
usr.sbin/sysinst/arch/acorn32/md.h: revision 1.3
usr.sbin/sysinst/arch/x68k/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcmips/md.h: revision 1.3
usr.sbin/sysinst/arch/bebox/md.h: revision 1.3
usr.sbin/sysinst/arch/hpcsh/md.h: revision 1.2
distrib/sets/lists/base/rescue.shark: file removal
usr.sbin/sysinst/arch/emips/md.h: revision 1.5
distrib/utils/embedded/mkimage: revision 1.70
usr.sbin/sysinst/arch/shark/md.h: revision 1.3
usr.sbin/sysinst/arch/pmax/md.h: revision 1.4
usr.sbin/sysinst/arch/amiga/md.h: revision 1.4
usr.sbin/sysinst/arch/hp300/md.h: revision 1.5
rescue/list.ldconfig: file removal
distrib/sets/lists/base/rescue.ad.m68k: file removal
usr.sbin/sysinst/arch/prep/md.h: revision 1.4
usr.sbin/sysinst/arch/cats/md.h: revision 1.4
usr.sbin/sysinst/arch/amd64/md.h: revision 1.7
usr.sbin/sysinst/msg.mi.es: revision 1.17
usr.sbin/sysinst/msg.mi.fr: revision 1.20
usr.sbin/sysinst/msg.mi.pl: revision 1.23
distrib/sets/lists/base/rescue.i386: file removal
usr.sbin/sysinst/arch/evbarm/md.h: revision 1.3
distrib/sets/lists/base/rescue.vax: file removal
distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.12
usr.sbin/sysinst/arch/evbmips/md.h: revision 1.3
distrib/sets/lists/base/rescue.mi: file removal
distrib/sets/README: revision 1.14
usr.sbin/sysinst/arch/sgimips/md.h: revision 1.4
distrib/sets/lists/base/rescue.sparc64: file removal
distrib/sets/lists/base/rescue.mi: revision 1.45
distrib/sets/lists/base/rescue.mi: revision 1.46
usr.sbin/sysinst/arch/ofppc/md.h: revision 1.4
usr.sbin/sysinst/arch/cobalt/md.h: revision 1.4
distrib/sets/lists/base/rescue.ad.arm: file removal
distrib/sets/lists/base/rescue.mac68k: file removal
usr.sbin/sysinst/defs.h: revision 1.45
usr.sbin/sysinst/arch/landisk/md.h: revision 1.2
distrib/notes/atari/xfer: revision 1.17
etc/Makefile: revision 1.441
usr.sbin/sysinst/msg.mi.en: revision 1.22
distrib/sun2/MakeInstTape: revision 1.2

Remove ldconfig from /rescue, and mark it MI obsolete.
- ldconfig in netbsd refers to a.out binaries only. We've been ELF-only
  since NetBSD 2.0 or so, and having it in /rescue served little purpose
  even before that, as /rescue is standalone.
- Using MI obsolete to avoid the need for MD set lists where ldconfig
  is the sole entry

Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD
rescue set list files.

Split out /rescue to its own set and adapt installers/images to add it.

This is meant to make updates safer: if something goes wrong with updating
base, we still have the old, standalone /rescue to recover from.

(martin)

2019-11-17 02:59:25 UTC MAIN commitmail json YAML

switch powerpc64 to GCC 8.

(mrg)

2019-11-17 02:52:18 UTC MAIN commitmail json YAML

switch ia64 to GCC 8.  boots just as far as GCC 7 in ski.

(mrg)

2019-11-17 02:22:14 UTC MAIN commitmail json YAML

Fix pointer arithmetic for 32-bit process on LP64 kernel in
process_auxv_offset().

Now, PIOD_READ_AUXV works fine with COMPAT_NETBSD32.

XXX
pullup to netbsd-9 and netbsd-8

(rin)

2019-11-16 22:51:51 UTC MAIN commitmail json YAML

do the ignore -Wshadow dance for builtins and GCC 8, copied from ppc version.

(mrg)

2019-11-16 22:09:56 UTC MAIN commitmail json YAML

Document new functions vn_bdev_open and vn_bdev_openpath.

(mlelstv)

2019-11-16 22:06:50 UTC MAIN commitmail json YAML

Don't wait in interrupt context.

(mlelstv)

2019-11-16 21:53:38 UTC MAIN commitmail json YAML

be more verbose about errors.

(mlelstv)