lkml.org 
[lkml]   [2022]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC PATCH 1/5] entry: Pass pt_regs to irqentry_exit_cond_resched()
    From
    Date
    On Fri, 2022-08-05 at 10:30 -0700, ira.weiny@intel.com wrote:
    > From: Ira Weiny <ira.weiny@intel.com>
    >
    > Auxiliary pt_regs space needs to be manipulated by the generic
    > entry/exit code.
    >
    > Ideally irqentry_exit() would take care of handling any auxiliary
    > pt_regs on exit.  Unfortunately, irqentry_exit() is not the only exit
    > from exception path.  The call to irqentry_exit_cond_resched() from
    > xen_pv_evtchn_do_upcall() bypasses irqentry_exit().
    >
    > Make irqentry_exit_cond_resched() symmetrical with irqentry_enter()
    > by
    > passing pt_regs to it.  This makes irqentry_exit_cond_resched()
    > capable
    > of handling auxiliary pt_regs in future patches.
    >
    > Cc: Rik van Riel <riel@surriel.com>
    > Cc: Dave Hansen <dave.hansen@linux.intel.com>
    > Cc: Borislav Petkov <bp@alien8.de>
    > Signed-off-by: Ira Weiny <ira.weiny@intel.com>

    Acked-by: Rik van Riel <riel@surriel.com>

    --
    All Rights Reversed.
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2022-08-05 20:34    [W:2.545 / U:0.208 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site