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


Keyword substitution: kv
Default branch: MAIN


Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Sep 22 16:21:34 2022 UTC (2 years, 1 month ago) by bouyer
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 7 00:40:19 2022 UTC (2 years, 1 month ago) by knakahara
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 4 11:20:33 2022 UTC (2 years, 2 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +6 -7 lines
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 - view: text, markup, annotated - select for diffs
Fri May 27 18:35:38 2022 UTC (2 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 1 22:42:19 2021 UTC (3 years, 3 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +3 -3 lines
Sync with HEAD.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Jul 24 21:31:36 2021 UTC (3 years, 3 months ago) by andvar
Branches: 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
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:42 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.60.2.1: preferred, colored; next MAIN 1.61: preferred, colored
Changes since revision 1.60.2.1: +9 -9 lines
Sync with HEAD.

Revision 1.63: download - view: text, markup, annotated - select for diffs
Mon Jan 11 22:02:28 2021 UTC (3 years, 9 months ago) by skrll
Branches: 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
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +8 -8 lines
Trailing whitespace

Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Jan 11 22:01:14 2021 UTC (3 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
Fix spelling of preferred in comments.  While here improve grammar in
one of the comments.

Revision 1.60.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:04 2020 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +13 -2 lines
Sync w/ HEAD.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Mon Nov 30 17:06:02 2020 UTC (3 years, 11 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +13 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu May 7 19:52:50 2020 UTC (4 years, 5 months ago) by bouyer
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +15 -9 lines
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 - view: text, markup, annotated - select for diffs
Wed May 6 20:40:33 2020 UTC (4 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +9 -8 lines
The event channel is not necesserely bound to the primary CPU.
Use the CPU returned in the interrupt handler instead.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue May 5 17:02:01 2020 UTC (4 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +9 -4 lines
Make DOM0OPS build for PVH/PVHVM too

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Apr 25 15:26:18 2020 UTC (4 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:12 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.48.4.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.4.2: +2 -3 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Sun Apr 12 17:25:53 2020 UTC (4 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:59 2020 UTC (4 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.48.4.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.1: +4 -5 lines
Merge changes from current as of 20200406

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Apr 7 10:19:53 2020 UTC (4 years, 6 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -5 lines
switch from malloc() to kmem_zalloc()

Revision 1.55: download - view: text, markup, annotated - select for diffs
Mon Apr 6 17:55:51 2020 UTC (4 years, 6 months ago) by jdolecek
Branches: MAIN
CVS tags: phil-wifi-20200406
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +3 -4 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 22 15:28:17 2019 UTC (4 years, 11 months ago) by bouyer
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 22 14:30:58 2019 UTC (4 years, 11 months ago) by martin
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3 lines
Make this files compilable w/o options DIAGNOSTIC

Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:56 2019 UTC (5 years, 4 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +28 -26 lines
Sync with HEAD

Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:46 2018 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.48.2.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.2: +5 -5 lines
Sync with HEAD, resolve a few conflicts

Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Dec 25 06:50:12 2018 UTC (5 years, 10 months ago) by cherry
Branches: 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
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Dec 24 14:55:42 2018 UTC (5 years, 10 months ago) by cherry
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:28 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.1: +3 -3 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.51: download - view: text, markup, annotated - select for diffs
Wed Oct 24 03:59:33 2018 UTC (6 years ago) by cherry
Branches: MAIN
CVS tags: pgoyette-compat-1126
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 20 06:58:30 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +27 -25 lines
Sync with head

Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Oct 17 03:43:24 2018 UTC (6 years ago) by cherry
Branches: MAIN
CVS tags: pgoyette-compat-1020
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -6 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 10 03:54:54 2018 UTC (6 years ago) by cherry
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +28 -22 lines
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 - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:51 2017 UTC (6 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.39.8.1: preferred, colored; branchpoint 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.8.1: +10 -10 lines
update from HEAD

Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Nov 30 20:25:54 2017 UTC (6 years, 11 months ago) by christos
Branches: 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -2 lines
add fo_name so we can identify the fileops in a simple way.

Revision 1.41.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:57 2017 UTC (7 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.4.2: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.4.2: +4 -6 lines
Sync with HEAD

Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 16 14:02:49 2017 UTC (7 years, 3 months ago) by cherry
Branches: perseant-stdc-iso10646
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.1: +647 -0 lines
2302677

Revision 1.47.2.1
Sun Jul 16 14:02:48 2017 UTC (7 years, 3 months ago) by cherry
Branches: perseant-stdc-iso10646
FILE REMOVED
Changes since revision 1.47: +0 -647 lines
file xenevt.c was added on branch perseant-stdc-iso10646 on 2017-07-16 14:02:49 +0000

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Jul 16 14:02:48 2017 UTC (7 years, 3 months ago) by cherry
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, nick-nhusb-base-20170825
Branch point for: perseant-stdc-iso10646
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +4 -4 lines
Unify the xen and native x86/ interrupt setup functions and
spl traversal data structures.

This is towards PVHVM.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:08 2017 UTC (7 years, 5 months ago) by chs
Branches: MAIN
CVS tags: netbsd-8-base, netbsd-8-3-RELEASE, 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
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -4 lines
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 - view: text, markup, annotated - select for diffs
Thu Jul 7 06:55:40 2016 UTC (8 years, 3 months ago) by msaitoh
Branches: 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
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +3 -3 lines
KNF. Remove extra spaces. No functional change.

Revision 1.41.4.2: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:54 2015 UTC (9 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41.4.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.4.1: +10 -9 lines
Sync with HEAD

Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Aug 20 14:40:17 2015 UTC (9 years, 2 months ago) by christos
Branches: MAIN
CVS tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -3 lines
include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.

Revision 1.41.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:05 2015 UTC (9 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +6 -6 lines
Sync with HEAD

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sat May 30 19:14:46 2015 UTC (9 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: nick-nhusb-base-20150606
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +3 -3 lines
Improve wording.

Revision 1.39.10.1: download - view: text, markup, annotated - select for diffs
Wed May 27 05:57:14 2015 UTC (9 years, 5 months ago) by msaitoh
Branches: netbsd-6-0
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed May 27 05:56:42 2015 UTC (9 years, 5 months ago) by msaitoh
Branches: netbsd-6-1
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Wed May 27 05:54:44 2015 UTC (9 years, 5 months ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Fri May 22 16:56:45 2015 UTC (9 years, 5 months ago) by snj
Branches: 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
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Fri May 22 11:44:25 2015 UTC (9 years, 5 months ago) by sborrill
Branches: netbsd-5-2
Diff to: previous 1.29.4.2: preferred, colored; next MAIN 1.29.4.3: preferred, colored
Changes since revision 1.29.4.2: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Fri May 22 11:22:03 2015 UTC (9 years, 5 months ago) by sborrill
Branches: netbsd-5-1
Diff to: previous 1.29.4.2: preferred, colored; next MAIN 1.29.4.3: preferred, colored
Changes since revision 1.29.4.2: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Fri May 22 11:04:28 2015 UTC (9 years, 5 months ago) by sborrill
Branches: netbsd-5
Diff to: previous 1.29.4.2: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.4.2: +5 -5 lines
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 - view: text, markup, annotated - select for diffs
Fri May 22 10:34:13 2015 UTC (9 years, 5 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +5 -5 lines
Fix off by one error, pointed out by Wei Liu in port-xen/49919

Revision 1.39.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:30 2014 UTC (10 years, 2 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +14 -4 lines
Rebase to HEAD as of a few days ago.

Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:11 2014 UTC (10 years, 2 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +3 -2 lines
Rebase.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Jul 25 08:10:35 2014 UTC (10 years, 3 months ago) by dholland
Branches: 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
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu May 22 11:40:14 2014 UTC (10 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.1: +13 -4 lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:45:30 2014 UTC (10 years, 5 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.39: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39: +13 -4 lines
sync with head

Revision 1.40: download - view: text, markup, annotated - select for diffs
Sun Mar 16 05:20:26 2014 UTC (10 years, 7 months ago) by dholland
Branches: 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
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +13 -4 lines
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 - view: text, markup, annotated - select for diffs
Tue Apr 17 00:07:12 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +80 -35 lines
sync with head

Revision 1.39: download - view: text, markup, annotated - select for diffs
Sat Dec 3 22:41:40 2011 UTC (12 years, 11 months ago) by bouyer
Branches: 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
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +80 -35 lines
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 - view: text, markup, annotated - select for diffs
Sat Aug 27 15:37:33 2011 UTC (13 years, 2 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.30.2.3: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.3: +39 -55 lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 11 17:59:00 2011 UTC (13 years, 2 months ago) by cherry
Branches: 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
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +5 -4 lines
Make event/interrupt handling MP aware

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 4 09:07:47 2011 UTC (13 years, 3 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +5 -4 lines
first cut at per-cpu event handling

Revision 1.36.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:07:12 2011 UTC (13 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +36 -53 lines
Sync with HEAD.

Revision 1.36.4.1: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:25 2011 UTC (13 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.36: preferred, colored; next MAIN 1.37: preferred, colored
Changes since revision 1.36: +36 -53 lines
sync with head

Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun May 22 04:27:15 2011 UTC (13 years, 5 months ago) by rmind
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +36 -53 lines
- 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 - view: text, markup, annotated - select for diffs
Sun Oct 24 22:48:23 2010 UTC (14 years ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.2: +3 -3 lines
Sync with HEAD

Revision 1.29.4.1.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 21 00:33:45 2010 UTC (14 years, 6 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.29.4.1: preferred, colored; next MAIN 1.29.4.2: preferred, colored
Changes since revision 1.29.4.1: +3 -3 lines
sync to netbsd-5

Revision 1.27.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:03:11 2010 UTC (14 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.27.2.2: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.2.2: +3 -8 lines
sync with head

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sun Dec 20 09:36:05 2009 UTC (14 years, 10 months ago) by dsl
Branches: 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
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 9 21:32:58 2009 UTC (14 years, 10 months ago) by dsl
Branches: MAIN
CVS tags: matt-premerge-20091211
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 1 13:58:47 2009 UTC (15 years ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +4 -53 lines
Sync with HEAD.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Mon Oct 19 18:41:11 2009 UTC (15 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -7 lines
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !

Revision 1.29.4.2: download - view: text, markup, annotated - select for diffs
Wed Sep 30 00:08:03 2009 UTC (15 years, 1 month ago) by snj
Branches: 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
Diff to: previous 1.29.4.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.4.1: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:56 2009 UTC (15 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.27.2.1: preferred, colored; branchpoint 1.27: preferred, colored
Changes since revision 1.27.2.1: +4 -48 lines
sync with head.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jul 29 12:02:10 2009 UTC (15 years, 3 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +4 -48 lines
remove Xen2 support.
ok bouyer@

Revision 1.30.2.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:18:50 2009 UTC (15 years, 5 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +12 -11 lines
Sync with HEAD.

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

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:14 2009 UTC (15 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +17 -15 lines
sync with head.

Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:35:01 2009 UTC (15 years, 6 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.1: +12 -11 lines
Sync with HEAD.

Revision 1.29.4.1: download - view: text, markup, annotated - select for diffs
Sat Apr 4 23:36:27 2009 UTC (15 years, 7 months ago) by snj
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +11 -10 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 4 10:12:51 2009 UTC (15 years, 7 months ago) by ad
Branches: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +11 -10 lines
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 - view: text, markup, annotated - select for diffs
Tue Mar 10 20:05:31 2009 UTC (15 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:12 2009 UTC (15 years, 9 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
Sync with HEAD.

Revision 1.22.6.5: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:40 2009 UTC (15 years, 9 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.22.6.4: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.6.4: +1 -1 lines
Sync with HEAD.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Dec 17 20:51:33 2008 UTC (15 years, 10 months ago) by cegger
Branches: MAIN
CVS tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
kill MALLOC and FREE macros.

Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:16:13 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +5 -5 lines
Sync with HEAD.

Revision 1.22.6.4: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:40:14 2008 UTC (16 years, 1 month ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.22.6.3: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.6.3: +3 -3 lines
Sync with HEAD.

Revision 1.27.4.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:39 2008 UTC (16 years, 1 month ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.27.4.1: preferred, colored; branchpoint 1.27: preferred, colored; next MAIN 1.28: preferred, colored
Changes since revision 1.27.4.1: +5 -5 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Fri Sep 5 13:37:24 2008 UTC (16 years, 2 months ago) by tron
Branches: 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
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +5 -5 lines
Compile NetBSD/amd64 kernels with "-Wextra". Patches contributed by
Juan RP in PR port-amd64/39266.

Revision 1.22.6.3: download - view: text, markup, annotated - select for diffs
Sun Jun 29 09:33:02 2008 UTC (16 years, 4 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.22.6.2: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.6.2: +1 -0 lines
Sync with HEAD.

Revision 1.27.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:51 2008 UTC (16 years, 4 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -2 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:24 2008 UTC (16 years, 4 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.26.2.1: preferred, colored; branchpoint 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.1: +3 -2 lines
sync with head.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Jun 7 20:07:42 2008 UTC (16 years, 5 months ago) by bouyer
Branches: 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
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:18 2008 UTC (16 years, 5 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.11.8.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.8.1: +4 -1 lines
Sync with netbsd-4.

Revision 1.22.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:55 2008 UTC (16 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.22.6.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.6.1: +23 -11 lines
Sync with HEAD.

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:08 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +19 -7 lines
sync with head.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Apr 19 13:46:12 2008 UTC (16 years, 6 months ago) by cegger
Branches: 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
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +19 -7 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 14 13:38:03 2008 UTC (16 years, 6 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +8 -8 lines
- use POSIX integer types
- ansify functions

Revision 1.22.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:31 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +14 -12 lines
Sync with HEAD.

Revision 1.5.4.9: download - view: text, markup, annotated - select for diffs
Mon Mar 24 09:38:40 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.4.8: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.8: +11 -11 lines
sync with head.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:15:10 2008 UTC (16 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +5 -3 lines
sync with head.

Revision 1.11.4.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 10:26:05 2008 UTC (16 years, 7 months ago) by jdc
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Diff to: previous 1.11.4.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.4.1: +4 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:30 2008 UTC (16 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.14.10.2: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.10.2: +86 -22 lines
sync with HEAD

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sat Mar 22 14:28:10 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +11 -11 lines
Make it compile.

Revision 1.5.4.8: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:36 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.4.7: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.7: +5 -3 lines
sync with head.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sat Mar 1 18:32:48 2008 UTC (16 years, 8 months ago) by rmind
Branches: MAIN
CVS tags: matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +6 -6 lines
Fix my previous confuse of the code: use selinit/seldestroy in correct
places, and fix missed selnotify call.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Mar 1 14:16:50 2008 UTC (16 years, 8 months ago) by rmind
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:30 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.4.6: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.6: +74 -19 lines
sync with head.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Feb 19 19:50:53 2008 UTC (16 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: nick-net80211-sync-base, nick-net80211-sync, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +38 -33 lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 19 13:25:53 2008 UTC (16 years, 8 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +67 -20 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:21 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.15.2.1: preferred, colored; branchpoint 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15.2.1: +13 -3 lines
Sync with HEAD.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 17 14:03:16 2008 UTC (16 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: mjf-devfs-base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -1 lines
Add missing __KERNEL_RCSID()

Revision 1.5.4.6: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:40:37 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.4.5: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.5: +10 -3 lines
sync with head

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Jan 11 20:00:54 2008 UTC (16 years, 9 months ago) by bouyer
Branches: MAIN
CVS tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 9 01:50:23 2008 UTC (16 years, 9 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.14.10.1: preferred, colored; branchpoint 1.14: preferred, colored
Changes since revision 1.14.10.1: +17 -15 lines
sync with HEAD

Revision 1.17.6.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 23:51:53 2008 UTC (16 years, 9 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.17.6.1: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.6.1: +1 -0 lines
Make XEN kernels build again.

Revision 1.17.6.1: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:10:43 2008 UTC (16 years, 9 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +9 -3 lines
Sync with HEAD

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jan 8 19:26:10 2008 UTC (16 years, 9 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +9 -3 lines
Allocating up to 8k on stack isn't a good idea ...

Revision 1.14.8.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:33 2007 UTC (16 years, 10 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.14.8.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.8.1: +12 -10 lines
Sync with HEAD.

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:29 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +17 -15 lines
Sync with HEAD.

Revision 1.5.4.5: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:27:24 2007 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.4.4: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.4: +17 -15 lines
sync with head

Revision 1.13.4.2: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:40:50 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13.4.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.4.1: +17 -15 lines
Sync with HEAD.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:34:30 2007 UTC (16 years, 11 months ago) by ad
Branches: 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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +12 -10 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 27 19:36:32 2007 UTC (16 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -6 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Nov 22 16:17:10 2007 UTC (16 years, 11 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Nov 6 23:24:36 2007 UTC (17 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1 lines
sync with HEAD

Revision 1.14.14.1: download - view: text, markup, annotated - select for diffs
Wed Oct 17 21:08:26 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +6 -6 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 17 19:58:33 2007 UTC (17 years ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 3 14:31:39 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.4.3: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.3: +6 -1 lines
sync with head.

Revision 1.11.8.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 07:04:15 2007 UTC (17 years, 2 months ago) by wrstuden
Branches: wrstuden-fixsa
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -1 lines
Sync w/ NetBSD-4-RC_1

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Mon Jul 16 10:11:59 2007 UTC (17 years, 3 months ago) by liamjfoy
Branches: 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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 15 13:17:23 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -1 lines
Sync with head.

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 20:03:38 2007 UTC (17 years, 3 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +6 -1 lines
Sync with head.

Revision 1.13.12.1: download - view: text, markup, annotated - select for diffs
Tue Jun 26 18:13:57 2007 UTC (17 years, 4 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +6 -1 lines
Sync with HEAD.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Jun 8 22:06:18 2007 UTC (17 years, 5 months ago) by jld
Branches: 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
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +6 -1 lines
Add needed locking in xenevt_fpoll; this fixes at least a lost-wakeup bug.
OK'ed by bouyer@.

Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:53:29 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -4 lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.5.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:08:57 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.4.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.2: +4 -4 lines
sync with head.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Feb 22 06:48:54 2007 UTC (17 years, 8 months ago) by thorpej
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
TRUE -> true, FALSE -> false

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Feb 21 22:59:55 2007 UTC (17 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:25 2006 UTC (17 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.1: +5 -5 lines
sync with head.

Revision 1.10.4.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:29:39 2006 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +4 -4 lines
Sync with head.

Revision 1.7.8.3: download - view: text, markup, annotated - select for diffs
Thu Sep 14 12:31:22 2006 UTC (18 years, 1 month ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.7.8.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.8.2: +4 -4 lines
sync with head.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Sep 10 14:34:11 2006 UTC (18 years, 1 month ago) by bouyer
Branches: 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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
Hypercalls returns negative error codes, so return -error in ioctl
function.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:05 2006 UTC (18 years, 1 month ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +204 -37 lines
sync with head

Revision 1.7.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:16 2006 UTC (18 years, 2 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.7.8.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.8.1: +2 -2 lines
sync with head

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jul 25 05:14:38 2006 UTC (18 years, 3 months ago) by riz
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Adapt to change in args for falloc().  Reported by Hisashi T Fujinaka
on current-users.

Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:58:23 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +206 -39 lines
sync with head.

Revision 1.7.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:39 2006 UTC (18 years, 5 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +204 -37 lines
Sync with head.

Revision 1.7.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:26 2006 UTC (18 years, 5 months ago) by tron
Branches: peter-altq
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +204 -37 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.7.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:23 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +204 -37 lines
sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun May 14 21:57:13 2006 UTC (18 years, 5 months ago) by elad
Branches: 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
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -5 lines
integrate kauth.

Revision 1.7.10.2: download - view: text, markup, annotated - select for diffs
Thu May 11 23:27:14 2006 UTC (18 years, 5 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.7.10.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.10.1: +200 -33 lines
sync with head

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 7 10:18:28 2006 UTC (18 years, 6 months ago) by bouyer
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +200 -33 lines
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 - view: text, markup, annotated - select for diffs
Wed Mar 8 00:43:19 2006 UTC (18 years, 8 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -5 lines
Adapt to kernel authorization KPI.

I expect *some* lossage here...

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Dec 12 22:56:50 2005 UTC (18 years, 10 months ago) by jld
Branches: 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +11 -11 lines
Make xenevt.c compile after lwp changes; not tested yet.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:19:50 2005 UTC (18 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1 lines
merge ktrace-lwp.

Revision 1.2.6.3: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:00:34 2005 UTC (18 years, 11 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.6.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.6.2: +147 -41 lines
Sync with HEAD. Here we go again...

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:30 2005 UTC (19 years, 6 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +406 -0 lines
sync with -current

Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Thu Apr 28 10:36:54 2005 UTC (19 years, 6 months ago) by tron
Branches: 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
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +0 -3 lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 28 10:19:03 2005 UTC (19 years, 6 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +5 -2 lines
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 (19 years, 6 months ago) by kent
Branches: kent-audio2
FILE REMOVED
Changes since revision 1.5: +0 -406 lines
file xenevt.c was added on branch kent-audio2 on 2005-04-29 11:28:30 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Apr 19 22:14:30 2005 UTC (19 years, 6 months ago) by bouyer
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -4 lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 16 22:49:38 2005 UTC (19 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -3 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 13 21:38:45 2005 UTC (19 years, 6 months ago) by tron
Branches: netbsd-3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +145 -39 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 11 12:10:31 2005 UTC (19 years, 6 months ago) by yamt
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +145 -39 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 1 14:29:11 2005 UTC (19 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.2.6.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.6.1: +300 -0 lines
Sync with HEAD.

Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:26 2005 UTC (19 years, 7 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.1: +300 -0 lines
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, 8 months ago) by skrll
Branches: ktrace-lwp
FILE REMOVED
Changes since revision 1.2: +0 -300 lines
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, 8 months ago) by yamt
Branches: yamt-km
FILE REMOVED
Changes since revision 1.2: +0 -300 lines
file xenevt.c was added on branch yamt-km on 2005-03-19 08:33:26 +0000

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Mar 9 22:39:21 2005 UTC (19 years, 8 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: yamt-km, netbsd-3, ktrace-lwp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +300 -0 lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 13 19:15:49 2005 UTC (19 years, 8 months ago) by bouyer
Branches: bouyer-xen2
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.3: +3 -3 lines
Adapt for fdclone() change.

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Sat Feb 12 22:37:39 2005 UTC (19 years, 8 months ago) by bouyer
Branches: bouyer-xen2
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +3 -5 lines
Revert parts of previous commit, which should not have been commited.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Feb 12 22:33:52 2005 UTC (19 years, 8 months ago) by bouyer
Branches: bouyer-xen2
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +19 -10 lines
Complete poll implementation (forgot selrecord/selnotify).

Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 31 17:21:16 2005 UTC (19 years, 9 months ago) by bouyer
Branches: bouyer-xen2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +293 -0 lines
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, 9 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-km-base2
Branch point for: bouyer-xen2
FILE REMOVED
file xenevt.c was initially added on branch bouyer-xen2.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>