The NetBSD Project

CVS log for src/sys/arch/x86/conf/files.x86

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / conf

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.126 / (download) - annotate - [select for diffs], Wed Jun 14 01:27:47 2023 UTC (10 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.125: +3 -3 lines
Diff to previous 1.125 (colored)

Make PCI_ADDR_FIXUP depended on PCI_BUS_FIXUP.
It is no-op if PCI_BUS_FIXUP is missing.

Revision 1.125 / (download) - annotate - [select for diffs], Fri Oct 28 07:16:34 2022 UTC (17 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.124: +1 -3 lines
Diff to previous 1.124 (colored)

MI PMAP EFI_RUNTIME support

Revision 1.124 / (download) - annotate - [select for diffs], Sat Sep 24 11:05:18 2022 UTC (18 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.123: +3 -1 lines
Diff to previous 1.123 (colored)

x86: Support EFI runtime services.

This creates a special pmap, efi_runtime_pmap, which avoids setting
PTE_U but allows mappings to lie in what would normally be user VM --
this way we don't fall afoul of SMAP/SMEP when executing EFI runtime
services from CPL 0.  SVS does not apply to the EFI runtime pmap.

The mechanism is intended to work with either physical addressing or
virtual addressing; currently the bootloader does physical addressing
but in principle it could be modified to do virtual addressing
instead, if it allocated virtual pages, assigned them in the memory
map, and issued RT->SetVirtualAddressMap.

Not sure pmap_activate_sync and pmap_deactivate_sync are correct,
need more review from an x86 wizard.

If this causes fallout, it can be disabled temporarily without
reverting anything by just making efi_runtime_init return immediately
without doing anything, or by removing options EFI_RUNTIME.

amd64-only for now pending type fixes and testing on i386.

Revision 1.123 / (download) - annotate - [select for diffs], Tue Aug 30 11:03:36 2022 UTC (19 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

x86: Rename x86/efi.c -> x86/efi_machdep.c.

Avoid collision with dev/efi.c.

Revision 1.120.6.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:18 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored) next main 1.121 (colored)

Sync with HEAD.

Revision 1.122 / (download) - annotate - [select for diffs], Wed Jul 21 23:26:15 2021 UTC (2 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.121: +2 -2 lines
Diff to previous 1.121 (colored)

x86's platform.c no longer has any x86 specific code in it, so move it to
dev/smbios_platform.c to let other ports use it

Revision 1.121 / (download) - annotate - [select for diffs], Wed Jul 21 23:16:08 2021 UTC (2 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.120: +2 -2 lines
Diff to previous 1.120 (colored)

Separate MI smbios interface from MD specific code.

Revision 1.120 / (download) - annotate - [select for diffs], Tue Oct 27 08:57:11 2020 UTC (3 years, 5 months ago) by ryo
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.119: +1 -2 lines
Diff to previous 1.119 (colored)

move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling

- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h},
  and split the attach part of the cpufeaturebus and fdt
- add aarch64 vmware backdoor op
- add include guard to vmt{reg,var}.h
- Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb

Revision 1.88.6.3 / (download) - annotate - [select for diffs], Wed Aug 5 16:20:08 2020 UTC (3 years, 8 months ago) by martin
Branch: netbsd-8
Changes since 1.88.6.2: +2 -1 lines
Diff to previous 1.88.6.2 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored)

Pull up the following revisions, requested by msaitoh in ticket #1593:

	sys/arch/x86/conf/files.x86			1.108
	sys/arch/x86/include/apicvar.h			1.7 via patch
	sys/arch/x86/include/cpu.h			1.121
	sys/arch/x86/x86/cpu.c				1.185 via patch
	sys/arch/x86/x86/hyperv.c			1.7
	sys/arch/x86/x86/tsc.c				1.41
	sys/arch/xen/conf/files.xen			1.181

Get TSC frequency from CPUID 0x15 and/or x16 if it's available.
This change fixes a problem that newer Intel processors' timer
counts very slowly.

Revision 1.119 / (download) - annotate - [select for diffs], Sat Aug 1 12:15:40 2020 UTC (3 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.118: +2 -1 lines
Diff to previous 1.118 (colored)

defflag NO_PCI_MSI_MSIX

Revision 1.118 / (download) - annotate - [select for diffs], Sat Jul 25 22:49:20 2020 UTC (3 years, 8 months ago) by riastradh
Branch: MAIN
Changes since 1.117: +4 -1 lines
Diff to previous 1.117 (colored)

Implement ChaCha with SSE2 on x86 machines.

Slightly disappointed that it only doubles, rather than quadruples,
throughput on my Ivy Bridge laptop.  Worth investigating.

Revision 1.107.4.1 / (download) - annotate - [select for diffs], Wed Jul 15 17:25:08 2020 UTC (3 years, 9 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored) next main 1.108 (colored)

Pull up the following, requested by msaitoh in ticket #1015

	sys/arch/x86/conf/files.x86			1.108 (via patch)
	sys/arch/x86/include/apicvar.h			1.7 (via patch)
	sys/arch/x86/include/cpu.h			1.121 (via patch)
	sys/arch/x86/x86/cpu.c				1.185 (via patch)
	sys/arch/x86/x86/hyperv.c			1.7 (via patch)
	sys/arch/x86/x86/tsc.c				1.41 (via patch)
	sys/arch/xen/conf/files.xen			1.181 (via patch)

Get TSC frequency from CPUID 0x15 and/or x16 if it's available.
This change fixes a problem that newer Intel processors' timer
counts very slowly.

Revision 1.117 / (download) - annotate - [select for diffs], Tue Jul 14 00:45:53 2020 UTC (3 years, 9 months ago) by yamaguchi
Branch: MAIN
Changes since 1.116: +3 -1 lines
Diff to previous 1.116 (colored)

Introduce per-cpu IDTs

This is realized by following modifications:
- Add IDT pages and its allocation maps for each cpu in "struct cpu_info"
- Load per-cpu IDTs at cpu_init_idt(struct cpu_info*)
- Copy the IDT entries for cpu0 to other CPUs at attach
   - These are, for example, exceptions, db, system calls, etc.

And, added a kernel option named PCPU_IDT to enable the feature.

Revision 1.116 / (download) - annotate - [select for diffs], Mon Jun 29 23:51:35 2020 UTC (3 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.115: +4 -1 lines
Diff to previous 1.115 (colored)

New permutation-based AES implementation using SSSE3.

This covers a lot of CPUs -- particularly lower-end CPUs over the
past decade which lack AES-NI.

Derived from Mike Hamburg's public domain vpaes software; see
<https://crypto.stanford.edu/vpaes/> for details.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Jun 29 23:47:54 2020 UTC (3 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.114: +4 -1 lines
Diff to previous 1.114 (colored)

New SSE2-based bitsliced AES implementation.

This should work on essentially all x86 CPUs of the last two decades,
and may improve throughput over the portable C aes_ct implementation
from BearSSL by

(a) reducing the number of vector operations in sequence, and
(b) batching four rather than two blocks in parallel.

Derived from BearSSL'S aes_ct64 implementation adjusted so that where
aes_ct64 uses 64-bit q[0],...,q[7], aes_sse2 uses (q[0], q[4]), ...,
(q[3], q[7]), each tuple representing a pair of 64-bit quantities
stacked in a single 128-bit register.  This translation was done very
naively, and mostly reduces the cost of ShiftRows and data movement
without doing anything to address the S-box or (Inv)MixColumns, which
spread all 64-bit quantities across separate registers and ignore the
upper halves.

Unfortunately, SSE2 -- which is all that is guaranteed on all amd64
CPUs -- doesn't have PSHUFB, which would help out a lot more.  For
example, vpaes relies on that.  Perhaps there are enough CPUs out
there with PSHUFB but not AES-NI to make it worthwhile to import or
adapt vpaes too.

Note: This includes local definitions of various Intel compiler
intrinsics for gcc and clang in terms of their __builtin_* &c.,
because the necessary header files are not available during the
kernel build.  This is a kludge -- we should fix it properly; the
present approach is expedient but not ideal.

Revision 1.114 / (download) - annotate - [select for diffs], Mon Jun 29 23:39:30 2020 UTC (3 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.113: +4 -1 lines
Diff to previous 1.113 (colored)

Add AES implementation with VIA ACE.

Revision 1.113 / (download) - annotate - [select for diffs], Mon Jun 29 23:38:02 2020 UTC (3 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored)

padlock(4): Remove legacy rijndael API use.

This doesn't actually need to compute AES -- it just needs the
standard AES key schedule, so use the BearSSL constant-time key
schedule implementation.

XXX Compile-tested only.
XXX The byte-order business here seems highly questionable.

Revision 1.112 / (download) - annotate - [select for diffs], Mon Jun 29 23:29:39 2020 UTC (3 years, 9 months ago) by riastradh
Branch: MAIN
Changes since 1.111: +4 -1 lines
Diff to previous 1.111 (colored)

Add x86 AES-NI support.

Limited to amd64 for now.  In principle, AES-NI should work in 32-bit
mode, and there may even be some 32-bit-only CPUs that support
AES-NI, but that requires work to adapt the assembly.

Revision 1.111 / (download) - annotate - [select for diffs], Wed May 6 19:45:12 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored)

x86/x86/ipi.c should not be built for XENPV, even if dom0ops is defined.

Revision 1.110 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:18 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.109: +15 -14 lines
Diff to previous 1.109 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.107.10.3 / (download) - annotate - [select for diffs], Sat Apr 25 13:16:48 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.107.10.2: +3 -2 lines
Diff to previous 1.107.10.2 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored)

sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.109 / (download) - annotate - [select for diffs], Wed Apr 22 09:15:40 2020 UTC (3 years, 11 months ago) by rin
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored)

Make crypto/rijindael optional again as cprng_strong does no longer
depend on it. Dependency is explicitly declared in files.foo if a
component requires it.

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:12 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.101.2.1: +2 -1 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD

Revision 1.108 / (download) - annotate - [select for diffs], Tue Apr 21 02:56:36 2020 UTC (3 years, 11 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20200421
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored)

Get TSC frequency from CPUID 0x15 and/or x16 for newer Intel processors.

 - If the max CPUID leaf is >= 0x15, take TSC value from CPUID. Some processors
   can take TSC/core crystal clock ratio but core crystal clock frequency
   can't be taken. Intel SDM give us the values for some processors.
 - It also required to change lapic_per_second to make LAPIC timer correctly.
 - Add new file x86/x86/identcpu_subr.c to share common subroutines between
   kernel and userland. Some code in x86/x86/identcpu.c and cpuctl/arch/i386.c
   will be moved to this file in future.
 - Add comment to clarify.

Revision 1.107.10.2 / (download) - annotate - [select for diffs], Thu Apr 16 08:46:34 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.107.10.1: +14 -14 lines
Diff to previous 1.107.10.1 (colored) to branchpoint 1.107 (colored)

Reorganise sources to make it possible to include Xen PVHVM support in
native kernels. Among others:
- move xen/include/amd64/hypercall.h to amd64/include/xen and
  xen/include/i386/hypercall.h to i386/include/xen
- exclude some native files from the build for xenpv
- add xen to "machine" config statement for amd64 and i386
- split arch/xen/conf/files.xen to arch/xen/conf/files.xen (for pv drivers)
  and arch/xen/conf/files.xen.pv (for full pv support)
- add GENERIC_XENHVM kernel config which includes GENERIC and add Xen PV
  drivers.

Revision 1.107.10.1 / (download) - annotate - [select for diffs], Sat Apr 11 18:26:07 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored)

Move softint and preemtion-related functions out of x86/x86/intr.c to
  its own file, x86/x86/x86_softintr.c
Add x86/x86/x86_softintr.c for native and XenPV
Make sure XenPV also check ci_ioending, which is used for softints.
Switch XenPV to fast softints and allow kernel preemption.
kpreempt_disable() before calling pmap_changeprot_local()
run  xen_wallclock_time() and xen_global_systime_ns() at splshed() to
  avoid being interrupted.

XXX amd64 lock stubs are racy for XPENDING

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:53 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.101: +11 -11 lines
Diff to previous 1.101 (colored)

Sync with HEAD

Revision 1.88.6.2 / (download) - annotate - [select for diffs], Sat Mar 9 17:10:20 2019 UTC (5 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.88.6.1: +5 -1 lines
Diff to previous 1.88.6.1 (colored) to branchpoint 1.88 (colored)

Pull up following revision(s) via patch (requested by nonaka in ticket #1210):

	sys/dev/hyperv/vmbusvar.h: revision 1.1
	sys/dev/hyperv/hvs.c: revision 1.1
	sys/dev/hyperv/if_hvn.c: revision 1.1
	sys/dev/hyperv/vmbusic.c: revision 1.1
	sys/arch/x86/x86/lapic.c: revision 1.69
	sys/arch/x86/isa/clock.c: revision 1.34
	sys/arch/x86/include/intrdefs.h: revision 1.22
	sys/arch/i386/conf/GENERIC: revision 1.1201
	sys/arch/x86/x86/hyperv.c: revision 1.1
	sys/arch/x86/include/cpu.h: revision 1.105
	sys/arch/x86/x86/x86_machdep.c: revision 1.124
	sys/arch/i386/conf/GENERIC: revision 1.1203
	sys/arch/amd64/amd64/genassym.cf: revision 1.74
	sys/arch/i386/conf/GENERIC: revision 1.1204
	sys/arch/amd64/conf/GENERIC: revision 1.520
	sys/arch/x86/x86/hypervreg.h: revision 1.1
	sys/arch/amd64/amd64/vector.S: revision 1.69
	sys/dev/hyperv/hvshutdown.c: revision 1.1
	sys/dev/hyperv/hvshutdown.c: revision 1.2
	sys/dev/usb/if_urndisreg.h: file removal
	sys/arch/x86/x86/cpu.c: revision 1.167
	sys/arch/x86/conf/files.x86: revision 1.107
	sys/dev/usb/if_urndis.c: revision 1.20
	sys/dev/hyperv/vmbusicreg.h: revision 1.1
	sys/dev/hyperv/hvheartbeat.c: revision 1.1
	sys/dev/hyperv/vmbusicreg.h: revision 1.2
	sys/dev/hyperv/hvheartbeat.c: revision 1.2
	sys/dev/hyperv/files.hyperv: revision 1.1
	sys/dev/ic/rndisreg.h: revision 1.1
	sys/arch/i386/i386/genassym.cf: revision 1.111
	sys/dev/ic/rndisreg.h: revision 1.2
	sys/dev/hyperv/hyperv_common.c: revision 1.1
	sys/dev/hyperv/hvtimesync.c: revision 1.1
	sys/dev/hyperv/hypervreg.h: revision 1.1
	sys/dev/hyperv/hvtimesync.c: revision 1.2
	sys/dev/hyperv/vmbusicvar.h: revision 1.1
	sys/dev/hyperv/if_hvnreg.h: revision 1.1
	sys/arch/x86/x86/lapic.c: revision 1.70
	sys/arch/amd64/amd64/vector.S: revision 1.70
	sys/dev/ic/ndisreg.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.516
	sys/dev/hyperv/hypervvar.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.518
	sys/arch/amd64/conf/GENERIC: revision 1.519
	sys/arch/i386/conf/files.i386: revision 1.400
	sys/dev/acpi/vmbus_acpi.c: revision 1.1
	sys/dev/hyperv/vmbus.c: revision 1.1
	sys/dev/hyperv/vmbus.c: revision 1.2
	sys/arch/x86/x86/intr.c: revision 1.144
	sys/arch/i386/i386/vector.S: revision 1.83
	sys/arch/amd64/conf/files.amd64: revision 1.112

separate RNDIS definitions from urndis(4) for use with Hyper-V NetVSC.

 -

Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.
graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.

 -

Add __diagused.

 -

PR/53984: Partial revert of modify lapic_calibrate_timer() in lapic.c r1.69.

 -

Update Hyper-V related drivers description.

 -

Remove unused definition.

 -

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.
NFCI intended.

 -

commented out hvkvp entry.

 -

fix typo. pointed out by pgoyette@n.o.

 -

Use IDTVEC instead of NENTRY for handle_hyperv_hypercall.

 -

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

Revision 1.107 / (download) - annotate - [select for diffs], Fri Feb 15 08:54:01 2019 UTC (5 years, 2 months ago) by nonaka
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-9, bouyer-xenpvh
Changes since 1.106: +5 -1 lines
Diff to previous 1.106 (colored)

Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.

graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.

Revision 1.97.2.7 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:45 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.97.2.6: +7 -7 lines
Diff to previous 1.97.2.6 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.106 / (download) - annotate - [select for diffs], Tue Dec 25 11:56:14 2018 UTC (5 years, 3 months ago) by mlelstv
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.105: +2 -5 lines
Diff to previous 1.105 (colored)

Make ipmi driver available to other platforms.
Add ACPI attachment.

Revision 1.105 / (download) - annotate - [select for diffs], Thu Dec 20 10:33:41 2018 UTC (5 years, 4 months ago) by cherry
Branch: MAIN
Changes since 1.104: +3 -3 lines
Diff to previous 1.104 (colored)

Enable 'options NO_PCI_MSI_MSIX' to DTRT in x86 builds.

Document 'options NO_PCI_MSI_MSIX' in options(4).

Revision 1.104 / (download) - annotate - [select for diffs], Fri Dec 7 15:47:11 2018 UTC (5 years, 4 months ago) by maxv
Branch: MAIN
Changes since 1.103: +4 -1 lines
Diff to previous 1.103 (colored)

Add an option to have a static kernel memory layout. This option is
disabled by default - that is to say, KASLR remains enabled by default.

Revision 1.97.2.6 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:42 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.97.2.5: +1 -5 lines
Diff to previous 1.97.2.5 (colored) to branchpoint 1.97 (colored)

Sync with HEAD

Revision 1.103 / (download) - annotate - [select for diffs], Mon Jul 16 06:18:31 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.102: +1 -4 lines
Diff to previous 1.102 (colored)

Move
	arch/x86/x86/tprof_pmi.c
	arch/x86/x86/tprof_amdpmi.c
into
	dev/tprof/tprof_x86_intel.c
	dev/tprof/tprof_x86_amd.c

Revision 1.102 / (download) - annotate - [select for diffs], Fri Jul 13 09:37:32 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.101: +1 -2 lines
Diff to previous 1.101 (colored)

Remove the X86PMC code I had written, replaced by tprof. Many defines
become unused in specialreg.h, so remove them. We don't want to add
defines all the time, there are countless PMCs on many generations, and
it's better to just inline the event/unit values.

Revision 1.97.2.5 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:47 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.97.2.4: +1 -2 lines
Diff to previous 1.97.2.4 (colored) to branchpoint 1.97 (colored)

Sync with HEAD

Revision 1.101 / (download) - annotate - [select for diffs], Tue May 22 11:09:57 2018 UTC (5 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.100: +1 -2 lines
Diff to previous 1.100 (colored)

Mmh, don't compile spectre.c on Xen.

Revision 1.97.2.4 / (download) - annotate - [select for diffs], Wed May 2 07:20:06 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.97.2.3: +3 -2 lines
Diff to previous 1.97.2.3 (colored) to branchpoint 1.97 (colored)

Synch with HEAD

Revision 1.100 / (download) - annotate - [select for diffs], Tue May 1 10:15:27 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502
Changes since 1.99: +3 -2 lines
Diff to previous 1.99 (colored)

Make MPVERBOSE a defparam rather than defflag.  It has multiple
non-zero usages within mpacpi.c

Revision 1.97.2.3 / (download) - annotate - [select for diffs], Fri Mar 30 06:20:13 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.97.2.2: +2 -1 lines
Diff to previous 1.97.2.2 (colored) to branchpoint 1.97 (colored)

Resolve conflicts between branch and HEAD

Revision 1.99 / (download) - annotate - [select for diffs], Wed Mar 28 14:56:59 2018 UTC (6 years ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330
Changes since 1.98: +2 -1 lines
Diff to previous 1.98 (colored)

Move the SpectreV2 mitigation code into a dedicated spectre.c file. The
content of the file is taken from the end of cpu.c, and is copied as-is.

Revision 1.88.6.1 / (download) - annotate - [select for diffs], Thu Mar 22 16:59:03 2018 UTC (6 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.88: +4 -1 lines
Diff to previous 1.88 (colored)

Pull up the following revisions, requested by maxv in ticket #652:

	sys/arch/amd64/amd64/amd64_trap.S	upto 1.39 (partial, patch)
	sys/arch/amd64/amd64/db_machdep.c	1.6 (patch)
	sys/arch/amd64/amd64/genassym.cf	1.65,1.66,1.67 (patch)
	sys/arch/amd64/amd64/locore.S		upto 1.159 (partial, patch)
	sys/arch/amd64/amd64/machdep.c		1.299-1.302 (patch)
	sys/arch/amd64/amd64/trap.c		upto 1.113 (partial, patch)
	sys/arch/amd64/amd64/amd64/vector.S	upto 1.61 (partial, patch)
	sys/arch/amd64/conf/GENERIC		1.477,1.478 (patch)
	sys/arch/amd64/conf/kern.ldscript	1.26 (patch)
	sys/arch/amd64/include/frameasm.h	upto 1.37 (partial, patch)
	sys/arch/amd64/include/param.h		1.25 (patch)
	sys/arch/amd64/include/pmap.h		1.41,1.43,1.44 (patch)
	sys/arch/x86/conf/files.x86		1.91,1.93 (patch)
	sys/arch/x86/include/cpu.h		1.88,1.89 (patch)
	sys/arch/x86/include/pmap.h		1.75 (patch)
	sys/arch/x86/x86/cpu.c			1.144,1.146,1.148,1.149 (patch)
	sys/arch/x86/x86/pmap.c			upto 1.289 (partial, patch)
	sys/arch/x86/x86/vm_machdep.c		1.31,1.32 (patch)
	sys/arch/x86/x86/x86_machdep.c		1.104,1.106,1.108 (patch)
	sys/arch/x86/x86/svs.c			1.1-1.14
	sys/arch/xen/conf/files.compat		1.30 (patch)

Backport SVS. Not enabled yet.

Revision 1.97.2.2 / (download) - annotate - [select for diffs], Thu Mar 22 01:44:47 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.97.2.1: +0 -0 lines
Diff to previous 1.97.2.1 (colored) to branchpoint 1.97 (colored)

Synch with HEAD, resolve conflicts

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Sun Mar 18 00:35:26 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.97: +2 -1 lines
Diff to previous 1.97 (colored)

Import more christos@ changes from -current

Revision 1.98 / (download) - annotate - [select for diffs], Sun Mar 18 00:17:17 2018 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0322
Changes since 1.97: +2 -1 lines
Diff to previous 1.97 (colored)

Separate the compat code in its own file to facilitate module building.

Revision 1.97 / (download) - annotate - [select for diffs], Thu Mar 1 06:36:12 2018 UTC (6 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.96: +1 -12 lines
Diff to previous 1.96 (colored)

move the imc code into x86/pci/files.pci so that pci is defined in time.

Revision 1.96 / (download) - annotate - [select for diffs], Thu Mar 1 04:45:05 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

Move the imc(4) and imcsmb(4) sources into architecture-specific
directory (for previous CVS history see the sys/dev/pci/imcsmb/
Attic)

Revision 1.95 / (download) - annotate - [select for diffs], Thu Mar 1 04:35:04 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.94: +8 -8 lines
Diff to previous 1.94 (colored)

Replace spaces with tabs (xterm copy-&-pasto)

Revision 1.94 / (download) - annotate - [select for diffs], Thu Mar 1 04:29:38 2018 UTC (6 years, 1 month ago) by pgoyette
Branch: MAIN
Changes since 1.93: +12 -1 lines
Diff to previous 1.93 (colored)

Move the imc and imcsmb stuff out of general files.pci and into the
architecture-specific files.x86

Should unbreak the sgimips build.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Feb 11 09:39:37 2018 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.92: +2 -1 lines
Diff to previous 1.92 (colored)

Move SVS into x86/svs.c

Revision 1.92 / (download) - annotate - [select for diffs], Mon Jan 22 19:37:45 2018 UTC (6 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91 (colored)

rename sys/arch/x86/x86/pmap_tlb.c to sys/arch/x86/x86/x86_tlb.c, so that
x86 can eventually use uvm/pmap/pmap_tlb.c; step to future PCID support

Revision 1.91 / (download) - annotate - [select for diffs], Mon Jan 8 01:41:34 2018 UTC (6 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.90: +3 -1 lines
Diff to previous 1.90 (colored)

Make things compile again.

Revision 1.79.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:50 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.79.2.1: +41 -29 lines
Diff to previous 1.79.2.1 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored)

update from HEAD

Revision 1.83.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:56 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.83.2.3: +7 -1 lines
Diff to previous 1.83.2.3 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored)

Sync with HEAD

Revision 1.90 / (download) - annotate - [select for diffs], Tue Aug 15 08:51:38 2017 UTC (6 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, nick-nhusb-base-20170825
Changes since 1.89: +1 -0 lines
Diff to previous 1.89 (colored)

Merge into x86/.

Revision 1.89 / (download) - annotate - [select for diffs], Tue Aug 15 06:27:40 2017 UTC (6 years, 8 months ago) by maxv
Branch: MAIN
Changes since 1.88: +5 -1 lines
Diff to previous 1.88 (colored)

Merge into x86/.

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:39 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Sync with HEAD

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:22 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

Sync with HEAD

Revision 1.88 / (download) - annotate - [select for diffs], Fri Mar 10 14:40:56 2017 UTC (7 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored)

Move pmc.c into x86/, it can be shared with amd64.

Revision 1.83.2.3 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:07 2016 UTC (8 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.83.2.2: +3 -1 lines
Diff to previous 1.83.2.2 (colored) to branchpoint 1.83 (colored)

Sync with HEAD

Revision 1.87 / (download) - annotate - [select for diffs], Sat Feb 27 00:09:45 2016 UTC (8 years, 1 month ago) by tls
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.86: +1 -0 lines
Diff to previous 1.86 (colored)

Add cpu_rng, a framework for simple on-CPU random number generators.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Jan 28 01:09:56 2016 UTC (8 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored)

Add support for grub to find the ACPI root table pointer via a bootinfo entry
from grub.
    From: https://mail-index.netbsd.org/tech-kern/2014/05/22/msg017119.html

Revision 1.83.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:44 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.83.2.1: +3 -1 lines
Diff to previous 1.83.2.1 (colored) to branchpoint 1.83 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.85 / (download) - annotate - [select for diffs], Wed Nov 11 08:20:22 2015 UTC (8 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.84: +3 -1 lines
Diff to previous 1.84 (colored)

Split out the pmap_pv_track stuff for use by others.

Discussed with riastradh@

Revision 1.83.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:04 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.83: +3 -1 lines
Diff to previous 1.83 (colored)

Sync with HEAD

Revision 1.84 / (download) - annotate - [select for diffs], Mon Apr 27 07:03:58 2015 UTC (8 years, 11 months ago) by knakahara
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606
Changes since 1.83: +3 -1 lines
Diff to previous 1.83 (colored)

add x86 MD MSI/MSI-X support code.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Oct 10 17:44:17 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.82: +6 -6 lines
Diff to previous 1.82 (colored)

Normalize: acpicpu depends on acpi.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Oct 10 09:13:21 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.81: +24 -24 lines
Diff to previous 1.81 (colored)

Define "machdep" attribute and mark files (in amd64 and x86).

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:29 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.79: +7 -2 lines
Diff to previous 1.79 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.75.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:40:13 2014 UTC (9 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.75.2.3: +7 -2 lines
Diff to previous 1.75.2.3 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.81 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:41 2014 UTC (10 years, 1 month ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.80: +1 -1 lines
Diff to previous 1.80 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.79.4.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:24 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.79: +7 -2 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

sync with head

Revision 1.79.10.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:35 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.79: +7 -2 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

sync with HEAD

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jul 17 21:26:29 2013 UTC (10 years, 9 months ago) by soren
Branch: MAIN
CVS Tags: riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.79: +7 -2 lines
Diff to previous 1.79 (colored)

A few "isa" files are so tightly integrated into the x86 platform code
as to not really be part of the optional isa bus autoconf machinery.

Allows configuring a kernel like so:

include "arch/amd64/conf/GENERIC"
no isa

Revision 1.75.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:32 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.75.2.2: +2 -1 lines
Diff to previous 1.75.2.2 (colored) to branchpoint 1.75 (colored)

sync with head

Revision 1.79 / (download) - annotate - [select for diffs], Wed Aug 29 17:13:21 2012 UTC (11 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet, riastradh-drm2
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (colored)

Extend the CPU microcode update framework to support Intel x86 CPUs.
Contrary to the AMD implementation, it doesn't use xcalls to distribute
the update to all CPUs but relies on cpuctl(8) to bind itself to the
right CPU -- to keep it simple and avoid possible problems with
hyperthreading.
Also, it doesn't parse the vendor supplied file to pick the right
part for the present CPU model but relies on userland to prepare
files with specific filenames. I'll commit a pkg for this in a minute
(pkgsrc/sysutils/intel-microcode).
The ioctl interface changed; compatibility is provided (should be
limited to COMPAT_NETBSD6 as soon as this is available).

Revision 1.75.6.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:11 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.75.6.1: +2 -1 lines
Diff to previous 1.75.6.1 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

sync to latest -current.

Revision 1.75.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:51 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.75.2.1: +2 -1 lines
Diff to previous 1.75.2.1 (colored) to branchpoint 1.75 (colored)

sync with head.

Revision 1.78 / (download) - annotate - [select for diffs], Mon May 7 17:45:29 2012 UTC (11 years, 11 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored)

Merge i386 and amd64 version of db_memrw.c.

Use this opportunity to skip calculating the VA of the page. Let the CPU
deal with the invalidation itself through invlpg + destination address to
avoid converting between canonical/non canonical forms.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:05 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.75: +4 -1 lines
Diff to previous 1.75 (colored)

sync with head

Revision 1.75.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:33 2012 UTC (12 years, 2 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.75: +4 -1 lines
Diff to previous 1.75 (colored)

merge to -current.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jan 13 21:46:00 2012 UTC (12 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.76: +1 -2 lines
Diff to previous 1.76 (colored)

Make option CPU_UCODE global

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jan 13 16:05:14 2012 UTC (12 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.75: +5 -1 lines
Diff to previous 1.75 (colored)

Support CPU microcode loading via cpuctl(8).
Implemented and enabled via CPU_UCODE kernel config option
for x86 and Xen Dom0.
Tested on different AMD machines with different
CPU families.

ok wiz@ for the manpages
ok releng@
ok core@ via releng@

Revision 1.75 / (download) - annotate - [select for diffs], Wed Oct 19 05:22:25 2011 UTC (12 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored)

Don't link pci_ranges.c with x86 kernels for now, it's using a
pcibus_attach_args member that I haven't added, yet.

Revision 1.74 / (download) - annotate - [select for diffs], Mon Oct 17 23:24:05 2011 UTC (12 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

vmt needs sysmon_taskq

Revision 1.73 / (download) - annotate - [select for diffs], Mon Oct 17 22:39:22 2011 UTC (12 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.72: +5 -1 lines
Diff to previous 1.72 (colored)

add a port of the VMware Tools driver vmt(4) from OpenBSD

Revision 1.72 / (download) - annotate - [select for diffs], Mon Aug 29 22:46:56 2011 UTC (12 years, 7 months ago) by dyoung
Branch: MAIN
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored)

Add pci_ranges.c to the set of files compiled when 'pci' is configured.

Revision 1.44.8.6 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:29 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.44.8.5: +5 -3 lines
Diff to previous 1.44.8.5 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:47 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.68: +4 -3 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Jun 12 11:31:31 2011 UTC (12 years, 10 months ago) by jruoho
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.70: +2 -3 lines
Diff to previous 1.70 (colored)

Follow IA-64 with the x86-specific ACPI MD functions and move these where
they belong to. Remove an unused function. Minor KNF. No functional change.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jun 12 10:11:52 2011 UTC (12 years, 10 months ago) by jruoho
Branch: MAIN
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored)

Move the evaluation of the _PDC control method out from the acpicpu(4)
driver to the main acpi(4) stack. Follow Linux and evaluate it early.
Should fix PR port-amd64/42895, possibly also PR kern/42583, and many
other comparable bugs.

A common sense explanation is that Intel supplies additional CPU tables to
OEMs. BIOS writers do not bother to modify their DSDTs, but instead load
these extra tables dynamically as secondary SSDT tables. The actual Load()
happens when the _PDC method is invoked, and thus namespace errors occur
when the CPU-specific ACPI methods are not yet present but referenced in the
AML by various drivers, including, but not limited to, acpitz(4).

Revision 1.69 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:49 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.54.4.4 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:10 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54.4.3: +1 -0 lines
Diff to previous 1.54.4.3 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync with head

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:05 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.56: +43 -41 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD.

Revision 1.68 / (download) - annotate - [select for diffs], Tue May 31 23:28:52 2011 UTC (12 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

Don't use the C preprocessor to configure USERCONF.  Instead, either do
or do not link in subr_userconf.c and x86_userconf.c.

Provide no-op stubs for userconf_bootinfo(), userconf_init(), and
userconf_prompt().

Delete all occurrences of #include "opt_userconf.h" as well as USERCONF
and __HAVE_USERCONF_BOOTINFO #ifdef'age.

Revision 1.44.8.5 / (download) - annotate - [select for diffs], Mon May 2 22:49:57 2011 UTC (12 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.44.8.4: +5 -1 lines
Diff to previous 1.44.8.4 (colored) to branchpoint 1.44 (colored)

Sync with head.

Revision 1.54.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:31 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54.4.2: +3 -2 lines
Diff to previous 1.54.4.2 (colored) to branchpoint 1.54 (colored)

sync with head

Revision 1.67 / (download) - annotate - [select for diffs], Sun Apr 10 20:36:48 2011 UTC (13 years ago) by christos
Branch: MAIN
Changes since 1.66: +2 -1 lines
Diff to previous 1.66 (colored)

Merge db_trace for x86. From: Vladimir Kirillov proger at wilab dot org dot ua

Revision 1.66 / (download) - annotate - [select for diffs], Mon Apr 4 21:33:49 2011 UTC (13 years ago) by dyoung
Branch: MAIN
Changes since 1.65: +4 -1 lines
Diff to previous 1.65 (colored)

As pointed out by Manuel Bouyer and Taylor R Campbell, I forgot to
commit the change to files.x86 that adds x86_stub.c, so do that.

Revision 1.44.8.4 / (download) - annotate - [select for diffs], Tue Mar 29 20:43:00 2011 UTC (13 years ago) by jym
Branch: jym-xensuspend
Changes since 1.44.8.3: +1 -1 lines
Diff to previous 1.44.8.3 (colored) to branchpoint 1.44 (colored)

More sync fixes. And add the mbr_gpt files.

Revision 1.44.8.3 / (download) - annotate - [select for diffs], Mon Mar 28 23:04:49 2011 UTC (13 years ago) by jym
Branch: jym-xensuspend
Changes since 1.44.8.2: +41 -41 lines
Diff to previous 1.44.8.2 (colored) to branchpoint 1.44 (colored)

Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Mar 16 11:35:36 2011 UTC (13 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.64: +1 -4 lines
Diff to previous 1.64 (colored)

sys/arch/x86/x86/iclockmod.c has been removed.

Revision 1.54.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:27 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54.4.1: +42 -39 lines
Diff to previous 1.54.4.1 (colored) to branchpoint 1.54 (colored)

sync with head

Revision 1.56.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:09 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.56.4.1: +37 -38 lines
Diff to previous 1.56.4.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Revision 1.64 / (download) - annotate - [select for diffs], Fri Mar 4 04:48:40 2011 UTC (13 years, 1 month ago) by jruoho
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.63: +5 -4 lines
Diff to previous 1.63 (colored)

Move INTEL_ONDEMAND_CLOCKMOD -- or odcm(4) -- to the cpufeaturebus.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Feb 27 17:10:33 2011 UTC (13 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.62: +9 -2 lines
Diff to previous 1.62 (colored)

Move acpicpu(4) from "acpinodebus" to "cpufeaturebus".

Revision 1.62 / (download) - annotate - [select for diffs], Thu Feb 24 13:58:39 2011 UTC (13 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.61: +5 -7 lines
Diff to previous 1.61 (colored)

Move VIA_C7TEMP to the cpufeaturebus.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Feb 24 10:56:02 2011 UTC (13 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.60: +9 -12 lines
Diff to previous 1.60 (colored)

Move PowerNow! to the cpufeaturebus.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Feb 23 11:43:22 2011 UTC (13 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.59: +7 -10 lines
Diff to previous 1.59 (colored)

Move ENHANCED_SPEEDSTEP, or henceforth est(4), to the cpufeaturebus.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Feb 20 13:42:45 2011 UTC (13 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.58: +5 -7 lines
Diff to previous 1.58 (colored)

Modularize coretemp(4). Ok jmcneill@.

Revision 1.58 / (download) - annotate - [select for diffs], Sat Feb 19 13:52:28 2011 UTC (13 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.57: +7 -6 lines
Diff to previous 1.57 (colored)

modularize VIA PadLock support
 - retire options VIA_PADLOCK, replace with 'padlock0 at cpu0'
 - driver supports attach & detach
 - support building as a module

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:44 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.56: +3 -2 lines
Diff to previous 1.56 (colored)

Sync with HEAD

Revision 1.57 / (download) - annotate - [select for diffs], Sat Feb 5 14:00:34 2011 UTC (13 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.56: +3 -2 lines
Diff to previous 1.56 (colored)

decouple tprof and its backends.

Revision 1.44.4.3 / (download) - annotate - [select for diffs], Sun Nov 21 02:46:23 2010 UTC (13 years, 5 months ago) by riz
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.44.4.2: +4 -1 lines
Diff to previous 1.44.4.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Pull up following revision(s) (requested by hubertf in ticket #1403):
	sys/arch/x86/conf/files.x86: revision 1.49
	sys/arch/i386/i386/autoconf.c: revision 1.94
	sys/arch/x86/x86/intr.c: revision 1.60
Add opt_intrdebug.h for the INTRDEBUG option, and #include it here and
there.  Fixes GENERIC/i386 compilation with 'options INTRDEBUG'.

Revision 1.54.2.3 / (download) - annotate - [select for diffs], Sat Oct 30 08:43:12 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.54.2.2: +0 -2 lines
Diff to previous 1.54.2.2 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

xmd_machdep.c is gone.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Fri Aug 20 07:04:37 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.54.2.1: +2 -0 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored)

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

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:30 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.54: +5 -2 lines
Diff to previous 1.54 (colored)

Sync with HEAD.

Revision 1.41.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:55 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.41.2.3: +5 -2 lines
Diff to previous 1.41.2.3 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jul 18 09:29:12 2010 UTC (13 years, 9 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored)

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.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jul 8 11:24:59 2010 UTC (13 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

Unify i386 and amd64 procfs MD code into x86.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Wed May 26 04:55:23 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

Split x86 TLB shootdown code into a separate file.
Code part is under TNF license, as per pmap.c 1.105.2.4 revision.

Revision 1.44.12.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:45 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.44: +8 -1 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync to netbsd-5

Revision 1.41.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:08 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.41.2.2: +7 -2 lines
Diff to previous 1.41.2.2 (colored) to branchpoint 1.41 (colored)

sync with head

Revision 1.44.8.2 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:16 2009 UTC (14 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.44.8.1: +7 -2 lines
Diff to previous 1.44.8.1 (colored) to branchpoint 1.44 (colored)

Sync with HEAD.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Oct 5 23:59:31 2009 UTC (14 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.53: +1 -2 lines
Diff to previous 1.53 (colored)

Remove X86_IPI_WRITE_MSR (and msr_ipifuncs.c), replace all uses in drivers
with xc_broadcast().  AMD K8 PowerNow driver tested by <jakllsch>, thanks!

Closes PR/37665.

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Mon Oct 5 11:37:14 2009 UTC (14 years, 6 months ago) by sborrill
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1
Changes since 1.44.4.1: +7 -1 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored)

Pull up the following revisions(s) (requested by jmcneill in ticket #1061):
	sys/arch/x86/conf/files.x86:	revision 1.53
	sys/arch/x86/include/cpuvar.h:	revision 1.31
	sys/arch/x86/x86/identcpu.c:	revision 1.17
	sys/arch/x86/x86/viac7temp.c:	revision 1.1
	sys/arch/i386/conf/ALL:	revision 1.218
	sys/arch/i386/conf/GENERIC:	revision 1.949
Add support for VIA C7 temperature sensors (options VIA_C7TEMP) and enable
in i386 GENERIC kernel.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Oct 2 18:50:03 2009 UTC (14 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.52: +7 -1 lines
Diff to previous 1.52 (colored)

Add support for VIA C7 temperature sensors (options VIA_C7TEMP)

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Tue Jun 16 02:19:44 2009 UTC (14 years, 10 months ago) by snj
Branch: netbsd-5
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

Pull up following revision(s) (requested by rmind in ticket #782):
	sys/arch/x86/conf/files.x86: revision 1.52 via patch
	sys/arch/x86/include/cpu.h: revision 1.17
	sys/arch/x86/x86/cpu_topology.c: revision 1.1
	sys/arch/x86/x86/identcpu.c: revision 1.16 via patch
Move x86 CPU topology detection code into the separate file (as it was
originally).
OK by <yamt>.

Revision 1.44.8.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:44 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.44: +13 -1 lines
Diff to previous 1.44 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:09 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.41.2.1: +21 -1 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored)

sync with head.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Apr 30 00:07:23 2009 UTC (14 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, jymxensuspend-base
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 (colored)

Move x86 CPU topology detection code into the separate file (as it was originally).
OK by <yamt>.

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:56 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.44.2.1: +10 -1 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Apr 17 21:07:58 2009 UTC (15 years ago) by dyoung
Branch: MAIN
CVS Tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.50: +4 -1 lines
Diff to previous 1.50 (colored)

Introduce sys/arch/x86/x86/mp.c for common x86 MP configuration code.
mpacpi_scan_pci() and mpbios_scan_pci() are identical code, so replace
them with mp_pci_scan().

Introduce mp_pci_childdetached(), which helps us to detach root PCI
buses that were enumerated either by MP BIOS or by ACPI.

Let us detach and re-attach PCI buses from mainbus0 on i386.  This is
necessarily a work-in-progress, because testing detach and re-attach
is very difficult: to detach and re-attach the entire PCI tree on most
x86 computers that I own is not possible because some essential device
attaches under the PCI subtree: the console, com0, NIC, or storage
controller always attaches in the PCI tree.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Apr 16 15:34:23 2009 UTC (15 years ago) by rmind
Branch: MAIN
Changes since 1.49: +2 -1 lines
Diff to previous 1.49 (colored)

- Add macros to handle (some) trapframe registers for common x86 code.
- Merge i386 and amd64 syscall.c into x86.  No functional changes intended.

Proposed on (port-i386 & port-amd64).  Unfortunately, I cannot merge these
lists into the single port-x86. :(

Revision 1.49 / (download) - annotate - [select for diffs], Tue Apr 7 18:24:23 2009 UTC (15 years ago) by dyoung
Branch: MAIN
Changes since 1.48: +4 -1 lines
Diff to previous 1.48 (colored)

Add opt_intrdebug.h for the INTRDEBUG option, and #include it here and
there.  Fixes GENERIC/i386 compilation with 'options INTRDEBUG'.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Mar 30 22:20:55 2009 UTC (15 years ago) by rmind
Branch: MAIN
Changes since 1.47: +2 -1 lines
Diff to previous 1.47 (colored)

Merge i386 and amd64 vm_machdep.c into x86.  No functional changes intended.
Note: some #ifdefs will be removed with macros.

Revision 1.47 / (download) - annotate - [select for diffs], Mon Mar 30 22:13:42 2009 UTC (15 years ago) by rmind
Branch: MAIN
Changes since 1.46: +2 -1 lines
Diff to previous 1.46 (colored)

Merge/move core_machdep.c into x86, no difference between i386 and amd64.

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:36 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.44: +3 -1 lines
Diff to previous 1.44 (colored)

Sync with HEAD.

Revision 1.46 / (download) - annotate - [select for diffs], Tue Feb 24 06:03:54 2009 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.45: +2 -1 lines
Diff to previous 1.45 (colored)

- rewrite x86 nmi dispatcher so that establish and disesablish are safe
  on a running system.
- adapt existing users of the api.  (elan)
- adapt tprof_pmi driver to use the api.

Revision 1.45 / (download) - annotate - [select for diffs], Tue Feb 17 01:42:51 2009 UTC (15 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

PR# port-i386/37026: userconf(4) doesn't work with vesafb(4)

Add early console support for x86 genfb.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:07 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.43: +9 -1 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Sync with HEAD.

Revision 1.40.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:11 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40.6.1: +8 -0 lines
Diff to previous 1.40.6.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.41.4.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:37 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.41.4.1: +9 -1 lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Aug 3 19:32:03 2008 UTC (15 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.43: +9 -1 lines
Diff to previous 1.43 (colored)

Move some MD declarations from x86/pci/files.pci to x86/conf/files.x86,
so that Xen can use the former.

Drop Xen's pcib.c in favor of the x86 code and thereby unbreak ichlpcib.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:50 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.41: +2 -4 lines
Diff to previous 1.41 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:49 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40: +3 -5 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:01 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.40: +3 -5 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

sync with head.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:27 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.41: +2 -4 lines
Diff to previous 1.41 (colored)

sync with head.

Revision 1.43 / (download) - annotate - [select for diffs], Sun May 11 14:44:54 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: haad-dm
Changes since 1.42: +2 -3 lines
Diff to previous 1.42 (colored)

Simplify x86 identcpu code, and share between i386/amd64.

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 9 18:11:29 2008 UTC (15 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.41: +1 -2 lines
Diff to previous 1.41 (colored)

Make cpu_idle a macro calling a function pointer on x86.
Select the Xen idle routine for Xen, mwait if supported by the CPU and
it is not AMD and halt otherwise. As reported by Christoph Egger,
AMD Barcelona keeps the CPU in C0 state with MWAIT, contrary to HLT,
which uses C1 and therefore much less power.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Apr 25 13:26:27 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Include null IPI functions if !MULTIPROCESSOR.

Revision 1.33.2.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:16 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.33.2.3: +7 -1 lines
Diff to previous 1.33.2.3 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.13.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:06 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13.2.7: +10 -2 lines
Diff to previous 1.13.2.7 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync with head

Revision 1.30.10.3 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:46 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.30.10.2: +10 -3 lines
Diff to previous 1.30.10.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

sync with HEAD

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:17 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.36: +9 -2 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jan 1 20:32:11 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.39: +4 -1 lines
Diff to previous 1.39 (colored)

try to detect processor resource sharing topologies.  ie. package/core/smt IDs.

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:22 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.33.2.2: +4 -2 lines
Diff to previous 1.33.2.2 (colored) to branchpoint 1.33 (colored)

Sync with HEAD.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:54 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.35: +7 -2 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Dec 26 11:51:12 2007 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

- share idt entry allocation code among x86.
- introduce a function to reserve an idt entry and use it instead of
  manipulating idt_allocmap directly.
- rename idt to xen_idt for amd64 xen.  add missing #ifdef XEN.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Dec 25 14:22:26 2007 UTC (16 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored)

Add initial version of calling VGA POST from vga_resume. This is the
equivalent to "vbetool post" using x86emu in the kernel.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Dec 18 07:17:16 2007 UTC (16 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

Add new IPI for saving CPU state explicitly, share high-level part of
ACPI wakeup code and teach it how to start the APs again. As a side
effect the CPU_START interface allows choosing between different
bootstrap codes more easily now.

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:20:49 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:48 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored)

Merge jmcneill-pm branch.

Revision 1.30.8.6 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:26 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.30.8.5: +1 -2 lines
Diff to previous 1.30.8.5 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:09 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.33.2.1: +1 -2 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored)

Sync with HEAD.

Revision 1.13.2.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:26:56 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13.2.6: +1 -2 lines
Diff to previous 1.13.2.6 (colored) to branchpoint 1.13 (colored)

sync with head

Revision 1.24.2.6 / (download) - annotate - [select for diffs], Mon Dec 3 19:04:21 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.24.2.5: +6 -5 lines
Diff to previous 1.24.2.5 (colored) next main 1.25 (colored)

Sync with HEAD.

Revision 1.24.2.5 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:03 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.24.2.4: +16 -8 lines
Diff to previous 1.24.2.4 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:27 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.34: +1 -2 lines
Diff to previous 1.34 (colored)

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:46:58 2007 UTC (16 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.33: +1 -2 lines
Diff to previous 1.33 (colored)

Sync with HEAD.

Revision 1.13.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:43:38 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13.2.5: +7 -2 lines
Diff to previous 1.13.2.5 (colored) to branchpoint 1.13 (colored)

sync with head.

Revision 1.30.14.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:16 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.30: +21 -12 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD

Revision 1.30.8.5 / (download) - annotate - [select for diffs], Sun Nov 11 16:47:01 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.30.8.4: +1 -2 lines
Diff to previous 1.30.8.4 (colored) to branchpoint 1.30 (colored)

Sync with HEAD.

Revision 1.30.10.2 / (download) - annotate - [select for diffs], Thu Nov 8 10:59:42 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.30.10.1: +1 -2 lines
Diff to previous 1.30.10.1 (colored) to branchpoint 1.30 (colored)

sync with -HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Wed Nov 7 16:02:27 2007 UTC (16 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.33: +1 -2 lines
Diff to previous 1.33 (colored)

__cpu_simple_locks really should be simple, otherwise they can cause
problems for e.g. profiling.

Revision 1.30.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:32 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
Changes since 1.30: +21 -11 lines
Diff to previous 1.30 (colored)

sync with HEAD

Revision 1.30.8.4 / (download) - annotate - [select for diffs], Mon Oct 29 02:57:23 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.30.8.3: +7 -1 lines
Diff to previous 1.30.8.3 (colored) to branchpoint 1.30 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Mon Oct 29 00:42:29 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.32: +7 -1 lines
Diff to previous 1.32 (colored)

Add coretemp(4). A new driver for Intel Core's on-die thermal sensor,
available on Intel Core or newer CPUs.

Ported from FreeBSD. Tested by rmind on i386 and joerg on amd64.

Enabled with "options INTEL_CORETEMP".

Revision 1.30.8.3 / (download) - annotate - [select for diffs], Sun Oct 28 20:10:58 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.30.8.2: +15 -6 lines
Diff to previous 1.30.8.2 (colored) to branchpoint 1.30 (colored)

Sync with HEAD.

Revision 1.13.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:53 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13.2.4: +15 -11 lines
Diff to previous 1.13.2.4 (colored) to branchpoint 1.13 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Oct 26 21:49:52 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.31: +15 -11 lines
Diff to previous 1.31 (colored)

- Share pchb(4) between i386 and amd64; one copy is enough for both.
- Move some of the x86 PCI devices into x86/pci/files.pci.
- Add more x86 stuff into x86/conf/files.x86.

ok joerg.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:14 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.30: +1 -1 lines
Diff to previous 1.30 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.20.2.1.2.1 / (download) - annotate - [select for diffs], Sun Sep 23 21:36:27 2007 UTC (16 years, 6 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.20.2.1: +9 -1 lines
Diff to previous 1.20.2.1 (colored) next main 1.20.2.2 (colored)

Sync with somewhat-recent netbsd-4.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Wed Sep 12 10:05:02 2007 UTC (16 years, 7 months ago) by msaitoh
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.20.2.1: +9 -1 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up following patches (requested by xtraeme in ticket #809)

	share/man/man4/options.4		patch
	sys/arch/i386/conf/files.i386		patch
	sys/arch/i386/i386/est.c		delete
	sys/arch/i386/i386/identcpu.c		patch
	sys/arch/i386/include/cpu.h		patch
	sys/arch/x86/conf/files.x86		patch
	sys/arch/x86/include/cpuvar.h		patch
	sys/arch/x86/x86/est.c			new file
	sys/arch/x86/x86/intel_busclock.c	new file
	sys/arch/amd64/amd64/identcpu.c		patch
	sys/arch/amd64/conf/GENERIC		patch

 Add support for the VIA C7-M and Eden processors in the Enhanced
 Speedstep driver.
 amd64: The Enhanced Speedstep driver is now able to work on EM64T
 CPUs running in 64bit mode.

Revision 1.30.8.2 / (download) - annotate - [select for diffs], Tue Sep 4 16:13:45 2007 UTC (16 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.30.8.1: +1 -6 lines
Diff to previous 1.30.8.1 (colored) to branchpoint 1.30 (colored)

Move common PCI devices on i386 and amd64 into a arch/x86/pci/fils.pci.

Revision 1.13.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:18 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13.2.3: +23 -3 lines
Diff to previous 1.13.2.3 (colored) to branchpoint 1.13 (colored)

sync with head.

Revision 1.30.8.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:09 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

Pull in power management changes from private branch.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:12 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.24: +21 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with head.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Tue Jun 26 18:13:53 2007 UTC (16 years, 9 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.29: +11 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.24.2.4 / (download) - annotate - [select for diffs], Sun Jun 17 21:30:41 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.24.2.3: +1 -2 lines
Diff to previous 1.24.2.3 (colored)

- Increase the number of thread priorities from 128 to 256. How the space
  is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
  is provided, with hooks for fast-path MD code that can run the interrupt
  threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
  locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Sat Jun 9 23:55:31 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.24.2.2: +11 -2 lines
Diff to previous 1.24.2.2 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 3 19:32:26 2007 UTC (16 years, 10 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.29: +11 -2 lines
Diff to previous 1.29 (colored)

Make the Enhanced Speedstep driver available for i386 and amd64.
To use it on EM64T CPUs supporting the EST CPUID feature. Note that
some CPUs still don't work with this driver, like Xeon or Pentium 4.

Move the p[34]_get_bus_clock functions into its own file,
intel_busclock.c and remove this code from i386/identcpu.c.

Tested on i386 by myself and amd64 by Tonerre.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Sun May 27 14:27:04 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.24.2.1: +5 -1 lines
Diff to previous 1.24.2.1 (colored)

Sync with head.

Revision 1.23.2.4 / (download) - annotate - [select for diffs], Mon May 7 10:55:05 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.23.2.3: +5 -1 lines
Diff to previous 1.23.2.3 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Fri Apr 20 20:31:26 2007 UTC (17 years ago) by bouyer
Branch: netbsd-4
CVS Tags: netbsd-4-0-RC1
Branch point for: wrstuden-fixsa
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Pull up following revision(s) (requested by mlelstv in ticket #575):
	sys/arch/i386/i386/est.c		sync with 1.37
	sys/arch/i386/i386/ipifuncs.c		sync with 1.16
	sys/arch/x86/include/cpu_msr.h		sync with 1.4
	sys/arch/x86/include/intrdefs.h		sync with 1.8
	sys/arch/x86/include/powernow.h		sync with 1.9
	sys/arch/x86/x86/powernow_k8.c		sync with 1.20
	sys/arch/x86/x86/msr_ipifuncs.c		sync with 1.8
	sys/arch/amd64/amd64/ipifuncs.c		sync with 1.9
	sys/arch/i386/i386/identcpu.c		patch
	sys/arch/i386/i386/machdep.c		patch
	sys/arch/i386/include/cpu.h		patch
	sys/arch/x86/conf/files.x86		patch
	sys/arch/x86/x86/x86_machdep.c		patch
	sys/arch/amd64/amd64/machdep.c		patch
Add MSR write IPI handler for x86. Use it and the RUN_ONCE framework
to make est and powernow drivers work properly with SMP.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 16 19:12:19 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Branch point for: ppcoea-renovation
Changes since 1.28: +5 -1 lines
Diff to previous 1.28 (colored)

Share the sysarch stuff between the x86 ports. PR kern/36046.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:23:21 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.24: +7 -1 lines
Diff to previous 1.24 (colored)

Sync with head.

Revision 1.24.6.1 / (download) - annotate - [select for diffs], Thu Mar 29 19:27:33 2007 UTC (17 years ago) by reinoud
Branch: reinoud-bufcleanup
Changes since 1.24: +7 -1 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Pullup to -current

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:05 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.23.2.2: +7 -1 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Tue Mar 20 21:22:03 2007 UTC (17 years, 1 month ago) by xtraeme
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.27: +6 -1 lines
Diff to previous 1.27 (colored)

Driver for Intel Thermal Monitor (feature TM) On-Demand Clock
Modulation.

This works by changing the duty cycle of the clock modulation,
and saves power and helps to not increase the temperature by
software.

Adapted from OpenBSD/FreeBSD's p4tcc.

To enable it one must use "options INTEL_ONDEMAND_CLOCKMOD".

Tested by me in UP and SMP, ok'ed by Matthew R. Green.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Mar 20 21:07:38 2007 UTC (17 years, 1 month ago) by xtraeme
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

MSR read and write IPI handlers for x86. A MSR will be read or written
in all CPUs available in the system. This adds another member
to struct cpu_info, ci_msr_rvalue; it will contain the value of the MSR
in a previous operation.

Tested with clockmod in UP and SMP by me, tested with est in SMP
by Daniel Carosone and Michael Van Elst.

Ok'ed by Andrew Doran and Matthew R. Green.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Mar 15 00:28:57 2007 UTC (17 years, 1 month ago) by xtraeme
Branch: MAIN
Changes since 1.25: +1 -4 lines
Diff to previous 1.25 (colored)

Ok... there were people really angry with this, backing it out.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 15 00:03:24 2007 UTC (17 years, 1 month ago) by xtraeme
Branch: MAIN
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

Add a driver for the Pentium 4 and later models with feature TM
(Thermal Monitor).

This driver will throttle the CPU clock modulation, saving some
power, also known as ODMC (On Demand Modulation Clock).

The processor can change from 12.5% to 100% (there are two erratas,
so two levels might be skipped in the worst case).

If supported, you'll see the following sysctl sub-tree:

machdep.p4tcc.throttling.target: CPU Clock throttling state (0 = lowest, 7 highest)
machdep.p4tcc.throttling.current: current CPU throttling state
machdep.p4tcc.throttling.available: list of CPU Clock throttling states

machdep.p4tcc.throttling.target = 2
machdep.p4tcc.throttling.current = 2
machdep.p4tcc.throttling.available = 7 6 5 4 3 2

Adapted from OpenBSD/FreeBSD.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:51:45 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.23.2.1: +69 -0 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 5 16:51:02 2007 UTC (17 years, 1 month ago) by drochner
Branch: MAIN
Branch point for: vmlocking, reinoud-bufcleanup, mjf-ufs-trans
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

clean up how cpus and ioapics are attached at the mainbus:
Seperate "cpubus" and "ioapicbus" -- while they share a common "address
space" (the apic id), the kernel doesn't use this fact. There are different
data passed to cpus and apics, which caused some ugly polymorphism. This
also saves the special "submatch" functions needed to distingush cpus
and ioapics for autoconf. (And it makes that "apid" locators wired
in the kernel configuration are honored now; this allows one to dumb down
an mp box to singleprocessor by userconfig.)
Print "apid" locators in the buses "print" function "as everyone does",
so the per-port cpu drivers don't need to do it.
Being here, constify "struct cpu_functions" and g/c the unused MP_PICMODE
flag.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:46 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13.2.2: +7 -1 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored)

sync with head.

Revision 1.23.2.1, Sat Feb 17 00:28:25 2007 UTC (17 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.23: +0 -68 lines
FILE REMOVED

file files.x86 was added on branch yamt-idlelwp on 2007-03-12 05:51:45 +0000

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 17 00:28:25 2007 UTC (17 years, 2 months ago) by daniel
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (colored)

Add an opencrypto provider for the AES xcrypt instructions found on VIA
C5P and later cores (also known as 'ACE', which is part of the VIA PadLock
security engine). Ported from OpenBSD.

Reviewed on tech-crypto and port-i386, no objections to commiting this.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:13 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored)

Merge newlock2 to head.

Revision 1.19.4.3 / (download) - annotate - [select for diffs], Sat Jan 27 07:09:02 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.19.4.2: +2 -1 lines
Diff to previous 1.19.4.2 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

If running on a PPro or later, at boot patch in versions of spllower() and
similar that use cmpxchg8b instead of cli/sti. Cuts the clock cycles for
splx() by a factor of ~6 on the P4, and ~3 on the PIII when bracketed by
serializing instructions (and hopefully more when not).

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:01:01 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.19.4.1: +2 -1 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored)

Sync with head.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Mon Jan 8 16:36:20 2007 UTC (17 years, 3 months ago) by ghen
Branch: netbsd-3
Changes since 1.12: +7 -1 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1621):
	sys/arch/i386/conf/GENERIC: revision 1.787 via patch
	share/man/man4/Makefile: revision 1.407 via patch
	distrib/sets/lists/man/mi: revision 1.936 via patch
	share/man/man4/ipmi.4: revision 1.1 via patch
	sys/arch/i386/i386/bios32.c: revision 1.11 via patch
	sys/dev/DEVNAMES: revision 1.221 via patch
	sys/arch/x86/x86/ipmi.c: revision 1.1 via patch
	sys/arch/i386/i386/mainbus.c: revision 1.65 via patch
	sys/arch/x86/include/smbiosvar.h: revision 1.1 via patch
	sys/arch/x86/include/ipmivar.h: revision 1.1 via patch
	sys/arch/x86/conf/files.x86: revision 1.20 via patch
	sys/arch/i386/conf/files.i386: revision 1.293 via patch
Add ipmi(4) driver, from OpenBSD. This requires SMBios support, so add
SMBios detection and mapping to bios32.c, also from OpenBSD (for now this
is only compiled in if ipmi(4) is configured). The sensors and watchdog are
accessible though envsys(4).
Works on i386; some work is needed on amd64 to access the BIOS. It would
eventually work on Xen if the SMBios is accessible (to be tested).
Add manpage for new ipmi driver.
Claim ipmi.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jan 1 20:56:59 2007 UTC (17 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Report on and where possible, try to work around some of the known errata
for Athlon 64 and Opteron processors. Tested briefly by cube@ and elad@.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:22 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13.2.1: +15 -3 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored)

sync with head.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:38 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored)

Sync with head.

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:16 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 1 18:37:54 2006 UTC (17 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, netbsd-4-base
Branch point for: netbsd-4
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored)

Add ipmi(4) driver, from OpenBSD. This requires SMBios support, so add
SMBios detection and mapping to bios32.c, also from OpenBSD (for now this
is only compiled in if ipmi(4) is configured). The sensors and watchdog are
accessible though envsys(4).
Works on i386; some work is needed on amd64 to access the BIOS. It would
eventually work on Xen if the SMBios is accessible (to be tested).

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:44:36 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.15: +10 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:16 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.16: +9 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Mon Aug 7 20:58:23 2006 UTC (17 years, 8 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.18: +5 -1 lines
Diff to previous 1.18 (colored)

* Do not change struct powernow_pst_s (I added another member in my
  previous patch) and this MUST be of that size, otherwise the tables
  won't be found.

* powernow_k8.c moved into x86/x86, it should work both i386 and amd64.

* Added more DPRINTFs needed to found the first problem.

* Create "machdep.powernow.frequency" again, I can't remember why I
  removed frequency... it should work with estd now.

* Do not try to call k[78]_powernow_init() if cpu is not AMD (thanks
  to christos).

And more things I can't remember, but this time it will work in
Athlon 64 cpus and it won't crash in EM64T cpus.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Aug 6 15:37:21 2006 UTC (17 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored)

AMD PowerNow!/Cool`n'Quiet driver for NetBSD/amd64,
adapted from OpenBSD.

Tested on a few machines:

http://bigbird.dohd.org:3021/NetBSD/dmesg
http://www.bsd.org.il/netbsd/acpi/dmesg

Thanks to cube, elad and others for testing and fixes.

Enabled by default on GENERIC.

Revision 1.16.12.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:06 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.16: +2 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Merge from HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 4 00:30:22 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.16: +2 -3 lines
Diff to previous 1.16 (colored)

Apply fvdl's acpi pci interrupt configuration code.
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:57:55 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

sync with head.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:54 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 3 19:58:20 2006 UTC (18 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi
Branch point for: yamt-pdpolicy, gdamore-uart
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Split move interrupt-related PCI functions from pci_machdep.c to
pci_intr_machdep.c. In Xen-3 registers access is done the normal way but
interrupts need custom setup. Proposed on port-amd64, port-i386 and
port-xen a week ago.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 30 13:37:57 2005 UTC (18 years, 3 months ago) by jmmv
Branch: MAIN
Branch point for: yamt-uio_vmspace, rpaulo-netinet-merge-pcb
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Add a 'struct bootinfo' to represent the bootinfo structure used in the
kernel by x86 platforms (instead of a simple char *).  This way, the code
in, e.g., lookup_bootinfo, is a bit easier to understand.

While here, move the lookup_bootinfo function used in x86 platforms (amd64,
i386 and xen) to a common file (x86/x86_machdep.c), as it was exactly the
same in all of them.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:47 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13 (colored)

merge ktrace-lwp.

Revision 1.8.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:20 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.5: +5 -1 lines
Diff to previous 1.8.2.5 (colored) next main 1.9 (colored)

Sync with HEAD. Here we go again...

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jul 3 12:16:05 2005 UTC (18 years, 9 months ago) by cube
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.12: +5 -1 lines
Diff to previous 1.12 (colored)

Move definitions for PCI_*_FIXUP to files.x86 so that ACPI compiles for
amd64...

Revision 1.8.2.5 / (download) - annotate - [select for diffs], Tue Nov 2 07:50:57 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.4: +2 -1 lines
Diff to previous 1.8.2.4 (colored)

Sync with HEAD.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 20 04:20:05 2004 UTC (19 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Move boot device detection code from i386 and amd64 ports to x86_autoconf.c.
Rename i386_alldisks and x86_64_alldisks to x86_alldisks, adjust other
references to compensate.

Revision 1.8.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:24:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.3: +1 -1 lines
Diff to previous 1.8.2.3 (colored)

Fix the sync with head I botched.

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:37 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.2: +1 -1 lines
Diff to previous 1.8.2.2 (colored)

Sync with HEAD.

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Fri Sep 3 12:45:08 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8.2.1: +3 -3 lines
Diff to previous 1.8.2.1 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 30 15:05:19 2004 UTC (19 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:43:04 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 8 17:30:00 2003 UTC (20 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

pciide_machdep.c depends on pciide_common, not pciide.
Pointed out and fix tested by Marc Recht.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 6 17:44:39 2003 UTC (20 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

Move the bulk of pci_intr_string into a seperate intr_string function. Use
that new function to print the pciide compat interrupt in pciide_machdep.c.
Share pciide_machdep.c between amd64 and i386.

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 29 20:22:31 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

Add the options MPBIOS_SCANPCI and MPACPI_SCANPCI to configure PCI roots
with the MPBIOS/ACPI bus information, by walking through the buses, and
descending down every bus that hasn't been marked configured yet.

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 11 18:24:12 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.6: +7 -1 lines
Diff to previous 1.6 (colored)

Update for acpi file move to sys/arch/x86/x86.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 25 21:54:30 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Share some common cache info cpuid code between i386 and x86_64.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 12 00:09:51 2003 UTC (21 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

Split bus_space and bus_dma into separate files.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 1 22:55:02 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored)

lock_machdep.c moved here from arch/i386/i386.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 27 01:50:40 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Add consinit.c

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 27 00:39:52 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

Catch up with isa_machdep.c and pci_machdep.c move.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 26 21:26:09 2003 UTC (21 years, 1 month ago) by fvdl
Branch: MAIN

Move some files out of i386 into x86, so that they can be shared with
other ports.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>