15 messages in com.xensource.lists.xen-ia64-develRE: [Xen-ia64-devel] Faulty protectio...| From | Sent On | Attachments |
|---|---|---|
| Dietmar Hahn | 25 Apr 2007 06:35 | |
| Xu, Anthony | 25 Apr 2007 18:46 | |
| Tristan Gingold | 25 Apr 2007 22:40 | |
| Jürgen Groß | 25 Apr 2007 23:30 | |
| Jürgen Groß | 25 Apr 2007 23:35 | |
| Jürgen Gro? | 25 Apr 2007 23:39 | |
| Xu, Anthony | 25 Apr 2007 23:41 | |
| Xu, Anthony | 25 Apr 2007 23:47 | |
| Dietmar Hahn | 26 Apr 2007 02:07 | .patch |
| Tristan Gingold | 26 Apr 2007 12:07 | |
| Tristan Gingold | 26 Apr 2007 12:11 | |
| Jürgen Groß | 26 Apr 2007 22:03 | |
| Tristan Gingold | 28 Apr 2007 06:32 | |
| Jürgen Groß | 29 Apr 2007 22:38 | |
| Tristan Gingold | 30 Apr 2007 14:34 |
| Subject: | RE: [Xen-ia64-devel] Faulty protection key handling![]() |
|---|---|
| From: | Xu, Anthony (anth...@intel.com) |
| Date: | 04/25/2007 11:41:45 PM |
| List: | com.xensource.lists.xen-ia64-devel |
Psr.pk is unchanged when interrupt happens. So we still need reserve some PK registers for hypervisor.
Anthony
-----Original Message----- From: xen-...@lists.xensource.com [mailto:xen-...@lists.xensource.com] On Behalf Of Jürgen Gro? Sent: 2007年4月26日 14:35 Cc: xen-...@lists.xensource.com Subject: Re: [Xen-ia64-devel] Faulty protection key handling
Jürgen Groß wrote:
Tristan Gingold wrote:
On Wed, Apr 25, 2007 at 03:36:20PM +0200, Dietmar Hahn wrote:
Hi, [..] By the way, are there any thoughts about adding emulation of protection keys to the hypervisor? I know, whether the hypervisor nor dom0-linux are using this but we need this stuff. I would try to write a proposal and add using protection keys in the minios for tests. What do you think?
It shouldn't be that different from RID partitions: just partition PK space like RID space is partitionned. I really think the modifications are not that big, unless we find a blocking issue. I will try to think more...
Are you sure? I don't think PK space must be partitioned. Protection keys are an additional feature for further access limitations of pages which are already "protected" via RID.
One issue arises with support of protection keys: the hypervisor must be able to run with enabled protection keys as well (protection keys are enabled in %cr.dcr which is not changed in case of interruption). So we will need an own protection key value for the hypervisor and of course a reserved protection key register.
Sorry, PK is enables in %psr, of course, but there is no corresponding %cr.dcr bit for interrupt defaults.
Juergen
-- Juergen Gross Principal Developer IP SW OS6 Telephone: +49 (0) 89 636 47950 Fujitsu Siemens Computers e-mail: juer...@fujitsu-siemens.com Otto-Hahn-Ring 6 Internet: www.fujitsu-siemens.com D-81739 Muenchen Company details: www.fujitsu-siemens.com/imprint.html
_______________________________________________ Xen-ia64-devel mailing list Xen-...@lists.xensource.com http://lists.xensource.com/xen-ia64-devel





.patch