[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH] x86_64: Attempt to fix ast_from_interrupt
From: |
Samuel Thibault |
Subject: |
Re: [RFC PATCH] x86_64: Attempt to fix ast_from_interrupt |
Date: |
Wed, 17 May 2023 22:38:54 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
Sergey Bugaev, le mer. 17 mai 2023 21:11:50 +0300, a ecrit:
> ---
>
> - all_intrs pushes FSGS using the PUSH_FSGS_ISR variant, so we have to do
> the same thing here too
> - don't forget to pop the value to load into %es
>
> x86_64/locore.S | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/x86_64/locore.S b/x86_64/locore.S
> index 2b8e4c44..4e341860 100644
> --- a/x86_64/locore.S
> +++ b/x86_64/locore.S
> @@ -849,7 +849,8 @@ stack_overflowed:
> * ss
> */
> ast_from_interrupt:
> - POP_FSGS
> + POP_FSGS_ISR
> + pop %rdx
> mov %rdx,%es
> pop %rdx
> mov %rdx,%ds
> --
> 2.40.1
>
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.