The NetBSD Project

CVS log for src/sys/arch/amd64/amd64/genassym.cf

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.97 / (download) - annotate - [select for diffs], Wed Oct 4 20:28:05 2023 UTC (5 months, 3 weeks ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.96: +5 -3 lines
Diff to previous 1.96 (colored) to selected 1.26.2.2 (colored)

Eliminate l->l_ncsw and l->l_nivcsw.  From memory think they were added
before we had per-LWP struct rusage; the same is now tracked there.

Revision 1.96 / (download) - annotate - [select for diffs], Sat Sep 23 14:41:15 2023 UTC (6 months ago) by ad
Branch: MAIN
Changes since 1.95: +1 -2 lines
Diff to previous 1.95 (colored) to selected 1.26.2.2 (colored)

Remove unused L_KPRIORITY.

Revision 1.95 / (download) - annotate - [select for diffs], Fri Mar 3 14:32:48 2023 UTC (12 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.94: +1 -2 lines
Diff to previous 1.94 (colored) to selected 1.26.2.2 (colored)

Revert "x86: Add kthread_fpu_enter/exit support, take two."

kthread_fpu_enter/exit changes broke some hardware, unclear why, to
investigate before fixing and reapplying these changes.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Feb 25 18:04:42 2023 UTC (13 months ago) by riastradh
Branch: MAIN
Changes since 1.93: +2 -1 lines
Diff to previous 1.93 (colored) to selected 1.26.2.2 (colored)

x86: Add kthread_fpu_enter/exit support, take two.

This time, make sure to restore the FPU state when switching to a
kthread in the middle of kthread_fpu_enter/exit.

This adds a single predicted-taken branch for the case of kthreads
that are not in kthread_fpu_enter/exit, so it incurs a penalty only
for threads that actually use it.  Since it avoids FPU state
switching in kthreads that do use the FPU, namely cgd worker threads,
this should be a net performance win on systems using it and have
negligible impact otherwise.

XXX pullup-10

Revision 1.93 / (download) - annotate - [select for diffs], Tue Dec 27 08:40:40 2022 UTC (15 months ago) by msaitoh
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored) to selected 1.26.2.2 (colored)

Move some definitions. Add comment. No functional change.

Revision 1.92 / (download) - annotate - [select for diffs], Mon Dec 26 15:52:37 2022 UTC (15 months ago) by msaitoh
Branch: MAIN
Changes since 1.91: +7 -6 lines
Diff to previous 1.91 (colored) to selected 1.26.2.2 (colored)

Reduce diff between i386/i386/genassym.cf and amd64/amd64/genassym.cf. NFCI.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Dec 26 09:39:30 2022 UTC (15 months ago) by msaitoh
Branch: MAIN
Changes since 1.90: +13 -9 lines
Diff to previous 1.90 (colored) to selected 1.26.2.2 (colored)

Sort lines. Add comment. No functional change.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Dec 26 09:12:42 2022 UTC (15 months ago) by msaitoh
Branch: MAIN
Changes since 1.89: +21 -22 lines
Diff to previous 1.89 (colored) to selected 1.26.2.2 (colored)

Reduce diff between i386/i386/genassym.cf and amd64/amd64/genassym.cf. NFCI.

 - Whitespace fix.
 - Sort lines.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Sep 7 00:40:18 2022 UTC (18 months, 3 weeks ago) by knakahara
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, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored) to selected 1.26.2.2 (colored)

NetBSD/x86: Raise the number of interrupt sources per CPU from 32 to 56.

There has been no objection for three years.
    https://mail-index.netbsd.org/port-amd64/2019/09/22/msg003012.html
Implemented by nonaka@n.o, updated by me.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Aug 20 23:48:50 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored) to selected 1.26.2.2 (colored)

x86: Split most of pmap.h into pmap_private.h or vmparam.h.

This way pmap.h only contains the MD definition of the MI pmap(9)
API, which loads of things in the kernel rely on, so changing x86
pmap internals no longer requires recompiling the entire kernel every
time.

Callers needing these internals must now use machine/pmap_private.h.
Note: This is not x86/pmap_private.h because it contains three parts:

1. CPU-specific (different for i386/amd64) definitions used by...

2. common definitions, including Xenisms like xpmap_ptetomach,
   further used by...

3. more CPU-specific inlines for pmap_pte_* operations

So {amd64,i386}/pmap_private.h defines 1, includes x86/pmap_private.h
for 2, and then defines 3.  Maybe we should split that out into a new
pmap_pte.h to reduce this trouble.

No functional change intended, other than that some .c files must
include machine/pmap_private.h when previously uvm/uvm_pmap.h
polluted the namespace with pmap internals.

Note: This migrates part of i386/pmap.h into i386/vmparam.h --
specifically the parts that are needed for several constants defined
in vmparam.h:

VM_MAXUSER_ADDRESS
VM_MAX_ADDRESS
VM_MAX_KERNEL_ADDRESS
VM_MIN_KERNEL_ADDRESS

Since i386 needs PDP_SIZE in vmparam.h, I added it there on amd64
too, just to keep things parallel.

Revision 1.87 / (download) - annotate - [select for diffs], Sun Jun 12 11:36:42 2022 UTC (21 months, 2 weeks ago) by bouyer
Branch: MAIN
Changes since 1.86: +3 -1 lines
Diff to previous 1.86 (colored) to selected 1.26.2.2 (colored)

XenPV: in cpu_switchto(), reset ci_xen_clockf_usermode/ci_xen_clockf_pc,
in case a clock interrupt is deffered while we're switching lwp.
Fix a (rare) panic:
panic: kernel diagnostic assertion "p != NULL" failed: file "/usr/src/sys/kern/kern_clock.c", line 438
seen when xen_timer_handler() is called from the splx() at the end of
mi_switch()

Revision 1.86 / (download) - annotate - [select for diffs], Tue May 24 15:55:19 2022 UTC (22 months ago) by bouyer
Branch: MAIN
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored) to selected 1.26.2.2 (colored)

Some devices (e.g. ixg in MSI-X mode) don't to have their handlers called
when no interrupt are pending. So add an extra ih_pending field
to struct intrhand, which is incremeted when the handler is not called because
of IPL level and reset to 0 when called. Check this in Xen's resume
assembly to call only handlers that are really pending.

Revision 1.85 / (download) - annotate - [select for diffs], Sat May 16 18:31:47 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.84: +2 -1 lines
Diff to previous 1.84 (colored) to selected 1.26.2.2 (colored)

Add ACL support for FFS. From FreeBSD.

Revision 1.84 / (download) - annotate - [select for diffs], Sat May 2 16:44:34 2020 UTC (3 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.83: +4 -2 lines
Diff to previous 1.83 (colored) to selected 1.26.2.2 (colored)

Introduce Xen PVH support in GENERIC.
This is compiled in with
options XENPVHVM
x86 changes:
- add Xen section and xen pvh entry points to locore.S. Set vm_guest
  to VM_GUEST_XENPVH in this entry point.
  Most of the boot procedure (especially page table setup and switch to
  paged mode) is shared with native.
- change some x86_delay() to delay_func(), which points to x86_delay() for
  native/HVM, and xen_delay() for PVH

Xen changes:
- remove Xen bits from init_x86_64_ksyms() and init386_ksyms()
  and move to xen_init_ksyms(), used for both PV and PVH
- set ISA no-legacy-devices property for PVH
- factor out code from Xen's cpu_bootconf() to xen_bootconf()
  in xen_machdep.c
- set up a specific pvh_consinit() which starts with printk()
  (which uses a simple hypercall that is available early) and switch to
  xencons when we can use pmap_kenter_pa().

Revision 1.83 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:16 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.82: +8 -7 lines
Diff to previous 1.82 (colored) to selected 1.26.2.2 (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.68.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:30 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.68.2.2: +2 -1 lines
Diff to previous 1.68.2.2 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored) to selected 1.26.2.2 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.82.4.3 / (download) - annotate - [select for diffs], Sun Apr 12 17:25:52 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.82.4.2: +6 -5 lines
Diff to previous 1.82.4.2 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.26.2.2 (colored)

Get rid of xen-specific ci_x* interrupt handling:
- use the general SIR mechanism, reserving 3 more slots for IPL_VM, IPL_SCHED
  and IPL_HIGH
- remove specific handling from C sources, or change to ipending
- convert IPL number to SIR number in various places
- Remove XUNMASK/XPENDING in assembly or change to IUNMASK/IPENDING
- remove Xen-specific ci_xsources, ci_xmask, ci_xunmask, ci_xpending from
  struct cpu_info
- for now remove a KASSERT that there are no pending interrupts in
  idle_block(). We can get there with some software interrupts pending
  in autoconf XXX needs to be looked at.

Revision 1.82.4.2 / (download) - annotate - [select for diffs], Sat Apr 11 10:11:30 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.82.4.1: +1 -3 lines
Diff to previous 1.82.4.1 (colored) to branchpoint 1.82 (colored) to selected 1.26.2.2 (colored)

Include ci_isources[] for XenPV too.
Adjust spllower() to XenPV needs, and switch XenPV to the native spllower().
Remove xen_spllower().

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Wed Apr 8 17:59:16 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.82: +3 -1 lines
Diff to previous 1.82 (colored) to selected 1.26.2.2 (colored)

Remove VM_GUEST_XEN and define only Xen subtypes:
VM_GUEST_XENPV
VM_GUEST_XENPVH
VM_GUEST_XENHVM
VM_GUEST_XENPVHVM

Set vm_guest in the start routine, if it is hypervisor-specific (e.g Xen PV).
If vm_guest was not set early and we detect Xen in identify_hypervisor(),
assume it is VM_GUEST_XENHVM. Refine to VM_GUEST_PVXENHVM in
hypervisor_match().

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:25 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.68.2.1: +4 -8 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored) to selected 1.26.2.2 (colored)

Merge changes from current as of 20200406

Revision 1.80.2.4 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:16 2020 UTC (4 years ago) by ad
Branch: ad-namecache
Changes since 1.80.2.3: +1 -4 lines
Diff to previous 1.80.2.3 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored) to selected 1.26.2.2 (colored)

Sync with head.

Revision 1.82 / (download) - annotate - [select for diffs], Mon Feb 17 09:09:48 2020 UTC (4 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3
Branch point for: bouyer-xenpvh
Changes since 1.81: +1 -4 lines
Diff to previous 1.81 (colored) to selected 1.26.2.2 (colored)

G/C LS{SLEEP,RUN,ONPROC}

LWP status manipulation was moved out of assembly long ago.

Revision 1.80.2.3 / (download) - annotate - [select for diffs], Wed Jan 22 11:40:16 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.80.2.2: +11 -1 lines
Diff to previous 1.80.2.2 (colored) to branchpoint 1.80 (colored) to selected 1.26.2.2 (colored)

Back out previous.

Revision 1.80.2.2 / (download) - annotate - [select for diffs], Sun Jan 19 21:08:29 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.80.2.1: +1 -11 lines
Diff to previous 1.80.2.1 (colored) to branchpoint 1.80 (colored) to selected 1.26.2.2 (colored)

Adaptive rwlocks proposed on tech-kern and working well on this branch
with vnode locks.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:22 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.80: +1 -2 lines
Diff to previous 1.80 (colored) to selected 1.26.2.2 (colored)

Sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Jan 8 17:38:41 2020 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: ad-namecache-base2, ad-namecache-base1
Changes since 1.80: +1 -2 lines
Diff to previous 1.80 (colored) to selected 1.26.2.2 (colored)

Hopefully fix some problems seen with MP support on non-x86, in particular
where curcpu() is defined as curlwp->l_cpu:

- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before
  calling cpu_switchto().  It's not safe to let other actors mess with the
  LWP (in particular l->l_cpu) while it's still context switching.  This
  removes l->l_ctxswtch.

- Move the LP_RUNNING flag into l->l_flag and rename to LW_RUNNING since
  it's now covered by the LWP's lock.

- Ditch lwp_exit_switchaway() and just call mi_switch() instead.  Everything
  is in cache anyway so it wasn't buying much by trying to avoid saving old
  state.  This means cpu_switchto() will never be called with prevlwp ==
  NULL.

- Remove some KERNEL_LOCK handling which hasn't been needed for years.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Dec 30 23:32:29 2019 UTC (4 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored) to selected 1.26.2.2 (colored)

Fix a problem with intr_unmask() that can cause a forever-loop:
- When handling the source-is-masked case in the interrupt vector, set the
  interrupt bit in a new ci_imasked field and ensure the bit is cleared
  from ci_ipending.
- In intr_unmask(), transfer the bit from ci_imasked to ci_ipending for
  non-level-sensitive interrupts (the PIC does the work for us in the
  level-sensitive case), and only force pending interrupts to be processed
  in this case.  (In all cases, make sure the now-unmasked bit is cleared
  from ci_imasked.)

Before, the bit was left in ci_ipending so as not to use edge-triggered
interrupts while the source is masked, but Xspllower() relies on the
pending bits getting cleared.

Tested by forcing all wm(4) interrupts on my test system though an
intr_mask() / softint / intr_unmask() cycle and exercising the network
heavily.

Revision 1.79 / (download) - annotate - [select for diffs], Sun Dec 22 15:09:39 2019 UTC (4 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.78: +3 -2 lines
Diff to previous 1.78 (colored) to selected 1.26.2.2 (colored)

Add intr_mask() and corresponding intr_unmask() calls that allow specific
interrupt lines / sources to be masked as needed (rather than making a
set of sources by IPL as with spl*()).

Revision 1.78 / (download) - annotate - [select for diffs], Thu Nov 21 19:27:54 2019 UTC (4 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.77: +1 -3 lines
Diff to previous 1.77 (colored) to selected 1.26.2.2 (colored)

x86: abort pageidlezero unconditionally if there is something to run.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Oct 12 06:31:03 2019 UTC (4 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.76: +3 -2 lines
Diff to previous 1.76 (colored) to selected 1.26.2.2 (colored)

Rewrite the FPU code on x86. This greatly simplifies the logic and removes
the dependency on IPL_HIGH. NVMM is updated accordingly. Posted on
port-amd64 a week ago.

Bump the kernel version to 9.99.16.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:47 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.68: +23 -8 lines
Diff to previous 1.68 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Wed May 29 16:54:41 2019 UTC (4 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.75: +9 -1 lines
Diff to previous 1.75 (colored) to selected 1.26.2.2 (colored)

Add PCID support in SVS. This avoids TLB flushes during kernel<->user
transitions, which greatly reduces the performance penalty introduced by
SVS.

We use two ASIDs, 0 (kern) and 1 (user), and use invpcid to flush pages
in both ASIDs.

The read-only machdep.svs.pcid={0,1} sysctl is added, and indicates whether
SVS+PCID is in use.

Revision 1.75 / (download) - annotate - [select for diffs], Mon May 27 17:32:36 2019 UTC (4 years, 10 months ago) by maxv
Branch: MAIN
Changes since 1.74: +1 -2 lines
Diff to previous 1.74 (colored) to selected 1.26.2.2 (colored)

Remove 'ci_svs_kpdirpa', unused. While here fix a few comments here and
there, reduces a future diff.

Revision 1.60.10.3 / (download) - annotate - [select for diffs], Sat Mar 9 17:10:20 2019 UTC (5 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.60.10.2: +3 -1 lines
Diff to previous 1.60.10.2 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored) to selected 1.26.2.2 (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.74 / (download) - annotate - [select for diffs], Fri Feb 15 08:54:01 2019 UTC (5 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: isaki-audio2-base, isaki-audio2
Changes since 1.73: +3 -1 lines
Diff to previous 1.73 (colored) to selected 1.26.2.2 (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.73 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2019 UTC (5 years, 1 month ago) by cherry
Branch: MAIN
Changes since 1.72: +4 -2 lines
Diff to previous 1.72 (colored) to selected 1.26.2.2 (colored)

We reorganise definitions for XEN source support as follows:

XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.

Revision 1.72 / (download) - annotate - [select for diffs], Sat Feb 2 12:32:54 2019 UTC (5 years, 1 month ago) by cherry
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.26.2.2 (colored)

Switch NetBSD/xen to use XEN api tag RELEASE-4.11.1

The headers for this api are in sys/external/mit/xen-include-public/dist/

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:31 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.67.2.2: +9 -3 lines
Diff to previous 1.67.2.2 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.71 / (download) - annotate - [select for diffs], Tue Dec 25 06:50:11 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.70: +9 -3 lines
Diff to previous 1.70 (colored) to selected 1.26.2.2 (colored)

Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c

While at it, separate the source function tracking so that the interrupt
paths are truly independant.

Use weak symbol exporting to provision for future PVHVM co-existence
of both files, but with independant paths. Introduce assembler code
such that in a unified scenario, native interrupts get first priority
in spllower(), followed by XEN event callbacks. IPL management and
semantics are unchanged - native handlers and xen callbacks are
expected to maintain their ipl related semantics.

In summary, after this commit, native and XEN now have completely
unrelated interrupt handling mechanisms, including
intr_establish_xname() and assembler stubs and intr handler
management.

Happy Christmas!

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:24 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.67.2.1: +2 -4 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.70 / (download) - annotate - [select for diffs], Sun Aug 12 15:31:01 2018 UTC (5 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.69: +1 -3 lines
Diff to previous 1.69 (colored) to selected 1.26.2.2 (colored)

More ASLR: randomize the location of the PTE area. The PTE slot is not
created in locore anymore, but a little later; by using the already
entered L4 page, rather than the recursive slot itself (which doesn't
exist yet).

In the prekern we still map the slot - the prekern behaves as an external
locore -, because we need it as part of the randomization/relocation
work. The kernel then removes this slot, and regenerates a randomized
one.

Tested on GENERIC and GENERIC_KASLR, Xen doesn't have it and dom0 still
boots fine.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Aug 12 06:11:47 2018 UTC (5 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68 (colored) to selected 1.26.2.2 (colored)

Eliminate the only ASM reference to VM_MIN_KERNEL_ADDRESS. Rename the
value to VM_SPACE_SEP_HIGH32, it is now the highest 32bits of the first
va of the higher half of the address space (right after the canonical
hole).

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:11 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.67: +1 -2 lines
Diff to previous 1.67 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.68 / (download) - annotate - [select for diffs], Fri Mar 30 10:01:36 2018 UTC (6 years ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Branch point for: phil-wifi
Changes since 1.67: +1 -2 lines
Diff to previous 1.67 (colored) to selected 1.26.2.2 (colored)

Fix warning when compiling Xen; FLAT_RING3_CS64 is defined in a child of
xen.h, which is already included in genassym.cf. So don't redefine it.

Revision 1.60.10.2 / (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.60.10.1: +8 -1 lines
Diff to previous 1.60.10.1 (colored) to branchpoint 1.60 (colored) to selected 1.26.2.2 (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.60.10.1 / (download) - annotate - [select for diffs], Tue Mar 13 15:47:44 2018 UTC (6 years ago) by martin
Branch: netbsd-8
Changes since 1.60: +4 -2 lines
Diff to previous 1.60 (colored) to selected 1.26.2.2 (colored)

Pullup the following revisions via patch, requested by maxv in ticket #629:

	sys/arch/amd64/amd64/genassym.cf		1.63,1.64
	sys/arch/amd64/amd64/locore.S			1.144
	sys/arch/amd64/amd64/machdep.c			1.281-1.283
	sys/arch/i386/i386/genassym.cf			1.105-1.106
	sys/arch/i386/i386/locore.S			1.155
	sys/arch/i386/i386/machdep.c			1.802 (adapted),1.803
	sys/arch/x86/include/cpu.h			1.85
	sys/arch/x86/x86/intr.c				1.115-1.116
	sys/arch/x86/x86/pmap.c				1.275
	sys/arch/x86/x86/sys_machdep.c			1.45
	sys/arch/xen/x86/cpu.c				1.117

Stop sharing the double-fault stack.
Merge the TSS structures into one single cpu_tss structure, and
allocate it dynamically.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jan 18 07:25:34 2018 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.66: +4 -1 lines
Diff to previous 1.66 (colored) to selected 1.26.2.2 (colored)

Unmap the kernel heap from the user page tables (SVS).

This implementation is optimized and organized in such a way that we
don't need to copy the kernel stack to a safe place during user<->kernel
transitions. We create two VAs that point to the same physical page; one
will be mapped in userland and is offset in order to contain only the
trapframe, the other is mapped in the kernel and maps the entire stack.

Sent on tech-kern@ a week ago.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jan 7 16:47:22 2018 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.65: +3 -1 lines
Diff to previous 1.65 (colored) to selected 1.26.2.2 (colored)

make this compile again

Revision 1.65 / (download) - annotate - [select for diffs], Sun Jan 7 16:10:16 2018 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.64: +3 -1 lines
Diff to previous 1.64 (colored) to selected 1.26.2.2 (colored)

Add a new option, SVS (for Separate Virtual Space), that unmaps kernel
pages when running in userland. For now, only the PTE area is unmapped.

Sent on tech-kern@.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Jan 4 13:36:30 2018 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.63: +4 -2 lines
Diff to previous 1.63 (colored) to selected 1.26.2.2 (colored)

Allocate the TSS area dynamically. This way cpu_info and cpu_tss can be
put in separate pages.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Jan 4 12:34:15 2018 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored) to selected 1.26.2.2 (colored)

Group the different TSSes into a cpu_tss structure. And pack this
structure to make sure there is no padding between 'tss' and 'iomap'.

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:47 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.52.2.1: +4 -13 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored) to selected 1.26.2.2 (colored)

update from HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Sat Oct 28 20:57:17 2017 UTC (6 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored) to selected 1.26.2.2 (colored)

Use FLAT_RING3_CS64 (defined in Xen public headers) instead of numeric
value.

Revision 1.56.6.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:27 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.56.6.2: +1 -13 lines
Diff to previous 1.56.6.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.61.2.2 / (download) - annotate - [select for diffs], Sun Jul 16 14:02:49 2017 UTC (6 years, 8 months ago) by cherry
Branch: perseant-stdc-iso10646
Changes since 1.61.2.1: +365 -0 lines
Diff to previous 1.61.2.1 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored) to selected 1.26.2.2 (colored)

2302677

Revision 1.61.2.1, Sun Jul 16 14:02:48 2017 UTC (6 years, 8 months ago) by cherry
Branch: perseant-stdc-iso10646
Changes since 1.61: +0 -365 lines
FILE REMOVED

file genassym.cf was added on branch perseant-stdc-iso10646 on 2017-07-16 14:02:49 +0000

Revision 1.61 / (download) - annotate - [select for diffs], Sun Jul 16 14:02:48 2017 UTC (6 years, 8 months ago) by cherry
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, nick-nhusb-base-20170825
Branch point for: perseant-stdc-iso10646
Changes since 1.60: +1 -13 lines
Diff to previous 1.60 (colored) to selected 1.26.2.2 (colored)

Unify the xen and native x86/ interrupt setup functions and
spl traversal data structures.

This is towards PVHVM.

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

Sync with HEAD (as of 26th Dec)

Revision 1.60 / (download) - annotate - [select for diffs], Fri Nov 20 11:58:00 2015 UTC (8 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, 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, nick-nhusb-base-20151226, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.59: +3 -1 lines
Diff to previous 1.59 (colored) to selected 1.26.2.2 (colored)

A few changes:
 - remove cpu_id and cpu_brand_id (unused)
 - copy a comment from i386 about fillkpt
 - define PDE_SIZE (i386)

Revision 1.56.6.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:35 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Wed Aug 26 03:00:53 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.58: +0 -2 lines
Diff to previous 1.58 (colored) to selected 1.26.2.2 (colored)

Have MI genassym.cf.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Aug 25 08:04:31 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.57: +3 -1 lines
Diff to previous 1.57 (colored) to selected 1.26.2.2 (colored)

Replace COHERENCY_UNIT in ldscript.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jul 11 10:15:33 2015 UTC (8 years, 8 months ago) by kamil
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.26.2.2 (colored)

Improve spelling: regsister -> register

This change is non-functional.

Approved by <riastradh>, <pgoyette>

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:42 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.52: +1 -3 lines
Diff to previous 1.52 (colored) to selected 1.26.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.48.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:39:28 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.48.2.3: +1 -3 lines
Diff to previous 1.48.2.3 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.26.2.2 (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.52.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:54 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.52: +1 -3 lines
Diff to previous 1.52 (colored) next main 1.53 (colored) to selected 1.26.2.2 (colored)

sync with head

Revision 1.56 / (download) - annotate - [select for diffs], Thu Feb 20 18:19:09 2014 UTC (10 years, 1 month ago) by dsl
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, riastradh-drm2-base3, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, 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
Branch point for: nick-nhusb
Changes since 1.55: +1 -2 lines
Diff to previous 1.55 (colored) to selected 1.26.2.2 (colored)

Move the amd64 and i386 pcb to the bottom of the uarea, and move the
  kernel stack to the top.
Change the pcb layouts so that fpu save area is at the end and is
  64byte aligned ready for xsave (saving the ymm registers).
Welcome to 6.99.32

Revision 1.55 / (download) - annotate - [select for diffs], Sat Feb 15 10:11:14 2014 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.54: +1 -2 lines
Diff to previous 1.54 (colored) to selected 1.26.2.2 (colored)

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

Revision 1.54 / (download) - annotate - [select for diffs], Sun Dec 1 01:05:16 2013 UTC (10 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.53: +2 -0 lines
Diff to previous 1.53 (colored) to selected 1.26.2.2 (colored)

revert fpu/pcu changes until we figure out what's wrong; they cause random
freezes

Revision 1.53 / (download) - annotate - [select for diffs], Wed Oct 23 20:18:50 2013 UTC (10 years, 5 months ago) by drochner
Branch: MAIN
Changes since 1.52: +1 -3 lines
Diff to previous 1.52 (colored) to selected 1.26.2.2 (colored)

Use the MI "pcu" framework for bookkeeping of npx/fpu states on x86.
This reduces the amount of MD code enormously, and makes it easier
to implement support for newer CPU features which require more fpu
state, or for fpu usage by the kernel.
For access to FPU state across CPUs, an xcall kthread is used now
rather than a dedicated IPI.
No user visible changes intended.

Revision 1.49.2.2 / (download) - annotate - [select for diffs], Thu Nov 22 17:39:28 2012 UTC (11 years, 4 months ago) by riz
Branch: netbsd-6
CVS Tags: 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
Changes since 1.49.2.1: +2 -0 lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored) to selected 1.26.2.2 (colored)

Pull up following revision(s) (requested by chs in ticket #690):
	external/cddl/osnet/dev/dtrace/amd64/dtrace_isa.c: revision 1.4
	sys/arch/amd64/include/Makefile.inc: revision 1.4
	sys/arch/amd64/include/pmap.h: revision 1.33
	external/cddl/osnet/dev/dtrace/amd64/dtrace_subr.c: revision 1.6
	sys/arch/amd64/include/asm.h: revision 1.15
	sys/arch/amd64/amd64/genassym.cf: revision 1.51
	external/cddl/osnet/dev/dtrace/amd64/dtrace_asm.S: revision 1.4
make dtrace work on amd64.
allow more space for modules.

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:18:43 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.48.2.2: +5 -2 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) to selected 1.26.2.2 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Sun Jul 15 15:17:56 2012 UTC (11 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored) to selected 1.26.2.2 (colored)

Rename MDP_IRET to MDL_IRET since it is an lwp flag, not a proc one.
Add an MDL_COMPAT32 flag to the lwp's md_flags, set it for 32bit lwps
  and use it to force 'return to user' with iret (as is done when
  MDL_IRET is set).
Split the iret/sysret code paths much later.
Remove all the replicated code for 32bit system calls - which was only
  needed so that iret was always used.
frameasm.h for XEN contains '#define swapgs', while XEN probable never
  needs swapgs, this is likely to be confusing.
Add a SWAPGS which is a nop on XEN and swapgs otherwise.
(I've not yet checked all the swapgs in files that include frameasm.h)
Simple x86 programs still work.
Hijack 6.99.9 kernel bump (needed for compat32 modules)

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jun 11 15:18:05 2012 UTC (11 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.50: +3 -1 lines
Diff to previous 1.50 (colored) to selected 1.26.2.2 (colored)

make dtrace work on amd64.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:39 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.48.2.1: +1 -3 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Wed May 9 03:22:55 2012 UTC (11 years, 10 months ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.49: +1 -3 lines
Diff to previous 1.49 (colored) to selected 1.26.2.2 (colored)

Pull up following revision(s) (requested by rmind in ticket #202):
	sys/arch/x86/include/cpuvar.h: revision 1.46
	sys/arch/xen/include/xenpmap.h: revision 1.34
	sys/arch/i386/include/param.h: revision 1.77
	sys/arch/x86/x86/pmap_tlb.c: revision 1.5
	sys/arch/x86/x86/pmap_tlb.c: revision 1.6
	sys/arch/i386/i386/genassym.cf: revision 1.92
	sys/arch/xen/x86/cpu.c: revision 1.91
	sys/arch/x86/x86/pmap.c: revision 1.177
	sys/arch/xen/x86/xen_pmap.c: revision 1.21
	sys/arch/x86/acpi/acpi_wakeup.c: revision 1.31
	sys/kern/subr_kcpuset.c: revision 1.5
	sys/arch/amd64/include/param.h: revision 1.18
	sys/sys/kcpuset.h: revision 1.5
	sys/arch/x86/x86/mtrr_i686.c: revision 1.26
	sys/arch/x86/x86/mtrr_i686.c: revision 1.27
	sys/arch/xen/x86/x86_xpmap.c: revision 1.43
	sys/arch/x86/x86/cpu.c: revision 1.98
	sys/arch/amd64/amd64/mptramp.S: revision 1.14
	sys/kern/sys_sched.c: revision 1.42
	sys/arch/amd64/amd64/genassym.cf: revision 1.50
	sys/arch/i386/i386/mptramp.S: revision 1.24
	sys/arch/x86/include/pmap.h: revision 1.52
	sys/arch/x86/include/cpu.h: revision 1.50
- Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to use
  kcpuset(9) and thus replace hardcoded CPU bitmasks.  This removes the
  limitation of maximum CPUs.
- Support up to 256 CPUs on amd64 architecture by default.
Bug fixes, improvements, completion of Xen part and testing on 64-core
AMD Opteron(tm) Processor 6282 SE (also, as Xen HVM domU with 128 CPUs)
by Manuel Bouyer.
- pmap_tlb_shootdown: do not overwrite tp_cpumask with pm_cpus, but merge
  like pm_kernel_cpus.  Remove unecessary intersection with kcpuset_running.
  Do not reset tp_userpmap if pmap_kernel().
- Remove pmap_tlb_mailbox_t wrapping, which is pointless after recent changes.
- pmap_tlb_invalidate, pmap_tlb_intr: constify for packet structure.
i686_mtrr_init_first: handle the case when there are no variable-size MTRR
registers available (i686_mtrr_vcnt == 0).

Revision 1.48.6.2 / (download) - annotate - [select for diffs], Sun Apr 29 23:04:36 2012 UTC (11 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.48.6.1: +1 -3 lines
Diff to previous 1.48.6.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored) to selected 1.26.2.2 (colored)

sync to latest -current.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Apr 20 22:23:24 2012 UTC (11 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Changes since 1.49: +1 -3 lines
Diff to previous 1.49 (colored) to selected 1.26.2.2 (colored)

- Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to use
  kcpuset(9) and thus replace hardcoded CPU bitmasks.  This removes the
  limitation of maximum CPUs.

- Support up to 256 CPUs on amd64 architecture by default.

Bug fixes, improvements, completion of Xen part and testing on 64-core
AMD Opteron(tm) Processor 6282 SE (also, as Xen HVM domU with 128 CPUs)
by Manuel Bouyer.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:58 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored) to selected 1.26.2.2 (colored)

sync with head

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:31:09 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored) to selected 1.26.2.2 (colored)

merge to -current.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Dec 7 15:47:41 2011 UTC (12 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored) to selected 1.26.2.2 (colored)

switch from xen3-public to xen-public.

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:22 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.40.2.2: +2 -14 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored) to selected 1.26.2.2 (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.48 / (download) - annotate - [select for diffs], Fri Jul 1 19:24:14 2011 UTC (12 years, 9 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored) to selected 1.26.2.2 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.46.6.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:56 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.46: +1 -13 lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.26.2.2 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:37 2011 UTC (12 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.46: +1 -13 lines
Diff to previous 1.46 (colored) to selected 1.26.2.2 (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.43.4.4 / (download) - annotate - [select for diffs], Thu Mar 17 04:46:29 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.43.4.3: +1 -13 lines
Diff to previous 1.43.4.3 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored) to selected 1.26.2.2 (colored)

- Fix tlbflushg() to behave like tlbflush(), if page global extension (PGE)
  is not (yet) enabled.  This fixes the issue of stale TLB entry, experienced
  early on boot, when PGE is not yet set on primary CPU.
- Rewrite i386/amd64 TLB interrupt handlers in C (only stubs are in assembly),
  which simplifies and unifies (under x86) code, plus fixes few bugs.
- cpu_attach: remove assignment to cpus_running, as primary CPU might not be
  attached first, which causes reset (and thus missed secondary CPUs).

Revision 1.43.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:15 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.43.4.2: +7 -5 lines
Diff to previous 1.43.4.2 (colored) to branchpoint 1.43 (colored) to selected 1.26.2.2 (colored)

sync with head

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Mon Jan 10 00:37:27 2011 UTC (13 years, 2 months ago) by jym
Branch: jym-xensuspend
Changes since 1.40.2.1: +2 -4 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:24 2010 UTC (13 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: cherry-xenmp
Changes since 1.45: +2 -4 lines
Diff to previous 1.45 (colored) to selected 1.26.2.2 (colored)

Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits.  Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sun Oct 24 22:47:51 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.40: +10 -6 lines
Diff to previous 1.40 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:43:51 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.43.2.1: +5 -1 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.27.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:32 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.2.3: +9 -3 lines
Diff to previous 1.27.2.3 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 7 01:14:52 2010 UTC (13 years, 8 months ago) by chs
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
Changes since 1.44: +6 -2 lines
Diff to previous 1.44 (colored) to selected 1.26.2.2 (colored)

add the guts of TLS support on amd64.  based on joerg's patch,
reworked by me to support 32-bit processes as well.
we now keep %fs and %gs loaded with the user values
while in the kernel, which means we don't need to
reload them when returning to user mode.

Revision 1.43.4.2 / (download) - annotate - [select for diffs], Sun May 30 05:16:35 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.43.4.1: +4 -2 lines
Diff to previous 1.43.4.1 (colored) to branchpoint 1.43 (colored) to selected 1.26.2.2 (colored)

sync with head

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:39:03 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.43: +4 -2 lines
Diff to previous 1.43 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 28 19:17:03 2010 UTC (13 years, 11 months ago) by dyoung
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.43: +4 -2 lines
Diff to previous 1.43 (colored) to selected 1.26.2.2 (colored)

On x86, change the bus_space_tag_t to a pointer to a struct
bus_space_tag.  For now, bus_space_tag's only member is
bst_type, the type of space, which is either X86_BUS_SPACE_IO
or X86_BUS_SPACE_MEM.  In the future, new bus_space_tag members
will refer to override-functions installed by a new function,
bus_space_tag_create(9).

Add pointers to constant struct bus_space_tag, x86_bus_space_io and
x86_bus_space_mem.  Use them to replace most uses of X86_BUS_SPACE_IO
and X86_BUS_SPACE_MEM.

Add an x86-specific bus_space_is_equal(9) implementation that compares
the two tags' bst_type.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Mon Apr 26 04:48:49 2010 UTC (13 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.43: +8 -8 lines
Diff to previous 1.43 (colored) to selected 1.26.2.2 (colored)

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

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:01:58 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.2.2: +2 -4 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) to selected 1.26.2.2 (colored)

sync with head

Revision 1.43 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:04 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) to selected 1.26.2.2 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Nov 25 14:28:50 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.41: +1 -2 lines
Diff to previous 1.41 (colored) to selected 1.26.2.2 (colored)

Remove IPL_LPT and IPL_IPI aliases, use the actual IPLs.
Fix some broken comments.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Nov 21 03:11:01 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.40: +1 -2 lines
Diff to previous 1.40 (colored) to selected 1.26.2.2 (colored)

Use lwp_getpcb() on x86 MD code, clean from struct user usage.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:32 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.2.1: +10 -14 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Mon Feb 2 03:22:55 2009 UTC (15 years, 1 month ago) by snj
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, 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, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.37.4.1: +5 -6 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.26.2.2 (colored)

Pull up following revision(s) (requested by ad in ticket #345):
	sys/arch/amd64/amd64/genassym.cf: revision 1.39
	sys/arch/i386/i386/genassym.cf: revision 1.79
	sys/arch/i386/i386/locore.S: revision 1.82
	sys/arch/x86/x86/x86_machdep.c: revision 1.26
Don't abort pageidlezero unless a realtime thread wants to run.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:15:54 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.37: +7 -7 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.23.6.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:48 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.23.6.4: +6 -6 lines
Diff to previous 1.23.6.4 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Dec 30 13:15:49 2008 UTC (15 years, 3 months ago) by pooka
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, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base
Branch point for: jym-xensuspend
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored) to selected 1.26.2.2 (colored)

!defined(_LKM) -> defined(_KERNEL_OPT)

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:12:58 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.36.2.1: +6 -6 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.26.2.2 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Dec 3 11:40:17 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.38: +5 -6 lines
Diff to previous 1.38 (colored) to selected 1.26.2.2 (colored)

Don't abort pageidlezero unless a realtime thread wants to run.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Mon Nov 17 18:53:53 2008 UTC (15 years, 4 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC1
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored) to selected 1.26.2.2 (colored)

Pull up following revision(s) (requested by ad in ticket #74):
	sys/arch/i386/isa/npx.c: revision 1.131
	sys/arch/amd64/amd64/fpu.c: revision 1.28
	sys/arch/i386/i386/genassym.cf: revision 1.77
	sys/arch/i386/i386/autoconf.c: revision 1.93
	sys/arch/amd64/amd64/locore.S: revision 1.48
	sys/arch/amd64/amd64/machdep.c: revision 1.104
	sys/arch/i386/i386/machdep.c: revision 1.646
	sys/arch/amd64/amd64/genassym.cf: revision 1.38
	sys/arch/i386/i386/locore.S: revision 1.79
PR port-amd64/38293 panic: fp_save ipi didn't
Fix race conditions in FPU IPI handling.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Nov 11 14:40:18 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored) to selected 1.26.2.2 (colored)

PR port-amd64/38293 panic: fp_save ipi didn't

Fix race conditions in FPU IPI handling.

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:39 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.36: +2 -6 lines
Diff to previous 1.36 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Fri Oct 10 22:29:03 2008 UTC (15 years, 5 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.30.2.2: +2 -6 lines
Diff to previous 1.30.2.2 (colored) next main 1.31 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.23.6.4 / (download) - annotate - [select for diffs], Sun Sep 28 10:39:45 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.23.6.3: +2 -5 lines
Diff to previous 1.23.6.3 (colored) to branchpoint 1.23 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Sep 20 18:29:04 2008 UTC (15 years, 6 months ago) by tsutsui
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.36: +2 -6 lines
Diff to previous 1.36 (colored) to selected 1.26.2.2 (colored)

Remove advertising clause for UCB in various genassym.cf files,
which were derived from genassym.c in 4.4BSD-Lite2 (or 386BSD).
Closes PR misc/39573.  Approved by martin@.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:17 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.30.2.1: +2 -1 lines
Diff to previous 1.30.2.1 (colored) to selected 1.26.2.2 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:50 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored) next main 1.36 (colored) to selected 1.26.2.2 (colored)

Sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Jul 3 14:02:24 2008 UTC (15 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored) to selected 1.26.2.2 (colored)

Remove "struct device" from "struct pic", where it was only real
for ioapics and faked up for others. Add it to "struct ioapic_softc"
for now, until device/softc get split.
This required all typecasts between "struct pic" and "struct ioapic_softc"
to be replaced, I hope I got them all.
functionally tested on i386, compile-tested on xen, untested on amd64

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:05 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.30: +18 -34 lines
Diff to previous 1.30 (colored) to selected 1.26.2.2 (colored)

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

Revision 1.26.2.3 / (download) - annotate - [select for diffs], Tue Jun 17 09:13:54 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.26.2.2: +1 -3 lines
Diff to previous 1.26.2.2 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.23.6.3 / (download) - annotate - [select for diffs], Thu Jun 5 19:14:32 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.23.6.2: +0 -2 lines
Diff to previous 1.23.6.2 (colored) to branchpoint 1.23 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Also fix build.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jun 4 11:30:25 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.34: +1 -3 lines
Diff to previous 1.34 (colored) to selected 1.26.2.2 (colored)

Remove ref to uvm.page_idle_zero

Revision 1.26.2.2 / (download) - annotate - [selected], Wed Jun 4 02:04:39 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.26.2.1: +2 -1 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored)

sync with head

Revision 1.23.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:48 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.23.6.1: +23 -39 lines
Diff to previous 1.23.6.1 (colored) to branchpoint 1.23 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jun 1 22:28:22 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base3
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.26.2.2 (colored)

Oops, add CPU_INFO_NTRAP.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:27 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.26: +23 -40 lines
Diff to previous 1.26 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:49 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27: +22 -40 lines
Diff to previous 1.27 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Sun May 11 16:23:05 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) to selected 1.26.2.2 (colored)

Don't reload LDTR unless a new value, which only happens for USER_LDT.

Revision 1.32 / (download) - annotate - [select for diffs], Sun May 11 15:32:20 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.31: +15 -25 lines
Diff to previous 1.31 (colored) to selected 1.26.2.2 (colored)

Share cpu.h between the x86 ports.

Revision 1.31 / (download) - annotate - [select for diffs], Sat May 10 16:12:32 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.30: +2 -8 lines
Diff to previous 1.30 (colored) to selected 1.26.2.2 (colored)

Improve x86 tsc handling:

- Ditch the cross-CPU calibration stuff. It didn't work properly, and it's
  near impossible to synchronize the CPUs in a running system, because bus
  traffic will interfere with any calibration attempt, messing up the
  timings.

- Only enable the TSC on CPUs where we are sure it does not drift. If we are
  On a known good CPU, give the TSC high timecounter quality, making it the
  default.

- When booting CPUs, detect TSC skew and account for it. Most Intel MP
  systems have synchronized counters, but that need not be true if the
  system has a complicated bus structure. As far as I know, AMD systems
  do not have synchronized TSCs and so we need to handle skew.

- While an AP is waiting to be set running, try and make the TSC drift by
  entering a reduced power state. If we detect drift, ensure that the TSC
  does not get a high timecounter quality. This should not happen and is
  only for safety.

- Make cpu_counter() stuff LKM safe.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Apr 28 22:47:37 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored) to selected 1.26.2.2 (colored)

Add support for kernel preeemption to the i386 and amd64 ports. Notes:

- I have seen one isolated panic in the x86 pmap, but otherwise i386
  seems stable with preemption enabled.

- amd64 is missing the FPU handling changes and it's not yet safe to
  enable it there.

- The usual level for kern.sched.kpreempt_pri will be 128 once enabled
  by default. For testing, setting it to 0 helps to shake out bugs.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:12 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.28: +1 -8 lines
Diff to previous 1.28 (colored) to selected 1.26.2.2 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 28 18:32:12 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.27: +4 -2 lines
Diff to previous 1.27 (colored) to selected 1.26.2.2 (colored)

Make kernel pagefault handling preeemption safe.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 21 15:15:33 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored) to selected 1.26.2.2 (colored)

Access Xen's vcpu info structure per-CPU.
Tested on i386 and amd64 (both dom0 and domU) by me.
Xen2 tested (both dom0 and domU) by bouyer.
OK bouyer

Revision 1.23.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:10 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.23: +11 -1 lines
Diff to previous 1.23 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Mar 26 12:36:33 2008 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.26.2.2 (colored)

Correct pasto in the cc_microtime defs. From tsutsui@.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:52 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.23: +11 -1 lines
Diff to previous 1.23 (colored) next main 1.24 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.9.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:52 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.9.10.2: +11 -1 lines
Diff to previous 1.9.10.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.26.2.2 (colored)

sync with HEAD

Revision 1.3.16.8 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:14 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.16.7: +11 -1 lines
Diff to previous 1.3.16.7 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Tue Mar 11 02:24:43 2008 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored) to selected 1.26.2.2 (colored)

Make context switch + syscall counters optionally per-CPU and accumulate
in schedclock() at "about 16 hz".

Revision 1.24 / (download) - annotate - [select for diffs], Mon Mar 10 22:03:40 2008 UTC (16 years ago) by ad
Branch: MAIN
Changes since 1.23: +10 -1 lines
Diff to previous 1.23 (colored) to selected 1.26.2.2 (colored)

Implement an optimized, preemption-safe asm version of tsc_get_timecount().
The C version needs work to be preemption safe. Cuts the clock cycles
for microtime() from 950 down to 300 on a Pentium D.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:20 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.15.2.2: +5 -4 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.3.16.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:15 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.16.6: +33 -4 lines
Diff to previous 1.3.16.6 (colored) to branchpoint 1.3 (colored) to selected 1.26.2.2 (colored)

sync with head

Revision 1.9.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:44:44 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.9.10.1: +73 -25 lines
Diff to previous 1.9.10.1 (colored) to branchpoint 1.9 (colored) to selected 1.26.2.2 (colored)

sync with HEAD

Revision 1.19.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:13 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.19.6.1: +2 -3 lines
Diff to previous 1.19.6.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jan 5 21:47:19 2008 UTC (16 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.22: +3 -4 lines
Diff to previous 1.22 (colored) to selected 1.26.2.2 (colored)

- make amd64 use per-cpu tss.
- fix iopl syscall for amd64+xen.

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:46:57 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.19: +31 -1 lines
Diff to previous 1.19 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Tue Jan 1 19:49:05 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored) to selected 1.26.2.2 (colored)

make the nmi handler safer.

XXX should use IST.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:42:49 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15.2.1: +29 -1 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:41:56 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.19: +29 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored) to selected 1.26.2.2 (colored)

Sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Dec 21 20:43:45 2007 UTC (16 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored) to selected 1.26.2.2 (colored)

Create the trap/syscall frame space for all the registers in one go.
Use the tramp-frame offsets (TF_foo) for all references to the registers.
Sort the saving of the GP registers into the same order as the trap frame
because consequetive memory accesses are liekly to be faster.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 18 07:17:10 2007 UTC (16 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.19: +26 -1 lines
Diff to previous 1.19 (colored) to selected 1.26.2.2 (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.9.8.7 / (download) - annotate - [select for diffs], Sun Dec 9 19:34:16 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.9.8.6: +5 -15 lines
Diff to previous 1.9.8.6 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:16:23 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15: +41 -22 lines
Diff to previous 1.15 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.3.16.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:23:57 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.16.5: +41 -22 lines
Diff to previous 1.3.16.5 (colored) to branchpoint 1.3 (colored) to selected 1.26.2.2 (colored)

sync with head

Revision 1.8.4.6 / (download) - annotate - [select for diffs], Mon Dec 3 19:02:34 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.8.4.5: +20 -26 lines
Diff to previous 1.8.4.5 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.8.4.5 / (download) - annotate - [select for diffs], Mon Dec 3 18:34:37 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.8.4.4: +33 -5 lines
Diff to previous 1.8.4.4 (colored) to branchpoint 1.8 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Dec 3 15:33:09 2007 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.18: +5 -15 lines
Diff to previous 1.18 (colored) to selected 1.26.2.2 (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.9.8.6 / (download) - annotate - [select for diffs], Tue Nov 27 19:35:25 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.8.5: +39 -11 lines
Diff to previous 1.9.8.5 (colored) to branchpoint 1.9 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 22 16:16:41 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.17: +38 -10 lines
Diff to previous 1.17 (colored) to selected 1.26.2.2 (colored)

Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.

Revision 1.9.8.5 / (download) - annotate - [select for diffs], Wed Nov 21 21:52:58 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.8.4: +2 -1 lines
Diff to previous 1.9.8.4 (colored) to branchpoint 1.9 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:06 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.12.2.4: +2 -1 lines
Diff to previous 1.12.2.4 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Tue Nov 20 14:31:46 2007 UTC (16 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2, bouyer-xenamd64-base
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored) to selected 1.26.2.2 (colored)

put back IPL_IPI as it's still used.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 19 23:07:48 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.26.2.2 (colored)

IPL_IPI -> IPL_HIGH

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Fri Nov 16 17:18:00 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.12.2.3: +5 -3 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored) to selected 1.26.2.2 (colored)

Initial domain0 support for xenamd64. The kernel boots multiuser, but
xen tools have not been tried yet.
In this process, cleanup some more the page table bootstrap, and properly
handle event counters for soft interrupts.

Revision 1.3.16.5 / (download) - annotate - [select for diffs], Thu Nov 15 11:42:29 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.16.4: +2 -2 lines
Diff to previous 1.3.16.4 (colored) to branchpoint 1.3 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Tue Nov 13 15:58:04 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.12.2.2: +2 -2 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:14:04 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.9: +104 -42 lines
Diff to previous 1.9 (colored) to selected 1.26.2.2 (colored)

sync with HEAD

Revision 1.9.8.4 / (download) - annotate - [select for diffs], Sun Nov 4 21:02:49 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.9.8.3: +2 -2 lines
Diff to previous 1.9.8.3 (colored) to branchpoint 1.9 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 31 22:40:25 2007 UTC (16 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.26.2.2 (colored)

Fallout from fixing the linux32 system calls to use the correct kernel
functions and parameter layouts.

Revision 1.3.16.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:25:03 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.16.3: +91 -40 lines
Diff to previous 1.3.16.3 (colored) to branchpoint 1.3 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.9.8.3 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:05 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.8.2: +84 -39 lines
Diff to previous 1.9.8.2 (colored) to branchpoint 1.9 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Thu Oct 25 23:59:21 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.12.2.1: +75 -30 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) to selected 1.26.2.2 (colored)

Finish sync with HEAD. Especially use the new x86 pmap for xenamd64.
For this:
- rename pmap_pte_set() to pmap_pte_testset()
- make pmap_pte_set() a function or macro for non-atomic PTE write
- define and use pmap_pa2pte()/pmap_pte2pa() to read/write PTE entries
- define pmap_pte_flush() which is a nop in x86 case, and flush the
  MMUops queue in the Xen case

Revision 1.8.4.4 / (download) - annotate - [select for diffs], Tue Oct 23 20:11:35 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.8.4.3: +81 -40 lines
Diff to previous 1.8.4.3 (colored) to branchpoint 1.8 (colored) to selected 1.26.2.2 (colored)

Sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 18 15:28:31 2007 UTC (16 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.13: +84 -39 lines
Diff to previous 1.13 (colored) to selected 1.26.2.2 (colored)

merge yamt-x86pmap branch.

- reduce differences between amd64 and i386.  notably, share pmap.c
  between them.  it makes several i386 pmap improvements available to
  amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.
- implement deferred pmap switching for amd64.
- remove LARGEPAGES option.  always use large pages if available.
  also, make it work on amd64.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed Oct 17 21:38:14 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.12: +27 -1 lines
Diff to previous 1.12 (colored) to selected 1.26.2.2 (colored)

amd64 (aka x86-64) support for Xen. Based on the OpenBSD port done by
Mathieu Ropert in 2006.
DomU-only for now. An INSTALL_XEN3_DOMU kernel with a ramdisk will boot to
sysinst if you're lucky. Often it panics because a runable LWP has
a NULL stack (really, it's all of l->l_addr which is has been zeroed out
while the process was on the queue !)
TODO:
- bug fixes :)
- Most of the xpq_* functions should be shared with xen/i386
- The xen/i386 assembly bootstrap code should be remplaced with the C
  version in xenamd64/amd64/xpmap.c
- see if a config(5) trick could allow to merge xenamd64 back to xen or amd64.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:00 2007 UTC (16 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored) to selected 1.26.2.2 (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.8.4.3 / (download) - annotate - [select for diffs], Tue Oct 9 15:22:01 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.8.4.2: +8 -2 lines
Diff to previous 1.8.4.2 (colored) to branchpoint 1.8 (colored) to selected 1.26.2.2 (colored)

Sync with head.

Revision 1.10.2.7 / (download) - annotate - [select for diffs], Sun Oct 7 17:17:43 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.10.2.6: +1 -0 lines
Diff to previous 1.10.2.6 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.26.2.2 (colored)

fix DIAGNOSTIC

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Sun Oct 7 14:20:04 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.10.2.5: +1 -0 lines
Diff to previous 1.10.2.5 (colored) to branchpoint 1.10 (colored) to selected 1.26.2.2 (colored)

add KERNTEXTOFF.

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Sun Oct 7 13:17:12 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.10.2.4: +27 -27 lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored) to selected 1.26.2.2 (colored)

whitespace changes to reduce diffs.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Sun Oct 7 13:08:37 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.10.2.3: +38 -51 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored) to selected 1.26.2.2 (colored)

reduce diffs from i386.

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Sun Oct 7 12:51:14 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.10.2.2: +48 -1 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) to selected 1.26.2.2 (colored)

remove some #ifdef _LOCORE and use genassym instead.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Oct 6 15:42:16 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.10.2.1: +8 -2 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.8.12.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:22:06 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.8.12.1: +20 -3 lines
Diff to previous 1.8.12.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.9.8.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:26:39 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.8.1: +8 -2 lines
Diff to previous 1.9.8.1 (colored) to branchpoint 1.9 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 15:32:20 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.10: +10 -1 lines
Diff to previous 1.10 (colored) to selected 1.26.2.2 (colored)

implement deferred pmap switching for amd64, and make amd64 use
x86 shared pmap code.  it makes several i386 pmap improvements available
to amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:35 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.11: +8 -1 lines
Diff to previous 1.11 (colored) to selected 1.26.2.2 (colored)

x86 changes for pcc and LKMs.

- Replace most inline assembly with proper functions. As a side effect
  this reduces the size of amd64 GENERIC by about 120kB, and i386 by a
  smaller amount. Nearly all of the inlines did something slow, or something
  that does not need to be fast.
- Make curcpu() and curlwp functions proper, unless __GNUC__ && _KERNEL.
  In that case make them inlines. Makes curlwp LKM and preemption safe.
- Make bus_space and bus_dma more LKM friendly.
- Share a few more files between the ports.
- Other minor changes.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Sep 26 00:14:53 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored) to selected 1.26.2.2 (colored)

ci_astpending is no more.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:46:59 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.9: +13 -2 lines
Diff to previous 1.9 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.3.16.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:22:30 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.16.2: +17 -8 lines
Diff to previous 1.3.16.2 (colored) to branchpoint 1.3 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.9.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:18:10 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.9: +13 -2 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Aug 29 23:38:01 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.9: +13 -2 lines
Diff to previous 1.9 (colored) to selected 1.26.2.2 (colored)

Merge most x86 changes from the vmlocking branch, except the threaded soft
interrupt stuff. This is mostly comprised of changes to the pmap modules to
work on multiprocessor systems without kernel_lock, and changes to speed up
tlb shootdowns.

Revision 1.8.4.2 / (download) - annotate - [select for diffs], Tue Aug 21 23:58:48 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.8.4.1: +14 -2 lines
Diff to previous 1.8.4.1 (colored) to branchpoint 1.8 (colored) to selected 1.26.2.2 (colored)

amd64 changes, as yet untested:

- Adapt to vmlocking branch.
- Apply TLB shootdown and pv allocation changes to the pmap.
- Make it build.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:57:31 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.8: +5 -7 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.26.2.2 (colored)

Sync with head.

Revision 1.8.4.1 / (download) - annotate - [select for diffs], Sun May 27 12:26:56 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.8: +5 -7 lines
Diff to previous 1.8 (colored) to selected 1.26.2.2 (colored)

Sync with head.

Revision 1.8.12.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:30 2007 UTC (16 years, 10 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.8: +5 -7 lines
Diff to previous 1.8 (colored) to selected 1.26.2.2 (colored)

Update to HEAD.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 17 14:51:13 2007 UTC (16 years, 10 months ago) by yamt
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.8: +5 -7 lines
Diff to previous 1.8 (colored) to selected 1.26.2.2 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Wed Apr 4 14:10:46 2007 UTC (16 years, 11 months ago) by ad
Branch: yamt-idlelwp
Changes since 1.6.2.3: +3 -2 lines
Diff to previous 1.6.2.3 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored) to selected 1.26.2.2 (colored)

PK_SYSTEM -> LW_SYSTEM

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Fri Mar 23 15:52:52 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.6.2.2: +0 -2 lines
Diff to previous 1.6.2.2 (colored) to branchpoint 1.6 (colored) to selected 1.26.2.2 (colored)

remove L_FORW and L_BACK.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sat Mar 3 15:42:48 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.6.2.1: +3 -4 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) to selected 1.26.2.2 (colored)

adapt amd64.

XXX changes in identcpu.c is minmum for MONITOR.
XXX identcpu.c should be shared with i386.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:48:43 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.26.2.2 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.3.16.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:39 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.16.1: +42 -18 lines
Diff to previous 1.3.16.1 (colored) to branchpoint 1.3 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 18 08:08:41 2007 UTC (17 years, 1 month ago) by cube
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.26.2.2 (colored)

Fix a couple missed occurrences of P_32 -> PK_32.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:37 2007 UTC (17 years, 1 month ago) by pavel
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.26.2.2 (colored)

Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:01 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.5: +40 -16 lines
Diff to previous 1.5 (colored) to selected 1.26.2.2 (colored)

Merge newlock2 to head.

Revision 1.5.14.7 / (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.5.14.6: +2 -1 lines
Diff to previous 1.5.14.6 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.26.2.2 (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.5.14.6 / (download) - annotate - [select for diffs], Fri Jan 12 14:24:17 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.5.14.5: +2 -3 lines
Diff to previous 1.5.14.5 (colored) to branchpoint 1.5 (colored) to selected 1.26.2.2 (colored)

Make amd64 build again.

Revision 1.5.14.5 / (download) - annotate - [select for diffs], Thu Jan 11 22:22:56 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.5.14.4: +2 -1 lines
Diff to previous 1.5.14.4 (colored) to branchpoint 1.5 (colored) to selected 1.26.2.2 (colored)

Checkpoint work in progress.

Revision 1.5.14.4 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:41 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.5.14.3: +2 -5 lines
Diff to previous 1.5.14.3 (colored) to branchpoint 1.5 (colored) to selected 1.26.2.2 (colored)

Checkpoint work in progress.

Revision 1.5.14.3 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:32 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.5.14.2: +10 -5 lines
Diff to previous 1.5.14.2 (colored) to branchpoint 1.5 (colored) to selected 1.26.2.2 (colored)

Checkpoint work in progress.

Revision 1.5.14.2 / (download) - annotate - [select for diffs], Fri Oct 20 19:46:53 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.5.14.1: +19 -16 lines
Diff to previous 1.5.14.1 (colored) to branchpoint 1.5 (colored) to selected 1.26.2.2 (colored)

Export/remove new symbols to asm code.

Revision 1.5.14.1 / (download) - annotate - [select for diffs], Sun Sep 10 23:42:41 2006 UTC (17 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.5: +19 -1 lines
Diff to previous 1.5 (colored) to selected 1.26.2.2 (colored)

Add updated locking primatives.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:37:05 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.4: +16 -1 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.26.2.2 (colored)

sync with head

Revision 1.3.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:48:18 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +16 -1 lines
Diff to previous 1.3 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:11 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.4: +16 -1 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.26.2.2 (colored)

Sync with head.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:30 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.4: +16 -1 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.26.2.2 (colored)

sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 9 19:18:56 2006 UTC (18 years, 1 month ago) by manu
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.4: +16 -1 lines
Diff to previous 1.4 (colored) to selected 1.26.2.2 (colored)

Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:21 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.3: +1 -1 lines
Diff to previous 1.3 (colored) to selected 1.26.2.2 (colored)

merge ktrace-lwp.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:12:07 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.2: +1 -1 lines
Diff to previous 1.2.2.2 (colored) next main 1.3 (colored) to selected 1.26.2.2 (colored)

Fix the sync with head I botched.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:31:13 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.1: +0 -0 lines
Diff to previous 1.2.2.1 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:31:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.26.2.2 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 4 10:33:15 2003 UTC (20 years, 4 months ago) by dsl
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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, netbsd-3, 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, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.26.2.2 (colored)

Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
Simplify window test when adding a ras and correct test on VM_MAXUSER_ADDRESS.
Avoid unpredictable branch in i386 locore.S
(pad fields left in struct proc to avoid kernel bump)

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 4 23:46:41 2003 UTC (20 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +8 -1 lines
Diff to previous 1.1 (colored) to selected 1.26.2.2 (colored)

Follow i386, and mask deferred level-triggered interrupts at the ioapic.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 26 18:39:28 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Diff to selected 1.26.2.2 (colored)

Rename the x86_64 port to amd64, as this is the actual name used for
the processor family now. x86_64 is kept as the MACHINE_ARCH value,
since it's already widely used (by e.g. the toolchain, etc), and
by other operating systems.

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>