The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.68 / (download) - annotate - [select for diffs], Thu Sep 22 16:21:34 2022 UTC (18 months, 3 weeks ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, 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, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Fix fallout from previous: ci_ipending is in the low bytes of ci_istate,
so we should not left-shift by 8 the ci_ipending value we want to add there.
Should fix KASSERT in Xen's idle_block() reported by Frank Kardel in private
mail.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Sep 7 00:40:19 2022 UTC (19 months ago) by knakahara
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

NetBSD/x86: Raise the number of interrupt sources per CPU from 32 to 56.

There has been no objection for three years.
    https://mail-index.netbsd.org/port-amd64/2019/09/22/msg003012.html
Implemented by nonaka@n.o, updated by me.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Sep 4 11:20:33 2022 UTC (19 months, 1 week ago) by bouyer
Branch: MAIN
Changes since 1.65: +6 -7 lines
Diff to previous 1.65 (colored)

Release mutexes earlier in xenevt_free(), to call *destroy and kmem_free
without holding spin locks. Fixes an occasional deadlock seen when the qemu
backing a HVM domU exits.

Revision 1.65 / (download) - annotate - [select for diffs], Fri May 27 18:35:38 2022 UTC (22 months, 2 weeks ago) by bouyer
Branch: MAIN
Changes since 1.64: +3 -2 lines
Diff to previous 1.64 (colored)

xenevt_setipending(): also increase xenevt_ih->ih_pending, so that
the handler will be called when the IPL is lowered.

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

Sync with HEAD.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Jul 24 21:31:36 2021 UTC (2 years, 8 months ago) by andvar
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.63: +3 -3 lines
Diff to previous 1.63 (colored)

Fix all remaining typos, mainly in comments but also in few definitions and log messages, reported by me in PR kern/54889.
Also fixed some additional typos in comments, found on review of same files or typos.

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

Sync with HEAD.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Jan 11 22:02:28 2021 UTC (3 years, 3 months ago) by skrll
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.62: +8 -8 lines
Diff to previous 1.62 (colored)

Trailing whitespace

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jan 11 22:01:14 2021 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Fix spelling of preferred in comments.  While here improve grammar in
one of the comments.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:04 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.60: +13 -2 lines
Diff to previous 1.60 (colored)

Sync w/ HEAD.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Nov 30 17:06:02 2020 UTC (3 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.60: +13 -2 lines
Diff to previous 1.60 (colored)

Work in progress on dom0 PVH support. kernel boots and xl info works,
but we can't start a domU yet.

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

Go back using cpu_info_primary, all events are bound to vCPU 0 by default.
Register the event handler on cpu_info_primary.
While there. update the event counter on interrupts.
Finally this should be MP-safe.

Revision 1.59 / (download) - annotate - [select for diffs], Wed May 6 20:40:33 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.58: +9 -8 lines
Diff to previous 1.58 (colored)

The event channel is not necesserely bound to the primary CPU.
Use the CPU returned in the interrupt handler instead.

Revision 1.58 / (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.57: +9 -4 lines
Diff to previous 1.57 (colored)

Make DOM0OPS build for PVH/PVHVM too

Revision 1.57 / (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.56: +3 -3 lines
Diff to previous 1.56 (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.48.4.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.48.4.2: +2 -3 lines
Diff to previous 1.48.4.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Sun Apr 12 17:25:53 2020 UTC (4 years ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Get rid of xen-specific ci_x* interrupt handling:
- use the general SIR mechanism, reserving 3 more slots for IPL_VM, IPL_SCHED
  and IPL_HIGH
- remove specific handling from C sources, or change to ipending
- convert IPL number to SIR number in various places
- Remove XUNMASK/XPENDING in assembly or change to IUNMASK/IPENDING
- remove Xen-specific ci_xsources, ci_xmask, ci_xunmask, ci_xpending from
  struct cpu_info
- for now remove a KASSERT that there are no pending interrupts in
  idle_block(). We can get there with some software interrupts pending
  in autoconf XXX needs to be looked at.

Revision 1.48.4.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.48.4.1: +4 -5 lines
Diff to previous 1.48.4.1 (colored) to branchpoint 1.48 (colored)

Merge changes from current as of 20200406

Revision 1.56 / (download) - annotate - [select for diffs], Tue Apr 7 10:19:53 2020 UTC (4 years ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Changes since 1.55: +4 -5 lines
Diff to previous 1.55 (colored)

switch from malloc() to kmem_zalloc()

Revision 1.55 / (download) - annotate - [select for diffs], Mon Apr 6 17:55:51 2020 UTC (4 years ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20200406
Changes since 1.54: +3 -4 lines
Diff to previous 1.54 (colored)

just pass true as known_mpsafe for interrupt establish, drop the
(level != IPL_VM); NFCI, this uses IPL_HIGH so was mpsafe already

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Fri Nov 22 15:28:17 2019 UTC (4 years, 4 months ago) by bouyer
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Pull up following revision(s) (requested by martin in ticket #463):
	sys/arch/xen/xen/xenevt.c: revision 1.54
	sys/arch/arm/omap/obio_mputmr.c: revision 1.9
	sys/arch/evbarm/beagle/beagle_machdep.c: revision 1.79
Make this files compilable w/o options DIAGNOSTIC

Revision 1.54 / (download) - annotate - [select for diffs], Fri Nov 22 14:30:58 2019 UTC (4 years, 4 months ago) by martin
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Make this files compilable w/o options DIAGNOSTIC

Revision 1.48.4.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.48: +28 -26 lines
Diff to previous 1.48 (colored)

Sync with HEAD

Revision 1.48.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.48.2.2: +5 -5 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.53 / (download) - annotate - [select for diffs], Tue Dec 25 06:50:12 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c

While at it, separate the source function tracking so that the interrupt
paths are truly independant.

Use weak symbol exporting to provision for future PVHVM co-existence
of both files, but with independant paths. Introduce assembler code
such that in a unified scenario, native interrupts get first priority
in spllower(), followed by XEN event callbacks. IPL management and
semantics are unchanged - native handlers and xen callbacks are
expected to maintain their ipl related semantics.

In summary, after this commit, native and XEN now have completely
unrelated interrupt handling mechanisms, including
intr_establish_xname() and assembler stubs and intr handler
management.

Happy Christmas!

Revision 1.52 / (download) - annotate - [select for diffs], Mon Dec 24 14:55:42 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.51: +4 -4 lines
Diff to previous 1.51 (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.48.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.48.2.1: +3 -3 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.51 / (download) - annotate - [select for diffs], Wed Oct 24 03:59:33 2018 UTC (5 years, 5 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (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.48.2.1 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:30 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.48: +27 -25 lines
Diff to previous 1.48 (colored)

Sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 17 03:43:24 2018 UTC (5 years, 5 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.49: +2 -6 lines
Diff to previous 1.49 (colored)

The known_mpsafe parameter is used by intr.c:intr_establish_xname()
especially in the non -D MULTIPROCESSOR case. We used it incorrectly.

Fix this.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Oct 10 03:54:54 2018 UTC (5 years, 6 months ago) by cherry
Branch: MAIN
Changes since 1.48: +28 -22 lines
Diff to previous 1.48 (colored)

Do not re-expose the innards of evtchn.c, now that we have a way
to register interrupts via intr.c:intr_establish_xname()

evtchn.c is going to get refactored soon, so use the latter method.

Revision 1.39.8.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.39.8.1: +10 -10 lines
Diff to previous 1.39.8.1 (colored) to branchpoint 1.39 (colored) next main 1.40 (colored)

update from HEAD

Revision 1.48 / (download) - annotate - [select for diffs], Thu Nov 30 20:25:54 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, 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: phil-wifi, pgoyette-compat
Changes since 1.47: +3 -2 lines
Diff to previous 1.47 (colored)

add fo_name so we can identify the fileops in a simple way.

Revision 1.41.4.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:57 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.41.4.2: +4 -6 lines
Diff to previous 1.41.4.2 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with HEAD

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Sun Jul 16 14:02:49 2017 UTC (6 years, 8 months ago) by cherry
Branch: perseant-stdc-iso10646
Changes since 1.47.2.1: +647 -0 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

2302677

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

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

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jul 16 14:02:48 2017 UTC (6 years, 8 months ago) by cherry
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, nick-nhusb-base-20170825
Branch point for: perseant-stdc-iso10646
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

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

This is towards PVHVM.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:08 2017 UTC (6 years, 10 months ago) by chs
Branch: MAIN
CVS Tags: netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.45: +2 -4 lines
Diff to previous 1.45 (colored)

remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jul 7 06:55:40 2016 UTC (7 years, 9 months ago) by msaitoh
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

KNF. Remove extra spaces. No functional change.

Revision 1.41.4.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:54 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.41.4.1: +10 -9 lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Thu Aug 20 14:40:17 2015 UTC (8 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored)

include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:05 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.41: +6 -6 lines
Diff to previous 1.41 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Sat May 30 19:14:46 2015 UTC (8 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Improve wording.

Revision 1.39.10.1 / (download) - annotate - [select for diffs], Wed May 27 05:57:14 2015 UTC (8 years, 10 months ago) by msaitoh
Branch: netbsd-6-0
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1299):
	sys/arch/xen/xen/xenevt.c: revision 1.42
Fix off by one error, pointed out by Wei Liu in port-xen/49919

Revision 1.39.18.1 / (download) - annotate - [select for diffs], Wed May 27 05:56:42 2015 UTC (8 years, 10 months ago) by msaitoh
Branch: netbsd-6-1
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1299):
	sys/arch/xen/xen/xenevt.c: revision 1.42
Fix off by one error, pointed out by Wei Liu in port-xen/49919

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Wed May 27 05:54:44 2015 UTC (8 years, 10 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.39: +5 -5 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1299):
	sys/arch/xen/xen/xenevt.c: revision 1.42
Fix off by one error, pointed out by Wei Liu in port-xen/49919

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Fri May 22 16:56:45 2015 UTC (8 years, 10 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, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Pull up following revision(s) (requested by bouyer in ticket #796):
	sys/arch/xen/xen/xenevt.c: revision 1.42
Fix off by one error, pointed out by Wei Liu in port-xen/49919

Revision 1.29.4.2.6.1 / (download) - annotate - [select for diffs], Fri May 22 11:44:25 2015 UTC (8 years, 10 months ago) by sborrill
Branch: netbsd-5-2
Changes since 1.29.4.2: +5 -5 lines
Diff to previous 1.29.4.2 (colored) next main 1.29.4.3 (colored)

Pull up the following revisions(s) (requested by bouyer in ticket #1965):
	sys/arch/xen/xen/xenevt.c:	revision 1.42

Fix off by one error, addresses port-xen/49919.

Revision 1.29.4.2.2.1 / (download) - annotate - [select for diffs], Fri May 22 11:22:03 2015 UTC (8 years, 10 months ago) by sborrill
Branch: netbsd-5-1
Changes since 1.29.4.2: +5 -5 lines
Diff to previous 1.29.4.2 (colored) next main 1.29.4.3 (colored)

Pull up the following revisions(s) (requested by bouyer in ticket #1965):
	sys/arch/xen/xen/xenevt.c:	revision 1.42

Fix off by one error, addresses port-xen/49919.

Revision 1.29.4.3 / (download) - annotate - [select for diffs], Fri May 22 11:04:28 2015 UTC (8 years, 10 months ago) by sborrill
Branch: netbsd-5
Changes since 1.29.4.2: +5 -5 lines
Diff to previous 1.29.4.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Pull up the following revisions(s) (requested by bouyer in ticket #1965):
	sys/arch/xen/xen/xenevt.c:	revision 1.42

Fix off by one error, addresses port-xen/49919.

Revision 1.42 / (download) - annotate - [select for diffs], Fri May 22 10:34:13 2015 UTC (8 years, 10 months ago) by bouyer
Branch: MAIN
Changes since 1.41: +5 -5 lines
Diff to previous 1.41 (colored)

Fix off by one error, pointed out by Wei Liu in port-xen/49919

Revision 1.39.8.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.39: +14 -4 lines
Diff to previous 1.39 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:11 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Rebase.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:35 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.38.2.2 / (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.38.2.1: +13 -4 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (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.39.12.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.39: +13 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:26 2014 UTC (10 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.39: +13 -4 lines
Diff to previous 1.39 (colored)

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:12 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.38: +80 -35 lines
Diff to previous 1.38 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Sat Dec 3 22:41:40 2011 UTC (12 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet, netbsd-6-1, netbsd-6-0, netbsd-6
Changes since 1.38: +80 -35 lines
Diff to previous 1.38 (colored)

hypervisor_unmask_event(): don't check/update evtchn_pending_sel for the
  current CPU, but for any CPU which may accept this event.
xen/xenevt.c: more use of atomic ops and locks where appropriate, and some
  other SMP fixes. Handle all events on the primary CPU (may be revisited
  later). Set/clear ci_evtmask[] for watched events.

This should fix the problems on dom0 kernels reported by jym@

Revision 1.30.2.4 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:33 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.30.2.3: +39 -55 lines
Diff to previous 1.30.2.3 (colored) to branchpoint 1.30 (colored) next main 1.31 (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.38 / (download) - annotate - [select for diffs], Thu Aug 11 17:59:00 2011 UTC (12 years, 8 months ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache
Changes since 1.37: +5 -4 lines
Diff to previous 1.37 (colored)

Make event/interrupt handling MP aware

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Thu Aug 4 09:07:47 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.37: +5 -4 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

first cut at per-cpu event handling

Revision 1.36.6.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.36: +36 -53 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Sync with HEAD.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Tue May 31 03:04:25 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.36: +36 -53 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head

Revision 1.37 / (download) - annotate - [select for diffs], Sun May 22 04:27:15 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.36: +36 -53 lines
Diff to previous 1.36 (colored)

- Replace uses of simple_lock and ltsleep with mutex and condvar.
- Improve some parts of the code to be more MP-friendly.

Tested by jakllsch@.

Revision 1.30.2.3 / (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.30.2.2: +3 -3 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored)

Sync with HEAD

Revision 1.29.4.1.4.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.29.4.1: +3 -3 lines
Diff to previous 1.29.4.1 (colored) next main 1.29.4.2 (colored)

sync to netbsd-5

Revision 1.27.2.3 / (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.27.2.2: +3 -8 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head

Revision 1.36 / (download) - annotate - [select for diffs], Sun Dec 20 09:36:05 2009 UTC (14 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

If a multithreaded app closes an fd while another thread is blocked in
read/write/accept, then the expectation is that the blocked thread will
exit and the close complete.
Since only one fd is affected, but many fd can refer to the same file,
the close code can only request the fs code unblock with ERESTART.
Fixed for pipes and sockets, ERESTART will only be generated after such
a close - so there should be no change for other programs.
Also rename fo_abort() to fo_restart() (this used to be fo_drain()).
Fixes PR/26567

Revision 1.35 / (download) - annotate - [select for diffs], Wed Dec 9 21:32:58 2009 UTC (14 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

Rename fo_drain() to fo_abort(), 'drain' is used to mean 'wait for output
do drain' in many places, whereas fo_drain() was called in order to force
blocking read()/write() etc calls to return to userspace so that a close()
call from a different thread can complete.
In the sockets code comment out the broken code in the inner function,
it was being called from compat code.

Revision 1.30.2.2 / (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.30.2.1: +4 -53 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored)

Sync with HEAD.

Revision 1.34 / (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.33: +2 -7 lines
Diff to previous 1.33 (colored)

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

Revision 1.29.4.2 / (download) - annotate - [select for diffs], Wed Sep 30 00:08:03 2009 UTC (14 years, 6 months ago) by snj
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-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, matt-nb5-pq3-base, matt-nb5-pq3
Branch point for: netbsd-5-2, netbsd-5-1
Changes since 1.29.4.1: +3 -3 lines
Diff to previous 1.29.4.1 (colored) to branchpoint 1.29 (colored)

Pull up following revision(s) (requested by bouyer in ticket #1040):
	sys/arch/i386/include/param.h: revision 1.71
	sys/arch/i386/i386/db_memrw.c: revision 1.25
	sys/arch/xen/include/xenpmap.h: revision 1.22
	sys/arch/xen/xen/xenevt.c: revision 1.31
More i386PAE fixes:
- x86_round_page, x86_trunc_page, x86_btop and x86_ptob macros are used with
  physical addresses; cast to paddr_t instead of u_long. Issue pointed out
  by jym@
- machine_to_phys_mapping[] is a long. This is fine as it holds page
  frame numbers (and this fits in a 32bit int as physical addresses are
  only 36bits), but cast to paddr_t before << PAGE_SHIFT
- xen_start_info.store_mfn is a long; cast it to paddr_t before << PAGE_SHIFT.
  should fix issue pointed out by cegger@

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:56 2009 UTC (14 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.2.1: +4 -48 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jul 29 12:02:10 2009 UTC (14 years, 8 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.32: +4 -48 lines
Diff to previous 1.32 (colored)

remove Xen2 support.
ok bouyer@

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:50 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.30: +12 -11 lines
Diff to previous 1.30 (colored)

Sync with HEAD.

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

Revision 1.27.2.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.27: +17 -15 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:01 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.29.2.1: +12 -11 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Sat Apr 4 23:36:27 2009 UTC (15 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.29: +11 -10 lines
Diff to previous 1.29 (colored)

Pull up following revision(s) (requested by ad in ticket #661):
	sys/arch/xen/xen/xenevt.c: revision 1.32
	sys/compat/svr4/svr4_net.c: revision 1.56
	sys/compat/svr4_32/svr4_32_net.c: revision 1.19
	sys/dev/dmover/dmover_io.c: revision 1.32
	sys/dev/putter/putter.c: revision 1.21
	sys/kern/kern_descrip.c: revision 1.190
	sys/kern/kern_drvctl.c: revision 1.23
	sys/kern/kern_event.c: revision 1.64
	sys/kern/sys_mqueue.c: revision 1.14
	sys/kern/sys_pipe.c: revision 1.109
	sys/kern/sys_socket.c: revision 1.59
	sys/kern/uipc_syscalls.c: revision 1.136
	sys/kern/vfs_vnops.c: revision 1.164
	sys/kern/uipc_socket.c: revision 1.188
	sys/net/bpf.c: revision 1.144
	sys/net/if_tap.c: revision 1.55
	sys/opencrypto/cryptodev.c: revision 1.47
	sys/sys/file.h: revision 1.67
	sys/sys/param.h: patch
	sys/sys/socketvar.h: revision 1.119
Add fileops::fo_drain(), to be called from fd_close() when there is more
than one active reference to a file descriptor. It should dislodge threads
sleeping while holding a reference to the descriptor. Implemented only for
sockets but should be extended to pipes, fifos, etc.
Fixes the case of a multithreaded process doing something like the
following, which would have hung until the process got a signal.
thr0	accept(fd, ...)
thr1	close(fd)

Revision 1.32 / (download) - annotate - [select for diffs], Sat Apr 4 10:12:51 2009 UTC (15 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.31: +11 -10 lines
Diff to previous 1.31 (colored)

Add fileops::fo_drain(), to be called from fd_close() when there is more
than one active reference to a file descriptor. It should dislodge threads
sleeping while holding a reference to the descriptor. Implemented only for
sockets but should be extended to pipes, fifos, etc.

Fixes the case of a multithreaded process doing something like the
following, which would have hung until the process got a signal.

thr0	accept(fd, ...)
thr1	close(fd)

Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 10 20:05:31 2009 UTC (15 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

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

Revision 1.29.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.29: +3 -3 lines
Diff to previous 1.29 (colored)

Sync with HEAD.

Revision 1.22.6.5 / (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.22.6.4: +1 -1 lines
Diff to previous 1.22.6.4 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Dec 17 20:51:33 2008 UTC (15 years, 3 months ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

kill MALLOC and FREE macros.

Revision 1.28.4.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.28: +5 -5 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.22.6.4 / (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.22.6.3: +3 -3 lines
Diff to previous 1.22.6.3 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

Revision 1.27.4.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.27.4.1: +5 -5 lines
Diff to previous 1.27.4.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Sep 5 13:37:24 2008 UTC (15 years, 7 months ago) by tron
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored)

Compile NetBSD/amd64 kernels with "-Wextra". Patches contributed by
Juan RP in PR port-amd64/39266.

Revision 1.22.6.3 / (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.22.6.2: +1 -0 lines
Diff to previous 1.22.6.2 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

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

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

Revision 1.26.2.2 / (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.26.2.1: +3 -2 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jun 7 20:07:42 2008 UTC (15 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl
Branch point for: haad-dm
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Initialize ih_ilevel for the special xenevt_processevt() handler.
Should fix KASSERT panic reported by Sarton O'Brien and Kazushi Marukawa
on port-xen@

Revision 1.11.8.2 / (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.11.8.1: +4 -1 lines
Diff to previous 1.11.8.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with netbsd-4.

Revision 1.22.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:55 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.22.6.1: +23 -11 lines
Diff to previous 1.22.6.1 (colored) to branchpoint 1.22 (colored)

Sync with HEAD.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:08 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.26: +19 -7 lines
Diff to previous 1.26 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Apr 19 13:46:12 2008 UTC (15 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, hpcarm-cleanup-nbase
Branch point for: yamt-nfs-mp, wrstuden-revivesa
Changes since 1.26: +19 -7 lines
Diff to previous 1.26 (colored)

Use interrupt biglock wrapper as in x86/x86/intr.c
This change is based on http://mail-index.netbsd.org/port-amd64/2004/02/22/0000.html
OK bouyer

Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 14 13:38:03 2008 UTC (16 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.25: +8 -8 lines
Diff to previous 1.25 (colored)

- use POSIX integer types
- ansify functions

Revision 1.22.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.22: +14 -12 lines
Diff to previous 1.22 (colored)

Sync with HEAD.

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

sync with head.

Revision 1.22.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.22: +5 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Sun Mar 23 10:26:05 2008 UTC (16 years ago) by jdc
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.11.4.1: +4 -1 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (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.14.10.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.14.10.2: +86 -22 lines
Diff to previous 1.14.10.2 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with HEAD

Revision 1.25 / (download) - annotate - [select for diffs], Sat Mar 22 14:28:10 2008 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Changes since 1.24: +11 -11 lines
Diff to previous 1.24 (colored)

Make it compile.

Revision 1.5.4.8 / (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.5.4.7: +5 -3 lines
Diff to previous 1.5.4.7 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Mar 1 18:32:48 2008 UTC (16 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Changes since 1.23: +6 -6 lines
Diff to previous 1.23 (colored)

Fix my previous confuse of the code: use selinit/seldestroy in correct
places, and fix missed selnotify call.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 1 14:16:50 2008 UTC (16 years, 1 month ago) by rmind
Branch: MAIN
Changes since 1.22: +5 -3 lines
Diff to previous 1.22 (colored)

Welcome to 4.99.55:

- Add a lot of missing selinit() and seldestroy() calls.

- Merge selwakeup() and selnotify() calls into a single selnotify().

- Add an additional 'events' argument to selnotify() call.  It will
  indicate which event (POLL_IN, POLL_OUT, etc) happen.  If unknown,
  zero may be used.

Note: please pass appropriate value of 'events' where possible.
Proposed on: <tech-kern>

Revision 1.5.4.7 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:30 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.4.6: +74 -19 lines
Diff to previous 1.5.4.6 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 19 19:50:53 2008 UTC (16 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.21: +38 -33 lines
Diff to previous 1.21 (colored)

The event bitmasks provided by the hypervisor are unsigned long (so 64bits
on amd64). Make sure to use the right type to store and manipulate them.
This fixes amd64, where basically any event channel > 31 was not working
(and you get there after starting/stopping a domU a few times). Things
would occasionally unwedge though the spllower() callbacks.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 19 13:25:53 2008 UTC (16 years, 1 month ago) by bouyer
Branch: MAIN
Changes since 1.20: +67 -20 lines
Diff to previous 1.20 (colored)

Fix xenevt to not call softint_schedule() above IPL_HIGH:
Register a ipl callback for IPL_HIGH.
if the current ipl level is too high, just record the event in a bitmap,
and record IPL_HIGH as pending. The callback will process the pending events.

Revision 1.15.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.15.2.1: +13 -3 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Feb 17 14:03:16 2008 UTC (16 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

Add missing __KERNEL_RCSID()

Revision 1.5.4.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:37 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.4.5: +10 -3 lines
Diff to previous 1.5.4.5 (colored) to branchpoint 1.5 (colored)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jan 11 20:00:54 2008 UTC (16 years, 3 months ago) by bouyer
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

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

Revision 1.14.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:50:23 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.14.10.1: +17 -15 lines
Diff to previous 1.14.10.1 (colored) to branchpoint 1.14 (colored)

sync with HEAD

Revision 1.17.6.2 / (download) - annotate - [select for diffs], Tue Jan 8 23:51:53 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.17.6.1: +1 -0 lines
Diff to previous 1.17.6.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Make XEN kernels build again.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:10:43 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.17: +9 -3 lines
Diff to previous 1.17 (colored)

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 8 19:26:10 2008 UTC (16 years, 3 months ago) by bouyer
Branch: MAIN
Changes since 1.17: +9 -3 lines
Diff to previous 1.17 (colored)

Allocating up to 8k on stack isn't a good idea ...

Revision 1.14.8.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:33 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.14.8.1: +12 -10 lines
Diff to previous 1.14.8.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:29 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.15: +17 -15 lines
Diff to previous 1.15 (colored)

Sync with HEAD.

Revision 1.5.4.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:27:24 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.4.4: +17 -15 lines
Diff to previous 1.5.4.4 (colored) to branchpoint 1.5 (colored)

sync with head

Revision 1.13.4.2 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:50 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.13.4.1: +17 -15 lines
Diff to previous 1.13.4.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:30 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.16: +12 -10 lines
Diff to previous 1.16 (colored)

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Tue Nov 27 19:36:32 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 (colored)

Sync with HEAD. amd64 Xen support needs testing.

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

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

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

sync with HEAD

Revision 1.14.14.1 / (download) - annotate - [select for diffs], Wed Oct 17 21:08:26 2007 UTC (16 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.14: +6 -6 lines
Diff to previous 1.14 (colored) next main 1.15 (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.15 / (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.14: +1 -1 lines
Diff to previous 1.14 (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.5.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:39 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.4.3: +6 -1 lines
Diff to previous 1.5.4.3 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Mon Sep 3 07:04:15 2007 UTC (16 years, 7 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.11: +6 -1 lines
Diff to previous 1.11 (colored)

Sync w/ NetBSD-4-RC_1

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Mon Jul 16 10:11:59 2007 UTC (16 years, 9 months ago) by liamjfoy
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-base-1, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.11: +6 -1 lines
Diff to previous 1.11 (colored)

Pull up following revision(s) (requested by jld in ticket #763):
	sys/arch/xen/xen/xenevt.c: revision 1.14
Add needed locking in xenevt_fpoll; this fixes at least a lost-wakeup bug.
OK'ed by bouyer@.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:17:23 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.13: +6 -1 lines
Diff to previous 1.13 (colored)

Sync with head.

Revision 1.13.6.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.13: +6 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.13.12.1 / (download) - annotate - [select for diffs], Tue Jun 26 18:13:57 2007 UTC (16 years, 9 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.13: +6 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jun 8 22:06:18 2007 UTC (16 years, 10 months ago) by jld
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6, jmcneill-pm, bouyer-xenamd64
Changes since 1.13: +6 -1 lines
Diff to previous 1.13 (colored)

Add needed locking in xenevt_fpoll; this fixes at least a lost-wakeup bug.
OK'ed by bouyer@.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:29 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

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

Revision 1.5.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:57 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.4.2: +4 -4 lines
Diff to previous 1.5.4.2 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 22 06:48:54 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

TRUE -> true, FALSE -> false

Revision 1.12 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:55 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.5.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.5.4.1: +5 -5 lines
Diff to previous 1.5.4.1 (colored) to branchpoint 1.5 (colored)

sync with head.

Revision 1.10.4.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.10: +4 -4 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with head.

Revision 1.7.8.3 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:22 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.7.8.2: +4 -4 lines
Diff to previous 1.7.8.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Sep 10 14:34:11 2006 UTC (17 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base
Branch point for: yamt-idlelwp, wrstuden-fixsa, netbsd-4
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Hypercalls returns negative error codes, so return -error in ioctl
function.

Revision 1.7.4.1 / (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.7: +204 -37 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.7.8.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.7.8.1: +2 -2 lines
Diff to previous 1.7.8.1 (colored) to branchpoint 1.7 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 25 05:14:38 2006 UTC (17 years, 8 months ago) by riz
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Adapt to change in args for falloc().  Reported by Hisashi T Fujinaka
on current-users.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:58:23 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5: +206 -39 lines
Diff to previous 1.5 (colored)

sync with head.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:39 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.7: +204 -37 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with head.

Revision 1.7.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:26 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.7: +204 -37 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

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

Revision 1.7.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:23 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.7: +204 -37 lines
Diff to previous 1.7 (colored)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 14 21:57:13 2006 UTC (17 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

integrate kauth.

Revision 1.7.10.2 / (download) - annotate - [select for diffs], Thu May 11 23:27:14 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.7.10.1: +200 -33 lines
Diff to previous 1.7.10.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Sun May 7 10:18:28 2006 UTC (17 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.7: +200 -33 lines
Diff to previous 1.7 (colored)

Add dom0 operation support for Xen3. Probably buggy, but it's enouth to have
xend and xenstored starting; xm info and xm list works.

Revision 1.7.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 00:43:19 2006 UTC (18 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

Adapt to kernel authorization KPI.

I expect *some* lossage here...

Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 12 22:56:50 2005 UTC (18 years, 4 months ago) by jld
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.6: +11 -11 lines
Diff to previous 1.6 (colored)

Make xenevt.c compile after lwp changes; not tested yet.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:50 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

merge ktrace-lwp.

Revision 1.2.6.3 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:34 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.6.2: +147 -41 lines
Diff to previous 1.2.6.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:30 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.5.2.1: +406 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)

sync with -current

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Thu Apr 28 10:36:54 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.2.2.2: +0 -3 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Pull up revision 1.5 (requested by bouyer in ticket #192):
Avoid a race between do_hypervisor_event() and stipending() that could
cause an event to be both handled and marked as pending, or being
marked as pending twice (triggering the diagnostic check
evtch_maskcount[port] == 0 in hypervisor_set_ipending):
mask and clear event by word of 32bit in do_hypervisor_event() or stipending(),
instead of by indiviual bits in do_event() or xenevt_event().
In addition this is marginally more efficient.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Thu Apr 28 10:19:03 2005 UTC (18 years, 11 months ago) by tron
Branch: netbsd-3
Changes since 1.2.2.1: +5 -2 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Pull up revision 1.4 (requested by bouyer in ticket #192):
Get rid of the event to pseudo-irq mapping. We are limited to 32 pseudo-irq,
including soft interrupt, and this is way too low in some use (lots of domains,
or domains with lots of xennet, or even hardware with lots of devices at
different interrupts).
Based on idea from YAMAMOTO Takashi, keep one list of handler per-event and
one per-IPL (so the same handler is now in 2 lists). In the common case were
an event is received at low IPL, we can call the handlers quickly (there
is usually only one handler per event, unless the event is mapped to a
physical interrupt and this interrupt is shared by different devices).
Deffered events and software interrupts are handled by a bitmask (as before)
with one bit per IPL. When one IPL has an event pending all handlers for
this IPL will be called.
With this change, it is now possible to have all the 1024 events active.
While here, handle debug event in a special way: the handler is always called,
regardless of the current IPL. Make the handler print usefull informations
about events and IPL states.
Also remove code not used on Xen in files inherited from the x86 port.

Revision 1.5.2.1, Tue Apr 19 22:14:30 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.5: +0 -406 lines
FILE REMOVED

file xenevt.c was added on branch kent-audio2 on 2005-04-29 11:28:30 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Tue Apr 19 22:14:30 2005 UTC (18 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf, kent-audio2
Changes since 1.4: +1 -4 lines
Diff to previous 1.4 (colored)

Avoid a race between do_hypervisor_event() and stipending() that could
cause an event to be both handled and marked as pending, or being
marked as pending twice (triggering the diagnostic check
evtch_maskcount[port] == 0 in hypervisor_set_ipending):
mask and clear event by word of 32bit in do_hypervisor_event() or stipending(),
instead of by indiviual bits in do_event() or xenevt_event().
In addition this is marginally more efficient.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 16 22:49:38 2005 UTC (19 years ago) by bouyer
Branch: MAIN
Changes since 1.3: +6 -3 lines
Diff to previous 1.3 (colored)

Get rid of the event to pseudo-irq mapping. We are limited to 32 pseudo-irq,
including soft interrupt, and this is way too low in some use (lots of domains,
or domains with lots of xennet, or even hardware with lots of devices at
different interrupts).
Based on idea from YAMAMOTO Takashi, keep one list of handler per-event and
one per-IPL (so the same handler is now in 2 lists). In the common case were
an event is received at low IPL, we can call the handlers quickly (there
is usually only one handler per event, unless the event is mapped to a
physical interrupt and this interrupt is shared by different devices).
Deffered events and software interrupts are handled by a bitmask (as before)
with one bit per IPL. When one IPL has an event pending all handlers for
this IPL will be called.
With this change, it is now possible to have all the 1024 events active.

While here, handle debug event in a special way: the handler is always called,
regardless of the current IPL. Make the handler print usefull informations
about events and IPL states.
Also remove code not used on Xen in files inherited from the x86 port.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Wed Apr 13 21:38:45 2005 UTC (19 years ago) by tron
Branch: netbsd-3
Changes since 1.2: +145 -39 lines
Diff to previous 1.2 (colored)

Pull up revision 1.3 (requested by yamt in ticket #146):
fix a bug which corrupts runqueue.
when dealing with events, which are handed to xenevt pseudo device,
don't call wakeup(9)/selnotify(9) at too high IPL.  PR/29792.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 11 12:10:31 2005 UTC (19 years ago) by yamt
Branch: MAIN
Changes since 1.2: +145 -39 lines
Diff to previous 1.2 (colored)

fix a bug which corrupts runqueue.
when dealing with events, which are handed to xenevt pseudo device,
don't call wakeup(9)/selnotify(9) at too high IPL.  PR/29792.

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Fri Apr 1 14:29:11 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.6.1: +300 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:26 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.2.4.1: +300 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

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

Revision 1.2.6.1, Wed Mar 9 22:39:21 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +0 -300 lines
FILE REMOVED

file xenevt.c was added on branch ktrace-lwp on 2005-04-01 14:29:11 +0000

Revision 1.2.4.1, Wed Mar 9 22:39:21 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.2: +0 -300 lines
FILE REMOVED

file xenevt.c was added on branch yamt-km on 2005-03-19 08:33:26 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Mar 9 22:39:21 2005 UTC (19 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: yamt-km, netbsd-3, ktrace-lwp
Changes since 1.1: +300 -0 lines
Diff to previous 1.1 (colored)

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

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sun Feb 13 19:15:49 2005 UTC (19 years, 2 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.1.2.3: +3 -3 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Adapt for fdclone() change.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Sat Feb 12 22:37:39 2005 UTC (19 years, 2 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.1.2.2: +3 -5 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored)

Revert parts of previous commit, which should not have been commited.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sat Feb 12 22:33:52 2005 UTC (19 years, 2 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.1.2.1: +19 -10 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

Complete poll implementation (forgot selrecord/selnotify).

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Jan 31 17:21:16 2005 UTC (19 years, 2 months ago) by bouyer
Branch: bouyer-xen2
Changes since 1.1: +293 -0 lines
Diff to previous 1.1 (colored)

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

Revision 1.1, Mon Jan 31 17:21:16 2005 UTC (19 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-km-base2
Branch point for: bouyer-xen2
FILE REMOVED

file xenevt.c was initially added on branch bouyer-xen2.

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>