Commit Graph

192351 Commits

Author SHA1 Message Date
jmmv 2665ef8b8b Add entries for lint1 tests. 2010-07-18 10:11:59 +00:00
jmmv 5496453d33 Add directories for lint1 tests. 2010-07-18 10:11:31 +00:00
jmmv 7ce6f390a2 Convert the lint1 tests to atf.
Initial work from the GSoC 2008 project by Lukasz Strzygowski.
2010-07-18 10:11:00 +00:00
jmmv c205fc13c9 Uh, it's not 2001 any more. Fix dates of my previous entries. 2010-07-18 10:04:03 +00:00
mrg 448655fa99 add a couple of missing source files. 2010-07-18 09:49:12 +00:00
jruoho 9fcb11c8f6 Add missing CVS identifiers. 2010-07-18 09:39:45 +00:00
jruoho 47bb5e479e Add a Makefile for ACPI CPUs.
It is safe to load and unload the whole ACPI CPU -functionality at runtime.
2010-07-18 09:37:50 +00:00
jruoho 4d861e5bb4 Merge a driver for ACPI CPUs with basic support for processor power states,
also known as C-states. The code is modular and provides an easy way to add
the remaining functionality later (namely throttling and P-states).

Remarks:

  1.	Commented out in the GENERICs; more testing exposure is needed.

  2.	The C3-state is disabled for the time being because it turns off
	timers, among them the local APIC timer. This may not be universally
	true on all x86 processors; define ACPICPU_ENABLE_C3 to test.

  3.	The algorithm used to choose a power state may need tuning. When
	evaluating the appropriate state, the implementation uses the
	previous sleep time as an indicator. Additional hints would include
	for example the system load.

	Also bus master activity is evaluated when choosing a state. The
	usb(4) stack is notorious for such activity even when unused.
	Typically it must be disabled in order to reach the C3-state,
	but it may also prevent the use of C2.

  4.	While no extensive empirical measurements have been carried out, the
	power savings are somewhere between 1-2 W with C1 and C2, depending
	on the processor, firmware, and load. With C3 even up to 4 W can be
	saved.  The less something ticks, the more power is saved.

ok jmcneill@, joerg@, and discussed with various people.
2010-07-18 09:29:11 +00:00
mrg 3172b07cfc build and install libxcb and xcb-util libraries. 2010-07-18 07:07:08 +00:00
mrg 8d81f5c19e add some more transforms to the hacky ugly sed script for pkg-config files,
and note a few more that are not yet handled but should be.
2010-07-18 07:05:39 +00:00
mrg 17120376f4 add build infrastructure for xcb-utils 0.3.6. 2010-07-18 07:01:38 +00:00
mrg afd7b3604f don't install xprint.h. 2010-07-18 07:01:10 +00:00
jruoho 8c1a5f831d Shorten some of the descriptions. 2010-07-18 06:58:48 +00:00
jakllsch 393ce9b83e Use standard MII register definitions from mii.h. No binary change. 2010-07-18 03:00:39 +00:00
mrg d5fd80ad0d install the xcb-proto files; not used yet. 2010-07-17 23:44:29 +00:00
mrg 0d429e5b59 build support for libxcb 1.6. not yet used.
XXX: i couldn't get the python/xml generator to run outside of
XXX: the libxcb build tree, so i just copied these from there,
XXX: but ideally files/Makefile could know how to do this.
2010-07-17 23:43:27 +00:00
mrg 4f2c95e76d - add X11SHAREDIR definition
- X11SRCDIR's for libxcb, xcb-proto and xcb-utils
2010-07-17 22:53:29 +00:00
pgoyette f9b5eaf40f Put the original NULL pmf handler establishment back where it started, so
as not to call it in some error paths.

Instead, if there is a watchdog present, deregister the NULL handler before
establishing the one for the watchdog.
2010-07-17 21:51:43 +00:00
pgoyette 50d895a7df If this itesio(4) has a watchdog, then set up a real suspend handler to
make sure we don't suspend when the wdog time is active.
2010-07-17 21:36:26 +00:00
pgoyette 05644d3782 Register ipmi(4) with power management subsystem so we might have a chance
of suspending.  Suspending will still be denied if the watchdog is active.

As discussed on tech-kern@

XXX The pmf handlers for this and all other watchdogs should be factored
XXX out into a common handler for a generic wdog(4) pseudo-device, but
XXX that's left for the future.
2010-07-17 21:34:39 +00:00
jmmv 9a1ae08a71 Note the conversion of the include and csu tests to atf. 2010-07-17 19:31:47 +00:00
jmmv 9b3d800edb Remove the lib/csu/ and include/ tests; they have been converted to atf. 2010-07-17 19:29:33 +00:00
jmmv 60aa53e819 Add tests for lib/csu/ and include/. 2010-07-17 19:27:39 +00:00
jmmv 9609b16767 Add directories for the lib/csu/ and include/ tests. 2010-07-17 19:26:50 +00:00
jmmv 6cbeb05cb2 Convert the include tests to atf.
Initial work from the GSoC 2008 project by Lukasz Strzygowski.
2010-07-17 19:26:27 +00:00
jmmv bbd81cb35e Convert the csu tests to atf.
Initial work from the GSoC 2008 project by Lukasz Strzygowski.
2010-07-17 19:25:26 +00:00
tsutsui d78cceb1e3 Remove obsolete __HAVE_GENERIC_SOFT_INTERRUPTS,
which is mandatory since 2007/07:
http://mail-index.NetBSD.org/source-changes/2007/07/14/0039.html
2010-07-17 15:25:57 +00:00
tsutsui bd9787ae90 Bump MAXPARTITIONS from 8 to 16 using __HAVE_OLD_DISKLABEL compat method
as i386 and hpcmips. PR port-hpcarm/18256
2010-07-17 15:13:18 +00:00
phx 5ee594fe76 Code to set PCI cfg xfer mode registers of 0680A IDE, to make sure the
chip is in PIO mode.
Patch submitted by Toru Nishimura.
2010-07-17 14:15:34 +00:00
tron 40771355a2 Fix argument handling of the "-b" option on 64bit platforms. Using
"-b 1024k" would previously fail with this error message:

progress: buffer size 1048576 is greater than -1.
2010-07-17 10:51:03 +00:00
mrg 7c9ebaef72 remove now-gone neo_bank.c 2010-07-17 06:55:39 +00:00
isaki ad112cd676 Add a missing newline in BOOT_DEBUG mode. 2010-07-17 06:27:03 +00:00
njoly a1bce59b7f Fix build with SYSVBFS_VNOPS_DEBUG. 2010-07-17 00:13:42 +00:00
njoly c6aea3ff65 Small typo in comment. 2010-07-16 23:41:01 +00:00
pooka 3023bfbdf9 Some of the msdosfs tests are killed by SSP due to stack limit
being exceeded.  I cannot figure out what is going on by code
reading, nor repeat this either on my desktop or in qemu, so skip
those tests for msdosfs until I can get to the bottom of it.
2010-07-16 19:16:41 +00:00
njoly ffa14f5342 Add missing pthread_mutex_init call in mutex3 testcase. 2010-07-16 18:16:43 +00:00
njoly 139189167c Add some sanity checks for statvfs values. 2010-07-16 17:49:38 +00:00
jmmv c7a6d624ff Note that the libpthread tests have been converted to atf. 2010-07-16 15:47:06 +00:00
jmmv 59c643ac55 The libpthread tests have been converted to atf; remove the old versions. 2010-07-16 15:46:01 +00:00
jmmv b0efb6eb58 Add libpthread tests. 2010-07-16 15:45:05 +00:00
jmmv df453a7e8b Add dirs for libpthread tests. 2010-07-16 15:43:23 +00:00
jmmv ac555471ca Convert the libpthread tests to atf.
Initial work from the GSoC 2008 project by Lukasz Strzygowski.

I think that this, together with the previous conversion of librt, obsoletes
the tests in the semaphore/ directory.  Will investigate later.
2010-07-16 15:42:53 +00:00
tsutsui 0f487a87b0 Fix a wrong arg for callout_reset(9) in txcom_txintr(). PR port-hpcmips/43474 2010-07-16 15:30:10 +00:00
tsutsui 716b5eae08 Add missing callout_init(9) calls. PR port-hpcmips/43472 2010-07-16 15:28:38 +00:00
njoly 983665317c Add some missing .debug suffix. 2010-07-16 15:26:04 +00:00
pooka 978c8480cc skip directory test on sysvbfs 2010-07-16 14:14:27 +00:00
jmmv 1c44f7af8a Note conversion of some extra tests to atf. 2010-07-16 13:59:22 +00:00
jmmv 065d8f673d Remove tests converted to ATF. 2010-07-16 13:59:07 +00:00
jmmv 64d9d4534b Add tests for libposix, libprop, librt, libskey and libutil. 2010-07-16 13:57:16 +00:00
jmmv 5ff82976a0 Add new tests dirs. 2010-07-16 13:56:52 +00:00