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

2024-05-10 12:57:24 UTC Now

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 08:42:48 UTC netbsd-8 commitmail json YAML

2019-04-05 08:40:19 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1223):
sys/sys/dkio.h: revision 1.25
sys/kern/subr_disk.c: revision 1.123
sys/dev/dksubr.c: revision 1.107
sys/dev/ccd.c: revision 1.179
sys/dev/ofw/ofdisk.c: revision 1.53
Add a disk ioctl DIOCRMWEDGES to remove all wedges of a given disk
(if not busy).

(msaitoh)

2019-04-05 07:51:01 UTC netbsd-8 commitmail json YAML

2019-04-05 07:48:05 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv):

sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.120
sys/compat/linux/arch/amd64/linux_machdep.c: revision 1.57
sys/compat/linux32/arch/amd64/linux32_machdep.c: revision 1.44
sys/arch/amd64/amd64/machdep.c: revision 1.328
sys/arch/amd64/amd64/machdep.c: revision 1.329

Fix a tiny race in setregs and linux_setregs. Between the moment we set
pcb_flags to zero, and the moment cpu_segregs64_zero resets pcb_gs, we may
be preempted.

If this happens, and if the calling LWP was a 32bit thread, when switching
back to that LWP, the context switcher sees that PCB_COMPAT32 is not set in
pcb_flags and tries to perform a 64bit context switch; but pcb_gs contains
a 32bit GDT descriptor, and not a 64bit GS.base value. The wrmsr therefore
faults because the value is non-canonical, and this fault is fatal.

Rearrange the code so that the update of pcb_flags and pcb_gs/pcb_fs is non
interruptible. This fixes the problem, tested with a reproducer (which
therefore doesn't work anymore).

Likely fixes PR/53993.

Disable preemption when setting PCB_COMPAT32, to prevent a context switch
before cpu_fsgs_reload() finishes, otherwise we write garbage in the GDT.

On NetBSD-current it is harmless, however in NetBSD-8 it might cause
panics, because NetBSD-8 uses the old SegRegs model and under this model
we reload %fs and %gs during switches.

(martin)

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)

2019-04-04 12:26:45 UTC MAIN commitmail json YAML

Don't validate buffer size for tape I/O, this is already done by
the tape driver. Using MAXBSIZE as limit was also wrong on sun2 where
MAXBSIZE < MAXPHYS.

(mlelstv)

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

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

Fix flaky check for the /dev/kcov device in t_kcov

Add a top-level check for the KCOV device, instead of deferring it ot each
thread. The thread-based solution was flaky.

PR kern/54064 by Andreas Gustafsson

(kamil)

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

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

Fix a typo in a comment: s/avissory/advisory/

NFCI

(pgoyette)

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

Make the DEBUG version compile

(martin)

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

Remove cpuspeed info for 68060.
- On 68060, it's not accurate so worthless.
- I don't have 68040 so I leave it untouched.

(isaki)

2019-04-04 03:36:15 UTC MAIN commitmail json YAML

Display 68060 revision.  From amiga/amiga/machdep.c.

(isaki)

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

Make fetch_read() return size_t like fread() does. It is bogus to
have one backing implementation that returns different values and
types than the other.  Handle error setting properly; i.e. bail
out if the internal read returned an error. Now we get a proper
error message when the the server resets our connection instead of
a warning that the right failed with an invalid argument.

The server used for testing was:
http://capeweather.dyndns.org:8080/graphs/3474.png
Which seems to be unreliable :-)

(christos)

2019-04-03 22:10:52 UTC MAIN commitmail json YAML

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

vax "cough" works, with gcc-7

(christos)

2019-04-03 21:40:24 UTC MAIN commitmail json YAML

mention rtld vax hack

(christos)

2019-04-03 21:37:58 UTC MAIN commitmail json YAML

Disable optimization for rtld.c on the vax with gcc-7.

(christos)

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

add note about pmap.c compilation warnings

(scole)

2019-04-03 20:34:18 UTC MAIN commitmail json YAML

Remove obsoleted ia64 gcc 4.5.3 hacks

(scole)

2019-04-03 19:52:38 UTC MAIN commitmail json YAML

Fix previous.
sparc64 is automatically added, so leave the sparc line.

(nakayama)

2019-04-03 19:23:38 UTC MAIN commitmail json YAML

Fix small read overflow; harmless, because since I removed RH0, the memory
access on IPV6_RTHDR that would normally be illegal is not needed, and GCC
automatically removes it.

(maxv)

2019-04-03 19:14:25 UTC MAIN commitmail json YAML

When scrolling the screen don't forget to update the last line. Whatever,
there is no case where the screen scrolls actually.

(maxv)

2019-04-03 19:10:58 UTC MAIN commitmail json YAML

VMX: if PAT is not valid, #GP on WRMSR, rather than crashing the guest.

(maxv)

2019-04-03 18:05:55 UTC MAIN commitmail json YAML

2019-04-03 17:55:27 UTC MAIN commitmail json YAML

Debug output alignment

(skrll)

2019-04-03 17:32:58 UTC MAIN commitmail json YAML

2019-04-03 16:30:29 UTC MAIN commitmail json YAML

Gut more stuff so we fit. Last working RAMDISK kernel was 6.1.5.
Nobody runs this stuff anymore, so consider that netbsd 9 might be
the last sun2 release.

(christos)

2019-04-03 15:26:35 UTC MAIN commitmail json YAML

2019-04-03 15:23:29 UTC MAIN commitmail json YAML

Provide a default value of no for MKLLVMRT.

(joerg)

2019-04-03 15:22:06 UTC MAIN commitmail json YAML

Add MKLLVMRT to build a subset of the LLVM stack for JIT purposes.
Hook up AMDGPU backend for clang.

(joerg)

2019-04-03 15:17:23 UTC MAIN commitmail json YAML

Document MKLLVM.

(joerg)

2019-04-03 15:15:17 UTC MAIN commitmail json YAML

2019-04-03 15:12:45 UTC MAIN commitmail json YAML

2019-04-03 11:30:28 UTC MAIN commitmail json YAML

2019-04-03 11:29:40 UTC MAIN commitmail json YAML

Give us a bit of breathing room since the calculated size of mkfs is not
working.

(christos)

2019-04-03 08:34:33 UTC MAIN commitmail json YAML

Remove support for early SIGTRAP (fork related) signals in kpsignal2()

This function is no longer used to handle early SIGTRAP signals for
fork-related events for ptrace(2).

(kamil)

2019-04-03 08:31:57 UTC MAIN commitmail json YAML

- fix missing else in SUBSUBTARGET_OVERRIDE_OPTIONS
- remove obsolete defines, and move stuff to be more like freebsd64.h
- remove common / already correctly defined overrides

(mrg)

2019-04-03 08:19:46 UTC MAIN commitmail json YAML

The *fork*_signalmasked ATF tests no longer fail

Add a fixup for signalmasking in the vforkdone_singalmasked test.

(kamil)

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

Rework the fork(2)/vfork(2) event signalling under ptrace(2)

Remove the constraint of SIGTRAP event being maskable by a tracee.

Now all SIGTRAP TRAP_CHLD events are delivered to debugger.

This code touches MD specific logic and the child_return routine.
It's an intermediate step with a room for refactoring in future and
right now the least invasive approach. This allows to assert expected
behavior in already existing ATF tests and make the code prettier
in future keeping the same semantics. Probably there is a need for a MI
wrapper of child_return for shared functionality between ports.

(kamil)

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

After throwing away countless hours of my life on this driver, I am not
going to let an obvious typo go uncorrected.

(thorpej)

2019-04-03 02:13:56 UTC MAIN commitmail json YAML

2019-04-02 22:25:10 UTC MAIN commitmail json YAML

2019-04-02 21:29:46 UTC MAIN commitmail json YAML

make ia64 build with gcc7:
- catch up tmake_file list for ia64-netbsd to gcc 7 standards
- don't build the "tf" extra size version on ia64 like x86.
- regen mknative files

(mrg)

2019-04-02 21:19:20 UTC MAIN commitmail json YAML

Vax ain't having any of that newfangled TLS crap (yet).

(christos)

2019-04-02 20:00:36 UTC MAIN commitmail json YAML

2019-04-02 14:17:56 UTC MAIN commitmail json YAML

2019-04-02 14:17:36 UTC MAIN commitmail json YAML

2019-04-02 11:43:50 UTC MAIN commitmail json YAML

The case for PF was handled some time ago and pulled up to netbsd-8.

(sevan)

2019-04-02 11:33:15 UTC MAIN commitmail json YAML

2019-04-02 11:26:53 UTC MAIN commitmail json YAML

2019-04-02 11:25:15 UTC MAIN commitmail json YAML

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

Turn off efiboot until we figure out why it fails on some boards.

(jmcneill)

2019-04-02 03:52:17 UTC MAIN commitmail json YAML

2019-04-02 03:47:30 UTC MAIN commitmail json YAML

2019-04-02 03:01:50 UTC MAIN commitmail json YAML

Compiling some files with -fPIC and -O2 ends up having global
symbols classified as local in pic mode, and that ends up with PC32
relocations "movl *psp, %rx" (/bin/sh parse.c). Treat pic code as
shared libraries to avoid classifying common initialized symbols
as local. Thanks to thorpej@ for his help.

(christos)

2019-04-02 02:59:50 UTC MAIN commitmail json YAML

Compiling some files with -fPIC and -O2 ends up having global
symbols classified as local in pic mode, and that ends up with PC32
relocations "movl *psp, %rx" (/bin/sh parse.c). Treat pic code as
shared libraries to avoid classifying common initialized symbols
as local. Thanks to thorpej@ for his help.

(christos)

2019-04-02 01:50:32 UTC MAIN commitmail json YAML

Add an initial ruleset and rc script for NPF to protect host during early stage
of boot, similar to what is currently available for PF.

(sevan)

2019-04-02 00:48:10 UTC MAIN commitmail json YAML

Oops, wrong millennium :)

(uwe)

2019-04-01 13:08:24 UTC MAIN commitmail json YAML

Double the number of wedge device nodes

(martin)

2019-04-01 12:36:44 UTC netbsd-8 commitmail json YAML

2019-04-01 12:35:38 UTC netbsd-8 commitmail json YAML

Pull up the following, requested by msaitohin ticket #1225:

sys/dev/pci/ixgbe/ixgbe.c 1.175-1.178
sys/dev/pci/ixgbe/ixv.c 1.110-1.111 via patch

- NetBSD currently uses traffic class 0 only. Other traffic classes
  aren't used yet. When IXGBE_TC_COUNTER_NUM is set to lower than
  IXGBE_DCB_MAX_TRAFFIC_CLASS (e.g. 1), other traffic classes' counters
  are not used. It means we don't generate evcnt for them and don't
  add the values in ixgbe_update_stats_counters().
- It's not required to calculate unused queues' statistics.
- Fix a bug that the VLAN HW tagging function is not correctly disabled
  when all vlan is detached.
- Fix a bug that VLAN HW tagging function is not correctly controlled
  on 82598.
- Control VLAN HW filter function correctly. Note that currently
  VLAN HW filter function doesn't work because NetBSD doesn't support
  it yet.
- Don't clear IXGBE_VLNCTRL_CFIEN bit When ETHERCAP_VLAN_HWFILTER is
  set. I think it's not required (and Linux doesn't do it). This change
  has no effect to NetBSD because ETHERCAP_VLAN_HWFILTER is not
  supported yet.

(martin)

2019-04-01 11:39:15 UTC MAIN commitmail json YAML

printw: rework vw_printw so it uses open_memstream rather than funopen2

This makes it more portable as open_memstream is POSIX and fixes a
potential issue with wide characters not fully being printed
due to any buffer overflow.

(roy)

2019-04-01 06:33:57 UTC MAIN commitmail json YAML

Handling CFE addresses in 64-bit mode.  From the comment in the code:

* We do this KSEG0 to PHYS to KSEG0 dance if running 64-bit because
* CFE passes in parameters as 32-bit addresses.  When used as a 64-bit
* address these CFE parameters are in user (XKUSEG) space and can't be
* accessed!  Convert these to a physical address and and then to the
* proper KSEG0 address so we can use them in the kernel.

Allows SBMIPS to starting booting with a 64-bit kernel.

(simonb)

2019-04-01 06:20:40 UTC MAIN commitmail json YAML

2019-04-01 06:12:52 UTC MAIN commitmail json YAML

2019-04-01 02:15:00 UTC MAIN commitmail json YAML

2019-04-01 02:02:54 UTC MAIN commitmail json YAML

2019-04-01 02:01:39 UTC MAIN commitmail json YAML

paleo diet is not working

(christos)

2019-03-31 22:24:41 UTC MAIN commitmail json YAML

Add support for netbooting with non-PCI network devices.

(jmcneill)

2019-03-31 20:08:45 UTC MAIN commitmail json YAML

2019-03-31 19:54:36 UTC MAIN commitmail json YAML

Also check for MT_CONTROL, and end the receive operation if we see one. It
is possible to get an MT_CONTROL if we sleep in MSG_WAITALL. The other BSDs
do the same.

Reported-by: syzbot+e8aa26ad551c649227b4@syzkaller.appspotmail.com

(maxv)

2019-03-31 16:14:48 UTC MAIN commitmail json YAML

correct debug message, d->myport has network byte order.

(mlelstv)

2019-03-31 16:11:57 UTC MAIN commitmail json YAML

2019-03-31 16:10:27 UTC MAIN commitmail json YAML

2019-03-31 16:09:14 UTC MAIN commitmail json YAML

2019-03-31 16:08:08 UTC MAIN commitmail json YAML

2019-03-31 13:26:09 UTC MAIN commitmail json YAML

Remove references to Exynos 4412 and 5410 (ports to these SoCs are incomplete)

(jmcneill)

2019-03-31 13:16:52 UTC MAIN commitmail json YAML

Ignore EXT4 'kbytes written' field when validating alternate superblock.

(mlelstv)

2019-03-31 13:11:34 UTC MAIN commitmail json YAML

Remove GENERIC_USERMODE kernel config (this has never worked)

(jmcneill)

2019-03-31 13:10:40 UTC MAIN commitmail json YAML

2019-03-31 13:04:55 UTC MAIN commitmail json YAML

2019-03-31 13:03:04 UTC MAIN commitmail json YAML

2019-03-31 12:47:33 UTC MAIN commitmail json YAML

Allocate memory for for the ethernet DMA descriptor rings aligned to a
cache line boundary, as documented in the chip documentation.

Fixes SiByte ethernet which hasn't worked since the 8kB page size switch
(and just happened to work previously because the descriptor rings were
the same size as a page and so were allocated on a page boundary).

(simonb)

2019-03-31 11:44:11 UTC MAIN commitmail json YAML

Opps... Remove extra ')'

(nat)

2019-03-31 11:33:27 UTC MAIN commitmail json YAML

Remove dead code from sbc decoder.

Found by Hans Petter Selasky.

(nat)

2019-03-31 10:55:58 UTC MAIN commitmail json YAML

No longer rely on data in disklabel to deduce alternate superblock
positions from block size. Instead use the same defaults as newfs_ext2fs.

Side effect is that fsck_ext2fs now works with wedges.

(mlelstv)

2019-03-31 10:52:00 UTC MAIN commitmail json YAML

remove debug printfs from last commit.

(mlelstv)

2019-03-31 03:04:58 UTC MAIN commitmail json YAML

Perform quoting of filename completions when there are multiple matches as well

Quoting of special characters in filename completion was implemented for single match
case, this enables it for multiple matches as well. For example:

$ touch 'foo bar'
$ touch 'foo baz'
$ ls fo<TAB>
autocompletes to =>
$ ls foo\ ba
hitting <TAB> again shows:
foo bar foo baz

This required unescaping escape sequences generated during last completion
in order to find the word to complete.

While there, also update the test to include cases for multiple matches.

Reviewed by christos

(abhinav)

2019-03-31 02:24:47 UTC MAIN commitmail json YAML

2019-03-30 23:29:55 UTC MAIN commitmail json YAML

tuck the strings inside _NETBSD_SOURCE

(christos)

2019-03-30 23:29:27 UTC MAIN commitmail json YAML

Add some string tags for resources

(christos)

2019-03-30 23:28:30 UTC MAIN commitmail json YAML

2019-03-30 21:06:42 UTC MAIN commitmail json YAML

Need to include <sys/cdefs.h> so that the _ARM_CPU* macros get defined
so that we always select the correct page size (8K for armv6+).

(christos)

2019-03-30 18:47:57 UTC netbsd-7 commitmail json YAML

2019-03-30 18:47:15 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1687):
sys/arch/amd64/include/param.h: revision 1.30
Bump STACK_ALIGNBYTES to (16 - 1) to satisfy requirement by AMD64
System V ABI in kernel level. This is because
(1) for LLDB, we want to bypass libc/csu (and therefore manual stack
    alignment in _start), and
(2) rtld in glibc >= 2.23 for Linux/x86_64 requires it.
Fix SEGV for Linux/x86_64 binaries with glibc >= 2.23, reported as
PR port-amd64/54052.

(bouyer)

2019-03-30 17:41:13 UTC MAIN commitmail json YAML

Jump to MARK_ENTRY instead of MARK_START

(jmcneill)

2019-03-30 17:40:34 UTC MAIN commitmail json YAML

Set entry point to generic_start instead of the default

(jmcneill)

2019-03-30 17:32:40 UTC MAIN commitmail json YAML

Ignore recorded last mount point when validating alternate superblocks.
Compute log_bsize correctly. This fixes computation of alternate
superblock addresses.

(mlelstv)

2019-03-30 14:42:22 UTC MAIN commitmail json YAML

DOTADIW, ASP, AVB, BTM, IOM, IPCF, MI, SLIC, VFS

(sevan)

2019-03-30 13:54:10 UTC MAIN commitmail json YAML

Remove redundant TARGET_ENDIANNESS check

(jmcneill)

2019-03-30 13:53:19 UTC MAIN commitmail json YAML

Remove redundant TARGET_ENDIANNESS check

(jmcneill)

2019-03-30 13:43:53 UTC MAIN commitmail json YAML

Install GENERIC ELF kernel as /netbsd for EFI booting

(jmcneill)

2019-03-30 13:42:12 UTC MAIN commitmail json YAML

arm: Add UEFI bootloader support (bootarm.efi).

(jmcneill)

2019-03-30 13:37:45 UTC MAIN commitmail json YAML