The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.187.4.1 / (download) - annotate - [select for diffs], Wed Oct 18 16:53:03 2023 UTC (5 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.187: +3 -2 lines
Diff to previous 1.187 (colored) next main 1.188 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #428):

	sys/arch/xen/xen/xen_machdep.c: revision 1.28
	sys/arch/x86/pci/pci_machdep.c: revision 1.97
	sys/arch/xen/xen/genfb_xen.c: revision 1.1
	sys/arch/xen/xen/genfb_xen.c: revision 1.2
	sys/arch/xen/include/hypervisor.h: revision 1.59
	sys/arch/i386/conf/XEN3PAE_DOM0: revision 1.41 (patch)
	sys/arch/x86/x86/genfb_machdep.c: revision 1.22
	sys/arch/xen/x86/consinit.c: revision 1.18
	sys/arch/xen/x86/autoconf.c: revision 1.26
	sys/external/mit/xen-include-public/dist/xen/include/public/platform.h: revision 1.2
	sys/arch/xen/conf/files.xen: revision 1.188
	sys/arch/x86/x86/consinit.c: revision 1.37
	sys/arch/xen/conf/files.xen: revision 1.189
	sys/arch/x86/x86/consinit.c: revision 1.38
	sys/external/mit/xen-include-public/dist/xen/include/public/xen.h: revision 1.2
	sys/arch/x86/include/genfb_machdep.h: revision 1.7
	sys/arch/xen/x86/pvh_consinit.c: revision 1.5
	sys/arch/xen/x86/pvh_consinit.c: revision 1.6
	sys/arch/amd64/conf/XEN3_DOM0: revision 1.201

Move the pvh_xencons so xen_machdep.c as early_xencons, so it can be
used in the future as early ouput for plain PV guests too.

Support non-VGA framebuffers for Xen dom0. This is mandatory for graphic
console on EFI-only hardware.

Add a xen_genfb_getbtinfo() function which will return a btinfo_framebuffer
    structure, filled in with parameters provided by Xen

when runing as a Xen dom0, call xen_genfb_getbtinfo() instead of
    lookup_bootinfo(BTINFO_FRAMEBUFFER) when adding properties to the
    PCI graphic device (when genfb is attached) and in x86_genfb_init()
    when genfb is used as console.

x86/x86/consinit.c: If running as a Xen dom0, use xen_genfb_getbtinfo()
    to check if we have a genfb console

xen/x86/consinit.c: support genfb as possible console

xen/x86/consinit.c: use the hypervior IO as console until a better one
    is found. If the hypervisor is using a serial port for boot messages,
    we'll get NetBSD's boot message on the serial port too until
    the real console takes over.

xen/x86/autoconf.c: rework device_register() to be closer to the x86 version.
    Especially make sure that device_pci_register() is called.

Make sure to always fall back to xen_early_console, even for dom0

Enable genfb in DOM0 kernels

Add ext_lfb_base to dom0_vga_console_info, from recent Xen. We know if it's
present or not by checking dom0.info_size

Add XENPF_get_dom0_console, which gets a dom0_vga_console_info stucture
from the hypervisor. To be used by PVH dom0 kernels.

XENPVH option is not used. Fix consinit.c to use XENPVHVM as intended
and XENPVH from defflag
for a dom0 PVH, the dom0_vga_console_info structure has to be retrieved
using a platform hypercall; do so in the XENPVHVM case.

Now genfb works in a PVH dom0 running on Xen 4.18 (Xen 4.15 doesn't support
this platoform op, so no way to make it work here).

Revision 1.189 / (download) - annotate - [select for diffs], Tue Oct 17 16:06:36 2023 UTC (5 months, 1 week ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.188: +2 -2 lines
Diff to previous 1.188 (colored) to selected 1.92.2.6 (colored)

XENPVH option is not used. Fix consinit.c to use XENPVHVM as intended
and XENPVH from defflag

Revision 1.188 / (download) - annotate - [select for diffs], Tue Oct 17 12:07:42 2023 UTC (5 months, 1 week ago) by bouyer
Branch: MAIN
Changes since 1.187: +2 -1 lines
Diff to previous 1.187 (colored) to selected 1.92.2.6 (colored)

Support non-VGA framebuffers for Xen dom0. This is mandatory for graphic
console on EFI-only hardware.
Add a xen_genfb_getbtinfo() function which will return a btinfo_framebuffer
    structure, filled in with parameters provided by Xen
when runing as a Xen dom0, call xen_genfb_getbtinfo() instead of
    lookup_bootinfo(BTINFO_FRAMEBUFFER) when adding properties to the
    PCI graphic device (when genfb is attached) and in x86_genfb_init()
    when genfb is used as console.
x86/x86/consinit.c: If running as a Xen dom0, use xen_genfb_getbtinfo()
    to check if we have a genfb console
xen/x86/consinit.c: support genfb as possible console
xen/x86/consinit.c: use the hypervior IO as console until a better one
    is found. If the hypervisor is using a serial port for boot messages,
    we'll get NetBSD's boot message on the serial port too until
    the real console takes over.
xen/x86/autoconf.c: rework device_register() to be closer to the x86 version.
    Especially make sure that device_pci_register() is called.

Revision 1.178.4.2 / (download) - annotate - [select for diffs], Mon May 15 10:25:31 2023 UTC (10 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.178.4.1: +4 -1 lines
Diff to previous 1.178.4.1 (colored) to branchpoint 1.178 (colored) next main 1.179 (colored) to selected 1.92.2.6 (colored)

Apply patch, requested by manu in ticket #1632:

	sys/arch/xen/conf/files.xen		(apply patch)

Build fix to define the SELFRELOC option for XEN kernels.
This is not needed in newer branches as those include amd64/conf/files.amd64
from x86/conf/files.x86 (and get the definition via that path)

Revision 1.187 / (download) - annotate - [select for diffs], Wed Aug 31 12:51:56 2022 UTC (18 months, 3 weeks ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.186: +2 -1 lines
Diff to previous 1.186 (colored) to selected 1.92.2.6 (colored)

Work in progress on dom0 PVH support: ioctl support for tools.
Basically, in PVH mode (where XENFEAT_auto_translated_physmap is enabled),
the hypervisor will not map foreing ressources in our virtual address
space for us. Instead, we have to pass it an address in our physical
address space (but not mapped to some RAM) where the ressource will show up
and then enter this PA in pour page table.

For this, introduce xenmem_* which manage the PA space. In PVH mode this
is just allocated from the iomem_ex extent.

With this, I can start a PV domU, and the guest's kernel boots (and
the console works). It hangs because the backend driver can't map the
frontend ressources (yet).

Note that, per https://xenbits.xen.org/docs/unstable/support-matrix.html,
dom0 PVH support is still considered experimental by Xen.

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

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

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

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

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

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

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

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

Revision 1.186 / (download) - annotate - [select for diffs], Tue May 26 10:37:24 2020 UTC (3 years, 10 months ago) by bouyer
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.185: +2 -2 lines
Diff to previous 1.185 (colored) to selected 1.92.2.6 (colored)

Add need-flags for kernfs.
Compile Xen kernfs support only if kernfs is compiled in the kernel.
Should fix MODULAR build.

Revision 1.185 / (download) - annotate - [select for diffs], Tue May 5 17:02:01 2020 UTC (3 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.184: +14 -2 lines
Diff to previous 1.184 (colored) to selected 1.92.2.6 (colored)

Make DOM0OPS build for PVH/PVHVM too

Revision 1.184 / (download) - annotate - [select for diffs], Sat May 2 16:46:06 2020 UTC (3 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.183: +2 -2 lines
Diff to previous 1.183 (colored) to selected 1.92.2.6 (colored)

This is called pvh_consinit not hvm_consinit

Revision 1.183 / (download) - annotate - [select for diffs], Sat May 2 16:44:36 2020 UTC (3 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.182: +3 -1 lines
Diff to previous 1.182 (colored) to selected 1.92.2.6 (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.182 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:17 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.181: +11 -375 lines
Diff to previous 1.181 (colored) to selected 1.92.2.6 (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.180.2.9 / (download) - annotate - [select for diffs], Sat Apr 25 15:01:41 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.180.2.8: +34 -0 lines
Diff to previous 1.180.2.8 (colored) to branchpoint 1.180 (colored) next main 1.181 (colored) to selected 1.92.2.6 (colored)

restore part accidentaly deleted

Revision 1.180.2.8 / (download) - annotate - [select for diffs], Sat Apr 25 13:16:48 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.180.2.7: +1 -35 lines
Diff to previous 1.180.2.7 (colored) to branchpoint 1.180 (colored) to selected 1.92.2.6 (colored)

sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.180.2.7 / (download) - annotate - [select for diffs], Sat Apr 25 10:52:26 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.180.2.6: +2 -2 lines
Diff to previous 1.180.2.6 (colored) to branchpoint 1.180 (colored) to selected 1.92.2.6 (colored)

Include again xen/conf/files.compat for PV kernels, and make it build.
My build.sh -u used stale opt_*.h files ...

Revision 1.169.2.4 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:12 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.169.2.3: +1 -0 lines
Diff to previous 1.169.2.3 (colored) to branchpoint 1.169 (colored) next main 1.170 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

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

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

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

Revision 1.180.2.6 / (download) - annotate - [select for diffs], Mon Apr 20 19:40:24 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.180.2.5: +2 -1 lines
Diff to previous 1.180.2.5 (colored) to branchpoint 1.180 (colored) to selected 1.92.2.6 (colored)

We need xenbus_bus_dma_tag for PVHVM too, but without phys->machine translation

Revision 1.180.2.5 / (download) - annotate - [select for diffs], Sun Apr 19 20:29:30 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.180.2.4: +1 -2 lines
Diff to previous 1.180.2.4 (colored) to branchpoint 1.180 (colored) to selected 1.92.2.6 (colored)

Move xen_ipi.c to XENPV only.
Make sure we don't need to send events to remote CPUs (outside of IPIs)

Revision 1.180.2.4 / (download) - annotate - [select for diffs], Thu Apr 16 19:23:50 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.180.2.3: +2 -2 lines
Diff to previous 1.180.2.3 (colored) to branchpoint 1.180 (colored) to selected 1.92.2.6 (colored)

Rename xen/xen/clock.c to xen_clock.c, so that it can be compiled
with x86/isa/clock.c
call events_default_setup() from hypervisor_match to that event
arrays are properly initialised.
Use xen_delay() and xen's timecounter for PVHVM.

Revision 1.180.2.3 / (download) - annotate - [select for diffs], Thu Apr 16 08:46:35 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.180.2.2: +10 -375 lines
Diff to previous 1.180.2.2 (colored) to branchpoint 1.180 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.180.2.2 / (download) - annotate - [select for diffs], Tue Apr 14 16:53:57 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.180.2.1: +3 -2 lines
Diff to previous 1.180.2.1 (colored) to branchpoint 1.180 (colored) to selected 1.92.2.6 (colored)

Always patch spllower with cx8_spllower; it works fine for Xen now
Include x86/x86/patch.c is !xenpv
While there, defopt XENPV

Revision 1.169.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:12 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.169.2.2: +0 -1 lines
Diff to previous 1.169.2.2 (colored) to branchpoint 1.169 (colored) to selected 1.92.2.6 (colored)

Mostly merge changes from HEAD upto 20200411

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

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

XXX amd64 lock stubs are racy for XPENDING

Revision 1.169.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:59 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.169.2.1: +1 -2 lines
Diff to previous 1.169.2.1 (colored) to branchpoint 1.169 (colored) to selected 1.92.2.6 (colored)

Merge changes from current as of 20200406

Revision 1.180 / (download) - annotate - [select for diffs], Fri Apr 3 22:45:30 2020 UTC (3 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base1, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Changes since 1.179: +1 -2 lines
Diff to previous 1.179 (colored) to selected 1.92.2.6 (colored)

CPU topology makes almost no sense for Xen, and populates it with B/S values

Revision 1.147.2.3 / (download) - annotate - [select for diffs], Mon Sep 23 13:51:12 2019 UTC (4 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.147.2.2: +1 -2 lines
Diff to previous 1.147.2.2 (colored) to branchpoint 1.147 (colored) to selected 1.92.2.6 (colored)

Backout previous try to fix ticket #1380, this causes more build fallout,
will be fixed differently.

Revision 1.147.2.2 / (download) - annotate - [select for diffs], Mon Sep 23 06:52:21 2019 UTC (4 years, 6 months ago) by martin
Branch: netbsd-8
Changes since 1.147.2.1: +2 -1 lines
Diff to previous 1.147.2.1 (colored) to branchpoint 1.147 (colored) to selected 1.92.2.6 (colored)

Cherry pick a small part of rev1.178 to get efi UUIDs for ticket #1380.

Revision 1.179 / (download) - annotate - [select for diffs], Sat Sep 7 18:56:01 2019 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.178: +1 -2 lines
Diff to previous 1.178 (colored) to selected 1.92.2.6 (colored)

Merge amd64func.S into cpufunc.S, and clean up.

Revision 1.169.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:54 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.169: +45 -30 lines
Diff to previous 1.169 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.178 / (download) - annotate - [select for diffs], Thu Feb 14 08:18:26 2019 UTC (5 years, 1 month ago) by cherry
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.177: +30 -10 lines
Diff to previous 1.177 (colored) to selected 1.92.2.6 (colored)

Welcome XENPVHVM mode.

It is UP only, has xbd(4) and xennet(4) as PV drivers.

The console is com0 at isa and the native portion is very
rudimentary AT architecture, so is probably suboptimal to
run without PV support.

Revision 1.177 / (download) - annotate - [select for diffs], Thu Feb 14 06:59:24 2019 UTC (5 years, 1 month ago) by cherry
Branch: MAIN
Changes since 1.176: +13 -14 lines
Diff to previous 1.176 (colored) to selected 1.92.2.6 (colored)

Snag the final bits of PV only code to conditionally compile under
-DXENPV

This completes the bifurcation.

The next step is to add -DXENPVHVM code.

Revision 1.176 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:39 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.175: +3 -1 lines
Diff to previous 1.175 (colored) to selected 1.92.2.6 (colored)

Merge the [pgoyette-compat] branch

Revision 1.165.2.7 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:45 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.165.2.6: +5 -10 lines
Diff to previous 1.165.2.6 (colored) to branchpoint 1.165 (colored) next main 1.166 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD, resolve a few conflicts

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

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

Revision 1.174 / (download) - annotate - [select for diffs], Tue Dec 25 06:50:12 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.173: +1 -2 lines
Diff to previous 1.173 (colored) to selected 1.92.2.6 (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.173 / (download) - annotate - [select for diffs], Mon Dec 24 21:15:59 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.172: +1 -3 lines
Diff to previous 1.172 (colored) to selected 1.92.2.6 (colored)

Do not include files for MSI support on XEN dom0.

We do not support MSI as of now.

Revision 1.172 / (download) - annotate - [select for diffs], Sat Dec 22 07:45:58 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.171: +3 -2 lines
Diff to previous 1.171 (colored) to selected 1.92.2.6 (colored)

This change modifies the mainbus(4) entry point for all x86 sub-archs
in the following way:

i) It provides a unified entry point in
   x86/x86/mainbus.c:mainbus_attach()
ii) It carves out the preliminary bus attachment sequence that is
   common to all sub-archs into
   x86/x86/mainbus.c: x86_cpubus_attach()
iii) It consolidates the remaining pathways as internal callee
   functions so that these may be called piecemeal if required. A
   special usecase of this is XEN PVHVM which may need to call the
   native configure path, the xen configure path, or both.
iv) It moves the driver private data structures from
   i386/i386_mainbus.c to an x86/ level one. This allows for other
   sub-arch's to do similar, if needed. (They do not at the moment).
v) For dom0 kernels, it enables 'acpi0 at mainbus?' and
   'acpi0 at hypervisorbus'. This serves two purposes:
   a) To demonstrate the possibility of dynamic configuration tree
      traversal ordering changes.
   b) To allow for the common acpi_check(self, "acpibus") call in
   x86/mainbus.c to not barf when it is called from the dom0 attach
   path. We allow for the acpi0 device to be a child of mainbus with
   the changes to amd64/conf/XEN3_DOM0 and i386/conf/XEN3PAE_DOM0
   without actually probing further in the code. This path will later
   be pursued in a PVHVM boot codepath.

There should be no operative changes with this change. If there are,
please complain loudly.

Revision 1.171 / (download) - annotate - [select for diffs], Sat Dec 22 06:33:37 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored) to selected 1.92.2.6 (colored)

Move mainbus(4) driver files in various x86 sub-archs to name prefixed
versions. This allows us to further modularise them by unifying common
bus probe code in x86/x86/mainbus.c to  be introduced next.

This commit has no functional changes. It is done for ease of
visibility of newer diffs in the queue.

Revision 1.165.2.6 / (download) - annotate - [select for diffs], Fri Sep 14 08:38:37 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.165.2.5: +3 -1 lines
Diff to previous 1.165.2.5 (colored) to branchpoint 1.165 (colored) to selected 1.92.2.6 (colored)

OMG it builds!

Finish rearranging the amd64 MD compat_netbsd32 code.

XXX Other architectures will be dealt with later.

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

Sync with HEAD

Revision 1.170 / (download) - annotate - [select for diffs], Thu Jul 26 15:38:26 2018 UTC (5 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728
Changes since 1.169: +1 -2 lines
Diff to previous 1.169 (colored) to selected 1.92.2.6 (colored)

Merge the content of xen_debug.c into xen_machdep.c, there is only one
function.

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

Sync with HEAD

Revision 1.169 / (download) - annotate - [select for diffs], Wed May 23 07:45:35 2018 UTC (5 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.168: +1 -2 lines
Diff to previous 1.168 (colored) to selected 1.92.2.6 (colored)

Merge convert_xmm_s87.c into fpu.c. It contains only two functions, that
are used only in fpu.c.

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

Synch with HEAD, resolve conflicts

Revision 1.165.2.2 / (download) - annotate - [select for diffs], Sun Mar 18 00:35:26 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.165.2.1: +3 -1 lines
Diff to previous 1.165.2.1 (colored) to branchpoint 1.165 (colored) to selected 1.92.2.6 (colored)

Import more christos@ changes from -current

Revision 1.168 / (download) - annotate - [select for diffs], Sun Mar 18 00:17:18 2018 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322
Changes since 1.167: +3 -1 lines
Diff to previous 1.167 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.165.2.1 / (download) - annotate - [select for diffs], Sat Mar 17 21:37:52 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored) to selected 1.92.2.6 (colored)

Import christos's changes for the compat_60 cpu_ucode stuff

Revision 1.167 / (download) - annotate - [select for diffs], Sat Mar 17 20:03:01 2018 UTC (6 years ago) by christos
Branch: MAIN
Changes since 1.166: +2 -2 lines
Diff to previous 1.166 (colored) to selected 1.92.2.6 (colored)

dedup microcode handling.

Revision 1.166 / (download) - annotate - [select for diffs], Fri Mar 16 12:48:54 2018 UTC (6 years ago) by maxv
Branch: MAIN
Changes since 1.165: +1 -2 lines
Diff to previous 1.165 (colored) to selected 1.92.2.6 (colored)

Remove ipkdb from i386. Also remove unused references in amd64.

I already talked about doing that six months ago on port-i386@. Back then
it was as general cleanup, but now, with SVS etc, we do actually have
good reasons for simplifying the entry points.

Ok kamil@. (christos@ was in the conversation too)

Revision 1.165 / (download) - annotate - [select for diffs], Mon Jan 22 22:36:11 2018 UTC (6 years, 2 months ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.164: +2 -2 lines
Diff to previous 1.164 (colored) to selected 1.92.2.6 (colored)

xen has separate list, update here also for x86/pmap_tlb.c -> x86/x86_tlb.c

Revision 1.128.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:51 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.128.2.2: +47 -48 lines
Diff to previous 1.128.2.2 (colored) next main 1.129 (colored) to selected 1.92.2.6 (colored)

update from HEAD

Revision 1.164 / (download) - annotate - [select for diffs], Sat Dec 2 13:03:15 2017 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.163: +1 -2 lines
Diff to previous 1.163 (colored) to selected 1.92.2.6 (colored)

Drop COMPAT_13 on amd64, already not enabled. Reduces the number of
critical places.

Revision 1.163 / (download) - annotate - [select for diffs], Mon Nov 6 15:21:23 2017 UTC (6 years, 4 months ago) by cherry
Branch: MAIN
Changes since 1.162: +1 -2 lines
Diff to previous 1.162 (colored) to selected 1.92.2.6 (colored)

Summary: xen/x86/intr.c has been retired. Don't try to build it.

Revision 1.162 / (download) - annotate - [select for diffs], Sat Nov 4 15:24:42 2017 UTC (6 years, 4 months ago) by cherry
Branch: MAIN
Changes since 1.161: +5 -3 lines
Diff to previous 1.161 (colored) to selected 1.92.2.6 (colored)

Remove bitrotted xen specific versions of pci, pciide machdep related code.

Use the common x86/ code instead.

Revision 1.161 / (download) - annotate - [select for diffs], Sat Nov 4 14:56:48 2017 UTC (6 years, 4 months ago) by cherry
Branch: MAIN
Changes since 1.160: +2 -1 lines
Diff to previous 1.160 (colored) to selected 1.92.2.6 (colored)

Retire xen/x86/intr.c and use the new xen specific glue in x86/x86/intr.c

The purpose of this change is to expose the x86/include/intr.h API
to drivers. Specifically the following functions:

   void *intr_establish_xname(...);
   void *intr_establish(...);
   void intr_disestablish(...);

while maintaining the old API from xen/include/evtchn.h, specifically
the following functions:

    int event_set_handler(...);
    int event_remove_handler(...);

This is so that if things break, we can keep using the old API until
everything stabilises. This is a stepping stone towards getting the
actual XEN event callback path rework code in place - which can be
done opaquely behind the intr.h API - NetBSD/XEN specific drivers that
have been ported to the intr.h API should then work without
significant further modifications.

Revision 1.160 / (download) - annotate - [select for diffs], Sat Nov 4 09:22:16 2017 UTC (6 years, 4 months ago) by cherry
Branch: MAIN
Changes since 1.159: +2 -1 lines
Diff to previous 1.159 (colored) to selected 1.92.2.6 (colored)

On XEN dom0, the function xen/x86/intr.c:xen_intr_map() is used to map
hardware interrupts to XEN callbacks called 'events'. This function
combines both the allocation and the binding.

This change is the first part of breaking up that combination into
xen_pirq_alloc() and the binding will happen as part of the
pic_addroute() callback of a new pseudo PIC_XEN

This code will be added later on.

Revision 1.159 / (download) - annotate - [select for diffs], Sat Nov 4 08:55:50 2017 UTC (6 years, 4 months ago) by cherry
Branch: MAIN
Changes since 1.158: +2 -2 lines
Diff to previous 1.158 (colored) to selected 1.92.2.6 (colored)

On XEN PV, the ISA 8259A PIC is only used on dom0

Revision 1.158 / (download) - annotate - [select for diffs], Sat Nov 4 08:50:47 2017 UTC (6 years, 4 months ago) by cherry
Branch: MAIN
Changes since 1.157: +2 -1 lines
Diff to previous 1.157 (colored) to selected 1.92.2.6 (colored)

In XEN PV, the idt vector table is not required to be altered at
runtime, since only entries for exceptions/traps are registered with
the hypervisor and interrupts are managed via a completely different
mechanism.

This change uses the idt_vec_reserve() mechanism nevertheless,
modifying it slightly to only do namespace management in XEN, while on
native it will continue to do idt entry init as before.

Rationale: Consistent API usage and potential future merging of
XEN/non-XEN code.

There are no functional changes in this commit.

Revision 1.157 / (download) - annotate - [select for diffs], Sat Nov 4 07:01:45 2017 UTC (6 years, 4 months ago) by cherry
Branch: MAIN
Changes since 1.156: +4 -1 lines
Diff to previous 1.156 (colored) to selected 1.92.2.6 (colored)

opt_intrdebug.h - this unbreaks the i386 DOMU build under some conditions

Revision 1.134.2.6 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:57 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.134.2.5: +8 -29 lines
Diff to previous 1.134.2.5 (colored) to branchpoint 1.134 (colored) next main 1.135 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.156 / (download) - annotate - [select for diffs], Tue Aug 15 08:51:38 2017 UTC (6 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Changes since 1.155: +1 -2 lines
Diff to previous 1.155 (colored) to selected 1.92.2.6 (colored)

Merge into x86/.

Revision 1.155 / (download) - annotate - [select for diffs], Tue Aug 15 06:27:39 2017 UTC (6 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.154: +2 -6 lines
Diff to previous 1.154 (colored) to selected 1.92.2.6 (colored)

Merge into x86/.

Revision 1.154 / (download) - annotate - [select for diffs], Sat Aug 12 07:21:57 2017 UTC (6 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.153: +1 -3 lines
Diff to previous 1.153 (colored) to selected 1.92.2.6 (colored)

Remove vm86.

Pass 3.

Revision 1.153 / (download) - annotate - [select for diffs], Wed Aug 9 18:48:53 2017 UTC (6 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.152: +2 -8 lines
Diff to previous 1.152 (colored) to selected 1.92.2.6 (colored)

Remove references to compat_ibcs2.

Revision 1.152 / (download) - annotate - [select for diffs], Tue Aug 1 14:43:54 2017 UTC (6 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.151: +0 -3 lines
Diff to previous 1.151 (colored) to selected 1.92.2.6 (colored)

Move arch/i386/i386/freebsd_* into compat/freebsd/. COMPAT_FREEBSD is
i386-specific.

Revision 1.151 / (download) - annotate - [select for diffs], Tue Aug 1 13:47:49 2017 UTC (6 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.150: +1 -4 lines
Diff to previous 1.150 (colored) to selected 1.92.2.6 (colored)

Don't include files.svr4 and files.svr4_32.

Revision 1.150 / (download) - annotate - [select for diffs], Sat Jul 29 11:54:14 2017 UTC (6 years, 8 months ago) by maxv
Branch: MAIN
Changes since 1.149: +1 -4 lines
Diff to previous 1.149 (colored) to selected 1.92.2.6 (colored)

Drop support for svr4 on i386. This feature is not maintained, not
reliable, and of a limited use case. Most svr4 applications got time to be
ported to linux, and we do have a functional, maintained linux emulation.

Reduces the number of entry points into the kernel, the number of
places that need special care (cpu context).

Note that compat_svr4 is still available on sparc.

Revision 1.149.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.149.2.1: +412 -0 lines
Diff to previous 1.149.2.1 (colored) to branchpoint 1.149 (colored) next main 1.150 (colored) to selected 1.92.2.6 (colored)

2302716

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

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

Revision 1.149 / (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
Branch point for: perseant-stdc-iso10646
Changes since 1.148: +2 -2 lines
Diff to previous 1.148 (colored) to selected 1.92.2.6 (colored)

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

This is towards PVHVM.

Revision 1.133.4.3 / (download) - annotate - [select for diffs], Sat Jul 8 17:04:22 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.133.4.2: +3 -1 lines
Diff to previous 1.133.4.2 (colored) to branchpoint 1.133 (colored) next main 1.134 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by khorben in ticket #1445):
	sys/arch/amd64/conf/XEN3_DOM0: revision 1.136
	sys/arch/i386/conf/XEN3_DOM0: revision 1.113
	sys/arch/xen/conf/files.xen: revision 1.148
Register support for SD card readers with Xen DOM0 kernels
Tested on a Lenovo ThinkPad T440s (amd64)

Revision 1.147.2.1 / (download) - annotate - [select for diffs], Fri Jun 30 06:27:38 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.147: +3 -1 lines
Diff to previous 1.147 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by khorben in ticket #62):
	sys/arch/amd64/conf/XEN3_DOM0: revision 1.136
	sys/arch/i386/conf/XEN3_DOM0: revision 1.113
	sys/arch/xen/conf/files.xen: revision 1.148
Register support for SD card readers with Xen DOM0 kernels
Tested on a Lenovo ThinkPad T440s (amd64)

Revision 1.148 / (download) - annotate - [select for diffs], Thu Jun 22 18:14:32 2017 UTC (6 years, 9 months ago) by khorben
Branch: MAIN
Changes since 1.147: +3 -1 lines
Diff to previous 1.147 (colored) to selected 1.92.2.6 (colored)

Register support for SD card readers with Xen DOM0 kernels

Tested on a Lenovo ThinkPad T440s (amd64)

Revision 1.147 / (download) - annotate - [select for diffs], Tue May 23 08:48:35 2017 UTC (6 years, 10 months ago) by nonaka
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.146: +2 -1 lines
Diff to previous 1.146 (colored) to selected 1.92.2.6 (colored)

x86: hypervisor detection from FreeBSD for x2APIC support.

Revision 1.141.2.3 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:09 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.141.2.2: +1 -2 lines
Diff to previous 1.141.2.2 (colored) to branchpoint 1.141 (colored) next main 1.142 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

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

Sync with HEAD

Revision 1.146 / (download) - annotate - [select for diffs], Fri Mar 24 17:09:37 2017 UTC (7 years ago) by maxv
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.145: +1 -2 lines
Diff to previous 1.145 (colored) to selected 1.92.2.6 (colored)

Don't compile PMCs on Xen.

Revision 1.141.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:22 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.141.2.1: +2 -3 lines
Diff to previous 1.141.2.1 (colored) to branchpoint 1.141 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.145 / (download) - annotate - [select for diffs], Fri Mar 10 14:40:56 2017 UTC (7 years ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.144: +2 -2 lines
Diff to previous 1.144 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.144 / (download) - annotate - [select for diffs], Fri Feb 17 21:51:47 2017 UTC (7 years, 1 month ago) by kre
Branch: MAIN
Changes since 1.143: +2 -3 lines
Diff to previous 1.143 (colored) to selected 1.92.2.6 (colored)


Copy maxv's files.i386 change to files.xen ... this might fix the i386
xen kernel builds (I am doing a test build in parallel with this commit,
this shouldn't make things worse ... I will make further changes if
needed after my build finishes.)

Note: I am not currently in a position to test a Xen3 DomU kernel
(let alone Dom0) so I have no way of knowing whether a Xen kernel
with PMC included will actually work correctly or not.

If this results in a system that builds, I'd appreciate it if someone
who can test the Xen3_DOMU kernel could do so.

Revision 1.134.2.5 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:23 2017 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.134.2.4: +2 -2 lines
Diff to previous 1.134.2.4 (colored) to branchpoint 1.134 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.133.8.1 / (download) - annotate - [select for diffs], Wed Jan 18 08:46:26 2017 UTC (7 years, 2 months ago) by skrll
Branch: netbsd-7-nhusb
Changes since 1.133: +10 -4 lines
Diff to previous 1.133 (colored) next main 1.134 (colored) to selected 1.92.2.6 (colored)

Sync with netbsd-5

Revision 1.141.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:28 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.141: +2 -2 lines
Diff to previous 1.141 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.133.4.2 / (download) - annotate - [select for diffs], Sun Dec 18 07:50:37 2016 UTC (7 years, 3 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, 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
Changes since 1.133.4.1: +4 -4 lines
Diff to previous 1.133.4.1 (colored) to branchpoint 1.133 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by jnemeth in ticket #1326):
	sys/arch/xen/conf/files.xen: revision 1.141
make CPU microcode loading dependent on both DOM0OPS AND CPU_UCODE

Revision 1.143 / (download) - annotate - [select for diffs], Thu Dec 15 12:04:18 2016 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.142: +2 -1 lines
Diff to previous 1.142 (colored) to selected 1.92.2.6 (colored)

Add support for hardware assisted watchpoints/breakpoints API in ptrace(2)

Add new ptrace(2) calls:
 - PT_COUNT_WATCHPOINTS - count the number of available hardware watchpoints
 - PT_READ_WATCHPOINT   - read struct ptrace_watchpoint from the kernel state
 - PT_WRITE_WATCHPOINT  - write new struct ptrace_watchpoint state, this
                          includes enabling and disabling watchpoints

The ptrace_watchpoint structure contains MI and MD parts:

typedef struct ptrace_watchpoint {
	int		pw_index;	/* HW Watchpoint ID (count from 0) */
	lwpid_t		pw_lwpid;	/* LWP described */
	struct mdpw	pw_md;		/* MD fields */
} ptrace_watchpoint_t;

For example amd64 defines MD as follows:
struct mdpw {
	void	*md_address;
	int	 md_condition;
	int	 md_length;
};

These calls are protected with the __HAVE_PTRACE_WATCHPOINTS guard.

Tested on amd64, initial support added for i386 and XEN.

Sponsored by <The NetBSD Foundation>

Revision 1.142 / (download) - annotate - [select for diffs], Tue Dec 13 10:54:27 2016 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
Changes since 1.141: +1 -2 lines
Diff to previous 1.141 (colored) to selected 1.92.2.6 (colored)

Torn down KSTACK_CHECK_DR0, i386-only feature to detect stack overflow

This feature was intended to detect stack overflow with CPU Debug Registers
(x86). It was never ported to other ports, neither amd64 and should be
adapted for SMP...

Currently there might be better ways to detect stack overflows like page
mapping protection. Since the number of Debug Registers is restricted
(4 on x86), torn it down completely.

This interface introduced helper functions for Debug Registers, they will
be replaced with the new <x86/dbregs.h> interface.

KSTACK_CHECK_DR0 was disabled by default and won't affect ordinary users.

Sponsored by <The NetBSD Foundation>

Revision 1.133.4.1 / (download) - annotate - [select for diffs], Sun Sep 25 12:11:33 2016 UTC (7 years, 6 months ago) by bouyer
Branch: netbsd-7
Changes since 1.133: +7 -1 lines
Diff to previous 1.133 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by sborrill in ticket #1255):
	sys/arch/xen/conf/files.xen: revision 1.137
Include files.sljit as i386/amd64 do.

Revision 1.134.2.4 / (download) - annotate - [select for diffs], Sun May 29 08:44:20 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.134.2.3: +4 -4 lines
Diff to previous 1.134.2.3 (colored) to branchpoint 1.134 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.141 / (download) - annotate - [select for diffs], Fri May 20 03:41:20 2016 UTC (7 years, 10 months ago) by jnemeth
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.140: +4 -4 lines
Diff to previous 1.140 (colored) to selected 1.92.2.6 (colored)

make CPU microcode loading dependent on both DOM0OPS AND CPU_UCODE

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

Sync with HEAD

Revision 1.140 / (download) - annotate - [select for diffs], Sat Feb 27 15:42:20 2016 UTC (8 years, 1 month ago) by mlelstv
Branch: MAIN
CVS Tags: nick-nhusb-base-20160422, nick-nhusb-base-20160319
Changes since 1.139: +2 -2 lines
Diff to previous 1.139 (colored) to selected 1.92.2.6 (colored)

no condition for cpu_rng here

Revision 1.139 / (download) - annotate - [select for diffs], Sat Feb 27 14:28:50 2016 UTC (8 years, 1 month ago) by mlelstv
Branch: MAIN
Changes since 1.138: +3 -1 lines
Diff to previous 1.138 (colored) to selected 1.92.2.6 (colored)

add missing cpu_rng.c to kernel

Revision 1.134.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:45 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.134.2.1: +2 -1 lines
Diff to previous 1.134.2.1 (colored) to branchpoint 1.134 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.138 / (download) - annotate - [select for diffs], Wed Nov 11 08:51:33 2015 UTC (8 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.137: +2 -1 lines
Diff to previous 1.137 (colored) to selected 1.92.2.6 (colored)

Fix XEN build - does XEN really want/need pmap_pv_track?

Revision 1.134.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:04 2015 UTC (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.134: +12 -1 lines
Diff to previous 1.134 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.137 / (download) - annotate - [select for diffs], Sun Jan 4 07:34:14 2015 UTC (9 years, 2 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.136: +7 -1 lines
Diff to previous 1.136 (colored) to selected 1.92.2.6 (colored)

Include files.sljit as i386/amd64 do.

Revision 1.136 / (download) - annotate - [select for diffs], Mon Dec 15 13:48:51 2014 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.135: +3 -2 lines
Diff to previous 1.135 (colored) to selected 1.92.2.6 (colored)

there is no ibcs2 in amd64 [yet?]

Revision 1.135 / (download) - annotate - [select for diffs], Mon Dec 15 07:35:09 2014 UTC (9 years, 3 months ago) by ozaki-r
Branch: MAIN
Changes since 1.134: +5 -1 lines
Diff to previous 1.134 (colored) to selected 1.92.2.6 (colored)

Add two new compat files for Xen on amd64

Revision 1.134 / (download) - annotate - [select for diffs], Sat Oct 11 06:07:48 2014 UTC (9 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.133: +14 -14 lines
Diff to previous 1.133 (colored) to selected 1.92.2.6 (colored)

Mark machdep files.

Revision 1.128.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:29 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.128.2.1: +3 -12 lines
Diff to previous 1.128.2.1 (colored) to selected 1.92.2.6 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.123.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:40:14 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.123.2.3: +3 -12 lines
Diff to previous 1.123.2.3 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored) to selected 1.92.2.6 (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.129.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:30 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.129: +3 -12 lines
Diff to previous 1.129 (colored) next main 1.130 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.133 / (download) - annotate - [select for diffs], Wed Feb 12 23:24: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, netbsd-7-nhusb-base, netbsd-7-base, 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
Branch point for: netbsd-7-nhusb, netbsd-7
Changes since 1.132: +2 -5 lines
Diff to previous 1.132 (colored) to selected 1.92.2.6 (colored)

Change i386 to use x86/fpu.c instead of i386/isa/npx.c
This changes the trap10 and trap13 code to call directly into fpu.c,
  removing all the code for T_ARITHTRAP, T_XMM and T_FPUNDA from i386/trap.c
Not all of the code thate appeared to handle fpu traps was ever called!
Most of the changes just replace the include of machine/npx.h with x86/fpu.h
  (or remove it entirely).

Revision 1.132 / (download) - annotate - [select for diffs], Tue Feb 11 20:17:16 2014 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored) to selected 1.92.2.6 (colored)

Move sys/arch/amd64/amd64/fpu.c and sys/arch/amd64/include/fpu.h
into sys/arch/x86 in preparation for using the same code for i386.

Revision 1.131 / (download) - annotate - [select for diffs], Fri Feb 7 22:40:22 2014 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.130: +2 -1 lines
Diff to previous 1.130 (colored) to selected 1.92.2.6 (colored)

Convert the amd64 build to use x86/cpu_extended_state.h so that the fpu
  definitions match those of i386.
Mostly just structure and field renames, in addition:
1) process_xmm_to_s87() and process_s87_to_xmm() moved into
   x86/convert_xmm_s87.c so they can be used by amd64's netbsd32 code.
2) The linux signal code simplified to use a structure copy for ths fxsave
   data - it matches the hardware definition and won't change.

Revision 1.130 / (download) - annotate - [select for diffs], Sun Jan 26 19:16:17 2014 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.129: +3 -10 lines
Diff to previous 1.129 (colored) to selected 1.92.2.6 (colored)

Remove support for 'external' floating point units and the MS-DOS
  compatible method of handling floating point exceptions.
Make kernel support for teh fpu non-optional (486SX should still work).
Only 386 cpus support external fpu, and i386 support was removed years ago.
This means that the npx code no longer uses port 0xf0 or interupt 13.
All the "npx at isa" lines go from the configs, arch/i386/isa/npx.c
  is now mandatory for all i386 kernels.
I've renamed npxinit() to fpuinit() and npxinit_cpu() to fpuinit_cpu()
  to match the very similar amd64 functions.
The fpu of the boot cpu is now initialised by a direct call from
  cpu_configure(), this enables FP emulation for a 486SX.
  (for amd64 the cr0 values are set in locore.S and similar).
This fixes a long-standing bug in linux_setregs() - which did not
  save the fpu regsiters if they were active.
I've test booted a single cpu i386 kernel (using anita).
amd64 builds - none of teh changes should affect it.
The i386 XEN kernels build, but I'm not sure where they set cr0, and
  it might have got lost!

Revision 1.128.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:51 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.128: +1 -5 lines
Diff to previous 1.128 (colored) to selected 1.92.2.6 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.123.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:35 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.123.2.2: +3 -6 lines
Diff to previous 1.123.2.2 (colored) to branchpoint 1.123 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.129 / (download) - annotate - [select for diffs], Wed Oct 3 18:58:32 2012 UTC (11 years, 5 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: rmind-smpnet
Changes since 1.128: +1 -5 lines
Diff to previous 1.128 (colored) to selected 1.92.2.6 (colored)

Remove all references to KVM86.
It was only ever used by APMBIOS - and then only if an option was selected.
Probably didn't work well at all!

Revision 1.128 / (download) - annotate - [select for diffs], Wed Aug 29 17:13:22 2012 UTC (11 years, 7 months ago) by drochner
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.127: +2 -1 lines
Diff to previous 1.127 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.127 / (download) - annotate - [select for diffs], Wed Jun 27 00:37:09 2012 UTC (11 years, 9 months ago) by jym
Branch: MAIN
Changes since 1.126: +2 -2 lines
Diff to previous 1.126 (colored) to selected 1.92.2.6 (colored)

Retire XEN_COMPAT_030001 as detailed on port-xen@:

http://mail-index.netbsd.org/port-xen/2012/06/25/msg007431.html

The xen_p2m API comes next.

ok bouyer@.
Tested on i386 PAE and amd64 (Xen 3.3 on private test bed, and
Xen 3.4 for Amazon EC2).

FWIW, Amazon always reported:

hypervisor0 at mainbus0: Xen version 3.4.3-kaos_t1micro

multiple times for Europe and US West-1, so I guess they are now at
3.4 (32 and 64 bits).

Revision 1.123.6.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:12 2012 UTC (11 years, 9 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.123.6.1: +2 -3 lines
Diff to previous 1.123.6.1 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored) to selected 1.92.2.6 (colored)

sync to latest -current.

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

sync with head.

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

Merge i386 and amd64 version of db_memrw.c.

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

Revision 1.123.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:07 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.123: +4 -1 lines
Diff to previous 1.123 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.123.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:38 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.123: +4 -1 lines
Diff to previous 1.123 (colored) to selected 1.92.2.6 (colored)

merge to -current.

Revision 1.125 / (download) - annotate - [select for diffs], Sat Jan 14 04:22:56 2012 UTC (12 years, 2 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Changes since 1.124: +1 -2 lines
Diff to previous 1.124 (colored) to selected 1.92.2.6 (colored)

No need for CPU_UCODE here now that it is global

Revision 1.124 / (download) - annotate - [select for diffs], Fri Jan 13 16:05:15 2012 UTC (12 years, 2 months ago) by cegger
Branch: MAIN
Changes since 1.123: +5 -1 lines
Diff to previous 1.123 (colored) to selected 1.92.2.6 (colored)

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

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

Revision 1.88.4.7 / (download) - annotate - [select for diffs], Fri Sep 23 12:44:51 2011 UTC (12 years, 6 months ago) by sborrill
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
Changes since 1.88.4.6: +2 -2 lines
Diff to previous 1.88.4.6 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored) to selected 1.92.2.6 (colored)

Pull up the following revisions(s) (requested by jym in ticket #1672):
	sys/arch/xen/conf/files.xen:		revision 1.123 via patch
	sys/arch/xen/xen/hypervisor.c:		revision 1.58 via patch
	sys/arch/xen/xenbus/xenbus_dev.c:	revision 1.9
	sys/arch/xen/xenbus/xenbus_probe.c:	revision 1.35

Expose Xen kernfs entries inside a domU to make it possible to use pkgsrc's
sysutils/xentools inside a domU to query XenStore entries (or even modify
part of it if the domain has enough rights).

Revision 1.123 / (download) - annotate - [select for diffs], Thu Sep 22 23:02:34 2011 UTC (12 years, 6 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored) to selected 1.92.2.6 (colored)

Expose Xen kernfs entries inside a domU. Patch originally from sborrill@,
slightly modified by me to profit from runtime checks for dom0 privileges
instead of using compile time macros (DOM0OPS).

It should now be possible to use pkgsrc's sysutils/xentools inside
a domU to query XenStore entries (or even modify part of it if the domain
has enough rights).

Revision 1.92.2.8 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:31 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.92.2.7: +6 -7 lines
Diff to previous 1.92.2.7 (colored) next main 1.93 (colored) to selected 1.92.2.6 (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.122 / (download) - annotate - [select for diffs], Wed Aug 10 11:39:45 2011 UTC (12 years, 7 months ago) by cherry
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.121: +2 -4 lines
Diff to previous 1.121 (colored) to selected 1.92.2.6 (colored)

xen ipi infrastructure

Revision 1.118.2.3 / (download) - annotate - [select for diffs], Mon Jun 27 10:21:52 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.118.2.2: +2 -2 lines
Diff to previous 1.118.2.2 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored) to selected 1.92.2.6 (colored)

Conditionally compile xen_ipi.c

Revision 1.118.2.2 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:49 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.118.2.1: +5 -4 lines
Diff to previous 1.118.2.1 (colored) to branchpoint 1.118 (colored) to selected 1.92.2.6 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.121 / (download) - annotate - [select for diffs], Mon Jun 13 00:53:15 2011 UTC (12 years, 9 months ago) by pgoyette
Branch: MAIN
Changes since 1.120: +2 -1 lines
Diff to previous 1.120 (colored) to selected 1.92.2.6 (colored)

Include required file for xen acpi

Revision 1.120 / (download) - annotate - [select for diffs], Sun Jun 12 16:31:57 2011 UTC (12 years, 9 months ago) by jruoho
Branch: MAIN
Changes since 1.119: +3 -2 lines
Diff to previous 1.119 (colored) to selected 1.92.2.6 (colored)

Fix build failure for the odd child, as pointed out by pgoyette@.

Revision 1.119 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:50 2011 UTC (12 years, 9 months ago) by rmind
Branch: MAIN
Changes since 1.118: +2 -3 lines
Diff to previous 1.118 (colored) to selected 1.92.2.6 (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.110.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:10 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.110: +30 -40 lines
Diff to previous 1.110 (colored) next main 1.111 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.118.2.1 / (download) - annotate - [select for diffs], Fri Jun 3 13:27:39 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.118: +3 -4 lines
Diff to previous 1.118 (colored) to selected 1.92.2.6 (colored)

Initial import of xen MP sources, with kernel and userspace tests.
 - this is a source priview.
 - boots to single user.
 - spurious interrupt and pmap related panics are normal

Revision 1.106.4.6 / (download) - annotate - [select for diffs], Tue May 31 03:04:24 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.106.4.5: +0 -15 lines
Diff to previous 1.106.4.5 (colored) to branchpoint 1.106 (colored) next main 1.107 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.92.2.7 / (download) - annotate - [select for diffs], Mon May 2 22:49:58 2011 UTC (12 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.92.2.6: +15 -21 lines
Diff to previous 1.92.2.6 (colored)

Sync with head.

Revision 1.118 / (download) - annotate - [select for diffs], Tue Apr 26 16:57:41 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.117: +1 -4 lines
Diff to previous 1.117 (colored) to selected 1.92.2.6 (colored)

Remove PECOFF/Win32 emulation.

Revision 1.117 / (download) - annotate - [select for diffs], Tue Apr 26 15:51:25 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.116: +1 -13 lines
Diff to previous 1.116 (colored) to selected 1.92.2.6 (colored)

Remove Darwin, MACH and Mach-O support.

Revision 1.106.4.5 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:33 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.106.4.4: +14 -5 lines
Diff to previous 1.106.4.4 (colored) to branchpoint 1.106 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.116 / (download) - annotate - [select for diffs], Mon Apr 18 01:36:25 2011 UTC (12 years, 11 months ago) by jym
Branch: MAIN
Changes since 1.115: +7 -3 lines
Diff to previous 1.115 (colored) to selected 1.92.2.6 (colored)

Large rewrite of the balloon driver. This one:

- turns balloon into a driver that attaches to xenbus(4). This allows to
disable the functionality either at compile time or boot time via
userconf(4). Driver can implement detach or pmf(9) hooks if deemed
necessary.

- keeps Cherry's locking model, but simplify it a bit. There is now
only one target value serialized inside balloon, we do not feedback
alternative value to Xenstore (clients are not expected to see its value
evolve behind their back, and can't do much about that either)

- implements min threshold; this is an admin-settable value that tells
driver to "not balloon below this threshold." This can be used by domain
to keep memory reservations, useful if activity is expected in the near
future.

- in addition to min threshold, the driver implements internally a
safeguard value (uvmexp.freemin + 1MiB), so that admin cannot
inadvertently set min to a very low value forcing domain into heavy
memory pressure and swapping.

- create the sysctl(8) kern.xen.balloon tree. 4 nodes are actually present
(values are in KiB):
   - min: (rw) an admin-settable value that prevents ballooning below this
          mark
   - max: (ro) the maximum size for reservation, as set by xm(1) mem-max.
   - current: (ro) the current reservation for domain.
   - target:  (rw) the targetted reservation for domain.

- fix a few limitations here and there, most notably the max_reservation
hypercall, and KiB vs pages representations at interfaces.

The driver is still turned off by default. Enabling it would need more
approval, especially from bouyer@, cherry@ and cegger@.

FWIW: tested it two days long, from amd64 dom0 (with dom0 ballooning
enabled for xend), and bunch of domUs. Did not notice anything suspicious.

XXX it still has one big limitation: it cannot hotplug memory pages in
uvm(9) if they were not present beforehand. Example: ballooning above
physmem will give more pages to domain but it won't use it to serve
allocations, unless we teach uvm(9) how to handle the extra pages.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Apr 11 08:56:17 2011 UTC (12 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.114: +5 -4 lines
Diff to previous 1.114 (colored) to selected 1.92.2.6 (colored)

build xen kernels again after db_trace merge

Revision 1.114 / (download) - annotate - [select for diffs], Sun Apr 3 22:29:27 2011 UTC (12 years, 11 months ago) by dyoung
Branch: MAIN
Changes since 1.113: +5 -1 lines
Diff to previous 1.113 (colored) to selected 1.92.2.6 (colored)

Clean up excessive #ifdef'age of NMI trap handling for amd64/i386/xen.
Handle NMI in all Xen kernels.

Revision 1.92.2.6 / (download) - annotate - [selected], Mon Mar 28 23:04:55 2011 UTC (13 years ago) by jym
Branch: jym-xensuspend
Changes since 1.92.2.5: +16 -20 lines
Diff to previous 1.92.2.5 (colored)

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

Revision 1.106.4.4 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:33 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.106.4.3: +23 -23 lines
Diff to previous 1.106.4.3 (colored) to branchpoint 1.106 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:11 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.110: +16 -20 lines
Diff to previous 1.110 (colored) next main 1.111 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.113 / (download) - annotate - [select for diffs], Thu Feb 24 10:56:03 2011 UTC (13 years, 1 month ago) by jruoho
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.112: +5 -11 lines
Diff to previous 1.112 (colored) to selected 1.92.2.6 (colored)

Move PowerNow! to the cpufeaturebus.

Revision 1.112 / (download) - annotate - [select for diffs], Thu Feb 24 04:42:54 2011 UTC (13 years, 1 month ago) by jruoho
Branch: MAIN
Changes since 1.111: +12 -4 lines
Diff to previous 1.111 (colored) to selected 1.92.2.6 (colored)

Add cpufeaturebus and est(4) for Xen.

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

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

Revision 1.92.2.5 / (download) - annotate - [select for diffs], Mon Jan 10 00:37:38 2011 UTC (13 years, 2 months ago) by jym
Branch: jym-xensuspend
Changes since 1.92.2.4: +5 -1 lines
Diff to previous 1.92.2.4 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.88.4.6 / (download) - annotate - [select for diffs], Fri Jan 7 01:42:55 2011 UTC (13 years, 2 months ago) by riz
Branch: netbsd-5
Changes since 1.88.4.5: +5 -1 lines
Diff to previous 1.88.4.5 (colored) to branchpoint 1.88 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1503):
	sys/arch/xen/conf/files.xen: revision 1.110
Make maxpartitions 16 on !i386. Fixes hardwiring root on device autoconf
index > 0 on amd64. Problem reported and patch tested by Tobias Nygren.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Dec 2 23:12:30 2010 UTC (13 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: uebayasi-xip-base7, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.109: +5 -1 lines
Diff to previous 1.109 (colored) to selected 1.92.2.6 (colored)

Make maxpartitions 16 on !i386. Fixes hardwiring root on device autoconf
index > 0 on amd64. Problem reported and patch tested by Tobias Nygren.

Revision 1.106.2.3 / (download) - annotate - [select for diffs], Sat Oct 30 08:41:13 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.106.2.2: +0 -2 lines
Diff to previous 1.106.2.2 (colored) to branchpoint 1.106 (colored) next main 1.107 (colored) to selected 1.92.2.6 (colored)

Implement pmap_physload_device(9) to replace xmd(4) MD backend.
Implement pmap_mmap(9) and use it from mem(4) and xmd(4).

Revision 1.92.2.4 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:20 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.92.2.3: +8 -4 lines
Diff to previous 1.92.2.3 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.106.2.2 / (download) - annotate - [select for diffs], Fri Aug 27 09:41:16 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.106.2.1: +2 -0 lines
Diff to previous 1.106.2.1 (colored) to branchpoint 1.106 (colored) to selected 1.92.2.6 (colored)

Glue xmd(4).

Revision 1.106.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:35 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.106: +5 -4 lines
Diff to previous 1.106 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.84.2.6 / (download) - annotate - [select for diffs], Wed Aug 11 22:52:59 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.84.2.5: +5 -4 lines
Diff to previous 1.84.2.5 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.109 / (download) - annotate - [select for diffs], Thu Jul 8 11:25:00 2010 UTC (13 years, 8 months ago) by rmind
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.108: +2 -3 lines
Diff to previous 1.108 (colored) to selected 1.92.2.6 (colored)

Unify i386 and amd64 procfs MD code into x86.

Revision 1.108 / (download) - annotate - [select for diffs], Tue Jul 6 15:00:09 2010 UTC (13 years, 8 months ago) by cherry
Branch: MAIN
Changes since 1.107: +3 -2 lines
Diff to previous 1.107 (colored) to selected 1.92.2.6 (colored)

The Xen balloon driver enables growing and shrinking
PV domains on the fly, by collaborating with UVM and the hypervisor

Revision 1.106.4.3 / (download) - annotate - [select for diffs], Mon May 31 01:12:14 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.106.4.2: +2 -1 lines
Diff to previous 1.106.4.2 (colored) to branchpoint 1.106 (colored) to selected 1.92.2.6 (colored)

- Split off Xen versions of pmap_map_ptes/pmap_unmap_ptes into Xen pmap,
  also move pmap_apte_flush() with pmap_unmap_apdp() there.
- Make Xen buildable.

Revision 1.106.4.2 / (download) - annotate - [select for diffs], Sun May 30 05:17:13 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.106.4.1: +2 -1 lines
Diff to previous 1.106.4.1 (colored) to branchpoint 1.106 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.107 / (download) - annotate - [select for diffs], Mon May 10 18:46:58 2010 UTC (13 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.106: +2 -1 lines
Diff to previous 1.106 (colored) to selected 1.92.2.6 (colored)

Provide pmap_enter_ma(), pmap_extract_ma(), pmap_kenter_ma() in all x86
kernels, and use them in the bus_space(9) implementation instead of ugly
Xen #ifdef-age.  In a non-Xen kernel, the _ma() functions either call or
alias the equivalent _pa() functions.

Reviewed on port-xen@netbsd.org and port-i386@netbsd.org.  Passes
rmind@'s and bouyer@'s inspection.  Tested on i386 and on Xen DOMU /
DOM0.

Revision 1.88.4.2.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:44 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.88.4.2: +15 -3 lines
Diff to previous 1.88.4.2 (colored) next main 1.88.4.3 (colored) to selected 1.92.2.6 (colored)

sync to netbsd-5

Revision 1.106.4.1 / (download) - annotate - [select for diffs], Thu Mar 18 04:36:54 2010 UTC (14 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.106: +1 -3 lines
Diff to previous 1.106 (colored) to selected 1.92.2.6 (colored)

Unify /dev/{mem,kmem,zero,null} implementations in MI code.  Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.

Revision 1.84.2.5 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:09 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.84.2.4: +4 -3 lines
Diff to previous 1.84.2.4 (colored) to branchpoint 1.84 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.106 / (download) - annotate - [select for diffs], Tue Nov 3 05:23:28 2009 UTC (14 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.105: +4 -1 lines
Diff to previous 1.105 (colored) to selected 1.92.2.6 (colored)

Add a kernel configuration flag, SPLDEBUG, that activates a per-CPU log
of transitions to IPL_HIGH from lower IPLs.  SPLDEBUG is only available
on i386 and Xen kernels, today.

'options SPLDEBUG' adds instrumentation to spllower() and splraise() as
well as routines to start/stop debugging and to record IPL transitions:
spldebug_start(), spldebug_stop(), spldebug_raise(), spldebug_lower().

Revision 1.92.2.3 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:44 2009 UTC (14 years, 4 months ago) by jym
Branch: jym-xensuspend
Changes since 1.92.2.2: +38 -31 lines
Diff to previous 1.92.2.2 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.105 / (download) - annotate - [select for diffs], Mon Oct 5 23:59:31 2009 UTC (14 years, 5 months ago) by rmind
Branch: MAIN
Changes since 1.104: +1 -3 lines
Diff to previous 1.104 (colored) to selected 1.92.2.6 (colored)

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

Closes PR/37665.

Revision 1.88.4.5 / (download) - annotate - [select for diffs], Sat Oct 3 23:54:04 2009 UTC (14 years, 5 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.88.4.4: +13 -3 lines
Diff to previous 1.88.4.4 (colored) to branchpoint 1.88 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1054):
	sys/arch/xen/conf/files.xen: revision 1.93
	sys/arch/xen/include/pci_machdep.h: revision 1.11
	sys/arch/xen/include/xen.h: revision 1.31
	sys/arch/xen/xen/hypervisor.c: revision 1.44
	sys/arch/xen/xen/pci_intr_machdep.c: revision 1.8
	sys/arch/xen/xen/pciback.c: revision 1.1
	sys/arch/xen/xen/xen_machdep.c: revision 1.5
	sys/arch/xen/xen/xpci_xenbus.c: revision 1.1
Work in progress on PCI front-end/back-end support
front-end:
- add a xpci* at xenbus? which provides pci busses from the dom0
  xpci provides support routines for PCI config space operations and
  enumeration in xpci_xenbus.c
- hypervisor.c: do dom0-style PCI attach only ifdef DOM0OPS
- pci_intr_machdep.c:  check line value only if DOM0OPS
back-end:
- add a pciback* at pci? device which takes precedences over all
  other PCI devices (match return 500) and matches all devices passed
  to pciback.hide option on boot command line.
  It exports the PCI device informations to files in /kern/xen/pci/
- hypervisor.c: create /kern/xen earlier so pciback can create its
  entries while PCI devices are probed
- xen_machdep.c: add handling for pciback.hide=
frontend is know working on Xen 3.1.x dom0 with ahc(4) and pciide(4)
devices. uhci(4) fail when trying to allocate a large contigous DMA
buffer.
backend is work in progress; support in xentools is not there yet.

Revision 1.84.2.4 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:52 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.84.2.3: +40 -31 lines
Diff to previous 1.84.2.3 (colored) to branchpoint 1.84 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.104 / (download) - annotate - [select for diffs], Sun Aug 16 15:35:52 2009 UTC (14 years, 7 months ago) by manu
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.103: +2 -1 lines
Diff to previous 1.103 (colored) to selected 1.92.2.6 (colored)

Build COMPAT_DARWIN and COMPAT_MACH as a Xen domU too

Revision 1.103 / (download) - annotate - [select for diffs], Wed Aug 5 20:15:37 2009 UTC (14 years, 7 months ago) by jym
Branch: MAIN
Changes since 1.102: +20 -1 lines
Diff to previous 1.102 (colored) to selected 1.92.2.6 (colored)

Add Intel SpeedStep and AMD PowerNow! support in Xen dom0. MSR operations
are now compiled in by default.

Note that MSR support in Xen depends on its version. rdmsr() should always
succeed, but wrmsr() to certain registers can end in a NOOP. In that case,
the error will be logged (see xm dmesg).

Setting CPU frequency (SpeedStep) requires Xen 3.3 with the option
cpufreq="dom0-kernel" passed down to hypervisor during boot.

Compiled and tested for SpeedStep under i386 for XEN3_DOM0 and XEN3PAE_DOM0
by jym@. amd64 was tested by Joel Carnat.

See also http://mail-index.netbsd.org/port-xen/2009/08/02/msg005213.html .

Commit requested by bouyer@.

Revision 1.102 / (download) - annotate - [select for diffs], Wed Jul 29 12:02:06 2009 UTC (14 years, 8 months ago) by cegger
Branch: MAIN
Changes since 1.101: +20 -30 lines
Diff to previous 1.101 (colored) to selected 1.92.2.6 (colored)

remove Xen2 support.
ok bouyer@

Revision 1.101 / (download) - annotate - [select for diffs], Fri Jul 24 21:22:22 2009 UTC (14 years, 8 months ago) by dyoung
Branch: MAIN
Changes since 1.100: +1 -2 lines
Diff to previous 1.100 (colored) to selected 1.92.2.6 (colored)

There's no such file as arch/i386/i386/core_machdep.c, so don't
list it here.

Revision 1.92.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:37 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.92.2.1: +2 -1 lines
Diff to previous 1.92.2.1 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.84.2.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:13 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.84.2.2: +2 -1 lines
Diff to previous 1.84.2.2 (colored) to branchpoint 1.84 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.88.4.4 / (download) - annotate - [select for diffs], Fri Jun 19 21:22:11 2009 UTC (14 years, 9 months ago) by snj
Branch: netbsd-5
Changes since 1.88.4.3: +2 -1 lines
Diff to previous 1.88.4.3 (colored) to branchpoint 1.88 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #816):
	sys/arch/amd64/conf/files.amd64: revision 1.68
	sys/arch/i386/conf/files.i386: revision 1.350
	sys/arch/x86/include/rtc.h: revision 1.1
	sys/arch/x86/isa/clock.c: revision 1.33
	sys/arch/x86/isa/rtc.c: revision 1.1
	sys/arch/xen/conf/files.xen: revision 1.100
	sys/arch/xen/xen/clock.c: revision 1.50 via patch
Split mc146818-related functions from clock.c into rtc.c.
Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0
kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS
by itself.
Now a XEN3_DOM0 kernel properly updates the CMOS time.

Revision 1.100 / (download) - annotate - [select for diffs], Tue Jun 16 21:05:34 2009 UTC (14 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Changes since 1.99: +2 -1 lines
Diff to previous 1.99 (colored) to selected 1.92.2.6 (colored)

Split mc146818-related functions from clock.c into rtc.c.
Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0
kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS
by itself.
Now a XEN3_DOM0 kernel properly updates the CMOS time.

Revision 1.88.4.3 / (download) - annotate - [select for diffs], Tue Jun 16 02:20:41 2009 UTC (14 years, 9 months ago) by snj
Branch: netbsd-5
Changes since 1.88.4.2: +2 -1 lines
Diff to previous 1.88.4.2 (colored) to branchpoint 1.88 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by rmind in ticket #782):
	sys/arch/xen/conf/files.xen: revision 1.99 via patch
Include cpu_topology.c for xen kernels, too.

Revision 1.92.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:50 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.92: +22 -16 lines
Diff to previous 1.92 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

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

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:11 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.84.2.1: +29 -42 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.99 / (download) - annotate - [select for diffs], Thu Apr 30 04:38:01 2009 UTC (14 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3
Changes since 1.98: +2 -1 lines
Diff to previous 1.98 (colored) to selected 1.92.2.6 (colored)

Include cpu_topology.c for xen kernels, too.

Revision 1.88.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:01 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.88.2.2: +9 -11 lines
Diff to previous 1.88.2.2 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.98 / (download) - annotate - [select for diffs], Sat Apr 18 11:26:58 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.97: +4 -1 lines
Diff to previous 1.97 (colored) to selected 1.92.2.6 (colored)

build mp.c for xen, too.
Fixes linking failures of Dom0 kernels. (Hi dyoung)

Revision 1.97 / (download) - annotate - [select for diffs], Thu Apr 16 18:00:35 2009 UTC (14 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.96: +2 -3 lines
Diff to previous 1.96 (colored) to selected 1.92.2.6 (colored)

make xen kernels build again after the merge of syscall.c

Revision 1.96 / (download) - annotate - [select for diffs], Tue Mar 31 20:12:19 2009 UTC (15 years ago) by rmind
Branch: MAIN
Changes since 1.95: +5 -9 lines
Diff to previous 1.95 (colored) to selected 1.92.2.6 (colored)

Sync with recent i386/amd64 source merges - fix Xen builds.

Revision 1.88.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:48 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.88.2.1: +13 -6 lines
Diff to previous 1.88.2.1 (colored) to branchpoint 1.88 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.95 / (download) - annotate - [select for diffs], Thu Feb 19 02:49:41 2009 UTC (15 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.94: +1 -2 lines
Diff to previous 1.94 (colored) to selected 1.92.2.6 (colored)

vesabios is no more

Revision 1.88.4.2 / (download) - annotate - [select for diffs], Mon Feb 16 03:03:37 2009 UTC (15 years, 1 month ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.88.4.1: +1 -4 lines
Diff to previous 1.88.4.1 (colored) to branchpoint 1.88 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by ad in ticket #355):
	sys/arch/i386/conf/GENERIC_TINY: revision 1.116
	sys/arch/i386/conf/INSTALL_TINY: revision 1.122
	sys/arch/i386/conf/files.i386: revision 1.341
	sys/arch/i386/i386/vm_machdep.c: revision 1.142
	sys/arch/i386/include/param.h: revision 1.68
	sys/arch/xen/conf/files.xen: revision 1.91
- Kill NOREDZONE.
- Make the redzone conditional on DIAGNOSTIC.
- Give amd64 an additional page for the uarea. 2 is not enough.

Revision 1.94 / (download) - annotate - [select for diffs], Sat Feb 14 20:22:59 2009 UTC (15 years, 1 month ago) by cube
Branch: MAIN
Changes since 1.93: +1 -3 lines
Diff to previous 1.93 (colored) to selected 1.92.2.6 (colored)

Don't set version deep in the source tree if it's older than the one in
conf/files.

Revision 1.93 / (download) - annotate - [select for diffs], Fri Feb 13 21:03:59 2009 UTC (15 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.92: +13 -3 lines
Diff to previous 1.92 (colored) to selected 1.92.2.6 (colored)

Work in progress on PCI front-end/back-end support
front-end:
- add a xpci* at xenbus? which provides pci busses from the dom0
  xpci provides support routines for PCI config space operations and
  enumeration in xpci_xenbus.c
- hypervisor.c: do dom0-style PCI attach only ifdef DOM0OPS
- pci_intr_machdep.c:  check line value only if DOM0OPS

back-end:
- add a pciback* at pci? device which takes precedences over all
  other PCI devices (match return 500) and matches all devices passed
  to pciback.hide option on boot command line.
  It exports the PCI device informations to files in /kern/xen/pci/
- hypervisor.c: create /kern/xen earlier so pciback can create its
  entries while PCI devices are probed
- xen_machdep.c: add handling for pciback.hide=

frontend is know working on Xen 3.1.x dom0 with ahc(4) and pciide(4)
devices. uhci(4) fail when trying to allocate a large contigous DMA
buffer.

backend is work in progress; support in xentools is not there yet.

Revision 1.88.4.1 / (download) - annotate - [select for diffs], Thu Jan 22 20:17:13 2009 UTC (15 years, 2 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC2, netbsd-5-0-RC1
Changes since 1.88: +3 -5 lines
Diff to previous 1.88 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #286):
	sys/arch/xen/conf/files.xen: revision 1.92
	sys/arch/xen/x86/mainbus.c: revision 1.7 via patch
	sys/arch/xen/xen/hypervisor.c: revision 1.43
The Xen PCI_BUS_FIXUP/PCI_ADDR_FIXUP has rotted, catch up with x86 changes
in this area. Patch provided by FUKAUMI Naoki in PR#40356.

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:11 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.88: +5 -8 lines
Diff to previous 1.88 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Jan 18 20:50:43 2009 UTC (15 years, 2 months ago) by bouyer
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.91: +3 -5 lines
Diff to previous 1.91 (colored) to selected 1.92.2.6 (colored)

The Xen PCI_BUS_FIXUP/PCI_ADDR_FIXUP has rotted, catch up with x86 changes
in this area. Patch provided by FUKAUMI Naoki in PR#40356.

Revision 1.82.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:39 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.82.6.3: +2 -3 lines
Diff to previous 1.82.6.3 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.91 / (download) - annotate - [select for diffs], Sat Dec 20 12:41:19 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.90: +1 -4 lines
Diff to previous 1.90 (colored) to selected 1.92.2.6 (colored)

- Kill NOREDZONE.
- Make the redzone conditional on DIAGNOSTIC.
- Give amd64 an additional page for the uarea. 2 is not enough.

Revision 1.87.4.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:39 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.87.4.1: +3 -1 lines
Diff to previous 1.87.4.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.90 / (download) - annotate - [select for diffs], Thu Nov 20 10:53:09 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.89: +2 -1 lines
Diff to previous 1.89 (colored) to selected 1.92.2.6 (colored)

Put the COMPAT_NOMID stuff into its own file.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:02 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored) to selected 1.92.2.6 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.87.4.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:12 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.87: +4 -20 lines
Diff to previous 1.87 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.82.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:12 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.82.6.2: +3 -19 lines
Diff to previous 1.82.6.2 (colored) to branchpoint 1.82 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.84.4.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:38 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.84.4.1: +4 -20 lines
Diff to previous 1.84.4.1 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored) to selected 1.92.2.6 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Aug 3 19:32:03 2008 UTC (15 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.87: +4 -20 lines
Diff to previous 1.87 (colored) to selected 1.92.2.6 (colored)

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

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

Revision 1.84.4.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:51 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.84: +4 -7 lines
Diff to previous 1.84 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.82.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:52 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.82.6.1: +4 -7 lines
Diff to previous 1.82.6.1 (colored) to branchpoint 1.82 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.83.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:05 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.83: +5 -8 lines
Diff to previous 1.83 (colored) next main 1.84 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:29 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.84: +4 -7 lines
Diff to previous 1.84 (colored) to selected 1.92.2.6 (colored)

sync with head.

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

Update xen for identcpu changes.

Revision 1.86 / (download) - annotate - [select for diffs], Sat May 10 16:27:57 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored) to selected 1.92.2.6 (colored)

Make xen build after tsc changes.

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

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

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

Include null IPI functions if !MULTIPROCESSOR.

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

Sync with HEAD.

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:09 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored) next main 1.83 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.63.10.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:28 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.63.10.2: +13 -20 lines
Diff to previous 1.63.10.2 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored) to selected 1.92.2.6 (colored)

sync with HEAD

Revision 1.25.2.9 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:29 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.2.8: +2 -5 lines
Diff to previous 1.25.2.8 (colored) next main 1.26 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.83 / (download) - annotate - [select for diffs], Wed Feb 27 04:19:24 2008 UTC (16 years, 1 month ago) by dogcow
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 (colored) to selected 1.92.2.6 (colored)

fix longrun build borkage on i386

Revision 1.82 / (download) - annotate - [select for diffs], Wed Feb 20 21:43:35 2008 UTC (16 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.81: +1 -5 lines
Diff to previous 1.81 (colored) to selected 1.92.2.6 (colored)

Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.

Revision 1.68.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:19 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.68.2.2: +14 -16 lines
Diff to previous 1.68.2.2 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.25.2.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:22:54 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.2.7: +5 -7 lines
Diff to previous 1.25.2.7 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Jan 31 13:46:33 2008 UTC (16 years, 2 months ago) by jmmv
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.80: +3 -1 lines
Diff to previous 1.80 (colored) to selected 1.92.2.6 (colored)

Let Xen kernels build with "options MODULAR" enabled by pulling in the
appropriate kobj_machdep.c file.

Revision 1.80 / (download) - annotate - [select for diffs], Fri Jan 25 21:12:13 2008 UTC (16 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.79: +3 -7 lines
Diff to previous 1.79 (colored) to selected 1.92.2.6 (colored)

Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
  They call a backend function cpu_in_cksum after possibly
  computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
  The default implementation is moderate fast on most platforms
  and provides a 32bit accumulator with 16bit addends for L32 platforms
  and a 64bit accumulator with 32bit addends for L64 platforms.
  It handles edge cases like very large mbuf chains (could happen with
  native IPv6 in the future) and provides a good base for new native
  implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.

Revision 1.25.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:20 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.2.6: +10 -10 lines
Diff to previous 1.25.2.6 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.75.6.8 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:50 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.75.6.7: +2 -3 lines
Diff to previous 1.75.6.7 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.79 / (download) - annotate - [select for diffs], Wed Jan 16 09:37:08 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.78: +1 -3 lines
Diff to previous 1.78 (colored) to selected 1.92.2.6 (colored)

Remove options MATH_EMULATE.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Jan 12 20:03:42 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) to selected 1.92.2.6 (colored)

- Split crashdump code out into its own file.
- Remove NO_SPARSE_DUMP.
- Minor KNF, sprinkle static.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jan 11 20:00:18 2008 UTC (16 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.76: +7 -8 lines
Diff to previous 1.76 (colored) to selected 1.92.2.6 (colored)

Merge the bouyer-xeni386 branch to head, at tag bouyer-xeni386-merge1 (the
branch is still active and will see i386PAE support developement).
Sumary of changes:
- switch xeni386 to the x86/x86/pmap.c, and the xen/x86/x86_xpmap.c
  pmap bootstrap.
- merge back most of xen/i386/ to i386/i386
- change the build to reduce diffs between i386 and amd64 in file locations
- remove include files that were identical to the i386/amd64 counterparts,
  the build will find them via the xen-ma/machine link.

Revision 1.75.6.7 / (download) - annotate - [select for diffs], Wed Jan 9 19:25:06 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.75.6.6: +2 -2 lines
Diff to previous 1.75.6.6 (colored) to branchpoint 1.75 (colored) to selected 1.92.2.6 (colored)

Merge xen bits to i386/i386/gdt.c. Convert remaining uses of PTE_* macros to
pmap_pte_* macros/inlines.
Fix think-o in pmap.c for native i386.

Revision 1.63.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:50:02 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.63.10.1: +110 -40 lines
Diff to previous 1.63.10.1 (colored) to branchpoint 1.63 (colored) to selected 1.92.2.6 (colored)

sync with HEAD

Revision 1.75.6.6 / (download) - annotate - [select for diffs], Mon Jan 7 00:34:53 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.75.6.5: +1 -1 lines
Diff to previous 1.75.6.5 (colored) to branchpoint 1.75 (colored) to selected 1.92.2.6 (colored)

Move Xen support to i386/i386/machdep.c. two less files in xen/ :)

Revision 1.75.6.5 / (download) - annotate - [select for diffs], Sun Jan 6 20:35:44 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.75.6.4: +1 -1 lines
Diff to previous 1.75.6.4 (colored) to branchpoint 1.75 (colored) to selected 1.92.2.6 (colored)

Switch xen/i386 to the i386 npx.c. We have to keep npx_hv.c to attach npx
to hypervisor0.

Revision 1.75.6.4 / (download) - annotate - [select for diffs], Sun Jan 6 18:46:41 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.75.6.3: +2 -2 lines
Diff to previous 1.75.6.3 (colored) to branchpoint 1.75 (colored) to selected 1.92.2.6 (colored)

Use the i386 bios32.c for xen/i386

Revision 1.75.6.3 / (download) - annotate - [select for diffs], Sat Jan 5 23:50:23 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.75.6.2: +0 -1 lines
Diff to previous 1.75.6.2 (colored) to branchpoint 1.75 (colored) to selected 1.92.2.6 (colored)

Not used anymore since xen/i386 has been switched to xen_pmap_bootstrap()

Revision 1.75.6.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:29 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.75.6.1: +3 -1 lines
Diff to previous 1.75.6.1 (colored) to branchpoint 1.75 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jan 1 20:32:11 2008 UTC (16 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.75: +3 -1 lines
Diff to previous 1.75 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.75.6.1 / (download) - annotate - [select for diffs], Tue Dec 11 23:02:59 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored) to selected 1.92.2.6 (colored)

Switch i386 to x86/x86/pmap.c

Revision 1.63.8.6 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:30 2007 UTC (16 years, 3 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.63.8.5: +1 -2 lines
Diff to previous 1.63.8.5 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:16 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.68.2.1: +108 -37 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.25.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:27:04 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.2.5: +108 -40 lines
Diff to previous 1.25.2.5 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.57.2.5 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:26 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.57.2.4: +110 -41 lines
Diff to previous 1.57.2.4 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.63.8.5 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:24 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.63.8.4: +2 -2 lines
Diff to previous 1.63.8.4 (colored) to branchpoint 1.63 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:28 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-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.74: +1 -2 lines
Diff to previous 1.74 (colored) to selected 1.92.2.6 (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.74 / (download) - annotate - [select for diffs], Sat Dec 1 12:52:20 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.92.2.6 (colored)

Back out previous, majors.amd64 in files.amd64 is inside ifndef xen/endif

Revision 1.73 / (download) - annotate - [select for diffs], Fri Nov 30 22:56:05 2007 UTC (16 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.92.2.6 (colored)

Don't pull in majors.amd64 here, we get another copy from files.amd64
and config bleats like mad.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Nov 28 14:02:31 2007 UTC (16 years, 4 months ago) by yamt
Branch: MAIN
Changes since 1.71: +1 -1 lines
Diff to previous 1.71 (colored) to selected 1.92.2.6 (colored)

- merge {i386,xen}/i386/trap.c.
- add a comment about a hack for xen2.

Revision 1.63.8.4 / (download) - annotate - [select for diffs], Tue Nov 27 19:35:59 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.63.8.3: +107 -35 lines
Diff to previous 1.63.8.3 (colored) to branchpoint 1.63 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Nov 22 16:16:47 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.70: +106 -33 lines
Diff to previous 1.70 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.64.2.7 / (download) - annotate - [select for diffs], Thu Nov 22 15:18:23 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.64.2.6: +0 -1 lines
Diff to previous 1.64.2.6 (colored) to branchpoint 1.64 (colored) next main 1.65 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Thu Nov 22 07:44:40 2007 UTC (16 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: bouyer-xenamd64-base
Changes since 1.69: +1 -2 lines
Diff to previous 1.69 (colored) to selected 1.92.2.6 (colored)

remove lock_machdep.c

Revision 1.63.8.3 / (download) - annotate - [select for diffs], Wed Nov 21 21:53:40 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.63.8.2: +1 -4 lines
Diff to previous 1.63.8.2 (colored) to branchpoint 1.63 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.64.2.6 / (download) - annotate - [select for diffs], Mon Nov 19 19:50:39 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.64.2.5: +0 -1 lines
Diff to previous 1.64.2.5 (colored) to branchpoint 1.64 (colored) to selected 1.92.2.6 (colored)

Get rid of arch/xenamd64, step 3: merge xenamd64/amd64/xpmap.c in
xen/x86/x86_xpmap.c

Revision 1.64.2.5 / (download) - annotate - [select for diffs], Mon Nov 19 19:17:18 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.64.2.4: +98 -26 lines
Diff to previous 1.64.2.4 (colored) to branchpoint 1.64 (colored) to selected 1.92.2.6 (colored)

Get rid of arch/xenamd64, step 1: empty xenamd64/conf
- move xenamd64/conf/std.xen to amd64/conf/
- define arch to amd64 amd64/conf/std.xen, and i386 in xen/conf/std.xen
  (machine is xen)
- enclose content of amd64/conf/files.amd64 and i386/conf/files.i386 in
  ifndef xen/endif, so it can be transparently inclued for xen kernels
- support MACHINE_ARCH=x86_64 in xen/conf/Makefile*

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:04 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.68: +1 -4 lines
Diff to previous 1.68 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.64.2.4 / (download) - annotate - [select for diffs], Sun Nov 18 19:34:51 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.64.2.3: +0 -3 lines
Diff to previous 1.64.2.3 (colored) to branchpoint 1.64 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.69 / (download) - annotate - [select for diffs], Thu Nov 15 19:18:34 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2
Changes since 1.68: +1 -4 lines
Diff to previous 1.68 (colored) to selected 1.92.2.6 (colored)

Remove support for 80386 level CPUs. PR port-i386/36163.

Revision 1.64.2.3 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:25 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.64.2.2: +4 -3 lines
Diff to previous 1.64.2.2 (colored) to branchpoint 1.64 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.63.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:56 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.63: +8 -4 lines
Diff to previous 1.63 (colored) to selected 1.92.2.6 (colored)

sync with HEAD

Revision 1.63.8.2 / (download) - annotate - [select for diffs], Sun Oct 28 20:11:01 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.63.8.1: +4 -3 lines
Diff to previous 1.63.8.1 (colored) to branchpoint 1.63 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.25.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:05 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.2.4: +8 -4 lines
Diff to previous 1.25.2.4 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Oct 26 22:33:23 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored) to selected 1.92.2.6 (colored)

xen/i386/cpu.c uses i686_mtrr_init_first if MTRR is defined, but
mtrr_i686.c wasn't built...

Revision 1.67 / (download) - annotate - [select for diffs], Fri Oct 26 22:11:45 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.66: +2 -2 lines
Diff to previous 1.66 (colored) to selected 1.92.2.6 (colored)

ichlpcib(4) lives in x86/pci these days...

Revision 1.66 / (download) - annotate - [select for diffs], Fri Oct 26 21:49:51 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored) to selected 1.92.2.6 (colored)

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

ok joerg.

Revision 1.64.2.2 / (download) - annotate - [select for diffs], Sun Oct 21 15:41:02 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.64.2.1: +2 -1 lines
Diff to previous 1.64.2.1 (colored) to branchpoint 1.64 (colored) to selected 1.92.2.6 (colored)

Factorise some Xen pmap code in x86_xpmap.c.
More xpmap_{ptom,mtop} -> xpmap_{ptom,mtop}_masked

The xenamd64 kernel is now good enough to complete a sysinst install from
xennet to xbd.

Revision 1.64.2.1 / (download) - annotate - [select for diffs], Wed Oct 17 21:08:14 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.64: +11 -10 lines
Diff to previous 1.64 (colored) to selected 1.92.2.6 (colored)

Prepare for xenamd64:
- kill xen/i386/identcpu.c, use i386/i386/identcpu.c instead (with a few
  #ifndef XEN)
- move some files that can be shared between i386 and amd64 from
  xen/i386 to xen/x86 (or to xen/xen for non-cpu-specific code)
- split assembly out of xen/include/hypervisor.h to xen/include/hypercalls.h
- use <xen/...> instead of <machine/...> for cpu-independant include files.

more work needed here, i386-specific files should got out of arch/xen to
arch/xeni386, and more code shared with arch/i386.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:18 2007 UTC (16 years, 5 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.64: +1 -1 lines
Diff to previous 1.64 (colored) to selected 1.92.2.6 (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.57.2.4 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:48 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.57.2.3: +5 -2 lines
Diff to previous 1.57.2.3 (colored) to branchpoint 1.57 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.63.12.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:33:38 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.63: +5 -2 lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.59.2.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:58 2007 UTC (16 years, 5 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.59.2.1: +14 -6 lines
Diff to previous 1.59.2.1 (colored) next main 1.60 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.63.8.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:54 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.63: +5 -2 lines
Diff to previous 1.63 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:44 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.63: +5 -2 lines
Diff to previous 1.63 (colored) to selected 1.92.2.6 (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.25.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:30 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.2.3: +17 -9 lines
Diff to previous 1.25.2.3 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:13 2007 UTC (16 years, 6 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.53: +1 -2 lines
Diff to previous 1.53 (colored) next main 1.54 (colored) to selected 1.92.2.6 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.57.2.3 / (download) - annotate - [select for diffs], Sun Jul 15 13:17:18 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.57.2.2: +10 -5 lines
Diff to previous 1.57.2.2 (colored) to branchpoint 1.57 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:27 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.57: +14 -7 lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Sat Jul 7 05:13:17 2007 UTC (16 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.62: +1 -2 lines
Diff to previous 1.62 (colored) to selected 1.92.2.6 (colored)

Remove leftover netns stuff.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jun 28 20:07:00 2007 UTC (16 years, 9 months ago) by alc
Branch: MAIN
Changes since 1.61: +10 -4 lines
Diff to previous 1.61 (colored) to selected 1.92.2.6 (colored)

 - add ichlpcib to XEN2 config file
 - few cosmetics

tested with XEN2 and XEN3 kernel
ok bouyer@

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Sun Jun 10 20:48:44 2007 UTC (16 years, 9 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.53: +1 -2 lines
Diff to previous 1.53 (colored) next main 1.54 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by jld in ticket #711):
	sys/arch/xen/xen/clock.c: revision 1.35 via patch
	sys/arch/xen/include/types.h: revision 1.5 via patch
	sys/arch/xen/i386/machdep.c: revision 1.38 via patch
	sys/arch/xen/conf/files.xen: revision 1.60 via patch
	sys/arch/xen/include/cpu.h: revision 1.19 via patch
Convert the xen port to use timecounters; ok'ed by bouyer@.

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Sun May 27 14:27:06 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.57.2.1: +4 -3 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Tue May 22 17:27:50 2007 UTC (16 years, 10 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.59: +3 -2 lines
Diff to previous 1.59 (colored) to selected 1.92.2.6 (colored)

Update to HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Thu May 17 14:51:35 2007 UTC (16 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.60: +3 -1 lines
Diff to previous 1.60 (colored) to selected 1.92.2.6 (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.55.2.6 / (download) - annotate - [select for diffs], Thu May 17 13:41:08 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.55.2.5: +1 -2 lines
Diff to previous 1.55.2.5 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.60 / (download) - annotate - [select for diffs], Sat May 12 07:06:54 2007 UTC (16 years, 10 months ago) by jld
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.59: +1 -2 lines
Diff to previous 1.59 (colored) to selected 1.92.2.6 (colored)

Convert the xen port to use timecounters; ok'ed by bouyer@.

Revision 1.55.2.5 / (download) - annotate - [select for diffs], Mon May 7 10:55:06 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.55.2.4: +2 -2 lines
Diff to previous 1.55.2.4 (colored) to branchpoint 1.55 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Apr 16 19:12:19 2007 UTC (16 years, 11 months ago) by ad
Branch: MAIN
Branch point for: ppcoea-renovation
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.55.2.4 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:12 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.55.2.3: +2 -1 lines
Diff to previous 1.55.2.3 (colored) to branchpoint 1.55 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:23:21 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Apr 10 03:01:08 2007 UTC (16 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) to selected 1.92.2.6 (colored)

include files.wsfb

Revision 1.55.2.3 / (download) - annotate - [select for diffs], Mon Mar 26 09:51:30 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.55.2.2: +3 -1 lines
Diff to previous 1.55.2.2 (colored) to branchpoint 1.55 (colored) to selected 1.92.2.6 (colored)

adapt xen.

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:51:47 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.55.2.1: +4 -3 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Mar 5 16:51:03 2007 UTC (17 years ago) by drochner
Branch: MAIN
CVS Tags: reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.56: +4 -3 lines
Diff to previous 1.56 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:26 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored) to selected 1.92.2.6 (colored)

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

Revision 1.25.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:52 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.2.2: +5 -3 lines
Diff to previous 1.25.2.2 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Feb 18 18:15:41 2007 UTC (17 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.55: +4 -3 lines
Diff to previous 1.55 (colored) to selected 1.92.2.6 (colored)

Get config(1) to supply the default values for BEEP_ONHALT.

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

Merge newlock2 to head.

Revision 1.46.2.3 / (download) - annotate - [select for diffs], Sun Jan 28 12:12:50 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.46.2.2: +2 -1 lines
Diff to previous 1.46.2.2 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.92.2.6 (colored)

xen MD changes.

Revision 1.46.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:01:01 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.46.2.1: +2 -2 lines
Diff to previous 1.46.2.1 (colored) to branchpoint 1.46 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.18.2.12 / (download) - annotate - [select for diffs], Mon Jan 8 16:45:56 2007 UTC (17 years, 2 months ago) by ghen
Branch: netbsd-3
Changes since 1.18.2.11: +12 -2 lines
Diff to previous 1.18.2.11 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1622):
	sys/arch/xen/conf/files.xen: revision 1.49 via patch
	sys/arch/xen/i386/autoconf.c: revision 1.19 via patch
	sys/arch/xen/conf/files.compat: revision 1.13 via patch
	sys/arch/xen/i386/mainbus.c: revision 1.10 via patch
	sys/arch/xen/i386/bios32.c: revision 1.1 via patch
	sys/arch/i386/conf/XEN2_DOM0: revision 1.9 via patch
	sys/arch/xen/i386/locore.S: revision 1.19 via patch
Map the ISA hole on Xen, which allows us to access the SMBios, which allows
us to find the IPMI address. Add IPMI support on Xen (commented out for now)

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:24 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25.2.1: +44 -8 lines
Diff to previous 1.25.2.1 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.46.4.2 / (download) - annotate - [select for diffs], Thu Dec 21 15:07:58 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.46.4.1: +2 -2 lines
Diff to previous 1.46.4.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Dec 18 20:07:36 2006 UTC (17 years, 3 months ago) by gdt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, newlock2-nbase, newlock2-base
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.92.2.6 (colored)

Use agp_machdep.c from the new location (x86, not i386).

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:39 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.46: +37 -7 lines
Diff to previous 1.46 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.46.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:20 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.46: +37 -7 lines
Diff to previous 1.46 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.53 / (download) - annotate - [select for diffs], Thu Oct 19 16:55:37 2006 UTC (17 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, netbsd-4-base
Branch point for: wrstuden-fixsa, netbsd-4
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.92.2.6 (colored)

remove relicts of COMPAT_AOUT, fixes compilation problems with old
kernel config files reported by Patrick Welche on current-users

Revision 1.52 / (download) - annotate - [select for diffs], Tue Oct 17 19:57:24 2006 UTC (17 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) to selected 1.92.2.6 (colored)

XEN_NO_HYPERCALLPAGE is redundant with XEN_COMPAT_030001; make
XEN_COMPAT_030001 disable the hypercall page too and remove
XEN_NO_HYPERCALLPAGE

Revision 1.51 / (download) - annotate - [select for diffs], Tue Oct 17 18:53:04 2006 UTC (17 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) to selected 1.92.2.6 (colored)

Add ELF_PADDR_OFFSET and VIRT_ENTRY strings to __xen_guest ELF section,
so that our kernels works with newer xen-3 hypervisors; and correct the value
of VIRT_BASE for dom0.
Now that we can embed the values of KERNBASE and KERNTEXTOFF in the binary
for Xen, make the domU memory layout the same as dom0 for Xen3 (making
it the other way round doens't work; probably because of alignement
constraints in the hypervisor). The old domU layout is used if options
XEN_COMPAT_030001 is present in the kernel config file. Enable this the
domU kernel config files for now, in case someone wants to run a NetBSD
domU on an older Xen3 installation.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Oct 15 14:34:56 2006 UTC (17 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.49: +4 -1 lines
Diff to previous 1.49 (colored) to selected 1.92.2.6 (colored)

Enable Bluetooth support and devices (except bt3c that requires pcmcia)
for Xen.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Oct 1 21:36:11 2006 UTC (17 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.48: +12 -2 lines
Diff to previous 1.48 (colored) to selected 1.92.2.6 (colored)

Map the ISA hole on Xen, which allows us to access the SMBios, which allows
us to find the IPMI address. Add IPMI support on Xen (commented out for now)

Revision 1.48 / (download) - annotate - [select for diffs], Thu Sep 28 18:53:15 2006 UTC (17 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.47: +21 -4 lines
Diff to previous 1.47 (colored) to selected 1.92.2.6 (colored)

Add Xen3 support for ACPI and/or MPBIOS + IOAPIC. To help with this, physical
CPUs are now configured on mainbus only in dom0, and only to know about
their APIC id. virtual CPUs are attached to hypervisor as:
vcpu* at hypervisor?
and this is what's used as curcpu(). The kernel config files needs to be
updated for this, see XEN3_DOM0 or XEN3_DOMU for examples.
XEN3_DOM0 now has acpi, MPBIOS and ioapic by default.
Note that a Xen dom0 kernel doens't have access to the lapic.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Sep 24 18:14:44 2006 UTC (17 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46 (colored) to selected 1.92.2.6 (colored)

The Xen folks says everyone should use hypercall call page now, make it so.
Old hypercall call method still still available with
options XEN_NO_HYPERCALLPAGE
but this is disabled by default (xen-3.0.2-2 supports hypercall call page
just fine).
While there add a VIRT_BASE= string in __xen_guest section; from
Bastian Blank on port-xen@.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:44:49 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.33: +52 -16 lines
Diff to previous 1.33 (colored) next main 1.34 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.45.2.1 / (download) - annotate - [select for diffs], Fri Sep 8 19:07:40 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: abandoned-netbsd-4
Changes since 1.45: +1 -0 lines
Diff to previous 1.45 (colored) next main 1.46 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by jld in ticket #129):
	sys/arch/xen/conf/files.xen: revision 1.46
	sys/arch/xen/xen/hypervisor.c: revision 1.26
	sys/arch/xen/xen/shutdown_xenbus.c: revision 1.1
	sys/arch/xen/xenbus/xenbus_probe.c: revision 1.13
	sys/arch/xen/include/shutdown_xenbus.h: revision 1.1
"xm shutdown" support for xen3.  ok'ed by Manuel Bouyer.

Revision 1.18.2.11 / (download) - annotate - [select for diffs], Fri Sep 8 10:27:35 2006 UTC (17 years, 6 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.18.2.10: +1 -0 lines
Diff to previous 1.18.2.10 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by jld in ticket #1499):
	sys/arch/xen/conf/files.xen: revision 1.46
	sys/arch/xen/xen/hypervisor.c: revision 1.26
	sys/arch/xen/xen/shutdown_xenbus.c: revision 1.1
	sys/arch/xen/xenbus/xenbus_probe.c: revision 1.13
	sys/arch/xen/include/shutdown_xenbus.h: revision 1.1
"xm shutdown" support for xen3.  ok'ed by Manuel Bouyer.

Revision 1.34.2.6 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:16 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.34.2.5: +7 -1 lines
Diff to previous 1.34.2.5 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.46 / (download) - annotate - [select for diffs], Fri Aug 11 13:22:43 2006 UTC (17 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.45: +1 -0 lines
Diff to previous 1.45 (colored) to selected 1.92.2.6 (colored)

"xm shutdown" support for xen3.  ok'ed by Manuel Bouyer.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:06 2006 UTC (17 years, 8 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.42: +6 -1 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.92.2.6 (colored)

Merge from HEAD.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 12 15:02:15 2006 UTC (17 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored) to selected 1.92.2.6 (colored)

implement a simple NETTXF_csum_blank/NETRXF_csum_blank workaround
so that we can talk with linux guests at least.
just fill checksum field of received packets if the flag is set.
maybe should be revisited later.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jul 9 01:59:42 2006 UTC (17 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored) to selected 1.92.2.6 (colored)

include files.apm

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 2 16:35:24 2006 UTC (17 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored) to selected 1.92.2.6 (colored)

block device backend driver for Xen3. Add
pseudo-device xbdback
in your config file to use.

Revision 1.34.2.5 / (download) - annotate - [select for diffs], Mon Jun 26 12:45:40 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.34.2.4: +2 -2 lines
Diff to previous 1.34.2.4 (colored) to branchpoint 1.34 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:58:06 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.25: +80 -35 lines
Diff to previous 1.25 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:45:15 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.40: +4 -2 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.33.4.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:32 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.33.4.1: +4 -2 lines
Diff to previous 1.33.4.1 (colored) next main 1.34 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Thu May 25 21:27:40 2006 UTC (17 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.92.2.6 (colored)

Always include xen_shm_machdep.c for Xen3, theorically a domU could also
provide backend services to other domains.

Revision 1.37.4.2 / (download) - annotate - [select for diffs], Wed May 24 15:48:25 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.37.4.1: +23 -6 lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored) to selected 1.92.2.6 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.34.2.4 / (download) - annotate - [select for diffs], Wed May 24 10:57:19 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.34.2.3: +3 -1 lines
Diff to previous 1.34.2.3 (colored) to branchpoint 1.34 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 23 21:10:42 2006 UTC (17 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored) to selected 1.92.2.6 (colored)

Add a network backend driver for Xen3. This will appear as a xvif pseudo
device in kernel config files.

Revision 1.18.2.10 / (download) - annotate - [select for diffs], Fri May 5 16:46:06 2006 UTC (17 years, 10 months ago) by ghen
Branch: netbsd-3
CVS Tags: netbsd-3-1-RC2, netbsd-3-1-RC1
Changes since 1.18.2.9: +3 -5 lines
Diff to previous 1.18.2.9 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1311):
	sys/arch/xen/conf/files.xen: revision 1.31 via patch
	sys/arch/i386/conf/XEN0: revision 1.18 via patch
Sync with i386/conf/GENERIC:
- add a buch of PCI storage devices
- add firewire devices
- add some missing PCI network devices
- add serial and parallel PCI adapters
- add lpt0 at isa
- add com1 at isa
  com0 not added for the benefit of serial console users (it will conflicts
  with the Xen kernel).
XXX this means that setups with serial console on com1 will now break with the
default kernel.
Use userconf(4) (add -c to kernel command line) or change your setup to
com0 instead (most bios allows arbitrary mappings of com ports)

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:09 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.33: +43 -15 lines
Diff to previous 1.33 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:34:03 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.37: +27 -12 lines
Diff to previous 1.37 (colored) next main 1.38 (colored) to selected 1.92.2.6 (colored)

sync with head - hopefully this will work

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Tue Apr 11 11:53:47 2006 UTC (17 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.34.2.2: +21 -6 lines
Diff to previous 1.34.2.2 (colored) to branchpoint 1.34 (colored) to selected 1.92.2.6 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Sun Apr 9 19:28:01 2006 UTC (17 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.39: +21 -3 lines
Diff to previous 1.39 (colored) to selected 1.92.2.6 (colored)

Add support for ACPI in xen-3 dom0 support. We can now boot a xen-3 dom0
kernel with a default xen comamnd line.

Revision 1.18.2.9 / (download) - annotate - [select for diffs], Fri Apr 7 12:51:25 2006 UTC (17 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.18.2.8: +27 -14 lines
Diff to previous 1.18.2.8 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Apply patch (requested by bouyer in ticket #1245):
Pull up Xen3 domU support. This adds support for the Xen-3 memory bootstrap,
xenstore, and block and network device frontend. Xen-3 support is turned
on by 'options XEN3', which disable Xen-2 support.
Changes affecting non-xen3 specific code:
- xbd and xennet at hypervisor now attaches with xbd_hypervisor and
  xennet_hypervisor
- x86_atomic_* renamed to xen_atomic_*
- use genassim.cf to pull in more constant from include files for assembly
- Map the shared info page from locore.S instead of the 0xffffffff hack
  in xen_machdep.c
- remove some unused code
- some __asm__ __volatile__ -> __asm volatile and __inline__ -> inline
- more debug code

Revision 1.39 / (download) - annotate - [select for diffs], Tue Apr 4 03:13:12 2006 UTC (17 years, 11 months ago) by gdamore
Branch: MAIN
Changes since 1.38: +1 -4 lines
Diff to previous 1.38 (colored) to selected 1.92.2.6 (colored)

Convert existing ath users to new Makefile, except for amd64, which needs
the rules due to needing to conditionally postprocess the HAL object file.

Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:35 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.34.2.1: +7 -7 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.18.2.8 / (download) - annotate - [select for diffs], Wed Mar 29 21:18:29 2006 UTC (18 years ago) by tron
Branch: netbsd-3
Changes since 1.18.2.7: +6 -1 lines
Diff to previous 1.18.2.7 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Apply patch (requested by bouyer in ticket #1231):
Add support for ath at pci for XEN domain0.

Revision 1.37.4.1 / (download) - annotate - [select for diffs], Tue Mar 28 09:46:22 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.37: +7 -7 lines
Diff to previous 1.37 (colored) to selected 1.92.2.6 (colored)

Merge 2006-03-28 NetBSD-current into the "peter-altq" branch.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Mar 19 00:36:09 2006 UTC (18 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.37: +7 -7 lines
Diff to previous 1.37 (colored) to selected 1.92.2.6 (colored)

Add a block device frontend driver for Xen-3. xbd at hypervisor now
attaches with xbd_hypervisor, adjust CFATTACH_DECL().

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:03 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.34: +16 -3 lines
Diff to previous 1.34 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Mar 6 22:04:18 2006 UTC (18 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2, peter-altq-base
Branch point for: peter-altq, elad-kernelauth
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.92.2.6 (colored)

Fix build issues that didn't show up in my private tree.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Mar 6 20:36:12 2006 UTC (18 years ago) by bouyer
Branch: MAIN
Changes since 1.35: +5 -3 lines
Diff to previous 1.35 (colored) to selected 1.92.2.6 (colored)

Add a Xen Virtual Network device driver for Xenbus.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Mar 6 20:34:09 2006 UTC (18 years ago) by bouyer
Branch: MAIN
Changes since 1.34: +12 -1 lines
Diff to previous 1.34 (colored) to selected 1.92.2.6 (colored)

pull in the grant table and Xenbus interfaces, and attach xenbus at hypervisor.

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

sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Feb 12 18:16:01 2006 UTC (18 years, 1 month ago) by tron
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.92.2.6 (colored)

Share Intel hardware random number generator support between amd64 and
i386 port. This will benefit EM64T systems using Intel i9xx chipsets.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:42 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jan 15 22:09:51 2006 UTC (18 years, 2 months ago) by bouyer
Branch: MAIN
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.32: +6 -6 lines
Diff to previous 1.32 (colored) to selected 1.92.2.6 (colored)

Snapshot of work in progress on NetBSD port to Xen3:
- kernel (both dom0 and domU) boot, console is functionnal and it can starts
  software from a ramdisk
- there is no driver front-end expect console for domU yet.
- dom0 can probe devices and ex(4) work when Xen3 is booted without acpi
  and apic support. But the on-board IDE doens't get interrupts.
  The PCI code still needs work (it's hardcoded to mode 1). Some of this
  code should be shared with ../x86
  The physical insterrupt code needs to get MPBIOS and ACPI support, and
  do interrupt routing to properly interract with Xen.
To enable Xen-3.0 support, add
options XEN3
to your kernel config file (this will disable Xen2 support)
Changes affecting Xen-2.0 support (no functionnal changes intended):
- get more constants from genassym for assembly code
- remove some unneeded registers move from start()
- map the shared info page from start(), and remove the pte = 0xffffffff hack
- vector.S: in hypervisor_callback() make sure %esi points to
  HYPERVISOR_shared_info before accessing the info page. Remplace some
  hand-written assembly with the equivalent macro defined in frameasm.h
- more debug code, dissabled by default.

while here added my copyright on some files I worked on in 2005.

Revision 1.18.2.7 / (download) - annotate - [select for diffs], Thu Jan 5 05:28:11 2006 UTC (18 years, 2 months ago) by riz
Branch: netbsd-3
Changes since 1.18.2.6: +7 -6 lines
Diff to previous 1.18.2.6 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1083):
	sys/arch/xen/xen/hypervisor.c: revision 1.16
	sys/arch/xen/xen/if_xennet.c: revision 1.31
	sys/arch/xen/conf/files.xen: revision 1.29
	sys/arch/xen/xen/xbd.c: revision 1.22
Define a xendevbus atttibute and add it to hypervisor.  Use it for xen devices
which attach to hypervisor. This allows to use config_found_ia() instead of
config_found(), instead of relying on the order of which device are
written in ioconf.c.
From Quentin Garnier.

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

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

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

Revision 1.12.2.8 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:45 2005 UTC (18 years, 3 months ago) by christos
Branch: ktrace-lwp
Changes since 1.12.2.7: +3 -5 lines
Diff to previous 1.12.2.7 (colored) next main 1.13 (colored) to selected 1.92.2.6 (colored)

Sync with head.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:06 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.30: +3 -5 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.92.2.6 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 21 22:15:13 2005 UTC (18 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, ktrace-lwp-base
Changes since 1.30: +3 -5 lines
Diff to previous 1.30 (colored) to selected 1.92.2.6 (colored)

Sync with i386/conf/GENERIC:
- add a buch of PCI storage devices
- add firewire devices
- add some missing PCI network devices
- add serial and parallel PCI adapters
- add lpt0 at isa
- add com1 at isa
  com0 not added for the benefit of serial console users (it will conflicts
  with the Xen kernel).
XXX this means that setups with serial console on com1 will now break with the
default kernel.
Use userconf(4) (add -c to kernel command line) or change your setup to
com0 instead (most bios allows arbitrary mappings of com ports)

Revision 1.12.2.7 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:20 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.6: +42 -31 lines
Diff to previous 1.12.2.6 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD. Here we go again...

Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 7 11:42:34 2005 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored) to selected 1.92.2.6 (colored)

some assym cleanup.
- move copyin and friends from locore.S to their own file, copy.S.
  share it between i386 and xen.
- defparam KERNBASE and kill KERNBASE_LOCORE hack.
- add more symbols to assym.h and use it where appropriate.

Revision 1.18.2.6 / (download) - annotate - [select for diffs], Thu Aug 25 20:49:54 2005 UTC (18 years, 7 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.18.2.5: +2 -1 lines
Diff to previous 1.18.2.5 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #696):
	sys/arch/xen/x86/xen_bus_dma.c: revision 1.1
	sys/arch/xen/include/bus_private.h: revision 1.2
	sys/arch/xen/conf/files.xen: revision 1.28
Deal with the machine address space being non-contigous in bus_dmamem_alloc():
- Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to
  find the upper bound for our machine address space (and this can change
  when we swap pages with the hypervisor).
- implement _xen_bus_dmamem_alloc_range(), which will request a contigous
  set of pages to the hypervisor if the pages returned by uvm_pglistalloc()
  don't fit the constraints.
We can't deal with the low/high constraints yet, because Xen doesn't offer a
way to get pages in a specific ranges of addresses.
Based on patches from Dave Thompson (in private mail), with heavy hacking
by me.

Revision 1.18.2.5 / (download) - annotate - [select for diffs], Thu Aug 25 20:16:21 2005 UTC (18 years, 7 months ago) by tron
Branch: netbsd-3
Changes since 1.18.2.4: +19 -19 lines
Diff to previous 1.18.2.4 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Pull up following revision(s) (requested by bouyer in ticket #694):
	sys/arch/xen/xen/hypervisor.c: revision 1.15
	sys/arch/xen/xen/evtchn.c: revision 1.16
	sys/arch/xen/conf/files.xen: revision 1.27
	sys/arch/xen/i386/machdep.c: revision 1.18
Make PCI devices usable for non-domain0 kernels. Based on patches sent by
Ceri Storey to port-xen, with some additionnal changes by me:
- include bus_dma.c, bus_space.c and pci_machdep.c if pci is defined
  instead of dom0ops
- Make various initialisations, and probe/attach pci busses based on NPCI
  instead of DOM0OPS
- in conf/files.xen, move xen-specific devices before non-xen specific devices
  so that the xen-specific match function is called first, to avoid false
  attachement from too liberal match function in non-xen code.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Aug 21 22:20:28 2005 UTC (18 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.28: +7 -6 lines
Diff to previous 1.28 (colored) to selected 1.92.2.6 (colored)

Define a xendevbus atttibute and add it to hypervisor.  Use it for xen devices
which attach to hypervisor. This allows to use config_found_ia() instead of
config_found(), instead of relying on the order of which device are
written in ioconf.c.
From Quentin Garnier.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Aug 20 19:30:37 2005 UTC (18 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) to selected 1.92.2.6 (colored)

Deal with the machine address space being non-contigous in bus_dmamem_alloc():
- Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to
  find the upper bound for our machine address space (and this can change
  when we swap pages with the hypervisor).
- implement _xen_bus_dmamem_alloc_range(), which will request a contigous
  set of pages to the hypervisor if the pages returned by uvm_pglistalloc()
  don't fit the constraints.
We can't deal with the low/high constraints yet, because Xen doesn't offer a
way to get pages in a specific ranges of addresses.

Based on patches from Dave Thompson (in private mail), with heavy hacking
by me.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Aug 19 16:06:12 2005 UTC (18 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.26: +20 -20 lines
Diff to previous 1.26 (colored) to selected 1.92.2.6 (colored)

Make PCI devices usable for non-domain0 kernels. Based on patches sent by
Ceri Storey to port-xen, with some additionnal changes by me:
- include bus_dma.c, bus_space.c and pci_machdep.c if pci is defined
  instead of dom0ops
- Make various initialisations, and probe/attach pci busses based on NPCI
  instead of DOM0OPS
- in conf/files.xen, move xen-specific devices before non-xen specific devices
  so that the xen-specific match function is called first, to avoid false
  attachement from too liberal match function in non-xen code.

Revision 1.18.2.4 / (download) - annotate - [select for diffs], Thu Aug 18 20:42:47 2005 UTC (18 years, 7 months ago) by tron
Branch: netbsd-3
Changes since 1.18.2.3: +13 -1 lines
Diff to previous 1.18.2.3 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Pull up revision 1.26 (requested by yamt in ticket #675):
include cardbus/pcmcia.
XXX 32bit cards don't work due to the way how xen handles
pci configuration space.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Jul 15 07:56:22 2005 UTC (18 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.25: +13 -1 lines
Diff to previous 1.25 (colored) to selected 1.92.2.6 (colored)

include cardbus/pcmcia.

XXX 32bit cards don't work due to the way how xen handles
pci configuration space.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 25 23:09:54 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored) to selected 1.92.2.6 (colored)

Don't include files.ath any more, it's disappeared.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 22 06:14:51 2005 UTC (18 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.92.2.6 (colored)

Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD.  Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]).  Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Jun 19 20:22:26 2005 UTC (18 years, 9 months ago) by chs
Branch: MAIN
Changes since 1.22: +6 -1 lines
Diff to previous 1.22 (colored) to selected 1.92.2.6 (colored)

add ath stuff.

Revision 1.22 / (download) - annotate - [select for diffs], Mon May 16 12:05:50 2005 UTC (18 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.92.2.6 (colored)

arch/i386/i386/linux_trap.c -> arch/x86/x86/linux_trap.c

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:29 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.14: +56 -33 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.92.2.6 (colored)

sync with -current

Revision 1.18.2.3 / (download) - annotate - [select for diffs], Mon Apr 25 13:50:07 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.18.2.2: +2 -2 lines
Diff to previous 1.18.2.2 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Pull up revision 1.21 (requested by bouyer in ticket #190):
Add sysmon_power attribute to hypervisor, and an handler for CMSG_SHUTDOWN
messages.
Now a NetBSD guest will reboot or shutdown on 'xm shutdown' commands in
domain0.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Mon Apr 25 13:41:30 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.18.2.1: +0 -9 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) to selected 1.92.2.6 (colored)

Pull up revision 1.20 (requested by bouyer in ticket #186):
Remove
xenkbc at hypervisor
vga at hypervisor
they have been obsoleted by PCI and ISA support, and don't compile any more.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Thu Apr 21 18:41:11 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.92.2.6 (colored)

Pull up revision 1.19 (requested by yamt in ticket #175):
tweak x86 bus_dma code so that it can be used by xen port.
- distinguish paddr_t and bus_addr_t.
  for xen, use bus_addr_t in the sense of machine address.
- move _X86_BUS_DMA_PRIVATE part of bus.h into bus_private.h.
- remove special handling of xen_shm.  we can always grab
  machine address from pte.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 18 21:33:21 2005 UTC (18 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.92.2.6 (colored)

Add sysmon_power attribute to hypervisor, and an handler for CMSG_SHUTDOWN
messages.
Now a NetBSD guest will reboot or shutdown on 'xm shutdown' commands in
domain0.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Apr 17 14:44:14 2005 UTC (18 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.19: +1 -10 lines
Diff to previous 1.19 (colored) to selected 1.92.2.6 (colored)

Remove
xenkbc at hypervisor
vga at hypervisor
they have been obsoleted by PCI and ISA support, and don't compile any more.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Apr 16 07:53:35 2005 UTC (18 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.92.2.6 (colored)

tweak x86 bus_dma code so that it can be used by xen port.

- distinguish paddr_t and bus_addr_t.
  for xen, use bus_addr_t in the sense of machine address.
- move _X86_BUS_DMA_PRIVATE part of bus.h into bus_private.h.
- remove special handling of xen_shm.  we can always grab
  machine address from pte.

Revision 1.12.2.6 / (download) - annotate - [select for diffs], Fri Apr 1 14:28:58 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.5: +55 -23 lines
Diff to previous 1.12.2.5 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:21 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.14: +55 -23 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.92.2.6 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Mar 11 20:44:37 2005 UTC (19 years ago) by bouyer
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.92.2.6 (colored)

Define xen devices in i386/conf/majors.i386. This makes sure there won't
be conflics with regular i386 kernels.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 9 22:39:20 2005 UTC (19 years ago) by bouyer
Branch: MAIN
Changes since 1.16: +54 -22 lines
Diff to previous 1.16 (colored) to selected 1.92.2.6 (colored)

Merge the bouyer-xen2 branch. This add supports for the Xen 2.0 virtual
machine kernel (both privileged and non-privileged domains), and remove support
for the old xen 1.2.

Revision 1.14.4.10 / (download) - annotate - [select for diffs], Tue Mar 8 14:05:01 2005 UTC (19 years ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14.4.9: +19 -5 lines
Diff to previous 1.14.4.9 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.92.2.6 (colored)

Add support for ISA bus.
Clean up console attachement, and add support for VGA/pckbc console.
Add support for USB devices, including USB audio (which means others audio
  devices should work too)
Add some more generic options to XEN0.

Revision 1.14.4.9 / (download) - annotate - [select for diffs], Wed Feb 16 14:01:47 2005 UTC (19 years, 1 month ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14.4.8: +4 -1 lines
Diff to previous 1.14.4.8 (colored) to branchpoint 1.14 (colored) to selected 1.92.2.6 (colored)

Glue xen_shm and the block and network backends to the system.

Revision 1.14.4.8 / (download) - annotate - [select for diffs], Sat Feb 12 22:07:15 2005 UTC (19 years, 1 month ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14.4.7: +1 -2 lines
Diff to previous 1.14.4.7 (colored) to branchpoint 1.14 (colored) to selected 1.92.2.6 (colored)

xen/machmem.c doesn't exists any more.

Revision 1.14.4.7 / (download) - annotate - [select for diffs], Fri Feb 4 19:37:39 2005 UTC (19 years, 1 month ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14.4.6: +1 -2 lines
Diff to previous 1.14.4.6 (colored) to branchpoint 1.14 (colored) to selected 1.92.2.6 (colored)

Commit to the right branch this time: vfr.c doesn't exists any more.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 4 05:59:23 2005 UTC (19 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored) to selected 1.92.2.6 (colored)

vfr.c is still needed on the trunk or GENERIC doesn't compile...

Revision 1.15 / (download) - annotate - [select for diffs], Thu Feb 3 21:38:59 2005 UTC (19 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored) to selected 1.92.2.6 (colored)

vfr.c doesn't exists any more.

Revision 1.14.4.6 / (download) - annotate - [select for diffs], Mon Jan 31 17:21:16 2005 UTC (19 years, 2 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14.4.5: +5 -1 lines
Diff to previous 1.14.4.5 (colored) to branchpoint 1.14 (colored) to selected 1.92.2.6 (colored)

First pieces of domain control operations:
- use an up to date xenio.h
- update privcmd.c for newer ioctls (incomplete, some just return an error for
  now)
- add a /dev/xenevt pseudo-device, which provide to userland an interface to
  xen events
Now xend starts, and basic xm commands (such as list) work.

Revision 1.14.4.5 / (download) - annotate - [select for diffs], Thu Jan 20 12:31:35 2005 UTC (19 years, 2 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14.4.4: +2 -2 lines
Diff to previous 1.14.4.4 (colored) to branchpoint 1.14 (colored) to selected 1.92.2.6 (colored)

bus_dma(9) for xen. Derived from arch/x86/x86/bus_dma.c.
bounce buffers not supported yet, because xen doesn't have an interface
to request memory in a specific range (this means that DMA on ISA won't
be supported), but I've left the code commented out because xen will
likely provide an appropriate hypercall in the future.

Revision 1.14.4.4 / (download) - annotate - [select for diffs], Wed Jan 19 10:24:22 2005 UTC (19 years, 2 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14.4.3: +4 -4 lines
Diff to previous 1.14.4.3 (colored) to branchpoint 1.14 (colored) to selected 1.92.2.6 (colored)

We can't attach {cd,wd,sd} at hypervisor, this conflicts with scsipi.

Revision 1.14.4.3 / (download) - annotate - [select for diffs], Tue Jan 18 15:09:04 2005 UTC (19 years, 2 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14.4.2: +25 -13 lines
Diff to previous 1.14.4.2 (colored) to branchpoint 1.14 (colored) to selected 1.92.2.6 (colored)

snapshot of work in progress on physical devices support:
- support pci at hypervisor. Attach one PCI bus for each bus returned by
  PHYSDEVOP_PCI_PROBE_ROOT_BUSES (it looks like xen hides ppb bridges from
  the guest OS).
- implement pci_conf_read()/pci_conf_write() using the appropriate
  PHYSDEVOP_PCI_* calls.
- call PHYSDEVOP_PCI_INITIALISE_DEVICE from pci_intr_map() to make xen
  do interrupts routing if needed, and map the hardware interrupt to
  a xen interrupt.
- add pci and associated devices to files.xen

This is enouth to have IDE controllers work in PIO mode.
TODO: bus_dma support (currently bus_dma won't translate pseudo-physical
      addresses to machine addresses), ISA support, test memory-mapped
      I/O registers.

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Fri Dec 17 10:13:32 2004 UTC (19 years, 3 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14.4.1: +13 -11 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored) to selected 1.92.2.6 (colored)

Merge changes between 2.0 and -current:
XEN: up to 1.14
files.xen: 1.12 - 1.14

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Dec 13 17:52:20 2004 UTC (19 years, 3 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.14: +13 -14 lines
Diff to previous 1.14 (colored) to selected 1.92.2.6 (colored)

Commit files from netbsd-2.0-xen-sparse/sys/arch/xen in the Xen-2.0
distribution. These are the files modified from the 2.0 tree to get
NetBSD/xen working with Xen 2.

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:24:36 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.4: +1 -1 lines
Diff to previous 1.12.2.4 (colored) to selected 1.92.2.6 (colored)

Fix the sync with head I botched.

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:43 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.3: +1 -4 lines
Diff to previous 1.12.2.3 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 14 16:51:58 2004 UTC (19 years, 6 months ago) by jdolecek
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, bouyer-xen2-base
Branch point for: yamt-km, kent-audio2, bouyer-xen2
Changes since 1.13: +1 -4 lines
Diff to previous 1.13 (colored) to selected 1.92.2.6 (colored)

do not include "compat/aout/files.aout", COMPAT_AOUT is soon to be removed

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Fri Sep 3 12:45:09 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.2: +13 -8 lines
Diff to previous 1.12.2.2 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

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

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

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:43:10 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.2.1: +231 -0 lines
Diff to previous 1.12.2.1 (colored) to selected 1.92.2.6 (colored)

Sync with HEAD

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sat May 22 15:59:02 2004 UTC (19 years, 10 months ago) by he
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-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
Changes since 1.3: +49 -17 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.92.2.6 (colored)

Pull up revisions 1.4-1.12 (requested by cl in ticket #337):
	Upgrade xen support:
	 - add block device driver
	 - network device driver bug fixes
	 - support for vga/keyboard/mouse
	 - support for domain0 operations
	 - fix /dev/mem and i386_iopl, reboot, event dispatch
	 - fix clock support, cpu speed report, lazy fpu switching
	 - add xen12load loader
	 - sys/arch/xen parts of build.sh release support
	[cl, ticket #337]

Revision 1.12.2.1, Fri May 7 15:51:04 2004 UTC (19 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12: +0 -231 lines
FILE REMOVED

file files.xen was added on branch ktrace-lwp on 2004-08-03 10:43:10 +0000

Revision 1.12 / (download) - annotate - [select for diffs], Fri May 7 15:51:04 2004 UTC (19 years, 10 months ago) by cl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.11: +7 -1 lines
Diff to previous 1.11 (colored) to selected 1.92.2.6 (colored)

Add support for domain0 operations:
- access to all physical memory
- access to hypervisor traps from userland
- setup/config Xen's network routing/firewall rules

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 25 23:46:07 2004 UTC (19 years, 11 months ago) by cl
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.92.2.6 (colored)

Add support for i386_iopl.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 24 21:33:32 2004 UTC (19 years, 11 months ago) by cl
Branch: MAIN
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored) to selected 1.92.2.6 (colored)

Add keyboard support and wscons config options.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 24 20:58:59 2004 UTC (19 years, 11 months ago) by cl
Branch: MAIN
Changes since 1.8: +7 -3 lines
Diff to previous 1.8 (colored) to selected 1.92.2.6 (colored)

Add vga display support.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Apr 24 20:05:49 2004 UTC (19 years, 11 months ago) by cl
Branch: MAIN
Changes since 1.7: +14 -2 lines
Diff to previous 1.7 (colored) to selected 1.92.2.6 (colored)

Allow the block device driver to impersonate wd/sd/cd devices.  This allows
for most system seamless migration from a NetBSD/i386 setup to a NetBSD/xen
setup without changing /etc/fstab or creating additional device nodes.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 24 19:18:01 2004 UTC (19 years, 11 months ago) by cl
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.92.2.6 (colored)

Make bus_space map machine addresses instead of physical addresses.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Apr 24 18:24:14 2004 UTC (19 years, 11 months ago) by cl
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5 (colored) to selected 1.92.2.6 (colored)

Consistently use xencons for eveything reffering to Xen's virtual console.

rename arch/xen/xen/console.c -> arch/xen/xen/xencons.c

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 24 17:35:27 2004 UTC (19 years, 11 months ago) by cl
Branch: MAIN
Changes since 1.4: +12 -7 lines
Diff to previous 1.4 (colored) to selected 1.92.2.6 (colored)

Add ``hypervisor at mainbus'' and attach all devices provided by the
hypervisor to it instead of mainbus.

rename arch/xen/i386/hypervisor.c -> arch/xen/i386/hypervisor_machdep.c

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 17 12:56:27 2004 UTC (19 years, 11 months ago) by cl
Branch: MAIN
Changes since 1.3: +5 -6 lines
Diff to previous 1.3 (colored) to selected 1.92.2.6 (colored)

add block device driver

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 25 15:26:35 2004 UTC (20 years ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.92.2.6 (colored)

Backout previous -- this is not enough, config needs to be taught
how to reach partitions above h. Noted by Simon Burge, related to
PR 24905.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Mar 25 12:41:54 2004 UTC (20 years ago) by wiz
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.92.2.6 (colored)

Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
Addresses PR 24905 by Simon Burge.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 11 21:44:08 2004 UTC (20 years ago) by cl
Branch: MAIN
Diff to selected 1.92.2.6 (colored)

Add port to the Xen virtual machine monitor.
(see http://www.cl.cam.ac.uk/Research/SRG/netos/xen/)

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>