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

2024-05-10 22:00:06 UTC Now

2018-12-26 22:57:22 UTC MAIN commitmail json YAML

Remove extra -c. -c has been the default behavior since 2003, and
the comment why it is needed was introduced in 2001. We don't want
to duplicate -c which is set in ${COPY} because someone might want
to override that.

(christos)

2018-12-26 22:21:10 UTC MAIN commitmail json YAML

Fix spurios whitespace (thank you substandard vi clones).

(thorpej)

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

Rather than performing lazy initialization, statically initialize early
in the respective kernel startup routines.

(thorpej)

2018-12-26 21:48:55 UTC MAIN commitmail json YAML

Document the threadpool_job_fn_t type and its use.

(thorpej)

2018-12-26 21:43:39 UTC MAIN commitmail json YAML

Adjust the definition of threadpool_job_fn_t to reflect Taylor's original
intent.  (The original didn't compile, and I'm not a very good mind reader.)

(thorpej)

2018-12-26 21:36:50 UTC MAIN commitmail json YAML

Fix one de-_t'ficiation I missed.

(thorpej)

2018-12-26 21:25:52 UTC MAIN commitmail json YAML

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

Stylistic tweak to previous.

(thorpej)

2018-12-26 21:15:50 UTC MAIN commitmail json YAML

Simplify thread reference counting of the thread pool object.

(thorpej)

2018-12-26 20:30:36 UTC MAIN commitmail json YAML

Make the callers of threadpool_create() and threadpool_destroy()
responsibile for managing their own storage.

(thorpej)

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

Use uint64_t for the unbound and per-cpu thread pool ref counts; they're
always manipulated under a lock.  Rather than bother returning EBUSY,
just assert that the ref count never overlows (if it ever does, you have
bigger problems).

(thorpej)

2018-12-26 19:54:09 UTC MAIN commitmail json YAML

2018-12-26 18:54:20 UTC MAIN commitmail json YAML

- De-opaque'ify struct threadpool_job.
- De-_t'ify all of the structure types.

No functional chage, no ABI change (verified with old rump unit test
before and after new librump.so).

Per Taylor's request.

(thorpej)

2018-12-26 18:31:29 UTC MAIN commitmail json YAML

PR/53813: Edgar Pettijohn: Print usage message if no servers are found.

(christos)

2018-12-26 14:27:23 UTC MAIN commitmail json YAML

Add -lrump after -lkernspace, because kernspace.a references symbols
from librump and hooray for static linking semantics.

Fixes sun2 build issue reported by kre@.

(XXX WTF did this only start failing after the addition of t_threadpool?)

(thorpej)

2018-12-26 14:02:12 UTC pgoyette-compat commitmail json YAML

2018-12-26 13:19:55 UTC netbsd-8 commitmail json YAML

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

Pull up the following, requested by sevan in ticket #1144:

sys/external/bsd/ipf/netinet/fil.c 1.22

accidently commited to HEAD by mrg with a very misleading log message and
a bunch of unrelated changes - but really:

fix missing braces around a block (detected by newer gcc's indentation
checks).

(martin)

2018-12-26 11:12:57 UTC MAIN commitmail json YAML

Xen can use the native splraise(9) functions.

There is no need for a slower C version.

(cherry)

2018-12-26 10:24:20 UTC MAIN commitmail json YAML

- Fix DDR4's rows and columns value.
- Print "banks/group" instead of "banks" because it's not the total bank
  number.

(msaitoh)

2018-12-26 08:59:41 UTC MAIN commitmail json YAML

Add ATF for ipsecif(4) which connect to two peers in the same NAPT.

(knakahara)

2018-12-26 08:58:51 UTC MAIN commitmail json YAML

ipsecif(4) supports multiple peers in the same NAPT.

E.g. ipsec0 connects between NetBSD_A and NetBSD_B, ipsec1 connects
NetBSD_A and NetBSD_C at the following figure.

                                        +----------+
                                  +----| NetBSD_B |
+----------+          +------+  |    +----------+
| NetBSD_A |--- ... ---| NAPT |---+
+----------+          +------+  |    +----------+
                                  +----| NetBSD_C |
                                        +----------+

Add ATF later.

(knakahara)

2018-12-26 08:55:14 UTC MAIN commitmail json YAML

Remove unnecessary addresses in PF_KEY message.

MOBIKE Extensions for PF_KEY draft-schilcher-mobike-pfkey-extension-01.txt says
====================
5.  SPD Update
// snip
  SADB_X_SPDADD:
// snip
      sadb_x_ipsecrequest_reqid:

        An ID for that SA can be passed to the kernel in the
        sadb_x_ipsecrequest_reqid field.

      If tunnel mode is specified, the sadb_x_ipsecrequest structure is
      followed by two sockaddr structures that define the tunnel
      endpoint addresses.  In the case that transport mode is used, no
      additional addresses are specified.
====================
see: https://tools.ietf.org/html/draft-schilcher-mobike-pfkey-extension-01

ipsecif(4) uses transport mode, so it should not add addresses.

(knakahara)

2018-12-26 08:25:53 UTC MAIN commitmail json YAML

2018-12-26 08:25:20 UTC MAIN commitmail json YAML

Add yet another Intel Core QuickPath Generic Non-Core Register.

(msaitoh)

2018-12-26 08:01:40 UTC MAIN commitmail json YAML

2018-12-26 06:45:58 UTC MAIN commitmail json YAML

2018-12-26 06:37:31 UTC MAIN commitmail json YAML

Missed a file during previous commit completing transition to
separate handler queues for i386.

This should fix the build (hopefully!)

Thanks to Robert Elz for pointing it out.

(cherry)

2018-12-26 02:06:03 UTC MAIN commitmail json YAML

Add "rump" to threadpool.debug test so it is not expected to appear
if MKRUMP=no

(kre)

2018-12-26 01:54:09 UTC MAIN commitmail json YAML

Remove commentd out options for fields no longer present in source.

(sevan)

2018-12-26 01:47:37 UTC MAIN commitmail json YAML

2018-12-25 21:26:31 UTC MAIN commitmail json YAML

Include some non-critical-but-still-for-correctness lines of code
in the cancellation unit test.  (I could have sworn I actually typed
these lines, no really...)

(thorpej)

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

2018-12-25 11:56:14 UTC MAIN commitmail json YAML

2018-12-25 11:34:48 UTC netbsd-7-0 commitmail json YAML

2018-12-25 11:34:14 UTC netbsd-7-0 commitmail json YAML

Apply patch, requested by maxv in ticket #1666:
Fix similar to:

sys/uvm/uvm_swap.c: revision 1.178

Woah man, fix enormous leak.

        Possible info leak: [len=1056, leaked=931]
        #0 0xffffffff80bad351 in kleak_copyout
        #1 0xffffffff80b2cf64 in uvm_swap_stats.part.1
        #2 0xffffffff80b2d38d in uvm_swap_stats
        #3 0xffffffff80b2d43c in sys_swapctl
        #4 0xffffffff80259b82 in syscall

(martin)

2018-12-25 11:33:54 UTC netbsd-7-1 commitmail json YAML

2018-12-25 11:33:27 UTC netbsd-7-1 commitmail json YAML

Apply patch, requested by maxv in ticket #1666:
Fix similar to:

sys/uvm/uvm_swap.c: revision 1.178

Woah man, fix enormous leak.

        Possible info leak: [len=1056, leaked=931]
        #0 0xffffffff80bad351 in kleak_copyout
        #1 0xffffffff80b2cf64 in uvm_swap_stats.part.1
        #2 0xffffffff80b2d38d in uvm_swap_stats
        #3 0xffffffff80b2d43c in sys_swapctl
        #4 0xffffffff80259b82 in syscall

(martin)

2018-12-25 11:33:02 UTC netbsd-7 commitmail json YAML

2018-12-25 11:32:30 UTC netbsd-7 commitmail json YAML

Apply patch, requested by maxv in ticket #1666:
Fix similar to:

sys/uvm/uvm_swap.c: revision 1.178

Woah man, fix enormous leak.

        Possible info leak: [len=1056, leaked=931]
        #0 0xffffffff80bad351 in kleak_copyout
        #1 0xffffffff80b2cf64 in uvm_swap_stats.part.1
        #2 0xffffffff80b2d38d in uvm_swap_stats
        #3 0xffffffff80b2d43c in sys_swapctl
        #4 0xffffffff80259b82 in syscall

(martin)

2018-12-25 11:26:48 UTC netbsd-8 commitmail json YAML

2018-12-25 11:25:00 UTC netbsd-8 commitmail json YAML

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

sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.23

don't attach to new turing based nouveau cards.

(martin)

2018-12-25 11:22:43 UTC netbsd-8 commitmail json YAML

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

sys/arch/mips/mips/fp.S: revision 1.49

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.

(martin)

2018-12-25 11:19:52 UTC netbsd-8 commitmail json YAML

Apply patch, requested by maxv in ticket #1142:
Similar to:

sys/uvm/uvm_swap.c: revision 1.178

Fix kernel info leak in swapctl(2).

        Possible info leak: [len=1056, leaked=931]
        #0 0xffffffff80bad351 in kleak_copyout
        #1 0xffffffff80b2cf64 in uvm_swap_stats.part.1
        #2 0xffffffff80b2d38d in uvm_swap_stats
        #3 0xffffffff80b2d43c in sys_swapctl
        #4 0xffffffff80259b82 in syscall

(martin)

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

fix i386 build - missed sources migration in previous commit.

allow xen_intr.c to build by bringing in static support functions for
-D INTRSTACKSIZE

This should fix the i386 build now.

(cherry)

2018-12-25 08:59:06 UTC MAIN commitmail json YAML

2018-12-25 08:33:52 UTC MAIN commitmail json YAML

Re-add makphyreg.h

(msaitoh)

2018-12-25 07:52:53 UTC MAIN commitmail json YAML

- add missing test
- fix typos

(christos)

2018-12-25 07:41:21 UTC MAIN commitmail json YAML

2018-12-25 06:50:12 UTC MAIN commitmail json YAML

Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c

While at it, separate the source function tracking so that the interrupt
paths are truly independant.

Use weak symbol exporting to provision for future PVHVM co-existence
of both files, but with independant paths. Introduce assembler code
such that in a unified scenario, native interrupts get first priority
in spllower(), followed by XEN event callbacks. IPL management and
semantics are unchanged - native handlers and xen callbacks are
expected to maintain their ipl related semantics.

In summary, after this commit, native and XEN now have completely
unrelated interrupt handling mechanisms, including
intr_establish_xname() and assembler stubs and intr handler
management.

Happy Christmas!

(cherry)

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)