CVS commit: src/sys/arch/xen/x86

2012-02-13 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Feb 13 23:54:58 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: PAT flags are not under control of Xen domains currently, so there is no point in enabling them. Avoids: - a warning logged by hypervisor when a

CVS commit: src/sys/arch/xen/xen

2012-02-12 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Feb 12 14:24:08 UTC 2012 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: Xen MP merge introduced MP safety around ipl handlers. When removing an event handler, check handler's function and arguments against the real

CVS commit: src/sys/arch/xen/xen

2012-02-03 Thread Jeff Rizzo
Module Name:src Committed By: riz Date: Sat Feb 4 02:00:07 UTC 2012 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: Add a 'void' to unbreak this with -Wold-style-definition To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/sys/arch/xen/xen

2012-02-02 Thread Lars Heidieker
Module Name:src Committed By: para Date: Thu Feb 2 20:11:26 UTC 2012 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: call uvm_km_kmem_alloc with right arguments fixes: kern/45913 To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/arch/xen/x86

2012-01-28 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Jan 28 12:15:19 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Update comments to remove references to alternate pte space. To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

CVS commit: src/sys/arch/xen/x86

2012-01-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Jan 19 22:04:05 UTC 2012 Modified Files: src/sys/arch/xen/x86: xen_pmap.c Log Message: add a missing splvm()/splx() to protect the xpq queue. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/arch/xen/conf

2012-01-13 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jan 14 04:22:56 UTC 2012 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: No need for CPU_UCODE here now that it is global To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125

CVS commit: src/sys/arch/xen/xen

2012-01-09 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Jan 9 13:33:38 UTC 2012 Modified Files: src/sys/arch/xen/xen: clock.c Log Message: Remove obsolete comment. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/xen/xen/clock.c Please note that diffs

CVS commit: src/sys/arch/xen/xen

2012-01-09 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Jan 9 13:35:42 UTC 2012 Modified Files: src/sys/arch/xen/xen: clock.c Log Message: Remove redundant use of curcpu(). To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/arch/xen/xen/clock.c Please note

CVS commit: src/sys/arch/xen/xen

2012-01-05 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Thu Jan 5 18:11:51 UTC 2012 Modified Files: src/sys/arch/xen/xen: balloon.c Log Message: Comment fix. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/xen/xen/balloon.c Please note that diffs are not

CVS commit: src/sys/arch/xen/x86

2012-01-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Jan 4 10:30:24 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Use macro PDP_SIZE instead of numeric constant, for unshared PAE L3 entries. Thanks jym@ To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/xen

2012-01-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Jan 4 10:48:24 UTC 2012 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: Tighten up locking in the network driver. This probably needs more attention since xennet_rx_mbuf_free() hooks into the network

CVS commit: src/sys/arch/xen/x86

2011-12-30 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Dec 30 12:16:19 UTC 2011 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: Remove spurious (debug) printf() To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/xen/x86/xen_ipi.c Please note

CVS commit: src/sys/arch/xen/x86

2011-12-30 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Dec 30 18:01:20 UTC 2011 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Force pae l3 page allocation for new vcpus to be 4G, so they fit in 32bits To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73

CVS commit: src/sys/arch/xen/x86

2011-12-30 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Dec 30 19:18:35 UTC 2011 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Never cut-paste code from email! Use the right count (0 - 2) of l3 unshared userland entries for per-cpu initialisation. To generate a diff

CVS commit: src/sys/arch/xen/x86

2011-12-28 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Dec 28 18:59:21 UTC 2011 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: Remove temporary variable definition that is unused in non DIAGNOSTIC builds. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/sys/arch/xen/x86

2011-12-26 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 26 18:27:11 UTC 2011 Modified Files: src/sys/arch/xen/x86: hypervisor_machdep.c Log Message: Do not fiddle with the event masks of non-local vcpus when unmasking events across vcpus To generate a diff of this commit:

CVS commit: src/sys/arch/xen/xen

2011-12-26 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Dec 26 20:26:38 UTC 2011 Modified Files: src/sys/arch/xen/xen: balloon.c Log Message: Properly protect the min/target variables from balloon_sc, not just target. Use their reference directly instead of going through their

CVS commit: src/sys/arch/xen/x86

2011-12-26 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Dec 27 07:45:41 UTC 2011 Modified Files: src/sys/arch/xen/x86: hypervisor_machdep.c Log Message: Do not touch pending flags across vcpus To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/sys/arch/xen/include/xen-public/arch-x86

2011-12-09 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Fri Dec 9 10:14:20 UTC 2011 Modified Files: src/sys/arch/xen/include/xen-public/arch-x86: xen.h Log Message: re-apply merge loss To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 \

CVS commit: src/sys/arch/xen/xen

2011-12-09 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Dec 9 11:47:49 UTC 2011 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Move events/interrupt subsystem initialisation to before when ipis are used To generate a diff of this commit: cvs rdiff -u -r1.59

CVS commit: src/sys/arch/xen/xen

2011-12-08 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Dec 9 03:58:12 UTC 2011 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: Use mutex(9) instead of spl(9). Add further locks around grant table access. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21

CVS commit: src/sys/arch/xen/xen

2011-12-07 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Dec 7 12:31:51 UTC 2011 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: Move to kmem_zalloc() instead of malloc(). To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/sys/arch/xen/xen/evtchn.c

CVS commit: src/sys/arch/xen/xen

2011-12-07 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Wed Dec 7 13:49:04 UTC 2011 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: build fix: add back sys/malloc.h. malloc(9) is still in use. To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58

CVS commit: src/sys/arch/xen/include/xen-public

2011-12-07 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Wed Dec 7 14:41:19 UTC 2011 Update of /cvsroot/src/sys/arch/xen/include/xen-public In directory ivanova.netbsd.org:/tmp/cvs-serv11047 Log Message: Welcome to Xen 4.1.2 headers. New interfaces for PV drivers: - Xen transcedent memory -

CVS commit: src/sys/arch/xen/include/xen-public

2011-12-07 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Wed Dec 7 15:04:19 UTC 2011 Modified Files: src/sys/arch/xen/include/xen-public: event_channel.h grant_table.h physdev.h trace.h xen.h src/sys/arch/xen/include/xen-public/arch-x86: xen-x86_32.h

CVS commit: src/sys/arch/xen/include

2011-12-07 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Wed Dec 7 16:01:39 UTC 2011 Modified Files: src/sys/arch/xen/include/amd64: hypercalls.h src/sys/arch/xen/include/i386: hypercalls.h Log Message: switch from xen3-public to xen-public. To generate a diff of this

CVS commit: src/sys/arch/xen/include/xen3-public

2011-12-07 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Wed Dec 7 16:11:02 UTC 2011 Removed Files: src/sys/arch/xen/include/xen3-public: COPYING arch-ia64.h arch-x86_32.h arch-x86_64.h callback.h dom0_ops.h domctl.h elfnote.h elfstructs.h event_channel.h

CVS commit: src/sys/arch/xen/xen

2011-12-07 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Dec 8 03:34:48 UTC 2011 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: kmem_free() the appropriate size. Thanks cegger@ To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

CVS commit: src/sys/arch/xen/xen

2011-12-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Dec 4 15:15:41 UTC 2011 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: [merging from cherry-xenmp] Make MP aware: use mutex(9) instead of spl(9) To generate a diff of this commit: cvs rdiff -u -r1.54

CVS commit: src/sys/arch/xen/xen

2011-12-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Dec 3 22:36:29 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: xbdback_disconnect() can be called twice, from XenbusStateClosing then from xbdback_xenbus_destroy(). The second call will wait

CVS commit: src/sys/arch/xen

2011-12-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Dec 3 22:41:40 UTC 2011 Modified Files: src/sys/arch/xen/x86: hypervisor_machdep.c src/sys/arch/xen/xen: xenevt.c Log Message: hypervisor_unmask_event(): don't check/update evtchn_pending_sel for the current CPU,

CVS commit: src/sys/arch/xen/xen

2011-11-24 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Nov 24 18:34:56 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Don't use variables as format string. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53

CVS commit: src/sys/arch/xen/xen

2011-11-23 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Thu Nov 24 01:47:18 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Deep rework of the xbdback(4) driver; it now uses a thread per instance instead of continuations directly from shm callbacks or

CVS commit: src/sys/arch/xen/xen

2011-11-17 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Nov 18 06:01:50 UTC 2011 Modified Files: src/sys/arch/xen/xen: clock.c Log Message: [merging from cherry-xenmp] - Make clock MP aware. - Bring in fixes that bouyer@ brought in via: cvs rdiff -u -r1.54.6.4 -r1.54.6.5

CVS commit: src/sys/arch/xen/xen

2011-11-14 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 14 16:04:30 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Bring back sys/disklabel.h for DISKUNIT and DISKPART. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/arch/xen/xen

2011-11-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 14 21:34:50 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Use getdiskinfo() to print the name of the device; the previous code constructed the wrong name if it was a wedge. To generate a

CVS commit: src/sys/arch/xen/xen

2011-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 13 23:02:06 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: use getdiskinfo() To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/arch/xen/xen/xbdback_xenbus.c Please

CVS commit: src/sys/arch/xen

2011-11-07 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Nov 7 15:51:31 UTC 2011 Modified Files: src/sys/arch/xen/include: intrdefs.h src/sys/arch/xen/x86: xen_ipi.c Log Message: Add an ipi callback to force hypervisor callback. this is useful to re-route interrupts to a

CVS commit: src/sys/arch/xen/xen

2011-10-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Oct 25 17:25:47 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Fix bogus KASSERT: if there is a xbdi_io, xbdi_pendingreqs must *NOT* be 0. Not sure why it has stayed unoticed for so long ... To

CVS commit: src/sys/arch/xen/xen

2011-10-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Oct 24 18:13:51 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Move disconnection code to a separate function, similar to what is done with xbdback_connect. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/xen/x86

2011-10-20 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Thu Oct 20 13:21:11 UTC 2011 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Remove code that is commented out and out-of-sync with x86. If Xen needs to use cpu_resume(), cpu_suspend(), or cpu_shutdown() in the future,

CVS commit: src/sys/arch/xen/xen

2011-09-26 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Sep 26 21:44:09 UTC 2011 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: Fix a fallout with my xensuspend merge: talk_to_backend() returns a boolean, so checking for true with == 0 is... wrong. Now

CVS commit: src/sys/arch/xen

2011-09-22 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Thu Sep 22 23:02:35 UTC 2011 Modified Files: src/sys/arch/xen/conf: files.xen src/sys/arch/xen/xen: hypervisor.c src/sys/arch/xen/xenbus: xenbus_dev.c xenbus_probe.c Log Message: Expose Xen kernfs entries inside a

CVS commit: src/sys/arch/xen/xen

2011-09-21 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Wed Sep 21 15:26:47 UTC 2011 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: Initialize mutex before use. Lets me boot a dom0 kernel again without a lockdebug panic. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/xen

2011-08-28 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Aug 28 22:36:17 UTC 2011 Modified Files: src/sys/arch/xen/xen: evtchn.c xennetback_xenbus.c Log Message: KNF, white spaces and comment typo fixes. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/sys/arch/xen/xen

2011-08-28 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Aug 28 22:55:52 UTC 2011 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: VIRQ_TIMER virqs are allocated and tracked in a array (virq_timer_to_evtch, indexed by cpuid) different from the VIRQ event channel one

CVS commit: src/sys/arch/xen/xen

2011-08-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Wed Aug 24 20:49:34 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Protect xbdback(4) ring indexes from overflowing; leave the continuation prematurely in case they do, to avoid looping endlessly (or at

CVS commit: src/sys/arch/xen/x86

2011-08-21 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Aug 21 10:00:13 UTC 2011 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Merge err printf with the panic(9) message. Also fix the if () {...} statement with braces, to avoid calling panic() every time. Hi cherry!

CVS commit: src/sys/arch/xen/conf

2011-08-17 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Wed Aug 17 21:42:16 UTC 2011 Modified Files: src/sys/arch/xen/conf: Makefile.xen Log Message: Works with clang's integrated assembler now. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

CVS commit: src/sys/arch/xen/x86

2011-08-15 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Aug 15 20:14:52 UTC 2011 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Do not panic() on xen_send_ipi() sent to a cpu not yet running. x86 MP boot depends on this strange behaviour. To generate a diff of this

CVS commit: src/sys/arch/xen/x86

2011-08-15 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Aug 15 20:17:12 UTC 2011 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: invert buggy ci_flag test To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/xen/x86/xen_ipi.c Please note that

CVS commit: src/sys/arch/xen/x86

2011-08-15 Thread David A. Holland
Module Name:src Committed By: dholland Date: Tue Aug 16 02:59:16 UTC 2011 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Fix broken build. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/arch/xen/x86/cpu.c Please note that diffs are not

CVS commit: src/sys/arch/xen

2011-08-13 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Aug 13 11:41:57 UTC 2011 Modified Files: src/sys/arch/xen/include: xenpmap.h src/sys/arch/xen/x86: x86_xpmap.c Log Message: remove unnecessary locking overhead for UP To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/x86

2011-08-13 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Aug 13 16:22:15 UTC 2011 Modified Files: src/sys/arch/xen/x86: intr.c Log Message: Remove spurious header. Thanks rmind@ To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/arch/xen/x86/intr.c Please note

CVS commit: src/sys/arch/xen/xen

2011-08-13 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Aug 13 17:23:42 UTC 2011 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: Use spin mutices correctly. - Prune redundant splxx()/splx() pairs. - Do not leak a mutex_spin_enter() via conditional return. Thanks

CVS commit: src/sys/arch/xen/x86

2011-08-13 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Aug 13 20:24:19 UTC 2011 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Call the right function (fix for an egregious error) To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/arch/xen

2011-08-11 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Aug 11 17:59:00 UTC 2011 Modified Files: src/sys/arch/xen/include: evtchn.h intr.h src/sys/arch/xen/x86: intr.c src/sys/arch/xen/xen: evtchn.c xenevt.c Log Message: Make event/interrupt handling MP aware To

CVS commit: src/sys/arch/xen/include

2011-08-10 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Aug 10 06:29:23 UTC 2011 Added Files: src/sys/arch/xen/include: intrdefs.h Log Message: Add Xen specific ipi bitmasks To generate a diff of this commit: cvs rdiff -u -r0 -r1.10 src/sys/arch/xen/include/intrdefs.h Please

CVS commit: src/sys/arch/xen

2011-08-10 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Aug 10 09:50:37 UTC 2011 Modified Files: src/sys/arch/xen/include: xenpmap.h src/sys/arch/xen/x86: x86_xpmap.c Log Message: Introduce locking primitives for Xen pte operations, and xen helper calls for MP related MMU

CVS commit: src/sys/arch/xen/x86

2011-08-10 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Aug 10 20:38:45 UTC 2011 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: KNF police (rmind@ :-) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/xen/x86/xen_ipi.c Please note that diffs

CVS commit: src/sys/arch/xen

2011-08-10 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Aug 10 21:46:02 UTC 2011 Modified Files: src/sys/arch/xen/include: hypervisor.h src/sys/arch/xen/x86: hypervisor_machdep.c src/sys/arch/xen/xen: evtchn.c Log Message: refactor the bitstring/mask operations to

CVS commit: src/sys/arch/xen/xen

2011-08-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Aug 7 17:15:40 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Add a comment explaing why a flush workqueue is handled differently from read/write workqueue requests. To generate a diff of this

CVS commit: src/sys/arch/xen/xen

2011-08-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Aug 7 17:10:35 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Several fixes to the continuation engine: - make sure to enter the continuation loop at splbio(), and add some KASSERT() for this.

CVS commit: src/sys/arch/xen/xen

2011-08-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Aug 7 17:39:34 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Guard against spurious xbdback_backend_changed() calls which would result in the block device being opened twice. Fixes

CVS commit: src/sys/arch/xen/xen

2011-08-04 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Aug 4 18:01:49 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Make sure to call xbdback_trampoline() at splbio() To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

CVS commit: src/sys/arch/xen/x86

2011-07-31 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Jul 31 18:00:54 UTC 2011 Modified Files: src/sys/arch/xen/x86: xen_shm_machdep.c Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/xen/x86/xen_shm_machdep.c Please note

CVS commit: src/sys/arch/xen/xen

2011-07-29 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Fri Jul 29 22:16:05 UTC 2011 Modified Files: src/sys/arch/xen/xen: balloon.c clock.c Log Message: Move xen.balloon to machdep in the sysctl(7) tree. It does not really belong to either kern or hw. Rename machdep.xen_timepush_ticks

CVS commit: src/sys/arch/xen/include/xen3-public/io

2011-07-27 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Jul 27 23:10:41 UTC 2011 Modified Files: src/sys/arch/xen/include/xen3-public/io: ring.h Log Message: Make this use offsetof and __typeof__ to appease gcc4.5 To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/sys/arch/xen/xenbus

2011-07-27 Thread Matt Thomas
Module Name:src Committed By: matt Date: Wed Jul 27 23:11:24 UTC 2011 Modified Files: src/sys/arch/xen/xenbus: xenbus_xs.c Log Message: Change a cast to appease gcc4.5 To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/xen/xenbus/xenbus_xs.c

CVS commit: src/sys/arch/xen/xen

2011-07-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Jul 24 23:56:34 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Add more comments to xbdback(4) code. These make the continuations a bit easier to follow (and understand). Helped tracking down a

CVS commit: src/sys/arch/xen/xen

2011-07-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Jul 25 00:02:39 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/arch/xen/xen/xbd_xenbus.c Please note

CVS commit: src/sys/arch/xen/xen

2011-07-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Jul 25 00:06:49 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: And... explain xbd(4). To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/arch/xen/xen/xbd_xenbus.c Please note that

CVS commit: src/sys/arch/xen/x86

2011-07-16 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sat Jul 16 14:46:18 UTC 2011 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Initialise cpus_running to 1 on Xen, as it was done on x86. Problem analysed by hannken@. Fixes PR/45062. To generate a diff of this commit:

CVS commit: src/sys/arch/xen

2011-07-02 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sat Jul 2 19:07:56 UTC 2011 Modified Files: src/sys/arch/xen/xen: evtchn.c src/sys/arch/xen/xenbus: xenbus_comms.c Log Message: Remove all return error checks for event_set_handler(...). It either succeeds or end in panic.

CVS commit: src/sys/arch/xen/xen

2011-07-01 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jul 1 18:36:45 UTC 2011 Modified Files: src/sys/arch/xen/xen: isa_machdep.c pci_intr_machdep.c Log Message: #include sys/bus.h instead of machine/bus.h. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/arch/xen/x86

2011-07-01 Thread David Young
Module Name:src Committed By: dyoung Date: Fri Jul 1 18:37:09 UTC 2011 Modified Files: src/sys/arch/xen/x86: consinit.c mainbus.c xen_bus_dma.c Log Message: #include sys/bus.h instead of machine/bus.h. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/arch/xen/xen

2011-06-15 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Jun 15 19:51:50 UTC 2011 Modified Files: src/sys/arch/xen/xen: privcmd.c xengnt.c Log Message: - privpgop_fault: call pmap_update() before uvmfault_unlockall(). - privcmd_ioctl, xengnt_more_entries: add missing pmap_update().

CVS commit: src/sys/arch/xen/x86

2011-06-15 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Wed Jun 15 19:54:17 UTC 2011 Modified Files: src/sys/arch/xen/x86: cpu.c x86_xpmap.c Log Message: - cpu_hatch: call tlbflushg(), just to make sure that TLB is clean. - xen_bootstrap_tables: call xpq_queue_tlb_flush() for safety. -

CVS commit: src/sys/arch/xen/conf

2011-06-12 Thread Jukka Ruohonen
Module Name:src Committed By: jruoho Date: Sun Jun 12 16:31:57 UTC 2011 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: Fix build failure for the odd child, as pointed out by pgoyette@. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120

CVS commit: src/sys/arch/xen/conf

2011-06-12 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Jun 13 00:53:16 UTC 2011 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: Include required file for xen acpi To generate a diff of this commit: cvs rdiff -u -r1.120 -r1.121 src/sys/arch/xen/conf/files.xen

CVS commit: src/sys/arch/xen/xenbus

2011-06-07 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jun 7 13:52:31 UTC 2011 Modified Files: src/sys/arch/xen/xenbus: xenbus_xs.c Log Message: check that the list is empty before calling cv_wait(). Otherwise we may sleep waiting for an event which is already in the queue. To

CVS commit: src/sys/arch/xen/xen

2011-06-07 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Tue Jun 7 16:41:14 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Be more consistent for event handler naming with block backend: it is xbdback(4) rather than xbd(4), and use i for identifier

CVS commit: src/sys/arch/xen/xen

2011-05-30 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon May 30 13:03:56 UTC 2011 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: Use proper format string To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/xen/xen/if_xennet_xenbus.c

CVS commit: src/sys/arch/xen/xen

2011-05-30 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon May 30 14:34:59 UTC 2011 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Use format string for the device name To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/sys/arch/xen/xen

2011-05-26 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Thu May 26 22:16:42 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Reuse the pointer to the request operation, as set above. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

CVS commit: src/sys/arch/xen/xen

2011-05-26 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Thu May 26 22:18:13 UTC 2011 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: Split KASSERT(... ...) in two, so it's easier to spot which one fired with DIAGNOSTIC. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/xen/xen

2011-05-21 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sat May 21 15:22:49 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: In xbdback(4), move the code that copies segments after the bound checks of the ``nr_segments'' variable. In cases where we are

CVS commit: src/sys/arch/xen

2011-05-21 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Sun May 22 04:27:16 UTC 2011 Modified Files: src/sys/arch/xen/xen: xenevt.c src/sys/arch/xen/xenbus: xenbus_xs.c Log Message: - Replace uses of simple_lock and ltsleep with mutex and condvar. - Improve some parts of the

CVS commit: src/sys/arch/xen/conf

2011-05-20 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri May 20 13:12:59 UTC 2011 Modified Files: src/sys/arch/xen/conf: Makefile.xen Log Message: LLVM's assembler parser doesn't support .code32 yet, so disable it as needed. To generate a diff of this commit: cvs rdiff -u -r1.31

CVS commit: src/sys/arch/xen/xen

2011-05-15 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun May 15 07:24:15 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Use atomic_ops(3) for ref counting. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

CVS commit: src/sys/arch/xen/xen

2011-05-15 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun May 15 20:58:54 UTC 2011 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: As noted by rmind@, use the _nv() to fetch the new value. A race is possible between the decrement and the fetch of the ref counter

CVS commit: src/sys/arch/xen/x86

2011-05-07 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun May 8 00:18:26 UTC 2011 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Print the PGD address in the debug message. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sys/arch/xen/x86/x86_xpmap.c

CVS commit: src/sys/arch/xen/include

2011-04-29 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Fri Apr 29 22:45:41 UTC 2011 Modified Files: src/sys/arch/xen/include: xenpmap.h Log Message: Apply DRY: xpmap_{mtop,ptom}() can reuse xpmap_{mtop,ptom}_masked() for the frame number lookup. No functional change. To generate a

CVS commit: src/sys/arch/xen/xen

2011-04-29 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Fri Apr 29 22:52:02 UTC 2011 Modified Files: src/sys/arch/xen/xen: balloon.c Log Message: Silence xenbus_read_target() in ENOENT case (== entry is missing from Xenstore). The error case does not bring much here; assume that the

CVS commit: src/sys/arch/xen/xen

2011-04-25 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Apr 25 17:01:54 UTC 2011 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: Check status before proceeding further. Avoids spurious watch calls. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/arch/xen/xen

2011-04-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Apr 25 00:00:50 UTC 2011 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: Separate xennet(4) backend initialization code (resume) from the part that talks with Xenstore to query backend's information.

CVS commit: src/sys/arch/xen/xen

2011-04-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Apr 25 00:14:06 UTC 2011 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Check that xvif(4) is not already connected before proceeding in the XenbusStateConnected mode. Under rare occasions, the xenbus

CVS commit: src/sys/arch/xen/xen

2011-04-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Apr 25 00:22:37 UTC 2011 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: use __KERNEL_RCSID() To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/xen/xen/xennetback_xenbus.c

CVS commit: src/sys/arch/xen/xen

2011-04-21 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Thu Apr 21 13:06:20 UTC 2011 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Disestablish softint in the error path. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

<    1   2   3   4   5   6   >