search for: map_pages_to_xen

Displaying 9 results from an estimated 9 matches for "map_pages_to_xen".

2006 Aug 31
5
x86-64''s paging_init()
While adding code to create the compatibility p2m table mappings it seemed to me that the creation of the native ones is restricted to memory below the 512G boundary - otherwise, additional L2 tables would need to be allocated (currently other memory following the one L2 page getting allocated would be blindly overwritten). While I realize that machines this big aren''t likely to be
2011 Mar 09
0
[PATCH 1/5] x86: don''t BUG() post-boot in alloc_xen_pagetable()
Instead, propagate the condition to the caller, all of which also get adjusted to check for that situation. Signed-off-by: Jan Beulich <jbeulich@novell.com> --- 2011-03-09.orig/xen/arch/x86/mm.c +++ 2011-03-09/xen/arch/x86/mm.c @@ -5141,8 +5141,11 @@ int map_pages_to_xen( while ( nr_mfns != 0 ) { #ifdef __x86_64__ - l3_pgentry_t *pl3e = virt_to_xen_l3e(virt); - l3_pgentry_t ol3e = *pl3e; + l3_pgentry_t ol3e, *pl3e = virt_to_xen_l3e(virt); + + if ( !pl3e ) + return -ENOMEM; + ol3e = *pl3e; if ( cpu_...
2008 Nov 04
7
[PATCH 1/1] Xen PV support for hugepages
...writeable); + if ( unlikely(!rc) ) + { + for ( --m; m > mfn; --m ) + put_data_page(mfn_to_page(m), writeable); + put_data_page(page, writeable); + return 0; + } + } +#ifdef __x86_64__ + map_pages_to_xen((unsigned long)mfn_to_virt(mfn), mfn, L1_PAGETABLE_ENTRIES, + PAGE_HYPERVISOR | l2e_get_flags(l2e)); +#endif + } else { + rc = get_page_and_type_from_pagenr( + l2e_get_pfn(l2e), PGT_l1_page_table, d, 0); + if ( unlikely(rc == -EINVAL) && g...
2011 Mar 28
0
[PATCH] x86: cleanup after tboot fix (c/s 23101:dd386a4b6595)
...the first time. Signed-off-by: Jan Beulich <jbeulich@novell.com> --- a/xen/drivers/passthrough/vtd/dmar.c +++ b/xen/drivers/passthrough/vtd/dmar.c @@ -761,12 +761,7 @@ out: int __init acpi_dmar_init(void) { - unsigned long flags; - - /* Disabling IRQs avoids cross-CPU TLB flush in map_pages_to_xen(). */ - local_irq_save(flags); acpi_get_table(ACPI_SIG_DMAR, 0, &dmar_table); - local_irq_restore(flags); return parse_dmar_table(acpi_parse_dmar); } _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensour...
2013 Feb 24
2
[xen-4.2-testing test] 16260: regressions - FAIL
flight 16260 xen-4.2-testing real [real] http://www.chiark.greenend.org.uk/~xensrcts/logs/16260/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-i386-i386-xl 5 xen-boot fail REGR. vs. 16228 test-i386-i386-xl-qemuu-winxpsp3 5 xen-boot fail REGR. vs. 16228 test-i386-i386-win 5
2009 Jan 29
0
[PATCH v2] txt: 2/5 - ACPI Generic Address Structure for tboot shutdown
...t_shared->tboot_base); - map_size = PFN_UP(g_tboot_shared->tboot_size); - } - else - { - map_base = 0; - map_size = PFN_UP(0xa0000); - } + map_base = PFN_DOWN(g_tboot_shared->tboot_base); + map_size = PFN_UP(g_tboot_shared->tboot_size); err = map_pages_to_xen(map_base << PAGE_SHIFT, map_base, map_size, __PAGE_HYPERVISOR); diff -r ecb74962f6f4 -r 9ba8aecc3a15 xen/include/asm-x86/tboot.h --- a/xen/include/asm-x86/tboot.h Wed Jan 28 21:56:22 2009 -0800 +++ b/xen/include/asm-x86/tboot.h Wed Jan 28 22:09:02 2009...
2006 Jul 26
5
[Fwd: stack overflow "cause" found]
...snprintf: 240 0xffff830000128584 sprintf: 240 0xffff83000012aa7e printf: 240 0xffff83000012b1e3 debugtrace_printk: 240 0xffff83000014261b find_matching_ucodes: 240 0xffff8300001500a5 map_pages_to_xen: 240 0xffff8300001c219a __start_xen: 240 0xffff830000114845 translate_gpfn_list: 232 0xffff830000114c78 translate_gpfn_list: 232 0xffff830000115b27 do_memory_op: 232 0xffff830000116067 do_memory_op:...
2009 Sep 02
6
SXCE 121 Kernel Panic while installing NetBSD 5.0.1 PVM DomU
...g genunix: /xpvd/xdb@42,51728 (xdb6) online Sep 2 18:56:37 glaurung genunix: /xpvd/xnb@42,0 (xnbo3) online Xen panic[dom=0xffff8300defb2080/vcpu=0xffff8300dfcdc080]: Xen BUG at mm.c:101 ffff828c8024f558 xpv:do_invalid_op+4d1 ffff828c8024f5f8 xpv:handle_exception+45 ffff828c8024f6d8 xpv:map_pages_to_xen+471 ffff828c8024f768 xpv:get_page_from_l1e+464 ffff828c8024f7c8 xpv:ptwr_emulated_update+142 ffff828c8024f848 xpv:ptwr_emulated_cmpxchg+a9 ffff828c8024f878 xpv:x86_emulate+525f ffff828c8024fe68 xpv:ptwr_do_page_fault+12e ffff828c8024fed8 xpv:do_page_fault+208 ffff828c8024ff18 xpv:hand...
2013 Jul 17
4
[xen-unstable] FATAL PAGE FAULT when shutting down guest with pci passthrough using MSI interrupts
...4f1efec8 ffff82d08012f436 (XEN) [2013-07-17 19:11:31] Xen call trace: (XEN) [2013-07-17 19:11:31] [<ffff82d08016211f>] flush_area_local+0x11a/0x14b (XEN) [2013-07-17 19:11:31] [<ffff82d080182421>] flush_area_mask+0x67/0x15a (XEN) [2013-07-17 19:11:31] [<ffff82d0801712af>] map_pages_to_xen+0xbac/0x10a0 (XEN) [2013-07-17 19:11:31] [<ffff82d08017dde1>] __set_fixmap+0x34/0x36 (XEN) [2013-07-17 19:11:31] [<ffff82d080169266>] msi_free_irq+0xed/0x1b7 (XEN) [2013-07-17 19:11:31] [<ffff82d08016d688>] unmap_domain_pirq+0x2af/0x35f (XEN) [2013-07-17 19:11:31] [&lt...