CVS commit: src/sys/arch/x86/acpi

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Aug 20 07:00:17 UTC 2010

Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c

Log Message:
Check if SpeedStep is enabled. If it is disabled, try to enable it.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/x86/acpi/acpi_cpu_md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [uebayasi-xip] src/sys/dev

2010-08-20 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Fri Aug 20 07:03:23 UTC 2010

Modified Files:
src/sys/dev [uebayasi-xip]: flash.c xmd.c

Log Message:
Use consistent cdevsw/bdevsw flags.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.12 -r1.1.2.13 src/sys/dev/flash.c
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/dev/xmd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [uebayasi-xip] src/sys/dev

2010-08-20 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Fri Aug 20 07:03:40 UTC 2010

Modified Files:
src/sys/dev [uebayasi-xip]: xmd.c

Log Message:
Missing RCS id.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/dev/xmd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [uebayasi-xip] src/sys/arch

2010-08-20 Thread Masao Uebayashi
Module Name:src
Committed By:   uebayasi
Date:   Fri Aug 20 07:04:38 UTC 2010

Modified Files:
src/sys/arch/i386/conf [uebayasi-xip]: majors.i386
src/sys/arch/x86/conf [uebayasi-xip]: files.x86
Added Files:
src/sys/arch/i386/conf [uebayasi-xip]: XIP
src/sys/arch/x86/x86 [uebayasi-xip]: xmd_machdep.c

Log Message:
xmd(4) glue for i386.  XIP mount panics now.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/i386/conf/XIP
cvs rdiff -u -r1.37.6.1 -r1.37.6.2 src/sys/arch/i386/conf/majors.i386
cvs rdiff -u -r1.54.2.1 -r1.54.2.2 src/sys/arch/x86/conf/files.x86
cvs rdiff -u -r0 -r1.1.2.1 src/sys/arch/x86/x86/xmd_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/dev/acpi

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Aug 20 12:20:23 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_cpu.h

Log Message:
Add two flags that needs to be dealt with (hardware vs. software
coordination of P-state transitions, and Turbo Boost / Turbo Core).


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/acpi/acpi_cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/kern

2010-08-20 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Aug 20 14:59:53 UTC 2010

Modified Files:
src/sys/kern: exec_elf.c

Log Message:
Allow ELF objects with more than two PT_LOAD sections. Go creates such
binaries by default with separate sections for executable, writeable
data and constants. Use the same heuristic as FreeBSD to match up the
text and data segment assumptions.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/kern/exec_elf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet6

2010-08-20 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Aug 20 15:01:11 UTC 2010

Modified Files:
src/sys/netinet6: in6_pcb.c

Log Message:
Consider a mapped IPv4 address of 0.0.0.0 as unspecified. This allows
using mapped IPv4 address with connect without preceding bind.


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 src/sys/netinet6/in6_pcb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/gnu/dist/gdb6/gdb

2010-08-20 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Aug 20 15:34:14 UTC 2010

Modified Files:
src/gnu/dist/gdb6/gdb: inf-ptrace.c

Log Message:
PT_STEP historically ignores the argument. Indepent of whether this
behavior will be restored, pass down 0 for now to unbreak single
stepping after the thread changes.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/gnu/dist/gdb6/gdb/inf-ptrace.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/lib/libpuffs

2010-08-20 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Fri Aug 20 16:35:05 UTC 2010

Modified Files:
src/lib/libpuffs: opdump.c

Log Message:
print to stderr instead of stdout


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/libpuffs/opdump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet6

2010-08-20 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Fri Aug 20 16:38:16 UTC 2010

Modified Files:
src/sys/netinet6: in6_pcb.c

Log Message:
Remove stray {


To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/sys/netinet6/in6_pcb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/x86

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Aug 21 01:57:34 UTC 2010

Modified Files:
src/sys/arch/x86/x86: tsc.c

Log Message:
Use a constant from .


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/x86/x86/tsc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/include

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Aug 21 02:31:13 UTC 2010

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
Add CPUID_APM_CPB at Fn8000_0007 %edx, for core performance boost.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/x86/include/specialreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/acpi

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Aug 21 02:47:38 UTC 2010

Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c

Log Message:
Properly detect AMD hardware P-state support. Also detect "core boost" (only
present in some models of family 10h).


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/x86/acpi/acpi_cpu_md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/include

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Aug 21 02:59:18 UTC 2010

Modified Files:
src/sys/arch/x86/include: specialreg.h

Log Message:
Add IA32_MPERF (E7h) and IA32_APERF (E8h) as MSR_MPERF and MSR_APERF.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/x86/include/specialreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/conf

2010-08-20 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Aug 21 03:06:37 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
Add upgt(4), Intersil PrismGT USB 802.11b/g adapter.


To generate a diff of this commit:
cvs rdiff -u -r1.265 -r1.266 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.990 -r1.991 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Aug 21 03:55:24 UTC 2010

Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c
src/sys/dev/acpi: acpi_cpu.h

Log Message:
Detect whether TSC is invariant, which may be the case on both new AMD and
Intel processors. The invariance means that TSC runs at a constant rate
during all ACPI state changes. If it is variant, skew may occur and TSC is
generally unsuitable for wall clock services. This is especially relevant
with C-states; with variant TSC, the whole counter may be stopped with states
larger than C1. All x86 CPUs before circa mid-2000s can be assumed to have a
variant time stamp counter.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/acpi/acpi_cpu_md.c
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/acpi/acpi_cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/acpi

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Aug 21 04:36:29 UTC 2010

Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c

Log Message:
Detect Intel's Turbo Boost and presence of IA32_APERF/IA32_MPERF. The former
is required for a quirk, and the latter is needed for hardware P-state
coordination (once acpicpu(4) will support fine-grained coordination).


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x86/acpi/acpi_cpu_md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x86/acpi

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Aug 21 05:10:43 UTC 2010

Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c

Log Message:
Add a quirk for Turbo Boost.

It was observed that at least Sverre Froyen's ThinkPad T500 reports values
that do not match readings from the IA32_PERF_STATUS register. This only
applied to the P0-state. Thus, for now, skip the status check if Turbo
Boost has been detected and the requested state is P0.

This needs to be revisited once Turbo Boost actually works in NetBSD. It is
unclear whether this is a BIOS flaw or not; these values may well be what we
get from IA32_PERF_STATUS once the CPU actually uses the +133.33 MHz boost.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x86/acpi/acpi_cpu_md.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/misc

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Aug 21 06:10:38 UTC 2010

Modified Files:
src/share/misc: acronyms.comp

Log Message:
BCS, BIST, BSP, COF, CS, FEC, FID, HTC, IBS, IFCM, LINT, LVT, MC, MCQ, OOE,
PRBS, RX, TX, UI, VID, WDT, XBAR, XIP.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/share/misc/acronyms.comp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/base

2010-08-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Aug 21 06:38:59 UTC 2010

Modified Files:
src/distrib/sets/lists/base: mi

Log Message:
add section 9 pages for x86


To generate a diff of this commit:
cvs rdiff -u -r1.878 -r1.879 src/distrib/sets/lists/base/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/etc/mtree

2010-08-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Aug 21 06:41:09 UTC 2010

Modified Files:
src/etc/mtree: NetBSD.dist.base

Log Message:
add x86 section 9 man directories


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/etc/mtree/NetBSD.dist.base

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2010-08-20 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Sat Aug 21 06:45:50 UTC 2010

Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c
src/sys/dev/acpi: acpi_cpu.h

Log Message:
Check from CPUID 0x06 %eax (on Intel) whether we might actually have an
invariant APIC timer or an "ARAT" ("always running APIC timer"). This means
that the APIC timer may keep ticking at the same rate also in deep C-states
with some new or forthcoming Intel CPUs.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/x86/acpi/acpi_cpu_md.c
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/acpi/acpi_cpu.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.