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

2024-05-09 22:09:16 UTC Now

2010-04-27 05:44:30 UTC matt-nb5-mips64 commitmail json YAML

seperate RMI CPU revision codes from RMI CPU processor codes
and improve comment

(cliff)

2010-04-27 05:34:16 UTC MAIN commitmail json YAML

2010-04-27 05:34:15 UTC MAIN commitmail json YAML

Clean up <dev/acpi/acpireg.h>. While documenting the control methods is an
admirable goal, it is pretty much mission impossible; the specifications are
nearly thousand pages each and the amount of methods is counted in hundreds.

In addition, use ACPICA's native constants from <actypes.h> when possible.
Also move ACPI_STA_OK from "mpacpi.c" to <dev/acpi/acpireg.h> to simplify
the evaluation of device status.

(jruoho)

2010-04-27 05:27:59 UTC MAIN commitmail json YAML

Use OHARE_NIRQ instead of NIRQ.
  NIRQ defined in powerpc/intr.h sinse 'Support 64-bit imask for powerpc/pic.'

(kiyohara)

2010-04-27 04:32:44 UTC uebayasi-xip commitmail json YAML

2010-04-27 03:01:25 UTC MAIN commitmail json YAML

Describe in a comment what the emit_dist_file target is for.

Under some circumstances, ${TOOL_CAT} may refer to an executable
that does not exist.  As a stopgap fix, use cat(1) instead of
${TOOL_CAT} in emit_dist_file.

(dyoung)

2010-04-27 02:51:05 UTC MAIN commitmail json YAML

add usr/libdata/debug/usr/lib and usr/libdata/debug/usr/lib/i18n

(lukem)

2010-04-27 00:38:42 UTC MAIN commitmail json YAML

Apparently exec.h is needed at least for i386/xen.

(pooka)

2010-04-26 23:47:25 UTC MAIN commitmail json YAML

Undo infamous "mad \"scientist\"" experiment.  There is no need
for complicated application frobbing to get a kernel module loaded
into rump -- it will be loaded from the host automatically now.

(pooka)

2010-04-26 23:43:36 UTC MAIN commitmail json YAML

Register module_base as an etfs recursive subdirectory.  This means
that rump will autoload kernel modules from the host
/stand/arch/vers/modules directory.

(pooka)

2010-04-26 23:40:22 UTC MAIN commitmail json YAML

Add directory support to etfs: host directories and their contents
will be mapped to rumpfs based on the given key.  The directory
can be mapped either for a single level or recursively down the
entire subtree.

(pooka)

2010-04-26 23:18:51 UTC MAIN commitmail json YAML

Allow everyone in the kernel to see module_base.

(pooka)

2010-04-26 23:17:13 UTC MAIN commitmail json YAML

Implement kobj_renamespace() for rump.  Support for a few archs is
missing, but that doesn't really matter, since they are living in
their own "everything is a macro" happyland and don't support the
native kernel ABI anyway.

(pooka)

2010-04-26 23:01:53 UTC MAIN commitmail json YAML

Give a cpp hint if the native kernel abi is supported.

(pooka)

2010-04-26 22:58:53 UTC MAIN commitmail json YAML

Add an optional hook for adjusting module string table after load.
Currently to be used for rump "SAOS" namespace trick.

(pooka)

2010-04-26 20:10:23 UTC MAIN commitmail json YAML

Change machine from "rump" to MACHINE so that module_base goes
right.

Now, any guesses on how many archs this seemingly trivial change
will break the principal metric, i.e. The Build(tm)?  Keep the bets
coming in.

(pooka)

2010-04-26 17:06:21 UTC rmind-uvmplock commitmail json YAML

Slight simplification to TLB shootdown handler on i386 and amd64.

(rmind)

2010-04-26 16:26:11 UTC MAIN commitmail json YAML

Revert rev1.6, it shall return ETIMEDOUT for pthread calls.

(rmind)

2010-04-26 15:25:24 UTC MAIN commitmail json YAML

Provide hppa_cpu_hastlbu_p

(skrll)

2010-04-26 15:22:38 UTC MAIN commitmail json YAML

SANITY output tweak.

(skrll)

2010-04-26 15:07:01 UTC MAIN commitmail json YAML

lwp_uc_pool has been replaced with kmem(9)
so also replace <sys/pool.h> with <sys/kmem.h>.

(tsutsui)

2010-04-26 13:38:43 UTC MAIN commitmail json YAML

2010-04-26 13:30:31 UTC MAIN commitmail json YAML

Improve and rearrange comments.

(jruoho)

2010-04-26 12:46:48 UTC MAIN commitmail json YAML

AE_CTRL_TERMINATE -> AE_CTRL_FALSE.

(jruoho)

2010-04-26 12:16:22 UTC MAIN commitmail json YAML

2010-04-26 12:10:51 UTC MAIN commitmail json YAML

Remove used BSS allocation.

(skrll)

2010-04-26 09:47:46 UTC MAIN commitmail json YAML

2010-04-26 09:26:25 UTC MAIN commitmail json YAML

Avoid using demap_lock early in pmap_bootstrap before it is initialized.

(martin)

2010-04-26 07:51:36 UTC MAIN commitmail json YAML

Describe the struct iovec better.

(jruoho)

2010-04-26 07:36:33 UTC MAIN commitmail json YAML

Small markup improvements.

(jruoho)

2010-04-26 06:42:57 UTC uebayasi-xip commitmail json YAML

2010-04-26 06:37:38 UTC uebayasi-xip commitmail json YAML

Clean up: move memory segment specific code from uvm_page_physload_common()
to uvm_page_physload().

(uebayasi)

2010-04-26 06:19:06 UTC uebayasi-xip commitmail json YAML

Remove the unfinished code to add a memory segment after uvm_page_init().
It doesn't even compile.

(In the future, we should allocate struct vm_page [] on the added memory
segment for NUMA's sake.)

(uebayasi)

2010-04-26 04:48:50 UTC rmind-uvmplock commitmail json YAML

Partly rewrite amd64 TLB shutdown handler for the changes in x86 pmap.
At this point, branch seems to pass preliminar stress tests on amd64.

(rmind)

2010-04-26 04:31:09 UTC MAIN commitmail json YAML

Move the ACPIVERBOSE blocks to a single place.

Also print non-devices in the EISAID/HID/UID/ADR-block

(jruoho)

2010-04-26 03:46:00 UTC MAIN commitmail json YAML

fix comment (so bracket matching works as intended)

(lukem)

2010-04-26 02:43:35 UTC rmind-uvmplock commitmail json YAML

Apply renovated patch to significantly reduce TLB shootdowns in x86 pmap,
also provide TLBSTATS option to measure and track TLB shootdowns.  Details:

http://mail-index.netbsd.org/port-i386/2009/01/11/msg001018.html

Patch from Andrew Doran, proposed on tech-x86 [sic], in January 2009.

XXX: amd64 and xen are not yet; work in progress.

(rmind)

2010-04-26 02:20:59 UTC rmind-uvmplock commitmail json YAML

Add ubc_purge() and purge/deassociate any related UBC entries during
object (usually, vnode) destruction.  Since locking (and thus object)
is required to enter/remove mappings - object is not allowed anymore
to disappear with any UBC entries left.

From original patch by ad@ with some modifications.

(rmind)

2010-04-25 22:50:11 UTC MAIN commitmail json YAML

Prevent ntpd instances from sending MODE_PRIVATE error responses back and
forth. This resolves CVE-2009-3563, but it should be noted that nobody uses
this code so far, so this is more of a preventive update than a security
one.

(tonnerre)

2010-04-25 22:48:27 UTC rmind-uvmplock commitmail json YAML

ubc_alloc: when replacing a cache entry, lock the old object from which we
are deassociating and removing the old mapping.

(rmind)

2010-04-25 21:08:45 UTC rmind-uvmplock commitmail json YAML

2010-04-25 20:20:57 UTC rmind-uvmplock commitmail json YAML

Fix hp300, missed in previous.

(rmind)

2010-04-25 19:39:00 UTC rmind-uvmplock commitmail json YAML

2010-04-25 18:01:09 UTC MAIN commitmail json YAML

Remove the incorrect table. Fix grammar.

(jruoho)

2010-04-25 17:50:13 UTC MAIN commitmail json YAML

Mention the ACPICA debugger and the way to enter to it from ddb(4).

(jruoho)

2010-04-25 17:06:23 UTC MAIN commitmail json YAML

Returning instead of breaking out if the sleep state is not available.

(jruoho)

2010-04-25 17:03:09 UTC MAIN commitmail json YAML

As noted by jmcneill@, the specifications specifically mention that the _TTS
should be invoked before the system has notified any native mode device
drivers. Thus, do the call before pmf_system_suspend(9).

(jruoho)

2010-04-25 16:10:51 UTC MAIN commitmail json YAML

Nothing uses x86_multicast_ipi() right now and it complicates many
CPU support, so remove it.

(ad)

2010-04-25 15:57:59 UTC MAIN commitmail json YAML

Allocate the cpu_infos array dynamically.

(ad)

2010-04-25 15:56:00 UTC MAIN commitmail json YAML

- console spam.
- atomic_dec_uint -> vfs_destroy.

(ad)

2010-04-25 15:55:24 UTC MAIN commitmail json YAML

Make select/poll work with more than 32 CPUs.
No ABI change.

(ad)

2010-04-25 15:54:14 UTC MAIN commitmail json YAML

Reduce memory spent on bookkeeping for large values of MAXCPUS.

(ad)

2010-04-25 15:51:39 UTC rmind-uvmplock commitmail json YAML

2010-04-25 15:47:52 UTC rmind-uvmplock commitmail json YAML

Drop per-"MD page" (i.e. struct pmap_page) locking i.e. pp_lock/pp_unlock
and rely on locking provided by upper layer, UVM.  Sprinkle asserts.

(rmind)

2010-04-25 15:39:41 UTC MAIN commitmail json YAML

Fix KASSERTMSG() to be consistent with KASSERT() logic, not inverted.
Hi matt@!

(rmind)

2010-04-25 15:27:38 UTC rmind-uvmplock commitmail json YAML

- Invent mm_md_getva() and mm_md_relva() routines, provided by MD and
  indicated with __HAVE_MM_MD_PREFER_VA.  It will be used to deal with
  cache aliasing issues and thus fix little MIPS, ARM and friends.

- Convert dev_mem_readwrite() to use unmanaged mappings.  Fix a missed
  offset addition in a case of direct map.  Sprinkle various comments in
  the memory device driver.

- Add missing direct map handling on hp700 and vax.  Make checks across
  m68k ports more consistent, reduce the diffs.  Fix kernacc check miss
  on news68k.  Minor off-by-one fix for alpha.  Add MEMC_PHYS_BASE for
  mmap() case check on acorn26.  Misc clean-up.

(rmind)

2010-04-25 15:23:28 UTC uebayasi-xip commitmail json YAML

Refactor uvm_page_physload_common().  Memory allocation failure here is
critical; panic if it happens.

(uebayasi)

2010-04-25 12:26:07 UTC MAIN commitmail json YAML

Fix forgot to commit.
  Support 64-bit imask for powerpc/pic.

(kiyohara)

2010-04-25 11:49:36 UTC MAIN commitmail json YAML

MAXCPUS -> maxcpus

(ad)

2010-04-25 11:49:22 UTC MAIN commitmail json YAML

MAXCPUS -> maxcpus

(ad)

2010-04-25 11:49:04 UTC MAIN commitmail json YAML

MAXCPUS -> __arraycount

(ad)

2010-04-25 11:24:46 UTC MAIN commitmail json YAML

2010-04-25 11:23:34 UTC MAIN commitmail json YAML

2010-04-25 10:35:07 UTC MAIN commitmail json YAML

Sort sections, make HTML-ready.

(wiz)

2010-04-25 10:32:44 UTC MAIN commitmail json YAML

2010-04-25 10:15:41 UTC uebayasi-xip commitmail json YAML

Make uvm_page_physload() return the registered struct vm_physseg *.

(uebayasi)

2010-04-25 10:05:23 UTC MAIN commitmail json YAML

Evaluate _TTS on sleep state transitions. This is mainly to pro-actively
support some weird BIOS, which may require the evaluation. Ok jmcneill@.

(jruoho)

2010-04-25 09:14:39 UTC MAIN commitmail json YAML

Fix for PR#42572. I was running with this patch for several month without
any problems.

(matthias)

2010-04-25 09:12:38 UTC MAIN commitmail json YAML

Add a note about AcpiEnterSleepStatePrep().

(jruoho)

2010-04-25 07:12:10 UTC MAIN commitmail json YAML

2010-04-25 07:00:50 UTC MAIN commitmail json YAML

No need to spread bad shell script practices in manual pages...

(jruoho)

2010-04-25 06:54:40 UTC MAIN commitmail json YAML

Add also a paragraph about the platform-specific nature of the thermal
management.

(jruoho)

2010-04-25 06:24:38 UTC MAIN commitmail json YAML

Update this too. As the page was so laconic, and as there is little to write
about the driver, add an example on howto put the system into sleep when the
lid is closed.

(jruoho)

2010-04-25 06:04:59 UTC MAIN commitmail json YAML

Update this.

Remove the nonsense about passive cooling. As there is no known bugs, speak
about CAVEATS instead, and add few items to this section as a TODO.

(jruoho)

2010-04-25 00:57:12 UTC MAIN commitmail json YAML

Added entry about cdb

(joerg)

2010-04-25 00:54:46 UTC MAIN commitmail json YAML

Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.

(joerg)

2010-04-25 00:35:58 UTC MAIN commitmail json YAML

Fix typo in comments.

(tsutsui)

2010-04-24 21:52:34 UTC MAIN commitmail json YAML

The capacity of RAM is decided according to the model.

(nonaka)

2010-04-24 21:51:56 UTC MAIN commitmail json YAML

Oops, the direction of the shift is opposite.

(nonaka)

2010-04-24 21:34:29 UTC MAIN commitmail json YAML

2010-04-24 21:24:03 UTC rmind-uvmplock commitmail json YAML

2010-04-24 21:21:28 UTC MAIN commitmail json YAML

2010-04-24 20:56:19 UTC MAIN commitmail json YAML

Another one bites the dust.

(snj)

2010-04-24 20:44:33 UTC MAIN commitmail json YAML

2010-04-24 19:58:13 UTC MAIN commitmail json YAML

2010-04-24 19:51:15 UTC MAIN commitmail json YAML

Embarrassing typos: _PI_ -> _SI_, _PB_ -> _SB_.

(jruoho)

2010-04-24 19:36:15 UTC MAIN commitmail json YAML

Do not use __func__ with ACPI_DEBUG_PRINT (it already adds it).

(jruoho)

2010-04-24 19:16:10 UTC MAIN commitmail json YAML

Remove retrieving the zone name via something called "REGN".

We really should not add code that aims to satisfy some oddball firmware,
not in the generic drivers that aim to comply with the specifications.
In the long-term this is even worse than quirk tables.

(jruoho)

2010-04-24 19:11:48 UTC MAIN commitmail json YAML

Some purely cosmetic editing in the name of readability: clean up the softc
and remove unused variables therein, remove unused constants, use
ACPI_DEBUG_PRINT, add more detailed comments, et cetera.

(jruoho)

2010-04-24 17:58:40 UTC MAIN commitmail json YAML

pass LDSTATIC to recursive makes.

(christos)

2010-04-24 13:42:19 UTC MAIN commitmail json YAML

Fix a bug involving acpitz(4) accidentally attaching to the _TZ_ scope.

This in turn was caused by a bug in ACPICA, which reports the types of _SB_
and _TZ_ scopes incorrectly for its own internal reasons (utglobal.c):

  /*
  * Predefined ACPI Names (Built-in to the Interpreter)
  *
  * NOTES:
  * 1) _SB_ is defined to be a device to allow \_SB_._INI to be run
  *    during the initialization sequence.
  * 2) _TZ_ is defined to be a thermal zone in order to allow ASL code to
  *    perform a Notify() operation on it.
  */

Thanks to cegger@ for noticing the bug and testing a fix.

(jruoho)

2010-04-24 11:26:15 UTC MAIN commitmail json YAML

Support detach by drvctl(8).

(kiyohara)

2010-04-24 10:41:22 UTC MAIN commitmail json YAML

Only post EOI once for shared interrupts.  From Mark Kettenis.

(skrll)

2010-04-24 09:46:22 UTC MAIN commitmail json YAML

Support 64-bit imask for powerpc/pic.

(kiyohara)

2010-04-24 09:39:57 UTC MAIN commitmail json YAML

2010-04-24 08:00:03 UTC MAIN commitmail json YAML

add missing .debug suffix

(lukem)

2010-04-24 07:57:04 UTC MAIN commitmail json YAML

When extracting separate debug symbols with MKDEBUG, there's no need
to leave the original file unstripped...

(lukem)

2010-04-24 07:03:21 UTC netbsd-5 commitmail json YAML

Mention the last couple changes.

(snj)

2010-04-24 06:59:48 UTC netbsd-5 commitmail json YAML

2010-04-24 06:57:11 UTC MAIN commitmail json YAML

Add utility function acpi_get_node().

This retrieves a struct acpi_devnode from a handle. Since this requires
accessing the global softc, it is better to do it in one place alone. The
same goes for possible locking of the node-queue; it is better not to
publicize such a lock for generic device drivers.

(jruoho)

2010-04-24 06:48:23 UTC netbsd-5 commitmail json YAML

2010-04-24 06:31:44 UTC MAIN commitmail json YAML

Now that we are able to remove references to power resources, provide a
detachment routine for acpitz(4). Add comments explaining the relationship
between power resources and active cooling. Also some improvements to code
readability.

(jruoho)

2010-04-24 01:47:34 UTC MAIN commitmail json YAML

Remove trailing comma in enum, per PR kern/43200.

(trailing commas in enums are allowed in C99, but not C89, and possibly
not in C++, so let's be nice to older and deviant compilers)

(dholland)

2010-04-24 01:35:51 UTC MAIN commitmail json YAML

Edit previous HISTORY patch for style; note our 64-bit time_t change.
Bump date.

(dholland)

2010-04-24 01:13:37 UTC MAIN commitmail json YAML

Document the options that actually exist, instead of some other
completely unrelated set. Bump date. (first time since 1993!)

(dholland)

2010-04-24 00:56:14 UTC MAIN commitmail json YAML

Handle the "diedtime" field of the player log (which is not the high
scores file, the append-only log of all games) as int32_t instead of
time_t. Log files from before the 64-bit time_t change can now be read
again; however, log files from the last year of -current are hosed.
All none of you who play larn, take note...

(dholland)

2010-04-24 00:54:07 UTC MAIN commitmail json YAML

Be explicit about sizeof(*var) being preferred over sizeof(type).

(christos)

2010-04-24 00:38:30 UTC MAIN commitmail json YAML

fflush the score file while signals are blocked to decrease the chance of
it getting corrupted.

(dholland)

2010-04-23 23:05:40 UTC MAIN commitmail json YAML

2010-04-23 22:04:37 UTC MAIN commitmail json YAML

\\ -> \e
Drop redundant .Ic.
Add explicit empty argument for intentionally empty bracket and
parenthesis.

(joerg)

2010-04-23 21:18:00 UTC rmind-uvmplock commitmail json YAML

2010-04-23 20:56:20 UTC MAIN commitmail json YAML

Align usage of *free and *alloc and clean up the firmware read code.
This fixes two panics that occur for kernels compiled with DIAGNOSTIC and
DEBUG. From Sverre Froyen

(christos)

2010-04-23 20:56:01 UTC MAIN commitmail json YAML

2010-04-23 20:55:31 UTC MAIN commitmail json YAML

2010-04-23 20:54:17 UTC MAIN commitmail json YAML

pkg_install-20100421:
Fix an off-by-one in the check for properly sized pkgdb entries.
It rejected perfectly valid entries.

Extract dependencies of libarchive from the pkgconfig file and thereby
drop knowledge of the needed libraries.

At least some versions of HP-UX are known to not support %zu, add a
workaround. This is using the black list approach for now.

Recognize xz as compression type for pkg_create.

The first time an error is hit while fetching packages, try to reget
from the same position. This works around the server closing the
connection while fetching dependencies.

Try to detect common forms of pkgdb corruption and issue a warning in
that case.

Refactor the pkg_vulnerabilities logic to use the compression support
from libarchive. This reduces the amount zlib/bzip2 interaction to
the linkage.

Add man pages for audit-packages and download-vulnerability-list which
point to pkg_admin and notes that the scripts are obsolete.

Status:

Vendor Tag: PKGSRC
Release Tags: pkg_install-20100421

(joerg)

2010-04-23 19:41:03 UTC MAIN commitmail json YAML

2010-04-23 19:29:23 UTC MAIN commitmail json YAML

mq_timed{send,receive}: as required by POSIX, return EINVAL on invalid
timeout and thread would have blocked, instead of ETIMEDOUT.  Change is
to abstimeout2timo(), thus also affects _lwp_park(2).

Reported by Stathis Kamperis some months ago.

(rmind)

2010-04-23 19:27:35 UTC MAIN commitmail json YAML

don't try to print a bus_space_handle_t
now this at least compiles on sparc64

(macallan)

2010-04-23 19:21:08 UTC MAIN commitmail json YAML

Do not try in postinstall(8) to replicate the code in etc/mtree/Makefile
that assembles /etc/mtree/NetBSD.dist.  Instead, use the Makefile's
new target, emit_dist_file, to assemble the correct NetBSD.dist.

Previously, 'postinstall -m amd64 -s $SRC_TOP' would install a
NetBSD.dist that was missing /usr/lib/i386/ et cetera.

(dyoung)

2010-04-23 19:18:10 UTC MAIN commitmail json YAML

2010-04-23 19:17:07 UTC MAIN commitmail json YAML

2010-04-23 19:09:15 UTC MAIN commitmail json YAML

Remove M_IOV (missed in previous commit) and M_1394DATA types.

(rmind)

2010-04-23 19:04:54 UTC MAIN commitmail json YAML

use the local versions of ldexp/frexp/modf again rather than pulling
in libm source code. The libm functions depend on other libm functions,
this requires symbol renaming, and with the reachover method this
is going to be a mess. Also, bundling the dependencies into one .o
file has the potential to cause symbol conflicts on static linking.

(drochner)

2010-04-23 19:00:58 UTC MAIN commitmail json YAML

Forgot that the firmware may change the power state behind our back,
so actively query the state when the sysctl(8) is invoked.

(jruoho)

2010-04-23 18:51:31 UTC MAIN commitmail json YAML

2010-04-23 17:48:07 UTC MAIN commitmail json YAML

+ B/W for bandwidth, ATM and PIN, TBA

(dholland)

2010-04-23 17:43:45 UTC MAIN commitmail json YAML

+ JBOD, NAS, OQL, OWL, RDF, SPARQL, TOS (type of service), UUID

(dholland)

2010-04-23 17:34:48 UTC MAIN commitmail json YAML

minor edits, mostly capitalization.
remove FUD since it's in the main acronyms file already.
Don't use {a,b} notation for semantically unrelated expansions.

(dholland)

2010-04-23 16:44:10 UTC MAIN commitmail json YAML

2010-04-23 16:24:05 UTC MAIN commitmail json YAML

Mention that kmem_free(9) may block, just in a case it is not clear.

(rmind)

2010-04-23 16:07:33 UTC MAIN commitmail json YAML

2010-04-23 15:52:27 UTC MAIN commitmail json YAML

One malloc(9) type is enough for ACPI; use M_ACPI.

(jruoho)

2010-04-23 15:46:59 UTC MAIN commitmail json YAML

Simplify acpi_pcidev_find(): directly return a pointer to the device node.

(jruoho)

2010-04-23 15:43:28 UTC MAIN commitmail json YAML

PR: 42850
Reviewed by:

Reduced the "expected to exist" dirs in path to just
/ /bin and /tmp
and change the "not expected to exist" dir to something
even less likely.
Add a comment to suggest why.

(sjg)

2010-04-23 15:38:47 UTC MAIN commitmail json YAML

Enforce RLIMIT_FSIZE before VOP_WRITE.  This adds support to file
system drivers where it was missing from and fixes one buggy
implementation.  The arguably weird semantics of the check are
maintained (v_size vs. va_bytes, overwrite).

(pooka)

2010-04-23 15:37:01 UTC MAIN commitmail json YAML

Cosmetics: be pedantic and use AE_CTRL_TERMINATE instead of AE_ABORT_METHOD
as a condition to break out of a loop.

(jruoho)

2010-04-23 15:30:30 UTC MAIN commitmail json YAML

no [longer?] need to define _KERNEL when including <net/route.h>

(plunky)

2010-04-23 15:20:35 UTC MAIN commitmail json YAML

When setting the power, always mark the state as invalid on failure, even if
going to D0. Also fix a potential NULL pointer dereference in an aprint_().

(jruoho)

2010-04-23 15:19:21 UTC MAIN commitmail json YAML

Replace M_IOV and some malloc(9)s with kmem(9), and while there:
- Fix invalid free (M_TEMP vs M_IOV) in do_sys_recvmsg(), spotted by jakllsch@.
  Also, same fix in osf1_sys_sendmsg_xopen().
- Fix attempt to free non-allocated memory in error path in netbsd32___getfh30().
- Plug a memory leak in compat_43_netbsd32_orecvmsg().

(rmind)

2010-04-23 15:04:09 UTC MAIN commitmail json YAML

Don't round the bus space map/unmap requests to page size, but keep track
of the exact regions requested.

Only ever map the whole FLEX area in when mapped and don't unmap.

G/C the BTLB stuff - it doesn't work. Maybe one day it will come back.

(skrll)

2010-04-23 14:10:19 UTC MAIN commitmail json YAML

Um, as has been noted, INSTALL_FILE records what's installed if it's
done unprived, and that doesn't go down well on a re-build.  So use
${INSTALL} ${COPY} instead to fix this problem.

(he)

2010-04-23 11:39:53 UTC MAIN commitmail json YAML

2010-04-23 11:00:27 UTC MAIN commitmail json YAML

Uppercase some proper names and abbreviations (probably more to do here).

(wiz)

2010-04-23 09:57:40 UTC MAIN commitmail json YAML

Add some common ones.

(jruoho)

2010-04-23 07:04:18 UTC MAIN commitmail json YAML

Make the ACPIVERBOSE output even prettier by removing cruft.

(jruoho)

2010-04-23 05:10:19 UTC MAIN commitmail json YAML

vgonel() went away a long time ago, so stop declaring it.

(dholland)

2010-04-23 04:21:59 UTC netbsd-5-0 commitmail json YAML

2010-04-23 04:17:31 UTC netbsd-5-0 commitmail json YAML

2010-04-23 03:03:03 UTC MAIN commitmail json YAML

2010-04-23 03:02:16 UTC MAIN commitmail json YAML

add missing argument to clone().  the symptom of this was that pthread_join()
would sometimes get stuck, such as in our "mutex2" regression test.

(chs)

2010-04-23 02:12:58 UTC MAIN commitmail json YAML

mention crash ldscript.

(christos)

2010-04-23 02:10:02 UTC MAIN commitmail json YAML

workaround for MKPIE=yes until binutils-2.20.1 is imported. From Piotr Meyer

(christos)

2010-04-23 00:18:50 UTC MAIN commitmail json YAML

On darwin at least, vfork() fails in child of vfork().
It probably shouldn't work anyway, so avoid this.
We use the macro vFork() - a function seems to cause problems
and is unnecessary overhead.

(sjg)

2010-04-22 22:39:13 UTC MAIN commitmail json YAML

Use _PATH_TMP instead of a literal /tmp; noted by Christos

(dholland)

2010-04-22 21:58:09 UTC MAIN commitmail json YAML

2010-04-22 21:47:32 UTC MAIN commitmail json YAML

Uses cpu_feature, so include <machine/cpuvar.h>

(jym)

2010-04-22 21:41:11 UTC MAIN commitmail json YAML

Force LANG=C to ensure sort(1) behaves as expected

(sjg)

2010-04-22 21:02:25 UTC MAIN commitmail json YAML

CPUID_TSC => cpu_hascounter(). This one was missing in my cpu_feature
rework patch.

Should fix the i386/ALL build issue many have reported. Thanks!

(jym)

2010-04-22 20:25:16 UTC MAIN commitmail json YAML

don't use strlcpy; it causes bootstrap issues. (noted by moof)

(dholland)

2010-04-22 20:12:37 UTC netbsd-5-0 commitmail json YAML

2010-04-22 20:08:56 UTC netbsd-5 commitmail json YAML

2010-04-22 20:05:15 UTC MAIN commitmail json YAML

When choosing IPv6 source addresses, respect the ifaddr preference
level such as one might set with 'ifconfig xx0 inet6 <address>
preference <pref>'.  I've been running this for many months without
any problems.

(dyoung)

2010-04-22 20:02:49 UTC netbsd-5 commitmail json YAML

2010-04-22 19:56:45 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jym in ticket #1377):
sys/arch/x86/x86/identcpu.c: revision 1.19
Fix a test semantic in cpu_probe(): check that the CPU currently probed
is the first one booting by comparing its struct cpu_info address with
cpu_info_primary, rather than supposing that cpu_feature variables are
set to 0.

(snj)

2010-04-22 19:54:34 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jym in ticket #1376):
sys/arch/amd64/amd64/locore.S: revision 1.56
When kernel remaps to high memory in amd64 locore, the GDT used before
becomes invalid. As such, split it in two parts, one for use when system
boots in low memory, and one for use when it jumps to high memory.

(snj)

2010-04-22 19:41:49 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by jym in ticket #1377):
sys/arch/x86/x86/identcpu.c: revision 1.19
Fix a test semantic in cpu_probe(): check that the CPU currently probed
is the first one booting by comparing its struct cpu_info address with
cpu_info_primary, rather than supposing that cpu_feature variables are
set to 0.

(snj)

2010-04-22 19:39:45 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by jym in ticket #1376):
sys/arch/amd64/amd64/locore.S: revision 1.56
When kernel remaps to high memory in amd64 locore, the GDT used before
becomes invalid. As such, split it in two parts, one for use when system
boots in low memory, and one for use when it jumps to high memory.

(snj)

2010-04-22 19:15:24 UTC MAIN commitmail json YAML

PR: 42850
Reviewed by:

modmisc: since we apply an exists() test to $paths, be conservative
in what we expect.

Run the unit tests with -r -m / so that we do not fail if there
is no sys.mk present.

(sjg)

2010-04-22 19:11:17 UTC MAIN commitmail json YAML

Just because $TMPDIR is set does not mean it is valid.
Add a central function for creating temp files so we have one place to
audit.

Reviewed by: dh

(sjg)

2010-04-22 18:53:24 UTC MAIN commitmail json YAML

Remove a redundant prototype. A leftover from the previous commit.

(jruoho)

2010-04-22 18:40:10 UTC MAIN commitmail json YAML

Merge new code for ACPI power resources.

The old code served us well, but a major overhaul would have been needed for
it to cope with the increased demands of the code -- and the specifications.

ok jmcneill@, pgoyette@

(jruoho)

2010-04-22 17:50:31 UTC matt-nb5-mips64 commitmail json YAML

Fix mips32/mips64 versions of ffs.

(matt)

2010-04-22 17:33:54 UTC MAIN commitmail json YAML

implement the REG_STARTEND extension using tre_regnexec - REG_STARTEND is
used by mail(1), and file(1), to name but two.

(agc)

2010-04-22 17:32:37 UTC MAIN commitmail json YAML

don't include parameter names in the namespace for function prototypes.

define REG_STARTEND

include tre-config.h inplace in tre.h, since it is small, always gets
included anyway, and this means that we don't have to install tre-config.h
in the dest tree. this will be addressed differently long-term.

(agc)

2010-04-22 17:28:59 UTC MAIN commitmail json YAML

2010-04-22 15:25:46 UTC MAIN commitmail json YAML

Wrap long lines, add some white space for readability, remove unnecessary
variable assignments, misc KNF. No functional change.

(jruoho)

2010-04-22 15:14:24 UTC MAIN commitmail json YAML

Shorten the long lines with two custom macros.

(jruoho)

2010-04-22 14:50:31 UTC MAIN commitmail json YAML

From Gregoire Sutre: rework the ACPI PCI support. This makes ACPI to
correctly pick PCI segment groups, PCI bus numbers, PCI root bridges,
PCI-to-PCI bridges, and PCI devices, among other things. In short: it is
more robust than the old code or anything in sys/arch/x86/x86/mpacpi.c.

ok cegger@, jmcneill@

(jruoho)

2010-04-22 14:37:06 UTC MAIN commitmail json YAML

no need to forward declare struct uio and proc before including
<sys/file.h> as it does that internally, and don't continue the
_KERNEL definition afterwards as it causes some other problems
with pcc relating to unreferenced symbols in unused static
inline functions which gcc optimises away.

(plunky)

2010-04-22 14:32:30 UTC MAIN commitmail json YAML

it is not [any longer] necessary to #define _KERNEL while including
<net/route.h> so remove it.

This fixes a build problem with pcc which is not as clever as gcc
when optimising away unused static inline functions which refer to
unknown symbols (eg sockaddr_dup).

(plunky)

2010-04-22 14:28:48 UTC MAIN commitmail json YAML

fix an obvious flaw in bounds check: the array of precomputed primes
could be overrun if its last entry (65537) was a factor of the input
(this does not affect PR misc/43192 -- the factors are much larger
here: 7742394596501*159455563099482401)

(drochner)

2010-04-22 13:41:40 UTC MAIN commitmail json YAML

gcc -> GCC, offset indent.

(jruoho)

2010-04-22 11:58:59 UTC MAIN commitmail json YAML

Change use of ${CP} and ${CHMOD} to ${INSTALL_FILE}, so that if the
target is made un-writeable, the build won't bomb out during an
UPDATE build.  OK'ed by martin@.

(he)

2010-04-22 08:45:56 UTC MAIN commitmail json YAML

fix compilation with -Wmissing-field-initializers.
smoke _KERNEL_OPT where appropriate.

(pooka)

2010-04-22 08:42:34 UTC MAIN commitmail json YAML

A small correction. Typos.

(jruoho)

2010-04-22 08:00:34 UTC MAIN commitmail json YAML

2010-04-22 07:10:47 UTC MAIN commitmail json YAML

more signal stuff to group.  no functional change.

(pooka)

2010-04-22 06:57:13 UTC MAIN commitmail json YAML

Add backslash before a dash to get a minus.

(wiz)

2010-04-22 06:55:07 UTC MAIN commitmail json YAML

Get rid of some unnecessary whitespace.
Add backslash before a dash to get a minus.

(wiz)

2010-04-22 06:49:56 UTC MAIN commitmail json YAML

One small correction: .Ss instead of .Sh.

(jruoho)

2010-04-22 06:48:29 UTC MAIN commitmail json YAML

Rewrite types(5) as per perry@'s suggestion from few years back ("XXX this
document is rather musty. It needs a general update."). Also move it to the
right section from section 5. Ok wiz@.

To minimize maintenance costs, the content is mostly jargon around The
Standard. Only few NetBSD-specific types are mentioned as an example.

(jruoho)

2010-04-22 04:42:21 UTC MAIN commitmail json YAML

Sync with reality. Bump date.

(dholland)

2010-04-21 21:49:53 UTC MAIN commitmail json YAML

Don't printf bus_space_tag_t's in a MI driver.

(dyoung)

2010-04-21 21:38:47 UTC MAIN commitmail json YAML

Don't printf bus_space_tag_t's in a MI driver.

(dyoung)

2010-04-21 20:40:16 UTC MAIN commitmail json YAML

syn_cache_put(): defer all pool_put() to the callout. Reschedule
the callout if needed so frees are not delayed too much.
syn_cache_timer(): we can't call syn_cache_put() here any more,
so move code deleted from syn_cache_put() here.

Avoid KASSERT() in kern_timeout.c because pool_put() is called from
ipintr context, as reported in
http://mail-index.netbsd.org/tech-kern/2010/03/19/msg007762.html
Thanks to Andrew Doran and Mindaugas Rasiukevicius for help and review.

(bouyer)

2010-04-21 20:07:02 UTC MAIN commitmail json YAML

remove stuff which now comes via std. kernel source modules

(pooka)

2010-04-21 19:50:57 UTC MAIN commitmail json YAML

dumdidumdum, need _KERNEL in previous for fsck.  noticed by moof

(pooka)

2010-04-21 18:43:26 UTC MAIN commitmail json YAML

Fix an xref and change word order slightly so it sounds better to me.

(wiz)

2010-04-21 18:07:11 UTC MAIN commitmail json YAML

Fix a roff warning.

(jruoho)

2010-04-21 18:04:38 UTC MAIN commitmail json YAML