[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <28914dc436a3f8b3ef39bb5d24b2dbc21cff180e.camel@surriel.com>
Date: Fri, 05 Aug 2022 14:34:48 -0400
From: Rik van Riel <riel@...riel.com>
To: ira.weiny@...el.com, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...el.com>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
linux-kernel@...r.kernel.org, kernel-team@...com
Subject: Re: [RFC PATCH 2/5] entry: Add calls for save/restore auxiliary
pt_regs
On Fri, 2022-08-05 at 10:30 -0700, ira.weiny@...el.com wrote:
> From: Ira Weiny <ira.weiny@...el.com>
>
> Some architectures have auxiliary pt_regs space available to store
> information on the stack during exceptions. This information is
> easier
> to obtain and store within C code rather than in arch specific
> assembly.
>
> Define empty calls to architecture specific save and restore
> auxiliary
> pt_regs functions. Call these functions on generic entry/exit.
>
> NOTE: Due to the split nature of the Xen exit code
> irqentry_exit_cond_resched() requires an unbalanced call to
> arch_restore_aux_pt_regs().
>
> Cc: Rik van Riel <riel@...riel.com>
> Cc: Dave Hansen <dave.hansen@...ux.intel.com>
> Cc: Borislav Petkov <bp@...en8.de>
> Signed-off-by: Ira Weiny <ira.weiny@...el.com>
>
Acked-by: Rik van Riel <riel@...riel.com>
--
All Rights Reversed.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists