search for: do_mmuext_op

Displaying 14 results from an estimated 14 matches for "do_mmuext_op".

2008 Mar 18
1
Compilation failure
.../root/randy/vtd-stage/xen/arch/x86/mm.c:1959: undefined reference to `__bitop_bad_size'' /root/randy/vtd-stage/xen/arch/x86/mm.c:1959: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size'' /root/randy/vtd-stage/xen/arch/x86/built_in.o: In function `do_mmuext_op'': /root/randy/vtd-stage/xen/arch/x86/mm.c:2242: undefined reference to `__bitop_bad_size'' /root/randy/vtd-stage/xen/arch/x86/mm.c:2242: relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__bitop_bad_size'' /root/randy/vtd-stage/xen/arch/x86/mm.c:2260: und...
2006 Sep 22
1
missing use of FOREIGNDOM?
Is it intentional that MMUEXT_PIN_L[1-4]_TABLE use FOREIGNDOM, while most other sub-functions of do_mmuext_op use the current domain? Thanks, Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2008 Jul 24
2
[RFC] i386 highmem assist hypercalls
...= virt_to_fix((unsigned long)ptr) - FIX_PAE_HIGHMEM_0; + + l1e_write(fix_pae_highmem_pl1e - cpu, l1e_empty()); + this_cpu(make_cr3_timestamp) = this_cpu(tlbflush_time); +} +#else +#define fixmap_domain_page(mfn) mfn_to_virt(mfn) +#define fixunmap_domain_page(ptr) ((void)(ptr)) +#endif + int do_mmuext_op( XEN_GUEST_HANDLE(mmuext_op_t) uops, unsigned int count, @@ -2482,6 +2505,66 @@ int do_mmuext_op( break; } + case MMUEXT_CLEAR_PAGE: + { + unsigned char *ptr; + + okay = get_page_and_type_from_pagenr(mfn, PGT_writable_page, +...
2005 Sep 05
2
[PATCH][1/6] add a hypercall number for virtual device in unmodified guest
...f-by: Arun Sharma <arun.sharma@intel.com> diff -r 287d36b46fa3 xen/arch/x86/x86_32/entry.S --- a/xen/arch/x86/x86_32/entry.S Tue Aug 30 20:36:49 2005 +++ b/xen/arch/x86/x86_32/entry.S Fri Sep 2 22:46:13 2005 @@ -812,6 +812,7 @@ .long do_ni_hypercall /* 25 */ .long do_mmuext_op .long do_acm_op /* 27 */ + .long do_virtual_device_op /* virutal device op for VMX */ .rept NR_hypercalls-((.-hypercall_table)/4) .long do_ni_hypercall .endr _______________________________________________ Xen-devel mailing list Xen...
2006 Jul 26
5
[Fwd: stack overflow "cause" found]
...mod_l2_entry: 360 0xffff830000146fe4 mod_l3_entry: 360 0xffff83000014772a mod_l3_entry: 360 0xffff830000147739 mod_l4_entry: 360 0xffff830000147ee7 mod_l4_entry: 360 0xffff83000014a04a do_mmuext_op: 360 0xffff83000014ad63 do_mmuext_op: 360 0xffff830000136b7f hypercall_create_continuation: 352 0xffff83000017910d resync_all: 344 0xffff830000179bf4 resync_all: 344 0xffff830000151bf9 do_physdev_o...
2006 Mar 15
0
implicit grant unmap hacking [was RE: Grant tables from dom0 userspace?]
...the backtrace I already mentioned, namely: (XEN) [<ff13603e>] put_page_from_l1e+0xd0/0x1af (XEN) [<ff13a891>] revalidate_l1+0x159/0x168 (XEN) [<ff13aac1>] ptwr_flush+0x221/0x32f (XEN) [<ff13b6a7>] cleanup_writable_pagetable+0x5c/0x7d (XEN) [<ff137c20>] do_mmuext_op+0x85/0x8c1 (XEN) [<ff149e0f>] hypercall+0x8f/0xaf I was hoping that ptwr_do_page_fault() would happen first, but it doesn''t happen at all. I conclude that the page table is writable by the paravirtual OS, and the hypercall() above is Xen''s first chance to notice the sq...
2012 Aug 10
18
[PATCH v2 0/5] ARM hypercall ABI: 64 bit ready
Hi all, this patch series makes the necessary changes to make sure that the current ARM hypercall ABI can be used as-is on 64 bit ARM platforms: - it defines xen_ulong_t as uint64_t on ARM; - it introduces a new macro to handle guest pointers, called XEN_GUEST_HANDLE_PARAM (that has size 4 bytes on aarch and is going to have size 8 bytes on aarch64); - it replaces all the occurrences of
2008 Oct 17
6
[PATCH, RFC] i386: highmem access assistance hypercalls
...= virt_to_fix((unsigned long)ptr) - FIX_PAE_HIGHMEM_0; + + l1e_write(fix_pae_highmem_pl1e - cpu, l1e_empty()); + this_cpu(make_cr3_timestamp) = this_cpu(tlbflush_time); +} +#else +#define fixmap_domain_page(mfn) mfn_to_virt(mfn) +#define fixunmap_domain_page(ptr) ((void)(ptr)) +#endif + int do_mmuext_op( XEN_GUEST_HANDLE(mmuext_op_t) uops, unsigned int count, @@ -2701,6 +2724,66 @@ int do_mmuext_op( break; } + case MMUEXT_CLEAR_PAGE: + { + unsigned char *ptr; + + okay = !get_page_and_type_from_pagenr(mfn, PGT_writable_page, +...
2007 Dec 10
0
[PATCH] avoid duplication of domain ID in messages
...fo->foreign = rcu_lock_domain(dom_io); break; default: - MEM_LOG("Dom %u cannot set foreign dom", d->domain_id); + MEM_LOG("Cannot set foreign dom"); okay = 0; break; } @@ -2336,8 +2335,7 @@ int do_mmuext_op( if ( paging_mode_external(d) ) { - MEM_LOG("ignoring SET_LDT hypercall from external " - "domain %u", d->domain_id); + MEM_LOG("ignoring SET_LDT hypercall from external domain");...
2013 Oct 10
10
[PATCH 0/4] x86: XSA-67 follow-up
1: correct LDT checks 2: add address validity check to guest_map_l1e() 3: use {rd,wr}{fs,gs}base when available 4: check for canonical address before doing page walks Signed-off-by: Jan Beulich <jbeulich@suse.com>
2006 Mar 14
7
[PATCH] ia64 build fixes
Keir, The patch below is necessary to get ia64 building on current xen-unstable.hg. Thanks, Alex Signed-off-by: Alex Williamson <alex.williamson@hp.com> --- diff -r 3983e4f1b054 xen/arch/ia64/Rules.mk --- a/xen/arch/ia64/Rules.mk Sun Mar 12 10:03:33 2006 +0100 +++ b/xen/arch/ia64/Rules.mk Mon Mar 13 09:36:01 2006 -0700 @@ -12,7 +12,7 @@ CPPFLAGS += -I$(BASEDIR)/include -I$(BA
2007 Mar 27
0
[PATCH] make all performance counter per-cpu
...vhpt_valid; } } #endif Index: 2007-03-19/xen/arch/x86/mm.c =================================================================== --- 2007-03-19.orig/xen/arch/x86/mm.c 2007-03-27 10:31:15.000000000 +0200 +++ 2007-03-19/xen/arch/x86/mm.c 2007-03-27 10:32:56.000000000 +0200 @@ -1969,6 +1969,8 @@ int do_mmuext_op( if ( unlikely(!guest_handle_is_null(pdone)) ) (void)copy_from_guest(&done, pdone, 1); } + else + perfc_incr(calls_to_mmuext_op); if ( unlikely(!guest_handle_okay(uops, count)) ) { @@ -2223,6 +2225,8 @@ int do_mmuext_op( UNLOCK_BIGLOCK(d);...
2012 Feb 13
0
[PATCH 05/14] arm: implement exception and hypercall entries.
...+ .long do_set_timer_op /* 15 */ + .long do_event_channel_op + .long do_xen_version + .long do_console_io + .long do_physdev_op + .long do_grant_table_op /* 20 */ + .long do_vm_assist + .long do_ni_hypercall + .long do_restore_trap_frame + .long do_vcpu_op + .long do_ni_hypercall /* 25 */ + .long do_mmuext_op + .long do_ni_hypercall + .long do_nmi_op + .long do_sched_op + .long do_ni_hypercall /* 30 : callbackop */ + .long do_ni_hypercall /* xenoprof */ + .long do_ni_hypercall /* event_channel_op */ + .long do_ni_hypercall /* physdev_op */ + .long do_ni_hypercall /* hvm_op */ + .long do_ni_hyp...
2012 Aug 16
27
[PATCH v3 0/6] ARM hypercall ABI: 64 bit ready
Hi all, this patch series makes the necessary changes to make sure that the current ARM hypercall ABI can be used as-is on 64 bit ARM platforms: - it defines xen_ulong_t as uint64_t on ARM; - it introduces a new macro to handle guest pointers, called XEN_GUEST_HANDLE_PARAM (that has size 4 bytes on aarch and is going to have size 8 bytes on aarch64); - it replaces all the occurrences of