The NetBSD Project

CVS log for src/sys/arch/xen/xen/xbdback_xenbus.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.101.4.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.101: +15 -14 lines
Diff to previous 1.101 (colored) next main 1.102 (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.103 / (download) - annotate - [select for diffs], Sat Feb 25 00:35:28 2023 UTC (13 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.102: +14 -14 lines
Diff to previous 1.102 (colored)

xbdback(4): Nix trailing whitespace.

No functional change intended.

Revision 1.102 / (download) - annotate - [select for diffs], Sat Feb 25 00:33:15 2023 UTC (13 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.101: +3 -2 lines
Diff to previous 1.101 (colored)

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.

Revision 1.101 / (download) - annotate - [select for diffs], Thu Sep 1 15:33:23 2022 UTC (19 months, 1 week ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.100: +13 -73 lines
Diff to previous 1.100 (colored)

in backend drivers, use xen_shm_(un)map for the rings instead of inline,
mostly duplicate code.

Revision 1.100 / (download) - annotate - [select for diffs], Thu Sep 1 12:29:00 2022 UTC (19 months, 1 week ago) by bouyer
Branch: MAIN
Changes since 1.99: +52 -12 lines
Diff to previous 1.99 (colored)

Add PVH support for backend drivers grant operation.
Now a domU in a PVH dom0 boots multiuser.

Revision 1.97.4.1 / (download) - annotate - [select for diffs], Sun Aug 1 22:42:19 2021 UTC (2 years, 8 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.97: +4 -5 lines
Diff to previous 1.97 (colored) next main 1.98 (colored)

Sync with HEAD.

Revision 1.99 / (download) - annotate - [select for diffs], Wed Jul 28 22:17:49 2021 UTC (2 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.98: +3 -3 lines
Diff to previous 1.98 (colored)

fix off-by-one check in another KASSERT() for bcount

still related to PR port-xen/56328

Revision 1.98 / (download) - annotate - [select for diffs], Wed Jul 28 21:38:50 2021 UTC (2 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.97: +3 -4 lines
Diff to previous 1.97 (colored)

fix intentional, but eventually faulty off-by-one for the maximum number
of segments for I/O - this was supposed to allow MAXPHYS-size I/O even
with page offset, but actually ended up letting through I/O up to
MAXPHYS+PAGE_SIZE

the KASSERT(bcount < MAXPHYS) is kept as-is, since at that place the number
of segments should already be validated, so it's kernel bug if the size
is still too big there

fixes PR port-xen/56328 by Greg Oster

Revision 1.96.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:42 2021 UTC (3 years ago) by thorpej
Branch: thorpej-futex
Changes since 1.96: +5 -7 lines
Diff to previous 1.96 (colored) next main 1.97 (colored)

Sync with HEAD.

Revision 1.97 / (download) - annotate - [select for diffs], Sun Feb 21 20:02:25 2021 UTC (3 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.96: +5 -7 lines
Diff to previous 1.96 (colored)

reset xio_xv before calling xbdback_io_error() so it won't try to unmap
the non-initialized handles when xen_shm_map() fails

remove the ratechecked error printf for shm error - xbdback_io_error() prints
the error too

part of fixes for XSA-362

Revision 1.96 / (download) - annotate - [select for diffs], Thu May 7 19:49:29 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

This should be mpsafe, register the event handler as such.

Revision 1.95 / (download) - annotate - [select for diffs], Wed May 6 20:09:26 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.94: +3 -3 lines
Diff to previous 1.94 (colored)

Drop xbdi_lock() before calling intr_disestablish(), it needs to take
cpu_lock.

Revision 1.94 / (download) - annotate - [select for diffs], Wed May 6 19:49:00 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.93: +5 -2 lines
Diff to previous 1.93 (colored)

We can't take v_interlock with a spin lock held. Release xbdi_lock
before scheduling the I/O, and take again once queued.
It looks safe to drop the lock here.

Revision 1.93 / (download) - annotate - [select for diffs], Tue May 5 17:02:01 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.92: +5 -4 lines
Diff to previous 1.92 (colored)

Make DOM0OPS build for PVH/PVHVM too

Revision 1.92 / (download) - annotate - [select for diffs], Sat Apr 25 20:05:25 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.91: +34 -21 lines
Diff to previous 1.91 (colored)

parse indirect_op using appropriate 32/64-bit access types, this fixes
the BLKIF_OP_INDIRECT handling for 32-bit DomU running against 64-bit Dom0,
problem reported and fix tested by Manuel

make sure to use the provided indirect_op when reporting back errors

Revision 1.91 / (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.90: +2 -2 lines
Diff to previous 1.90 (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.77.2.4 / (download) - annotate - [select for diffs], Sat Apr 25 13:16:48 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.77.2.3: +311 -185 lines
Diff to previous 1.77.2.3 (colored) to branchpoint 1.77 (colored) next main 1.78 (colored)

sync with bouyer-xenpvh-base2 (HEAD)

Revision 1.90 / (download) - annotate - [select for diffs], Thu Apr 23 09:16:21 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.89: +72 -58 lines
Diff to previous 1.89 (colored)

make xbdback actually MPSAFE and stop using KERNEL_LOCK()

remove no longer necessary atomics, the counters are now always
updated with held mutex

Revision 1.89 / (download) - annotate - [select for diffs], Thu Apr 23 08:09:25 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.88: +63 -64 lines
Diff to previous 1.88 (colored)

allocate xbdback_io instances as part of struct xbdback_instance and
stop using pool_cache(9), to remove possibility for the allocation to sleep

Revision 1.88 / (download) - annotate - [select for diffs], Thu Apr 23 07:39:07 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.87: +2 -6 lines
Diff to previous 1.87 (colored)

g/c no longer used xbdi_same_page and xbdi_lastfragio_time

Revision 1.87 / (download) - annotate - [select for diffs], Thu Apr 23 07:24:40 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.86: +11 -19 lines
Diff to previous 1.86 (colored)

g/c no longer needed xbdi_io structure member, just pass it as continuation
parameter

Revision 1.67.2.4 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:13 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.67.2.3: +291 -597 lines
Diff to previous 1.67.2.3 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Sync with HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Tue Apr 21 13:56:18 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20200421
Changes since 1.85: +175 -47 lines
Diff to previous 1.85 (colored)

add support for indirect segments, which makes it possible to pass
up to MAXPHYS (implementation limit, interface allows more) using
single request

request using indirect segment requires 1 extra copy hypercall per
request, but saves 2 shared memory hypercalls (map_grant/unmap_grant),
so should be net performance boost due to less TLB flushing

this also effectively doubles disk queue size for xbd(4)

Revision 1.77.2.3 / (download) - annotate - [select for diffs], Mon Apr 20 19:40:51 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.77.2.2: +2 -4 lines
Diff to previous 1.77.2.2 (colored) to branchpoint 1.77 (colored)

Fix build with DIAGNOSTIC

Revision 1.85 / (download) - annotate - [select for diffs], Mon Apr 20 19:29:09 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.84: +2 -5 lines
Diff to previous 1.84 (colored)

xbdback_fragio_intvl is also no longer used

Revision 1.84 / (download) - annotate - [select for diffs], Mon Apr 20 19:20:35 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.83: +2 -4 lines
Diff to previous 1.83 (colored)

Fix build with DIAGNOSTIC

Revision 1.77.2.2 / (download) - annotate - [select for diffs], Mon Apr 20 18:50:46 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.77.2.1: +78 -443 lines
Diff to previous 1.77.2.1 (colored) to branchpoint 1.77 (colored)

Bring in 1.82 and 1.83 from HEAD

Revision 1.83 / (download) - annotate - [select for diffs], Mon Apr 20 16:12:28 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
CVS Tags: bouyer-xenpvh-base1
Changes since 1.82: +76 -442 lines
Diff to previous 1.82 (colored)

remove I/O defragmentation logic, pass requests straight to the
underlying block device without trying to coalesce them

it seems rarely useful, and it makes the handling logic unnecessarily complex -
ultimately it's the DomU operating system responsibility to issue optimal I/O

might also help with the ZFS problem reported on port-xen, and will surely
simplify eventual indirect segment support

Revision 1.82 / (download) - annotate - [select for diffs], Mon Apr 20 14:11:04 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.81: +4 -3 lines
Diff to previous 1.81 (colored)

do not retry when xen_shm_map() fails after having returned error for it,
it corrupts the ring; just go to next request

should fix the problem with ZFS causing failscade when req fails,
reported by Brian Buhrow on port-xen

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:01 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.77: +66 -130 lines
Diff to previous 1.77 (colored)

Sync with HEAD

Revision 1.81 / (download) - annotate - [select for diffs], Mon Apr 20 03:00:33 2020 UTC (3 years, 11 months ago) by msaitoh
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

 Fix typo to make compilable.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Apr 19 20:53:20 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.79: +3 -2 lines
Diff to previous 1.79 (colored)

SLIST_INIT() xbdi->xbdi_va_free just for clarity

Revision 1.79 / (download) - annotate - [select for diffs], Sun Apr 19 18:47:40 2020 UTC (3 years, 11 months ago) by jdolecek
Branch: MAIN
Changes since 1.78: +61 -123 lines
Diff to previous 1.78 (colored)

change interface for xen_shm_map() so that caller always supplies the VA,
it now fails only if the Xen hypercall fails, in which case the failure
is final

change xbdback to pre-allocate KVA on xbdback attach (and free on detach),
so it has always KVA to map the request pages

remove no longer needed KVA allocation failure handling

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:12 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.67.2.2: +8 -14 lines
Diff to previous 1.67.2.2 (colored) to branchpoint 1.67 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.78 / (download) - annotate - [select for diffs], Mon Apr 13 00:27:17 2020 UTC (4 years ago) by chs
Branch: MAIN
Changes since 1.77: +6 -9 lines
Diff to previous 1.77 (colored)

slightly change and fix the semantics of pool_set*wat(), pool_sethardlimit()
and pool_prime() (and their pool_cache_* counterparts):

 - the pool_set*wat() APIs are supposed to specify thresholds for the count of
   free items in the pool before pool pages are automatically allocated or freed
   during pool_get() / pool_put(), whereas pool_sethardlimit() and pool_prime()
   are supposed to specify minimum and maximum numbers of total items
   in the pool (both free and allocated).  these were somewhat conflated
   in the existing code, so separate them as they were intended.

 - change pool_prime() to take an absolute number of items to preallocate
   rather than an increment over whatever was done before, and wait for
   any memory allocations to succeed.  since pool_prime() can no longer fail
   after this, change its return value to void and adjust all callers.

 - pool_setlowat() is documented as not immediately attempting to allocate
   any memory, but it was changed some time ago to immediately try to allocate
   up to the lowat level, so just fix the manpage to describe the current
   behaviour.

 - add a pool_cache_prime() to complete the API set.

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:59 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.67.2.1: +5 -2 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored)

Merge changes from current as of 20200406

Revision 1.77 / (download) - annotate - [select for diffs], Tue Apr 7 14:07:01 2020 UTC (4 years ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20200411, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Changes since 1.76: +5 -7 lines
Diff to previous 1.76 (colored)

convert the node watch code to use kmem_alloc() instead of malloc()

Revision 1.76 / (download) - annotate - [select for diffs], Tue Apr 7 13:36:22 2020 UTC (4 years ago) by jdolecek
Branch: MAIN
Changes since 1.75: +3 -2 lines
Diff to previous 1.75 (colored)

revert the watch.node change, xenbus_watch_path() and xenbus_watch_path2()
need to use non-constant path

Revision 1.75 / (download) - annotate - [select for diffs], Tue Apr 7 11:47:06 2020 UTC (4 years ago) by jdolecek
Branch: MAIN
Changes since 1.74: +7 -11 lines
Diff to previous 1.74 (colored)

change xenbus_read() interface so that caller supplies the buffer and it's
size, caller doesn't free(9) the returned value any more

Revision 1.74 / (download) - annotate - [select for diffs], Tue Apr 7 09:18:00 2020 UTC (4 years ago) by jdolecek
Branch: MAIN
Changes since 1.73: +2 -3 lines
Diff to previous 1.73 (colored)

no need to malloc()+copy watch.node, it's constant string - either "device"
or "backend"; just use the strings direct

Revision 1.72.6.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:28 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.72: +5 -2 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jan 17 19:30:51 2020 UTC (4 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200406, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Changes since 1.72: +5 -2 lines
Diff to previous 1.72 (colored)

Acquire kernel_lock in the bp->b_iodone callback.

Revision 1.67.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.67: +10 -9 lines
Diff to previous 1.67 (colored)

Sync with HEAD

Revision 1.72 / (download) - annotate - [select for diffs], Sun Apr 7 12:21:20 2019 UTC (5 years ago) by bouyer
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored)

Adjyst some debug printfs

Revision 1.71 / (download) - annotate - [select for diffs], Sat Feb 2 12:32:55 2019 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
Changes since 1.70: +4 -3 lines
Diff to previous 1.70 (colored)

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

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

Revision 1.65.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.65.2.2: +4 -4 lines
Diff to previous 1.65.2.2 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.70 / (download) - annotate - [select for diffs], Mon Dec 24 14:55:42 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (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.65.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:28 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.65.2.1: +4 -4 lines
Diff to previous 1.65.2.1 (colored) to branchpoint 1.65 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.69 / (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.68: +3 -3 lines
Diff to previous 1.68 (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.68 / (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.67: +3 -3 lines
Diff to previous 1.67 (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.63.8.1 / (download) - annotate - [select for diffs], Sun Sep 23 17:58:51 2018 UTC (5 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.63: +7 -6 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Apply patch, requested by manu in ticket #1034:

Avoid sleeping with a spin lock held (solved differently on HEAD).

Revision 1.65.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.65: +24 -11 lines
Diff to previous 1.65 (colored)

Sync with HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Sun Jun 24 20:28:58 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.66: +4 -4 lines
Diff to previous 1.66 (colored)

mark with XXXSMP all remaining spl*() and tsleep() calls

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jun 24 20:15:00 2018 UTC (5 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.65: +22 -9 lines
Diff to previous 1.65 (colored)

similar treatment as xennetback_xenbus.c:
- protect instance list with mutex
- mark more local variables static
- mark with XXXSMP what looks suspicious
- in pciback.c use kmem_zalloc() et.al to allocate the device structures

Revision 1.57.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:51 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.57.2.1: +10 -8 lines
Diff to previous 1.57.2.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

update from HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Sat Nov 11 21:03:01 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.64: +5 -4 lines
Diff to previous 1.64 (colored)

Restore MP-safety annotations in intr_establish_xname.

In the old API, event_set_handler would assume MP-unsafe for IPL_VM
and MP-safe for all other levels (IPL_SCHED, IPL_HIGH).  The recent
Xen interrupt rototill started passing known_mpsafe=true for _all_
interrupt handlers.  Change it to known_mpsafe=false for the IPL_VM
(= IPL_CLOCK, IPL_NET) ones.

Revision 1.64 / (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.63: +7 -6 lines
Diff to previous 1.63 (colored)

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

This completes the API transition.

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Thu Apr 27 05:36:34 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.63: +12 -4 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.60.2.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:24 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.60.2.2: +3 -4 lines
Diff to previous 1.60.2.2 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Sync with HEAD

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:29 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.62.2.1: +3 -4 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

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

Revision 1.63 / (download) - annotate - [select for diffs], Mon Dec 26 08:16:28 2016 UTC (7 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2, netbsd-8
Changes since 1.62: +3 -4 lines
Diff to previous 1.62 (colored)

Hold the interlock before cv_broadcast as per condvar(9)

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Wed Jul 20 23:50:56 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.62: +12 -4 lines
Diff to previous 1.62 (colored)

Adapt the machine/arch dependent code to the new {b,c}devsw reference
counting.

XXX Most of these will require testing by someone other than myself, as
I have a limited selection of hardware!

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

Sync with HEAD

Revision 1.55.2.4 / (download) - annotate - [select for diffs], Fri Jan 8 21:26:15 2016 UTC (8 years, 3 months ago) by snj
Branch: netbsd-6
Changes since 1.55.2.3: +3 -2 lines
Diff to previous 1.55.2.3 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1358):
	sys/arch/xen/include/xen-public/io/ring.h: revision 1.3 via patch
	sys/arch/xen/xen/pciback.c: revision 1.10 via patch
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.62 via patch
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.54 via patch
Apply patch from xsa155: make sure that the backend won't read parts of the
request again (possibly because of compiler optimisations), by using
copies and barrier.
From XSA155:
The compiler can emit optimizations in the PV backend drivers which
can lead to double fetch vulnerabilities. Specifically the shared
memory between the frontend and backend can be fetched twice (during
which time the frontend can alter the contents) possibly leading to
arbitrary code execution in backend.

Revision 1.55.2.1.6.3 / (download) - annotate - [select for diffs], Fri Jan 8 21:25:28 2016 UTC (8 years, 3 months ago) by snj
Branch: netbsd-6-1
Changes since 1.55.2.1.6.2: +3 -2 lines
Diff to previous 1.55.2.1.6.2 (colored) to branchpoint 1.55.2.1 (colored) next main 1.55.2.2 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1358):
	sys/arch/xen/include/xen-public/io/ring.h: revision 1.3 via patch
	sys/arch/xen/xen/pciback.c: revision 1.10 via patch
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.62 via patch
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.54 via patch
Apply patch from xsa155: make sure that the backend won't read parts of the
request again (possibly because of compiler optimisations), by using
copies and barrier.
From XSA155:
The compiler can emit optimizations in the PV backend drivers which
can lead to double fetch vulnerabilities. Specifically the shared
memory between the frontend and backend can be fetched twice (during
which time the frontend can alter the contents) possibly leading to
arbitrary code execution in backend.

Revision 1.55.2.1.4.3 / (download) - annotate - [select for diffs], Fri Jan 8 21:24:37 2016 UTC (8 years, 3 months ago) by snj
Branch: netbsd-6-0
Changes since 1.55.2.1.4.2: +3 -2 lines
Diff to previous 1.55.2.1.4.2 (colored) to branchpoint 1.55.2.1 (colored) next main 1.55.2.2 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1358):
	sys/arch/xen/include/xen-public/io/ring.h: revision 1.3 via patch
	sys/arch/xen/xen/pciback.c: revision 1.10 via patch
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.62 via patch
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.54 via patch
Apply patch from xsa155: make sure that the backend won't read parts of the
request again (possibly because of compiler optimisations), by using
copies and barrier.
From XSA155:
The compiler can emit optimizations in the PV backend drivers which
can lead to double fetch vulnerabilities. Specifically the shared
memory between the frontend and backend can be fetched twice (during
which time the frontend can alter the contents) possibly leading to
arbitrary code execution in backend.

Revision 1.59.4.1.2.2 / (download) - annotate - [select for diffs], Fri Jan 8 21:06:07 2016 UTC (8 years, 3 months ago) by snj
Branch: netbsd-7-0
CVS Tags: netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE
Changes since 1.59.4.1.2.1: +3 -2 lines
Diff to previous 1.59.4.1.2.1 (colored) to branchpoint 1.59.4.1 (colored) next main 1.59.4.2 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1071):
	sys/arch/xen/include/xen-public/io/ring.h: revision 1.3 via patch
	sys/arch/xen/xen/pciback.c: revision 1.10 via patch
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.62 via patch
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.54 via patch
Apply patch from xsa155: make sure that the backend won't read parts of the
request again (possibly because of compiler optimisations), by using
copies and barrier.
From XSA155:
The compiler can emit optimizations in the PV backend drivers which
can lead to double fetch vulnerabilities. Specifically the shared
memory between the frontend and backend can be fetched twice (during
which time the frontend can alter the contents) possibly leading to
arbitrary code execution in backend.

Revision 1.59.4.3 / (download) - annotate - [select for diffs], Fri Jan 8 21:05:14 2016 UTC (8 years, 3 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.59.4.2: +3 -2 lines
Diff to previous 1.59.4.2 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1071):
	sys/arch/xen/include/xen-public/io/ring.h: revision 1.3 via patch
	sys/arch/xen/xen/pciback.c: revision 1.10 via patch
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.62 via patch
	sys/arch/xen/xen/xennetback_xenbus.c: revision 1.54 via patch
Apply patch from xsa155: make sure that the backend won't read parts of the
request again (possibly because of compiler optimisations), by using
copies and barrier.
From XSA155:
The compiler can emit optimizations in the PV backend drivers which
can lead to double fetch vulnerabilities. Specifically the shared
memory between the frontend and backend can be fetched twice (during
which time the frontend can alter the contents) possibly leading to
arbitrary code execution in backend.

Revision 1.62 / (download) - annotate - [select for diffs], Wed Jan 6 15:28:40 2016 UTC (8 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.61: +3 -2 lines
Diff to previous 1.61 (colored)

Apply patch from xsa155: make sure that the backend won't read parts of the
request again (possibly because of compiler optimisations), by using
copies and barrier.
From XSA155:
The compiler can emit optimizations in the PV backend drivers which
can lead to double fetch vulnerabilities. Specifically the shared
memory between the frontend and backend can be fetched twice (during
which time the frontend can alter the contents) possibly leading to
arbitrary code execution in backend.

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

Sync with HEAD (as of 26th Dec)

Revision 1.55.2.1.4.2 / (download) - annotate - [select for diffs], Mon Nov 16 07:53:01 2015 UTC (8 years, 4 months ago) by msaitoh
Branch: netbsd-6-0
Changes since 1.55.2.1.4.1: +3 -3 lines
Diff to previous 1.55.2.1.4.1 (colored) to branchpoint 1.55.2.1 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1347):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

Revision 1.55.2.1.6.2 / (download) - annotate - [select for diffs], Mon Nov 16 07:52:12 2015 UTC (8 years, 4 months ago) by msaitoh
Branch: netbsd-6-1
Changes since 1.55.2.1.6.1: +3 -3 lines
Diff to previous 1.55.2.1.6.1 (colored) to branchpoint 1.55.2.1 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1347):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

Revision 1.55.2.3 / (download) - annotate - [select for diffs], Mon Nov 16 07:51:12 2015 UTC (8 years, 4 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.55.2.2: +3 -3 lines
Diff to previous 1.55.2.2 (colored) to branchpoint 1.55 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1347):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

Revision 1.59.4.1.2.1 / (download) - annotate - [select for diffs], Mon Nov 16 07:35:32 2015 UTC (8 years, 4 months ago) by msaitoh
Branch: netbsd-7-0
Changes since 1.59.4.1: +3 -3 lines
Diff to previous 1.59.4.1 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1040):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

Revision 1.59.4.2 / (download) - annotate - [select for diffs], Mon Nov 16 07:34:08 2015 UTC (8 years, 4 months ago) by msaitoh
Branch: netbsd-7
Changes since 1.59.4.1: +3 -3 lines
Diff to previous 1.59.4.1 (colored) to branchpoint 1.59 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1040):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.61
Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbj?rn Granlund on port-xen@

Revision 1.61 / (download) - annotate - [select for diffs], Sun Nov 15 14:42:03 2015 UTC (8 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-nhusb-base-20151226
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Fix typo which caused the kenrel thread to be created with a 0 priority.
This would cause the thread to be almost never scheduled when a userland
process could use all CPU.
Should fix the problem reported by Torbjn Granlund on port-xen@

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Mon Sep 22 11:15:57 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1
Branch point for: netbsd-7-0
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Pull up following revision(s) (requested by bouyer in ticket #115):
	sys/arch/xen/x86/hypervisor_machdep.c: revision 1.28
	sys/arch/xen/xenbus/xenbus_client.c: revision 1.13
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.60
	sys/arch/xen/xen/clock.c: revision 1.63
Make Xen kernels compile without DIAGNOSTIC

Revision 1.60 / (download) - annotate - [select for diffs], Sun Sep 21 12:46:15 2014 UTC (9 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Make Xen kernels compile without DIAGNOSTIC

Revision 1.57.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:30 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.57: +14 -7 lines
Diff to previous 1.57 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:14 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.48.2.2: +14 -7 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.57.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:30 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.57: +14 -7 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with head

Revision 1.55.2.1.6.1 / (download) - annotate - [select for diffs], Thu Nov 7 20:19:40 2013 UTC (10 years, 5 months ago) by snj
Branch: netbsd-6-1
CVS Tags: netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE
Changes since 1.55.2.1: +12 -3 lines
Diff to previous 1.55.2.1 (colored)

Pull up following revision(s) (requested by bouyer in ticket #974):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.58
Add more XENPRINTF() to xbdback_connect()
in xbdback_backend_changed(), fix memory leak.
Do not free an uninitialized pointer in xbdback_connect(). Should fix
 hypervisor or dom0 reboot when using windows PV drivers, as reported
 by several users on port-xen.

Revision 1.55.2.1.4.1 / (download) - annotate - [select for diffs], Thu Nov 7 20:18:50 2013 UTC (10 years, 5 months ago) by snj
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE
Changes since 1.55.2.1: +12 -3 lines
Diff to previous 1.55.2.1 (colored)

Pull up following revision(s) (requested by bouyer in ticket #974):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.58
Add more XENPRINTF() to xbdback_connect()
in xbdback_backend_changed(), fix memory leak.
Do not free an uninitialized pointer in xbdback_connect(). Should fix
 hypervisor or dom0 reboot when using windows PV drivers, as reported
 by several users on port-xen.

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Thu Nov 7 20:16:48 2013 UTC (10 years, 5 months ago) by snj
Branch: netbsd-6
Changes since 1.55.2.1: +12 -3 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored)

Pull up following revision(s) (requested by bouyer in ticket #974):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.58
Add more XENPRINTF() to xbdback_connect()
in xbdback_backend_changed(), fix memory leak.
Do not free an uninitialized pointer in xbdback_connect(). Should fix
 hypervisor or dom0 reboot when using windows PV drivers, as reported
 by several users on port-xen.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Nov 6 06:23:15 2013 UTC (10 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.58: +4 -6 lines
Diff to previous 1.58 (colored)

- move variables inside their #ifdef use
- remove unused and set-but-unused variables
- use __USE() in a particularly ugly case

with these, and a couple of other changes, amd64 gcc 4.8.1 world
is able to complete build.sh release.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Oct 20 11:37:11 2013 UTC (10 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.57: +12 -3 lines
Diff to previous 1.57 (colored)

Add more XENPRINTF() to xbdback_connect()
in xbdback_backend_changed(), fix memory leak.
Do not free an uninitialized pointer in xbdback_connect(). Should fix
 hypervisor or dom0 reboot when using windows PV drivers, as reported
 by several users on port-xen.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:37 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.48.2.1: +12 -6 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)

sync with head

Revision 1.57 / (download) - annotate - [select for diffs], Mon Jul 23 01:31:01 2012 UTC (11 years, 8 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.56: +10 -6 lines
Diff to previous 1.56 (colored)

Add more ratechecks to avoid console spam when the backend gets a
stream of errors.

Remove the unused xbdi_errps (error per second) variable. Errors should
rather be tracked in absolute, with a threshold that forces a time penalty
to the xbdback thread when frontend goes nuts.

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Tue Jun 5 15:36:00 2012 UTC (11 years, 10 months ago) by jdc
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6-1, netbsd-6-0
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored)

Pull up revision 1.56 (requested by cegger in ticket #282).

destroy mutex and cv first.
Fixes LOCKDEBUG crash when a guest shut down.

Revision 1.54.2.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:12 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.54.2.1: +4 -2 lines
Diff to previous 1.54.2.1 (colored) to branchpoint 1.54 (colored) next main 1.55 (colored)

sync to latest -current.

Revision 1.56 / (download) - annotate - [select for diffs], Wed May 23 10:01:51 2012 UTC (11 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: jmcneill-usbmp-base10
Changes since 1.55: +4 -2 lines
Diff to previous 1.55 (colored)

destroy mutex and cv first.
Fixes LOCKDEBUG crash when a guest shut down.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:12 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.48: +367 -280 lines
Diff to previous 1.48 (colored)

sync with head

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:33:47 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

merge to -current.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Dec 7 15:47:43 2011 UTC (12 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base9, 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.54: +3 -3 lines
Diff to previous 1.54 (colored)

switch from xen3-public to xen-public.

Revision 1.54 / (download) - annotate - [select for diffs], Sat Dec 3 22:36:28 2011 UTC (12 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: jmcneill-usbmp-pre-base2, jmcneill-usbmp-base
Branch point for: jmcneill-usbmp
Changes since 1.53: +9 -7 lines
Diff to previous 1.53 (colored)

xbdback_disconnect() can be called twice,  from XenbusStateClosing then from
xbdback_xenbus_destroy(). The second call will wait forever as the first
already caused the xbd thread to exit.
Have xbdback_disconnect() check if we're already disconnected and if so,
do nothing.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Nov 24 18:34:56 2011 UTC (12 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Don't use variables as format string.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Nov 24 01:47:18 2011 UTC (12 years, 4 months ago) by jym
Branch: MAIN
Changes since 1.51: +350 -253 lines
Diff to previous 1.51 (colored)

Deep rework of the xbdback(4) driver; it now uses a thread per instance
instead of continuations directly from shm callbacks or interrupt
handlers. The whole CPS design remains but is adapted to cope with
a thread model.

This patch allows scheduling away I/O requests of domains that behave
abnormally, or even destroy them if there is a need to (without thrashing
dom0 with lots of error messages at IPL_BIO).

I took this opportunity to make the driver MPSAFE, so multiple instances
can run concurrently. Moved from home-grown pool(9) queues to
pool_cache(9), and rework the callback mechanism so that it delegates
I/O processing to thread instead of handling it itself through the
continuation trampoline.

This one fixes the potential DoS many have seen in a dom0 when trying to
suspend a NetBSD domU with a corrupted I/O ring.

Benchmarks (build.sh release runs and bonnie++) do not show any
performance regression, the "new" driver is on-par with the "old" one.

ok bouyer@.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Nov 14 21:34:50 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: jmcneill-audiomp3-base, jmcneill-audiomp3
Changes since 1.50: +10 -8 lines
Diff to previous 1.50 (colored)

Use getdiskinfo() to print the name of the device; the previous code
constructed the wrong name if it was a wedge.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Nov 14 16:04:29 2011 UTC (12 years, 5 months ago) by hannken
Branch: MAIN
Changes since 1.49: +3 -2 lines
Diff to previous 1.49 (colored)

Bring back sys/disklabel.h for DISKUNIT and DISKPART.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Nov 13 23:02:06 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.48: +5 -20 lines
Diff to previous 1.48 (colored)

use getdiskinfo()

Revision 1.20.4.8 / (download) - annotate - [select for diffs], Wed Nov 2 20:34:52 2011 UTC (12 years, 5 months ago) by riz
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.20.4.7: +3 -3 lines
Diff to previous 1.20.4.7 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1685):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.48
Fix bogus KASSERT: if there is a xbdi_io, xbdi_pendingreqs must *NOT* be 0.
Not sure why it has stayed unoticed for so long ...

Revision 1.20.4.3.2.3 / (download) - annotate - [select for diffs], Wed Nov 2 20:31:40 2011 UTC (12 years, 5 months ago) by riz
Branch: netbsd-5-1
CVS Tags: 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
Changes since 1.20.4.3.2.2: +10 -4 lines
Diff to previous 1.20.4.3.2.2 (colored) to branchpoint 1.20.4.3 (colored) next main 1.20.4.4 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1682):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.45
Guard against spurious xbdback_backend_changed() calls which would result
in the block device being opened twice. Fixes port-xen/45158,
although the underlying cause (multiple open of the same device not
properly handled any more) is not fixed.

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Wed Nov 2 20:31:18 2011 UTC (12 years, 5 months ago) by riz
Branch: netbsd-5-0
Changes since 1.20: +12 -6 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1682):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.45
Guard against spurious xbdback_backend_changed() calls which would result
in the block device being opened twice. Fixes port-xen/45158,
although the underlying cause (multiple open of the same device not
properly handled any more) is not fixed.

Revision 1.20.4.7 / (download) - annotate - [select for diffs], Wed Nov 2 20:30:41 2011 UTC (12 years, 5 months ago) by riz
Branch: netbsd-5
Changes since 1.20.4.6: +10 -4 lines
Diff to previous 1.20.4.6 (colored) to branchpoint 1.20 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1682):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.45
Guard against spurious xbdback_backend_changed() calls which would result
in the block device being opened twice. Fixes port-xen/45158,
although the underlying cause (multiple open of the same device not
properly handled any more) is not fixed.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Oct 25 17:25:47 2011 UTC (12 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Fix bogus KASSERT: if there is a xbdi_io, xbdi_pendingreqs must *NOT* be 0.
Not sure why it has stayed unoticed for so long ...

Revision 1.47 / (download) - annotate - [select for diffs], Mon Oct 24 18:13:50 2011 UTC (12 years, 5 months ago) by jym
Branch: MAIN
Changes since 1.46: +23 -14 lines
Diff to previous 1.46 (colored)

Move disconnection code to a separate function, similar to what is done
with xbdback_connect.

Revision 1.24.2.6 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:32 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24.2.5: +202 -87 lines
Diff to previous 1.24.2.5 (colored) to branchpoint 1.24 (colored) next main 1.25 (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.46 / (download) - annotate - [select for diffs], Wed Aug 24 20:49:34 2011 UTC (12 years, 7 months ago) by jym
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.45: +12 -5 lines
Diff to previous 1.45 (colored)

Protect xbdback(4) ring indexes from overflowing; leave the continuation
prematurely in case they do, to avoid looping "endlessly" (or at least
a very long time) at IPL_BIO while trying to handle requests.

This should not happen in a nominal scenario, but the ring can get
corrupted for whatever reason (memory errors, domU failures or
exploitation).

Revision 1.20.4.6 / (download) - annotate - [select for diffs], Fri Aug 12 20:48:47 2011 UTC (12 years, 8 months ago) by riz
Branch: netbsd-5
Changes since 1.20.4.5: +51 -9 lines
Diff to previous 1.20.4.5 (colored) to branchpoint 1.20 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1654):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.42
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.43
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.44
Make sure to call xbdback_trampoline() at splbio()
Several fixes to the continuation engine:
- make sure to enter the continuation loop at splbio(), and add some
  KASSERT() for this.
- When a flush operation is enqueued to the workqueue, make sure the
  continuation loop can't be restarted by a previous workqueue
  completion or an event. We can't restart it at this point because
  the flush even is still recorded as the current I/O.
  For this add a xbdback_co_cache_doflush_wait() which acts as a noop;
  the workqueue callback will restart the loop once the flush is complete.
Should fix "kernel diagnostic assertion xbd_io->xio_mapped == 0" panics
reported by Jeff Rizzo on port-xen@.
Add a comment explaing why a flush workqueue is handled differently from
read/write workqueue requests.

Revision 1.45 / (download) - annotate - [select for diffs], Sun Aug 7 17:39:34 2011 UTC (12 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.44: +12 -6 lines
Diff to previous 1.44 (colored)

Guard against spurious xbdback_backend_changed() calls which would result
in the block device being opened twice. Fixes port-xen/45158,
although the underlying cause (multiple open of the same device not
properly handled any more) is not fixed.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Aug 7 17:15:40 2011 UTC (12 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.43: +8 -3 lines
Diff to previous 1.43 (colored)

Add a comment explaing why a flush workqueue is handled differently from
read/write workqueue requests.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Aug 7 17:10:35 2011 UTC (12 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.42: +43 -6 lines
Diff to previous 1.42 (colored)

Several fixes to the continuation engine:
- make sure to enter the continuation loop at splbio(), and add some
  KASSERT() for this.
- When a flush operation is enqueued to the workqueue, make sure the
  continuation loop can't be restarted by a previous workqueue
  completion or an event. We can't restart it at this point because
  the flush even is still recorded as the current I/O.
  For this add a xbdback_co_cache_doflush_wait() which acts as a noop;
  the workqueue callback will restart the loop once the flush is complete.
Should fix "kernel diagnostic assertion xbd_io->xio_mapped == 0" panics
reported by Jeff Rizzo on port-xen@.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Aug 4 18:01:49 2011 UTC (12 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.41: +4 -6 lines
Diff to previous 1.41 (colored)

Make sure to call xbdback_trampoline() at splbio()

Revision 1.41 / (download) - annotate - [select for diffs], Sun Jul 24 23:56:34 2011 UTC (12 years, 8 months ago) by jym
Branch: MAIN
Changes since 1.40: +132 -70 lines
Diff to previous 1.40 (colored)

Add more comments to xbdback(4) code. These make the continuations a bit
easier to follow (and understand). Helped tracking down a regression
between save/restore xbdback(4) states.

A few minor fixes, which are merely cosmetic:
- call graph is (somewhat) more readable
- rework the xbdback_do_io routine with a switch statement, so as to
trigger a panic() in case an invalid operation passed through the sanity
checks. panic might be overkill here, but I am sure to catch errrors in
case it happens.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:50 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.20.4.3.2.2 / (download) - annotate - [select for diffs], Sat Jun 18 16:39:10 2011 UTC (12 years, 9 months ago) by bouyer
Branch: netbsd-5-1
Changes since 1.20.4.3.2.1: +29 -8 lines
Diff to previous 1.20.4.3.2.1 (colored) to branchpoint 1.20.4.3 (colored)

Pull up following revision(s) (requested by jym in ticket #1630):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.37
In xbdback(4), move the code that copies segments after the bound checks
of the ``nr_segments'' variable.
In cases where we are running domUs with an architecture different from the
dom0 one (for example: 32 bits domUs on 64 bits dom0), copying segments
with an invalid nr_segments value will lead to the corruption of the
xbdback instance structure and quickly crash the dom0 backend.
Tested under 64 bits dom0 with 32 bits domUs. No regression observed.
ok bouyer@.
Will be pulled up to -4 and -5.

Revision 1.20.4.5 / (download) - annotate - [select for diffs], Sat Jun 18 16:38:26 2011 UTC (12 years, 9 months ago) by bouyer
Branch: netbsd-5
Changes since 1.20.4.4: +29 -8 lines
Diff to previous 1.20.4.4 (colored) to branchpoint 1.20 (colored)

Pull up following revision(s) (requested by jym in ticket #1630):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.37
In xbdback(4), move the code that copies segments after the bound checks
of the ``nr_segments'' variable.
In cases where we are running domUs with an architecture different from the
dom0 one (for example: 32 bits domUs on 64 bits dom0), copying segments
with an invalid nr_segments value will lead to the corruption of the
xbdback instance structure and quickly crash the dom0 backend.
Tested under 64 bits dom0 with 32 bits domUs. No regression observed.
ok bouyer@.
Will be pulled up to -4 and -5.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:50 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 (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.31.4.5 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:11 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31.4.4: +4 -4 lines
Diff to previous 1.31.4.4 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jun 7 16:41:14 2011 UTC (12 years, 10 months ago) by jym
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

Be more consistent for event handler naming with block backend: it is
xbdback(4) rather than xbd(4), and use i for identifier separation
(like xvif(4)).

The name is not used outside from event counters (vmstat -i), so
should be transparent to Xen block scripts.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:12 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.32: +180 -146 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.31.4.4 / (download) - annotate - [select for diffs], Tue May 31 03:04:24 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31.4.3: +175 -144 lines
Diff to previous 1.31.4.3 (colored) to branchpoint 1.31 (colored)

sync with head

Revision 1.24.2.5 / (download) - annotate - [select for diffs], Thu May 26 22:26:52 2011 UTC (12 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24.2.4: +36 -17 lines
Diff to previous 1.24.2.4 (colored) to branchpoint 1.24 (colored)

Pull-up some modifications from -current to my branch.

Revision 1.38 / (download) - annotate - [select for diffs], Thu May 26 22:16:42 2011 UTC (12 years, 10 months ago) by jym
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Reuse the pointer to the request operation, as set above.

Revision 1.37 / (download) - annotate - [select for diffs], Sat May 21 15:22:49 2011 UTC (12 years, 10 months ago) by jym
Branch: MAIN
Changes since 1.36: +31 -10 lines
Diff to previous 1.36 (colored)

In xbdback(4), move the code that copies segments after the bound checks
of the ``nr_segments'' variable.

In cases where we are running domUs with an architecture different from the
dom0 one (for example: 32 bits domUs on 64 bits dom0), copying segments
with an invalid nr_segments value will lead to the corruption of the
xbdback instance structure and quickly crash the dom0 backend.

Tested under 64 bits dom0 with 32 bits domUs. No regression observed.

ok bouyer@.

Will be pulled up to -4 and -5.

Revision 1.36 / (download) - annotate - [select for diffs], Sun May 15 20:58:54 2011 UTC (12 years, 11 months ago) by jym
Branch: MAIN
Changes since 1.35: +4 -5 lines
Diff to previous 1.35 (colored)

As noted by rmind@, use the _nv() to fetch the new value. A race is
possible between the decrement and the fetch of the ref counter value,
hence we might call the G/C routine twice. Not good.

Also remove the 'volatile' attribute, refcnt is only use by xbdi_put/_get
and should not be exposed anywhere else (except for initialization).

Revision 1.35 / (download) - annotate - [select for diffs], Sun May 15 07:24:15 2011 UTC (12 years, 11 months ago) by jym
Branch: MAIN
Changes since 1.34: +7 -8 lines
Diff to previous 1.34 (colored)

Use atomic_ops(3) for ref counting.

Revision 1.24.2.4 / (download) - annotate - [select for diffs], Mon May 2 22:49:59 2011 UTC (12 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24.2.3: +143 -131 lines
Diff to previous 1.24.2.3 (colored) to branchpoint 1.24 (colored)

Sync with head.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Apr 29 22:58:46 2011 UTC (12 years, 11 months ago) by jym
Branch: MAIN
Changes since 1.33: +143 -131 lines
Diff to previous 1.33 (colored)

Move the connection code of xbdback(4) and xvif(4) backends in separate
functions. The frontend watch function is easier to read, and mixing
switch() with goto's error paths is rather error-prone.

While here, sprinkle some aprint_*.

Tested under amd64 dom0 with i386 PAE and amd64 domUs.

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Mon Mar 28 23:04:57 2011 UTC (13 years ago) by jym
Branch: jym-xensuspend
Changes since 1.24.2.2: +5 -2 lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored)

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

Revision 1.20.4.3.2.1 / (download) - annotate - [select for diffs], Mon Mar 7 04:19:42 2011 UTC (13 years, 1 month ago) by riz
Branch: netbsd-5-1
Changes since 1.20.4.3: +5 -2 lines
Diff to previous 1.20.4.3 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1573):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.33
Test and set xbdi->xbdi_cont at splbio(). Otherwise we could overwrite
xbdi->xbdi_cont and process the same request twice.

Revision 1.20.4.4 / (download) - annotate - [select for diffs], Mon Mar 7 04:19:13 2011 UTC (13 years, 1 month ago) by riz
Branch: netbsd-5
Changes since 1.20.4.3: +5 -2 lines
Diff to previous 1.20.4.3 (colored) to branchpoint 1.20 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1573):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.33
Test and set xbdi->xbdi_cont at splbio(). Otherwise we could overwrite
xbdi->xbdi_cont and process the same request twice.

Revision 1.31.4.3 / (download) - annotate - [select for diffs], Sun Mar 6 00:26:59 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31.4.2: +5 -2 lines
Diff to previous 1.31.4.2 (colored) to branchpoint 1.31 (colored)

sync with head (and fix few botches with this)

Revision 1.33 / (download) - annotate - [select for diffs], Sat Mar 5 15:12:16 2011 UTC (13 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.32: +5 -2 lines
Diff to previous 1.32 (colored)

Test and set xbdi->xbdi_cont at splbio(). Otherwise we could overwrite
xbdi->xbdi_cont and process the same request twice.

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:23 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24.2.1: +23 -27 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

Sync with HEAD

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:45:36 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:53:00 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16.4.2: +3 -3 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.31.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:30 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31.4.1: +3 -3 lines
Diff to previous 1.31.4.1 (colored) to branchpoint 1.31 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:06 2010 UTC (13 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: 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, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.20.8.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:45 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.20: +151 -10 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

sync to netbsd-5

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Tue Mar 16 15:38:04 2010 UTC (14 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.31: +5 -5 lines
Diff to previous 1.31 (colored)

Change struct uvm_object::vmobjlock to be dynamically allocated with
mutex_obj_alloc().  It allows us to share the locks among UVM objects.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:11 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16.4.1: +171 -39 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored)

sync with head

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jan 24 04:06:31 2010 UTC (14 years, 2 months ago) by haad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.30: +17 -23 lines
Diff to previous 1.30 (colored)

Finaly fix problems with using WEDGE like devices as xen backend devices.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jan 17 12:08:29 2010 UTC (14 years, 2 months ago) by haad
Branch: MAIN
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

Fix problem where xbdi->xbdi_size was set to 0 after succesfull DIOCGWEDGEINFO
call. Problem reported in private mail.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Dec 15 00:19:52 2009 UTC (14 years, 4 months ago) by haad
Branch: MAIN
Changes since 1.28: +18 -16 lines
Diff to previous 1.28 (colored)

Fix problem with using wedge like devicesi(LVM Logical Volumes, ZFS Zvols)
as xkbd backend. This problem was reported by Hugo Silva on port-xen.

Now we call DIOCGWEDGEINFO for all partitions, when it is not implemented
we use DIOCGPART to get information about volume size.

Fix oked by jym@.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:47 2009 UTC (14 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24: +151 -15 lines
Diff to previous 1.24 (colored)

Sync with HEAD.

Revision 1.20.4.3 / (download) - annotate - [select for diffs], Sat Oct 31 12:53:21 2009 UTC (14 years, 5 months ago) by sborrill
Branch: netbsd-5
CVS Tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, matt-nb5-pq3-base, matt-nb5-pq3
Branch point for: netbsd-5-1
Changes since 1.20.4.2: +3 -2 lines
Diff to previous 1.20.4.2 (colored) to branchpoint 1.20 (colored)

Pull up the following revisions(s) (requested by bouyer in ticket #1117):
	sys/arch/xen/xen/xbdback_xenbus.c:	revision 1.28

Fix stalled xbdback detach that would stall the whole xenbus thread,
preventing new domU from be created.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Oct 25 13:47:43 2009 UTC (14 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

When we stall the continuation waiting for the queued I/O to complete
in xbdback_co_cache_flush2(), we don't advance the req pointer. In this
case call xbdi_put() to compensate for the xbdi_get() that will be done again
in xbdback_co_main_loop().
Fix stalled xbdback detach that would stall the whole xenbus thread,
preventing new domU from be created.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:11 2009 UTC (14 years, 5 months ago) by bouyer
Branch: MAIN
Changes since 1.26: +2 -7 lines
Diff to previous 1.26 (colored)

Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.20.4.2 / (download) - annotate - [select for diffs], Fri Oct 16 07:04:37 2009 UTC (14 years, 6 months ago) by snj
Branch: netbsd-5
Changes since 1.20.4.1: +4 -3 lines
Diff to previous 1.20.4.1 (colored) to branchpoint 1.20 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1093):
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.26
Don't pass a NULL arg to DIOCCACHESYNC, sd(4) dereferences it.
Pass a pointer to a int initialized to 1, so that a DIOCCACHESYNC will be
forced on sd(4).
Should fix dom0 panic reported by Sarton O'Brien.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Oct 14 18:54:00 2009 UTC (14 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.25: +4 -3 lines
Diff to previous 1.25 (colored)

Don't pass a NULL arg to DIOCCACHESYNC, sd(4) dereferences it.
Pass a pointer to a int initialized to 1, so that a DIOCCACHESYNC will be
forced on sd(4).
Should fix dom0 panic reported by Sarton O'Brien.

Revision 1.20.4.1 / (download) - annotate - [select for diffs], Mon Sep 28 01:25:22 2009 UTC (14 years, 6 months ago) by snj
Branch: netbsd-5
Changes since 1.20: +149 -10 lines
Diff to previous 1.20 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1026):
	sys/arch/xen/xen/xbd_xenbus.c: revision 1.43 via patch
	sys/arch/xen/xen/xbdback_xenbus.c: revision 1.25
xbdback: implement and publish "feature-flush-cache".
xbd: if feature-flush-cache is present, use it for DIOCCACHESYNC.
 If not present, make DIOCCACHESYNC return EOPNOTSUPP and warn on
 first call.
Should improve WAPBL reliability of Xen guests on a NetBSD dom0.
Unfortunably not all linux guests seems to support this feature, and using
feature-write-barrier would require a B_BARRIER flag in the buffer.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Sep 23 17:48:55 2009 UTC (14 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.24: +149 -10 lines
Diff to previous 1.24 (colored)

xbdback: implement and publish "feature-flush-cache".
xbd: if feature-flush-cache is present, use it for DIOCCACHESYNC.
 If not present, make DIOCCACHESYNC return EOPNOTSUPP and warn on
 first call.
Should improve WAPBL reliability of Xen guests on a NetBSD dom0.
Unfortunably not all linux guests seems to support this feature, and using
feature-write-barrier would require a B_BARRIER flag in the buffer.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:14 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16: +45 -28 lines
Diff to previous 1.16 (colored)

sync with head.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:49 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.20.2.1: +4 -4 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 21 09:55:53 2009 UTC (15 years, 2 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base
Branch point for: jym-xensuspend
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

buildfix: re-adapt to major()/minor() returning a 32bit value.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:12 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.20: +22 -19 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Revision 1.14.6.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:40 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.6.3: +23 -19 lines
Diff to previous 1.14.6.3 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 16 20:16:47 2009 UTC (15 years, 2 months ago) by jym
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (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.22 / (download) - annotate - [select for diffs], Mon Jan 12 08:55:48 2009 UTC (15 years, 3 months ago) by cegger
Branch: MAIN
Changes since 1.21: +20 -18 lines
Diff to previous 1.21 (colored)

use PRI macro formats to printf type dev_t

Revision 1.17.2.2 / (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.17.2.1: +6 -4 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

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

Revision 1.21 / (download) - annotate - [select for diffs], Mon Nov 17 14:12:52 2008 UTC (15 years, 4 months ago) by cegger
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.20: +3 -2 lines
Diff to previous 1.20 (colored)

build fix: include <sys/buf.h>

Revision 1.20 / (download) - annotate - [select for diffs], Fri Oct 24 18:02:58 2008 UTC (15 years, 5 months ago) by jym
Branch: MAIN
CVS Tags: 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, 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
Branch point for: nick-hppapmap, netbsd-5-0, netbsd-5, matt-nb5-mips64
Changes since 1.19: +5 -4 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.17.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:13 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.17: +22 -9 lines
Diff to previous 1.17 (colored)

Sync with HEAD.

Revision 1.14.6.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:14 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.6.2: +20 -7 lines
Diff to previous 1.14.6.2 (colored) to branchpoint 1.14 (colored)

Sync with HEAD.

Revision 1.16.6.3 / (download) - annotate - [select for diffs], Wed Sep 24 16:38:50 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.16.6.2: +5 -5 lines
Diff to previous 1.16.6.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.

Revision 1.16.6.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:39 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.16.6.1: +19 -6 lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Sep 16 19:53:05 2008 UTC (15 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, haad-dm-base1
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

Fix typos and pasto, from Jean-Yves Migeon (jean-yves dot migeon at espci
dot fr). Luckily this pasto is fatal only in case of a 64bit domU on a
32bit dom0, which we don't support yet as dom0.

Revision 1.3.12.2 / (download) - annotate - [select for diffs], Thu Sep 4 08:46:44 2008 UTC (15 years, 7 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.3.12.1: +45 -23 lines
Diff to previous 1.3.12.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with netbsd-4.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Aug 31 14:47:38 2008 UTC (15 years, 7 months ago) by jdc
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.3.2.1: +45 -23 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Pull up revisions:
  sys/arch/xen/include/xenbus.h:1.8
  sys/arch/xen/xen/xbd_xenbus.c:1.24
  sys/arch/xen/xen/xbdback_xenbus.c:1.15
  sys/arch/xen/xenbus/xenbus_xs.c:1.14
via patch (requested by bouyer in ticket #1149).

Revision 1.18 / (download) - annotate - [select for diffs], Sun Aug 24 21:00:49 2008 UTC (15 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-2
Changes since 1.17: +19 -6 lines
Diff to previous 1.17 (colored)

Defer xbdback_do_io() to a workqueue; which allow us to take the
xbd_io->xio_buf.b_vp->v_interlock mutex before v_numoutput++;
which should fix the "vwakeup: neg numoutput" panic.

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:02 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.6.1: +1 -1 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored)

Sync with HEAD.

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

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

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:32:55 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:24 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 13 22:59:03 2008 UTC (15 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

correct spelling in error message

Revision 1.3.12.1 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:18 2008 UTC (15 years, 10 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.3: +4 -1 lines
Diff to previous 1.3 (colored)

Sync with netbsd-4.

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:31 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.14: +45 -25 lines
Diff to previous 1.14 (colored)

Sync with HEAD.

Revision 1.3.4.8 / (download) - annotate - [select for diffs], Mon Mar 24 09:38:40 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.7: +5 -5 lines
Diff to previous 1.3.4.7 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:10 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.14: +44 -24 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sun Mar 23 10:26:05 2008 UTC (16 years ago) by jdc
Branch: netbsd-4
Changes since 1.3: +4 -1 lines
Diff to previous 1.3 (colored)

Pull up revisions (requested by bouyer in ticket #1086):
  src/sys/arch/xen/i386/xen_shm_machdep.c	1.3
  src/sys/arch/xen/x86/xenfunc.c		1.4
  src/sys/arch/xen/xen/pci_intr_machdep.c	1.4
  src/sys/arch/xen/xen/pci_machdep.c		1.12
  src/sys/arch/xen/xen/xbdback.c		1.30
  src/sys/arch/xen/xen/xbdback_xenbus.c		1.14
  src/sys/arch/xen/xen/xen_acpi_machdep.c	1.4
  src/sys/arch/xen/xen/xenevt.c			1.20
  src/sys/arch/xen/xen/xengnt.c			1.6
  src/sys/arch/xen/xen/xennetback.c		1.31

Add missing __KERNEL_RCSID()

Revision 1.6.6.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:30 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.6.6.2: +46 -23 lines
Diff to previous 1.6.6.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Sat Mar 22 14:21:56 2008 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, hpcarm-cleanup-nbase, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored)

vn_close no longer takes a 'struct lwp' argument.

Revision 1.3.4.7 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:36 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.6: +44 -24 lines
Diff to previous 1.3.4.6 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 13 22:19:39 2008 UTC (16 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.14: +44 -24 lines
Diff to previous 1.14 (colored)

Add swedge support to xbd backed, and make the virtual block device handle
sizes larger than 4TB. Tested by Jukka Marin.
Should fix kern/37370.

Revision 1.3.4.6 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:29 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.5: +4 -1 lines
Diff to previous 1.3.4.5 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:21 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.7.2.1: +15 -5 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Feb 17 14:03:16 2008 UTC (16 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored)

Add missing __KERNEL_RCSID()

Revision 1.3.4.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:36 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.4: +12 -5 lines
Diff to previous 1.3.4.4 (colored) to branchpoint 1.3 (colored)

sync with head

Revision 1.6.6.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:50:22 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.6.6.1: +174 -58 lines
Diff to previous 1.6.6.1 (colored) to branchpoint 1.6 (colored)

sync with HEAD

Revision 1.11.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:43 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.11.6.1: +1 -0 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jan 6 12:43:42 2008 UTC (16 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Fix fallout from vmlocking2: in xbdback_co_io_loop(), return the right object.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:34 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.11: +11 -5 lines
Diff to previous 1.11 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:33 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.11: +11 -5 lines
Diff to previous 1.11 (colored)

Merge vmlocking2 to head.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Tue Jan 1 15:42:09 2008 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.11: +11 -5 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Make it build. XXX does not use getiobuf/putiobuf.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:28 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.7: +163 -54 lines
Diff to previous 1.7 (colored)

Sync with HEAD.

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

sync with head

Revision 1.3.10.4 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:48 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.3.10.3: +163 -54 lines
Diff to previous 1.3.10.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD.

Revision 1.6.4.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:36:31 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.6: +163 -54 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 26 19:01:28 2007 UTC (16 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.10 / (download) - annotate - [select for diffs], Sun Nov 25 23:23:09 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.9: +4 -1 lines
Diff to previous 1.9 (colored)

Ops, don't forget break in switch statements ...

Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 25 22:44:39 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.8: +151 -46 lines
Diff to previous 1.8 (colored)

Add support for the "protocol" entry in xenstore, which really specifies
the ABI used by the front-end (x86 32 or 64 bit). A linux 32bit PAE kernel
can now boot on a NetBSD 64bit dom0 and use the block devices.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Nov 22 16:17:09 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.7: +8 -7 lines
Diff to previous 1.7 (colored)

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

Revision 1.6.10.3 / (download) - annotate - [select for diffs], Fri Nov 16 17:29:59 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.6.10.2: +3 -2 lines
Diff to previous 1.6.10.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Fix printf formap for i386

Revision 1.6.10.2 / (download) - annotate - [select for diffs], Fri Nov 16 17:18:04 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.6.10.1: +2 -2 lines
Diff to previous 1.6.10.1 (colored) to branchpoint 1.6 (colored)

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

Revision 1.6.6.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:24:35 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

sync with HEAD

Revision 1.6.10.1 / (download) - annotate - [select for diffs], Wed Oct 17 21:08:25 2007 UTC (16 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)

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

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

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:33 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:26:16 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with HEAD

Revision 1.3.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:38 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.2: +6 -7 lines
Diff to previous 1.3.4.2 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.3.10.3 / (download) - annotate - [select for diffs], Sun Aug 19 19:24:19 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.3.10.2: +2 -3 lines
Diff to previous 1.3.10.2 (colored) to branchpoint 1.3 (colored)

- Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:02 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:05:56 2007 UTC (16 years, 8 months ago) by matt
Branch: matt-mips64
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 29 12:15:43 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, matt-mips64-base, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)

It's not a good idea for device drivers to modify b_flags, as they don't
need to understand the locking around that field. Instead of setting
B_ERROR, set b_error instead. b_error is 'owned' by whoever completes
the I/O request.

Revision 1.3.10.2 / (download) - annotate - [select for diffs], Sun Jul 15 13:17:22 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.3.10.1: +2 -2 lines
Diff to previous 1.3.10.1 (colored) to branchpoint 1.3 (colored)

Sync with head.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:38 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 9 20:52:40 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base
Branch point for: nick-csl-alignment, matt-mips64
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:07 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.3.10.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:16 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Sync with head.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:29 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: ppcoea-renovation, mjf-ufs-trans
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.3.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:25 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3.4.1: +1380 -0 lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored)

sync with head.

Revision 1.1.12.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:43 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.1.12.1: +8 -1 lines
Diff to previous 1.1.12.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head.

Revision 1.1.8.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:39 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.1: +31 -8 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

Sync with head.

Revision 1.3.4.1, Tue Nov 14 22:14:56 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.3: +0 -1380 lines
FILE REMOVED

file xbdback_xenbus.c was added on branch yamt-lazymbuf on 2006-12-30 20:47:25 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Tue Nov 14 22:14:56 2006 UTC (17 years, 5 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-base-1, post-newlock2-merge, 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, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-lazymbuf, yamt-idlelwp, wrstuden-fixsa, vmlocking, netbsd-4
Changes since 1.2: +8 -1 lines
Diff to previous 1.2 (colored)

vn_lock() the vnode we got from bdevvp(), otherwise if something else uses
this device in userland (e.g. qemu-dm when running a HVM guest), we'll reuse
the existing vnode and we'll panic in VOP_UNLOCK(). We don't have this issue
most of the time because when xbdback is the only user, we get a specfs
vnode for which locking operation are NOPs.

Thanks to Antti Kantee for spotting the missing vn_lock() in sources and
giving details about vnode locking.

Revision 1.1.12.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:20 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.1: +24 -8 lines
Diff to previous 1.1 (colored)

sync with head

Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 15 21:34:48 2006 UTC (17 years, 6 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.1: +24 -8 lines
Diff to previous 1.1 (colored)

Don't rely on the /dev entry in the xenstore to get the handle; extract
it from the xenstore path. /dev will have whatever is in the guest's config
file disk entry, and this may not be a number (in the case of HVM guests
it's a string starting with 'ioemu').

Revision 1.1.10.2 / (download) - annotate - [select for diffs], Sat Sep 9 02:45:05 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.1.10.1: +1357 -0 lines
Diff to previous 1.1.10.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:43:16 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.1.6.1: +1357 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:07 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.1.2.1: +1357 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Merge from HEAD.

Revision 1.1.10.1, Sun Jul 2 16:35:24 2006 UTC (17 years, 9 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.1: +0 -1357 lines
FILE REMOVED

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

Revision 1.1.6.1, Sun Jul 2 16:35:24 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.1: +0 -1357 lines
FILE REMOVED

file xbdback_xenbus.c was added on branch yamt-pdpolicy on 2006-08-11 15:43:16 +0000

Revision 1.1.2.1, Sun Jul 2 16:35:24 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.1: +0 -1357 lines
FILE REMOVED

file xbdback_xenbus.c was added on branch gdamore-uart on 2006-07-13 17:49:07 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jul 2 16:35:24 2006 UTC (17 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, yamt-pdpolicy, rpaulo-netinet-merge-pcb, newlock2, gdamore-uart

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

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>