CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 25 15:03:18 UTC 2020 Modified Files: src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC src/sys/arch/i386/conf [bouyer-xenpvh]: GENERIC Removed Files: src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC_XENHVM XE

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/conf

2020-04-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 25 15:01:41 UTC 2020 Modified Files: src/sys/arch/xen/conf [bouyer-xenpvh]: files.xen Log Message: restore part accidentaly deleted To generate a diff of this commit: cvs rdiff -u -r1.180.2.8 -r1.180.2.9 src/sys/arch/xen

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 25 15:01:01 UTC 2020 Modified Files: src/sys/arch/amd64/include/xen [bouyer-xenpvh]: hypercalls.h src/sys/arch/i386/include/xen [bouyer-xenpvh]: hypercalls.h Log Message: Include changes in sys/arch/xen/include/ be

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 25 13:16:48 UTC 2020 Modified Files: src/sys/arch/x86/conf [bouyer-xenpvh]: files.x86 src/sys/arch/x86/x86 [bouyer-xenpvh]: cpu.c i8259.c src/sys/arch/xen/conf [bouyer-xenpvh]: files.xen src/sys/arch

CVS commit: [bouyer-xenpvh] src/sys/rump

2020-04-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 25 11:44:29 UTC 2020 Modified Files: src/sys/rump [bouyer-xenpvh]: listsrcdirs Log Message: Add xen as include dir for x86 To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.49.6.1 src/sys/rump/listsrcdirs Pleas

CVS commit: [bouyer-xenpvh] src/sys

2020-04-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 25 11:24:08 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64 [bouyer-xenpvh]: netbsd32_machdep.c sig_machdep.c src/sys/arch/aarch64/include [bouyer-xenpvh]: profile.h src/sys/arch/amd64/amd6

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/conf

2020-04-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 25 10:52:26 UTC 2020 Modified Files: src/sys/arch/xen/conf [bouyer-xenpvh]: files.compat files.xen files.xen.pv Log Message: Include again xen/conf/files.compat for PV kernels, and make it build. My build.sh -u

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/include

2020-04-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 25 10:51:25 UTC 2020 Modified Files: src/sys/arch/xen/include [bouyer-xenpvh]: Makefile Log Message: Also install xen/intrdefs.h To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.108.1 src/sys/arch/xen/include/

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Apr 22 20:49:08 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c Log Message: Don't try to attach vcpu on !XENPV remove debug printf and other misc cosmetic changes To generate a diff of this commi

CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/conf

2020-04-22 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Apr 22 16:51:56 UTC 2020 Modified Files: src/sys/arch/amd64/conf [bouyer-xenpvh]: XEN3_DOMU Log Message: Remove HZ=20, it was to testing only. To generate a diff of this commit: cvs rdiff -u -r1.90.6.3 -r1.90.6.4 src/sys/arc

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-21 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 21 16:57:40 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: xengnt.c Log Message: It is possible to use grant_v2 with HVM guest; but the status table has to be mapped using XENMEM_add_to_physmap. To genera

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 20:19:07 UTC 2020 Modified Files: src/sys/arch/x86/x86 [bouyer-xenpvh]: intr.c src/sys/arch/xen/x86 [bouyer-xenpvh]: xen_intr.c Log Message: channel %d -> chan %d, for the benefit of 'systat vm' To generate a

CVS commit: [bouyer-xenpvh] src/sys/arch/xen

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 19:46:44 UTC 2020 Modified Files: src/sys/arch/xen/include [bouyer-xenpvh]: evtchn.h src/sys/arch/xen/x86 [bouyer-xenpvh]: xen_ipi.c src/sys/arch/xen/xen [bouyer-xenpvh]: evtchn.c Log Message: Misc fixes

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 19:46:04 UTC 2020 Modified Files: src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC_XENHVM src/sys/arch/i386/conf [bouyer-xenpvh]: GENERIC_XENHVM Log Message: Thanks do jdolecek@, MAXPHYS is not restricted to 32k

CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/conf

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 19:43:33 UTC 2020 Modified Files: src/sys/arch/amd64/conf [bouyer-xenpvh]: std.amd64 Log Message: Use std.xenversion To generate a diff of this commit: cvs rdiff -u -r1.11.26.1 -r1.11.26.2 src/sys/arch/amd64/conf/std.

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 19:42:10 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: xengnt.c Log Message: Bad news: * grant table v2 is not supported for HVM guests on 4.11 at last. * see xen/arch/x86/hvm/hypercall.c in Xen sourc

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 19:40:51 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: xbdback_xenbus.c Log Message: Fix build with DIAGNOSTIC To generate a diff of this commit: cvs rdiff -u -r1.77.2.2 -r1.77.2.3 src/sys/arch/xen/xe

CVS commit: [bouyer-xenpvh] src/sys/arch/xen

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 19:40:24 UTC 2020 Modified Files: src/sys/arch/xen/conf [bouyer-xenpvh]: files.xen files.xen.pv src/sys/arch/xen/x86 [bouyer-xenpvh]: xen_bus_dma.c Log Message: We need xenbus_bus_dma_tag for PVHVM too, but with

CVS commit: [bouyer-xenpvh] src/sys/arch/i386/conf

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 19:38:54 UTC 2020 Modified Files: src/sys/arch/i386/conf [bouyer-xenpvh]: std.i386 std.xen Log Message: Fix build after merge To generate a diff of this commit: cvs rdiff -u -r1.35.26.1 -r1.35.26.2 src/sys/arch/i386/c

CVS commit: [bouyer-xenpvh] src/sys/arch/i386/conf

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 19:38:11 UTC 2020 Modified Files: src/sys/arch/i386/conf [bouyer-xenpvh]: GENERIC Log Message: build with -g on the branch To generate a diff of this commit: cvs rdiff -u -r1.1227 -r1.1227.2.1 src/sys/arch/i386/conf/G

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 18:50:46 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: xbdback_xenbus.c Log Message: Bring in 1.82 and 1.83 from HEAD To generate a diff of this commit: cvs rdiff -u -r1.77.2.1 -r1.77.2.2 src/sys/arch

CVS commit: [bouyer-xenpvh] src/sys

2020-04-20 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Apr 20 11:29:15 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64 [bouyer-xenpvh]: aarch64_machdep.c cpufunc.c cpuswitch.S db_machdep.c db_trace.c genassym.cf locore.S pmap.c pmapboot.c trap.c vector

CVS commit: [bouyer-xenpvh] src/sys/arch/xen

2020-04-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 19 20:29:30 UTC 2020 Modified Files: src/sys/arch/xen/conf [bouyer-xenpvh]: files.xen files.xen.pv src/sys/arch/xen/x86 [bouyer-xenpvh]: hypervisor_machdep.c src/sys/arch/xen/xen [bouyer-xenpvh]: evtchn.c L

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 19 19:39:11 UTC 2020 Modified Files: src/sys/arch/x86/include [bouyer-xenpvh]: intr.h pic.h src/sys/arch/x86/pci [bouyer-xenpvh]: msipic.c src/sys/arch/x86/x86 [bouyer-xenpvh]: i8259.c intr.c ioapic.c lapic.

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-19 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 19 11:40:31 UTC 2020 Modified Files: src/sys/arch/x86/include [bouyer-xenpvh]: intr.h src/sys/arch/x86/x86 [bouyer-xenpvh]: intr.c x86_softintr.c src/sys/arch/xen/include [bouyer-xenpvh]: evtchn.h sr

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-18 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 18 20:36:31 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: evtchn.c Log Message: If we get an event for another CPU just ignore it. The hypervisor will callback on the other CPU anyway. To generate a diff

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-18 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 18 20:03:02 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: vector.S src/sys/arch/i386/i386 [bouyer-xenpvh]: vector.S src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c Log Message: If po

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-18 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 18 15:06:18 UTC 2020 Modified Files: src/sys/arch/x86/include [bouyer-xenpvh]: cpu.h cpuvar.h src/sys/arch/x86/x86 [bouyer-xenpvh]: cpu.c mainbus.c src/sys/arch/xen/include [bouyer-xenpvh]: hypervisor.h xen.

CVS commit: [bouyer-xenpvh] src/sys/arch/i386/i386

2020-04-18 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 18 14:49:57 UTC 2020 Modified Files: src/sys/arch/i386/i386 [bouyer-xenpvh]: i386_trap.S locore.S Log Message: Call stipending() only on XenPV. Fix spurious fpudna from kernel mode To generate a diff of this commit: cvs

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-18 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 18 14:47:56 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: machdep.c src/sys/arch/i386/i386 [bouyer-xenpvh]: machdep.c src/sys/arch/x86/include [bouyer-xenpvh]: machdep.h src/sys/

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 20:21:45 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: xen_clock.c Log Message: MOve the #ifdef XENPV block to the end, so that XEN3_DOM0 builds again. To generate a diff of this commit: cvs rdiff -u

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 20:21:04 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c Log Message: switch vm_guest to VM_GUEST_XENPVHVM only after all tests succeeded. To generate a diff of this commit: cvs rdiff -u -r

CVS commit: [bouyer-xenpvh] src/sys/arch/xen

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 19:23:51 UTC 2020 Modified Files: src/sys/arch/xen/conf [bouyer-xenpvh]: files.xen files.xen.pv src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c Added Files: src/sys/arch/xen/xen [bouyer-xenpvh]: xen_cl

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 17:50:52 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: vector.S src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC_XENHVM src/sys/arch/i386/i386 [bouyer-xenpvh]: vector.S src/sy

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 17:47:37 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c Log Message: fail silently if hypervisor is not found. To generate a diff of this commit: cvs rdiff -u -r1.73.2.2 -r1.73.2.3 src/sys

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/x86

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 17:46:44 UTC 2020 Modified Files: src/sys/arch/xen/x86 [bouyer-xenpvh]: xen_mainbus.c Log Message: Don't try to attach hypervisor on non Xen; no more error messages about hypervisor when booting on bare metal. To gene

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 17:44:54 UTC 2020 Modified Files: src/sys/arch/amd64/include [bouyer-xenpvh]: intrdefs.h src/sys/arch/i386/include [bouyer-xenpvh]: intrdefs.h src/sys/arch/x86/include [bouyer-xenpvh]: cpu.h Log Message:

CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/conf

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 10:42:26 UTC 2020 Modified Files: src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC_XENHVM Log Message: Well, no, SVS does't quite work yet. To generate a diff of this commit: cvs rdiff -u -r1.1.2.2 -r1.1.2.3 src/sys/a

CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/conf

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 10:07:23 UTC 2020 Modified Files: src/sys/arch/amd64/conf [bouyer-xenpvh]: GENERIC_XENHVM Log Message: SVS is working with PVHVM now To generate a diff of this commit: cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/amd

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 09:45:57 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: locore.S machdep.c src/sys/arch/x86/include [bouyer-xenpvh]: pci_machdep_common.h src/sys/arch/x86/x86 [bouyer-xenpvh]: consinit

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-16 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 16 08:46:36 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: vector.S src/sys/arch/amd64/conf [bouyer-xenpvh]: Makefile.amd64 XEN3_DOM0 files.amd64 std.amd64 std.xen src/sys/arc

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-15 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Apr 15 16:04:07 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: spl.S src/sys/arch/amd64/conf [bouyer-xenpvh]: XEN3_DOMU src/sys/arch/i386/i386 [bouyer-xenpvh]: lock_stubs.S spl.S src/

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-14 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 14 16:53:57 UTC 2020 Modified Files: src/sys/arch/x86/x86 [bouyer-xenpvh]: patch.c src/sys/arch/xen/conf [bouyer-xenpvh]: files.xen Log Message: Always patch spllower with cx8_spllower; it works fine for Xen now In

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/x86

2020-04-14 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Apr 14 16:52:36 UTC 2020 Modified Files: src/sys/arch/xen/x86 [bouyer-xenpvh]: xen_intr.c Log Message: Remove spllower alias, xen_spllower is gone To generate a diff of this commit: cvs rdiff -u -r1.21.2.3 -r1.21.2.4 src/sys

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/x86

2020-04-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 12 21:19:49 UTC 2020 Modified Files: src/sys/arch/xen/x86 [bouyer-xenpvh]: autoconf.c Log Message: remove stray 'else' To generate a diff of this commit: cvs rdiff -u -r1.23.8.1 -r1.23.8.2 src/sys/arch/xen/x86/autoconf.c

CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/conf

2020-04-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 12 21:20:16 UTC 2020 Modified Files: src/sys/arch/amd64/conf [bouyer-xenpvh]: XEN3_DOM0 Log Message: no MULTIPROCESSOR so NO_PREEMTION To generate a diff of this commit: cvs rdiff -u -r1.175 -r1.175.4.1 src/sys/arch/amd6

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/x86

2020-04-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 12 19:53:37 UTC 2020 Modified Files: src/sys/arch/xen/x86 [bouyer-xenpvh]: xen_intr.c Log Message: We need to call x86_init_preempt() for all CPUs now. To generate a diff of this commit: cvs rdiff -u -r1.21.2.2 -r1.21.2.

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 12 17:25:53 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: genassym.cf lock_stubs.S spl.S vector.S src/sys/arch/i386/i386 [bouyer-xenpvh]: genassym.cf i386_trap.S locore.S

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/x86

2020-04-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 12 17:17:38 UTC 2020 Modified Files: src/sys/arch/xen/x86 [bouyer-xenpvh]: xen_ipi.c Log Message: Add XEN_IPI_KPREEMPT to list of valid IPIs To generate a diff of this commit: cvs rdiff -u -r1.35.6.1 -r1.35.6.2 src/sys/a

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/x86

2020-04-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 12 17:16:58 UTC 2020 Modified Files: src/sys/arch/xen/x86 [bouyer-xenpvh]: xenfunc.c Log Message: kpreempt_disable() only for x86_64 (which calls pmap_changeprot_local)). On i386 curcpu() is not valid yet and we don't need

CVS commit: [bouyer-xenpvh] src/sys/arch/i386/i386

2020-04-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 12 16:35:49 UTC 2020 Modified Files: src/sys/arch/i386/i386 [bouyer-xenpvh]: vector.S Log Message: The critical section handling is gone, remove comment about it To generate a diff of this commit: cvs rdiff -u -r1.85.6.2

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-12 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Apr 12 11:16:59 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: evtchn.c Log Message: Now that we return from hypervisor_callback via Xdoreti, no need to emulate it in evtchn_do_event() any more. To generate a

CVS commit: [bouyer-xenpvh] src/sys/arch/x86/x86

2020-04-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 11 21:21:49 UTC 2020 Modified Files: src/sys/arch/x86/x86 [bouyer-xenpvh]: mainbus.c Log Message: Attach hypervisor earlier, so that ISA/PCI emulated device are disabled before we probe them. To generate a diff of this c

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 11 21:21:16 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: hypervisor.c Log Message: Use some PIO magic to disable qemu emulated disks and network device when PVHVM is configured. From FreeBSD. To generat

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 11 18:26:08 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: lock_stubs.S spl.S src/sys/arch/i386/i386 [bouyer-xenpvh]: spl.S src/sys/arch/x86/conf [bouyer-xenpvh]: files.x86 src/sy

CVS commit: [bouyer-xenpvh] src/sys/arch/i386/i386

2020-04-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 11 12:01:42 UTC 2020 Modified Files: src/sys/arch/i386/i386 [bouyer-xenpvh]: spl.S vector.S Log Message: calling stipending() is only needed in the PV case; in PVHVM hypervisor_callback() will be called again as soon as we

CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/amd64

2020-04-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 11 11:56:51 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: vector.S Log Message: Merge back hypervisor_callback and hypervisor_pvhvm_callback, there's no issues calling Xdoreti in the PV case. To gene

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 11 10:11:31 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: genassym.cf spl.S src/sys/arch/amd64/include [bouyer-xenpvh]: frameasm.h src/sys/arch/i386/i386 [bouyer-xenpvh]: genassym.cf spl

CVS commit: [bouyer-xenpvh] src/sys/arch/x86/x86

2020-04-11 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Apr 11 08:06:16 UTC 2020 Modified Files: src/sys/arch/x86/x86 [bouyer-xenpvh]: x86_machdep.c Log Message: Remove spaces in machdep.hypervisor, suggested by mlelstv@ To generate a diff of this commit: cvs rdiff -u -r1.137.2.1

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Apr 10 14:42:00 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: spl.S vector.S src/sys/arch/amd64/conf [bouyer-xenpvh]: XEN3_PVHVM src/sys/arch/i386/conf [bouyer-xenpvh]: XEN3PAE_PVHVM

CVS commit: [bouyer-xenpvh] src/sys/arch/x86

2020-04-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Apr 10 14:37:54 UTC 2020 Modified Files: src/sys/arch/x86/include [bouyer-xenpvh]: cpu.h src/sys/arch/x86/x86 [bouyer-xenpvh]: cpu.c patch.c Log Message: Skip cx8_spllower patch if we're running on any form of Xen PV,

CVS commit: [bouyer-xenpvh] src/sys/arch/xen/xen

2020-04-10 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Fri Apr 10 14:38:19 UTC 2020 Modified Files: src/sys/arch/xen/xen [bouyer-xenpvh]: evtchn.c Log Message: Remove extra assignement To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.88.2.1 src/sys/arch/xen/xen/evtchn.c P

CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/amd64

2020-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 9 21:01:33 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: spl.S Log Message: Fix a second place where %eax is used with the wrong value. To generate a diff of this commit: cvs rdiff -u -r1.43.4.1 -r1

CVS commit: [bouyer-xenpvh] src/sys/arch/amd64/amd64

2020-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 9 16:51:00 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: spl.S Log Message: restore %eax before using it. This bug caused event handlers to be called spuriously at high spl or in a reentrant manner. N

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-09 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Apr 9 16:12:50 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: machdep.c src/sys/arch/i386/i386 [bouyer-xenpvh]: machdep.c Log Message: For RB_POWERDONW, call HYPERVISOR_shutdown() in all cases wher

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-08 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Apr 8 17:59:17 UTC 2020 Modified Files: src/sys/arch/amd64/amd64 [bouyer-xenpvh]: genassym.cf locore.S src/sys/arch/i386/i386 [bouyer-xenpvh]: genassym.cf locore.S src/sys/arch/x86/include [bouyer-xenpvh]: cpu.

CVS commit: [bouyer-xenpvh] src/sys/arch

2020-04-08 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Apr 8 17:56:08 UTC 2020 Modified Files: src/sys/arch/amd64/conf [bouyer-xenpvh]: XEN3_DOMU XEN3_PVHVM src/sys/arch/i386/conf [bouyer-xenpvh]: XEN3PAE_DOM0 XEN3PAE_DOMU XEN3PAE_PVHVM Log Message: Turn on -g