lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 17 Mar 2014 10:38:17 -0700 From: "H. Peter Anvin" <hpa@...or.com> To: Paolo Bonzini <pbonzini@...hat.com>, Igor Mammedov <imammedo@...hat.com>, linux-kernel@...r.kernel.org CC: gleb@...nel.org, tglx@...utronix.de, mingo@...hat.com, x86@...nel.org, kvm@...r.kernel.org Subject: Re: [PATCH 0/2] KVM: x86 emulator: emulate MOVAPS and MOVAPD SSE instructions On 03/17/2014 10:01 AM, Paolo Bonzini wrote: > the emulator). > > If CS and possibly SS are valid real mode selectors, it should be > possible to run big real mode at almost-full speed, taking exits only > for memory accesses via other segment registers. It is on my todo list, > but not very high. Depending on the exit overhead, it may be a better > idea to revert the emulate_invalid_guest_state default to N and let > people who care about big real mode specify Y. > I'm not sure what you mean with "valid real mode selectors"; the normal case in big real mode is that either CS = SS = 0 or CS = SS = <some program base address>. As Big Real Mode is part of the spec for certain things (option ROMs, as we discussed) it probably matters, but especially with the CPUs not supporting unrestricted mode fading into history I suspect it is fine for BRM to be slow on those older processors. The PM transitions that you mentioned are usually only a handful of instructions and thus can be slow. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists