Up to [cvs.NetBSD.org] / src / sys / arch / xen / conf
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.129 / (download) - annotate - [select for diffs], Wed Oct 3 18:58:32 2012 UTC (7 months, 2 weeks ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-nbase,
tls-maxphys-base,
khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.128: +1 -5
lines
Diff to previous 1.128 (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 (8 months, 2 weeks ago) by drochner
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.127: +2 -1
lines
Diff to previous 1.127 (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 (10 months, 3 weeks ago) by jym
Branch: MAIN
Changes since 1.126: +2 -2
lines
Diff to previous 1.126 (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.126 / (download) - annotate - [select for diffs], Mon May 7 17:45:29 2012 UTC (12 months, 1 week 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)
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.125 / (download) - annotate - [select for diffs], Sat Jan 14 04:22:56 2012 UTC (16 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-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
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)
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 (16 months ago) by cegger
Branch: MAIN
Changes since 1.123: +5 -1
lines
Diff to previous 1.123 (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.123 / (download) - annotate - [select for diffs], Thu Sep 22 23:02:34 2011 UTC (19 months, 3 weeks 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)
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.122 / (download) - annotate - [select for diffs], Wed Aug 10 11:39:45 2011 UTC (21 months, 1 week 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)
xen ipi infrastructure
Revision 1.121 / (download) - annotate - [select for diffs], Mon Jun 13 00:53:15 2011 UTC (23 months, 1 week ago) by pgoyette
Branch: MAIN
Changes since 1.120: +2 -1
lines
Diff to previous 1.120 (colored)
Include required file for xen acpi
Revision 1.120 / (download) - annotate - [select for diffs], Sun Jun 12 16:31:57 2011 UTC (23 months, 1 week ago) by jruoho
Branch: MAIN
Changes since 1.119: +3 -2
lines
Diff to previous 1.119 (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 (23 months, 1 week ago) by rmind
Branch: MAIN
Changes since 1.118: +2 -3
lines
Diff to previous 1.118 (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.118 / (download) - annotate - [select for diffs], Tue Apr 26 16:57:41 2011 UTC (2 years 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)
Remove PECOFF/Win32 emulation.
Revision 1.117 / (download) - annotate - [select for diffs], Tue Apr 26 15:51:25 2011 UTC (2 years ago) by joerg
Branch: MAIN
Changes since 1.116: +1 -13
lines
Diff to previous 1.116 (colored)
Remove Darwin, MACH and Mach-O support.
Revision 1.116 / (download) - annotate - [select for diffs], Mon Apr 18 01:36:25 2011 UTC (2 years, 1 month ago) by jym
Branch: MAIN
Changes since 1.115: +7 -3
lines
Diff to previous 1.115 (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 (2 years, 1 month ago) by cegger
Branch: MAIN
Changes since 1.114: +5 -4
lines
Diff to previous 1.114 (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 (2 years, 1 month ago) by dyoung
Branch: MAIN
Changes since 1.113: +5 -1
lines
Diff to previous 1.113 (colored)
Clean up excessive #ifdef'age of NMI trap handling for amd64/i386/xen. Handle NMI in all Xen kernels.
Revision 1.113 / (download) - annotate - [select for diffs], Thu Feb 24 10:56:03 2011 UTC (2 years, 2 months ago) by jruoho
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.112: +5 -11
lines
Diff to previous 1.112 (colored)
Move PowerNow! to the cpufeaturebus.
Revision 1.112 / (download) - annotate - [select for diffs], Thu Feb 24 04:42:54 2011 UTC (2 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.111: +12 -4
lines
Diff to previous 1.111 (colored)
Add cpufeaturebus and est(4) for Xen.
Revision 1.111 / (download) - annotate - [select for diffs], Wed Feb 23 11:43:23 2011 UTC (2 years, 2 months ago) by jruoho
Branch: MAIN
Changes since 1.110: +1 -7
lines
Diff to previous 1.110 (colored)
Move ENHANCED_SPEEDSTEP, or henceforth est(4), to the cpufeaturebus.
Revision 1.110 / (download) - annotate - [select for diffs], Thu Dec 2 23:12:30 2010 UTC (2 years, 5 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)
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.109 / (download) - annotate - [select for diffs], Thu Jul 8 11:25:00 2010 UTC (2 years, 10 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)
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 (2 years, 10 months ago) by cherry
Branch: MAIN
Changes since 1.107: +3 -2
lines
Diff to previous 1.107 (colored)
The Xen balloon driver enables growing and shrinking PV domains on the fly, by collaborating with UVM and the hypervisor
Revision 1.107 / (download) - annotate - [select for diffs], Mon May 10 18:46:58 2010 UTC (3 years ago) by dyoung
Branch: MAIN
Changes since 1.106: +2 -1
lines
Diff to previous 1.106 (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.106 / (download) - annotate - [select for diffs], Tue Nov 3 05:23:28 2009 UTC (3 years, 6 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)
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.105 / (download) - annotate - [select for diffs], Mon Oct 5 23:59:31 2009 UTC (3 years, 7 months ago) by rmind
Branch: MAIN
Changes since 1.104: +1 -3
lines
Diff to previous 1.104 (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.104 / (download) - annotate - [select for diffs], Sun Aug 16 15:35:52 2009 UTC (3 years, 9 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)
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 (3 years, 9 months ago) by jym
Branch: MAIN
Changes since 1.102: +20 -1
lines
Diff to previous 1.102 (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 (3 years, 9 months ago) by cegger
Branch: MAIN
Changes since 1.101: +20 -30
lines
Diff to previous 1.101 (colored)
remove Xen2 support. ok bouyer@
Revision 1.101 / (download) - annotate - [select for diffs], Fri Jul 24 21:22:22 2009 UTC (3 years, 9 months ago) by dyoung
Branch: MAIN
Changes since 1.100: +1 -2
lines
Diff to previous 1.100 (colored)
There's no such file as arch/i386/i386/core_machdep.c, so don't list it here.
Revision 1.100 / (download) - annotate - [select for diffs], Tue Jun 16 21:05:34 2009 UTC (3 years, 11 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)
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.99 / (download) - annotate - [select for diffs], Thu Apr 30 04:38:01 2009 UTC (4 years 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)
Include cpu_topology.c for xen kernels, too.
Revision 1.98 / (download) - annotate - [select for diffs], Sat Apr 18 11:26:58 2009 UTC (4 years, 1 month 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)
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 (4 years, 1 month ago) by cegger
Branch: MAIN
Changes since 1.96: +2 -3
lines
Diff to previous 1.96 (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 (4 years, 1 month ago) by rmind
Branch: MAIN
Changes since 1.95: +5 -9
lines
Diff to previous 1.95 (colored)
Sync with recent i386/amd64 source merges - fix Xen builds.
Revision 1.95 / (download) - annotate - [select for diffs], Thu Feb 19 02:49:41 2009 UTC (4 years, 2 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.94: +1 -2
lines
Diff to previous 1.94 (colored)
vesabios is no more
Revision 1.94 / (download) - annotate - [select for diffs], Sat Feb 14 20:22:59 2009 UTC (4 years, 3 months ago) by cube
Branch: MAIN
Changes since 1.93: +1 -3
lines
Diff to previous 1.93 (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 (4 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.92: +13 -3
lines
Diff to previous 1.92 (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.92 / (download) - annotate - [select for diffs], Sun Jan 18 20:50:43 2009 UTC (4 years, 4 months ago) by bouyer
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.91: +3 -5
lines
Diff to previous 1.91 (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.91 / (download) - annotate - [select for diffs], Sat Dec 20 12:41:19 2008 UTC (4 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.90: +1 -4
lines
Diff to previous 1.90 (colored)
- Kill NOREDZONE. - Make the redzone conditional on DIAGNOSTIC. - Give amd64 an additional page for the uarea. 2 is not enough.
Revision 1.90 / (download) - annotate - [select for diffs], Thu Nov 20 10:53:09 2008 UTC (4 years, 5 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)
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 (4 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.88: +2 -1
lines
Diff to previous 1.88 (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.88 / (download) - annotate - [select for diffs], Sun Aug 3 19:32:03 2008 UTC (4 years, 9 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)
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.87 / (download) - annotate - [select for diffs], Sun May 11 15:02:34 2008 UTC (5 years 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)
Update xen for identcpu changes.
Revision 1.86 / (download) - annotate - [select for diffs], Sat May 10 16:27:57 2008 UTC (5 years ago) by ad
Branch: MAIN
Changes since 1.85: +2 -1
lines
Diff to previous 1.85 (colored)
Make xen build after tsc changes.
Revision 1.85 / (download) - annotate - [select for diffs], Fri May 9 18:11:29 2008 UTC (5 years ago) by joerg
Branch: MAIN
Changes since 1.84: +1 -2
lines
Diff to previous 1.84 (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 (5 years 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)
Include null IPI functions if !MULTIPROCESSOR.
Revision 1.83 / (download) - annotate - [select for diffs], Wed Feb 27 04:19:24 2008 UTC (5 years, 2 months 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)
fix longrun build borkage on i386
Revision 1.82 / (download) - annotate - [select for diffs], Wed Feb 20 21:43:35 2008 UTC (5 years, 2 months 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)
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.81 / (download) - annotate - [select for diffs], Thu Jan 31 13:46:33 2008 UTC (5 years, 3 months ago) by jmmv
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.80: +3 -1
lines
Diff to previous 1.80 (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 (5 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.79: +3 -7
lines
Diff to previous 1.79 (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.79 / (download) - annotate - [select for diffs], Wed Jan 16 09:37:08 2008 UTC (5 years, 4 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)
Remove options MATH_EMULATE.
Revision 1.78 / (download) - annotate - [select for diffs], Sat Jan 12 20:03:42 2008 UTC (5 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.77: +2 -1
lines
Diff to previous 1.77 (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 (5 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.76: +7 -8
lines
Diff to previous 1.76 (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.76 / (download) - annotate - [select for diffs], Tue Jan 1 20:32:11 2008 UTC (5 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.75: +3 -1
lines
Diff to previous 1.75 (colored)
try to detect processor resource sharing topologies. ie. package/core/smt IDs.
Revision 1.75 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:28 2007 UTC (5 years, 5 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)
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 (5 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.73: +2 -2
lines
Diff to previous 1.73 (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 (5 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.72: +2 -2
lines
Diff to previous 1.72 (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 (5 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.71: +1 -1
lines
Diff to previous 1.71 (colored)
- merge {i386,xen}/i386/trap.c.
- add a comment about a hack for xen2.
Revision 1.71 / (download) - annotate - [select for diffs], Thu Nov 22 16:16:47 2007 UTC (5 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.70: +106 -33
lines
Diff to previous 1.70 (colored)
Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support to NetBSD/Xen, both Dom0 and DomU.
Revision 1.70 / (download) - annotate - [select for diffs], Thu Nov 22 07:44:40 2007 UTC (5 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: bouyer-xenamd64-base
Changes since 1.69: +1 -2
lines
Diff to previous 1.69 (colored)
remove lock_machdep.c
Revision 1.69 / (download) - annotate - [select for diffs], Thu Nov 15 19:18:34 2007 UTC (5 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2
Changes since 1.68: +1 -4
lines
Diff to previous 1.68 (colored)
Remove support for 80386 level CPUs. PR port-i386/36163.
Revision 1.68 / (download) - annotate - [select for diffs], Fri Oct 26 22:33:23 2007 UTC (5 years, 6 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)
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 (5 years, 6 months ago) by xtraeme
Branch: MAIN
Changes since 1.66: +2 -2
lines
Diff to previous 1.66 (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 (5 years, 6 months ago) by xtraeme
Branch: MAIN
Changes since 1.65: +2 -2
lines
Diff to previous 1.65 (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.65 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:18 2007 UTC (5 years, 7 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.64: +1 -1
lines
Diff to previous 1.64 (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.64 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:44 2007 UTC (5 years, 7 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)
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.63 / (download) - annotate - [select for diffs], Sat Jul 7 05:13:17 2007 UTC (5 years, 10 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)
Remove leftover netns stuff.
Revision 1.62 / (download) - annotate - [select for diffs], Thu Jun 28 20:07:00 2007 UTC (5 years, 10 months ago) by alc
Branch: MAIN
Changes since 1.61: +10 -4
lines
Diff to previous 1.61 (colored)
- add ichlpcib to XEN2 config file - few cosmetics tested with XEN2 and XEN3 kernel ok bouyer@
Revision 1.61 / (download) - annotate - [select for diffs], Thu May 17 14:51:35 2007 UTC (6 years ago) by yamt
Branch: MAIN
Changes since 1.60: +3 -1
lines
Diff to previous 1.60 (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.60 / (download) - annotate - [select for diffs], Sat May 12 07:06:54 2007 UTC (6 years ago) by jld
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.59: +1 -2
lines
Diff to previous 1.59 (colored)
Convert the xen port to use timecounters; ok'ed by bouyer@.
Revision 1.59 / (download) - annotate - [select for diffs], Mon Apr 16 19:12:19 2007 UTC (6 years, 1 month ago) by ad
Branch: MAIN
Branch point for: ppcoea-renovation
Changes since 1.58: +2 -2
lines
Diff to previous 1.58 (colored)
Share the sysarch stuff between the x86 ports. PR kern/36046.
Revision 1.58 / (download) - annotate - [select for diffs], Tue Apr 10 03:01:08 2007 UTC (6 years, 1 month 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)
include files.wsfb
Revision 1.57 / (download) - annotate - [select for diffs], Mon Mar 5 16:51:03 2007 UTC (6 years, 2 months 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)
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.56 / (download) - annotate - [select for diffs], Sun Feb 18 18:15:41 2007 UTC (6 years, 3 months 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)
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 (6 years, 3 months 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)
Merge newlock2 to head.
Revision 1.54 / (download) - annotate - [select for diffs], Mon Dec 18 20:07:36 2006 UTC (6 years, 5 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)
Use agp_machdep.c from the new location (x86, not i386).
Revision 1.53 / (download) - annotate - [select for diffs], Thu Oct 19 16:55:37 2006 UTC (6 years, 7 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)
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 (6 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.51: +2 -2
lines
Diff to previous 1.51 (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 (6 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.50: +2 -2
lines
Diff to previous 1.50 (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 (6 years, 7 months ago) by xtraeme
Branch: MAIN
Changes since 1.49: +4 -1
lines
Diff to previous 1.49 (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 (6 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.48: +12 -2
lines
Diff to previous 1.48 (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 (6 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.47: +21 -4
lines
Diff to previous 1.47 (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 (6 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.46: +2 -2
lines
Diff to previous 1.46 (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.46 / (download) - annotate - [select for diffs], Fri Aug 11 13:22:43 2006 UTC (6 years, 9 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)
"xm shutdown" support for xen3. ok'ed by Manuel Bouyer.
Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 12 15:02:15 2006 UTC (6 years, 10 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)
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 (6 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.43: +3 -1
lines
Diff to previous 1.43 (colored)
include files.apm
Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 2 16:35:24 2006 UTC (6 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.42: +3 -1
lines
Diff to previous 1.42 (colored)
block device backend driver for Xen3. Add pseudo-device xbdback in your config file to use.
Revision 1.42 / (download) - annotate - [select for diffs], Thu May 25 21:27:40 2006 UTC (6 years, 11 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)
Always include xen_shm_machdep.c for Xen3, theorically a domU could also provide backend services to other domains.
Revision 1.41 / (download) - annotate - [select for diffs], Tue May 23 21:10:42 2006 UTC (6 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5
Changes since 1.40: +3 -1
lines
Diff to previous 1.40 (colored)
Add a network backend driver for Xen3. This will appear as a xvif pseudo device in kernel config files.
Revision 1.40 / (download) - annotate - [select for diffs], Sun Apr 9 19:28:01 2006 UTC (7 years, 1 month 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)
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.39 / (download) - annotate - [select for diffs], Tue Apr 4 03:13:12 2006 UTC (7 years, 1 month ago) by gdamore
Branch: MAIN
Changes since 1.38: +1 -4
lines
Diff to previous 1.38 (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.38 / (download) - annotate - [select for diffs], Sun Mar 19 00:36:09 2006 UTC (7 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.37: +7 -7
lines
Diff to previous 1.37 (colored)
Add a block device frontend driver for Xen-3. xbd at hypervisor now attaches with xbd_hypervisor, adjust CFATTACH_DECL().
Revision 1.37 / (download) - annotate - [select for diffs], Mon Mar 6 22:04:18 2006 UTC (7 years, 2 months 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)
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 (7 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.35: +5 -3
lines
Diff to previous 1.35 (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 (7 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.34: +12 -1
lines
Diff to previous 1.34 (colored)
pull in the grant table and Xenbus interfaces, and attach xenbus at hypervisor.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Feb 12 18:16:01 2006 UTC (7 years, 3 months 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)
Share Intel hardware random number generator support between amd64 and i386 port. This will benefit EM64T systems using Intel i9xx chipsets.
Revision 1.33 / (download) - annotate - [select for diffs], Sun Jan 15 22:09:51 2006 UTC (7 years, 4 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)
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.32 / (download) - annotate - [select for diffs], Fri Dec 30 13:37:57 2005 UTC (7 years, 4 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)
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.31 / (download) - annotate - [select for diffs], Mon Nov 21 22:15:13 2005 UTC (7 years, 5 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)
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.30 / (download) - annotate - [select for diffs], Mon Nov 7 11:42:34 2005 UTC (7 years, 6 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)
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.29 / (download) - annotate - [select for diffs], Sun Aug 21 22:20:28 2005 UTC (7 years, 8 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)
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 (7 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.27: +2 -1
lines
Diff to previous 1.27 (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 (7 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.26: +20 -20
lines
Diff to previous 1.26 (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.26 / (download) - annotate - [select for diffs], Fri Jul 15 07:56:22 2005 UTC (7 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.25: +13 -1
lines
Diff to previous 1.25 (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 (7 years, 10 months ago) by dyoung
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.24: +1 -2
lines
Diff to previous 1.24 (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 (7 years, 10 months ago) by dyoung
Branch: MAIN
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (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 (7 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.22: +6 -1
lines
Diff to previous 1.22 (colored)
add ath stuff.
Revision 1.22 / (download) - annotate - [select for diffs], Mon May 16 12:05:50 2005 UTC (8 years ago) by yamt
Branch: MAIN
Changes since 1.21: +2 -2
lines
Diff to previous 1.21 (colored)
arch/i386/i386/linux_trap.c -> arch/x86/x86/linux_trap.c
Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 18 21:33:21 2005 UTC (8 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.20: +2 -2
lines
Diff to previous 1.20 (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 (8 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.19: +1 -10
lines
Diff to previous 1.19 (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 (8 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Fri Mar 11 20:44:37 2005 UTC (8 years, 2 months 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)
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 (8 years, 2 months ago) by bouyer
Branch: MAIN
Changes since 1.16: +54 -22
lines
Diff to previous 1.16 (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.16 / (download) - annotate - [select for diffs], Fri Feb 4 05:59:23 2005 UTC (8 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: yamt-km-base2,
matt-timespec
Changes since 1.15: +2 -1
lines
Diff to previous 1.15 (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 (8 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.14: +1 -2
lines
Diff to previous 1.14 (colored)
vfr.c doesn't exists any more.
Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 14 16:51:58 2004 UTC (8 years, 8 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)
do not include "compat/aout/files.aout", COMPAT_AOUT is soon to be removed
Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 30 15:05:19 2004 UTC (8 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.12: +13 -8
lines
Diff to previous 1.12 (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 / (download) - annotate - [select for diffs], Fri May 7 15:51:04 2004 UTC (9 years ago) by cl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.11: +7 -1
lines
Diff to previous 1.11 (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 (9 years ago) by cl
Branch: MAIN
Changes since 1.10: +2 -2
lines
Diff to previous 1.10 (colored)
Add support for i386_iopl.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 24 21:33:32 2004 UTC (9 years ago) by cl
Branch: MAIN
Changes since 1.9: +7 -1
lines
Diff to previous 1.9 (colored)
Add keyboard support and wscons config options.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 24 20:58:59 2004 UTC (9 years ago) by cl
Branch: MAIN
Changes since 1.8: +7 -3
lines
Diff to previous 1.8 (colored)
Add vga display support.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Apr 24 20:05:49 2004 UTC (9 years ago) by cl
Branch: MAIN
Changes since 1.7: +14 -2
lines
Diff to previous 1.7 (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 (9 years ago) by cl
Branch: MAIN
Changes since 1.6: +2 -2
lines
Diff to previous 1.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 (9 years ago) by cl
Branch: MAIN
Changes since 1.5: +4 -4
lines
Diff to previous 1.5 (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 (9 years ago) by cl
Branch: MAIN
Changes since 1.4: +12 -7
lines
Diff to previous 1.4 (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 (9 years, 1 month ago) by cl
Branch: MAIN
Changes since 1.3: +5 -6
lines
Diff to previous 1.3 (colored)
add block device driver
Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 25 15:26:35 2004 UTC (9 years, 1 month 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)
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 (9 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (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 (9 years, 2 months ago) by cl
Branch: MAIN
Add port to the Xen virtual machine monitor. (see http://www.cl.cam.ac.uk/Research/SRG/netos/xen/)