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

2021-02-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Feb 21 20:11:59 UTC 2021 Modified Files: src/sys/arch/xen/x86: xen_shm_machdep.c Log Message: in xen_shm_map(), make sure to unmap any successfully mapped pages before returning failure if there is partial failure fix

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

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:39:40 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c xen_intr.c Log Message: adjust includes to pull __HAVE_PCI_MSI_MSIX properly To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

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

2020-07-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 19 16:20:36 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: add #ifdef __HAVE_PCI_MSI_MSIX so this still compiles with NO_PCI_MSI_MSIX To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2020-07-08 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 8 11:11:00 UTC 2020 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: initalize ci_kfpu_spl, to avoid triggering KASSERT() in fpu_kern_enter() Follows revision 1.177 of sys/arch/x86/x86/cpu.c: """ Add a small

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

2020-06-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jun 27 09:54:08 UTC 2020 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: avoid excessive stack usage in mp_cpu_start(), this is called after VM init so kmem(9) can be used To generate a diff of this commit: cvs

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

2020-05-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat May 23 14:51:19 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: switch back to PHYSDEVOP_alloc_irq_vector for non-MSI interrupts - on my computer it works the same as PHYSDEVOP_map_pirq, but seems it

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

2020-05-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri May 15 07:31:07 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: only call PHYSDEVOP_map_pirq for a shared interrupt once, same as previous code fixes boot problem reported privately by Frank Kardel and

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 19:50:26 UTC 2020 Modified Files: src/sys/arch/xen/x86: xen_bus_dma.c Log Message: Make MP-safe: make sure the xpq_queue* are flushed before making the pages visible to UVM. To generate a diff of this commit: cvs

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 19:47:05 UTC 2020 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c xenfunc.c Log Message: xpq_queue_* use per-cpu queue; splvm() is enough to protect them. remove the XXX SMP comments. To generate a diff of this

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

2020-05-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed May 6 17:28:26 UTC 2020 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: KASSERT() that the per-cpu queues are run at IPL_VM after boot. To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87

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

2020-05-03 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun May 3 17:23:14 UTC 2020 Modified Files: src/sys/arch/xen/x86: pvh_consinit.c Log Message: Hanble dom0 console. This one doesn't need a ring to be mapped, and can be used earlier. To generate a diff of this commit: cvs

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

2020-04-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Apr 21 18:24:05 UTC 2020 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: Remove spurious reference to XEN_IPI_KICK - it represents the absence of a specific IPI type. To generate a diff of this commit: cvs rdiff -u

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

2020-04-21 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Apr 21 18:22:29 UTC 2020 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Follow convention and put entire predicate inside __predict_false() To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134

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

2020-04-07 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Apr 7 07:43:33 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: remove include, not used here To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/xen/x86/pintr.c Please note

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

2020-01-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Mon Jan 13 20:15:01 UTC 2020 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Don't call cpu_switchto() before idle_loop(), it should not be needed any more. While there, assume (and KASSERT) that curlwp ==

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

2020-01-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 7 13:48:01 UTC 2020 Modified Files: src/sys/arch/xen/x86: xen_pmap.c Log Message: Correction to previous. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/xen/x86/xen_pmap.c Please note that

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

2020-01-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 7 13:20:18 UTC 2020 Modified Files: src/sys/arch/xen/x86: xen_pmap.c Log Message: pmap_extract_ma(): don't need to take pm_lock for pmap_kernel(). To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

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

2019-05-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat May 4 11:15:49 UTC 2019 Modified Files: src/sys/arch/xen/x86: xenfunc.c Log Message: More of maxv's "switch to proper types" - hopefully unbreak i386 build. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

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/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/xen/x86

2019-01-28 Thread Christoph Badura
Module Name:src Committed By: bad Date: Mon Jan 28 21:19:09 UTC 2019 Modified Files: src/sys/arch/xen/x86: autoconf.c Log Message: Sprinkle DPRINTF #ifdef DEBUG_GEOM and set booted_method like arch/x86/x86/x86_autoconf.c As discussed 1 week ago on port-xen. To

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

2019-01-26 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jan 27 05:08:58 UTC 2019 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: fix duplicated chunk from merge To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/arch/xen/x86/xen_ipi.c Please

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/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/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/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/xen/x86

2018-07-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 29 08:02:25 UTC 2018 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Reduce the confusion, rename a bunch of variables and reorg a little. Tested on i386PAE-domU and amd64-dom0. To generate a diff of this

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

2018-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 27 10:04:22 UTC 2018 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Try to reduce the confusion, rename: l2_4_count -> PDIRSZ count-> nL2 bootstrap_tables ->

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

2018-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 27 09:37:31 UTC 2018 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Reduce the size of the blocks. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.124 -r1.125 src/sys/arch/xen/x86/cpu.c

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

2018-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 27 09:22:40 UTC 2018 Modified Files: src/sys/arch/xen/x86: xen_shm_machdep.c Log Message: style, localify global variables, etc, no real functional change To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

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

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 15:06:14 UTC 2018 Modified Files: src/sys/arch/xen/x86: xenfunc.c Log Message: Remove dead code. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/xen/x86/xenfunc.c Please note that diffs are

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

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 08:18:25 UTC 2018 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Merge the blocks. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/arch/xen/x86/x86_xpmap.c

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

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 08:08:24 UTC 2018 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Simplify the conditions; (PTP_LEVELS > 3) and (PTP_LEVELS > 2) are for amd64, so use ifdef __x86_64__. No functional change. To generate

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

2018-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jul 24 12:26:14 UTC 2018 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: Fix what looks like a typo in xen_send_ipi(): ci != NULL || ci != curcpu() is always true To generate a diff of this commit: cvs rdiff -u

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

2018-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Tue Jul 24 12:24:45 UTC 2018 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Sync cpu_boot_secondary_processors() with x86/x86/cpu.c: explicitely wait for all CPUs to be registered in kcpuset_running. To generate a

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

2018-06-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jun 23 15:53:14 UTC 2018 Modified Files: src/sys/arch/xen/x86: xen_ipi.c Log Message: make compile without DDB PR port-xen/50282 To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

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

2018-01-13 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sat Jan 13 14:48:13 UTC 2018 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Needs cpu_init_tss() for application processor too. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117

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

2017-11-10 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Nov 11 06:16:52 UTC 2017 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: No externs in .c files! To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/arch/xen/x86/cpu.c Please note that diffs

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

2017-07-06 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Thu Jul 6 20:26:05 UTC 2017 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: gdt_prepframes() is called with a number of pages, don't convert to a number of pages again. This didn't fail because we're called with only

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

2017-03-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 18 13:35:57 UTC 2017 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Style, and remove debug code that does not work anyway. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73

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

2017-01-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jan 22 19:42:48 UTC 2017 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: Import xpmap_pg_nx, and put it in the per-cpu recursive slot on amd64. To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106

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

2017-01-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jan 22 19:24:52 UTC 2017 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Export xpmap_pg_nx, and put it in the page table pages. It does not change anything, since Xen removes the X bit on these; but it is better

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

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 08:32:26 UTC 2017 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Remove a few #if 0s, and explain what we are doing on PAE: the last two PAs are entered in reversed order. To generate a diff of this

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

2016-12-26 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 26 08:53:11 UTC 2016 Modified Files: src/sys/arch/xen/x86: xen_pmap.c Log Message: In the MP case, do not attempt to pmap_tlb_shootdown() after a pmap_kenter_ma() during boot. pmap_tlb_shootdown() assumes post boot.

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

2016-11-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 25 12:20:03 UTC 2016 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: KNF a little To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/arch/xen/x86/cpu.c Please note that diffs are not public

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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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

  1   2   >