The NetBSD Project

CVS log for src/sys/arch/xen/include/xenpmap.h

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.37 / (download) - annotate - [select for diffs], Sat Jun 30 22:50:36 2012 UTC (10 months, 2 weeks ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, khorben-n900, agc-symver-base, agc-symver, HEAD
Changes since 1.36: +23 -5 lines
Diff to previous 1.36 (colored)

Extend the xpmap API, as described in [1]. This change is mechanical and
avoids exposing the MD phys_to_machine/machine_to_phys tables directly.
Added:

- xpmap_ptom handles PFN (pseudo physical) to MFN (machine frame number)
translations, and is under control of the domain.
- xpmap_mtop is its counterpart (MFN to PFN), and is under control of
hypervisor.

xpmap_ptom_map()      map a pseudo-phys address to a machine address
xpmap_ptom_unmap()    unmap a pseudo-phys address (invalidation)
xpmap_ptom_isvalid()  check for pseudo-phys address validity

The parameters are physical/machine addresses, like bus_dma/bus_space(9).
As x86 MFNs are tracked by u_long (Xen's choice) while machine addresses
can be 64 bits entities (PAE), use ptoa() to avoid truncation when bit
shifting by PAGE_SHIFT.

I kept the same namespace (xpmap_) to avoid code churn.

[1] http://mail-index.netbsd.org/port-xen/2009/05/09/msg004951.html

XXX will document ptoa/atop/trunc_page separately.

Revision 1.36 / (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.35: +4 -19 lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Sun Jun 24 18:31:52 2012 UTC (10 months, 3 weeks ago) by jym
Branch: MAIN
Changes since 1.34: +3 -6 lines
Diff to previous 1.34 (colored)

Enable the map/unmap recursive mapping functions for all Xen ports for
save/restore.

For an unknown reason (to me) Xen refuses to update VM translations
when the entry is pointing back to itself (which is precisely
what our recursive VM model does). So enable the functions that take
care of this, which will avoid all sort of memory corruption upon restore
leading domU to trample upon itself.

Save/restore works again for amd64. The occasional domU frontend corruption is
still present, but is harmless to dom0. Now we have a working shell and
ddb inside domU, that helps debugging a tiny bit.

XXX pull-up to -6.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Apr 20 22:23:24 2012 UTC (13 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Changes since 1.33: +7 -4 lines
Diff to previous 1.33 (colored)

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

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

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

Revision 1.33 / (download) - annotate - [select for diffs], Fri Dec 30 16:55:21 2011 UTC (16 months, 3 weeks ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.32: +5 -1 lines
Diff to previous 1.32 (colored)

per-cpu shadow directory pages should be updated locally via cross-calls. Do this.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Nov 23 00:56:56 2011 UTC (17 months, 4 weeks ago) by jym
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.31: +8 -1 lines
Diff to previous 1.31 (colored)

Move Xen-specific functions to Xen pmap. Requested by cherry@.

Un'ifdef XEN in xen_pmap.c, it is always defined there.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Nov 8 17:16:52 2011 UTC (18 months, 1 week ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base3, jmcneill-audiomp3-base, jmcneill-audiomp3
Changes since 1.30: +1 -8 lines
Diff to previous 1.30 (colored)

Expose the PG_k #define pt/pd bit to both xen and "baremetal" x86. This is required, since kernel pages are mapped with user permissions in XEN/amd64 since the VM kernel runs in ring3. Since XEN/i386(including PAE) runs in ring1, supervisor mode is appropriate for these ports. We need to share this since the pmap implementation is still shared. Once the xen implementation is sufficiently independant of the x86 one, this can be made private to xen/include/xenpmap.h

Revision 1.30 / (download) - annotate - [select for diffs], Sun Nov 6 11:40:47 2011 UTC (18 months, 2 weeks ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base2
Changes since 1.29: +8 -11 lines
Diff to previous 1.29 (colored)

[merging from cherry-xenmp] Make the xen MMU op queue locking api private. Implement per-cpu queues.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 13 11:41:57 2011 UTC (21 months, 1 week ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: yamt-pagecache
Changes since 1.28: +9 -1 lines
Diff to previous 1.28 (colored)

remove unnecessary locking overhead for UP

Revision 1.28 / (download) - annotate - [select for diffs], Wed Aug 10 09:50:37 2011 UTC (21 months, 1 week ago) by cherry
Branch: MAIN
Changes since 1.27: +10 -1 lines
Diff to previous 1.27 (colored)

Introduce locking primitives for Xen pte operations, and xen helper calls for MP related MMU ops

Revision 1.27 / (download) - annotate - [select for diffs], Fri Apr 29 22:45:41 2011 UTC (2 years ago) by jym
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.26: +9 -13 lines
Diff to previous 1.26 (colored)

Apply DRY: xpmap_{mtop,ptom}() can reuse xpmap_{mtop,ptom}_masked() for
the frame number lookup.

No functional change.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Apr 17 09:50:33 2011 UTC (2 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

apply some _KERNEL_OPT.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 10 00:23:14 2011 UTC (2 years, 3 months ago) by jym
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.24: +11 -2 lines
Diff to previous 1.24 (colored)

Use only one function to pin pages with Xen, and provide macros to
call it for different levels (L1 => L4).

Replace all calls to xpq_queue_pin_table(...) in MD code with these new
functions, with proper #ifdef'ing depending on $MACHINE.

Rationale:
- only one function to modify for logging
- pushes responsibility to caller for chosing the proper pin level, rather
than Xen internal functions; this makes the pin level explicit rather than
implicit.

Boot tested for dom0 i386/amd64, PAE included. No functional change intended.

Revision 1.24 / (download) - annotate - [select for diffs], Fri Oct 23 02:32:33 2009 UTC (3 years, 6 months ago) by snj
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.23: +1 -6 lines
Diff to previous 1.23 (colored)

Remove 3rd and 4th clauses.  OK cl@ (copyright holder).

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jul 29 12:02:06 2009 UTC (3 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.22: +2 -5 lines
Diff to previous 1.22 (colored)

remove Xen2 support.
ok bouyer@

Revision 1.22 / (download) - annotate - [select for diffs], Tue Mar 10 20:05:31 2009 UTC (4 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.21: +7 -5 lines
Diff to previous 1.21 (colored)

More i386PAE fixes:
- x86_round_page, x86_trunc_page, x86_btop and x86_ptob macros are used with
  physical addresses; cast to paddr_t instead of u_long. Issue pointed out
  by jym@
- machine_to_phys_mapping[] is a long. This is fine as it holds page
  frame numbers (and this fits in a 32bit int as physical addresses are
  only 36bits), but cast to paddr_t before << PAGE_SHIFT
- xen_start_info.store_mfn is a long; cast it to paddr_t before << PAGE_SHIFT.
  should fix issue pointed out by cegger@

Revision 1.21 / (download) - annotate - [select for diffs], Fri Oct 24 22:06:06 2008 UTC (4 years, 6 months ago) by jym
Branch: MAIN
CVS Tags: nick-hppapmap-base2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

- add mfn_to_pfn() and pfn_to_mfn() macros, for rapid conversion between
pseudo-physical and machine frame numbers.

- add HYPERVISOR_crash() for i386 and amd64. Intended to be used by a domain
to notify Xen that it crashed on purpose, and request a dump (if applicable).

No functional changes intended.

Reviewed by Christoph (cegger@).

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 24 18:02:58 2008 UTC (4 years, 6 months ago) by jym
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

- printf -> aprint_*
- fix and add comments
- make some panic/error messages more relevant
- remove last '\n' in DPRINTK() macros, not required as it is already part of format string.

No functional changes.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 23 19:46:45 2008 UTC (5 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, ad-socklock-base1
Branch point for: yamt-nfs-mp, mjf-devfs2, haad-dm
Changes since 1.18: +20 -12 lines
Diff to previous 1.18 (colored)

Merge the bouyer-xeni386 branch. This brings in PAE support to NetBSD xeni386
(domU only). PAE support is enabled by 'options PAE', see the new XEN3PAE_DOMU
and INSTALL_XEN3PAE_DOMU kernel config files.

See the comments in arch/i386/include/{pte.h,pmap.h} to see how it works.
In short, we still handle it as a 2-level MMU, with the second level page
directory being 4 pages in size. pmap switching is done by switching the
L2 pages in the L3 entries, instead of loading %cr3. This is almost required
by Xen, which handle the last L2 page (the one mapping 0xc0000000 - 0xffffffff)
in a very special way. But this approach should also work for native PAE
support if ever supported (in fact, the pmap should almost suport native
PAE, what's missing is bootstrap code in locore.S).

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jan 11 20:00:42 2008 UTC (5 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.17: +1 -151 lines
Diff to previous 1.17 (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.17 / (download) - annotate - [select for diffs], Wed Nov 28 16:40:40 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, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.16: +5 -5 lines
Diff to previous 1.16 (colored)

Use the new atomic ops.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 22 16:16:58 2007 UTC (5 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.15: +13 -12 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 17 18:53:04 2006 UTC (6 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking-base, thorpej-atomic-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, thorpej-atomic, mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (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.14 / (download) - annotate - [select for diffs], Mon Mar 6 19:57:31 2006 UTC (7 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.13: +47 -1 lines
Diff to previous 1.13 (colored)

Implement MULTI_update_va_mapping() and MULTI_update_va_mapping_otherdomain(),
which fills in multicall arguments for __HYPERVISOR_update_va_mapping
and __HYPERVISOR_update_va_mapping_otherdomain dealing with
differences between i386 and amd64.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 16 20:17:15 2006 UTC (7 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.12 / (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.11: +12 -1 lines
Diff to previous 1.11 (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.11 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:48 2005 UTC (7 years, 4 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:48 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

merge ktrace-lwp.

Revision 1.9 / (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-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, ktrace-lwp-base
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Sat Aug 20 19:20:54 2005 UTC (7 years, 9 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.7: +2 -1 lines
Diff to previous 1.7 (colored)

Implement xpq_queue_machphys_update(), which queues a request to
update the machine to physical table (to be used after a
MEMOP_increase_reservation).

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 31 12:36:56 2005 UTC (7 years, 11 months ago) by yamt
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.6: +43 -43 lines
Diff to previous 1.6 (colored)

avoid variable shadowing.

Revision 1.6 / (download) - annotate - [select for diffs], Thu May 26 13:54:43 2005 UTC (7 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.5: +43 -1 lines
Diff to previous 1.5 (colored)

Always call the xpq_queue*() functions at splvm(), so that it's safe to call
them from interrupt context.
xpq_flush_queue() is called from IPL_NET in if_xennet.c, and
other xpq_queue* functions may be called from interrupt context via
pmap_kenter*(). Should fix port-xen/30153.
Thanks to Jason Thorpe and YAMAMOTO Takashi for enlightments on this issue.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 16 08:49:29 2005 UTC (8 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

s/foreing/foreign/g
ok'ed by Manuel Bouyer.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Mar 9 22:39:20 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.3: +64 -60 lines
Diff to previous 1.3 (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.3 / (download) - annotate - [select for diffs], Mon Apr 26 22:05:05 2004 UTC (9 years ago) by cl
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, matt-timespec, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, bouyer-xen2-base
Branch point for: yamt-km, ktrace-lwp, kent-audio2, bouyer-xen2
Changes since 1.2: +26 -6 lines
Diff to previous 1.2 (colored)

Rework the physical<->machine memory mapping:  offset physical addresses
by 0x100000 (above the I/O Memory "hole") leaving all physical addresses
below unused, don't perform phys<->mach mapping for addresses below 0x100000
or beyond the real hardware's physical memory.

-> /dev/mem works now as expected and X works in domain0.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 24 19:43:53 2004 UTC (9 years ago) by cl
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Make bus_space map machine addresses instead of physical addresses.

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
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0

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>