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


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




switch to index mode

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

2024-05-10 00:00:18 UTC Now

2020-09-07 06:44:53 UTC MAIN commitmail json YAML

make(1): remove unnecessary cp-- from Arch_ParseArchive

(rillig)

2020-09-07 06:33:05 UTC MAIN commitmail json YAML

2020-09-07 06:32:13 UTC MAIN commitmail json YAML

Add Buffalo BWC-35H01 or BWC-30L01

(ryoon)

2020-09-07 06:28:22 UTC MAIN commitmail json YAML

make(1): save a strlen call in ForIterate

(rillig)

2020-09-07 06:27:29 UTC MAIN commitmail json YAML

make(1): constify local variables in ForIterate

(rillig)

2020-09-07 06:26:18 UTC MAIN commitmail json YAML

make(1): split local variable in ForIterate

(rillig)

2020-09-07 06:20:07 UTC MAIN commitmail json YAML

make(1): remove redundant includes

(rillig)

2020-09-07 06:01:11 UTC MAIN commitmail json YAML

make(1): convert ForEscapes from #define to enum

(rillig)

2020-09-07 05:58:08 UTC MAIN commitmail json YAML

make(1): add local variable for escapes to for_substitute

Just for debugging.  No change in code size.

(rillig)

2020-09-07 05:50:58 UTC MAIN commitmail json YAML

- Remove extra callout_stop() in ixgbe_detach(). Found by knakahara@.
- Rename ix{gbe,v}_free_workqueue() to ix{gbe,v}_free_deferred_handlers().
- Add KASSERT() to functions who are called from ixgbe_handle_admin().

(msaitoh)

2020-09-07 05:32:12 UTC MAIN commitmail json YAML

make(1): clean up comments in job.c

(rillig)

2020-09-07 05:16:32 UTC MAIN commitmail json YAML

make(1): fix archive test when .CURDIR != .PARSEDIR

(rillig)

2020-09-07 04:15:12 UTC MAIN commitmail json YAML

__predict_false() should be __predict_true() for adapter->osdep.detaching
== false check.

(msaitoh)

2020-09-07 03:57:28 UTC MAIN commitmail json YAML

Don't schedule admin work while shutdown like the recovery mode timer.

The admin workqueue also runs while !IFF_UP like the recovery mode timer.
Apply the same change of ixgbe.c 1.254 to ixgbe_schedule_admin_tasklet()
to prevent panic. Found by ozaki-r@.

(msaitoh)

2020-09-07 03:50:41 UTC MAIN commitmail json YAML

Add the ability to set an alternate cnmagic in the kernel config
file, e.g.:

options    CNMAGIC="\"+++++\""

(thorpej)

2020-09-07 03:36:11 UTC MAIN commitmail json YAML

Fix misspellings in comment.

(isaki)

2020-09-07 03:19:05 UTC MAIN commitmail json YAML

remove GCC_NO_ADDR_OF_PACKED_MEMBER now lfs_accessors.h works.

(mrg)

2020-09-07 03:12:51 UTC MAIN commitmail json YAML

remove __packed from struct netbsd32_lsdisable.  the structure
is already properly aligned (the embedded int64 already has
align(4) marker applied where needed.)

same size structure generated.

(mrg)

2020-09-07 03:09:54 UTC MAIN commitmail json YAML

2020-09-07 03:03:09 UTC MAIN commitmail json YAML

Add CPUID(EAX=07H, ECX=0) ECX bit 16 LA57 from maxv.

(msaitoh)

2020-09-07 02:28:12 UTC MAIN commitmail json YAML

Suppress -Waddress-of-packed-member just for lfs_accessors.h.

We can remove -Wno-error=address-of-packed-member from various
makefiles now.

(riastradh)

2020-09-07 02:22:27 UTC MAIN commitmail json YAML

enable -Wno-error=array-bounds for GCC 9 and hppa.  machdep.c has a
bunch of warnings that i can't workaround yet.

(mrg)

2020-09-07 01:54:26 UTC MAIN commitmail json YAML

oops, move GCC_NO_ADDR_OF_PACKED_MEMBER into the right header.

(mrg)

2020-09-07 01:35:25 UTC MAIN commitmail json YAML

avoid an uninit warning with GCC 9.

(mrg)

2020-09-07 01:15:25 UTC MAIN commitmail json YAML

wg: Use threadpool(9) and workqueue(9) for asynchronous tasks.

- Using threadpool(9) job per interface to receive incoming handshake
  messages gives the same concurrency for active interfaces but
  doesn't waste kthreads for inactive ones.

  => Can't really do this with a global workqueue(9) because there's
    no bound on the amount of time wg_receive_packets() might run
    for; we really need separate threads or threadpool jobs in order
    to avoid having one interface starve all the others.

- Using a global workqueue(9) for asynchronous peer tasks avoids
  creating unnecessary kthreads.

  => Each task does a more or less bounded amount of work, so it's OK
    to share a global workqueue -- there's no advantage to adding
    concurrency for what is almost certainly going to be CPU-bound
    asymmetric crypto.

  => This way we don't need a thread per peer or iteration over a
    list of all peers, so the task mechanism should no longer be a
    bottleneck to scaling to thousands of peers.

XXX This doesn't distribute the load across CPUs -- it keeps it on
the same CPU where the packet came in.  Should consider doing
something to balance the load -- maybe note if the current CPU is
loaded, and if so, sort CPUs by queue length or some other measure of
load and pick the least loaded one or something.

(riastradh)

2020-09-07 01:14:42 UTC MAIN commitmail json YAML

wg: Use a global pktqueue rather than a per-peer pcq.

- Improves scalability -- won't hit limit on softints no matter how
  many peers there are.
- Improves parallelism -- softint was kernel-locked to serialize
  access to the pcq.
- Requires per-peer queue on handshake init to avoid dropping first
  packet.
  . Per-peer queue is currently a single packet -- should serve well
    enough for pings, dns queries, tcp connections, &c.

(riastradh)

2020-09-07 01:08:27 UTC MAIN commitmail json YAML

threadpool: Simplify job reference-counting logic.

Use atomic_load_relaxed while here.

(riastradh)

2020-09-07 01:07:38 UTC MAIN commitmail json YAML

threadpool: Fix man page for threadpool_job_init.

This is threadpool_job_init(job, fn, interlock, fmt, args...), not
just threadpool_job_init(job, fn, interlock).

(riastradh)

2020-09-07 00:52:19 UTC MAIN commitmail json YAML

2020-09-07 00:48:45 UTC MAIN commitmail json YAML

avoid calling printf %s with NULL.  fix idea from christos.

(mrg)

2020-09-07 00:47:27 UTC MAIN commitmail json YAML

adjust some fallback code to be slightly less ugly and avoid
upsetting GCC 9.

(mrg)

2020-09-07 00:46:38 UTC MAIN commitmail json YAML

avoid a GCC stringop truncate warning.

(mrg)

2020-09-07 00:38:14 UTC MAIN commitmail json YAML

update status for several ports that now mostly build (perhaps with
some uncommited changes.)

(mrg)

2020-09-07 00:37:29 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libgcc/arch/m68000/defs.mk@1.17 / diff / nxr@1.17
src/external/gpl3/gcc/lib/libgomp/defs.mk@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libiberty/defs.mk@1.26 / diff / nxr@1.26
src/external/gpl3/gcc/usr.bin/common/defs.mk@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64/configargs.h@1.17 / diff / nxr@1.17
src/external/gpl3/gcc/usr.bin/gcc/arch/alpha/configargs.h@1.36 / diff / nxr@1.36
src/external/gpl3/gcc/usr.bin/gcc/arch/arm/configargs.h@1.39 / diff / nxr@1.39
src/external/gpl3/gcc/usr.bin/gcc/arch/earm/configargs.h@1.40 / diff / nxr@1.40
src/external/gpl3/gcc/usr.bin/gcc/arch/earmeb/configargs.h@1.34 / diff / nxr@1.34
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhf/configargs.h@1.35 / diff / nxr@1.35
src/external/gpl3/gcc/usr.bin/gcc/arch/earmhfeb/configargs.h@1.33 / diff / nxr@1.33
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4/configargs.h@1.33 / diff / nxr@1.33
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv4eb/configargs.h@1.31 / diff / nxr@1.31
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6/configargs.h@1.31 / diff / nxr@1.31
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6eb/configargs.h@1.31 / diff / nxr@1.31
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hf/configargs.h@1.31 / diff / nxr@1.31
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv6hfeb/configargs.h@1.31 / diff / nxr@1.31
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7/configargs.h@1.31 / diff / nxr@1.31
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7eb/configargs.h@1.31 / diff / nxr@1.31
src/external/gpl3/gcc/usr.bin/gcc/arch/earmv7hf/configargs.h@1.31 / diff / nxr@1.31
      :
(more 20 files)
re-gen.

(mrg)

2020-09-07 00:36:53 UTC MAIN commitmail json YAML

Avoid strict aliasing issue by using a separate buffer..

(christos)

2020-09-07 00:33:08 UTC MAIN commitmail json YAML

wg: Fix debug output now that the priority is mixed into it.

(riastradh)

2020-09-07 00:32:49 UTC MAIN commitmail json YAML

apply GCC_NO_ADDR_OF_PACKED_MEMBER

(mrg)

2020-09-07 00:32:28 UTC MAIN commitmail json YAML

don't call printf %s with a NULL.

(mrg)

2020-09-07 00:32:21 UTC MAIN commitmail json YAML

wg: Fix non-DIAGNOSTIC build.

(riastradh)

2020-09-07 00:32:00 UTC MAIN commitmail json YAML

pass a pointer conversion via uintptr_t *and* the desired type casts.
avoids new GCC 9 warnings with C++ code.

(mrg)

2020-09-07 00:31:11 UTC MAIN commitmail json YAML

avoid uninit memory and use memmove vs strncpy for a will be
truncated on purpose string.

(mrg)

2020-09-07 00:29:15 UTC MAIN commitmail json YAML

2020-09-07 00:28:44 UTC MAIN commitmail json YAML

don't pass NULL to printf(), but use "<memory>" to signify this
test is operating on an in-memory only database.

(mrg)

2020-09-07 00:26:24 UTC MAIN commitmail json YAML

2020-09-07 00:24:37 UTC MAIN commitmail json YAML

2020-09-07 00:24:17 UTC MAIN commitmail json YAML

apply -Wno-error=alloca-larger-than= for GCC 9.

(mrg)

2020-09-07 00:22:51 UTC MAIN commitmail json YAML

2020-09-07 00:19:04 UTC MAIN commitmail json YAML

2020-09-07 00:18:26 UTC MAIN commitmail json YAML

2020-09-07 00:11:48 UTC MAIN commitmail json YAML

fix unaligned access

(christos)

2020-09-06 23:23:22 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/aarch64eb/backtrace-supported.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libbacktrace/arch/aarch64eb/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/aarch64eb/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/aarch64eb/gcov-iov.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgomp/arch/aarch64eb/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgomp/arch/aarch64eb/libgomp_f.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgomp/arch/aarch64eb/omp.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libiberty/arch/aarch64eb/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libobjc/arch/aarch64eb/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libobjc/arch/aarch64eb/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/c++config.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/cxxabi_tweaks.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/gstdint.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/symver-config.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/usr.bin/common-target/arch/aarch64eb.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64eb/all-tree.def@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64eb/auto-host.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64eb/bversion.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/usr.bin/gcc/arch/aarch64eb/configargs.h@1.2 / diff / nxr@1.2
      :
(more 5 files)
mknative-gcc for gcc 9.3.0 and aarch64eb

(jakllsch)

2020-09-06 21:59:34 UTC MAIN commitmail json YAML

mark GCC 9 as (so far) netbsd 20200907 version.  this should fix the
compiler saying it is "gcc version 9.3.0 ()".

(needs mknative redo.)

(mrg)

2020-09-06 21:49:44 UTC MAIN commitmail json YAML

2020-09-06 21:49:32 UTC MAIN commitmail json YAML

2020-09-06 19:34:36 UTC MAIN commitmail json YAML

2020-09-06 19:30:54 UTC MAIN commitmail json YAML

make(1): add const to For_Eval and For_Accum

(rillig)

2020-09-06 19:28:49 UTC MAIN commitmail json YAML

make(1): clean up For_Eval

* Reduce scope of local variables.
* Remove unnecessary null character test before positive isspace call.

(rillig)

2020-09-06 19:24:12 UTC MAIN commitmail json YAML

make(1): properly initialize For structure in For_Eval

Initializing a Buffer or a strlist_t with zero-valued bytes only works
by conincidence, but because it would be the correct way.  In the code
path "missing `in' in for", that zero-filled Buffer is freed using
Buf_Destroy, which could have invoked undefined behavior.

(rillig)

2020-09-06 19:19:49 UTC MAIN commitmail json YAML

make(1): improve documentation in For_Eval

(rillig)

2020-09-06 19:18:16 UTC MAIN commitmail json YAML

make(1): fix type of For.short_var

(rillig)

2020-09-06 17:43:31 UTC MAIN commitmail json YAML

need swap for aarch64be

(ryo)

2020-09-06 17:38:10 UTC MAIN commitmail json YAML

Fix panic caused by modload. http://mail-index.netbsd.org/port-arm/2020/08/30/msg006960.html

The address space reserved for modules may not be mapped in L1-L3.

(ryo)

2020-09-06 17:22:45 UTC MAIN commitmail json YAML

uvm/uvm_extern.h, not machine/pmap.h, for pmap(9).  Sort includes.

(riastradh)

2020-09-06 17:19:47 UTC MAIN commitmail json YAML

2020-09-06 17:15:09 UTC MAIN commitmail json YAML

2020-09-06 17:06:20 UTC MAIN commitmail json YAML

2020-09-06 16:44:17 UTC MAIN commitmail json YAML

2020-09-06 16:30:41 UTC MAIN commitmail json YAML

2020-09-06 15:27:23 UTC MAIN commitmail json YAML

2020-09-06 14:58:53 UTC MAIN commitmail json YAML

2020-09-06 14:57:18 UTC MAIN commitmail json YAML

2020-09-06 14:55:34 UTC MAIN commitmail json YAML

2020-09-06 13:06:03 UTC MAIN commitmail json YAML

note that aarch64, earm*, sh3*, sparc*, vax, and x86-64 are
slightly updated in status.  x86-64 and sparc and mips64-eb
all appear to work well enough to complete or get well into
an atf run (still going.)

note first ICE segv on sh3

(mrg)

2020-09-06 10:59:51 UTC MAIN commitmail json YAML

obsolete gcc-7 dirs.  add gcc-9 dirs.

(mrg)

2020-09-06 10:55:16 UTC MAIN commitmail json YAML

2020-09-06 10:54:26 UTC MAIN commitmail json YAML

2020-09-06 10:51:20 UTC MAIN commitmail json YAML

apply ${GCC_NO_FORMAT_TRUNCATION} to scores.c

(mrg)

2020-09-06 10:50:53 UTC MAIN commitmail json YAML

build-hash-table.lo and build-vec.lo depend upon $HASH_TABLE_H not $GGC_H

(mrg)

2020-09-06 10:48:21 UTC MAIN commitmail json YAML

forward declare struct vm_page, and include uvm_prot.h and uvm_pmap.h.

fixes build, presumeably after uvm.h external rototill.

(mrg)

2020-09-06 08:18:21 UTC MAIN commitmail json YAML

remove unused NULL pointer that was passed to printf %s.

(mrg)

2020-09-06 08:15:04 UTC MAIN commitmail json YAML

use struct zero initialiser and avoid calling memset() on a pointer
of the wrong size.

(mrg)

2020-09-06 07:20:33 UTC MAIN commitmail json YAML

add support for new GCC 9 warnings that may be too much to fix
right now.  new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree.  mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it.  (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.)  clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.

(mrg)

2020-09-06 05:31:46 UTC MAIN commitmail json YAML

avoid trying to printf() a NULL as %s.  fixes likely bug.

(mrg)

2020-09-06 05:30:17 UTC MAIN commitmail json YAML

2020-09-06 04:35:03 UTC MAIN commitmail json YAML

2020-09-06 02:34:30 UTC MAIN commitmail json YAML

rework error message to never call printf() %s with NULL.

(mrg)

2020-09-06 02:34:03 UTC MAIN commitmail json YAML

avoid calling printf() %s with NULL.

(mrg)

2020-09-06 02:25:17 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/earm/backtrace-supported.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libbacktrace/arch/earm/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmeb/backtrace-supported.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libbacktrace/arch/earmeb/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmhf/backtrace-supported.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libbacktrace/arch/earmhf/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmhfeb/backtrace-supported.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libbacktrace/arch/earmhfeb/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libgcc/arch/earm/defs.mk@1.9 / diff / nxr@1.9
src/external/gpl3/gcc/lib/libgcc/arch/earmeb/defs.mk@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libgcc/arch/earmhf/defs.mk@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libgcc/arch/earmhfeb/defs.mk@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earm/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earm/gcov-iov.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmeb/gcov-iov.h@1.15 / diff / nxr@1.15
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhf/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhf/gcov-iov.h@1.15 / diff / nxr@1.15
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhfeb/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/earmhfeb/gcov-iov.h@1.15 / diff / nxr@1.15
      :
(more 104 files)
mknative-gcc for gcc 9.3.0 and earmv5*.

(mrg)

2020-09-06 02:24:38 UTC MAIN commitmail json YAML

2020-09-06 02:18:53 UTC MAIN commitmail json YAML

Fix fallout from previous uvm.h cleanup.

- pmap(9) needs uvm/uvm_extern.h.

- x86/pmap.h is not usable on its own; it is only usable if included
  via uvm/uvm_extern.h (-> uvm/uvm_pmap.h -> machine/pmap.h).

- Make nvmm.h and nvmm_internal.h standalone.

(riastradh)

2020-09-05 23:18:49 UTC MAIN commitmail json YAML

update mknative-gcc status.  everything but earmv5 is done, though
few have been tested to actually build yet.

(mrg)

2020-09-05 23:13:31 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/arm/backtrace-supported.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libbacktrace/arch/arm/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4/backtrace-supported.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4eb/backtrace-supported.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv4eb/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6eb/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6eb/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hf/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hf/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hfeb/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv6hfeb/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7eb/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7eb/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hf/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/earmv7hf/config.h@1.5 / diff / nxr@1.5
      :
(more 461 files)
mknative-gcc for gcc 9.3.0 and arm, earmv[467]*, i386, mipseb, mips64*,
and powerpc64.

(mrg)

2020-09-05 22:41:17 UTC MAIN commitmail json YAML

don't include vxworks-dummy.h twice

(mrg)

2020-09-05 22:17:13 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/README.gcc8 deleted
src/external/gpl3/gcc/README.gcc9@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libbacktrace/arch/aarch64/backtrace-supported.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libbacktrace/arch/aarch64/config.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libbacktrace/arch/alpha/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/alpha/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/hppa/backtrace-supported.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libbacktrace/arch/hppa/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/ia64/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/ia64/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/m68000/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/m68000/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/m68k/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/m68k/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/mipseb/backtrace-supported.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libbacktrace/arch/mipseb/config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/lib/libbacktrace/arch/powerpc/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/powerpc/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/riscv32/backtrace-supported.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libbacktrace/arch/riscv32/config.h@1.5 / diff / nxr@1.5
      :
(more 369 files)
mknative-gcc for gcc 9.3.0 and arm64, alpha, hppa, ia64, m68*, mipseb,
powerpc, riscv*, sh3*, sparc*, vax.

move data from README.gcc8 to README.gcc9.

(mrg)

2020-09-05 20:24:43 UTC MAIN commitmail json YAML

Fix a broken corner case of strlen()/strnlen() on aarch64eb

Previously a string such as "\x1\x1\x1\x1\x1\x1\x1" would count as
0 instead of 7 on BE.

(jakllsch)

2020-09-05 19:17:42 UTC MAIN commitmail json YAML

lists/base/mi: fix lines with 4 fields

ok mrg

(rillig)

2020-09-05 19:11:16 UTC MAIN commitmail json YAML

make(1): replay the changes from v1.283

I accidentally reverted them in v1.284.

(rillig)

2020-09-05 19:07:25 UTC MAIN commitmail json YAML

make(1): clean up comments about parsing

(rillig)

2020-09-05 18:41:59 UTC MAIN commitmail json YAML

make(1): fix comments about setting .PARSEDIR and .PARSEFILE

(rillig)

2020-09-05 18:31:03 UTC MAIN commitmail json YAML

make(1): make GetActuallyIncludingFile faster

In deeply nested includes, starting the search from the inner end is
faster since it needs fewer comparisons.

(rillig)

2020-09-05 18:18:05 UTC MAIN commitmail json YAML

2020-09-05 18:13:47 UTC MAIN commitmail json YAML

make(1): add test for .INCLUDEDFILE combined with .for loops

The .for loops are implemented as a special kind of .include, therefore
they affect the .INCLUDEDFROM variable.

(rillig)

2020-09-05 18:01:42 UTC MAIN commitmail json YAML

2020-09-05 17:49:26 UTC MAIN commitmail json YAML

aarch64: switch CPU to the kernel's byte order during boot

(jakllsch)

2020-09-05 17:33:11 UTC MAIN commitmail json YAML

Suppress pool redzone message unless booted with debug.

(riastradh)

2020-09-05 16:59:20 UTC MAIN commitmail json YAML

make(1): make test for .INCLUDEDFROMDIR simpler

The .info and .warning directives provide exactly the early expansion
that this test needs.  No more .for for getting a snapshot of a
variable.

(rillig)

2020-09-05 16:44:54 UTC MAIN commitmail json YAML

Adjust aarch64 bus_space tags to also work on aarch64eb

(jakllsch)

2020-09-05 16:30:13 UTC MAIN commitmail json YAML

Round of uvm.h cleanup.

The poorly named uvm.h is generally supposed to be for uvm-internal
users only.

- Narrow it to files that actually need it -- mostly files that need
  to query whether curlwp is the pagedaemon, which should maybe be
  exposed by an external header.

- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
  by it.  We should split up uvm_extern.h but this will serve for now
  to reduce the uvm.h dependencies.

- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
  UVMHIST(ubchist), since ubchist is declared in uvm.h but the
  reference evaporates if UVMHIST is not defined, so we reduce header
  file dependencies.

- Make uvm_device.h and uvm_swap.h independently includable while
  here.

ok chs@

(riastradh)

2020-09-05 16:29:08 UTC MAIN commitmail json YAML

- Document all of the various interrupt levels in the Processor Stataus
  register, and provide symbolic names for them as well.
- Use ALPHA_PSL_IPL_* values directly for IPL_*.

(thorpej)

2020-09-05 16:04:31 UTC MAIN commitmail json YAML

Add missing prototypes for __bs_c(f,_bs_sm_?_swap)

(implementations of these already exist for aarch64)

(jakllsch)

2020-09-05 15:59:09 UTC MAIN commitmail json YAML

AArch64 instructions are always LE: swap if we're BE

(jakllsch)

2020-09-05 15:57:13 UTC MAIN commitmail json YAML

2020-09-05 15:12:04 UTC MAIN commitmail json YAML

make(1): fix local variable type in ParseIsEscaped

(rillig)

2020-09-05 15:05:08 UTC MAIN commitmail json YAML

make(1): fix return type of ParseIsEscaped

(rillig)

2020-09-05 15:04:09 UTC MAIN commitmail json YAML

make(1): remove redundant prototype for ParseMark

(rillig)

2020-09-05 14:58:07 UTC MAIN commitmail json YAML

make(1): remove redundant prototypes for local functions from parse.c

(rillig)

2020-09-05 14:24:26 UTC MAIN commitmail json YAML

2020-09-05 13:55:08 UTC MAIN commitmail json YAML

make(1): remove initial size argument from Hash_InitTable

In all but one case this argument was set to auto-detect anyway.  The
one case where it was set was not worth keeping this complicated API.

(rillig)

2020-09-05 13:41:02 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/x86_64/backtrace-supported.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libbacktrace/arch/x86_64/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/arch/x86_64/defs.mk@1.12 / diff / nxr@1.12
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/x86_64/defs.mk@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/x86_64/gcov-iov.h@1.16 / diff / nxr@1.16
src/external/gpl3/gcc/lib/libgomp/arch/x86_64/config.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgomp/arch/x86_64/libgomp_f.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libgomp/arch/x86_64/omp.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libgomp/defs.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libiberty/arch/x86_64/config.h@1.8 / diff / nxr@1.8
src/external/gpl3/gcc/lib/libobjc/arch/x86_64/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libobjc/arch/x86_64/defs.mk@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64/c++config.h@1.39 / diff / nxr@1.39
src/external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64/cxxabi_tweaks.h@1.7 / diff / nxr@1.7
src/external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64/defs.mk@1.17 / diff / nxr@1.17
src/external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64/gstdint.h@1.25 / diff / nxr@1.25
src/external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64/symver-config.h@1.6 / diff / nxr@1.6
src/external/gpl3/gcc/usr.bin/common-target/arch/x86_64.mk@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/usr.bin/common/defs.mk@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/usr.bin/gcc/arch/x86_64/all-tree.def@1.3 / diff / nxr@1.3
      :
(more 10 files)
mknative-gcc for gcc 9.3.0 and amd64.

the tree has quite a number of issues to resolve before it builds.

(mrg)

2020-09-05 13:38:43 UTC MAIN commitmail json YAML

disable -Wabi for GCC 9.

(mrg)

2020-09-05 13:38:24 UTC MAIN commitmail json YAML

avoid passing NULL pointers to printf() like functions and %s.

(mrg)

2020-09-05 13:37:59 UTC MAIN commitmail json YAML

make the 2nd argument to __memmove_chk() const

(mrg)

2020-09-05 13:36:49 UTC MAIN commitmail json YAML

work around various headers not being fully open without some
special #define being present (ie, define them.)

(mrg)

2020-09-05 13:36:25 UTC MAIN commitmail json YAML

make(1): make Hash_Table independent from -funsigned-char

This only makes a difference for Hash_Table keys outside the ASCII
character set, and these are barely used in practice, if at all.

The effects of this change can only be seen in debug mode, when printing
the full contents of the variable namespaces.  In this output, the order
of the entries might change.

All other use cases stay the same as before.

(rillig)

2020-09-05 13:35:55 UTC MAIN commitmail json YAML

2020-09-05 13:35:24 UTC MAIN commitmail json YAML

avoid always passing NULL to printf()-like functions

(mrg)

2020-09-05 13:34:19 UTC MAIN commitmail json YAML

make(1): add expected test result for hashing variable names

(rillig)

2020-09-05 12:59:07 UTC MAIN commitmail json YAML

make(1): add test for intentional hash collision for variable names

Hash collisions may slow down make in certain special situations.  There
is no point though in maliciously triggering such a situation since
anyone who can inject values into makefiles can easily run shell
commands using the :!cmd! modifier or similar mechanisms.  Crafting
variable names just to slow down make is thus not an attack vector.

(rillig)

2020-09-05 12:19:25 UTC MAIN commitmail json YAML

2020-09-05 11:40:56 UTC MAIN commitmail json YAML

2020-09-05 11:13:07 UTC MAIN commitmail json YAML

add distrib/sets/fmt-list to format the file lists consistently

This program is much more complicated than sort-list in the same
directory.  It takes care of aligning the fields of the lines so that
lines from the same directory are aligned to each other.  This reduces
horizontal jumps for the category and flags fields.

(rillig)

2020-09-05 11:00:18 UTC MAIN commitmail json YAML

fix alignment in ad.sh3

(rillig)

2020-09-05 10:58:08 UTC MAIN commitmail json YAML

disable fetching stuff from libsanitizer for now.  it needs libstdc++
to build in mknative using gcc makefiles, and our locale changes break
the "normal" build of this.

make sure MKNATIVE_TARGET is always set.  since mknative-gcc doesn't
care about the version any more (we keep two versions for gcc/gcc.old)
simply set it to "gcc".

(mrg)

2020-09-05 09:50:16 UTC MAIN commitmail json YAML

2020-09-05 09:49:33 UTC MAIN commitmail json YAML

pull out a few more things for GCC 9.

(mrg)

2020-09-05 09:16:46 UTC MAIN commitmail json YAML

2020-09-05 09:12:34 UTC MAIN commitmail json YAML

2020-09-05 07:45:45 UTC MAIN commitmail json YAML

x86: fix several CPUID flags

- Rename: CPUID_PN      -> CPUID_PSN
          CPUID_CFLUSH  -> CPUID_CLFSH
          CPUID_SBF    -> CPUID_PBE
          CPUID_LZCNT  -> CPUID_ABM
          CPUID_P1GB    -> CPUID_PAGE1GB
          CPUID2_PCLMUL -> CPUID2_PCLMULQDQ
          CPUID2_CID    -> CPUID2_CNXTID
          CPUID2_xTPR  -> CPUID2_XTPR
          CPUID2_AES    -> CPUID2_AESNI
  To match the x86 specification and the other OSes.

- Remove: CPUID_B10, CPUID_B20, CPUID_IA64. They do not exist.

(maxv)

2020-09-05 07:26:38 UTC MAIN commitmail json YAML

2020-09-05 07:22:26 UTC MAIN commitmail json YAML

2020-09-05 06:46:13 UTC MAIN commitmail json YAML

2020-09-05 06:36:40 UTC MAIN commitmail json YAML

2020-09-05 06:25:38 UTC MAIN commitmail json YAML

make(1): fix test for the MAKEFILE variable

That test had assumed that it would always be run with CURDIR ==
PARSEDIR, which is not the case for ./build.sh.

(rillig)

2020-09-05 06:20:51 UTC MAIN commitmail json YAML

2020-09-05 04:11:10 UTC MAIN commitmail json YAML

2020-09-05 03:47:16 UTC MAIN commitmail json YAML

2020-09-05 02:55:39 UTC MAIN commitmail json YAML

Revert "ufs: Prevent mkdir from choking on deleted directories."

This change made no sense and should not have been committed.

(riastradh)

2020-09-05 02:47:49 UTC MAIN commitmail json YAML

ufs: Prevent mkdir from choking on deleted directories.

Fix some missing uvm_vnp_setsize in screw cases while here.

(riastradh)

2020-09-05 02:47:04 UTC MAIN commitmail json YAML

genfs_rename: Fix deadlocks in cross-directory cyclic rename.

Reproducer:

A: for (;;) { mkdir("c", 0600); mkdir("c/d", 0600); mkdir("c/d/e", 0600);
    rmdir("c/d/e"); rmdir("c/d"); }
B: for (;;) { mkdir("c", 0600); mkdir("c/d", 0600); mkdir("c/d/e", 0600);
    rename("c", "c/d/e"); }
C: for (;;) { mkdir("c", 0600); mkdir("c/d", 0600); mkdir("c/d/e", 0600);
    rename("c/d/e", "c"); }

Deadlock:

- A holds c and wants to lock d; and either
- B holds . and d and wants to lock c, or
- C holds . and d and wants to lock c.

The problem with these is that genfs_rename_enter_separate in B or C
tried lock order .->d->c->e (in A/B, fdvp->tdvp->fvp->tvp; in A/C,
tdvp->fdvp->tvp->fvp) which violates the ancestor->descendant order
.->c->d->e.

The resolution is to change B to do fdvp->fvp->tdvp->tvp and C to do
tdvp->tvp->fdvp->fvp.  But there's an edge case: tvp and fvp might be
the same (hard links), and we can't detect that until after we've
looked them both up -- and in some file systems (I'm looking at you,
ufs), there is no mere lookup operation, only lookup-and-lock, so we
can't even hold the lock on one of tvp or fvp when we look up the
other one if there's a chance they might be the same.

Fortunately the cases
(a) tvp = fvp
(b) tvp or fvp is a directory
are mutually exclusive as long as directories cannot be hard-linked.
In case (a) we can just defer locking {tvp, fvp} until the end, because
it can't possibly have {fdvp or fvp, tdvp or tvp} as descendants.  In
case (b) we can just lock them in the order fdvp->fvp->tdvp->tvp or
tdvp->tvp->fdvp->fvp if the first one of {fvp, tvp} is a directory,
because it can't possibly coincide with the second one of {fvp, tvp}.

With this change, we can now prove that the locking order is consistent
with the ancestor->descendant partial ordering.  Where two nodes are
incommensurate under that partial ordering, they are only ever locked
by rename and there is only ever one rename at a time.

Proof:

- For same-directory renames, genfs_rename_enter_common locks the
  directory first and then the children.  The order
  directory->child[i] is consistent with ancestor->descendant and
  child[0]/child[1] are incommensurate.

- For cross-directory renames:

  . While a rename is in progress and the fs-wide rename lock is held,
    directories can be created or removed but not changed, so the
    outcome of gro_genealogy -- which, given fdvp and tdvp, returns
    the node N relating fdvp/N/.../tdvp or null if there is none --
    can only transition from finding N to not finding N, if one of
    the directories is removed while any of the vnodes are unlocked.
    Merely creating directories cannot change the ancestry of tdvp,
    and concurrent renames are not possible.

    Thus, if a gro_genealogy determined the operation to have the
    form fdvp/N/.../tdvp, then it might cease to have that form, but
    only because tdvp was removed which will harmlessly cause the
    rename to fail later on.  Similarly, if gro_genealogy determined
    the operation _not_ to have the form fdvp/N/.../tdvp then it
    can't begin to have that form until after the rename has
    completed.

    The lock order is,

    => for fdvp/.../tdvp:
      1. lock fdvp
      2. lookup(/lock/unlock) fvp (consistent with fdvp->fvp)
      3. lock fvp if a directory (consistent with fdvp->fvp)
      4. lock tdvp (consistent with fdvp->tdvp and possibly fvp->tdvp)
      5. lookup(/lock/unlock) tvp (consistent with tdvp->tvp)
      6. lock fvp if a nondirectory (fvp->t* or fvp->fdvp is impossible)
      7. lock tvp if not fvp (tvp->f* is impossible unless tvp=fvp)

    => for incommensurate fdvp & tdvp, or for tdvp/.../fdvp:
      1. lock tdvp
      2. lookup(/lock/unlock) tvp (consistent with tdvp->tvp)
      3. lock tvp if a directory (consistent with tdvp->tvp)
      4. lock fdvp (either incommensurate with tdvp and/or tvp, or
          consistent with tdvp(->tvp)->fdvp)
      5. lookup(/lock/unlock) fvp (consistent with fdvp->fvp)
      6. lock tvp if a nondirectory (tvp->f* or tvp->tdvp is impossible)
      7. lock fvp if not tvp (fvp->t* is impossible unless fvp=tvp)

Deadlocks found by hannken@; resolution worked out with dholland@.

XXX I think we could improve concurrency somewhat -- with a likely
big win for applications like tar and rsync that create many files
with temporary names and then rename them to the permanent one in the
same directory -- by making vfs_renamelock a reader/writer lock: any
number of same-directory renames, or exactly one cross-directory
rename, at any one time.

(riastradh)

2020-09-05 02:45:23 UTC MAIN commitmail json YAML

tests/fs/vfs/t_renamerace: Test a screw case hannken@ found.

(riastradh)

2020-09-05 01:28:18 UTC MAIN commitmail json YAML

2020-09-05 01:02:02 UTC MAIN commitmail json YAML

Build GENERIC with debug symbols, not just GENERIC.MP.

(thorpej)

2020-09-05 00:58:59 UTC MAIN commitmail json YAML

Remove the RAWHIDE kernel; there is not need to keep it around.

(thorpej)

2020-09-04 21:08:44 UTC MAIN commitmail json YAML

make(1): rename local functions for parsing conditions

The word "get" implies a cheap operation without side effects.  Parsing
instead has lots of side effects, even if it's only that the parsing
position is updated.

(rillig)

2020-09-04 20:51:01 UTC MAIN commitmail json YAML

make(1): migrate get_mpt_arg to Var_ParsePP

This part is covered well by the unit tests.  When I forgot to decrement
the linePtr, several of them failed reliably.

(rillig)

2020-09-04 20:32:34 UTC MAIN commitmail json YAML

make(1): migrate Var_Parse in CondGetArg to Var_ParsePP

(rillig)

2020-09-04 20:28:16 UTC MAIN commitmail json YAML

make(1): add more explanation for undefined variable expressions

(rillig)

2020-09-04 19:03:38 UTC MAIN commitmail json YAML

make(1): re-enable the archive test

The test had failed in the releng build because it assumed it were run
with .CURDIR == .PARSEDIR.  This assumption is true when the tests are
run directly from usr.bin/make, but not when they are run from
tests/usr.bin/make.

(rillig)

2020-09-04 18:54:33 UTC netbsd-9 commitmail json YAML

2020-09-04 18:53:43 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1076):

sys/dev/nvmm/x86/nvmm_x86_svm.c: revision 1.75
sys/arch/x86/include/specialreg.h: revision 1.172
sys/dev/nvmm/x86/nvmm_x86_vmx.c: revision 1.72

nvmm-x86-vmx: fix detection of the BIOS lock

If it's locked, ensure it's locked with VMX enabled. If it's not locked,
then lock it ourselves with VMX enabled.

Should fix NetBSD PR/55596.

-

Add a few more CPUID flags.

-

nvmm-x86-svm: check the SVM revision
Only revision 1 exists, but check it, for future-proofness.

(martin)

2020-09-04 17:59:37 UTC MAIN commitmail json YAML

make(1): use a stack instead of a list for the nested include path

By using a Stack instead of a Lst, the available API is reduced to the
very few functions that are really needed for a stack.  This prevents
accidental misuse (such as confusing Lst_Append with Lst_Prepend) and
clearly communicates what the expected behavior is.

A stack also needs fewer calls to bmake_malloc than an equally-sized
list, and the memory is contiguous.  For the nested include path, all
this doesn't matter, but the type is so generic that it may be used in
other places as well.

(rillig)

2020-09-04 17:35:00 UTC MAIN commitmail json YAML

make(1): unexport For_Iterate

By convention, exported functions have an underscore, and static
functions don't.

(rillig)

2020-09-04 17:09:03 UTC MAIN commitmail json YAML

nvmm-x86: improve the CPUID emulation

- Mask DTES64, DS_CPL, CID, SDBG, xTPR, PN.
- B10, B20 and IA64 do not exist, so just remove them.

(maxv)

2020-09-04 17:08:01 UTC MAIN commitmail json YAML

nvmm: more __read_mostly

(maxv)

2020-09-04 17:07:33 UTC MAIN commitmail json YAML

nvmm-x86-vmx: improve the handling of CR0

- Flush the guest TLB when certain CR0 bits change.
- If the guest updates a static bit in CR0, then reflect the change in
  VMCS_CR0_SHADOW, for the guest to get the illusion that the change was
  applied. The "real" CR0 static bits remain unchanged.
- In vmx_vcpu_{g,s}et_state(), take VMCS_CR0_SHADOW into account.
- Slightly modify the CR4 handling code, just for more symmetry with CR0.

(maxv)

2020-09-04 17:06:23 UTC MAIN commitmail json YAML

nvmm-x86-svm: check the SVM revision

Only revision 1 exists, but check it, for future-proofness.

(maxv)

2020-09-04 17:05:39 UTC MAIN commitmail json YAML

2020-09-04 17:05:09 UTC MAIN commitmail json YAML

Add a few more CPUID flags.

(maxv)

2020-09-04 17:03:17 UTC MAIN commitmail json YAML

make(1): fix expected file for archive test

This test is currently disabled, therefore it didn't fail immediately.

(rillig)

2020-09-04 15:50:10 UTC MAIN commitmail json YAML

Put the MI cpu_data at the beginning of cpu_info so that it is
cache line aligned.

(thorpej)

2020-09-04 13:39:51 UTC MAIN commitmail json YAML

clean up file lists

- remove trailing whitespace
- remove empty line
- remove typo "htm\tl", that line is repeated

(rillig)

2020-09-04 12:09:00 UTC MAIN commitmail json YAML

add missing RCS Id line to lists/xserver/md.evbmips

(rillig)

2020-09-04 12:02:20 UTC MAIN commitmail json YAML

sort file lists with error checking, use lowercase variable name

(rillig)

2020-09-04 11:43:50 UTC MAIN commitmail json YAML

re-indent and sort distrib/sets/lists/tests/mi

This way, the fields 2 and 3 don't jump horizontally as often as before,
which makes the appearance of the whole file as calm and organized as it
should be.

(rillig)

2020-09-04 08:17:53 UTC MAIN commitmail json YAML

include machine/vmparam.h vs mips/vmparam.h to make sure we get
platform-specific defines first.

fixes build issue for playstation2.

(mrg)

2020-09-04 06:54:07 UTC MAIN commitmail json YAML

make(1): add test for :hash returning ffffffff

In the previous brute force search, it seemed there was no string with
that hash code.  That was probably an oversight or a little programming
mistake.  Anyway, it's possible to get that hash value, so keep the
example.

(rillig)

2020-09-04 06:12:16 UTC MAIN commitmail json YAML

Fix build of INSTALL kernel which doesn't have DDB

(skrll)

2020-09-04 05:23:25 UTC MAIN commitmail json YAML

make(1): extend tests for the :hash variable modifier

The previous test vectors didn't contain any hash with a leading zero.
This could have been a simple programming mistake by using %8x instead
of the intended %08x.  Using snprintf wouldn't have been possible anyway
since the hex digits are printed in little-endian order, but without
reversing the bits of each digit.  Kind of unusual, but doesn't affect
the distribution of the hashes.

(rillig)

2020-09-04 04:09:52 UTC MAIN commitmail json YAML

Save a few instructions every time we manipulate pcb::pcb_onfault.

(thorpej)

2020-09-04 03:53:12 UTC MAIN commitmail json YAML

Use SysValue to store curlwp rather than curcpu.  curlwp is acceessed
much more frequently, and this makes curlwp preemption-safe.

(thorpej)

2020-09-04 03:41:49 UTC MAIN commitmail json YAML

2020-09-04 03:36:44 UTC MAIN commitmail json YAML

2020-09-04 02:59:44 UTC MAIN commitmail json YAML

Missed one in last change.

(thorpej)

2020-09-04 02:58:19 UTC MAIN commitmail json YAML

Garbage-collect GET_CPUINFO; it's no longer used.

(thorpej)

2020-09-04 02:54:56 UTC MAIN commitmail json YAML

- Make the GET_CURLWP actually return curlwp, not &curlwp.
- exception_return(): Use GET_CURLWP directly, rather than a dance
  acount GET_CPUINFO.
- Introduce SET_CURLWP(), to set the curlwp value.
- Garbage-collect GET_FPCURLWP.

(thorpej)

2020-09-04 02:30:46 UTC MAIN commitmail json YAML

src/external/gpl3/gcc.old/lib/libbacktrace/arch/aarch64eb/backtrace-supported.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libbacktrace/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libgcc/arch/aarch64eb/auto-target.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libgcc/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libgcc/arch/aarch64eb/gthr-defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libgcc/libgcov/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libgcc/libgcov/arch/aarch64eb/gcov-iov.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libgomp/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libgomp/arch/aarch64eb/libgomp.spec@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libgomp/arch/aarch64eb/libgomp_f.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libgomp/arch/aarch64eb/omp.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libiberty/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libobjc/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libobjc/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/aarch64eb/c++config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/aarch64eb/cxxabi_tweaks.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/aarch64eb/gstdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/lib/libstdc++-v3/arch/aarch64eb/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc.old/usr.bin/common-target/arch/aarch64eb.mk@1.1 / diff / nxr@1.1
      :
(more 15 files)
Native GCC (old) for aarch64eb

(jakllsch)

2020-09-04 02:29:56 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libbacktrace/arch/aarch64eb/backtrace-supported.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libbacktrace/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/aarch64eb/auto-target.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/arch/aarch64eb/gthr-defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgcc/libgcov/arch/aarch64eb/gcov-iov.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/aarch64eb/libgomp.spec@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/aarch64eb/libgomp_f.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libgomp/arch/aarch64eb/omp.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libiberty/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libobjc/arch/aarch64eb/config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libobjc/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/c++config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/cxxabi_tweaks.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/defs.mk@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/gstdint.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/lib/libstdc++-v3/arch/aarch64eb/symver-config.h@1.1 / diff / nxr@1.1
src/external/gpl3/gcc/usr.bin/common-target/arch/aarch64eb.mk@1.1 / diff / nxr@1.1
      :
(more 15 files)
Native GCC (new) for aarch64eb

(jakllsch)

2020-09-04 02:27:39 UTC MAIN commitmail json YAML

Build driver-aarch64.c for both endians of aarch64

(jakllsch)

2020-09-04 02:26:57 UTC MAIN commitmail json YAML

Build driver-aarch64.c for both endians of aarch64

(jakllsch)

2020-09-04 02:24:58 UTC MAIN commitmail json YAML

2020-09-04 02:21:49 UTC MAIN commitmail json YAML

Link evbarm/aarch64eb kernels in big endian mode

(jakllsch)

2020-09-04 02:15:52 UTC MAIN commitmail json YAML

Only build bootaa64.efi on LE aarch64 for now, to match set lists

(jakllsch)

2020-09-04 01:57:29 UTC MAIN commitmail json YAML

Shuffle fields in cpu_info for better cache behavior.
XXX More changes to come after curlwp is overhauled.

(thorpej)

2020-09-04 01:56:29 UTC MAIN commitmail json YAML

Decorate some symbols with the appropriate things for better cache
behavior.  Assert that cpu_infos are cache line aligned.

(thorpej)

2020-09-04 00:36:07 UTC MAIN commitmail json YAML

Allow ths file to be included by a _KMEMUSER.

(thorpej)

2020-09-03 22:56:11 UTC MAIN commitmail json YAML

Define COHERENCY_UNIT and CACHE_LINE_SIZE as 64, which is the primary cache
line size on EV6 / EV7.  This is also the default MI fallback definition,
but now we're not relying on that value.

(thorpej)

2020-09-03 19:50:15 UTC MAIN commitmail json YAML

make(1): add test for expansion of indirect variables in dependencies

(rillig)

2020-09-03 19:31:34 UTC MAIN commitmail json YAML

If we hit an unknown header type (likely to be a corrupt record), and
the user choose to not abort, skip to the next header instead of trying
to use it.
This allowed me to recover files from a corrupt dump, instead of
getting a segfault.

(bouyer)

2020-09-03 19:10:56 UTC MAIN commitmail json YAML

make: extend test for unresolved variables in dependencies

This is to ensure that the upcoming refactoring of Var_Parse in
SuffExpandChildren does not break anything.

(rillig)

2020-09-03 18:59:33 UTC MAIN commitmail json YAML

Treat aarch64 and aarch64eb identically with regard to ld.so.conf

(jakllsch)