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

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 17:01:12 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Mmh, apparently I didn't properly test my previous change since it does not compile anymore To generate a diff of this commit: cvs rdiff

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

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 15:37:20 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Keep simplifying that stuff. Also, replace plX_pi(KERNTEXTOFF) by LX_SLOT_KERNBASE: the base address is KERNBASE, and we just start mapping

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

2016-11-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 11 11:12:42 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Start simplifying the Xen locore: rename and reorder several things, remove awful debug messages, use unsigned counters, fix typos and KNF.

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

2016-11-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 1 12:16:10 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the PTE space as non-executable on PAE. The same is already done on amd64. To generate a diff of this commit: cvs rdiff -u -r1.62

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

2016-11-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 1 12:00:21 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the remaining pages as non-executable. Only text should have X. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

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

2016-10-16 Thread Robert Elz
Module Name:src Committed By: kre Date: Sun Oct 16 06:40:44 UTC 2016 Modified Files: src/sys/arch/xen/include: intr.h Log Message: This should return the amd64 build to a working state (and hopefully i386 as well) - but this is a hideous hack, and should be reverted as

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

2016-09-23 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Sep 23 22:07:12 UTC 2016 Modified Files: src/sys/arch/xen/conf: std.xen Log Message: Given Xen/i386 the same process and file limit as native i386. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2016-08-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Aug 25 17:03:57 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Revert to 1.59 (adding back the W^X kernel mapings), and move the data+bss mapping late so that mappings that should be RO (such as page

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

2016-08-23 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Aug 23 11:03:52 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Stopgap measure: revert to rev 1.56. starting with 1.57 an i386PAE Xen kernel doesn't boot: (XEN) mm.c:2394:d139v0 Bad type (saw

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

2016-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 11 15:35:10 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Make the I/O area non-executable on Xen. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/xen/x86/x86_xpmap.c

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

2016-08-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 3 11:51:18 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the recursive slot and page table pages as non-executable on Xen. Same as normal x86. To generate a diff of this commit: cvs rdiff -u

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

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 14:21:53 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the kernel text, rodata and data+bss independently on Xen, with respectively RX, R and RW. To generate a diff of this commit: cvs

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

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 13:29:35 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Use PG_RO instead of a magic zero. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56 src/sys/arch/xen/x86/x86_xpmap.c Please

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

2016-08-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 2 13:25:56 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: KNF, and use PAGE_SIZE instead of NBPG. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/sys/arch/xen/x86/x86_xpmap.c

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

2016-06-12 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sun Jun 12 09:08:09 UTC 2016 Modified Files: src/sys/arch/xen/xen: clock.c hypervisor.c Log Message: - add machdep.xen.version sysctl to easily get hypervisor version - move machdep.xen_timepush_ticks to

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

2016-06-07 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Jun 8 01:59:06 UTC 2016 Modified Files: src/sys/arch/xen/xen: xen_machdep.c Log Message: Feeding uninitialised garbage to the hypervisor is likely to be a bad idea. To generate a diff of this commit: cvs rdiff -u -r1.14

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

2016-05-19 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri May 20 03:41:20 UTC 2016 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: make CPU microcode loading dependent on both DOM0OPS AND CPU_UCODE To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141

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

2016-05-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 9 15:11:35 UTC 2016 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Account for the CRC len (Jean-Jacques.Puig) To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56

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

2016-02-27 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 27 15:42:20 UTC 2016 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: no condition for cpu_rng here To generate a diff of this commit: cvs rdiff -u -r1.139 -r1.140 src/sys/arch/xen/conf/files.xen Please

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

2016-02-27 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 27 14:28:50 UTC 2016 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: add missing cpu_rng.c to kernel To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/sys/arch/xen/conf/files.xen Please

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

2016-02-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Feb 16 08:41:32 UTC 2016 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: In xennet_xenbus_detach(), remove the event handler early (just after xennet_stop()) so that we don't get events while slepping

CVS commit: src/sys/arch/xen

2016-01-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jan 6 15:28:40 UTC 2016 Modified Files: src/sys/arch/xen/include/xen-public/io: ring.h src/sys/arch/xen/xen: pciback.c xbdback_xenbus.c xennetback_xenbus.c Log Message: Apply patch from xsa155: make sure that the

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

2015-12-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 13 16:11:14 UTC 2015 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: need definition To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/xen/x86/cpu.c Please note that diffs are not

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

2015-12-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 13 15:22:31 UTC 2015 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: fix the build. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/arch/xen/x86/cpu.c Please note that diffs are not

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

2015-11-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 19 17:01:40 UTC 2015 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c xennetback_xenbus.c Log Message: Enable the VLAN mtu capability and check for the adjusted packet size (Jean-Jacques.Puig at espci.fr).

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

2015-11-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Nov 15 14:42:04 UTC 2015 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Fix typo which caused the kenrel thread to be created with a 0 priority. This would cause the thread to be almost never scheduled

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

2015-11-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Nov 11 08:51:33 UTC 2015 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: Fix XEN build - does XEN really want/need pmap_pv_track? To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138

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

2015-10-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 25 07:51:16 UTC 2015 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: Uninitialized variable. Found by Brainy. ok pgoyette@ To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75

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

2015-05-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri May 22 10:34:13 UTC 2015 Modified Files: src/sys/arch/xen/xen: xenevt.c Log Message: Fix off by one error, pointed out by Wei Liu in port-xen/49919 To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42

CVS commit: src/sys/arch/xen

2015-03-14 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Mar 14 10:49:36 UTC 2015 Modified Files: src/sys/arch/xen/include: evtchn.h src/sys/arch/xen/xen: evtchn.c pci_intr_machdep.c Log Message: Properly implemement pci_intr_disestablish(9), so that interrupt handlers stop

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

2015-02-07 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sat Feb 7 20:01:48 UTC 2015 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: valid_ipimask is only used under DIAGNOSTIC, so only define it then. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2015-01-03 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Sun Jan 4 07:34:14 UTC 2015 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: Include files.sljit as i386/amd64 do. To generate a diff of this commit: cvs rdiff -u -r1.136 -r1.137 src/sys/arch/xen/conf/files.xen

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

2014-12-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Dec 31 20:39:07 UTC 2014 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: pass dev to disk_ioctl To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/arch/xen/xen/xbd_xenbus.c Please note

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

2014-12-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 15 13:48:51 UTC 2014 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: there is no ibcs2 in amd64 [yet?] To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.136 src/sys/arch/xen/conf/files.xen

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

2014-12-14 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Mon Dec 15 07:35:09 UTC 2014 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: Add two new compat files for Xen on amd64 To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135

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

2014-10-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 17 16:37:02 UTC 2014 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: now that privcmd_map_obj cleans up correctly, don't double free... To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

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

2014-10-11 Thread Masao Uebayashi
Module Name:src Committed By: uebayasi Date: Sat Oct 11 06:07:48 UTC 2014 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: Mark machdep files. To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/sys/arch/xen/conf/files.xen Please note that

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

2014-10-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 3 20:56:24 UTC 2014 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: correct error paths; still need to verify that the didn't give us back... case is correct. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/xen

2014-09-21 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Sep 21 12:46:15 UTC 2014 Modified Files: src/sys/arch/xen/x86: hypervisor_machdep.c src/sys/arch/xen/xen: clock.c xbdback_xenbus.c src/sys/arch/xen/xenbus: xenbus_client.c Log Message: Make Xen kernels compile

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

2014-09-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Sep 21 16:53:38 UTC 2014 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: fix leak. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/sys/arch/xen/xen/privcmd.c Please note that diffs are not

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

2014-09-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Sep 21 16:56:44 UTC 2014 Modified Files: src/sys/arch/xen/xen: privcmd.c Log Message: fix leak. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/arch/xen/xen/privcmd.c Please note that diffs are not

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

2014-07-20 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Jul 20 16:51:29 UTC 2014 Modified Files: src/sys/arch/xen/conf: Makefile.xen Log Message: Restrict -mno-fp-ret-in-387 to GCC. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/xen/conf/Makefile.xen

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

2014-07-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Jul 17 10:49:45 UTC 2014 Modified Files: src/sys/arch/xen/conf: Makefile.xen Log Message: Sync DEFCOPTS and CFLAGS with i386 and amd64 counterparts. Especially -fno-omit-frame-pointer To generate a diff of this commit: cvs

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

2014-06-13 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Jun 14 02:53:02 UTC 2014 Modified Files: src/sys/arch/xen/include: hypervisor.h Log Message: Define a macro to check hypervisor version. OK cherry@ To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44

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

2014-04-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Apr 3 15:53:05 UTC 2014 Modified Files: src/sys/arch/xen/x86: autoconf.c Log Message: Change findroot() to cpu_bootconf() since this is what it does. Remove bogus comment. To generate a diff of this commit: cvs rdiff -u

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

2014-03-03 Thread David Laight
Module Name:src Committed By: dsl Date: Mon Mar 3 22:09:32 UTC 2014 Modified Files: src/sys/arch/xen/x86: mainbus.c Log Message: Use the global pci_mode to avoid 'set but not used' warnings from gcc 4.8.3. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

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

2014-02-01 Thread David Laight
Module Name:src Committed By: dsl Date: Sat Feb 1 17:48:04 UTC 2014 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Add a direct call to fpuinit(). I'm not sure this is architecturally the best place, but I think it is where npxattach() used to get

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

2014-02-01 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Feb 1 20:07:07 UTC 2014 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Revert previous: calling fpuinit() leads to a panic, as a domU is not allowed to manipulate cr0 directly. Xen doesn't need this, the fpu

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

2014-01-31 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Jan 31 10:37:01 UTC 2014 Modified Files: src/sys/arch/xen/x86: mainbus.c Log Message: Move back call to pci_mode_detect() outside of #ifdef PCI_BUS_FIXUP. Even if mode is not used, the call to pci_mode_detect() is mandatory

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

2013-12-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Dec 3 20:51:00 UTC 2013 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: Remove the evtchn_do_event: handler %p didn't lower ipl %d %d\n printf. With help from Robert Elz we've finally figured out what's going on,

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

2013-11-09 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sun Nov 10 01:19:13 UTC 2013 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Change xpq_flush_cache to just do WBINVD letting the hypervisor trap and handle it as MMUEXT_FLUSH_CACHE is a privileged hypervisor

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

2013-11-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 8 02:23:52 UTC 2013 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: fix unused variable warnings To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/xen/x86/x86_xpmap.c Please

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

2013-10-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Oct 20 11:37:11 UTC 2013 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Add more XENPRINTF() to xbdback_connect() in xbdback_backend_changed(), fix memory leak. Do not free an uninitialized pointer in

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

2013-10-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Oct 20 11:37:53 UTC 2013 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: Fix memory leak if the provided mac address isn't valid. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

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

2013-10-13 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Sun Oct 13 12:29:42 UTC 2013 Modified Files: src/sys/arch/xen/xen: xpci_xenbus.c Log Message: Fix pasto in previous; pass a correct device_t to config_pending_derc(). To generate a diff of this commit: cvs rdiff -u -r1.13

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

2013-09-14 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sat Sep 14 13:07:55 UTC 2013 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: GC max_cpus. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/xen/x86/xen_ipi.c Please note that diffs are not

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

2013-07-06 Thread Greg Troxel
Module Name:src Committed By: gdt Date: Sat Jul 6 12:06:24 UTC 2013 Modified Files: src/sys/arch/xen/xen: xen_ucode.c Log Message: Add #endif comments. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/xen/xen/xen_ucode.c Please note that diffs

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

2013-05-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed May 29 23:11:56 UTC 2013 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: get dir of dk_geom. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/xen/xen/xbd_xenbus.c Please note

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

2013-03-06 Thread YAMAMOTO Takashi
Module Name:src Committed By: yamt Date: Wed Mar 6 11:37:23 UTC 2013 Modified Files: src/sys/arch/xen/xen: xennetback_xenbus.c Log Message: fix debug print To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/xen/xen/xennetback_xenbus.c Please

CVS commit: src/sys/arch/xen

2013-01-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Jan 13 21:01:05 UTC 2013 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: Re-apply

CVS commit: src/sys/arch/xen

2013-01-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jan 12 17:39:46 UTC 2013 Modified Files: src/sys/arch/xen/include: evtchn.h hypervisor.h src/sys/arch/xen/x86: hypervisor_machdep.c src/sys/arch/xen/xen: evtchn.c Log Message: Back out this commit:

CVS commit: src/sys/arch/xen

2013-01-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jan 12 21:09:10 UTC 2013 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: Revert these commits from november 2012:

CVS commit: src/sys/arch/xen

2012-12-27 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Dec 28 06:29:56 UTC 2012 Modified Files: src/sys/arch/xen/include: evtchn.h hypervisor.h src/sys/arch/xen/x86: hypervisor_machdep.c src/sys/arch/xen/xen: evtchn.c Log Message: Simplify the xen event handler

CVS commit: src/sys/arch/xen

2012-12-26 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Dec 27 06:42:14 UTC 2012 Modified Files: src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: xen_ipi.c Log Message: Remove unused header evtchn.h from intr.h To generate a diff of this commit: cvs rdiff -u -r1.34

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

2012-12-04 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Dec 5 01:46:23 UTC 2012 Modified Files: src/sys/arch/xen/xen: xpci_xenbus.c Log Message: remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/xen/xen/xpci_xenbus.c Please

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

2012-11-28 Thread Roger Pau Monne
Module Name:src Committed By: royger Date: Wed Nov 28 16:26:59 UTC 2012 Modified Files: src/sys/arch/xen/xenbus: xenbus_xs.c Log Message: xen: prevent adding duplicate xenwatches When a xenstore watch triggers, the event is processed on process_msg and if a valid handle

CVS commit: src/sys/arch/xen

2012-11-25 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Nov 25 08:39:36 UTC 2012 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: Make hypervisor_set_ipending() and its

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

2012-11-25 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Nov 25 20:56:33 UTC 2012 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: Do not escalate the local spl while taking the interrupt handler list lock. Re-entrance is protected against within the events handler

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

2012-11-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Nov 25 07:48:47 UTC 2012 Modified Files: src/sys/arch/xen/xen: evtchn.c Log Message: hypervisor_set_ipending() should not set the pending flag across cpus. The reason for this is that the pending flag update is not atomic,

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

2012-10-24 Thread Roger Pau Monne
Module Name:src Committed By: royger Date: Wed Oct 24 13:07:46 UTC 2012 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: xen: don't use grants 0-8 Not all grants from the first frame can be used, grants from 0 to 8 (both included) are reserved for external

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

2012-08-21 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Aug 21 09:06:03 UTC 2012 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Redo previous the correct way: Xen expects a u_long * for vcpumask, so use 2 uint32_t on LP64. To generate a diff of this commit: cvs

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

2012-08-20 Thread Mindaugas Rasiukevicius
Module Name:src Committed By: rmind Date: Tue Aug 21 01:17:46 UTC 2012 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Fix Xen build. Make xcpumask uint32_t, fits 32 CPUs (can increase). To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

CVS commit: src/sys/arch/xen

2012-07-27 Thread Matt Thomas
Module Name:src Committed By: matt Date: Sat Jul 28 02:08:51 UTC 2012 Modified Files: src/sys/arch/xen/include: shutdown_xenbus.h src/sys/arch/xen/xen: xen_machdep.c Log Message: Fix some -fno-common fallout. To generate a diff of this commit: cvs rdiff -u -r1.4

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

2012-07-22 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Jul 22 19:30:19 UTC 2012 Modified Files: src/sys/arch/xen/xen: xen_machdep.c Log Message: Don't leak stack content when reading the Xen suspend value. XXX pull-up to -6. To generate a diff of this commit: cvs rdiff -u -r1.11

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

2012-07-22 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Mon Jul 23 01:31:02 UTC 2012 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: Add more ratechecks to avoid console spam when the backend gets a stream of errors. Remove the unused xbdi_errps (error per second)

CVS commit: src/sys/arch/xen

2012-06-30 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sat Jun 30 23:36:20 UTC 2012 Modified Files: src/sys/arch/xen/x86: xen_bus_dma.c src/sys/arch/xen/xen: balloon.c if_xennet_xenbus.c xengnt.c xennetback_xenbus.c Log Message: Use setter to set xenguest_handles.

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

2012-06-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Jun 24 13:56:10 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Update comment: we stopped using xcall to sync PTP between CPUs. pmap_kpm_sync_xcall = xen_kpm_sync To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/xen

2012-06-24 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Jun 24 18:31:53 UTC 2012 Modified Files: src/sys/arch/xen/include: xenpmap.h src/sys/arch/xen/x86: xen_pmap.c Log Message: Enable the map/unmap recursive mapping functions for all Xen ports for save/restore. For an

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

2012-06-07 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Thu Jun 7 14:05:14 UTC 2012 Modified Files: src/sys/arch/xen/xenbus: xenbus_probe.c Log Message: Fix problem where devices with ID 0 were skipped as invalid as it didn't distinguish between numerical zero and invalid numeric

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

2012-06-05 Thread Stephen Borrill
Module Name:src Committed By: sborrill Date: Tue Jun 5 10:58:57 UTC 2012 Modified Files: src/sys/arch/xen/xenbus: xenbus_probe.c Log Message: Sort vif and vbd device IDs numerically so that attach order does not depend on the order they are passed in through xenstore.

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

2012-05-25 Thread Roland Dowdeswell
Module Name:src Committed By: elric Date: Fri May 25 15:03:38 UTC 2012 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: Update xdb_xenbus.c to new usage of routines in dksubr.c. To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57

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

2012-05-23 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Wed May 23 10:01:51 UTC 2012 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: destroy mutex and cv first. Fixes LOCKDEBUG crash when a guest shut down. To generate a diff of this commit: cvs rdiff -u -r1.55

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

2012-04-05 Thread Jeff Rizzo
Module Name:src Committed By: riz Date: Fri Apr 6 03:20:43 UTC 2012 Modified Files: src/sys/arch/xen/xen: hypervisor.c Log Message: Retrive and print the hypervisor extra (teeny) version. From Manuel Bouyer. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

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

2012-03-11 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Mar 11 16:16:44 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Typo fix. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/arch/xen/x86/cpu.c Please note that diffs are not public

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

2012-03-11 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Mar 11 17:14:30 UTC 2012 Modified Files: src/sys/arch/xen/x86: xen_pmap.c Log Message: Split the map/unmap code from the sync/flush code: move xpq_flush_queue() calls after pmap_{,un}map_recursive_entries() so that pmap's

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

2012-03-02 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Mar 2 16:37:38 UTC 2012 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: MMUEXT_INVLPG_MULTI and MMUEXT_TLB_FLUSH_MULTI use a long as cpu mask, not uint32_t, so pass a pointer of the right type. While there,

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

2012-03-02 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Mar 2 16:38:14 UTC 2012 Modified Files: src/sys/arch/xen/x86: xen_pmap.c Log Message: Add some more KASSERT() To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/xen/x86/xen_pmap.c Please note that

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

2012-02-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Feb 25 18:57:51 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: The code assumes that ci_index is also the Xen's cpunum, and that cpunum is less than XEN_LEGACY_MAX_VCPUS. KASSERT both. To generate a diff

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

2012-02-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Feb 24 11:31:23 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Get rid of phycpus_attached bitmask; it's maintained but not used and will limit the number of physical CPUs to 32 without good reasons. To

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

2012-02-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Feb 24 11:43:06 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Don't maintain ci_cpumask for physical CPUs, it's not used. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88

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

2012-02-23 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Feb 23 19:17:32 UTC 2012 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: Fix locking; xengnt_get_entry() needs to have the lock held to avoid allocating the same entry twice. xengnt_more_entries() also needs the

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

2012-02-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Feb 22 16:50:46 UTC 2012 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: Define XBD_MAX_XFER instead of using (PAGE_SIZE * BLKIF_MAX_SEGMENTS_PER_REQUEST) directly. To generate a diff of this commit: cvs

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

2012-02-22 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Feb 22 16:53:46 UTC 2012 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: Only attempt to handle as much data as we can handle. Per my testing, allows normal MAXPHYS on domU kernels. To generate a diff of

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

2012-02-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Feb 22 18:29:32 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: use pmap_protect() instead of pmap_kenter_pa() to remap R/O an exiting page. This gets rid of the last mapping already present warnings. To

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

2012-02-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Feb 22 18:54:51 UTC 2012 Modified Files: src/sys/arch/xen/xen: if_xennet_xenbus.c Log Message: Allocating a fixed, limited number of buffers for receive and sending them to the network stack is a bad idea, because if all

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

2012-02-22 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Feb 23 04:10:51 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: cpu_load_pmap() should not be used to load pmap_kernel(), since in the x86 model, its mappings are shared across pmaps. KASSERT() for this and

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

2012-02-22 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Feb 23 07:30:30 UTC 2012 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Cleanup. - Remove cruft from native x86 origin. - Remove access to privileged MSRs. - Cleanup stale comments. To generate a diff of this

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

2012-02-20 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Tue Feb 21 01:47:50 UTC 2012 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: Add and use xbdminphys() to handle transfer segmentation/size limit. Should allow us to use a normal MAXPHYS in domU kernels. To

CVS commit: src/sys/arch/xen

2012-02-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Feb 17 18:42:19 UTC 2012 Modified Files: src/sys/arch/xen/include: hypervisor.h src/sys/arch/xen/xen: hypervisor.c Log Message: - make xen_version globally available, with macros to access major and minor xen

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

2012-02-17 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Feb 17 19:00:45 UTC 2012 Modified Files: src/sys/arch/xen/xen: clock.c Log Message: - make xen_version globally available, with macros to access major and minor xen version. - In xen_initclocks(), do a

<    1   2   3   4   5   6   >