CVS commit: src/sys/arch

2019-02-14 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Feb 14 08:18:26 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c spl.S vector.S src/sys/arch/amd64/include: frame.h src/sys/arch/i386/i386: machdep.c vector.S

CVS commit: src/sys/arch

2019-02-13 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Feb 14 07:12:40 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: amd64_mainbus.c db_interface.c src/sys/arch/i386/i386: db_interface.c src/sys/arch/x86/x86: cpu.c Log Message: Fix NLAPIC, NISA and NIOAPIC

CVS commit: src/sys/arch/xen

2019-02-13 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Feb 14 06:59:25 UTC 2019 Modified Files: src/sys/arch/xen/conf: files.xen src/sys/arch/xen/include: bus_private.h src/sys/arch/xen/include/amd64: vmparam.h Log Message: Snag the final bits of PV only code to

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

2019-02-13 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Feb 13 09:57:46 UTC 2019 Modified Files: src/sys/arch/xen/x86: xen_mainbus.c Log Message: Conditionally compile a conditionally used variable. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/arch/xen

2019-02-12 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Feb 13 06:52:43 UTC 2019 Modified Files: src/sys/arch/xen/include: xenpmap.h src/sys/arch/xen/xen: evtchn.c hypervisor.c xen_machdep.c Log Message: Further restrict the scope of XENPV to relevant parts. To generate

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

2019-02-12 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Feb 13 06:15:51 UTC 2019 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: Catchup with struct intrstub; unification. This should fix dom0 build breakage. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/sys/arch

2019-02-12 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Feb 13 05:36:59 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S Log Message: Rig the hypercall callback page such that when the kernel happens to run without a XEN domain

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

2019-02-12 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Feb 13 05:28:50 UTC 2019 Modified Files: src/sys/arch/x86/include: intr.h Log Message: Missed the crucial header file in previous commit. struct intrstub; is now uniform across native and XEN This should fix the XEN builds.

CVS commit: src/sys/arch

2019-02-12 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Feb 13 05:01:58 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: vector.S src/sys/arch/i386/i386: vector.S src/sys/arch/xen/xen: evtchn.c Log Message: In preparation for debut-ing PVHVM mode: - Make the

CVS commit: src/sys/arch/xen

2019-02-12 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Feb 12 08:04:53 UTC 2019 Modified Files: src/sys/arch/xen/include: xenfunc.h src/sys/arch/xen/x86: xen_intr.c Log Message: Move xen event related code which interfaces with the NetBSD interrupt subsystem into a

CVS commit: src/sys/arch/xen

2019-02-11 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Feb 12 07:58:26 UTC 2019 Modified Files: src/sys/arch/xen/include: pci_machdep.h src/sys/arch/xen/x86: hypervisor_machdep.c Log Message: conditionally include XENPV specific code. This explicitly excludes PV only

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

2019-02-11 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Feb 12 03:13:50 UTC 2019 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Fix typo: Parameters are seperated by ','. To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/sys/arch/x86/x86/intr.c

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

2019-02-11 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Feb 11 18:50:15 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Detect and report running in a XEN hvm container. This allows the lapic code to apply its x2apic probe logic while running in a XEN hvm

CVS commit: src/sys/arch/i386/i386

2019-02-11 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Feb 11 17:28:52 UTC 2019 Modified Files: src/sys/arch/i386/i386: i386_trap.S Log Message: Remove redundant conditional IDT_VEC() entries. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

CVS commit: src/sys/arch

2019-02-11 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Feb 11 14:59:33 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S cpufunc.S db_interface.c gdt.c genassym.cf lock_stubs.S locore.S machdep.c process_machdep.c spl.S trap.c vector.S

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

2019-02-10 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Feb 10 11:10:34 UTC 2019 Modified Files: src/sys/arch/xen/include/amd64: hypercalls.h src/sys/arch/xen/include/i386: hypercalls.h Log Message: Catchup hypercall interfaces for HYPERVISOR_sched_op which use arguments

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

2019-02-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Feb 6 12:24:46 UTC 2019 Modified Files: src/sys/arch/xen/xen: xengnt.c Log Message: Add the codepath for grant table updates for VMs with an auto translated physmap. To generate a diff of this commit: cvs rdiff -u -r1.25

CVS commit: src/sys/arch

2019-02-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Feb 4 18:14:54 UTC 2019 Modified Files: src/sys/arch/amd64/conf: std.xen src/sys/arch/xen/conf: std.xen src/sys/arch/xen/include: hypervisor.h xen.h src/sys/arch/xen/x86: x86_xpmap.c Log Message: Bump

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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 15:13:54 UTC 2019 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 Log Message: Re-enable ixg(4) on NetBSD/xen dom0 Namespace conflicts have been resolved. Note that driver still has an incorrect us of __asm() gnu

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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 15:09:32 UTC 2019 Modified Files: src/sys/arch/xen/include: xenring.h Log Message: Fix build. A multiline macro needs 'line continuation'. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 14:50:15 UTC 2019 Modified Files: src/sys/arch/xen/include: hypervisor.h xenring.h Log Message: Remove mb(), rmb() and wmb() from the kernel namespace. These are introduced by external/bsd/common/include/asm/barrier.h

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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 12:40:32 UTC 2019 Removed Files: src/sys/arch/xen/include/xen-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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 12:32:55 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: genassym.cf locore.S src/sys/arch/amd64/conf: std.xen src/sys/arch/i386/i386: genassym.cf src/sys/arch/x86/include: cpu.h

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

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 12:05:09 UTC 2019 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 Log Message: Summary: Disable ixg(4) until the linuxist mb() API re-definition within the XEN amd64 dom0 build is resolved. Detail: The xen public

CVS import: src/sys/external/mit/xen-include-public/dist/xen/include/public

2019-02-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Feb 2 08:03:48 UTC 2019 Update of /cvsroot/src/sys/external/mit/xen-include-public/dist/xen/include/public In directory ivanova.netbsd.org:/tmp/cvs-serv20221 Log Message: Import Xen public headers version 4.11.1 Release tag:

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

2019-01-23 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Jan 24 04:16:16 UTC 2019 Modified Files: src/sys/arch/xen/include/amd64: hypercalls.h src/sys/arch/xen/include/i386: hypercalls.h Log Message: The event_channel_op hypercall uses a newer API since

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

2019-01-23 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Jan 24 04:11:38 UTC 2019 Modified Files: src/sys/arch/xen/include/amd64: hypercalls.h Log Message: hvm_op returns a signed value. The pattern is that a hypercall which returns a value < 0 may imply an error. To generate a

CVS commit: src/sys/arch

2019-01-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Jan 6 14:35:31 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S i386func.S src/sys/arch/xen/x86: xenfunc.c Log Message: Rollback

CVS commit: src/sys/arch

2018-12-26 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Dec 26 11:12:57 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: spl.S src/sys/arch/i386/i386: spl.S src/sys/arch/xen/x86: xen_intr.c Log Message: Xen can use the native splraise(9) functions. There is no

CVS commit: src/sys/arch/i386/i386

2018-12-25 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Dec 26 06:37:31 UTC 2018 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Missed a file during previous commit completing transition to separate handler queues for i386. This should fix the build (hopefully!)

CVS commit: src/sys/arch

2018-12-25 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Dec 25 09:00:26 UTC 2018 Modified Files: src/sys/arch/i386/i386: i386_trap.S spl.S src/sys/arch/xen/x86: xen_intr.c Log Message: fix i386 build - missed sources migration in previous commit. allow xen_intr.c to build

CVS commit: src/sys/arch

2018-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Dec 25 06:50:12 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: genassym.cf lock_stubs.S spl.S vector.S src/sys/arch/i386/i386: genassym.cf spl.S vector.S src/sys/arch/x86/include: cpu.h

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

2018-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 24 22:05:45 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c mp.c x86_machdep.c Log Message: Towards bifurcating XEN and native interrupt related functions, this is a preliminary cleanup sweep. Move functions

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

2018-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 24 21:15:59 UTC 2018 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: Do not include files for MSI support on XEN dom0. We do not support MSI as of now. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch

2018-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 24 14:55:42 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: xen_intr.c xen_ipi.c src/sys/arch/xen/xen: clock.c if_xennet_xenbus.c

CVS commit: src/sys/arch

2018-12-22 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Dec 22 21:27:22 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S i386func.S src/sys/arch/xen/x86: xenfunc.c Log Message: Introduce a weak alias method of exporting

CVS commit: src/sys/arch

2018-12-21 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Dec 22 07:45:59 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: amd64_mainbus.c src/sys/arch/amd64/conf: XEN3_DOM0 files.amd64 src/sys/arch/i386/conf: XEN3PAE_DOM0 files.i386 src/sys/arch/i386/i386:

CVS commit: src/sys/arch

2018-12-21 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Dec 22 06:59:27 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: amd64_mainbus.c src/sys/arch/i386/i386: i386_mainbus.c src/sys/arch/xen/x86: xen_mainbus.c Log Message: Don't forget pedigree. Re-introduce

CVS commit: src/sys/arch

2018-12-21 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Dec 22 06:33:37 UTC 2018 Modified Files: src/sys/arch/amd64/conf: files.amd64 src/sys/arch/i386/conf: files.i386 src/sys/arch/xen/conf: files.xen Added Files: src/sys/arch/amd64/amd64: amd64_mainbus.c

CVS commit: src

2018-12-20 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Dec 20 10:33:42 UTC 2018 Modified Files: src/share/man/man4: options.4 src/sys/arch/x86/conf: files.x86 Log Message: Enable 'options NO_PCI_MSI_MSIX' to DTRT in x86 builds. Document 'options NO_PCI_MSI_MSIX' in

CVS commit: src/share/man/man4

2018-12-20 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Dec 20 09:17:04 UTC 2018 Modified Files: src/share/man/man4: options.4 Log Message: Close .Bl directive properly To generate a diff of this commit: cvs rdiff -u -r1.494 -r1.495 src/share/man/man4/options.4 Please note that

CVS commit: src/share/man/man4

2018-12-20 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Dec 20 08:32:55 UTC 2018 Modified Files: src/share/man/man4: options.4 Log Message: Document 'options NO_PREEMPTION' With prompting from Christoph Badura. To generate a diff of this commit: cvs rdiff -u -r1.493 -r1.494

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

2018-12-13 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Dec 13 16:16:51 UTC 2018 Modified Files: src/sys/arch/x86/include: intr.h Log Message: Allow x86 builds to have the opportunity to not have pre-emption enabled by default. This can be effected by having a: "options

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

2018-12-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Dec 4 19:27:22 UTC 2018 Modified Files: src/sys/arch/x86/x86: cpu.c intr.c Log Message: Hypothetically speaking, if one were to want to compile a 'no options MULTIPROCESSOR' kernel, these files may trip up the build. Fix

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

2018-12-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Dec 4 19:22:42 UTC 2018 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: Stop panic()ing on a UP system. The reason for the panic is that the cpu_attach() doesn't run to completion because it thinks it's run past

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

2018-12-03 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 3 19:51:09 UTC 2018 Modified Files: src/sys/arch/x86/isa: isa_machdep.c Log Message: Allow isa_machdep.c to compile in the case of no ioapic support. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

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

2018-12-03 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 3 19:46:43 UTC 2018 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: Do not assume that all uses of efi are pci aware. Allow efi.c to compile in the case where pci is not enabled. To generate a diff of this

CVS commit: src/sys/dev/acpi

2018-12-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 3 05:22:03 UTC 2018 Modified Files: src/sys/dev/acpi: acpi_mcfg.c Log Message: Define macro before using it. This macro is used as a compile time "plugin" mechanism to use various platform specific enumeration functions.

CVS commit: src/sys/arch

2018-12-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Dec 2 08:19:44 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: mainbus.c src/sys/arch/i386/i386: mainbus.c src/sys/arch/x86/pci: pci_intr_machdep.c src/sys/arch/x86/x86: intr.c Log Message: make

CVS commit: src/sys/arch

2018-11-18 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Nov 18 23:50:48 UTC 2018 Modified Files: src/sys/arch/amd64/include: cpu.h src/sys/arch/i386/include: cpu.h src/sys/arch/x86/include: cpu.h src/sys/arch/xen/x86: hypervisor_machdep.c

CVS commit: src/sys/arch

2018-11-18 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Nov 18 10:24:10 UTC 2018 Modified Files: src/sys/arch/x86/include: cpu.h src/sys/arch/xen/x86: hypervisor_machdep.c src/sys/arch/xen/xen: clock.c Log Message: Save the interrupt trap/clockframe to a per-cpu

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

2018-11-16 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Nov 17 05:26:46 UTC 2018 Modified Files: src/sys/arch/xen/x86: hypervisor_machdep.c Log Message: Use hypervisor provided interface to unmask specific ports. Although at first glance this looks suboptimal, the unmask

CVS commit: src/sys/arch/xen

2018-10-25 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Oct 26 05:33:21 UTC 2018 Modified Files: src/sys/arch/xen/include: hypervisor.h src/sys/arch/xen/x86: hypervisor_machdep.c xen_ipi.c src/sys/arch/xen/xen: clock.c evtchn.c if_xennet_xenbus.c pciback.c

CVS commit: src/sys/arch/xen

2018-10-23 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Oct 24 03:59:33 UTC 2018 Modified Files: src/sys/arch/xen/x86: xen_ipi.c src/sys/arch/xen/xen: clock.c if_xennet_xenbus.c pciback.c xbd_xenbus.c xbdback_xenbus.c xencons.c xenevt.c xennetback_xenbus.c

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

2018-10-23 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Oct 24 03:51:21 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: When returning a cached shared irq event value, DTRT To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135

CVS commit: src/sys/arch/i386/i386

2018-10-17 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Oct 18 04:22:22 UTC 2018 Modified Files: src/sys/arch/i386/i386: machdep.c Log Message: Use memory allocated for the ldt, not the idt. This must have been a typo that we got away with because we were not using the idt[] so

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

2018-10-17 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Oct 18 04:17:18 UTC 2018 Modified Files: src/sys/arch/xen/x86: xenfunc.c Log Message: Zero out page table memory for IDT before use. To copy the IDT entry before registration, de-reference the indexed value, not the first

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

2018-10-17 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Oct 18 04:14:07 UTC 2018 Modified Files: src/sys/arch/x86/x86: idt.c Log Message: Make compile-time type differentiation more explicit. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86/idt.c

CVS commit: src/sys/arch/i386/i386

2018-10-17 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Oct 18 04:11:14 UTC 2018 Modified Files: src/sys/arch/i386/i386: cpufunc.S Log Message: Whitespace self-police. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/i386/i386/cpufunc.S Please note

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

2018-10-16 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Oct 17 03:43:24 UTC 2018 Modified Files: src/sys/arch/xen/xen: xenevt.c Log Message: The known_mpsafe parameter is used by intr.c:intr_establish_xname() especially in the non -D MULTIPROCESSOR case. We used it incorrectly.

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

2018-10-09 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Oct 10 04:16:58 UTC 2018 Modified Files: src/sys/arch/xen/include: xen.h Log Message: In xen_atomic_test_and_clear_bit() Use the appropriate sized variable for inline assembler. To generate a diff of this commit: cvs

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

2018-10-09 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Oct 10 03:54:54 UTC 2018 Modified Files: src/sys/arch/xen/xen: xenevt.c Log Message: 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

CVS commit: src/sys/arch/xen

2018-10-09 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Oct 10 02:34:08 UTC 2018 Modified Files: src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: pintr.c Log Message: Do not export the 'irq<->vector' abstraction outside of pintr.c anymore. We now think of them as a

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

2018-10-09 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Oct 10 02:16:34 UTC 2018 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: Since GSIs are invented by the mpbios/mpacpi interrupt routing probe code, it's possible for shared GSIs to popup even outside the original

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

2018-10-08 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Oct 8 08:05:08 UTC 2018 Modified Files: src/sys/arch/x86/x86: i8259.c intr.c ioapic.c Log Message: Clean up XEN specific stuff from the apic code, and move to intr.c No functional change. To generate a diff of this

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

2018-10-07 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Oct 8 05:42:45 UTC 2018 Modified Files: src/sys/arch/xen/xen: pciback.c xpci_xenbus.c Log Message: Convert the last remaining users of event_set_handler() to intr_establish_xname(,_pic,...) To generate a diff of this

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

2018-10-07 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Oct 7 16:36:36 UTC 2018 Modified Files: src/sys/arch/x86/x86: i8259.c ioapic.c Log Message: In the case of a shared GSI, bind will fail, so we do not attempt this. The sharing is accomplished by demultiplexing the port event

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

2018-10-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Oct 7 05:28:51 UTC 2018 Modified Files: src/sys/arch/x86/x86: i8259.c ioapic.c Log Message: While we're here, fix pic->pic_delroute() to DTRT on XEN and cleanup after itself. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch

2018-10-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Oct 7 05:23:01 UTC 2018 Modified Files: src/sys/arch/x86/x86: i8259.c intr.c src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: pintr.c Log Message: Switch over to a "GSI" concept for guest irqs. On XEN

CVS commit: src/sys/arch

2018-10-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Oct 6 16:49:54 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: pintr.c Log Message: Change the name of xen_pirq_alloc() to xen_vec_alloc() to

CVS commit: src/sys/arch

2018-10-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Oct 6 16:44:55 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c src/sys/arch/xen/x86: pintr.c Log Message: Move the pic->pic_addroute() call from within pintr.c:xen_pirq_alloc() to intr.c:intr_establish_xname()

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

2018-10-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Oct 6 16:37:11 UTC 2018 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: Teach intr_establish_xname() for XEN to tolerate shared legacy_irq registrations. The current XEN code has not been able to tolerate shared

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

2018-09-29 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Sep 29 13:19:38 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: For i386 XEN3PAE_DOM0, use the "native" idt registration infrastructure by removing the #ifndef XEN clause. This will hopefully be the last

CVS commit: src/sys/arch/i386/i386

2018-09-29 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Sep 29 07:00:20 UTC 2018 Modified Files: src/sys/arch/i386/i386: machdep.c Log Message: Fix "use before init" of *idt. This should fix boot time pagefaulting and panic(9) on XEN kernels due to the boottime idt API reorg. To

CVS commit: src/sys/arch

2018-09-23 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Sep 23 15:28:49 UTC 2018 Modified Files: src/sys/arch/i386/i386: cpufunc.S machdep.c src/sys/arch/i386/include: segments.h src/sys/arch/x86/x86: idt.c src/sys/arch/xen/x86: xenfunc.c Log Message: Fix

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

2018-09-23 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Sep 23 07:54:42 UTC 2018 Modified Files: src/sys/arch/i386/include: segments.h Log Message: Summary: Remove older and now conflicting type declaration for global variable 'idt'. This should fix the i386 build failure now.

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

2018-09-22 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Sep 23 02:51:06 UTC 2018 Modified Files: src/sys/arch/x86/pci: pci_intr_machdep.c Log Message: Revert: http://mail-index.netbsd.org/source-changes/2018/09/10/msg098995.html It is incorrect to infer semantics from usage. the

CVS commit: src/sys/arch/xen

2018-09-22 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Sep 23 02:27:25 UTC 2018 Modified Files: src/sys/arch/xen/include: hypervisor.h src/sys/arch/xen/xen: evtchn.c Log Message: Encapsulate pre-processing of registered (pirq,evtchn) pair in preparation for API reorg.

CVS commit: src/sys/arch

2018-09-22 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Sep 23 01:00:00 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: db_interface.c machdep.c src/sys/arch/amd64/include: segments.h src/sys/arch/i386/i386: machdep.c src/sys/arch/i386/include: segments.h

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

2018-09-19 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Sep 20 05:08:45 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: When we removed the XEN special case from isa/isa_machdep.c there was a corner case that was missed in x86/intr.c:intr_establish_xname() In

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

2018-09-10 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Sep 10 07:04:08 UTC 2018 Modified Files: src/sys/arch/x86/isa: isa_machdep.c Log Message: Remove the last usage of xen_pirq_alloc() and pirq_establish() outside of the x86 interrupt and xen events framework. This allows us

CVS commit: src/sys/arch

2018-09-09 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Sep 10 05:08:55 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c src/sys/arch/xen/include: intrdefs.h Log Message: Make the use of 'irqs' in the range 0 < irq < 255 by xen as a handle for internal use explicit.

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

2018-09-09 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Sep 10 02:49:23 UTC 2018 Modified Files: src/sys/arch/x86/pci: pci_intr_machdep.c Log Message: In the NIOAPIC case, we do not need to support "legacy" irqs, ie; We don't need to simultaneously pass back the irq in the range 0

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

2018-05-11 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri May 11 13:24:46 UTC 2018 Modified Files: src/sys/arch/xen/xen: clock.c Log Message: Fixes port-xen/53267 re-educate xen_clock_handler() how to use the interrupt stackframe. The current regs value passed in is *ci, and thus

CVS commit: src/sys/arch/xen

2017-11-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Nov 6 15:27:09 UTC 2017 Modified Files: src/sys/arch/xen/x86: xen_ipi.c src/sys/arch/xen/xen: clock.c if_xennet_xenbus.c xbd_xenbus.c xbdback_xenbus.c xencons.c xennetback_xenbus.c

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

2017-11-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Nov 6 15:21:23 UTC 2017 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: Summary: xen/x86/intr.c has been retired. Don't try to build it. To generate a diff of this commit: cvs rdiff -u -r1.162 -r1.163

CVS commit: src/sys/arch

2017-11-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Nov 4 15:24:42 UTC 2017 Modified Files: src/sys/arch/x86/pci: pciide_machdep.c src/sys/arch/xen/conf: files.xen Removed Files: src/sys/arch/xen/xen: pci_intr_machdep.c pciide_machdep.c Log Message: Remove

CVS commit: src/sys/arch

2017-11-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Nov 4 14:56:48 UTC 2017 Modified Files: src/sys/arch/x86/include: intr.h src/sys/arch/x86/isa: isa_machdep.c src/sys/arch/x86/x86: intr.c ioapic.c src/sys/arch/xen/conf: files.xen

CVS commit: src/sys/arch

2017-11-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Nov 4 10:26:14 UTC 2017 Modified Files: src/sys/arch/x86/include: pic.h src/sys/arch/xen/xen: evtchn.c Log Message: Add a PIC_XEN abstraction to evtchn.c This allows us to get XEN interrupt code closer to

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

2017-11-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Nov 4 09:31:08 UTC 2017 Modified Files: src/sys/arch/xen/include: i82093var.h Log Message: protect header against recursive include To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/arch/xen

2017-11-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Nov 4 09:22:16 UTC 2017 Modified Files: src/sys/arch/xen/conf: files.xen src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: intr.c Added Files: src/sys/arch/xen/x86: pintr.c Log Message: On XEN

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

2017-11-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Nov 4 08:55:50 UTC 2017 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: On XEN PV, the ISA 8259A PIC is only used on dom0 To generate a diff of this commit: cvs rdiff -u -r1.158 -r1.159

CVS commit: src/sys/arch

2017-11-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Nov 4 08:50:48 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/amd64/include: segments.h src/sys/arch/i386/i386: machdep.c src/sys/arch/i386/include: segments.h

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

2017-11-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Nov 4 07:01:45 UTC 2017 Modified Files: src/sys/arch/xen/conf: files.xen Log Message: opt_intrdebug.h - this unbreaks the i386 DOMU build under some conditions To generate a diff of this commit: cvs rdiff -u -r1.156

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

2017-09-03 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Sep 3 06:24:49 UTC 2017 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Remove redundant static function declaration To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/x86/x86/intr.c

CVS commit: src/sys/dev/pci

2017-08-02 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Aug 2 08:39:14 UTC 2017 Modified Files: src/sys/dev/pci: files.pci virtio.c virtiovar.h Added Files: src/sys/dev/pci: files.virtio virtio_pci.c Log Message: Reorg the virtio(4) config(9) code to be explicitly pci

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

2017-07-28 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Jul 28 07:42:41 UTC 2017 Modified Files: src/sys/arch/xen/xen: pci_intr_machdep.c Log Message: APIC related macros are mixed with IOAPIC related ones. This needs separation. Until then, band-aid it. This fixes

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

2017-07-21 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Jul 21 12:27:48 UTC 2017 Modified Files: src/sys/arch/x86/isa: isa_machdep.c Log Message: Fix uninitialised use of variable mpih Pointed out by joerg@ To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/sys/arch

2017-07-16 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Jul 16 14:02:48 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: genassym.cf vector.S src/sys/arch/i386/i386: genassym.cf vector.S src/sys/arch/x86/include: cpu.h intr.h src/sys/arch/xen/conf:

CVS commit: src/sys/arch

2017-07-16 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Jul 16 06:14:24 UTC 2017 Modified Files: src/sys/arch/x86/isa: isa_machdep.c src/sys/arch/xen/include: intr.h pci_machdep.h src/sys/arch/xen/x86: intr.c src/sys/arch/xen/xen: isa_machdep.c

  1   2   3   >