search for: hlt

Displaying 20 results from an estimated 279 matches for "hlt".

Did you mean: halt
2005 Jun 19
1
HLT when idle
Hi all, I am wondering about the following suggested change: In isolinux.asm, line 50 (at least in my Debian patched version), add the line "hlt" inside the "DO_IDLE" macro. Explanation: When running isolinux on a vmware box, the boot menu takes up all available CPU. This change seems to solve this problem. I have read elsewhere that such a change will not go in, as the system is set up to perform polling. From looking at...
2007 Sep 08
4
[PATCH] Unified shutdown code
...R) TXT for measured launch by ensuring that all shutdowns will call the necessary hook to tear down the measured environment. It also centralizes any future shutdown-related changes. The patch also postpones clearing the online status APs in stop_this_cpu() until just before putting them into the hlt loop. This ensures that when machine_teardown() checks that all APs have finished their shutdown, that they have really have completed all interesting tasks. This applies to the staging tree as of today. Joe # HG changeset patch # User Joseph Cihula <joseph.cihula@intel.com> # Date 118921...
2011 Mar 22
10
Re: [RFC PATCH V4 4/5] cpuidle: driver for xen
...> + > + for_each_online_cpu(i) { > + setup_cpuidle(i); > + } > + > + return 0; > +} > + > void __init xen_arch_setup(void) > { > xen_panic_handler_init(); > @@ -354,7 +394,7 @@ void __init xen_arch_setup(void) > #ifdef CONFIG_X86_32 > boot_cpu_data.hlt_works_ok = 1; > #endif > - pm_idle = default_idle; > + xen_idle_init(); > boot_option_idle_override = IDLE_HALT; > > fiddle_vdso(); > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordom...
2007 Apr 18
0
[RFC, PATCH 13/24] i386 Vmi system header
...local_irq_disable() __asm__ __volatile__("cli": : :"memory") -#define local_irq_enable() __asm__ __volatile__("sti": : :"memory") -/* used in the idle loop; sti takes one instruction cycle to complete */ -#define safe_halt() __asm__ __volatile__("sti; hlt": : :"memory") -/* used when interrupts are already enabled or to shutdown the processor */ -#define halt() __asm__ __volatile__("hlt": : :"memory") - +#define local_irq_save(x) do { typecheck(unsigned long,x); local_save_flags(x); local_irq_disable(); } while (...
2007 Apr 18
0
[RFC, PATCH 13/24] i386 Vmi system header
...local_irq_disable() __asm__ __volatile__("cli": : :"memory") -#define local_irq_enable() __asm__ __volatile__("sti": : :"memory") -/* used in the idle loop; sti takes one instruction cycle to complete */ -#define safe_halt() __asm__ __volatile__("sti; hlt": : :"memory") -/* used when interrupts are already enabled or to shutdown the processor */ -#define halt() __asm__ __volatile__("hlt": : :"memory") - +#define local_irq_save(x) do { typecheck(unsigned long,x); local_save_flags(x); local_irq_disable(); } while (...
2006 May 23
0
[PATCH] x86-64 linux: don''t use hlt instruction
Use halt() instead (respective mainline patch will be submitted soon). Signed-off-by: Jan Beulich <jbeulich@novell.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2010 Mar 31
1
Workaround for Xen HVM HLT-in-real-mode bug
The bug report says vmxassist is only used on Intel processors. The applied patch doesn't seem to check for the cpu vendor - should it or we don't care? I assume a FV Xen VM on AMD will burn some cycles if unused and idle (unlike now). Sebastian
2009 May 03
3
Domain-specific HLT when idle
...service for everyone else. You replied to the work-around discussed in the earlier thread at http://syslinux.zytor.com/archives/2005-June/005291.html > Breaks serial console. > -hpa In our case, the serial console is not an issue. We would like to submit a patch to isolinux which HLTs on getchar if isolinux is not running with the serial console option. Do you think this is the right solution to this problem? Can we work with you to resolve this? Thanks, -Peter Iannucci MIT Student Information Processing Board -------------- next part -------------- A non-text attachment w...
2005 Jan 21
3
desire box
...ayed have someone a recommendation for me? can be gladly with mysql. greeting -- Mit freundlichen Gr?ssen Carsten Henkel mailto:carsten@chatlabel.de In unserer Firma ist alles elektrisch - sogar das Gehalt versetzt einem einen Schlag. dieser Text ist zuf?llig gew?hlt und hat nichts mit dem Empf?nger der e-Mail zu tun. Carsten Henkel Passauer Stra?e 7 94577 Winzer tel.: 0049 (0)180-3684398-360 fax.: 0049 (0)180-3684398-039 http://chatlabel.de http://radio.chatlabel.de
2006 Feb 24
2
[PATCH][discuss] evtchn race condition
Keir, below/attached patch is necessary to allow SVM partitions to boot unmodified guests with xen-unstable.hg c/s 8961. c/s 8822 and 8828 (some necessary evtchn modifications) cause SVM partitions to fail with "lost interrupt" hda error during boot. We currently do not understand why these modifications are necessary and in fact, a race occurs with one part of the patch (added
2014 Feb 27
0
[PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support
...ossible under KVM or any other hypervisor. KVM allows any VCPU to wake up a currently halted VCPU of its choice, see Documentation/virtual/kvm/hypercalls.txt. 5. KVM_HC_KICK_CPU ------------------------ Architecture: x86 Status: active Purpose: Hypercall used to wakeup a vcpu from HLT state Usage example : A vcpu of a paravirtualized guest that is busywaiting in guest kernel mode for an event to occur (ex: a spinlock to become available) can execute HLT instruction once it has busy-waited for more than a threshold time-interval. Execution of HLT instruction would cau...
2013 Aug 26
0
[PATCH V13 4/4] Documentation/kvm : Add documentation on Hypercalls and features used for PV spinlock
...age that contains parts of supervisor visible register state. The guest can map this shared page to access its supervisor register through memory using this hypercall. + +5. KVM_HC_KICK_CPU +------------------------ +Architecture: x86 +Status: active +Purpose: Hypercall used to wakeup a vcpu from HLT state +Usage example : A vcpu of a paravirtualized guest that is busywaiting in guest +kernel mode for an event to occur (ex: a spinlock to become available) can +execute HLT instruction once it has busy-waited for more than a threshold +time-interval. Execution of HLT instruction would cause the h...
2010 Jun 15
1
MANOVA proportion of variance explained
Hello everybody After doing a MANOVA on a bunch of data, I want to be able to make some comment on the amount of variation in the data that is explained by the factor of interest. I want to say this in the following way: XX% of the data is explained by A. I can acheive something like what I want by doing the following: X <- structure(c(9, 6, 9, 3, 2, 7), .Dim = as.integer(c(3,
2017 Nov 17
2
[PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path
...e state's residency time to make decisions about probabilistic polling, as @dev->last_residency does. it is much easier to get data. 2. do a HV specific idle driver (function) so far, power management is not exposed to guest.. idle is simple for KVM guest, calling "sti" / "hlt"(cpuidle_idle_call() --> default_idle_call()).. thanks Xen guys, who has implemented the paravirt framework. I can implement it as easy as following: ???????????? --- a/arch/x86/kernel/kvm.c ???????????? +++ b/arch/x86/kernel/kvm.c ???????????? @@ -465,6 +465,12 @@ static void __init...
2017 Nov 17
2
[PATCH RFC v3 3/6] sched/idle: Add a generic poll before enter real idle path
...e state's residency time to make decisions about probabilistic polling, as @dev->last_residency does. it is much easier to get data. 2. do a HV specific idle driver (function) so far, power management is not exposed to guest.. idle is simple for KVM guest, calling "sti" / "hlt"(cpuidle_idle_call() --> default_idle_call()).. thanks Xen guys, who has implemented the paravirt framework. I can implement it as easy as following: ???????????? --- a/arch/x86/kernel/kvm.c ???????????? +++ b/arch/x86/kernel/kvm.c ???????????? @@ -465,6 +465,12 @@ static void __init...
2014 Feb 27
2
[PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support
On 26/02/14 15:14, Waiman Long wrote: > This patch adds para-virtualization support to the queue spinlock code > by enabling the queue head to kick the lock holder CPU, if known, > in when the lock isn't released for a certain amount of time. It > also enables the mutual monitoring of the queue head CPU and the > following node CPU in the queue to make sure that their CPUs will
2014 Feb 27
2
[PATCH RFC v5 7/8] pvqspinlock, x86: Add qspinlock para-virtualization support
On 26/02/14 15:14, Waiman Long wrote: > This patch adds para-virtualization support to the queue spinlock code > by enabling the queue head to kick the lock holder CPU, if known, > in when the lock isn't released for a certain amount of time. It > also enables the mutual monitoring of the queue head CPU and the > following node CPU in the queue to make sure that their CPUs will
2006 Jan 08
3
VT-x and frontend/backend drivers
...olution for drivers when using VT-x processors. See for example : http://lists.xensource.com/archives/html/xen-devel/2005-12/msg00763.html My question is this; As I understand, the VMX support in the new VT-x processors enables us to prevent Guest OSs from performing unwanted instructions (HLT , for example). This is done by using the root and non-root VMX operation. Thus , we don''t use paravirtualization and we can run unmodified guest. Is there a possibility or any intention of using the backend-frontend solution of Xen (maybe with some fixes) when using VT-x processors ? w...
2014 Mar 03
4
[PATCH RFC v5 4/8] pvqspinlock, x86: Allow unfair spinlock in a real PV environment
...; I use a heart-beat counter to see if the other side responses within a > certain time limit. If not, I assume it has been scheduled out probably > due to PLE. PLE is unnecessary if you have "true" pv spinlocks where the next-in-line schedules itself out with a hypercall (Xen) or hlt instruction (KVM). Set a bit in the qspinlock before going to sleep, and the lock owner will know that it needs to kick the next-in-line. I think there is no need for the unfair lock bits. 1-2% is a pretty large hit. Paolo
2014 Mar 03
4
[PATCH RFC v5 4/8] pvqspinlock, x86: Allow unfair spinlock in a real PV environment
...; I use a heart-beat counter to see if the other side responses within a > certain time limit. If not, I assume it has been scheduled out probably > due to PLE. PLE is unnecessary if you have "true" pv spinlocks where the next-in-line schedules itself out with a hypercall (Xen) or hlt instruction (KVM). Set a bit in the qspinlock before going to sleep, and the lock owner will know that it needs to kick the next-in-line. I think there is no need for the unfair lock bits. 1-2% is a pretty large hit. Paolo