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

2024-06-03 07:04:44 UTC Now

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

Ho ho ho!  We can suppress that warning with __diagused!  Merry Christmas!

(thorpej)

2018-12-25 03:54:44 UTC MAIN commitmail json YAML

2018-12-25 03:38:59 UTC MAIN commitmail json YAML

Remove reference to Installing and Operating 4.3BSD paper, at present it's not
possible to find a paper titled as such with sections starting with
"Interpreting system activity".
There is a "Monitoring System Performance" section present from the 4.1BSD
Installing and Operating paper up to and including the 4.4BSD paper. The advice
in this section has not aged very well.
From "Installing and Operating 4.3BSD-tahoe UNIX on the VAX":
"Cumulatively on one of our large machines we average about 60-100
context switches and interrupts per second and about 70-120 system calls
per second"

(sevan)

2018-12-25 03:28:29 UTC MAIN commitmail json YAML

reduce debug messages when $DEBUG is not true.

(knakahara)

2018-12-25 02:17:07 UTC MAIN commitmail json YAML

Fix !DIAGNOSTIC builds.

(kre)

2018-12-25 00:35:26 UTC MAIN commitmail json YAML

back to binutils 227: constructors in ifconfig are broken.

(christos)

2018-12-24 22:47:19 UTC MAIN commitmail json YAML

quotactl is always included, regardless of options QUOTA.

(mrg)

2018-12-24 22:05:45 UTC MAIN commitmail json YAML

Towards bifurcating XEN and native interrupt related functions,
this is a preliminary cleanup sweep.

Move functions related to MP bus probe and scanning to x86/mp.c

Move generic platform pic search function to x86/x86_machdep.c

(cherry)

2018-12-24 22:02:32 UTC MAIN commitmail json YAML

move sqlite earlier in its section.  my build often sits with only 3
processes active here for quite some time otherwise.

(mrg)

2018-12-24 21:51:57 UTC MAIN commitmail json YAML

Switch x86 to binutils 2.31.1

(christos)

2018-12-24 21:48:53 UTC MAIN commitmail json YAML

Treat R_X86_64_PLT32 relocation as R_X86_64_PC32 for binutils-2.31
See: https://lore.kernel.org/patchwork/patch/892629/

(christos)

2018-12-24 21:42:05 UTC MAIN commitmail json YAML

2018-12-24 21:40:48 UTC MAIN commitmail json YAML

Don't need <sys/queue.h> here.

(thorpej)

2018-12-24 21:27:37 UTC MAIN commitmail json YAML

2018-12-24 21:27:06 UTC MAIN commitmail json YAML

2018-12-24 21:15:59 UTC MAIN commitmail json YAML

Do not include files for MSI support on XEN dom0.

We do not support MSI as of now.

(cherry)

2018-12-24 20:44:39 UTC MAIN commitmail json YAML

move rlimit and quota code into their own modules.

(netbsd32_netbsd.c should have only simple shims.  anything more
than copying arguments from one args struct to the other should
not be placed in this file.  still a couple more to move out.)

(mrg)

2018-12-24 20:39:17 UTC MAIN commitmail json YAML

fix style consistency.
remove obsolete comments or commented code.
NFC.

(mrg)

2018-12-24 20:27:57 UTC MAIN commitmail json YAML

pset_create() takes a pointer so it needs special handling.

(mrg)

2018-12-24 20:11:23 UTC MAIN commitmail json YAML

set MAKEDEVTARGETS=ramdisk so that the ramdisk /dev/ is populated.
from PR#51659.

(mrg)

2018-12-24 18:21:50 UTC MAIN commitmail json YAML

Avoid error with new binutils:
error: PHDR segment not covered by LOAD segment

(christos)

2018-12-24 17:44:40 UTC MAIN commitmail json YAML

- fix compilation on 32 bit systems.
- wrap long lines

(christos)

2018-12-24 16:59:40 UTC MAIN commitmail json YAML

Note threadpool(9).

(thorpej)

2018-12-24 16:58:54 UTC MAIN commitmail json YAML

Add threadpool(9), an abstraction that provides shared pools of kernel
threads running at specific priorities, with support for unbound pools
and per-cpu pools.

Written by riastradh@, and based on the May 2014 draft, with a few changes
by me:
- Working on the assumption that a relative few priorities will actually
  be used, reduce the memory footprint by using linked lists, rather than
  2 large (and mostly empty) tables.  The performance impact is essentially
  nil, since these lists are consulted only when pools are created (and
  destroyed, for DIAGNOSTIC checks), and the lists will have at most 225
  entries.
- Make threadpool job object, which the caller must allocate storage for,
  really opaque.
- Use typedefs for the threadpool types, to reduce the verbosity of the
  API somewhat.
- Fix a bunch of pool / worker thread / job object lifecycle bugs.

Also include an ATF unit test, written by me, that exercises the basics
of the API by loading a kernel module that exposes several sysctls that
allow the ATF test script to create and destroy threadpools, schedule a
basic job, and verify that it ran.

And thus NetBSD 8.99.29 has arrived.

(thorpej)

2018-12-24 16:04:14 UTC MAIN commitmail json YAML

Remove unused macros.

(maxv)

2018-12-24 15:57:15 UTC MAIN commitmail json YAML

2018-12-24 14:55:42 UTC MAIN commitmail json YAML

Bifurcate the interrupt establish functions between XEN and non-XEN

Thus intr_establish_xname() becomes xen_intr_establish_xname() etc.

One consequence of this is that dom0 devices expect the native
function calls to be available and we thus provide weak aliasing for
dom0 builds to succeed. XEN and non-XEN devices are distinguished by
the PIC they are established on. XEN interrupts are exclusively
established on xen_pic, while dom0 interrupts are established on
natively available PICs.

This allows us an orthogonal path to xen device management (eg:
xenstore events) in XENPVHVM, without having to worry about unifying
the vector entry paths, etc., which is quite challenging.

(cherry)

2018-12-24 13:31:22 UTC MAIN commitmail json YAML

2018-12-24 08:40:33 UTC MAIN commitmail json YAML

don't attach to new turing based nouveau cards.

(mrg)

2018-12-24 08:31:08 UTC MAIN commitmail json YAML

remove lwresd as now obsolete

(plunky)

2018-12-24 08:26:04 UTC MAIN commitmail json YAML

this works well enough to start and have basic accel only on GTX 750,
so enable those cards.  maybe can enable some pascal cards too.

thanks to fly for fixing nouveau drm2 so it was worth trying :-)

(mrg)

2018-12-24 05:06:46 UTC MAIN commitmail json YAML

Keep infrastructure setup and only exclude test for non-amd64 case.
Should be final nail in coffin of non-amd64 build failures (ie: Atffile
should get installed where it belongs rather than the root dir).

(kre)

2018-12-24 02:58:39 UTC MAIN commitmail json YAML

2018-12-24 02:39:12 UTC MAIN commitmail json YAML

2018-12-24 02:07:44 UTC MAIN commitmail json YAML

yydebug is now defined only if YYDEBUG is

(christos)

2018-12-23 22:14:29 UTC MAIN commitmail json YAML

2018-12-23 21:27:45 UTC MAIN commitmail json YAML

Make the /usr/tests/lib/libnvmm directory and testing framework files MI.

Should fix non-amd64 build.

(jakllsch)

2018-12-23 20:27:23 UTC MAIN commitmail json YAML

2018-12-23 19:17:26 UTC MAIN commitmail json YAML

2018-12-23 19:16:43 UTC MAIN commitmail json YAML

2018-12-23 19:14:12 UTC MAIN commitmail json YAML

new binutils on head is 231

(christos)

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

yydebug is now available only if YYDEBUG is set.

(christos)

2018-12-23 16:40:16 UTC MAIN commitmail json YAML

2018-12-23 16:29:11 UTC MAIN commitmail json YAML

2018-12-23 16:27:17 UTC MAIN commitmail json YAML

2018-12-23 16:23:24 UTC MAIN commitmail json YAML

2018-12-23 15:43:42 UTC MAIN commitmail json YAML

Add /usr/tests/lib/libnvmm and related debug paths to the directory list.

(jakllsch)

2018-12-23 15:40:30 UTC MAIN commitmail json YAML

2018-12-23 15:38:54 UTC MAIN commitmail json YAML

2018-12-23 13:35:02 UTC MAIN commitmail json YAML

2018-12-23 12:32:33 UTC MAIN commitmail json YAML

Use ___STRING instead of __STRING to expand driver version numbers properly

(jmcneill)

2018-12-23 12:18:30 UTC MAIN commitmail json YAML

2018-12-23 12:15:01 UTC MAIN commitmail json YAML

Simplify the KASAN API, use only kasan_mark() and explain briefly. The
alloc/free naming was too confusing.

(maxv)

2018-12-23 12:11:41 UTC MAIN commitmail json YAML

2018-12-23 12:09:45 UTC MAIN commitmail json YAML

Cleanup the TX path:
- split in sub-functions
- ratelimit printf for mbuf allocation failure
- don't loop forever on mbuf allocation failure

(bouyer)

2018-12-23 11:45:39 UTC MAIN commitmail json YAML

Appease clang.  Tested by roy.

(skrll)

2018-12-23 11:42:13 UTC MAIN commitmail json YAML

Remove useless debugging code, the area is completely filled but it's not
checked afterwards, only pi_magic is.

(maxv)

2018-12-23 01:29:23 UTC MAIN commitmail json YAML

Clarify a sentence about the error handling of cp(1)'s -p option.
Addresses PR bin/40336.

(gutteridge)

2018-12-23 01:24:54 UTC MAIN commitmail json YAML

Bump dtc & dts versions available upstream.

(sevan)

2018-12-22 21:53:06 UTC MAIN commitmail json YAML

add missing quotes 7

(christos)

2018-12-22 21:27:22 UTC MAIN commitmail json YAML

Introduce a weak alias method of exporting different implementations
of the same API.

For eg: the amd64 native implementation of invlpg() now becomes
amd64_invlpg() with a weak symbol export of invlpg(), while the XEN
implementation becomes xen_invlpg(), also weakly exported as invlpg()

Note that linking in both together without having an override function
named invlpg() would be a mistake, as we have limited control over
which of the two options would emerge as the finally exported invlpg()
resulting in a potential situation where the wrong function is finally
exported. This change avoids this situation.

We should however include an override function invlpg() in that case,
such that it is able to then pass on the call to the appropriate
backing function (amd64_invlpg() in the case of native, and
xen_invlpg() in the case of under XEN virtualisation) at runtime.

This change does not introduce such a function and therefore does not
alter builds to include native as well as XEN implementations in the
same binary. This will be done later, with the introduction of XEN
PVHVM mode, where precisely such a runtime switch is required.

There are no operational changes introduced by this change.

(cherry)

2018-12-22 20:57:44 UTC MAIN commitmail json YAML

remove needless parens, makes clang happy

(roy)

2018-12-22 20:49:19 UTC MAIN commitmail json YAML

use the proper rcsid for the kernel

(christos)

2018-12-22 20:49:04 UTC MAIN commitmail json YAML

- add rcsid
- don't define DEBUG
- protect function used in KASSERT with DIAGNOSTIC not DEBUG

(christos)

2018-12-22 16:58:51 UTC MAIN commitmail json YAML

Fix previous; We also need to turn off IFF_ALLMULTI bit when
it is disabled.

(rin)

2018-12-22 14:39:47 UTC MAIN commitmail json YAML

Update the man page, we don't want M_COPY_PKTHDR, M_MOVE_PKTHDR, MH_ALIGN
and M_ALIGN.

(maxv)

2018-12-22 14:28:57 UTC MAIN commitmail json YAML

2018-12-22 14:07:54 UTC MAIN commitmail json YAML

2018-12-22 13:55:56 UTC MAIN commitmail json YAML

Move m_align() back into the kernel, and switch M_ALIGN and MH_ALIGN to it.
Forcing a distinction between M_ALIGN and MH_ALIGN is too bug-friendly and
serves no particular purpose.

(maxv)

2018-12-22 13:11:38 UTC MAIN commitmail json YAML

2018-12-22 10:00:39 UTC MAIN commitmail json YAML

In the end, disable the supposed architectural SpectreV2 mitigation on
AMD f12h and f16h. The SDMs of these CPUs haven't been updated since, and
we shouldn't assume the position of the bits, we just can't know where
they are.

Initially I included f12h and f16h because f10h is actually documented
to have a bit to disable the indirect branch predictor, and there were
patches available in SuSE and CentOS that were treating f10h/f12h/f16h
all the same. Knowing that SuSE has ties with AMD, it seemed safe to
assume that these patches were correct and that f12h and f16h could
indeed be treated the same way as f10h.

But these patches have now disappeared, and the main Linux branch
doesn't have them, without clear explanation. Therefore, I prefer to
roll-back.

(maxv)

2018-12-22 09:20:30 UTC MAIN commitmail json YAML

Add AMD_SSB_NO, so that we explicitly say than an AMD CPU is not affected
when it's not affected.

(maxv)

2018-12-22 08:59:45 UTC MAIN commitmail json YAML

If the CPU is not vulnerable to SpectreV4, say it in the sysctl by default.
Apply some minor style while here.

(maxv)

2018-12-22 08:35:04 UTC MAIN commitmail json YAML

2018-12-22 07:45:59 UTC MAIN commitmail json YAML

This change modifies the mainbus(4) entry point for all x86 sub-archs
in the following way:

i) It provides a unified entry point in
  x86/x86/mainbus.c:mainbus_attach()
ii) It carves out the preliminary bus attachment sequence that is
  common to all sub-archs into
  x86/x86/mainbus.c: x86_cpubus_attach()
iii) It consolidates the remaining pathways as internal callee
  functions so that these may be called piecemeal if required. A
  special usecase of this is XEN PVHVM which may need to call the
  native configure path, the xen configure path, or both.
iv) It moves the driver private data structures from
  i386/i386_mainbus.c to an x86/ level one. This allows for other
  sub-arch's to do similar, if needed. (They do not at the moment).
v) For dom0 kernels, it enables 'acpi0 at mainbus?' and
  'acpi0 at hypervisorbus'. This serves two purposes:
  a) To demonstrate the possibility of dynamic configuration tree
      traversal ordering changes.
  b) To allow for the common acpi_check(self, "acpibus") call in
  x86/mainbus.c to not barf when it is called from the dom0 attach
  path. We allow for the acpi0 device to be a child of mainbus with
  the changes to amd64/conf/XEN3_DOM0 and i386/conf/XEN3PAE_DOM0
  without actually probing further in the code. This path will later
  be pursued in a PVHVM boot codepath.

There should be no operative changes with this change. If there are,
please complain loudly.

(cherry)

2018-12-22 06:59:27 UTC MAIN commitmail json YAML

2018-12-22 06:33:37 UTC MAIN commitmail json YAML

Move mainbus(4) driver files in various x86 sub-archs to name prefixed
versions. This allows us to further modularise them by unifying common
bus probe code in x86/x86/mainbus.c to  be introduced next.

This commit has no functional changes. It is done for ease of
visibility of newer diffs in the queue.

(cherry)

2018-12-22 04:28:30 UTC MAIN commitmail json YAML

Take the interface out of promiscuous mode in bridge_delete_member()
instead of bridge_ioctl_del(). Otherwise, the member interfaces are
left in promiscuous mode when the bridge is destroyed.

(rin)

2018-12-22 03:22:19 UTC MAIN commitmail json YAML

2018-12-22 00:36:32 UTC MAIN commitmail json YAML

ParseVErrorInternal: use .PARSEDIR and
apply realpath(3) if not absolute,
and use .PARSEFILE for consitent results.

Reviewed by: christos

(sjg)

2018-12-21 14:52:12 UTC MAIN commitmail json YAML

2018-12-21 14:51:47 UTC MAIN commitmail json YAML

Support Designware APB UART

(jmcneill)

2018-12-21 14:51:12 UTC MAIN commitmail json YAML

Add acpi_dsd_integer, which reads an integer value from an ACPI 5.0 _DSD
key/value package list.

(jmcneill)

2018-12-21 14:50:18 UTC MAIN commitmail json YAML

Use SPCR to force console selection for com@acpi. This is needed because
we may use a non-standard bus_space tag (a4x) to attach the console early,
which breaks com_is_console.

(jmcneill)

2018-12-21 11:11:40 UTC MAIN commitmail json YAML

2018-12-21 09:04:44 UTC MAIN commitmail json YAML

Add SIOCSETHERCAP ioctl.

(msaitoh)

2018-12-21 09:00:32 UTC MAIN commitmail json YAML

Welcome to 8.99.28 (SIOCSETHERCAP addition).

(msaitoh)

2018-12-21 08:58:08 UTC MAIN commitmail json YAML

2018-12-21 08:29:22 UTC MAIN commitmail json YAML

Fix WoL detection once again.

(msaitoh)

2018-12-21 08:01:01 UTC MAIN commitmail json YAML

2018-12-21 07:51:18 UTC MAIN commitmail json YAML

Expose nvif ioctl interface.

nvif is a variable length (nested..) ioctl, so it doesn't match the
usual drm_ioctl interface. linux uses a shim to override the ioctl
function for nouveau to allow this, do the same.

fixes 3D acceleration with nouveau.

from riastradh.

(maya)

2018-12-21 07:13:30 UTC MAIN commitmail json YAML

Remove ETHERCAP_VLAN_HWFILTER.

(msaitoh)

2018-12-21 05:50:19 UTC MAIN commitmail json YAML

unexport-env: avoid SEGFAULT if MAKELEVEL not in env

(sjg)

2018-12-21 04:43:17 UTC MAIN commitmail json YAML

Add ETHERCAP_VLAN_HWFILTER and ETHERCAP_EEE.

(msaitoh)

2018-12-20 21:38:23 UTC MAIN commitmail json YAML

set base_year_is_2k on dsrtc so we're compatible with RISC OS

(macallan)

2018-12-20 21:36:53 UTC MAIN commitmail json YAML

make DSRTC_FLAG_YEAR_START_2K settable by device property

(macallan)

2018-12-20 19:16:17 UTC MAIN commitmail json YAML

An ACPI MCFG allocation with start bus number = end bus number is valid,
so do not skip it. An entry like this defines MCFG space for a single bus.

(jmcneill)

2018-12-20 15:19:31 UTC MAIN commitmail json YAML

Add D-Link DWA-131 to list of devices expected to work

(tih)

2018-12-20 15:16:07 UTC MAIN commitmail json YAML

Add D-Link DWA-131 rev E "Wireless N300 Nano USB Adapter"

OK: jmcneill

(tih)

2018-12-20 15:13:07 UTC MAIN commitmail json YAML

2018-12-20 15:09:47 UTC MAIN commitmail json YAML

Add D-Link DWA-131 rev E "Wireless N300 Nano USB Adapter"

(tih)

2018-12-20 14:58:10 UTC MAIN commitmail json YAML

Add a query function (for external code) to enumerate the know guids.
Add recently added VMware GUIDs to the internal enum type.
Fix some short names (bogus + duplicate).

(martin)

2018-12-20 11:35:32 UTC netbsd-8 commitmail json YAML

2018-12-20 11:34:33 UTC netbsd-8 commitmail json YAML

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

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

Apply the same fix as if_wm.c:r1.606 to ixg(4). Pointed out by msaitoh@n.o, thanks.

XXX pullup-8

(martin)

2018-12-20 10:33:42 UTC MAIN commitmail json YAML

Enable 'options NO_PCI_MSI_MSIX' to DTRT in x86 builds.

Document 'options NO_PCI_MSI_MSIX' in options(4).

(cherry)

2018-12-20 09:47:15 UTC MAIN commitmail json YAML

Apply the same fix as if_wm.c:r1.606 to ixg(4). Pointed out by msaitoh@n.o, thanks.

XXX pullup-8

(knakahara)

2018-12-20 09:32:13 UTC MAIN commitmail json YAML

- Don't setup WoL on non-WoL capable port.
- Setup PHY wakeup feature on PCH and newer. Tested on Thinkpad X220.

(msaitoh)

2018-12-20 09:17:04 UTC MAIN commitmail json YAML

Close .Bl directive properly

(cherry)

2018-12-20 08:59:22 UTC MAIN commitmail json YAML

Fix WoL capability detection on ICH and PCH.

(msaitoh)

2018-12-20 08:32:55 UTC MAIN commitmail json YAML

Document 'options NO_PREEMPTION'

With prompting from Christoph Badura.

(cherry)

2018-12-20 07:30:01 UTC MAIN commitmail json YAML

If last column contains 'obsolete', last but one should be foo-obsolete

(wiz)

2018-12-20 07:10:23 UTC MAIN commitmail json YAML

- show detail of debug feature register (ID_AA64DFR0_EL1)
- print raw value of registers when verbose flag is set.
- keep forward compatibility. read kernel's aarch64_sysctl_cpu_id, but avoid unknown system registers.

(ryo)

2018-12-20 02:52:59 UTC MAIN commitmail json YAML

Set IFF_ALLMULTI bit appropriately when we fall back to "allmulti".

(rin)

2018-12-20 02:38:28 UTC MAIN commitmail json YAML

Rename functions. Add comment. No functional change.

(msaitoh)

2018-12-19 22:22:16 UTC MAIN commitmail json YAML

2018-12-19 22:21:14 UTC MAIN commitmail json YAML

src/external/public-domain/sqlite/dist/shell.c@1.4 / diff / nxr@1.4
src/external/public-domain/sqlite/dist/sqlite3.c@1.17 / diff / nxr@1.17
src/external/public-domain/sqlite/lib/shlib_version@1.5 / diff / nxr@1.5
src/external/public-domain/sqlite/man/Makefile@1.4 / diff / nxr@1.4
src/external/public-domain/sqlite/man/SQLITE_ACCESS_EXISTS.3@1.4 / diff / nxr@1.4
src/external/public-domain/sqlite/man/SQLITE_CHANGESETAPPLY_NOSAVEPOINT.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_CHANGESETSTART_INVERT.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_CHANGESET_DATA.3@1.4 / diff / nxr@1.4
src/external/public-domain/sqlite/man/SQLITE_CHANGESET_OMIT.3@1.4 / diff / nxr@1.4
src/external/public-domain/sqlite/man/SQLITE_CHECKPOINT_PASSIVE.3@1.5 / diff / nxr@1.5
src/external/public-domain/sqlite/man/SQLITE_CONFIG_SINGLETHREAD.3@1.5 / diff / nxr@1.5
src/external/public-domain/sqlite/man/SQLITE_CREATE_INDEX.3@1.4 / diff / nxr@1.4
src/external/public-domain/sqlite/man/SQLITE_DBCONFIG_MAINDBNAME.3@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/man/SQLITE_DBSTATUS_LOOKASIDE_USED.3@1.5 / diff / nxr@1.5
src/external/public-domain/sqlite/man/SQLITE_DENY.3@1.5 / diff / nxr@1.5
src/external/public-domain/sqlite/man/SQLITE_DESERIALIZE_FREEONCLOSE.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_DETERMINISTIC.3@1.4 / diff / nxr@1.4
src/external/public-domain/sqlite/man/SQLITE_ERROR_MISSING_COLLSEQ.3@1.1 / diff / nxr@1.1
src/external/public-domain/sqlite/man/SQLITE_FCNTL_LOCKSTATE.3@1.5 / diff / nxr@1.5
src/external/public-domain/sqlite/man/SQLITE_INDEX_CONSTRAINT_EQ.3@1.5 / diff / nxr@1.5
      :
(more 216 files)
merge conflicts.

(christos)

2018-12-19 22:20:45 UTC MAIN commitmail json YAML

2018-12-19 22:19:25 UTC MAIN commitmail json YAML

add new sqlite3 man pages.

(christos)

2018-12-19 18:58:44 UTC MAIN commitmail json YAML

fix set lists for symlinked man pages after compat_svr4 removal

(jakllsch)

2018-12-19 16:56:17 UTC MAIN commitmail json YAML

2018-12-19 16:27:26 UTC MAIN commitmail json YAML

compat/svr4* is gone - adapt

(martin)

2018-12-19 15:10:46 UTC MAIN commitmail json YAML

Load curlwp into a0 to call fpu_save(curlwp), not fpu_save(garbage).

The lwp argument to fpu_save was added by chuq in revision 1.14 of
mips_fpu.c, but this call was not updated to pass it.  This is the
correct lwp to pass because we are in the middle of executing a
kernel-emulated fp instruction, so curlwp must own the fpu state, and
we are trying to write the fp registers to memory so we can adjust
them there when ctc1 would fail.

Fixes PR port-cobalt/53090, PR port-sgimips/53791.

(riastradh)

2018-12-19 14:07:51 UTC MAIN commitmail json YAML

Note removal of COMPAT_SVR4.

(maxv)

2018-12-19 13:57:53 UTC MAIN commitmail json YAML

2018-12-19 12:40:32 UTC MAIN commitmail json YAML

minor rewording.  fix alphabeta ordering of contributors.

(mrg)

2018-12-19 12:03:35 UTC MAIN commitmail json YAML

mark gcc 4.5 mips files obsolete.  should fix failure to obsolete
properly because /usr/include/gcc-4.5 isn't empty.

(mrg)

2018-12-19 11:02:21 UTC MAIN commitmail json YAML

be consistent about uint64_t and bit masks.

(mrg)

2018-12-19 11:00:09 UTC MAIN commitmail json YAML

use uint64_t for idx_mask.  fixes lookups for some PAs.  from skrll.

bump copyright.  we updated this a lot of this in 2018.

(mrg)

2018-12-19 09:20:56 UTC MAIN commitmail json YAML

Disable MSI/MSI-X for nouveau.

Fixes functionality for me (GTX 770) and apparently anyone with
MSI/MSI-X capable hardware.

(maya)

2018-12-18 23:11:40 UTC MAIN commitmail json YAML

fix an old spell-o and a new format-o.

(mrg)

2018-12-18 18:37:50 UTC netbsd-7-0 commitmail json YAML

2018-12-18 18:37:26 UTC netbsd-7-0 commitmail json YAML

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

usr.bin/telnet/utilities.c: revision 1.24
usr.bin/telnet/telnet.c: revision 1.37

switch sprintf to snprintf in places.

Reported by hacker fantastic, thanks!

ok xtos.

(martin)

2018-12-18 18:36:53 UTC netbsd-7-1 commitmail json YAML

2018-12-18 18:36:22 UTC netbsd-7-1 commitmail json YAML

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

usr.bin/telnet/utilities.c: revision 1.24
usr.bin/telnet/telnet.c: revision 1.37

switch sprintf to snprintf in places.

Reported by hacker fantastic, thanks!

ok xtos.

(martin)

2018-12-18 18:36:10 UTC netbsd-7 commitmail json YAML

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

usr.bin/telnet/utilities.c: revision 1.24
usr.bin/telnet/telnet.c: revision 1.37

switch sprintf to snprintf in places.

Reported by hacker fantastic, thanks!

ok xtos.

(martin)

2018-12-18 18:35:27 UTC netbsd-7 commitmail json YAML

2018-12-18 18:33:40 UTC netbsd-8 commitmail json YAML

2018-12-18 18:32:00 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1140):
share/man/man4/urtwn.4: revision 1.16
sys/dev/usb/if_urtwn.c: revision 1.66

Add IO-DATA WN-G150UMW.

-

Make IODATA WN-G150UMW work:

- Increase delay to prevent "could not send firmware command". The value
  is taken from FreeBSD.
-Increase delay to prevent "timeout waiting for firmware readiness". The
  value is taken from Linux.

(martin)

2018-12-18 18:26:23 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by is in ticket #1139):

sys/dev/pci/ahcisata_pci.c: revision 1.47

add AHCI_PCI_QUIRK_FORCE for apu2 to be recognized; patch by Mike Pumford
on current-users@

(martin)

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

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

sys/dev/pci/if_wm.c: revision 1.606

Fix txqueue assignment. Pointed out by yamaguchi@n.o, thanks.

E.g. When ncpu is six and nqueue is four, the sequence error occurs.

XXX pullup-8

(martin)

2018-12-18 18:21:38 UTC netbsd-8 commitmail json YAML

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

usr.bin/telnet/utilities.c: revision 1.24
usr.bin/telnet/telnet.c: revision 1.37

switch sprintf to snprintf in places.

Reported by hacker fantastic, thanks!

ok xtos.

(martin)

2018-12-18 18:11:34 UTC MAIN commitmail json YAML

Correct libproc_p.a in distribution sets

There was a stale entry under MKPROFILE=no option.

(kamil)

2018-12-18 16:25:47 UTC MAIN commitmail json YAML

Fix _kvm_kvatop so that it now works.

(skrll)

2018-12-18 16:23:20 UTC MAIN commitmail json YAML

Appease gcc error: comparison of unsigned expression < 0 is always false
when using __BITS(u_int, 0)

(skrll)

2018-12-18 12:55:38 UTC MAIN commitmail json YAML

2018-12-18 08:39:03 UTC MAIN commitmail json YAML

2018-12-18 07:11:35 UTC MAIN commitmail json YAML

Fixed the build failures caused by incompatible type comparisons.

Reviewed by <cherry>

(fox)

2018-12-17 20:13:46 UTC MAIN commitmail json YAML

sun4v: note what causes the kernel to crash

(palle)

2018-12-17 20:10:52 UTC MAIN commitmail json YAML

- Default terminator to \n
- Don't print a trailing separator
Behavior now matches GNU seq (from Aram at tech-userlevel)

(christos)

2018-12-17 16:26:03 UTC MAIN commitmail json YAML

Back to using aprint_error() and get more info about the error so we can
figure out why we can't map the registers.

(christos)

2018-12-17 15:12:52 UTC MAIN commitmail json YAML

Don't call aprint_error_dev() with a NULL dev.  Fixes PR port-amd64/53789.

(gson)

2018-12-17 08:18:06 UTC MAIN commitmail json YAML

Use An in AUTHORS section.

(wiz)

2018-12-17 07:10:07 UTC MAIN commitmail json YAML

Remove dead checks, they were already pointless when I fixed them a few
years ago, and now they are wrong because the PTE space is randomized.

(maxv)

2018-12-17 06:58:54 UTC MAIN commitmail json YAML

Add two pmap fields, will be used by NVMM-VMX. Also apply a few cosmetic
changes.

(maxv)

2018-12-17 06:53:01 UTC MAIN commitmail json YAML

Raise the fill_vmentries() E2BIG limit from 1MB to 10MB

The previous limit was not enough for libFuzzer as it requires up to 2.5MB
in test-suite.

Alternative approaches to retrieve larger address map during happened to be
worse during the evaluation due to difficulties in locking and atomicity.

Discussed with <christos>

(kamil)

2018-12-17 04:37:15 UTC MAIN commitmail json YAML

Add support for building overlay DT blobs specified in the kernel
config file like so:

makeoptions    DTS_OVERLAYDIR="${THISARM}/conf"
makeoptions    DTS_OVERLAYS="
        my-cool-overlay.dts
"

The result is my-cool-overlay.dtbo in the kernel compile directory.

(thorpej)

2018-12-17 04:21:45 UTC MAIN commitmail json YAML

When sc->phy.acquire() failed, it's not required to call sc->phy.release().

(msaitoh)

2018-12-17 04:14:40 UTC MAIN commitmail json YAML

Fix txqueue assignment. Pointed out by yamaguchi@n.o, thanks.

E.g. When ncpu is six and nqueue is four, the sequence error occurs.

XXX pullup-8

(knakahara)

2018-12-17 04:11:34 UTC MAIN commitmail json YAML

Add IO-DATA WN-G150UMW.

(msaitoh)

2018-12-17 02:06:00 UTC MAIN commitmail json YAML

PR/53796: Valery Ushakov: make prints wrong makefile path in an error message
Use ${.CURDIR} if ${.PARSEDIR} is not absolute.

(christos)

2018-12-17 01:16:49 UTC MAIN commitmail json YAML

Fix line continuations in previous.

(uwe)

2018-12-16 21:03:35 UTC MAIN commitmail json YAML

Add support for detecting use-after-frees in KASAN. We poison each freed
buffer, any subsequent read or write will be detected as illegal.

* Add POOL_CHECK_MAGIC, which is disabled under KASAN, because the same
  detection is done in a better way.

* Register the size+redzone in the pool structure, to reduce the overhead.

* Fix the CTOR/DTOR check in KLEAK, the fields are never NULL.

(maxv)

2018-12-16 20:58:00 UTC MAIN commitmail json YAML

use ci_ipending instead of ci_istate.ipending, NFC

(jdolecek)

2018-12-16 18:53:34 UTC MAIN commitmail json YAML

use %s formats to avoid -flag confusion (from sjg)

(christos)

2018-12-16 17:46:58 UTC MAIN commitmail json YAML

sbspace() does not return negative values anymore and that broke OOB data
sending. Instead of depending on negative values, account for the 1024
bytes sosend() adds so that it can use all the space here in a separate
function sbspace_oob(). Idea from mlelstv@

(christos)

2018-12-16 17:30:57 UTC MAIN commitmail json YAML

Use printf instead of echo since we can't portably use \ in string (from sjg@)
http://pubs.opengroup.org/onlinepubs/009695399/utilities/echo.html

(christos)

2018-12-16 17:08:19 UTC MAIN commitmail json YAML

2018-12-16 16:46:13 UTC MAIN commitmail json YAML

2018-12-16 16:45:12 UTC MAIN commitmail json YAML

2018-12-16 16:06:39 UTC MAIN commitmail json YAML

unifdef RSA_ENCPWD. The matching code does not exist.

(maya)

2018-12-16 14:08:49 UTC MAIN commitmail json YAML

Remove self reference in SEE ALSO
Add references consistent with those in md4(3) and md5(3)

Reported by kamil

(abhinav)

2018-12-16 14:06:56 UTC MAIN commitmail json YAML

Import thmap -- a concurrent trie-hash map, combining the elements of
hashing and radix trie.  It supports lock-free lookups and concurrent
inserts/deletes.  It is designed to be optimal as a general purpose
*concurrent* associative array.

Upstream: https://github.com/rmind/thmap
Discussed on tech-kern@

(rmind)

2018-12-16 14:04:14 UTC MAIN commitmail json YAML

Have to hijack sysctl() and modctl() for zfs commands.

Should fix PR kern/53422

(hannken)

2018-12-16 14:03:37 UTC MAIN commitmail json YAML

2018-12-16 11:40:09 UTC MAIN commitmail json YAML

Editor mishap in previous, pointed out by leot

(martin)

2018-12-16 11:36:08 UTC MAIN commitmail json YAML

Separate binary sets and binary pkg prefix from the machine, and set
it explicitly for evbarm*, evbmips* and evbsh3 so we get the correct
64bit pkgs on aarch64 and also have working defaults on the other
variants.

(martin)

2018-12-16 10:42:32 UTC MAIN commitmail json YAML

Explicitly disable ALTINST on VIA, in case it isn't disabled by default
already (the 'VIA cpu backdoor').

(maxv)

2018-12-16 08:58:21 UTC MAIN commitmail json YAML

Fix previous: set EMUIMAGEMB, not USBIMAGEMB.

(gson)

2018-12-16 08:54:58 UTC MAIN commitmail json YAML

netinet6: only flush prefixes and routers for the given interface.

Unless it's lo0, where we then flush the lot.
The maintains the status-quo with ndp(8) and allows dhcpcd(8) to at least
try and work with kernel RA on one interface and dhcpcd on another.

(roy)

2018-12-16 08:47:43 UTC MAIN commitmail json YAML

ndp: SIOCSPFXFLUSH_IN6 and SIOCSRTRFLUSH_IN6 expect struct in6_ifreq

And not just a character string of the interface name.
This only worked before because the interface name is the first member
of the structure.

(roy)

2018-12-16 08:19:51 UTC MAIN commitmail json YAML

Note NVIDIA Tegra X1 SoC SATA support

(skrll)

2018-12-16 02:18:01 UTC MAIN commitmail json YAML

port-macppc/46319 is marked as resolved now.
Test on 8.99.26 build of NetBSD/macppc

(sevan)

2018-12-15 23:23:51 UTC MAIN commitmail json YAML

Remove mention of SPX.

(maya)

2018-12-15 23:22:51 UTC MAIN commitmail json YAML

G/C SPX support

It was presented as a draft in 1993. I don't see any mentions since. it
was not enabled.

(maya)

2018-12-15 22:56:51 UTC MAIN commitmail json YAML

Remove README relevant to 1995 telnet.

(maya)

2018-12-15 22:17:02 UTC MAIN commitmail json YAML

Remove reference to krb_realmofhost(3) which does not exist.

Someone who speaks kerberos might want to check the -k description.

Remove some macros that do nothing and use \(em.

(wiz)

2018-12-15 22:12:15 UTC MAIN commitmail json YAML

You can encrypt outside of north america now.

(maya)

2018-12-15 22:05:24 UTC MAIN commitmail json YAML

- Use kmem_intr_{alloc,free}, because on time out we need to free from an
  interrupt context.
- Remove parens from returns and useless casts from void.

(christos)

2018-12-15 22:00:16 UTC MAIN commitmail json YAML

More appropriate line-wrapping for previous.

(pgoyette)

2018-12-15 18:03:18 UTC MAIN commitmail json YAML

Use the special device name "ROOT." in /etc/fstab not just on the arm
images, but also on the bootable disk images of other ports, so that
they can be booted from differently named devices.  Merge the i386 and
amd64 -live-sd0root and -live-wd0root images into a single live image
per port, bootable both from usb media and in qemu.  Drop the -xx0root
suffixes from image names as they are no longer meaningful.

(gson)

2018-12-15 17:11:10 UTC MAIN commitmail json YAML

2018-12-15 16:54:30 UTC MAIN commitmail json YAML

Add missing include for device_t declaration.

(alnsn)

2018-12-15 15:34:07 UTC MAIN commitmail json YAML

ath(4): fix path, bump date

(jakllsch)

2018-12-15 13:40:15 UTC netbsd-8 commitmail json YAML

2018-12-15 13:39:43 UTC MAIN commitmail json YAML

Invert the mapping logic.

Until now, the "owner" of the memory was the guest, and by calling
nvmm_gpa_map(), the virtualizer was creating a view towards the guest
memory.

Qemu expects the contrary: it wants the owner to be the virtualizer, and
nvmm_gpa_map should just create a view from the guest towards the
virtualizer's address space. Under this scheme, it is legal to have two
GPAs that point to the same HVA.

Introduce nvmm_hva_map() and nvmm_hva_unmap(), that map/unamp the HVA into
a dedicated UOBJ. Change nvmm_gpa_map() and nvmm_gpa_unmap() to just
perform an enter into the desired UOBJ.

With this change in place, all the mapping-related problems in Qemu+NVMM
are fixed.

(maxv)

2018-12-15 13:38:59 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by is in ticket #1137):

sys/arch/x86/pci/amdnb_misc.c: revision 1.3
sys/arch/x86/pci/amdtemp.c: revision 1.22

Added support for AMD family 16h cpu sensors - (just like 10h-14h).
(Tested on netbsd-8.0 release.)

(martin)

2018-12-15 13:20:46 UTC MAIN commitmail json YAML

New sqlite out

(maya)

2018-12-15 13:17:12 UTC MAIN commitmail json YAML

Add missing call to arm_fdt_cpu_mpstart, fixes SMP on Tegra X1

(jmcneill)

2018-12-15 13:09:02 UTC MAIN commitmail json YAML

Two changes:

- Fix the I/O Assist, for INS* it is RDI and not RSI, and the register
  gets updated regardless of the REP prefix.

- Fill in the Mem Assist. We decode and emulate certain instructions,
  and pass a mem descriptor to the callback to handle the transaction.
  The disassembler could use some polishing, and there are still a
  few instructions missing; but basically it works.

(maxv)

2018-12-15 12:52:37 UTC MAIN commitmail json YAML

Document last changes and bump version to 20181215

Suggested by <mrg>, thanks! (Possible mistakes are mine though!)

(leot)