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

2024-05-10 04:16:19 UTC Now

2014-02-17 04:52:44 UTC MAIN commitmail json YAML

Add MARVELL_TAG_DDR3_CS[0-3] for latest SoC.

(kiyohara)

2014-02-17 03:28:16 UTC MAIN commitmail json YAML

2014-02-17 03:10:12 UTC MAIN commitmail json YAML

config() in manconf.c now verifies _build (and _crunch) command
templates with fmtcheck(3) so annotate the printf that uses these
commands as safe with a __format_arg wrapper and drop
-Wno-format-nonliteral.

XXX: Using local wrapper for now, solving this in general would be
nice, but it raises namespace pollution issues.

XXX^2: catman(8) also uses manconf.c and uses _build and _crunch so it
can also benefit from this (but see above).

(uwe)

2014-02-17 02:53:48 UTC MAIN commitmail json YAML

Check _build and _crunch commands with fmtcheck(3), warn about and
ignore bad ones.

(uwe)

2014-02-17 02:38:46 UTC MAIN commitmail json YAML

npf_alg_session: fix inverted logic in the previous commit.

(rmind)

2014-02-17 00:45:24 UTC MAIN commitmail json YAML

npfctl: take into account all addresses when multiple interfaces are
specified in a set of elements.

(rmind)

2014-02-16 22:10:40 UTC MAIN commitmail json YAML

2014-02-16 18:21:25 UTC MAIN commitmail json YAML

2014-02-16 18:20:54 UTC MAIN commitmail json YAML

2014-02-16 18:19:10 UTC MAIN commitmail json YAML

2014-02-16 18:16:35 UTC MAIN commitmail json YAML

2014-02-16 18:09:44 UTC MAIN commitmail json YAML

2014-02-16 17:46:36 UTC MAIN commitmail json YAML

Small cleanup:
- make elf_load_file() and elf_load_psection() static
- make loops consistent
- 'nload' is not used - see rev1.24
- 'ap' is not used in elf_load_file()

ok agc@ christos@

(maxv)

2014-02-16 16:13:37 UTC MAIN commitmail json YAML

2014-02-16 16:10:27 UTC MAIN commitmail json YAML

2014-02-16 12:54:07 UTC MAIN commitmail json YAML

Fix tmpfs_read()'s return value; it should return EINVAL. Now consistent with
tmpfs_write().

ok christos@

(maxv)

2014-02-16 11:26:31 UTC MAIN commitmail json YAML

The mpfr sources moved down into a src directory - deal with this in
mknative.

(skrll)

2014-02-16 09:50:25 UTC MAIN commitmail json YAML

Change union_allocvp() to take an unlocked uppervp and to return the
union node unlocked.  Another VI_XLOCK hack is gone.

(hannken)

2014-02-16 08:18:28 UTC MAIN commitmail json YAML

Remove duplicated comment.

(nonaka)

2014-02-16 08:17:43 UTC MAIN commitmail json YAML

Use INFRA not ADHOC when opmode is M_STA.

(nonaka)

2014-02-15 22:36:27 UTC MAIN commitmail json YAML

2014-02-15 22:35:08 UTC MAIN commitmail json YAML

Reduce diffs between archs, add mincore/madvise to m68k.

(njoly)

2014-02-15 22:32:26 UTC MAIN commitmail json YAML

Obviously, we want ATFFILE and KYUAFILE to be set to yes...

(jmmv)

2014-02-15 22:32:16 UTC MAIN commitmail json YAML

Remove argument name from prototype.

(njoly)

2014-02-15 22:20:42 UTC MAIN commitmail json YAML

Load and save the fpu registers (for copies to/from userspace) using
  helper functions in arch/x86/x86/fpu.c
They (hopefully) ensure that we write to the entire buffer and don't load
  values that might cause faults in kernel.
Also zero out the 'pad' field of the i386 mcontext fp area that I think
  once contained the registers of any Weitek fpu.
  Dunno why it wasn't pasrt of the union.
Some of these copies could be removed if the code directly copied the save
  area to/from userspace addresses.

(dsl)

2014-02-15 19:45:43 UTC MAIN commitmail json YAML

2014-02-15 19:42:10 UTC MAIN commitmail json YAML

Fix paths to internal libraries.

This is the same fix applied to external/bsd/atf/Makefile.inc in revision
1.4 and should fix the build when using OBJMACHINE but not MAKEOBJDIR*.

(jmmv)

2014-02-15 19:33:54 UTC MAIN commitmail json YAML

Prevent registering the helper programs as test programs.

Same trick as with atf/test-programs: provide hand-generated Atffile and
Kyuafile files so that the helpers that we build as test programs do not
end up in them.

Reported by gson@.

(jmmv)

2014-02-15 19:10:29 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 19:09:56 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 18:55:30 UTC MAIN commitmail json YAML

Put .INCLUDEDFROM* in the right section

(sjg)

2014-02-15 18:41:21 UTC MAIN commitmail json YAML

Put a bootloader binary into install ramdisk.

sysinst support will come soon.

(tsutsui)

2014-02-15 18:17:59 UTC MAIN commitmail json YAML

put more info about the sierra modem

(christos)

2014-02-15 17:50:31 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 17:50:02 UTC matt-nb5-mips64 commitmail json YAML

remove __HAVE_ATOMIC64_OPS (it's in types.h now)

(matt)

2014-02-15 17:49:12 UTC matt-nb5-mips64 commitmail json YAML

Deal with armv7{,eb} MACHINE_ARCH

(matt)

2014-02-15 17:48:37 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 17:48:09 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 17:39:03 UTC MAIN commitmail json YAML

initialize offset to 0 (Maxime Villard)

(christos)

2014-02-15 16:30:24 UTC matt-nb5-mips64 commitmail json YAML

Fix typo STACK_ALIGNBYTES -> STACKALIGNBYTES

(matt)

2014-02-15 16:29:55 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 16:18:37 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 16:17:01 UTC MAIN commitmail json YAML

Remove the last argument of elf_check_header(). It is easier - and faster - to
check the e_type field in the calling function. Other BSD's already do this.

ok christos@

(maxv)

2014-02-15 16:16:39 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 13:34:28 UTC MAIN commitmail json YAML

No need to specify ${.OBJDIR} for target files.

It rather fails if MKHOSTOBJ=yes.

(tsutsui)

2014-02-15 10:27:44 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 10:19:14 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 10:18:33 UTC matt-nb5-mips64 commitmail json YAML

Add PMAP_NOCACHE + others.

(matt)

2014-02-15 10:17:20 UTC matt-nb5-mips64 commitmail json YAML

Add a few OKAY flags from HEAD

(matt)

2014-02-15 10:16:32 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 10:14:35 UTC matt-nb5-mips64 commitmail json YAML

Add sy_invoke inline from HEAD

(matt)

2014-02-15 10:14:10 UTC matt-nb5-mips64 commitmail json YAML

add prototype for cpu_mcontext_validate

(matt)

2014-02-15 10:13:25 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 10:12:47 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 10:11:15 UTC MAIN commitmail json YAML

Remove all references to MDL_USEDFPU and deferred fpu initialisation.
The cost of zeroing the save area on exec is minimal.
This stops the FP registers of a random process being used the first
  time an lwp uses the fpu.
sendsig_siginfo() and get_mcontext() now unconditionally copy the FP
registers.
I'll remove the double-copy for signal handlers soon.
get_mcontext() might have been leaking kernel memory to userspace - and
  may still do so if i386_use_fxsave is false (short copies).

(dsl)

2014-02-15 09:43:02 UTC MAIN commitmail json YAML

If MAKEVERBOSE < 2 remove the -v from pax command lines.

(dsl)

2014-02-15 08:25:01 UTC MAIN commitmail json YAML

Fix typo.

(wiz)

2014-02-15 07:38:22 UTC MAIN commitmail json YAML

2014-02-15 04:19:46 UTC MAIN commitmail json YAML

Fix the bundling of the version number in built files.

Yes, attempting yet another fix at this so that the version number that
gets recorded in the pkgconfig files and inside atf-version really matches
the latest imported version.  Should resolve issues where the built files
get stuck with an older version number during update builds.

This time, I'm trying the same approach I applied in the FreeBSD source
tree, which has been working fine so far across various release imports.

(jmmv)

2014-02-15 04:15:20 UTC MAIN commitmail json YAML

Prevent registering the helper programs as test programs.

They are not intended to be run neither by atf-run nor Kyua, and doing so
results in test failures.  The easiest way to do this for now is to just
ship custom Atffile and Kyuafile files.  (This broke because with atf-0.20
we started using the auto-generated versions of these, and due to the way
bsd.test.mk works, these registered the helpers as well.)

Problem reported by martin@.

(jmmv)

2014-02-15 03:33:40 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 03:22:27 UTC matt-nb5-mips64 commitmail json YAML

2014-02-15 02:02:39 UTC MAIN commitmail json YAML

Fix path to libtools.a.

The build would break when we do not use MAKEOBJDIR* but do use OBJMACHINE.
Problem found by B Harder and fix based on patch from NONAKA Kimihiro as
posted on current-users.

(jmmv)

2014-02-15 01:54:17 UTC MAIN commitmail json YAML

Fix path to atf-run.hooks after import of atf-0.19.

Problem found by martin@.  Not spotted by me, I think, because I always use
postinstall on an etc.tgz file and forgot about this code path.

(jmmv)

2014-02-15 00:17:17 UTC MAIN commitmail json YAML

delete the correct variables on eof
fix typo in comment (from sjg)

(christos)

2014-02-14 23:27:57 UTC netbsd-6-0 commitmail json YAML

2014-02-14 23:27:46 UTC netbsd-6-1 commitmail json YAML

2014-02-14 23:27:34 UTC netbsd-6 commitmail json YAML

2014-02-14 23:21:28 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1028):
sys/kern/exec_elf.c: revision 1.55
Fix memory leak.
ok christos@ agc@

(bouyer)

2014-02-14 23:21:25 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1028):
sys/kern/exec_elf.c: revision 1.55
Fix memory leak.
ok christos@ agc@

(bouyer)

2014-02-14 23:21:20 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1028):
sys/kern/exec_elf.c: revision 1.55
Fix memory leak.
ok christos@ agc@

(bouyer)

2014-02-14 20:43:35 UTC MAIN commitmail json YAML

fix protocol printing order.

(christos)

2014-02-14 20:35:20 UTC MAIN commitmail json YAML

Update hacks.

(joerg)

2014-02-14 20:34:28 UTC MAIN commitmail json YAML

Only realprot.S still needs to be built with GNU as.

(joerg)

2014-02-14 20:33:32 UTC MAIN commitmail json YAML

2014-02-14 20:32:58 UTC MAIN commitmail json YAML

Build glue for the libedit wrapper, not yet used.

(joerg)

2014-02-14 20:23:57 UTC MAIN commitmail json YAML

2014-02-14 18:38:16 UTC matt-nb5-mips64 commitmail json YAML

2014-02-14 18:36:14 UTC matt-nb5-mips64 commitmail json YAML

SYSTEM_DEP?= -> SYSTEM_DEP+=
Add KERNLDSCRIPT to SYSTEM_DEP

(matt)

2014-02-14 18:35:15 UTC matt-nb5-mips64 commitmail json YAML

2014-02-14 18:31:49 UTC matt-nb5-mips64 commitmail json YAML

2014-02-14 16:35:40 UTC MAIN commitmail json YAML

explain why the innocent sigaction1 call now works.

(christos)

2014-02-14 16:35:11 UTC MAIN commitmail json YAML

Don't check trampolines for SIG_DFL or SIG_IGN since they are not used.
From gimpy.

(christos)

2014-02-14 16:04:44 UTC MAIN commitmail json YAML

make sure kernel is initialized properly.

(christos)

2014-02-14 13:25:19 UTC MAIN commitmail json YAML

Regen for GeForce 210 High Definition Audio Controller.

(njoly)

2014-02-14 13:24:46 UTC MAIN commitmail json YAML

Add GeForce 210 High Definition Audio Controller.

(njoly)

2014-02-14 08:50:27 UTC MAIN commitmail json YAML

Member un_flags is unused now -- remove.

(hannken)

2014-02-14 07:30:07 UTC MAIN commitmail json YAML

Fix memory leak.

ok christos@ agc@

(maxv)

2014-02-14 07:29:06 UTC MAIN commitmail json YAML

2014-02-14 07:27:37 UTC MAIN commitmail json YAML

New sentence, new line.

(wiz)

2014-02-14 04:24:41 UTC MAIN commitmail json YAML

mention ibss and hostap support

(christos)

2014-02-14 04:22:13 UTC MAIN commitmail json YAML

2014-02-14 04:20:43 UTC MAIN commitmail json YAML

Add the 4G part of my modem, no driver yet.

(christos)

2014-02-14 04:17:41 UTC MAIN commitmail json YAML

ibss and hostap support from stsp @ openbsd.

(christos)

2014-02-14 02:07:49 UTC MAIN commitmail json YAML

Mention some NPF improvements: static (stateless) NAT, support for NPTv6
and CDB based tables.

(rmind)

2014-02-14 02:01:12 UTC MAIN commitmail json YAML

G/C some todo items

(rmind)

2014-02-14 01:52:58 UTC MAIN commitmail json YAML

Document NAT algorithm option in the grammar of "map".

(rmind)

2014-02-14 01:43:13 UTC MAIN commitmail json YAML

2014-02-14 01:27:48 UTC MAIN commitmail json YAML

g/c prototype of imaginary routine

(pooka)

2014-02-14 01:11:04 UTC MAIN commitmail json YAML

some minor updates and reality-checks

(pooka)

2014-02-14 00:33:51 UTC MAIN commitmail json YAML

minor clarification: rumpuser_thread_create() is used to create the host
thread context for kernel threads, never for application threads.

per discussion with justin

(pooka)

2014-02-13 22:36:28 UTC MAIN commitmail json YAML

Fix some typos found by Rich Neswold and reported in PR 48597.

(wiz)

2014-02-13 21:05:26 UTC MAIN commitmail json YAML

Remove an unused variable

(martin)

2014-02-13 19:37:08 UTC MAIN commitmail json YAML

2014-02-13 17:42:24 UTC MAIN commitmail json YAML

Mark i386/npx.h obsolete.
I'd forgotten it was released here as well.

(dsl)

2014-02-13 15:04:18 UTC MAIN commitmail json YAML

Simplify cpu_spawn_return - setregs has done all the work already.

(skrll)

2014-02-13 12:00:29 UTC MAIN commitmail json YAML

level of controversy about their inclusion.

(elric)

2014-02-13 11:08:46 UTC MAIN commitmail json YAML

Slight code re-arrangement. No functional change.

(skrll)

2014-02-13 09:55:04 UTC MAIN commitmail json YAML

Get rid of UN_KLOCK to keep a lock on vput().  It is not really needed
and makes the source difficult to read.  Always hold references to the
union nodes until the operation is done.

(hannken)

2014-02-13 09:50:31 UTC MAIN commitmail json YAML

Fix the DOT and DOTDOT case for union_lookup1().

(hannken)

2014-02-13 03:34:41 UTC MAIN commitmail json YAML

2014-02-13 00:42:01 UTC MAIN commitmail json YAML

npfctl_bpf_cidr: fix a bug in handling of smaller IPv6 masks.

(rmind)

2014-02-12 23:24:09 UTC MAIN commitmail json YAML

Change i386 to use x86/fpu.c instead of i386/isa/npx.c
This changes the trap10 and trap13 code to call directly into fpu.c,
  removing all the code for T_ARITHTRAP, T_XMM and T_FPUNDA from i386/trap.c
Not all of the code thate appeared to handle fpu traps was ever called!
Most of the changes just replace the include of machine/npx.h with x86/fpu.h
  (or remove it entirely).

(dsl)

2014-02-12 23:04:43 UTC MAIN commitmail json YAML

Add definitions of the default control words directly to this file
instead of pulling the kernel definition of the fpu (etc) into
userspace programs.
I've included machine/fenv.h into x86/cpu.c to ensure the duplicated
definitions stay in step.
The default control words are now the hardware defaults.
XXX: Anyone care to explain the differences between the i386 and amd64
versions of this file?

(dsl)

2014-02-12 22:30:45 UTC MAIN commitmail json YAML

Minor comment massage, zero functionality massage.

(pooka)

2014-02-12 22:28:44 UTC MAIN commitmail json YAML

Rototill a bit, and attempt to disguise it as non-gratuitous.

Add arch/generic and move non-x86 files from rumpkern/ there.  Also,
move files from arch/i386 to arch/x86, and make both i386 and x86_64
use those.

This clarifies the situation with what is MD vs. MI code.

renames:
  rumpcpu_generic,kobj_stubs,pmap_stubs => arch/generic/rump_generic_$x
  arch/i386/* => arch/x86/rump_x86_$x

(for those who forget, x86 requires MD code because rump kernels
use the same ABI as kernel modules)

(pooka)

2014-02-12 20:20:15 UTC MAIN commitmail json YAML

Unlock correct mutex in an error path.
PR kern/48592 from Kengo NAKAHARA.

(martin)

2014-02-12 19:53:49 UTC MAIN commitmail json YAML

Change the argument to fpudna() to be the trapframe.
Move the checks for fpu traps in kernel into x86/fpu.c.
Remove the code from amd64/trap.c related to fpu traps (they've not gone
  there for ages - expect to panic in kernel mode).
In fpudna():
- Don't actually enable hardware interrupts unless we need to
  allow in IPIs.
- There is no point in enabling them when they are blocked in software
  (by splhigh()).
- Keep the splhigh() to avoid a load of the KASSERTS() firing.

(dsl)

2014-02-12 04:08:32 UTC MAIN commitmail json YAML

Homogenize reachover build file structure with that of kyua-cli:

- Move the majority of the common build definitions to the top-level
  Makefile.inc and ensure this gets included everywhere.
- Move the bconfig.h file to the top-level directory.
- Add a statically-generated defs.h file instead of creating one
  during the build.  Easier to understand and less chances for things
  to go wrong.
- Make sure all files using ATF_VERSION have the right dependency to
  trigger a rebuild when the value changes.
- Clean up stale -I flags.

This is all mostly for simplicity reasons and to reduce the cognitive
load required to understand the build of the atf and kyua-* packages.

I have tested this with both MKKYUA=no/yes and non-clean/clean builds
so hopefully I got the details right.  But if not, let me know please.

(jmmv)

2014-02-12 03:47:21 UTC MAIN commitmail json YAML

Remove unused reachover Makefiles.

The content of these was subsumed into the sibling 'tools' subdirectory
during the import of atf-0.19.

(jmmv)

2014-02-12 01:42:50 UTC MAIN commitmail json YAML

npfctl_print_table: add a "cdb" type.

(rmind)

2014-02-12 01:35:56 UTC MAIN commitmail json YAML

Reduce the calls to realloc from brk_string by basing initial argmax guess
on length of input.

Reviewed by: christos

(sjg)

2014-02-11 22:48:25 UTC MAIN commitmail json YAML

Add x86/fpu.h
Nothing in i386 uses it yet, but it ends up in destdir so it has to be
released.

(dsl)

2014-02-11 20:17:16 UTC MAIN commitmail json YAML

2014-02-11 18:13:45 UTC MAIN commitmail json YAML

Remove portability-related guards from the atf tools.

Just assume we are building for NetBSD given that the tools code is now
owned by the NetBSD tree.

(jmmv)

2014-02-11 18:07:30 UTC MAIN commitmail json YAML

Remove revision.h and associated complexity from atf-version.

Arguably, this was never needed and only made the code and the build system
more complex for no real reason.

(jmmv)

2014-02-11 17:28:21 UTC MAIN commitmail json YAML

2014-02-11 16:31:38 UTC MAIN commitmail json YAML

2014-02-11 16:15:06 UTC MAIN commitmail json YAML

Note update of atf to 0.20.

(jmmv)

2014-02-11 16:11:29 UTC MAIN commitmail json YAML

2014-02-11 16:10:41 UTC MAIN commitmail json YAML

2014-02-11 16:00:13 UTC MAIN commitmail json YAML

Fix uninitialized variable. Harmless: it does not change the behavior
at all.

ok rmind@ christos@

(maxv)

2014-02-11 09:04:28 UTC MAIN commitmail json YAML

Fix typo in DF_STATIC_TLS. From Elliott Hughes on tech-userlevel.

(skrll)

2014-02-11 08:10:10 UTC MAIN commitmail json YAML

Remove unused inline version of SCSI IOCS functions.

(tsutsui)

2014-02-11 08:06:07 UTC MAIN commitmail json YAML

Specify default SCSI inquiry size (36 bytes) on IOCS_S_INQUIRY() command.

X680x0 SCSI IOCS stalls if SCSI device doesn't return inquiry data
of specified allocation length size on the INQUIRY command,
and it causes hangup on the XM6 based emulators that return only
upto 36 byte inquiry data on SCSI disk emulation.

Many real SCSI-2 hard drives seem to support >100 byte inquiry data,
but at least there is a harddisk that returns only supported inquiry
data size and quits transfer.

The bootloader checks only the device type and there is no reason
to read 100 bytes that includes vender specific data.

Analyzed and reported by GIMONS, a developer of XM6 TypeG emulator,
which also can run NetBSD/x68k.

(tsutsui)

2014-02-10 16:30:54 UTC MAIN commitmail json YAML

remove unneeded code, and kill parens from return

(christos)

2014-02-10 16:29:30 UTC MAIN commitmail json YAML

PR/48585: Henning Petersen: Always set errno when returning NULL.

(christos)

2014-02-10 11:23:14 UTC MAIN commitmail json YAML

Change layerfs_vget(), layerfs_fhtovp() and the various layer xxx_mount()
functions to unlock/relock the node for the call to layer_node_create().

Finally remove dirty hacks (LK_NOWAIT, kpause) from layer_node_find().

(hannken)

2014-02-10 08:20:05 UTC MAIN commitmail json YAML

Move the "-U or -E must be set for build as an unprivileged user."
test from sanitycheck() to validatemakeparams().  If MKUNPRIVED is set
in mk.conf (and not on the build.sh command line) then it's not yet
available for use in the sanitycheck function.

Also move some other code for consistency.

(apb)

2014-02-10 06:36:53 UTC MAIN commitmail json YAML

2014-02-10 00:23:36 UTC MAIN commitmail json YAML

in update_db(), extract the full list of files to update from the db
before actually updating anything, since changing the db while the query
that extracts the list of files is still in progress results in
the extraction query failing before it finds everything.

(chs)

2014-02-09 23:02:25 UTC MAIN commitmail json YAML

Steal the table from i386/isa/npx.c than selects the highest priority
  floating point error when raising a signal.
Multiple errors bits can easily be set if different sub-fields of an
xmm simd operation generate different errors.

(dsl)

2014-02-09 22:47:04 UTC MAIN commitmail json YAML

Tidy up and correct some comments.
Replace the hand generated 28 lines that initialised fpetable[]
  with some pre-processor expressions.
The latter was verified to give the same table entries.

(dsl)

2014-02-09 22:19:02 UTC MAIN commitmail json YAML

Simplify fputrap() considerably.
There is no need to save the fpu state here, and definitely no need
  to initialise the fpu.
The code is running with interrupts disabled having trapped on either
  an x87 instruction (the one after the one that generated the error)
  or on an SSE (etc) instruction that caused the error.
So all it needs to do it obtain the 'error' bits from the relevant
  status register, clear the bits, and then raise any signal.
The signal code will save the fp state if the signal itself isn't masked.
It also passes the FP state to the signal handler - which can modify it.
(I suspect that wasn't thecase when this code was written.)
Seems to work for both 64bit and 32bit 'divide by zero' errors.
For the xmm trap, the xmm registers are updated for the result of the
  instruction, but the trap returns to re-execute the instruction!
This makes it difficult for the signal handler to do anything sensible.

I've also changed the code to only use unmasked error bits when deciding
the signal code.

(dsl)

2014-02-09 21:26:07 UTC MAIN commitmail json YAML

Use compiler builtins instead of atf_arch and atf_machine.

The atf_arch and atf_machine configuration variables were removed from
atf-0.19 without me realizing that some tests were querying them directly.

Instead of reintroducing those variables, just rely on compiler builtins
as many other tests already do.

Should fix PR bin/48582.

(jmmv)

2014-02-09 19:42:04 UTC MAIN commitmail json YAML

Best if x86_stmxcsr executes stmxcsr.

(dsl)

2014-02-09 17:18:38 UTC MAIN commitmail json YAML

Adjust comment and change vput() to vrele().  This change got missed
when changing vnode creation operations to return unlocked result.

(hannken)

2014-02-09 17:15:51 UTC MAIN commitmail json YAML

When layer_node_alloc() finds another thread already inserted the node
into the hashlist and discards the now unneeded node it will raise a
panic "dead but not clean".

Reorder the initialization and use ungetnewvnode() to discard the node.

(hannken)

2014-02-09 17:07:41 UTC MAIN commitmail json YAML

2014-02-09 16:41:42 UTC MAIN commitmail json YAML

2014-02-09 14:51:13 UTC MAIN commitmail json YAML

Reorder code to avoid using an uninitialized variable: if
sysctl_copyin fails, 'tmp' is not initialized. This bug is
harmless since only the return value will be different;
it does not expose kernel memory unless diagnostic is enabled.

ok agc@ martin@

(maxv)

2014-02-09 14:44:42 UTC MAIN commitmail json YAML

Add compatibility for some userspace code (eg firefox) that seems to look
  inside the ucontext structure passed to signal handlers to modify the
  xmm registers.
This should make the code compile - I'm not at all sure it works as expected,
  the interactions between FP and signal handlers aren't at all clear.
AFAICT the FP state is saved on the user stack when the handler is called,
  however the FP trap code can already done odd things to the FPU....

(dsl)

2014-02-09 14:02:39 UTC MAIN commitmail json YAML

2014-02-09 13:41:00 UTC MAIN commitmail json YAML

Fix error message; argv[1] could be NULL

(maxv)

2014-02-09 12:53:30 UTC MAIN commitmail json YAML

Revert previous revision. It bkeaks profiling kernel builds.
LIBISPRIVATE unconditionnally set MKPROFILE to no, preventing
profiling kernel library.

(njoly)

2014-02-09 12:32:32 UTC MAIN commitmail json YAML

- bump man page date
- strip :80 off virtual host names as they're the default

(mrg)

2014-02-09 12:27:37 UTC MAIN commitmail json YAML

Remove a few noisy debug printf.

(njoly)

2014-02-09 01:46:10 UTC MAIN commitmail json YAML

some fixes for virtual hosting support from Rajeev V. Pillai:

- memory leaks in virtual host plugged
- ensure hr_host is only the host/port part when the request
  contains the hostname in the URI not Host: header.

also update the references to the old http/1.1 draft rev 06
to RFC 2616 (fortunately, most sections hadn't moved.)

(mrg)

2014-02-08 22:36:50 UTC MAIN commitmail json YAML

Add bit defs for more of the x87 status register.

(dsl)

2014-02-08 19:45:51 UTC MAIN commitmail json YAML

Adjust directories for atf 0.19 import.

(jmmv)

2014-02-08 19:18:39 UTC MAIN commitmail json YAML

2014-02-08 19:17:43 UTC MAIN commitmail json YAML

2014-02-08 19:15:34 UTC MAIN commitmail json YAML

Adjust reachover Makefiles for atf-0.19.

The main change here is that the atf-config, atf-report, atf-run and
atf-version tools no longer depend on libatf-c nor libatf-c++.  Instead,
they depend on an internal libtools.a that contains code specifically
for these tools and nothing else, making them self-contained.

(jmmv)

2014-02-08 19:13:44 UTC MAIN commitmail json YAML

2014-02-08 19:06:05 UTC MAIN commitmail json YAML

Adjust for import of atf 0.19.

- Delete some unnecessary files.
- Print out both the list of deleted files and added files in the import.
  Useful when adjusting file lists and the reachover Makefiles.

(jmmv)

2014-02-08 15:50:29 UTC MAIN commitmail json YAML

2014-02-08 01:32:19 UTC MAIN commitmail json YAML

2014-02-08 01:20:09 UTC MAIN commitmail json YAML

NPF:
- Adjust the syntax - remove "inet" keyword in favour of more explicit
  "inet4" for the address family.  Consistent with "inet6" for IPv6.
- Adjust and improve the man page a little bit.

(rmind)

2014-02-07 23:45:22 UTC MAIN commitmail json YAML

2014-02-07 23:18:04 UTC MAIN commitmail json YAML

2014-02-07 22:40:22 UTC MAIN commitmail json YAML

Convert the amd64 build to use x86/cpu_extended_state.h so that the fpu
  definitions match those of i386.
Mostly just structure and field renames, in addition:
1) process_xmm_to_s87() and process_s87_to_xmm() moved into
  x86/convert_xmm_s87.c so they can be used by amd64's netbsd32 code.
2) The linux signal code simplified to use a structure copy for ths fxsave
  data - it matches the hardware definition and won't change.

(dsl)

2014-02-07 21:52:46 UTC MAIN commitmail json YAML

Userspace (especially libkvm) build better is cpu_extended_state.h
is exported.

(dsl)

2014-02-07 21:37:28 UTC MAIN commitmail json YAML

gdb-7.7 out.

(wiz)

2014-02-07 20:20:56 UTC MAIN commitmail json YAML

don't lie about function signatures.

(christos)

2014-02-07 19:36:15 UTC MAIN commitmail json YAML

Move all the hardware register layout for the x86 cpus into a header
that can also be used by amd64.
Add in skeleton definitions for XSAVE and AVX.
Update some comments to match reality.

(dsl)

2014-02-07 19:32:50 UTC MAIN commitmail json YAML

Remove the splurious check for EN_SW_DATACHAIN when looking at mxcsr traps.
The relevant bit is always masked out higher up.
The only place I can find a reference to a 'datachain' error is for the
  weitek 1167 fpu. Even the 8087 has the corresponding bit of the x87
  status reserved.
Quite why it has appeared here is anybodies guess.

(dsl)

2014-02-07 17:23:35 UTC MAIN commitmail json YAML

Use Var_Value() instead of getenv() to obtain MAKEOBJDIR{,PREFIX}.

Fixes "make -X MAKEOBJDIR=foo".  Purely uncoincidentally, build.sh
creates the nbmake wrapper with MAKEFLAGS -X on FreeBSD.

(pooka)

2014-02-07 16:57:05 UTC MAIN commitmail json YAML

Mark up author name with An.

(wiz)

2014-02-07 15:49:40 UTC MAIN commitmail json YAML

2014-02-07 15:29:23 UTC MAIN commitmail json YAML

2014-02-07 15:26:42 UTC MAIN commitmail json YAML

Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

(hannken)

2014-02-07 13:28:58 UTC netbsd-6 commitmail json YAML

Fix revision in previous commit

(sborrill)

2014-02-07 13:28:24 UTC netbsd-6 commitmail json YAML

2014-02-07 13:27:58 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by bouyer in ticket #1020):
external/gpl3/gcc/dist/gcc/config/mips/mips.c: revision 1.2

Fix a problem with lazy symbols binding caused by an overly
aggressive optimisation. This bug shows up with Xorg, preventing
xf86-video-sis and xf86-video-silicon modules from being loaded.

(sborrill)

2014-02-07 13:23:09 UTC netbsd-6 commitmail json YAML

2014-02-07 13:22:51 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by bouyer in ticket #1019):
sys/dev/pci/sisfb.c: revision 1.3
sys/arch/evbmips/conf/LOONGSON: revision 1.22

Make sysinst much more useable when used with the VGA display on
LOONGSON.

(sborrill)

2014-02-07 12:33:18 UTC netbsd-6 commitmail json YAML

2014-02-07 12:32:55 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by skrll in ticket #1018):
sys/arch/hp700/dev/lasi.c: revision 1.25

Fix HP715/100 cpu and device detection.

(sborrill)

2014-02-07 12:30:11 UTC netbsd-6 commitmail json YAML

2014-02-07 12:12:27 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by skrll in ticket #1018):
sys/arch/hp700/hp700/machdep.c: revision 1.118

Fix HP715/100 cpu and device detection.

(sborrill)

2014-02-07 11:51:00 UTC MAIN commitmail json YAML

2014-02-07 11:41:22 UTC netbsd-6 commitmail json YAML

2014-02-07 11:41:02 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by christos in ticket #1017):
sys/arch/x86/include/db_machdep.h: revision 1.4
sys/arch/i386/i386/db_machdep.c: revision 1.5

Fix ddb backtrace for softintr (i386).

(sborrill)

2014-02-07 11:33:49 UTC netbsd-6 commitmail json YAML

2014-02-07 11:33:34 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by skrll in ticket #1015):
sys/dev/usb/usb_subr.c: revision 1.190, 1.192

Fix PR/48496. Only set wMaxPacketSize to 64 for HS/FS and set to 8 for LS to be within
the USB spec.
Reload the full device descriptor after re-establishing the default pipe
with the new address.

(sborrill)

2014-02-07 11:15:59 UTC netbsd-6 commitmail json YAML

2014-02-07 11:15:37 UTC netbsd-6 commitmail json YAML

Pull up the following revisions(s) (requested by skrll in ticket #1014):
sys/dev/ic/pckbc.c: revision 1.56

Do not take data from the keyboard controller in interrupt handler if
we are polling. Fixes PR/47406

(sborrill)

2014-02-07 09:22:02 UTC MAIN commitmail json YAML

Replaced enable/disable_intr by splhigh/splx.

(phx)

2014-02-07 08:51:34 UTC MAIN commitmail json YAML

Remove enable_intr() and disable_intr(), which are unused.

(phx)

2014-02-07 02:36:06 UTC MAIN commitmail json YAML

RFC 3542 (section 10.1) states that optlen should only be checked when
opt != NULL (Eitan Adler)

(christos)