search for: platform_hypercall

Displaying 13 results from an estimated 13 matches for "platform_hypercall".

2011 Sep 14
1
[PATCH] xen/xsm: Compile error due to naming clash between XSM and EFI runtime
...-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -fno-optimize-sibling-calls -nostdinc -g -D__XEN__ -DXSM_ENABLE -DFLASK_ENABLE -DXSM_MAGIC=0xf97cff8c -DFLASK_DEVELOP -DFLASK_BOOTPARAM -DFLASK_AVC_STATS -DVERBOSE -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF .platform_hypercall.o.d -c platform_hypercall.c -o platform_hypercall.o In file included from ../platform_hypercall.c:33:0, from platform_hypercall.c:38: /home/jwcart2/src/xen/my-xen-unstable/xen/include/xsm/xsm.h: In function ‘xsm_efi_runtime_call’: /home/jwcart2/src/xen/my-xen-unstable/xen/include/x...
2008 Sep 19
8
[PATCH] x86: add hypercall to query current underlying pCPU''s frequency
Signed-off-by: Jan Beulich <jbeulich@novell.com> Index: 2008-09-19/xen/arch/x86/platform_hypercall.c =================================================================== --- 2008-09-19.orig/xen/arch/x86/platform_hypercall.c 2008-09-19 14:12:02.000000000 +0200 +++ 2008-09-19/xen/arch/x86/platform_hypercall.c 2008-09-19 14:12:56.000000000 +0200 @@ -21,7 +21,7 @@ #include <xen/acpi.h> #inclu...
2007 Oct 23
6
[PATCH][cpufreq] Xen support for the ondemand governor [1/2] (hypervisor code)
...that it can get idle and total ticks from the Xen hypervisor. Linux and Xen have different ideas of what an idle tick is, so the Xen values for both have to be returned in the same platform hypercall. Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com> diff -r b4278beaf354 xen/arch/x86/platform_hypercall.c --- a/xen/arch/x86/platform_hypercall.c Wed Oct 17 13:12:03 2007 +0100 +++ b/xen/arch/x86/platform_hypercall.c Thu Oct 18 16:07:53 2007 -0500 @@ -295,14 +295,17 @@ ret_t do_platform_op(XEN_GUEST_HANDLE(xe { uint32_t i, nr_cpus; uint64_t idletime; + uint64_t totaltime;...
2012 Sep 11
4
[PATCH] x86: retrieve keyboard shift status flags from BIOS
...able irqs before returning to protected mode. */ cli @@ -221,6 +226,10 @@ trampoline_boot_cpu_entry: skip_realmode: .byte 0 + .globl kbd_shift_flags +kbd_shift_flags: + .byte 0 + rm_idt: .word 256*4-1, 0, 0 #include "mem.S" --- a/xen/arch/x86/platform_hypercall.c +++ b/xen/arch/x86/platform_hypercall.c @@ -29,6 +29,7 @@ #include <asm/edd.h> #include <asm/mtrr.h> #include <asm/io_apic.h> +#include <asm/setup.h> #include "cpu/mtrr/mtrr.h" #include <xsm/xsm.h> @@ -319,6 +320,18 @@ ret_t do_platform_op(XEN_GUEST_...
2007 Aug 30
0
[PATCH][Retry 1] 1/4: cpufreq/PowerNow! in Xen: Xen timer changes
...ck multipliers are being scaled and recorded correctly in both dom0 and the hypervisor, time errors appear immediately after a frequency change. They are not more likely when the frequency is constant. Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com> diff -r 256160ff19b7 xen/arch/x86/platform_hypercall.c --- a/xen/arch/x86/platform_hypercall.c Thu Aug 16 13:27:59 2007 +0100 +++ b/xen/arch/x86/platform_hypercall.c Thu Aug 30 12:08:29 2007 -0500 @@ -252,6 +252,13 @@ ret_t do_platform_op(XEN_GUEST_HANDLE(xe ret = acpi_enter_sleep(&op->u.enter_acpi_sleep); break; + case...
2012 Aug 10
18
[PATCH v2 0/5] ARM hypercall ABI: 64 bit ready
...| 24 +++++++------- xen/arch/x86/mm/hap/hap.c | 2 +- xen/arch/x86/mm/mem_event.c | 2 +- xen/arch/x86/mm/paging.c | 2 +- xen/arch/x86/mm/shadow/common.c | 2 +- xen/arch/x86/physdev.c | 2 +- xen/arch/x86/platform_hypercall.c | 2 +- xen/arch/x86/sysctl.c | 2 +- xen/arch/x86/traps.c | 2 +- xen/arch/x86/x86_32/mm.c | 2 +- xen/arch/x86/x86_32/traps.c | 2 +- xen/arch/x86/x86_64/compat/mm.c | 14 ++++++-- xen/arch/x86/...
2009 Apr 27
1
VPIO device model for Xen guests
...lose some data or crash. This is more desirable than letting one guest OS keeping the device forever to itself. It would be great to know if there are any such resembling Hypercalls in use ? I was going through the macro defined Hypercalls in include/x86/x86_32/hypercall-x86_32.h and xen/arch/x86/platform_hypercall.c but was not sure where to begin..any pointers would be appreciated. thanks regards Sameer _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2012 Aug 16
27
[PATCH v3 0/6] ARM hypercall ABI: 64 bit ready
...| 2 +- xen/arch/x86/mm/paging.c | 2 +- xen/arch/x86/mm/shadow/common.c | 2 +- xen/arch/x86/oprofile/backtrace.c | 4 ++- xen/arch/x86/oprofile/xenoprof.c | 6 ++-- xen/arch/x86/physdev.c | 2 +- xen/arch/x86/platform_hypercall.c | 10 ++++-- xen/arch/x86/sysctl.c | 2 +- xen/arch/x86/traps.c | 2 +- xen/arch/x86/x86_32/mm.c | 2 +- xen/arch/x86/x86_32/traps.c | 2 +- xen/arch/x86/x86_64/compat/mm.c | 16 ++++++--- xen/arch...
2008 Sep 17
5
c/s 18470
This changeset reverts two previous corrections, for reasons that escape me. First, the domain map is again being confined to NR_CPUS, which I had submitted a patch to fix recently (yes, I realize the code has a TODO in there, but those really get forgotten about far too often). Second, the platform hypercall was reverted back to require all information to be passed to Xen in one chunk, whereas
2006 Nov 20
1
compilation bug
...traps.c -o traps.o ld -m elf_x86_64 -r -o built_in.o entry.o mm.o traps.o make[6]: Leaving directory `/home/test1/xen-unstable/xen/arch/x86/x86_64'' ld -m elf_x86_64 -r -o built_in.o apic.o bitops.o compat.o delay.o dmi_scan.o domctl.o domain.o domain_build.o e820.o extable.o flushtlb.o platform_hypercall.o i387.o i8259.o io_apic.o irq.o microcode.o mm.o mpparse.o nmi.o physdev.o rwlock.o setup.o shutdown.o smp.o smpboot.o string.o sysctl.o time.o trampoline.o traps.o usercopy.o x86_emulate.o acpi/built_in.o cpu/built_in.o genapic/built_in.o hvm/built_in.o mm/built_in.o oprofile/built_in.o x86_64/bu...
2013 Feb 21
4
help please - running a guest from an iSCSI disk ? getting more diagnostics than "cannot make domain: -3" ? how to make domain0 "privileged" ?
...xch=0x622240) at xc_private.h:252 252 if ( (ret = do_xen_hypercall(xch, &hypercall)) < 0 ) Value returned is $4 = -1 (gdb) p errno $5 = 1 Any ideas how to get this working, or on where I could get better diagnostics ? I''m guessing this is caused by this code in arch/x86/platform_hypercall.c : ret_t do_platform_op(XEN_GUEST_HANDLE(xen_platform_op_t) u_xenpf_op) { ret_t ret = 0; struct xen_platform_op curop, *op = &curop; if ( !IS_PRIV(current->domain) ) return -EPERM; So how do I make the IS_PRIV macro return non-zero for my domain_0 , ie. set d->is_p...
2006 Nov 24
0
Error: (12, ''Cannot allocate memory'')
..........................................................................................................done. (XEN) Xen trace buffers: disabled (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type ''CTRL-a'' three times to switch input to Xen). (XEN) (file=platform_hypercall.c, line=129) Domain 0 says that IO-APIC REGSEL is good (XEN) mtrr: type mismatch for d0000000,1000000 old: write-back new: write-combining (XEN) mtrr: type mismatch for d0000000,1000000 old: write-back new: write-combining (XEN) DOM2: (file=mm.c, line=586) Non-privileged (2) attempt to map I/O spac...
2011 Aug 15
36
expose MWAIT to dom0
There''re basically two methods to enter a given C-state: legacy (hlt + I/O read), and native(using mwait). MWAIT is always preferred when both underlying CPU and OS support, which is a more efficient way to conduct C-state transition. Xen PM relies on Dom0 to parse ACPI Cx/Px information, which involves one step to notify BIOS about a set of capabilities supported by OSPM. One capability