The NetBSD Project

CVS log for src/sys/arch/xen/xenbus/xenbus_comms.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24.20.1 / (download) - annotate - [select for diffs], Mon Jul 31 15:23:02 2023 UTC (8 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.24: +13 -13 lines
Diff to previous 1.24 (colored) next main 1.25 (colored) to selected 1.4.20.1 (colored)

Pull up following revision(s) (requested by riastradh in ticket #268):

	sys/arch/xen/xenbus/xenbus_comms.c: revision 1.25
	sys/arch/xen/xenbus/xenbus_comms.c: revision 1.26
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.110
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.111
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.112
	sys/arch/xen/x86/cpu.c: revision 1.144
	sys/arch/xen/x86/cpu.c: revision 1.145
	sys/arch/xen/include/hypervisor.h: revision 1.56
	sys/arch/xen/include/hypervisor.h: revision 1.57
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.102
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.103
	sys/arch/xen/include/xenring.h: revision 1.7
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.109
	sys/arch/xen/xen/xengnt.c: revision 1.40
	sys/arch/xen/xen/xengnt.c: revision 1.41
	sys/arch/xen/xen/if_xennet_xenbus.c: revision 1.129
	sys/arch/xen/xen/xencons.c: revision 1.51
	sys/arch/xen/xen/xencons.c: revision 1.52
	sys/arch/xen/xen/xencons.c: revision 1.53
	sys/arch/xen/xen/xbd_xenbus.c: revision 1.130 (patch)
	sys/arch/xen/xen/xbd_xenbus.c: revision 1.131 (patch)

xen: Fix sense of xen_rmb/wmb to make sense.

Use membar_acquire and membar_release, not membar_consumer and
membar_producer, out of paranoia -- that better matches Linux's
rmb/wmb (at least for non-I/O loads and stores).

Proposed on port-xen:
https://mail-index.netbsd.org/port-xen/2022/07/13/msg010248.html

xen/x86/cpu.c: Membar audit.

I see no reason for store-before-load ordering here; as far as I'm
aware, evtchn_upcall_mask is only shared between a (v)CPU and its
(hypervisor) interrupts, not other (v)CPUs.

xennet(4): Membar audit.
- xennet_tx_complete: Other side owns rsp_prod, giving us responses
  to tx commands.  We own rsp_cons, recording which responess we've
  processed already.
  1. Other side initializes responses before advancing rsp_prod, so
     we must observe rsp_prod before trying to examine the responses.
     Hence load from rsp_prod must be followed by xen_rmb.
     (Can this just use atomic_load_acquire?)
  2. As soon as other side observes rsp_event, it may start to
     overwrite now-unused response slots, so we must finish using the
     response before advancing rsp_cons.  Hence we must issue xen_wmb
     before store to rsp_event.
     (Can this just use atomic_store_release?)
     (Should this use RING_FINAL_CHECK_FOR_RESPONSES?)
  3. When loop is done and we set rsp_event, we must ensure the other
     side has had a chance to see that we want more before we check
     whether there is more to consume; otherwise the other side might
     not bother to send us an interrupt.  Hence after setting
     rsp_event, we must issue xen_mb (store-before-load) before
     re-checking rsp_prod.
- xennet_handler (rx): Same deal, except the xen_mb is buried in
  RING_FINAL_CHECK_FOR_RESPONSES.  Unclear why xennet_tx_complete has
  this open-coded while xennet_handler (rx) uses the macro.

xbd(4): Membar audit.
After consuming slots, must issue xen_wmb before notifying the other
side that we've consumed them in RING_FINAL_CHECK_FOR_RESPONSES.
xbdback(4): Membar audit.

After consuming request slots, must issue xen_wmb notifying the other
side that we've consumed them in RING_FINAL_CHECK_FOR_REQUESTS.

xencons(4): Membar audit.
- xenconscn_getc: Once we have consumed an input slot, it is clearer
  to issue xen_wmb (release, i.e., load/store-before-store) before
  advancing in_cons so that the update becomes a store-release
  freeing the input slot for the other side to reuse.
- xenconscn_putc: After filling an output slot, must issue xen_wmb
  (release, i.e., load/store-before-store) before advancing out_prod,
  and another one before notifying the other side of the advance.

xencons(4): Reduce unnecessary membars.
- xencons_handler: After advancing in_cons, only need one xen_wmb
  before notifying the hypervisor that we're ready for more.
  (XXX Should this do xen_mb and re-check in_prod at that point, or
  does hypervisor_notify_via_evtchn obviate the need for this?)
- xenvonscn_getc: After reading in_prod, only need one xen_rmb before
  using the slots it is telling us are now ready.

xengnt(4): Membar audit.
This had the sense of membars reversed, presumably because xen_rmb
and xen_wmb had gotten reversed at some point.
xenbus_comms.c: Membar audit.

This had the sense of membars reversed, presumably because xen_rmb
and xen_wmb had gotten reversed at some point.

xennetback(4): Fix xennetback_evthandler loop.
- After observing the other side has produced pending tx requests by
  reading sring->req_prod, must issue xen_rmb before touching them.
  Despite all the effort to use the heavy-weight
  RING_FINAL_CHECK_FOR_REQUESTS on each request in the loop, this
  barrier was missing.
- No need to update req_cons at each iteration in the loop.  It's
  private.  Just update it once at the end.
- After consuming requests, must issue xen_wmb before releasing the
  slots with RING_FINAL_CHECK_FOR_REQUEST for the other side to
  reuse.

xennetback(4): Fix membars in xennetback_rx_copy_process.
- No need for barrier around touching req_cons and rsp_prod_pvt,
  which are private.
- RING_PUSH_RESPONSES_AND_CHECK_NOTIFY already issues xen_wmb, no
  need to add one explicitly.
- After pushing responses, must issue xen_wmb (not xen_rmb) before
  hypervisor_notify_via_evtchn.

xennetback(4): Omit needless membars in xennetback_connect.
xneti is a private data structure to which we have exclusive access
here; ordering the stores doesn't make sense.

xen/hypervisor.h: Nix trailing whitespace.
No functional change intended.

xen/x86/cpu.c: Nix trailing whitespace.
No functional change intended.

xbd(4): Nix trailing whitespace.

xbdback(4): Nix trailing whitespace.
No functional change intended.

xencons(4): Nix trailing whitespace.
No functional change intended.

xengnt(4): Nix trailing whitespace.
No functional change intended.

xenbus_comms.c: Nix trailing whitespace.
No functional change intended.

xennetback(4): Nix trailing whitespace.
No functional change intended.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Feb 25 00:37:34 2023 UTC (13 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.25: +9 -9 lines
Diff to previous 1.25 (colored) to selected 1.4.20.1 (colored)

xenbus_comms.c: Nix trailing whitespace.

No functional change intended.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Feb 25 00:34:01 2023 UTC (13 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.24: +6 -6 lines
Diff to previous 1.24 (colored) to selected 1.4.20.1 (colored)

xenbus_comms.c: Membar audit.

This had the sense of membars reversed, presumably because xen_rmb
and xen_wmb had gotten reversed at some point.

Revision 1.24 / (download) - annotate - [select for diffs], Wed May 13 13:19:38 2020 UTC (3 years, 11 months ago) by jdolecek
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, netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.23: +10 -4 lines
Diff to previous 1.23 (colored) to selected 1.4.20.1 (colored)

don't reinitialize mutexes/cv on resume

part of PR port-xen/55207

Revision 1.23 / (download) - annotate - [select for diffs], Wed May 6 16:50:13 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.22: +23 -19 lines
Diff to previous 1.22 (colored) to selected 1.4.20.1 (colored)

Convert remaining splfoo/splx and tsleep/wakeup to mutex and condvar.
Mark kernel threads and interrupt handlers MPSAFE.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:18 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored) to selected 1.4.20.1 (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.21.10.1 / (download) - annotate - [select for diffs], Thu Apr 16 08:46:36 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.4.20.1 (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.18.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:56 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD

Revision 1.17.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:46 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.17.2.2: +4 -4 lines
Diff to previous 1.17.2.2 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 24 14:55:42 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.4.20.1 (colored)

Bifurcate the interrupt establish functions between XEN and non-XEN

Thus intr_establish_xname() becomes xen_intr_establish_xname() etc.

One consequence of this is that dom0 devices expect the native
function calls to be available and we thus provide weak aliasing for
dom0 builds to succeed. XEN and non-XEN devices are distinguished by
the PIC they are established on. XEN interrupts are exclusively
established on xen_pic, while dom0 interrupts are established on
natively available PICs.

This allows us an orthogonal path to xen device management (eg:
xenstore events) in XENPVHVM, without having to worry about unifying
the vector entry paths, etc., which is quite challenging.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:29 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.17.2.1: +4 -4 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 26 05:33:21 2018 UTC (5 years, 5 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored) to selected 1.4.20.1 (colored)

Decompose hypervisor_enable_event() into functional steps.

The hypervisor_unmask_event() step is relevant for any event.

The pirq related step is only relevant for pirq bound events.

Prune blanket usage of this, so that usage is semantically appropriate.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Oct 24 03:59:33 2018 UTC (5 years, 5 months ago) by cherry
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored) to selected 1.4.20.1 (colored)

When using the intr_establish_xname() interface to register
XEN events, follow established x86/intr.c conventions - set
the 'legacy' irq value to -1, to indicate that the pic, pin
combination (&xen_pic, port) is used for registration.

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:48 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 24 13:35:33 2018 UTC (5 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) to selected 1.4.20.1 (colored)

add support for kern.intr.list aka intrctl(8) 'list' for xen

event_set_handler() and pirq_establish() now have extra intrname
parameter; shared intr_create_intrid() is used to provide the value

xen drivers were changed to pass the specific driver instance
name as the xname, e.g.  'vcpu0 clock' instead just 'clock', or
'xencons0' instead of 'xencons'

associated evcnt is now changed to use intrname - this matches native x86

Revision 1.14.12.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:52 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.14: +9 -6 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.4.20.1 (colored)

update from HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Mon Nov 13 02:12:29 2017 UTC (6 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) to selected 1.4.20.1 (colored)

Missed a spot: preserve known_mpsafe = (level != IPL_VM).

Noted by kre -- sorry!

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 6 15:27:09 2017 UTC (6 years, 5 months ago) by cherry
Branch: MAIN
Changes since 1.15: +7 -4 lines
Diff to previous 1.15 (colored) to selected 1.4.20.1 (colored)

Switch XEN drivers to use intr_establish_xname()/intr_disestablish()

This completes the API transition.

Revision 1.14.30.1 / (download) - annotate - [select for diffs], Sat Jul 9 20:25:00 2016 UTC (7 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:40 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored) to selected 1.4.20.1 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Sep 20 00:12:24 2011 UTC (12 years, 7 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, 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, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.13: +20 -11 lines
Diff to previous 1.13 (colored) to selected 1.4.20.1 (colored)

Merge jym-xensuspend branch in -current. ok bouyer@.

Goal: save/restore support in NetBSD domUs, for i386, i386 PAE and amd64.

Executive summary:
- split all Xen drivers (xenbus(4), grant tables, xbd(4), xennet(4))
in two parts: suspend and resume, and hook them to pmf(9).
- modify pmap so that Xen hypervisor does not cry out loud in case
it finds "unexpected" recursive memory mappings
- provide a sysctl(7), machdep.xen.suspend, to command suspend from
userland via powerd(8). Note: a suspend can only be handled correctly
when dom0 requested it, so provide a mechanism that will prevent
kernel to blindly validate user's commands

The code is still in experimental state, use at your own risk: restore
can corrupt backend communications rings; this can completely thrash
dom0 as it will loop at a high interrupt level trying to honor
all domU requests.

XXX PAE suspend does not work in amd64 currently, due to (yet again!)
page validation issues with hypervisor. Will fix.

XXX secondary CPUs are not suspended, I will write the handlers
in sync with cherry's Xen MP work.

Tested under i386 and amd64, bear in mind ring corruption though.

No build break expected, GENERICs and XEN* kernels should be fine.
./build.sh distribution still running. In any case: sorry if it does
break for you, contact me directly for reports.

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:33 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.12.2.4: +4 -5 lines
Diff to previous 1.12.2.4 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.4.20.1 (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.12.2.4 / (download) - annotate - [select for diffs], Mon Jul 25 00:18:28 2011 UTC (12 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.12.2.3: +4 -9 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored) to selected 1.4.20.1 (colored)

Pull-up to my branch some of the improvements I committed to HEAD, but
forgot to reflect here.

Improvements in the attachement routines: in case of error, don't forget
to free() the allocated rings. Should not happen anyway, more a matter
of staying clean.

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jul 2 19:07:56 2011 UTC (12 years, 9 months ago) by jym
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.12: +4 -9 lines
Diff to previous 1.12 (colored) to selected 1.4.20.1 (colored)

Remove all return error checks for event_set_handler(...). It either
succeeds or end in panic.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Sun Nov 1 21:43:29 2009 UTC (14 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.12.2.2: +23 -11 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored) to selected 1.4.20.1 (colored)

- Upgrade suspend/resume code to comply with Xen2 removal.
- Add support for PAE domUs suspend/resume.
- Fix an issue regarding initialization of the xbd ring I/O that could end
badly during resume, with invalid block operations submitted to dom0 backend.

NetBSD supports PAE under x86_32 by considering the L2 page as being
4 pages long instead of 1.

Xen validates the page types during resume. Sadly, the hypervisor handles
alternative recursive mappings (== PG/PD entries pointing to pages other
than self) inadequately, which could lead to incorrect page pinning.

As a result, the important change with this patch is to clear these alternative
mappings during suspend, and reset them back to their former self upon
resume. For PAE, approx. all 4 PDIR_SLOT_PTEs could be considered as
alternative recursive mappings.

See comments in pmap.c for further details.

Now, let the testing and bug hunting begin.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:48 2009 UTC (14 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.12.2.1: +10 -29 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:15 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.7: +14 -15 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.4.20.1 (colored)

sync with head.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Feb 9 00:03:55 2009 UTC (15 years, 2 months ago) by jym
Branch: jym-xensuspend
Changes since 1.12: +31 -12 lines
Diff to previous 1.12 (colored) to selected 1.4.20.1 (colored)

Initial code for xen save/restore/migrate facilities.

- split the attach code of frontends in two half: one that is only needed
during autoconf(9) attach/detach phases, and one used at each save/restore
of device state (between suspend and resume).

Applies to hypervisor, xencons, xenbus, xbd, and xennet.

- add a rwlock(9) ("ptom_lock") to protect the different parts in the kernel
 that manipulate MFNs (which could change between a suspend and a resume,
without the kernel noticing it). Parts that require MFNs acquire a reader lock,
while suspend code will acquire a writer lock to ensure that no-other parts
in kernel still use MFNs.

- integrate the suspend code with sysmon.

- various things in pmap(9), and clock.

TODO:
- factorize code a bit more inside frontends drivers.
- remove all alternative recursive (APDP_PDE) mappings found in PD/PT during
suspend, as Xen does not support them.
- abstract the ptom_lock locking, it is only required when kernel preemption
is enabled, or on MP systems.

Current code works mostly. You may experience difficulties in some corner
cases (dom0 warnings about xennet interface errors, and Xen tools failing to
 validate NetBSD's alternative pmaps).

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:12 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.9: +10 -10 lines
Diff to previous 1.9 (colored) next main 1.10 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD.

Revision 1.5.14.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:40 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5.14.1: +12 -13 lines
Diff to previous 1.5.14.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 16 20:16:47 2009 UTC (15 years, 3 months ago) by jym
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jym-xensuspend
Changes since 1.11: +9 -9 lines
Diff to previous 1.11 (colored) to selected 1.4.20.1 (colored)

Replace x86 memory fences in Xen drivers by their Xen equivalents, to reduce
MD dependency:

x86_lfence() => xen_rmb()
x86_sfence() => xen_wmb()
x86_mfence() => xen_mb()

Discussed in
http://mail-index.netbsd.org/port-xen/2009/01/15/msg004655.html

Ok by bouyer@.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 18 12:19:03 2008 UTC (15 years, 4 months ago) by cegger
Branch: MAIN
Changes since 1.10: +2 -3 lines
Diff to previous 1.10 (colored) to selected 1.4.20.1 (colored)

remove unused malloc.h

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:43 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.7: +7 -7 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.4.20.1 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Wed Oct 29 13:53:15 2008 UTC (15 years, 5 months ago) by cegger
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored) to selected 1.4.20.1 (colored)

include <xen/xen.h> for xendomain_is_dom0()

Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 24 18:02:58 2008 UTC (15 years, 5 months ago) by jym
Branch: MAIN
CVS Tags: matt-mips64-base2
Branch point for: nick-hppapmap
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored) to selected 1.4.20.1 (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.8 / (download) - annotate - [select for diffs], Tue Oct 21 15:46:32 2008 UTC (15 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.7: +3 -4 lines
Diff to previous 1.7 (colored) to selected 1.4.20.1 (colored)

introduce two macros: xendomain_is_dom0() and xendomain_is_privileged(). Use them.

Revision 1.5.14.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:55 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 16 18:41:48 2008 UTC (16 years ago) by cegger
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, 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, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: yamt-nfs-mp, haad-dm
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.4.20.1 (colored)

device_t / softc split
reviewed, tested and approved by bouyer

Revision 1.6 / (download) - annotate - [select for diffs], Sun Apr 6 07:24:20 2008 UTC (16 years ago) by cegger
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.4.20.1 (colored)

use aprint_*_dev and device_xname

Revision 1.4.20.1 / (download) - annotate - [selected], Wed Jan 9 01:50:24 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

sync with HEAD

Revision 1.4.26.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:31 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD.

Revision 1.3.4.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:27:25 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.3: +5 -5 lines
Diff to previous 1.3.4.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.4.20.1 (colored)

sync with head

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:53 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD.

Revision 1.4.18.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:36:35 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Nov 22 16:17:11 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) to selected 1.4.20.1 (colored)

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

Revision 1.4.24.1 / (download) - annotate - [select for diffs], Wed Oct 17 21:08:28 2007 UTC (16 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.4: +5 -5 lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.4.20.1 (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.3.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:40 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.2: +4 -4 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored) to selected 1.4.20.1 (colored)

sync with head.

Revision 1.3.16.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:51:50 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.4.20.1 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:11 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking, mjf-devfs, matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) to selected 1.4.20.1 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.3.10.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:45:06 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.3.10.1: +247 -0 lines
Diff to previous 1.3.10.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.4.20.1 (colored)

sync with head

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Wed Jun 21 14:58:23 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.1: +247 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) to selected 1.4.20.1 (colored)

sync with head.

Revision 1.2.12.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:45:36 2006 UTC (17 years, 10 months ago) by chap
Branch: chap-midi
Changes since 1.2: +5 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.4.20.1 (colored)

Sync with head.

Revision 1.2.10.3 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:39 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.2.10.2: +5 -4 lines
Diff to previous 1.2.10.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.4.20.1 (colored)

Sync with head.

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:26 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.2: +5 -4 lines
Diff to previous 1.2 (colored) next main 1.3 (colored) to selected 1.4.20.1 (colored)

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

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Wed May 24 10:57:23 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.4.2: +5 -4 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.4.20.1 (colored)

sync with head.

Revision 1.3.10.1, Tue May 23 21:07:56 2006 UTC (17 years, 10 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.3: +0 -247 lines
FILE REMOVED

file xenbus_comms.c was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:45:06 +0000

Revision 1.3.4.1, Tue May 23 21:07:56 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +0 -247 lines
FILE REMOVED

file xenbus_comms.c was added on branch yamt-lazymbuf on 2006-06-21 14:58:23 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue May 23 21:07:56 2006 UTC (17 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-lazymbuf, yamt-idlelwp, rpaulo-netinet-merge-pcb
Changes since 1.2: +5 -4 lines
Diff to previous 1.2 (colored) to selected 1.4.20.1 (colored)

Add needed framework for backend drivers.
As we want some control on the name the backend driver will have we
can't use autoconf(9) here. Instead backend drivers registers to
xenbus, which will call a create callback when a new device is there.
Backend devices won't have a "struct device" in xenbus, use a void pointer
instead.

Revision 1.2.10.2 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:11 2006 UTC (18 years ago) by simonb
Branch: simonb-timecounters
Changes since 1.2.10.1: +246 -0 lines
Diff to previous 1.2.10.1 (colored) to branchpoint 1.2 (colored) to selected 1.4.20.1 (colored)

Sync with head.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Fri Apr 7 12:51:26 2006 UTC (18 years ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.2.8.1: +246 -0 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.4.20.1 (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.2.4.2 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:07 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2.4.1: +246 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) to selected 1.4.20.1 (colored)

sync with head.

Revision 1.2.10.1, Mon Mar 6 20:21:35 2006 UTC (18 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.2: +0 -246 lines
FILE REMOVED

file xenbus_comms.c was added on branch simonb-timecounters on 2006-04-22 11:38:11 +0000

Revision 1.2.8.1, Mon Mar 6 20:21:35 2006 UTC (18 years, 1 month ago) by tron
Branch: netbsd-3
Changes since 1.2: +0 -246 lines
FILE REMOVED

file xenbus_comms.c was added on branch netbsd-3 on 2006-04-07 12:51:26 +0000

Revision 1.2.4.1, Mon Mar 6 20:21:35 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.2: +0 -246 lines
FILE REMOVED

file xenbus_comms.c was added on branch yamt-pdpolicy on 2006-03-13 09:07:07 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 6 20:21:35 2006 UTC (18 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, peter-altq-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, peter-altq, netbsd-3, chap-midi
Changes since 1.1: +97 -54 lines
Diff to previous 1.1 (colored) to selected 1.4.20.1 (colored)

Adapt for NetBSD and add glue for config(9). Enough to get guest domain
virtual devices probed and attached, domain0 and xenstore watch needs to
be done.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Mar 6 20:16:33 2006 UTC (18 years, 1 month ago) by bouyer
Branch: Xen
CVS Tags: xen-3-0-20060107
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.4.20.1 (colored)

Import xenbus sources, from linux sparse tree in the 20060107 xen-3.0
snapshot.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Mar 6 20:16:33 2006 UTC (18 years, 1 month ago) by bouyer
Branch: MAIN
Diff to selected 1.4.20.1 (colored)

Initial revision

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>