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

2024-06-03 02:16:19 UTC Now

2019-04-10 04:10:54 UTC MAIN commitmail json YAML

2019-04-10 04:06:53 UTC MAIN commitmail json YAML

Avoid a maybe-uninitialized warning by checking for an error return
that might indicate that 'len' was not initialized.

(thorpej)

2019-04-10 03:39:34 UTC MAIN commitmail json YAML

2019-04-10 00:49:49 UTC MAIN commitmail json YAML

Include CARP support by default

(sevan)

2019-04-10 00:35:25 UTC MAIN commitmail json YAML

2019-04-10 00:32:15 UTC MAIN commitmail json YAML

Include npf_boot rc.d scripts which loads an interim config early in boot.
By default /etc/default/npf.boot.conf which can be overriden by /etc/npf.boot.conf.

(sevan)

2019-04-10 00:18:39 UTC MAIN commitmail json YAML

typo, you don't need to specify a prefix & mask

(sevan)

2019-04-09 22:38:25 UTC MAIN commitmail json YAML

Add a commented out entry for CARP

(sevan)

2019-04-09 22:05:27 UTC MAIN commitmail json YAML

defparam all of the config variables associated with SYSV IPC stuff.
The variables were removed from sys/conf/param.c and moved into the
SYSV IPC code, but config options were never propagated via any opt_*
file.

This should fix an issue reported on netbsd-users list from Dima Veselov.

Note that this does not address other parameters included in that report,
including CHILD_MAX and NOFILE; this commit only affects items related to
the SYSV IPC code.  Also note that this does not affect non-built-in
sysv_ipc modules, for which you need to update the Makefile to use any
non-standard config values - just like any other non-built-in modules
which have config params.

XXX Pull-up to -8 and -8-0

XXX Note that there are a couple of panic() calls in msginit() which
XXX really should be changed to simple printf() and then result in
XXX msginit failure.  Unfortunately msginit() currently doesn't return
XXX a value so we cannot indicate failure to the caller.  I will fix
XXX this is a future commit.

(pgoyette)

2019-04-09 19:10:21 UTC MAIN commitmail json YAML

2019-04-09 18:28:10 UTC MAIN commitmail json YAML

ParseDoDependency: free paths rather than assert

PR: 52737
Reviewed by: christos

(sjg)

2019-04-09 18:22:33 UTC MAIN commitmail json YAML

2019-04-09 18:21:15 UTC MAIN commitmail json YAML

2019-04-09 17:00:38 UTC MAIN commitmail json YAML

Use MIN_PAGE_SHIFT if PAGE_SHIFT is not available instead of MAX_PAGE_SHIFT.

(christos)

2019-04-09 14:47:15 UTC MAIN commitmail json YAML

Need pthread for all the mtx_lock.

(maya)

2019-04-09 14:31:07 UTC MAIN commitmail json YAML

Expand all @@ things in pkgconfig file.
claim TLS.
pick up the list of private libs from pkgsrc mesalib
GL_LIB got renamed to GL_PKGCONF_LIB.

(maya)

2019-04-09 14:14:59 UTC MAIN commitmail json YAML

2019-04-09 13:53:52 UTC MAIN commitmail json YAML

Add instructions on how to determine the scheduler in use.

(sevan)

2019-04-09 13:25:07 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2019-04-09 11:28:45 UTC MAIN commitmail json YAML

2019-04-09 09:03:41 UTC MAIN commitmail json YAML

mention that -B is used to set the timeout for mbr_bootsel

(tnn)

2019-04-09 07:37:16 UTC MAIN commitmail json YAML

EXYNOS5422_DISABLE_CA7_CLUSTER isn't required anymore

(skrll)

2019-04-09 07:23:41 UTC MAIN commitmail json YAML

Fix a bug that media setting for fiber didn't work correctly. Not tested.
The BUGS section in gem(4) manpage says:

> BUGS
(snip)
>      On the SX fibre variants of the hardware, the link will stay down if
>      there is a duplex mismatch.  Also, packet transmission may fail when in
>      half-duplex mode.

Is the bug related to this fix?

(msaitoh)

2019-04-09 06:19:34 UTC MAIN commitmail json YAML

Make it compilable with IX_DEBUG.

(msaitoh)

2019-04-09 06:15:21 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2019-04-09 06:00:08 UTC MAIN commitmail json YAML

Make it compilable with EF_DEBUG.

(msaitoh)

2019-04-09 05:59:24 UTC MAIN commitmail json YAML

Fix softc size in CFATTACH_DECL_NEW

(skrll)

2019-04-09 05:59:15 UTC MAIN commitmail json YAML

- Use the correct function name for the panic message.
- KNF.

(msaitoh)

2019-04-09 05:25:14 UTC MAIN commitmail json YAML

Make it compilable with AI_DEBUG.

(msaitoh)

2019-04-09 05:24:07 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2019-04-09 04:04:04 UTC MAIN commitmail json YAML

Fix a bug that the supported media can't passed correctly. Not tested.

(msaitoh)

2019-04-09 03:56:08 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2019-04-09 00:36:55 UTC MAIN commitmail json YAML

Fix previous.  P is the final (relocated) address not just the offset.

(uwe)

2019-04-09 00:16:30 UTC MAIN commitmail json YAML

Support R_SH_REL32 (encountered in .eh_frame).

(uwe)

2019-04-08 21:18:22 UTC MAIN commitmail json YAML

- free empty page tables pages if reach a certain usage.
- need to lock at removing an old pg (_pmap_remove_pv) in _pmap_enter()

(ryo)

2019-04-08 20:18:15 UTC MAIN commitmail json YAML

Offer a potential workaround to the caveat.

(sevan)

2019-04-08 18:50:52 UTC MAIN commitmail json YAML

The typecnt refers the to ttis array and the timecnt refers to the type array.
The types array can have 0 elements (i.e. timecnt == 0), but the ttis array
needs to have one element (typecnt >= 1). Need to revisit and take into
account the types array.

(christos)

2019-04-08 18:38:45 UTC MAIN commitmail json YAML

Reset so_cred to NULL after freeing it, because close() may leave the PCB
in pcblist, and we don't want a future lookup (via eg netstat) to read
freed data.

Detected by KASAN, reported by Alexander Nasonov.

(maxv)

2019-04-08 18:30:55 UTC MAIN commitmail json YAML

Switch to MODULE_CLASS_MISC, from pgoyette@.

(maxv)

2019-04-08 18:23:47 UTC MAIN commitmail json YAML

Don't forget to call (*machine_destroy) when killing VMs.

(maxv)

2019-04-08 18:21:42 UTC MAIN commitmail json YAML

Use the fd_clone approach, to avoid losing references to the registered
VMs during fork(). We attach an nvmm_owner struct to the fd, reference it
in each VM, and identify the process' VMs by just comparing the pointer.

(maxv)

2019-04-08 15:35:57 UTC MAIN commitmail json YAML

Fix minor bugs.
- sc_lock should use an adaptive lock.
- yds_round_blocksize: fix typo.
- yds_trigger_output: fix typo. SlotControlData is pbankoff.
  ptbloff points to ControlData.
- yds_halt_input: fix wrong and extra sc_rec.intr.

(isaki)

2019-04-08 14:48:33 UTC MAIN commitmail json YAML

White space -> TAB, fix indent, and add RCS Id.
No functional changes intended.

(isaki)

2019-04-08 14:08:16 UTC MAIN commitmail json YAML

Add the R_ALPHA_BRSGP relocation type.

(thorpej)

2019-04-08 13:30:46 UTC MAIN commitmail json YAML

Remove superfluous comma. Try improving a sentence. Remove duplicate sentence.

(wiz)

2019-04-08 13:05:23 UTC MAIN commitmail json YAML

Update comment to match existing function name.

(maya)

2019-04-08 13:04:54 UTC MAIN commitmail json YAML

Update to reference the newer (committed long ago) API.

With comments from Rocky Hotas on netbsd-docs, thanks.

(maya)

2019-04-08 11:32:49 UTC MAIN commitmail json YAML

Improve kernel module validation.  First, set a limit on how much of the
module name field to check when validation name's length.  Second, check
the module's mi_class to ensure it is valid.

Update the commenet in sys/module.h to indicate that the module classes
are now being validated.

(pgoyette)

2019-04-08 11:02:58 UTC MAIN commitmail json YAML

Add a MODULE_CLASS_MAX value to the enum

(pgoyette)

2019-04-08 10:47:16 UTC MAIN commitmail json YAML

Split the description for EINVAL into two pieces, one for each operation
that can generate the error.

(pgoyette)

2019-04-08 07:58:45 UTC MAIN commitmail json YAML

2019-04-08 07:35:32 UTC MAIN commitmail json YAML

2019-04-08 03:56:08 UTC MAIN commitmail json YAML

Make it compilable with BNX_DEBUG.

(msaitoh)

2019-04-08 00:47:21 UTC MAIN commitmail json YAML

2019-04-07 22:32:10 UTC MAIN commitmail json YAML

Make explicit note that MODULE_CLASS_ANY should note be used as the
class of a MODULE().  MODULE_CLASS_ANY is intended only to indicate
a "wildcard" match when (auto)loading modules.

(pgoyette)

2019-04-07 22:31:54 UTC MAIN commitmail json YAML

don't print ???, requested by kre@

(christos)

2019-04-07 22:23:40 UTC MAIN commitmail json YAML

npf.conf(5): Add more info about ifaddrs().

(rmind)

2019-04-07 21:01:43 UTC MAIN commitmail json YAML

Switch kcov module class to MODULE_CLASS_MISC

MODULE_CLASS_ANY is not intended to be used by modules.

Noted by <pgoyette>

(kamil)

2019-04-07 20:28:55 UTC MAIN commitmail json YAML

2019-04-07 20:28:41 UTC MAIN commitmail json YAML

Remove unused definitions.

(These appear to have existed in old-drm)

(maya)

2019-04-07 19:35:43 UTC MAIN commitmail json YAML

2019-04-07 19:35:14 UTC MAIN commitmail json YAML

- we re-define u{int,short,char} in types.h
- handle lint

(christos)

2019-04-07 19:34:18 UTC MAIN commitmail json YAML

2019-04-07 19:32:24 UTC MAIN commitmail json YAML

Add -r so that we get the location of redefinitions

(christos)

2019-04-07 19:31:38 UTC MAIN commitmail json YAML

make trap 0x70 a TRAP() not UTRAP().  we should be able to handle
fast ECC error as a normal trap, and i saw this once a few years
ago but it never repeated so i haven't been able to test this.

(mrg)

2019-04-07 17:46:50 UTC MAIN commitmail json YAML

If Command List Override is not supported by the controller, the FIS setting
the WDC_RST bit will fail if the drive already has BSY or DRQ set.
In this case, reset the channel and retry the drive reset.
With this, the drive reset will succeed after a atactl sleep command on
a controller without the CLO feature.

(bouyer)

2019-04-07 17:31:32 UTC MAIN commitmail json YAML

2019-04-07 16:27:41 UTC MAIN commitmail json YAML

Exclude references to _ucas_{32,64}_mp() for _RUMPKERNEL.

(thorpej)

2019-04-07 15:50:13 UTC MAIN commitmail json YAML

Add a test to make sure an overflowing-into-kernel-space  fetch/store near
vm_max_address fails with EFAULT.

(thorpej)

2019-04-07 15:44:44 UTC MAIN commitmail json YAML

Call com_init_regs() in eumbcnattach() to set up com port register mapping.
Fixes broken console output after changes to remove COM_REGMAP.

(jdc)

2019-04-07 15:34:47 UTC MAIN commitmail json YAML

2019-04-07 14:58:25 UTC MAIN commitmail json YAML

only need to initialize the first type.

(christos)

2019-04-07 14:51:15 UTC MAIN commitmail json YAML

Don't try to print NULL if we can't get a timezone name. First we try dst,
then we try the non-dst name and finally we just print ??? if that did not
work. This is not needed to handle the "TZ= date" case which was crashing
before because the default timezone was not consistently initialized, but
should handle any timezone now.

(christos)

2019-04-07 14:50:41 UTC MAIN commitmail json YAML

Add a paranoid racy lock check in child_return()

In theory a child could be detached for some reason or another during
the time window between checking for PSL_TRACED and acquiring proc_lock.

Acquire the proc_lock mutex and recheck for PSL_TRACED before emitting
SIGTRAP. sigswitch() must acquite it internally anyway so this does not
have a negative impact and adds an extra sanity check.

For !PSL_TRACED case there is no impact.

(kamil)

2019-04-07 14:44:51 UTC MAIN commitmail json YAML

Initialize the default timezone a bit more so that tzgetname(3) works.

(christos)

2019-04-07 14:28:50 UTC MAIN commitmail json YAML

Invert the filtering priority: now the kernel-managed cpuid leaves are
overwritable by the virtualizer. This is useful to virtualizers that want
to 100% control every leaf.

(maxv)

2019-04-07 14:26:26 UTC MAIN commitmail json YAML

Claim ifunc support on a number of architectures.
(Architecture list taken from src/tests/libexec/ld.elf_so/t_ifunc.c)

This is needed for attribute target_clones to work.

Non-functional until a mknative run. Tested by doing a regular GCC build.

(maya)

2019-04-07 14:14:05 UTC MAIN commitmail json YAML

don't append to nbsd_tm_file. This is the sole definition so fine to do.
Only done to reduce diff to upstream.

(maya)

2019-04-07 14:14:03 UTC MAIN commitmail json YAML

...and now I really have the list of arch versions that require the armv2
style of ufetch_16/ustore_16.  And since it's so many, just stop naming it
for the arch version, and name it for the instruction capability.

(thorpej)

2019-04-07 14:13:03 UTC MAIN commitmail json YAML

Sync, and fix grammar.

(maxv)

2019-04-07 14:11:23 UTC MAIN commitmail json YAML

Reduce diff to upstream  (in config.gcc):
Make the NETBSD_ENABLE_PTHREADS unconditional (we don't use the else case)

(maya)

2019-04-07 14:08:35 UTC MAIN commitmail json YAML

Make the post-netbsd 2.0 case the only case. NFC.

(Reducing diff to upstream)

(maya)

2019-04-07 14:05:15 UTC MAIN commitmail json YAML

Don't allow unloading when there are still VMs registered, and don't allow
auto-unloading at all. Not a big problem actually, because since I changed
the module class it's not auto-loadable anymore.

(maxv)

2019-04-07 13:50:29 UTC MAIN commitmail json YAML

Explicitly include bold8x16 and bold16x32 fonts

(jmcneill)

2019-04-07 13:48:27 UTC MAIN commitmail json YAML

Add "bold16x32", a pixel doubled version of the "bold8x16" font.

(jmcneill)

2019-04-07 13:00:00 UTC MAIN commitmail json YAML

Really implement WDF_DIRTY. patch(1) did something silly here ...

(bouyer)

2019-04-07 12:23:54 UTC MAIN commitmail json YAML

blkif_x86_{32,64}_* are not identical to blkif_*, internal fields have
different alignements and this change their sizes. Copy them back from
their netbsd-8 definitions.
Fixes PR port-xen/54099

(bouyer)

2019-04-07 12:21:21 UTC MAIN commitmail json YAML

Adjyst some debug printfs

(bouyer)

2019-04-07 09:20:04 UTC MAIN commitmail json YAML

Provide a code argument in kasan_mark(), and give a code to each caller.
Five codes used: GenericRedZone, MallocRedZone, KmemRedZone, PoolRedZone,
and PoolUseAfterFree.

This can greatly help debugging complex memory corruptions.

(maxv)

2019-04-07 08:37:38 UTC MAIN commitmail json YAML

Fix tiny race in pool+KASAN, that resulted in occasional false positives.

We were uselessly marking already valid areas as valid. When doing that,
our KASAN code emits two calls to kasan_markmem, and there is a very small
window where the area becomes invalid. So, if the area happens to be
already globally referenced, and if another thread happens to read the
buffer via this reference, we get a false positive.

This happens only with pool_caches that have a pc_ctor that creates a
global reference to the buffer, and there is one single pool_cache that
does that: 'file_cache'.

So now, two changes:

- In pool_cache_get_slow(), the pool_get() has already redzoned the
  object, so no need to call pool_redzone_fill().

- In pool_cache_destruct_object1(), don't re-mark the object. If there is
  no ctor pool_put is fine with already-invalid objects, if there is a
  ctor the object was not marked as invalid in the first place; so in
  either case, the re-marking is not needed.

Fixes PR/53674. Although very rare and difficult to reproduce, a local
quarantine patch of mine made the false positives recurrent.

(maxv)

2019-04-07 08:14:21 UTC MAIN commitmail json YAML

workaround gcc/vax bugs

(maya)

2019-04-07 05:29:00 UTC MAIN commitmail json YAML

Bump for recent Mesa update.

(rin)

2019-04-07 05:28:09 UTC MAIN commitmail json YAML

2019-04-07 05:25:56 UTC MAIN commitmail json YAML

2019-04-07 04:11:56 UTC MAIN commitmail json YAML

Fix ARM_ARCH_* brain fart.

(thorpej)

2019-04-07 03:53:53 UTC MAIN commitmail json YAML

Remove dead codes, that are #if 0'd for more than 19 years!

(rin)

2019-04-07 03:49:24 UTC MAIN commitmail json YAML

UADDR was removed.

(rin)

2019-04-07 03:43:55 UTC MAIN commitmail json YAML

Revert previous. arc port was fixed correctly.

(rin)

2019-04-07 03:42:31 UTC MAIN commitmail json YAML

G/C some obsolete definitions (we haven't had a fixed u. for quite
some time).

(thorpej)

2019-04-07 03:35:25 UTC MAIN commitmail json YAML

Avoid redefining UADDR for arc.

(rin)

2019-04-07 02:58:02 UTC MAIN commitmail json YAML

Fix previous. We define _KERNEL for rump in opt_rumpkernel.h.

XXX This works because arch's with _RUMP_NATIVEABI=yes and therefore
XXX without _RUMPKERNEL (amd64 and i386) do not have their own
XXX setdisklabel(9). We may need another macro, e.g., _RUMP.

(rin)

2019-04-07 02:08:08 UTC MAIN commitmail json YAML

Allow DHCP
Neighbour Advertisement should be allowed both ways, otherwise
ipv6nd_sendadvertisement() from dhcpcd logs "Network is unreachable"

(sevan)

2019-04-07 01:39:12 UTC MAIN commitmail json YAML

Fix spelling of symeti^Hric

(pgoyette)

2019-04-07 00:44:54 UTC MAIN commitmail json YAML

redo the connection waiting handling to make it more clear.

(christos)

2019-04-06 21:40:15 UTC MAIN commitmail json YAML

The real cause for removing asm inline code on clang is that the
"r" constraint cannot handle 64-bit and is treated as 32-bit.

So code that refers to the upper 32-bit (manuf or impl) of the %ver
register is removed by optimization.

Use 32-bit kernel code as a workaround when referring to the %ver
register.

(nakayama)

2019-04-06 20:25:27 UTC MAIN commitmail json YAML

Fix a think-o / paste-o in the max user address check, pointed out
by maxv@.

(thorpej)

2019-04-06 18:30:20 UTC MAIN commitmail json YAML

Fix race conditions about pmap_page_protect() and pmap_enter().

while handling same PTE by these functions in same time, there
is a critical path that the number of valid PTEs and wire_count
are inconsistent, and it caused KASSERT.
Need to hold a pv_lock while modifying them.

(ryo)

2019-04-06 17:42:28 UTC MAIN commitmail json YAML

Revert previous (1.5) and return to the one before that (1.4), and
just allow things to be broken if this is used on a system where
register_t is int (32 bits) and long is 64 bits.    Badly broken...

(kre)

2019-04-06 17:27:59 UTC MAIN commitmail json YAML

Revert previous.  Instead change ufetch_long() to ufetch_int() in
both calls (and also remove the cast on the earlier).

These replaced fuword, to fetch a register_t (ie: int).

(kre)

2019-04-06 16:25:52 UTC MAIN commitmail json YAML

Eliminate regress/libexec/ld.elf_so/expand

This test does not contain any code.

(kamil)

2019-04-06 16:22:09 UTC MAIN commitmail json YAML

If using a cast for &code to make it a u_long * is acceptable a
few lines earlier, it should work here too.

(kre)

2019-04-06 16:22:01 UTC MAIN commitmail json YAML

Fix building crash(8) on sparc after ufetch / ustore changes.

(thorpej)

2019-04-06 15:52:35 UTC MAIN commitmail json YAML

Treat _RUMPKERNEL like a __HAVE_UCAS_FULL platform.  Add a comment
explaining what's going on.  Fixes librump build on sparc.

(thorpej)

2019-04-06 15:41:54 UTC MAIN commitmail json YAML

Add new tests in ATF t_fork/t_vfork

Verify whether nested fork(2)/vfork(2)/clone(2) calls are supported in a
fork(2)ed/vforked(2) child.

The interesting ones are non-forked parent and non-forked child scenarios,
in particular double vfork(2).

(kamil)

2019-04-06 15:35:09 UTC MAIN commitmail json YAML

Simplify FORK_TEST in ATF t_ptrace_wait*

Reduce the scope of combinations that were planned to be tested from the
same function body.

NFCI

(kamil)

2019-04-06 12:34:30 UTC MAIN commitmail json YAML

Register t_ufetchstore.debug in distrib files

(kamil)

2019-04-06 12:33:19 UTC MAIN commitmail json YAML

Correct ustore(9) entry for MKCATPAGES=yes

(kamil)

2019-04-06 11:54:25 UTC MAIN commitmail json YAML

Add missing Makefile.

Grabbed from thorpej's github repository.
XXX not actually built tested...

(maya)

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

Centralized shared part of child_return() into MI part

Add a new function md_child_return() for MD specific bits only.

New child_return() is now part of MI and central code that handles
uniformly tracing code (KTR and ptrace(2)).

Synchronize value passed to ktrsysret() among ports to SYS_fork. This is
a traditional value and accessing p_lflag to check for PL_PPWAIT shall
use locking against proc_lock. Returning SYS_fork vs SYS_vfork still isn't
correct enough as there are more entry points to forking code. Instead of
making it too good, just settle with plain SYS_fork for all ports.

(kamil)

2019-04-06 11:49:53 UTC MAIN commitmail json YAML

Replace the misc[] state by a new compressed nvmm_x64_state_intr structure,
which describes the interruptibility state of the guest.

Add evt_pending, read-only, that allows the virtualizer to know if an event
is pending.

(maxv)

2019-04-06 10:37:57 UTC MAIN commitmail json YAML

2019-04-06 10:29:13 UTC MAIN commitmail json YAML

Treat implicit-fallthrough only as a warning

(pgoyette)

2019-04-06 10:00:13 UTC MAIN commitmail json YAML

Use a name for the largest representable float

Actually intended to appease vax which has a floating point format
that doesn't match the same range as IEEE754 float.

(why not exp2f?)

(maya)

2019-04-06 09:33:07 UTC MAIN commitmail json YAML

Revert llvm -> llvmcmds unintended changes in distrib files

(kamil)

2019-04-06 08:48:53 UTC MAIN commitmail json YAML

Install the undefined instruction handlers only once, i.e. when attaching
on the BP.

(skrll)

2019-04-06 08:38:23 UTC MAIN commitmail json YAML

KNF. No functional change.

(msaitoh)

2019-04-06 08:29:02 UTC MAIN commitmail json YAML

Use __UNCONST() rather than a simple cast to free a const char *
while avoiding gcc noise.

(kre)

2019-04-06 07:57:04 UTC MAIN commitmail json YAML

Remove superfluous Pp.

(wiz)

2019-04-06 07:56:49 UTC MAIN commitmail json YAML

Sort sections. Fix typo. Remove superfluous Pp.

(wiz)

2019-04-06 07:56:19 UTC MAIN commitmail json YAML

Fix short description.

(wiz)

2019-04-06 04:52:44 UTC MAIN commitmail json YAML

2019-04-06 03:06:29 UTC MAIN commitmail json YAML

Overhaul the API used to fetch and store individual memory cells in
userspace.  The old fetch(9) and store(9) APIs (fubyte(), fuword(),
subyte(), suword(), etc.) are retired and replaced with new ufetch(9)
and ustore(9) APIs that can return proper error codes, etc. and are
implemented consistently across all platforms.  The interrupt-safe
variants are no longer supported (and several of the existing attempts
at fuswintr(), etc. were buggy and not actually interrupt-safe).

Also augmement the ucas(9) API, making it consistently available on
all plaforms, supporting uniprocessor and multiprocessor systems, even
those that do not have CAS or LL/SC primitives.

Welcome to NetBSD 8.99.37.

(thorpej)

2019-04-06 02:59:05 UTC MAIN commitmail json YAML

Add an ipi_trigger_broadcast() call, like ipi_trigger_multi() but to the
full set of attached CPUs, with an optional "skip_self" argument to skip
the calling CPU.  Add a "skip_self" to the ipi_broadcast() call for
symmetry.

(Kernel version bump coming in a subsequent commit.)

(thorpej)

2019-04-06 00:35:26 UTC MAIN commitmail json YAML

Make sure the aprint_verbose chain is terminated with a newline.
Check sep instead of printed, b/c the latter is reset several times.

(uwe)

2019-04-06 00:13:52 UTC MAIN commitmail json YAML

2019-04-06 00:12:28 UTC MAIN commitmail json YAML

update pkg_install info

(sevan)

2019-04-06 00:09:10 UTC MAIN commitmail json YAML

Use aprint_* instead of printf.

(uwe)

2019-04-06 00:05:47 UTC MAIN commitmail json YAML

2019-04-05 23:46:04 UTC MAIN commitmail json YAML

Fix indentation for RTK_CFG2_BUSFREQ to line up with the rest.

(uwe)

2019-04-05 23:44:59 UTC MAIN commitmail json YAML

RTK_CFG2_BUSFREQ is only 1 byte.  Fixes panic on landisk.

(uwe)

2019-04-05 23:09:18 UTC MAIN commitmail json YAML

Redo previous.
In the case of store variant, put dummy constraint in output
instead of input.

Suggested by joerg@ in source-changes-d@

(nakayama)

2019-04-05 23:01:09 UTC MAIN commitmail json YAML

Reenable tests vfork7 and vfork8 in ATF t_ptrace_wait*

These tests used to hang on SMP machines.

For experiment after recent changes reenable the tests.

(kamil)

2019-04-05 22:58:53 UTC MAIN commitmail json YAML

Add __clone(2) tests in t_ptrace_wait*

The __clone(2) API is a variation of fork(2)/vfork(2) operations.

New tests:
- clone_signalignored
- clone_signalmasked
- clone_vm_signalignored
- clone_vm_signalmasked
- clone_fs_signalignored
- clone_fs_signalmasked
- clone_files_signalignored
- clone_files_signalmasked
- clone_vfork_signalignored
- clone_vfork_signalmasked

All new tests pass.

CLONE_SIGHAND tests are right now disabled as they cannot reuse the shared
signal operations (wait(2)) to wait for a clonee.

Another nit is that wait(2) must be used right now with WALLSIG as for some
reason the default variation doesn't work.

(kamil)

2019-04-05 21:41:18 UTC MAIN commitmail json YAML

Correct distinguishing fork/vfork tracing event in fork1(9)

flags can contain a different value than FORK_PPWAIT and bit comparing
with '&&' was a typo.

Detected with __clone(2) usage scenarios.

(kamil)

2019-04-05 21:31:44 UTC MAIN commitmail json YAML

drop AT_RST_NOCMD, it's a cut'n'paste side effect

(bouyer)

2019-04-05 21:27:44 UTC MAIN commitmail json YAML

- Padding support from FreeBSD (GNU extensions)
- add '+' for the c-locale only.

(christos)

2019-04-05 20:44:09 UTC MAIN commitmail json YAML

unbreak the build, someone forgot to commit more stuff :-)

(christos)

2019-04-05 20:09:29 UTC MAIN commitmail json YAML

Go back ot using 0x%x instead of %#x because we don't always support the
format. See subr_prf.c

(christos)

2019-04-05 18:23:45 UTC MAIN commitmail json YAML

Implement a DIRTY flag (copied from sd(4)) so avoid flushing the cache if
there has been no write. This avoids a (long) timeout on the flush cache
command triggered by atactl sleep, when the device is open only by the atactl
command itself.
If a drive has no partition open and goes to sleep, the WDF_LOADED
flag is clear, and the next open will issue  wd_get_params() command.
But to wake up the drive a reset is required, and wd_get_params() doens't
issue a reset on timeout, so there's no way to wake up the disk.
Add a retry after reset to wd_get_params().

Tested by Hauke Fath; fixes PR kern/49457

(bouyer)

2019-04-05 18:14:54 UTC MAIN commitmail json YAML

Fix ASIC check, BGE_ASICREV(sc->bge_chipid) is not a chipid.
Fixes bogus input error reporting in stat. This is cosmetic, exept for
routed(8) which thinks that the interface is broken and stops accepting routes
from it.

(bouyer)

2019-04-05 16:14:07 UTC MAIN commitmail json YAML

Mesa updated. And we're still a version behind somehow :-)

(maya)

2019-04-05 15:58:18 UTC MAIN commitmail json YAML

Switch everyone to mesa 18.

(maya)

2019-04-05 15:22:35 UTC MAIN commitmail json YAML

Limit MKLLVMRT being enabled with MKX11 to x86.

(maya)

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

Frantically revert previous because of missing stuff

(maya)

2019-04-05 15:07:42 UTC MAIN commitmail json YAML

2019-04-05 15:07:39 UTC MAIN commitmail json YAML

switch everyone to mesa 18.

(maya)

2019-04-05 14:15:33 UTC MAIN commitmail json YAML

Add (commented out) MODULAR-related options.

(thorpej)

2019-04-05 14:12:14 UTC MAIN commitmail json YAML

Prrovide a basic (i.e. empty) module_init_md().  MODULAR doesn't quite
work yet (missing support for a couple of relocations), but at last the
kernel links.

(thorpej)

2019-04-05 14:00:16 UTC MAIN commitmail json YAML

clzdi2 and ctzdi2 are needed on alpha. (counting instructions are in the
optional CIX extension, and thus not used by the default compiler configuation).

(thorpej)

2019-04-05 13:34:42 UTC MAIN commitmail json YAML

Fix asan heap buffer overflow. from enh at google.

(christos)

2019-04-05 12:16:13 UTC MAIN commitmail json YAML

Add dummy constraints to avoid excessive optimization in clang.
GENERIC kernel compiled with clang now boot at least on my Fire V100.

(nakayama)

2019-04-05 12:15:41 UTC MAIN commitmail json YAML

Put "memory" to asm inline reading privilege registers for clang to
prevent it from being removed by excessive optimization.

(nakayama)

2019-04-05 12:11:26 UTC MAIN commitmail json YAML

Add dependencies for mesonfb

(jmcneill)

2019-04-05 12:07:02 UTC MAIN commitmail json YAML

Fix AO base in cpu_enable_meson8b

(jmcneill)

2019-04-05 11:58:02 UTC MAIN commitmail json YAML

2019-04-05 10:31:53 UTC MAIN commitmail json YAML

Avoid text relocations on i386

(maya)

2019-04-05 07:29:24 UTC MAIN commitmail json YAML

Add BNX_PCICFG_DEVICE_CONTROL.

(msaitoh)

2019-04-05 07:25:06 UTC MAIN commitmail json YAML

BCM5709 is PCIe based. To wait for pending PCI transactions to complete,
wait until PCIe's transaction pending bit is cleared.

(msaitoh)

2019-04-05 07:15:26 UTC MAIN commitmail json YAML

- Allow time for the management firmware to enter the running state.
- Enable/Disable management frames (NC-SI) to flow to the MCP if MFW exists.
- Print the boot code version, management firmware version and some flags.
- Gbps -> GT/s for PCIe speed.
- Use aprint_*() in bnx_print_adapter_info().
- Use braces for some macors' argument.
- Remove unused macros.
- KNF.

(msaitoh)

2019-04-05 07:04:51 UTC MAIN commitmail json YAML

Fix a bug that BNX_MISC_ENABLE_SET_BITS is not correctly set on BCM5709.

(msaitoh)

2019-04-05 01:10:32 UTC MAIN commitmail json YAML

we need it for non-kernel builds (rump)

(christos)

2019-04-05 01:09:33 UTC MAIN commitmail json YAML

2019-04-05 00:33:22 UTC MAIN commitmail json YAML

avoid underflow in user/system time.

(mlelstv)

2019-04-04 22:49:46 UTC MAIN commitmail json YAML

Consistently use db_printf() instead of printf() for machine specific
commands.

(simonb)

2019-04-04 22:03:23 UTC MAIN commitmail json YAML

deal with zic that's not part of libc.

(christos)

2019-04-04 22:02:06 UTC MAIN commitmail json YAML

New sentence, new line.  Whitespace fixes.

(wiz)

2019-04-04 21:31:28 UTC MAIN commitmail json YAML

switch hppa to GCC 7.

note vax atf fails same as GCC 6.  hppa mostly works but has an
atf issue also unrelated to the compiler version

note ia64 mostly builds, but the kernel fails earlier than GCC 6.

(mrg)

2019-04-04 21:00:20 UTC MAIN commitmail json YAML

2019-04-04 20:51:35 UTC MAIN commitmail json YAML

2019-04-04 20:21:45 UTC MAIN commitmail json YAML

Document indent in doc/3RDPARTY

(kamil)

2019-04-04 20:19:07 UTC MAIN commitmail json YAML

2019-04-04 19:50:47 UTC MAIN commitmail json YAML

Register ./usr/tests/usr.bin/indent

(kamil)

2019-04-04 19:42:39 UTC MAIN commitmail json YAML

ALL_STATE was bought by STATE_FARM.

(christos)

2019-04-04 19:27:28 UTC MAIN commitmail json YAML

Make strftime_{l,z} re-entrant and always require a non-NULL timezone to be
passed in so that we can use the current timezone in all evaluations (mktime
tzgetname). Reported by Hamilton Slye.

(christos)

2019-04-04 19:25:38 UTC MAIN commitmail json YAML

explicitly promote to double.

(christos)

2019-04-04 18:19:41 UTC MAIN commitmail json YAML

2019-04-04 18:18:52 UTC MAIN commitmail json YAML

merge tzcode 2019a

(christos)

2019-04-04 18:18:31 UTC MAIN commitmail json YAML

merge 2019a

  Changes to code

    zic now has an -r option to limit the time range of output data.
    For example, 'zic -r @1000000000' limits the output data to
    timestamps starting 1000000000 seconds after the Epoch.
    This helps shrink output size and can be useful for applications
    not needing the full timestamp history, such as TZDIST truncation;
    see Internet RFC 8536 section 5.1.  (Inspired by a feature request
    from Christopher Wong, helped along by bug reports from Wong and
    from Tim Parenti.)

  Changes to documentation

    Mention Internet RFC 8536 (February 2019), which documents TZif.

    tz-link.html now cites tzdata-meta
    <https://tzdata-meta.timtimeonline.com/>.

(christos)

2019-04-04 17:33:47 UTC MAIN commitmail json YAML

Check the GPA permissions too in the Assists, because it is possible that
the guest traps on a page the virtualizer marked as read-only (even if it
appears as read-write in the HVA).

(maxv)

2019-04-04 15:53:44 UTC MAIN commitmail json YAML

indent(1): Upraded to the FreeBSD HEAD checkout

(kamil)

2019-04-04 15:27:35 UTC MAIN commitmail json YAML

Upgrade indent(1)

Merge all the changes from the recent FreeBSD HEAD snapshot
into our local copy.

FreeBSD actively maintains this program in their sources and their
repository contains over 100 commits with changes.

Keep the delta between the FreeBSD and NetBSD versions to absolute
minimum, mostly RCS Id and compatiblity fixes.

Major chages in this import:

- Added an option -ldi<N> to control indentation of local variable names.
- Added option -P for loading user-provided files as profiles
- Added -tsn for setting tabsize
- Rename -nsac/-sac ("space after cast") to -ncs/-cs
- Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines.
- Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
- Group global option variables into an options structure
- Use bsearch() for looking up type keywords.
- Don't produce unneeded space character in function declarators
- Don't unnecessarily add a blank before a comment ends.
- Don't ignore newlines after comments that follow braces.

Merge the FreeBSD intend(1) tests with our ATF framework.
All tests pass.

Upgrade prepared by Manikishan Ghantasala.
Final polishing by myself.

Part II, checkin new files.

(kamil)

2019-04-04 15:22:13 UTC MAIN commitmail json YAML

Upgrade indent(1)

Merge all the changes from the recent FreeBSD HEAD snapshot
into our local copy.

FreeBSD actively maintains this program in their sources and their
repository contains over 100 commits with changes.

Keep the delta between the FreeBSD and NetBSD versions to absolute
minimum, mostly RCS Id and compatiblity fixes.

Major chages in this import:

- Added an option -ldi<N> to control indentation of local variable names.
- Added option -P for loading user-provided files as profiles
- Added -tsn for setting tabsize
- Rename -nsac/-sac ("space after cast") to -ncs/-cs
- Added option -fbs Enables (disables) splitting the function declaration and opening brace across two lines.
- Respect SIMPLE_BACKUP_SUFFIX environment variable in indent(1)
- Group global option variables into an options structure
- Use bsearch() for looking up type keywords.
- Don't produce unneeded space character in function declarators
- Don't unnecessarily add a blank before a comment ends.
- Don't ignore newlines after comments that follow braces.

Merge the FreeBSD intend(1) tests with our ATF framework.
All tests pass.

Upgrade prepared by Manikishan Ghantasala.
Final polishing by myself.

(kamil)

2019-04-04 15:10:58 UTC MAIN commitmail json YAML

Sort ./usr/tests/usr.bin/netpgpverify

(kamil)

2019-04-04 14:26:40 UTC MAIN commitmail json YAML

Re-enable efiboot for armv7 (thanks skrll@)

(jmcneill)

2019-04-04 14:24:20 UTC MAIN commitmail json YAML

Restructure so that storing of uboot args (including FDT address) and
virtual to physical offset is done after armv[67]_init where we ensure
MMU and caches are off, and cache is invalidated.

(skrll)

2019-04-04 14:03:40 UTC MAIN commitmail json YAML

PR bin/54088: make "destroy" remove the protective MBR too.
We could make this optional if someone comes up with a good reason
to leave it intact.

(martin)

2019-04-04 13:58:20 UTC MAIN commitmail json YAML

Ignore -f with the "destroy" command completely (it was effectively
ignored already, so no functional change). Leave it as valid option
for compatibility.

(martin)

2019-04-04 13:55:40 UTC MAIN commitmail json YAML

Allow specifying the partition via -b startsec for the biosboot cmd.

(martin)

2019-04-04 12:38:28 UTC MAIN commitmail json YAML

No functional change. This change reduces diff against DragonFly:
- Fix BNX_PCI_GRC_WINDOW_ADDR_VALUE's name. Note that this macro is not used.
- Whitespace change.
- Sort some lines.

(msaitoh)

2019-04-04 12:34:32 UTC MAIN commitmail json YAML

Use right definitions in src/tools/llvm.

(joerg)