[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/6] x86/prot-key: Enumeration for Protection Key Supervisor
- To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 21 Dec 2021 12:15:13 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=c421I4jdQqcckOvvUsUkNt0MHyakGCRR5aIUBl3xD5c=; b=SEDuEyaUcQ4jeGUt8dyq4mv3VDwkT48GjQhYLcmh5jn9oJ2Lr1bSb0EKnAIt5yxvZTIGHQNIl0cTI5I/JlGckIVaVmknKKLnbF1wdlFi0s8aMRJ6vAZUUut/2T2FbUGvaGSHt3bXwU1ft0YOQrft4IvkwOGClg9CcrFSK9Ol+NXWRjPs5RR5fEXZt6MMqmux/iiHpZw0zpZ1HjBVYlyWh4ze3zCIsF0jwQk43PoiEkiDM/MzwiWvvCh84My0RabXOYFkIbugRdNSxkAUFkXwMHtwS5NTzQPgOAOGRiwvl3GXog6RN3wpTZPRoG5KnOlXK8jUvOgIYV9RGNzAg5I8Tw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fd7/sB18GsoQvuQl703NeRSasL3EBrTQzGg4kP3KNSdfjktXjMoC14DLpoj8krw3yJ6pr3K0te0BE1fJ/poX0wINhKT3QsOxqZGrV/zgaiFJEtDHwyeYXIVBgPXZ8XUP2Ym/6RN2vF4sX5+hblBamNWVgU6mX9U56AX6tAUP+4/RQ72dOmHoGAHv8OYDLdJmu5SpLjtqgJgtfETf8WSu9bzULm8V86/wqyTMm6SgkB49bXjYMmHmZlTNJh6Y3T252Y+iOpz5Wi2Cc2daF55t0RQU4uUtq6DCmry0DPAP2eck2js9fZdxJjn85F34oJb/ZxPM+1Z4EDzEt5tDAQLeYA==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 21 Dec 2021 11:15:40 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 16.12.2021 10:54, Andrew Cooper wrote:
> Protection Key Supervisor works in a very similar way to Protection Key User,
> except that instead of a PKRU register used by the {RD,WR}PKRU instructions,
> the supervisor protection settings live in MSR_PKRS and is accessed using
> normal {RD,WR}MSR instructions.
>
> PKS has the same problematic interactions with PV guests as PKU (more infact,
> given the guest kernel's CPL), so we'll only support this for HVM guests for
> now.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
|