linux-mips
[Top] [All Lists]

Re: [PATCH] KVM: MIPS: Don't leak FPU/DSP to guest

To: James Hogan <james.hogan@imgtec.com>, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [PATCH] KVM: MIPS: Don't leak FPU/DSP to guest
From: Paolo Bonzini <pbonzini@redhat.com>
Date: Tue, 10 Feb 2015 09:01:07 +0100
Cc: Sanjay Lal <sanjayl@kymasys.com>, Gleb Natapov <gleb@kernel.org>, kvm@vger.kernel.org, linux-mips@linux-mips.org, stable@vger.kernel.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ggb11xLJvAZpNngcuK1oouyw6QSC1E5/yuVlYtBswk8=; b=DnZjvJMppNE93hzUQBHNQHxEDWUELPmRHhF1DDdnDj1nBeAJE7s51RrNVcrtKuiaty /ITKqNOfTQsZFSNI9B8bZC3n0gwogPVX76UcpdfGrB6Huelm0uEBI3SxLB7CXTimcJ+F 4DlAxAYHizpkAS+lPq20bgzfoqjjlyR740Ze7Fq/sHHYMTHEJ0FotSY7M/0J+U7a0d+V RxrrEi3XSDuqvNCffiKdNGlGM7c2B/8/E8KlBGiRsYA2qB2VeO3Dzmep5glVzGOBjN2f LOj60KYkQf3v2DQxAuhFc3wJHsxEagp/9VnHjAjT6cMF0D6DM9bgS46IZoa57dyAiJ6m ZmAw==
In-reply-to: <20150209225816.GH30459@jhogan-linux.le.imgtec.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1423069597-8376-1-git-send-email-james.hogan@imgtec.com> <20150209225816.GH30459@jhogan-linux.le.imgtec.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 09/02/2015 23:58, James Hogan wrote:
>> First lets save and disable the FPU (and MSA) state with
>> lose_fpu(1)
> 
> Please don't apply this patch yet. lose_fpu() uses function
> symbols which aren't exported for modules to use yet, so that'll
> need fixing first or KVM won't build as a module.

Well, too late. :)

James/Ralf, should I revert, or can that be fixed during the RC period?

Paolo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJU2brAAAoJEL/70l94x66DdXIIAImur1pdSKYWw1+FzZH+H8Xo
86j9EfptORk554o0a62LG9dOTY+5sJfAV9CoB7Q+8IfdLDKxpk1sLjMkiS0E0EWU
2ilQfjYEXLTgCW38p03ype4m6g4uSfT16dnizrwnUviFk/EvVgCWHy88tA3+Vfn/
WgoxcXkd+hguyNaLR2oAVqyNhAETLTo4kQQqKwGbXFXf0GLno44pj7bJprCR/jlO
4+sUzuV5dno/GI6z8dyMmASo0QEy+IoXJ+aSw+IoRED9nlBMAS4+7uD4XfocGpca
En5KmXVnyJoazgV3Y6w2ymS606S0JNGRcOzqr8ZbOHtjJmAsZxjuVxP6PVzZqQg=
=ozzu
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>