lkml.org 
[lkml]   [2012]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/4] xen/lowlevel: Implement pvop call for load_idt (sidt).
    On 10/18/2012 07:45 AM, Konrad Rzeszutek Wilk wrote:
    >>
    >> OK... this seems like another excellent set of pvops calls that
    >> should be nukable to Kingdom Come. There is no reason, ever, to
    >> read the IDT and GDT from the kernel... the kernel already knows
    >> what they should be!
    >
    > Even during suspend and resume cycle? There are the sequence of
    > sidt/lidt calls being done there. And we do need to filter at
    > least the sidt call - and in the case of ACPI suspend path,
    > the lidt.

    Yes, I am pretty sure we can make static guarantees on the IDT and GDTs.

    -hpa

    --
    H. Peter Anvin, Intel Open Source Technology Center
    I work for Intel. I don't speak on their behalf.



    \
     
     \ /
      Last update: 2012-10-18 17:41    [W:3.590 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site